Motor controller control method, device and equipment and motor controller
By measuring and compensating for the real-time temperature of parallel power switching devices, the operating mode of the motor controller is controlled, solving the problem of module damage caused by uneven current in the motor controller, and achieving extended lifespan and reduced cost.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- TOP GEAR POWERTRAIN TECH CO LTD
- Filing Date
- 2025-12-31
- Publication Date
- 2026-04-28
AI Technical Summary
In motor controllers, when using parallel power modules, the uneven current between the two modules can lead to the risk of damage to one module, and adding an extra current sensor will increase hardware cost and structural complexity.
By measuring the real-time temperature of the parallel power switching devices and compensating using a pre-calibrated initial offset value, the absolute value of the temperature difference and the maximum temperature compensation value are calculated to control the operating mode of the motor controller, thereby avoiding uneven current and preventing damage to the power switching devices.
It improves the lifespan of the motor controller, simplifies the internal structure, reduces hardware costs, and eliminates the need for additional current sensors.
Smart Images

Figure CN121939892A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of control technology, and more specifically, to a motor controller control method, apparatus, device, and motor controller. Background Technology
[0002] When the motor controller uses a parallel power module solution, it is usually two modules using one current sensor. Due to the problem of uneven current between the two modules, if it cannot be handled in time, there is a risk that one of the modules will be damaged.
[0003] In related technologies, an additional set of current sensors is added to the motor controller to identify the uneven current state of the two paths through the two sets of current sensors. This results in a complex structural layout of the motor controller and high hardware costs. Summary of the Invention
[0004] This disclosure is made in view of the above-mentioned problems. This disclosure provides a motor controller control method, apparatus, device, and motor controller.
[0005] In a first aspect, embodiments of this disclosure provide a motor controller control method applied to a motor controller, wherein each phase of the motor controller includes at least two power switching devices connected in parallel, the method comprising: For each phase of the motor controller, obtain the real-time temperature of the housing of each power switching device corresponding to that phase.
[0006] The real-time temperature is compensated based on the pre-calibrated initial offset value to obtain the temperature compensation value of the power switching device on that phase.
[0007] Determine the highest and lowest temperature compensation values corresponding to the phase, and calculate the absolute value of the temperature difference between the highest and lowest temperature compensation values.
[0008] The operating mode of the motor controller is controlled based on the absolute value of the temperature difference of all phases and the maximum temperature compensation value in the motor controller.
[0009] In one embodiment of the first aspect, controlling the operating mode of the motor controller based on the absolute value of the temperature difference of all phases in the motor controller and the maximum temperature compensation value includes: If the absolute value of the temperature difference and the maximum temperature compensation value of at least one phase in the motor controller meet the first condition, the motor controller is controlled to enter the derating mode; wherein, the first condition is that the absolute value of the temperature difference is greater than the first temperature difference threshold and the maximum temperature compensation value is greater than the first temperature threshold.
[0010] In one embodiment of the first aspect, controlling the operating mode of the motor controller based on the absolute value of the temperature difference of all phases in the motor controller and the maximum temperature compensation value includes: When the absolute value of the temperature difference and the maximum temperature compensation value of all phases in the motor controller meet the second condition, the motor controller is controlled to enter the normal operation mode; wherein, the second condition is that the absolute value of the temperature difference is less than the second temperature difference threshold and the maximum temperature compensation value is less than the second temperature threshold; the first temperature difference threshold is greater than the second temperature difference threshold and the first temperature threshold is greater than the second temperature threshold.
[0011] In one embodiment of the first aspect, controlling the operating mode of the motor controller based on the absolute value of the temperature difference of all phases in the motor controller and the maximum temperature compensation value includes: If the absolute value of the temperature difference of all phases and the maximum temperature compensation value in the motor controller do not meet either the first condition or the second condition, the motor controller will maintain the current operating mode.
[0012] In one embodiment of the first aspect, real-time temperature compensation is performed based on a pre-calibrated initial offset value to obtain a temperature compensation value for the power switching device on that phase, including: The difference between the real-time temperature and the initial offset value is determined as the temperature compensation value for the power switching device on that phase.
[0013] In one embodiment of the first aspect, the power switching device includes an insulated gate bipolar transistor.
[0014] In one embodiment of the first aspect, it further includes: With at least two power switching devices not operating and at the same temperature, read the case temperature measurement value of each power switching device.
[0015] The case temperature measurement value is calibrated to the initial offset value corresponding to each power switching device.
[0016] The initial offset value is stored in the motor controller's memory.
[0017] In one embodiment of the first aspect, the memory includes an electrically erasable programmable read-only memory.
[0018] In a second aspect, embodiments of this disclosure provide a motor controller control device, disposed in a motor controller, wherein each phase of the motor controller includes at least two power switching devices connected in parallel, comprising: The temperature measurement unit is used to obtain the real-time temperature of the housing of each power switching device corresponding to each phase of the motor controller.
[0019] The temperature compensation unit is used to compensate for the real-time temperature based on a pre-calibrated initial offset value, so as to obtain the temperature compensation value of the power switching device on that phase.
[0020] The data processing unit is used to determine the highest and lowest temperature compensation values corresponding to the phase, and to calculate the absolute value of the temperature difference between the highest and lowest temperature compensation values.
[0021] The control unit is used to control the operating mode of the motor controller based on the absolute value of the temperature difference of all phases in the motor controller and the maximum temperature compensation value.
[0022] In a third aspect, embodiments of this disclosure provide an electronic device, including: a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory via the bus, and when the machine-readable instructions are executed by the processor, the steps in the above-described motor controller control method are performed.
[0023] In a fourth aspect, embodiments of this disclosure provide a computer-readable storage medium storing a computer program that, when executed by a processor, performs the steps in the motor controller control method described above.
[0024] In a fifth aspect, embodiments of this disclosure provide a computer program product stored in a storage medium, the program product being executed by at least one processor to implement the steps in the motor controller control method described above.
[0025] In a sixth aspect, embodiments of this disclosure provide a motor controller, each phase of which includes at least two power switching devices connected in parallel, the motor controller storing a computer program that, when executed by a processor, performs the steps in the motor controller control method described above.
[0026] As will be described in detail below, a motor controller control method, apparatus, device, and motor controller according to embodiments of the present disclosure are disclosed. In embodiments of the present disclosure, each phase of the motor controller includes at least two parallel power switching devices. The motor controller can acquire the real-time temperature of the housing of each power switching device corresponding to each phase. Each power switching device is pre-calibrated with a corresponding initial offset value. The motor controller compensates for the real-time temperature of each power switching device based on the initial offset value to obtain the temperature compensation value of the power switching device in that phase. Then, the temperature compensation values of each power switching device are integrated, and the highest and lowest temperature compensation values corresponding to that phase are determined. The absolute value of the temperature difference between the highest and lowest temperature compensation values is calculated. Finally, the operating mode of the motor controller is controlled based on the absolute value of the temperature difference of all phases in the motor controller and the highest temperature compensation value. By using the above processing method, the real-time case temperature of each power switching device is tested to determine whether each power switching device is in an uneven current state. The measurement error of the real-time case temperature is eliminated to a certain extent by using the pre-calibrated initial offset value, thereby improving the accuracy of the control process. This allows monitoring of whether the absolute value of the temperature difference and the maximum temperature compensation value meet the corresponding conditions, enabling the switching of the working module. This helps to avoid damage to the power switching devices to a certain extent and improves the service life of the entire motor controller. Based on this, this disclosure does not require additional hardware costs, thus simplifying the internal structure of the motor controller.
[0027] It should be understood that both the foregoing general description and the following detailed description are exemplary and intended to provide further illustration of the claimed technology. Attached Figure Description
[0028] The above and other objects, features, and advantages of this disclosure will become more apparent from the more detailed description of the embodiments thereof in conjunction with the accompanying drawings. The drawings are provided to further illustrate the embodiments of this disclosure and form part of the specification. They are used together with the embodiments of this disclosure to explain the disclosure and do not constitute a limitation thereof. In the drawings, the same reference numerals generally represent the same components or steps.
[0029] Figure 1 This is a flowchart of a motor controller control method according to an embodiment of the present disclosure.
[0030] Figure 2 This is an overall flowchart of a motor controller control process according to an embodiment of the present disclosure.
[0031] Figure 3 This is a schematic diagram of a motor controller control device according to an embodiment of the present disclosure.
[0032] Figure 4This is a schematic diagram of an electronic device according to an embodiment of the present disclosure.
[0033] Figure 5 This is a schematic diagram of a computer program product according to an embodiment of the present disclosure. Detailed Implementation
[0034] To make the objectives, technical solutions, and advantages of this disclosure more apparent, exemplary embodiments according to this disclosure will now be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this disclosure, and not all embodiments of this disclosure. It should be understood that this disclosure is not limited to the exemplary embodiments described herein.
[0035] To facilitate understanding of this embodiment, a motor controller control method disclosed in this disclosure will first be described in detail. (See also...) Figure 1 The diagram shows a flowchart of a motor controller control method provided in an embodiment of this disclosure. This method can be applied to a motor controller, where each phase of the motor controller includes at least two power switching devices connected in parallel. The method includes steps S101 to S104, wherein: Step S101: For each phase of the motor controller, obtain the real-time temperature of the housing of each power switching device corresponding to that phase.
[0036] When the casings of parallel power switching devices are in an uneven current state, the power switching device with higher current will generate more losses. The more losses there are, the higher the temperature of the power switching device will be. To address this, this disclosure uses the method of measuring the real-time temperature of the casing of each power switching device to achieve real-time detection of the uneven current state.
[0037] The motor controller mentioned in this disclosure includes at least two parallel power switching devices per phase, which can effectively improve the single-phase current output capability and facilitate the application of high-power motor controllers.
[0038] Compared to directly measuring the real-time current of each power switching device, measuring the real-time case temperature can reduce the difficulty of the data acquisition process and facilitate the provision of a stable data foundation.
[0039] The motor controller control method disclosed herein can be applied to multiple scenarios, such as automotive, industrial, or new energy applications. Accordingly, the type of motor controller can be adaptively adjusted according to the actual scenario, and no further examples are provided here.
[0040] Step S102: Compensate the real-time temperature based on the pre-calibrated initial offset value to obtain the temperature compensation value of the power switching device on that phase.
[0041] To eliminate errors in measuring the real-time temperature of the power switch device housing, a pre-calibrated initial offset value is introduced to ensure that the housing temperature difference between any two power switch devices connected in parallel is zero at the initial state of the program.
[0042] The initial offset value is the zero drift value set at the factory. The initial offset value of each power switch device can be the same or different.
[0043] In response, the motor controller of this disclosure, after obtaining the real-time temperature of the housing of each power switch device, reads the initial offset value for each power switch device stored in the internal memory, and compensates for the real-time temperature based on the initial offset value to obtain the temperature compensation value of each power switch device in each phase of the motor controller.
[0044] The number of phases of the motor controller can be flexibly adjusted according to the factory settings, such as three-phase or six-phase. Correspondingly, the corresponding power switching devices can be selected according to the number of phases of the motor controller. This disclosure does not limit this.
[0045] Step S103: Determine the highest temperature compensation value and the lowest temperature compensation value corresponding to the phase, and calculate the absolute value of the temperature difference between the highest temperature compensation value and the lowest temperature compensation value.
[0046] When the motor controller includes two power switching devices connected in parallel, the difference between the corresponding temperature compensation values of the two power switching devices in each phase is calculated, and the absolute value of the difference is determined to be the absolute value of the temperature difference.
[0047] When the motor controller includes two or more power switching devices connected in parallel, the highest and lowest temperature compensation values for all power switching devices in each phase of the motor controller can be determined first, and then the absolute value of the temperature difference between the highest and lowest temperature compensation values can be calculated; or, the difference between the temperature compensation values of any two power switching devices in each phase can be calculated first, and then the absolute value of each difference can be determined, with the largest absolute value being the absolute value of the temperature difference.
[0048] This disclosure does not specify the calculation process for the absolute value of the temperature difference; the actual achievable method shall prevail.
[0049] Step S104: Based on the absolute value of the temperature difference of all phases in the motor controller and the highest temperature compensation value, control the working mode of the motor controller.
[0050] Here, the operating modes of the motor controller include derating mode and normal operating mode. Derating mode can be understood as avoiding damage to power switching devices by reducing power. For example, it can be set to reduce to 80% of the rated power. The derating amount can be flexibly adjusted according to actual needs, and this disclosure does not make specific limitations on it.
[0051] In this embodiment, each phase of the motor controller includes at least two parallel power switching devices. The motor controller can obtain the real-time temperature of the housing of each power switching device corresponding to each phase. Each power switching device is pre-calibrated with a corresponding initial offset value. The motor controller compensates for the real-time temperature of each power switching device based on the initial offset value to obtain the temperature compensation value of the power switching device in that phase. Then, the temperature compensation values of each power switching device are integrated, and the highest and lowest temperature compensation values corresponding to that phase are determined. The absolute value of the temperature difference between the highest and lowest temperature compensation values is calculated. Finally, the operating mode of the motor controller is controlled based on the absolute value of the temperature difference of all phases in the motor controller and the highest temperature compensation value.
[0052] In the above embodiments, by testing the real-time case temperature of each power switching device, it is determined whether each power switching device is in an uneven current state. The measurement error of the real-time case temperature is eliminated to a certain extent by using the pre-calibrated initial offset value, thereby improving the accuracy of the control process. This monitors whether the absolute value of the temperature difference and the maximum temperature compensation value meet the corresponding conditions, thereby realizing the switching of the working module. This avoids the problem of damage to the power switching devices to a certain extent and improves the service life of the entire motor controller. On this basis, this disclosure does not require additional hardware costs, thus simplifying the internal structure of the motor controller.
[0053] In an optional implementation, the above steps control the operating mode of the motor controller based on the absolute value of the temperature difference of all phases in the motor controller and the maximum temperature compensation value, including: If the absolute value of the temperature difference and the maximum temperature compensation value of at least one phase in the motor controller meet a first condition, the motor controller is controlled to enter a derating mode; wherein, the first condition is that the absolute value of the temperature difference is greater than a first temperature difference threshold, and the maximum temperature compensation value is greater than a first temperature threshold.
[0054] When the absolute value of the temperature difference and the maximum temperature compensation value of all phases in the motor controller meet the second condition, the motor controller is controlled to enter the normal operation mode; wherein, the second condition is that the absolute value of the temperature difference is less than the second temperature difference threshold, and the maximum temperature compensation value is less than the second temperature threshold; the first temperature difference threshold is greater than the second temperature difference threshold, and the first temperature threshold is greater than the second temperature threshold.
[0055] If the absolute value of the temperature difference and the maximum temperature compensation value of all phases in the motor controller do not meet either the first condition or the second condition, the motor controller is controlled to maintain the current operating mode.
[0056] For the absolute value of the temperature difference and the maximum temperature compensation value, this disclosure sets corresponding upper and lower thresholds respectively, that is, the first temperature difference threshold is the upper limit threshold of the temperature difference, the second temperature difference threshold is the lower limit threshold of the temperature difference, the first temperature threshold is the upper limit threshold of the temperature, and the second temperature threshold is the lower limit threshold of the temperature.
[0057] This disclosure does not specify the values of the first temperature difference threshold, the second temperature difference threshold, the first temperature threshold, and the second temperature threshold; these values can be adjusted adaptively according to the actual application scenario.
[0058] In this embodiment of the disclosure, if the absolute value of the temperature difference of at least one phase in the motor controller is greater than a first temperature difference threshold, and the maximum temperature compensation value is greater than the first temperature threshold, then the motor controller is controlled to switch to derating mode; if the absolute value of the temperature difference of all phases in the motor controller is less than a second temperature difference threshold, and the maximum temperature compensation value is less than the second temperature threshold, then the motor controller is controlled to switch to normal operation mode; if neither the absolute value of the temperature difference nor the maximum temperature compensation value of all phases in the motor controller meets the conditions for derating mode and normal operation mode, then the current operation mode of the motor controller is maintained.
[0059] The condition that neither the derating mode nor the normal operating mode is met can be understood as temperature hysteresis. The absolute value of the temperature difference and the maximum temperature compensation value are in the hysteresis zone. This can effectively prevent the operating mode from switching repeatedly between the derating mode and the normal operating mode, so as to improve the anti-interference and reliability of the entire control process through the hysteresis strategy.
[0060] In an optional implementation, the above steps compensate for the real-time temperature based on a pre-calibrated initial offset value to obtain the temperature compensation value of the power switching device on that phase, including: The difference between the real-time temperature and the initial offset value is determined as the temperature compensation value of the power switching device on that phase.
[0061] As mentioned above, this disclosure can calculate the difference between the real-time temperature of each power switching device and the initial offset value of each power switching device, and determine the temperature compensation value of each power switching device on each phase.
[0062] The power switching devices mentioned in this disclosure may include insulated gate bipolar transistors (IGBTs) or silicon carbide metal-oxide-semiconductor field-effect transistors (SiC MOSFEs), etc. Power switching devices may include various types, and no further examples are given here.
[0063] In an optional implementation, the above steps further include: With at least two power switching devices not operating and at the same temperature, the case temperature measurement value of each power switching device is read; The measured case temperature value is calibrated to the initial offset value corresponding to each of the power switching devices; The initial offset value is stored in the memory of the motor controller.
[0064] This disclosure calibrates the initial offset value during the factory manufacturing or program initialization of the motor controller.
[0065] Specifically, to ensure the accuracy of the calibration process, two conditions must be met: at least two power switching devices must be inactive and at the same temperature.
[0066] Among them, at least two power switching devices not working indicates that there is no current between the power switching devices, ensuring that the power switching devices themselves do not generate heat; the power switching devices are at the same temperature, ensuring that they are at the same temperature, eliminating the problem of temperature differences between different power switching devices caused by uneven current.
[0067] To address this, the motor controller can be placed in a normal temperature environment, which helps to keep the case temperature of the power switching devices highly consistent with the normal temperature. When at least two power switching devices are not working and are at the same temperature, the case temperature measurement value of each power switching device measured by the temperature sensor is the initial offset value corresponding to each power switching device, which can be understood as the zero drift value mentioned above.
[0068] Based on this, the initial offset value can be stored in the motor controller's memory, which may include electrically erasable programmable read-only memory (Eeprom) or flash memory, etc., without further examples here.
[0069] In the above embodiments, real-time temperature compensation based on the calibrated initial offset value can compensate for the measurement error of the hardware itself to a certain extent, and make the theoretical temperature difference between the shells of the parallel power switching devices zero. Thus, while ensuring measurement accuracy, it can not only efficiently identify uneven current states and perform mode switching, but also effectively reduce the hardware cost of the motor controller.
[0070] A motor controller employing a parallel power switching device scheme can detect current imbalance faults among the power switching devices without adding additional current sensors, providing early warning of derating and thus reducing the likelihood of power switching device damage and extending the lifespan of the motor controller.
[0071] The following is combined Figure 2 The control process of the above motor controller is described in detail below: S201: For each phase of the motor controller, obtain the real-time temperature of the housing of each power switching device corresponding to that phase.
[0072] S202: Compensate for the real-time temperature based on the pre-calibrated initial offset value to obtain the temperature compensation value of the power switching device on that phase.
[0073] S203: Determine the highest and lowest temperature compensation values corresponding to this phase, and calculate the absolute value of the temperature difference between the highest and lowest temperature compensation values.
[0074] S204: If the absolute value of the temperature difference of at least one phase in the motor controller is greater than the first temperature difference threshold, and the highest temperature compensation value is greater than the first temperature threshold, the motor controller is controlled to enter the derating mode.
[0075] S205: When the absolute value of the temperature difference of all phases in the motor controller is less than the second temperature difference threshold and the highest temperature compensation value is less than the second temperature threshold, the motor controller is controlled to enter the normal operation mode.
[0076] Here, the first temperature difference threshold is greater than the second temperature difference threshold, and the first temperature threshold is greater than the second temperature threshold.
[0077] S206: If the absolute value of the temperature difference and the maximum temperature compensation value of all phases in the motor controller do not meet the conditions corresponding to the derating mode or the normal operation mode, the motor controller shall maintain the current operation mode.
[0078] Based on the same inventive concept, this disclosure also provides a motor controller control device corresponding to the motor controller control method. Since the principle of the device in this disclosure for solving the problem is similar to the motor controller control method described above in this disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.
[0079] Reference Figure 3 The diagram shown is a schematic of a motor controller control device provided in an embodiment of this disclosure. The device is disposed within a motor controller, and each phase of the motor controller includes at least two power switching devices connected in parallel. The device includes: a temperature measurement unit 30, a temperature compensation unit 31, a data processing unit 32, and a control unit 33; wherein: A temperature measurement unit is used to acquire the real-time temperature of the housing of each power switching device corresponding to each phase of the motor controller. A temperature compensation unit is used to compensate the real-time temperature based on a pre-calibrated initial offset value to obtain the temperature compensation value of the power switching device on that phase. The data processing unit is used to determine the highest temperature compensation value and the lowest temperature compensation value corresponding to the phase, and to calculate the absolute value of the temperature difference between the highest temperature compensation value and the lowest temperature compensation value. The control unit is used to control the operating mode of the motor controller based on the absolute value of the temperature difference of all phases in the motor controller and the maximum temperature compensation value.
[0080] In one possible implementation, the device is also used for: If the absolute value of the temperature difference and the maximum temperature compensation value of at least one phase in the motor controller meet a first condition, the motor controller is controlled to enter a derating mode; wherein, the first condition is that the absolute value of the temperature difference is greater than a first temperature difference threshold, and the maximum temperature compensation value is greater than a first temperature threshold.
[0081] In one possible implementation, the device is also used for: When the absolute value of the temperature difference and the maximum temperature compensation value of all phases in the motor controller meet the second condition, the motor controller is controlled to enter the normal operation mode; wherein, the second condition is that the absolute value of the temperature difference is less than the second temperature difference threshold, and the maximum temperature compensation value is less than the second temperature threshold; the first temperature difference threshold is greater than the second temperature difference threshold, and the first temperature threshold is greater than the second temperature threshold.
[0082] In one possible implementation, the device is also used for: If the absolute value of the temperature difference and the maximum temperature compensation value of all phases in the motor controller do not meet either the first condition or the second condition, the motor controller is controlled to maintain the current operating mode.
[0083] In one possible implementation, the device is also used for: The difference between the real-time temperature and the initial offset value is determined as the temperature compensation value of the power switching device on that phase.
[0084] In one possible implementation, the device is also used for: Power switching devices include insulated-gate bipolar transistors.
[0085] In one possible implementation, the device is also used for: With at least two power switching devices not operating and at the same temperature, the case temperature measurement value of each power switching device is read; The measured case temperature value is calibrated to the initial offset value corresponding to each of the power switching devices; The initial offset value is stored in the memory of the motor controller.
[0086] In one possible implementation, the device is also used for: The memory includes electrically erasable programmable read-only memory.
[0087] The processing flow of each module in the device and the interaction flow between each module can be referred to the relevant descriptions in the above method embodiments, and will not be detailed here.
[0088] Corresponding to Figure 1 In addition to the motor controller control method in this disclosure, this embodiment also provides an electronic device 40, such as... Figure 4 The diagram shown is a schematic representation of an electronic device 40 provided in an embodiment of this disclosure, including: The system includes a processor 41, a memory 42, and a bus 43. The memory 42 stores execution instructions and includes main memory 421 and external memory 422. The main memory 421, also called internal memory, temporarily stores the computational data in the processor 41, as well as data exchanged with external memory such as a hard disk. The processor 41 exchanges data with the external memory 422 through the main memory 421. When the electronic device 40 is running, the processor 41 communicates with the memory 42 through the bus 43, causing the processor 41 to execute the following instructions: For each phase of the motor controller, obtain the real-time temperature of the housing of each power switching device corresponding to that phase; The real-time temperature is compensated based on the pre-calibrated initial offset value to obtain the temperature compensation value of the power switching device on that phase. Determine the highest and lowest temperature compensation values corresponding to the phase, and calculate the absolute value of the temperature difference between the highest and lowest temperature compensation values; The operating mode of the motor controller is controlled based on the absolute value of the temperature difference of all phases in the motor controller and the highest temperature compensation value.
[0089] This disclosure also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the motor controller control method described in the above-described method embodiments. The storage medium can be a volatile or non-volatile computer-readable storage medium.
[0090] This disclosure also provides a computer program product 50, such as... Figure 5 The diagram shown is a structural schematic of a computer program product 50 provided in an embodiment of this disclosure. The computer program product 50 carries a computer program 51, which includes a program that can be used to execute the steps of the motor controller control method described in the above method embodiments.
[0091] This disclosure also provides a motor controller, each phase of which includes at least two parallel power switching devices. The motor controller stores a computer program, which, when run by a processor, executes the steps of the motor controller control method described in the above method embodiments. For details, please refer to the above method embodiments, which will not be repeated here.
[0092] The above description, with reference to the accompanying drawings, outlines a motor controller control method, apparatus, device, and motor controller according to embodiments of the present disclosure. In these embodiments, each phase of the motor controller includes at least two parallel power switching devices. The motor controller can acquire the real-time temperature of the housing of each power switching device corresponding to each phase. Each power switching device is pre-calibrated with a corresponding initial offset value. The motor controller compensates for the real-time temperature of each power switching device based on the initial offset value to obtain the temperature compensation value of the power switching device in that phase. Then, it integrates the temperature compensation values of each power switching device and determines the highest and lowest temperature compensation values corresponding to that phase, and calculates the absolute value of the temperature difference between the highest and lowest temperature compensation values. Finally, based on the absolute value of the temperature difference and the highest temperature compensation value of all phases in the motor controller, it controls the operating mode of the motor controller. By using the above processing method, the real-time case temperature of each power switching device is tested to determine whether each power switching device is in an uneven current state. The measurement error of the real-time case temperature is eliminated to a certain extent by using the pre-calibrated initial offset value, thereby improving the accuracy of the control process. This allows monitoring of whether the absolute value of the temperature difference and the maximum temperature compensation value meet the corresponding conditions, enabling the switching of the working module. This helps to avoid damage to the power switching devices to a certain extent and improves the service life of the entire motor controller. Based on this, this disclosure does not require additional hardware costs, thus simplifying the internal structure of the motor controller.
[0093] The basic principles of this disclosure have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in this disclosure are merely examples and not limitations, and should not be considered as essential features of each embodiment of this disclosure. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the scope of this disclosure to the necessity of employing the aforementioned specific details for implementation.
[0094] The block diagrams of devices, apparatuses, devices, and systems disclosed herein are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, devices, and systems can be connected, arranged, and configured in any manner. Words such as “comprising,” “including,” “having,” etc., are open-ended terms meaning “including but not limited to,” and are used interchangeably with them. The terms “or” and “and” as used herein refer to the terms “and / or,” and are used interchangeably with them unless the context clearly indicates otherwise. The term “such as” as used herein refers to the phrase “such as but not limited to,” and is used interchangeably with it.
[0095] Additionally, as used herein, the "or" used in a list of items beginning with "at least one" indicates a separate list, such that a list of, for example, "at least one of A, B, or C" means A or B or C, or AB or AC or BC, or ABC (i.e., A and B and C). Furthermore, the word "exemplary" does not imply that the described example is preferred or better than other examples.
[0096] It should also be noted that in the systems and methods of this disclosure, the components or steps can be decomposed and / or recombined. These decompositions and / or recombinations should be considered as equivalent solutions to this disclosure.
[0097] Various changes, substitutions, and modifications can be made to the technology described herein without departing from the teachings defined by the appended claims. Furthermore, the scope of the claims of this disclosure is not limited to the specific aspects of the processes, machines, manufactures, events, means, methods, and actions described above. Currently existing or later-developed processes, machines, manufactures, events, means, methods, or actions that perform substantially the same function or achieve substantially the same result as the corresponding aspects described herein can be utilized. Therefore, the appended claims include such processes, machines, manufactures, events, means, methods, or actions within their scope.
[0098] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use this disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of this disclosure. Therefore, this disclosure is not intended to be limited to the aspects shown herein, but rather to be carried out within the widest scope consistent with the principles and novel features disclosed herein.
[0099] The above description has been given for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of this disclosure to the forms disclosed herein. Although numerous exemplary aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations therein.
Claims
1. A motor controller control method, characterized in that, Applied to a motor controller, wherein each phase of the motor controller includes at least two power switching devices connected in parallel, the method includes: For each phase of the motor controller, obtain the real-time temperature of the housing of each power switching device corresponding to that phase; The real-time temperature is compensated based on the pre-calibrated initial offset value to obtain the temperature compensation value of the power switching device on that phase. Determine the highest and lowest temperature compensation values corresponding to the phase, and calculate the absolute value of the temperature difference between the highest and lowest temperature compensation values; The operating mode of the motor controller is controlled based on the absolute value of the temperature difference of all phases in the motor controller and the highest temperature compensation value.
2. The method according to claim 1, characterized in that, The method of controlling the operating mode of the motor controller based on the absolute value of the temperature difference of all phases in the motor controller and the highest temperature compensation value includes: If the absolute value of the temperature difference and the maximum temperature compensation value of at least one phase in the motor controller meet a first condition, the motor controller is controlled to enter a derating mode; wherein, the first condition is that the absolute value of the temperature difference is greater than a first temperature difference threshold, and the maximum temperature compensation value is greater than a first temperature threshold.
3. The method according to claim 2, characterized in that, The method of controlling the operating mode of the motor controller based on the absolute value of the temperature difference of all phases in the motor controller and the highest temperature compensation value includes: When the absolute value of the temperature difference and the maximum temperature compensation value of all phases in the motor controller meet the second condition, the motor controller is controlled to enter the normal operation mode; wherein, the second condition is that the absolute value of the temperature difference is less than the second temperature difference threshold, and the maximum temperature compensation value is less than the second temperature threshold; the first temperature difference threshold is greater than the second temperature difference threshold, and the first temperature threshold is greater than the second temperature threshold.
4. The method according to claim 3, characterized in that, The method of controlling the operating mode of the motor controller based on the absolute value of the temperature difference of all phases in the motor controller and the highest temperature compensation value includes: If the absolute value of the temperature difference and the maximum temperature compensation value of all phases in the motor controller do not meet either the first condition or the second condition, the motor controller is controlled to maintain the current operating mode.
5. The method according to claim 1, characterized in that, The process of compensating the real-time temperature based on a pre-calibrated initial offset value to obtain the temperature compensation value of the power switching device on that phase includes: The difference between the real-time temperature and the initial offset value is determined as the temperature compensation value of the power switching device on that phase.
6. The method according to claim 1, characterized in that, The power switching device includes an insulated gate bipolar transistor.
7. The method according to claim 1, characterized in that, The method further includes: With at least two power switching devices not operating and at the same temperature, the case temperature measurement value of each power switching device is read; The measured case temperature value is calibrated to the initial offset value corresponding to each of the power switching devices; The initial offset value is stored in the memory of the motor controller.
8. The method according to claim 7, characterized in that, The memory includes an electrically erasable programmable read-only memory.
9. A motor controller control device, characterized in that, The device is configured in a motor controller, wherein each phase of the motor controller includes at least two power switching devices connected in parallel, and the device includes: A temperature measurement unit is used to acquire the real-time temperature of the housing of each power switching device corresponding to each phase of the motor controller. A temperature compensation unit is used to compensate the real-time temperature based on a pre-calibrated initial offset value to obtain the temperature compensation value of the power switching device on that phase. The data processing unit is used to determine the highest temperature compensation value and the lowest temperature compensation value corresponding to the phase, and to calculate the absolute value of the temperature difference between the highest temperature compensation value and the lowest temperature compensation value. The control unit is used to control the operating mode of the motor controller based on the absolute value of the temperature difference of all phases in the motor controller and the maximum temperature compensation value.
10. A motor controller, wherein each phase of the motor controller comprises at least two power switching devices connected in parallel, characterized in that, The motor controller stores a computer program that, when executed by a processor, performs the steps of the motor controller control method as described in any one of claims 1 to 8.