Method for determining gate drive resistance of multi-gear motor controller and gear shifting method

By analyzing the motor current circuit diagram and voltage distribution data, dividing the current and voltage intervals and calculating the resistance and calculating the gear, the problem that the resistance design of the motor controller in the prior art is difficult to meet different working conditions, and more efficient motor controller performance is achieved.

CN119010709BActive Publication Date: 2025-06-20GAC AION NEW ENERGY AUTOMOBILE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411496638.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-25
Publication Date
2025-06-20
Estimated Expiration
2044-10-25

AI Technical Summary

Technical Problem

In the prior art, the resistance value design of the on-resistance and shutdown resistance of the multi-shield motor controller is determined based on the maximum voltage and maximum current of the formal operating conditions, and it is difficult to meet the needs of different operating conditions.

Method used

By obtaining the motor current path diagram and voltage distribution data, divide multiple current and voltage intervals, determine multiple resistors according to the proportion of the interval to calculate the gear position, and calculate the switching resistance value of each motor control gear position to determine the resistance value of the on- and off resistance.

Benefits of technology

The on-off resistance design that adapts to different working conditions in a multi-standard motor controller is realized, which improves the efficiency of the motor controller and the use of power modules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119010709B_ABST
    Figure CN119010709B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for determining the gate drive resistance and a gear shifting method of a multi-gear motor controller. The method for determining the gate drive resistance includes: obtaining the motor current spectrum of the vehicle equipped with the multi-gear motor controller, dividing the current range of the motor current spectrum into multiple current intervals, and dividing the current intervals into multiple resistance calculation gears in ascending order; obtaining the voltage distribution collected during the use of different vehicles at different time periods, dividing multiple voltage intervals in the full voltage range of the voltage distribution, and dividing the voltage intervals into multiple resistance calculation gears in ascending order; determining the resistance values of the turn-on resistance and the turn-off resistance according to the current and voltage of multiple resistance calculation gears. The present invention can not only meet typical working conditions but also match the user's vehicle usage data, meeting the resistance value design requirements of the turn-on resistance and the turn-off resistance in the multi-gear motor controller.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicles, and particularly to a method for determining the gate drive resistance of a multi-speed motor controller, a method for switching gears of a multi-speed motor controller, an electronic device, a storage medium, and a computer program product. Background Art

[0002] With the continuous popularization of electric vehicles, the demand for vehicle energy consumption is getting higher and higher. Effectively reducing the loss of the power module of the motor controller is a way to improve the efficiency of the motor controller. The loss of the power module is divided into switching loss and conduction loss. Reducing the on-off resistance of the module can effectively reduce the switching loss of the power module. As Figure 1 shown, where V GS is the voltage across the g and s terminals of the IGBT / SIC chip, V DS is the voltage across the d and s terminals of the IGBT / SIC chip, and I D is the current flowing between the d and s terminals of the IGBT / SIC chip. Among them, the curve 11’ of the current I D identifies the reverse recovery power, and the curve 12’ of the voltage V DS identifies the turn-off voltage spike. The integral of the product of the two curves is the energy of the loss. As Figure 1 can be seen, the on-resistance is limited by the reverse recovery power of the antiparallel diode chip. Reducing the on-resistance will increase the reverse recovery power of the antiparallel diode, and the greater the working current, the greater the reverse recovery power of the diode. Therefore, in order to ensure that the diode operates in the safe operating range at the maximum current, the on-resistance size of this working condition is determined through testing, and the on-resistance of the power module is selected. The turn-off resistance is limited by the turn-off voltage spike generated by the stray inductance across the IGBT / SIC chip of this tube. If this voltage spike is too high and exceeds the withstand voltage of the chip, it will damage the chip. The higher the working voltage and the greater the current, the higher the voltage spike generated by the stray inductance. Therefore, the turn-off resistance of the module is determined at the maximum working voltage and the maximum working current.

[0003] However, as Figure 2 shown, the abscissa is the resistance value, and the ordinate is the specific numerical values of the on and off losses, including: the relationship curves 21’ and 22’ between the on-loss E on and the on-resistance, and the relationship curves 23’ and 24’ between the off-loss E off and the off-resistance. It can be seen that the sizes of the on and off resistances have a basically positive correlation with the on-loss E on and the off-loss E off , and the greater the resistance, the greater the loss. As Figure 3As shown in the figure, the current fixed single-resistor solution includes the turn-on resistor 31, the turn-off resistor 32, the fixed single-resistor main transistor 331, the fixed single-resistor complementary transistor 332, the fixed single-resistor stray inductance 333 in the fixed single-resistor power module 33, the fixed single-resistor first switching transistor 341 and the fixed single-resistor second switching transistor 342 in the fixed single-resistor driver chip 34. Among them, the turn-on resistor 31 is limited by the maximum operating current, and the turn-off resistor 32 is limited by the maximum operating voltage and the maximum operating current. However, during the actual driving of the vehicle, most of the operations do not occur at the maximum operating voltage (when the battery is fully charged) and the maximum operating current (when accelerating at full throttle), resulting in a large room for optimization of the efficiency of the motor controller under most operating conditions. To optimize the efficiency in this part, the drive chips in the prior art have introduced the function of variable drive resistance, and the turn-on resistor and the turn-off resistor have been changed to two or three gears respectively. The motor controller generally includes a drive chip and a power module. The drive chip receives instructions from the microcontroller (Micro Controller Unit, MCU) to control the turn-on and turn-off of the power module. As Figure 4 shown, the motor controller with three-stage variable resistance drive includes the first turn-on resistor R GON1 , the second turn-on resistor R GON2 , the first turn-off resistor R GOFF1 , the second turn-off resistor R GOFF2 , the main transistor 11, the complementary transistor 12, the stray inductance 13 in the power module 10, the first switching transistor 21, the second switching transistor 22, the third switching transistor 23, and the fourth switching transistor 24 in the drive chip 20. When the two turn-on resistors and the two turn-off resistors are turned on simultaneously, the resistance values of the turn-on control branch 301 and the turn-off control branch 302 are the smallest, which is the first motor control gear. When the first turn-on resistor R GON1 and the first turn-off resistor R GOFF1 are turned on separately, the resistance values of the turn-on control branch 301 and the turn-off control branch 302 are the largest, which is the third motor control gear. When the second turn-on resistor R GON2 and the second turn-off resistor R GOFF2 are turned on separately, the resistance values of the turn-on control branch 301 and the turn-off control branch 302 are in the middle, which is the second motor control gear.

[0004] In the prior art, the resistance values of the turn-on resistor and the turn-off resistor are designed based on the maximum voltage and maximum current of the formal operating conditions. However, in a multi-stage motor controller, due to multiple motor control gears, the resistance values of each motor control gear need to adapt to different operating conditions. It is difficult to meet the requirements of different operating conditions only by determining the turn-on resistor and the turn-off resistor through the previous method. Summary of the Invention

[0005] Based on this, it is necessary to provide a method for determining the gate drive resistance of a multi-gear motor controller, a method for switching gears of a multi-gear motor controller, an electronic device, a storage medium, and a computer program product, aiming at the technical problem that in the prior art, the resistance value design of the turn-on resistance and the turn-off resistance is determined based on the maximum voltage and maximum current of the form working condition, which is difficult to meet the requirements of different working conditions in a multi-gear motor controller.

[0006] The present invention provides a method for determining the gate drive resistance of a multi-gear motor controller. The multi-gear motor controller includes a plurality of turn-on resistors connected to switching tubes and a plurality of turn-off resistors connected to switching tubes. After the plurality of turn-on resistors are connected in parallel, they serve as a turn-on control branch, and the plurality of turn-off resistors are connected in parallel as a turn-off control branch. The multi-gear motor controller includes a plurality of motor control gears, and each motor control gear controls the on-off of the corresponding switching tube. The method for determining the gate drive resistance includes:

[0007] Obtain the motor current spectrum diagram of the vehicle equipped with the multi-gear motor controller, divide the current range of the motor current spectrum diagram into a plurality of current intervals from small to large, obtain the current proportion of different current intervals in the motor current spectrum diagram, and according to the current proportion, divide the current intervals into a plurality of resistance calculation gears in ascending order;

[0008] Obtain the voltage distribution collected during the use of different vehicles at different time periods, divide a plurality of voltage intervals from small to large within the full voltage range of the voltage distribution, obtain the voltage proportion of different voltage intervals within the entire voltage range, and according to the voltage proportion, divide the voltage intervals into a plurality of resistance calculation gears in ascending order;

[0009] Determine the switch resistance value of the multi-gear motor controller at each of the motor control gears according to the current and voltage of a plurality of resistance calculation gears, and determine the resistance values of the turn-on resistor and the turn-off resistor according to the switch resistance value of the motor control gear. The switch resistance value is the resistance value of the turn-on control branch and the resistance value of the turn-off control branch.

[0010] Further:

[0011] Dividing the current intervals into a plurality of resistance calculation gears in ascending order includes: dividing the current intervals into a plurality of resistance calculation gears in ascending order, and the sum of the current proportions of the current intervals divided by the resistance calculation gears for calculating low switch resistance values is greater than the sum of the current proportions of the current intervals divided by the resistance calculation gears for calculating high switch resistance values;

[0012] Divide the voltage range into multiple resistance calculation gears in ascending order, including: divide the voltage range into multiple resistance calculation gears in ascending order, and the sum of the voltage ratios of the voltage ranges divided by the resistance calculation gears for calculating low switching resistances is greater than the sum of the voltage ratios of the voltage ranges divided by the resistance calculation gears for calculating high switching resistances.

[0013] Further, the number of the resistance calculation gears is the same as the number of the on-resistances and the number of the off-resistances. The multi-gear motor controller includes a lowest motor control gear and other motor control gears. In the lowest motor control gear, turn on the parallel-connected on-resistances or parallel-connected off-resistances. In the other motor control gears, turn on one on-resistance or one off-resistance. The number of the resistance calculation gears is one less than the number of the motor control gears. Determining the switching resistance of the multi-gear motor controller in each of the motor control gears according to the current and voltage of the multiple resistance calculation gears, and determining the resistances of the on-resistance and the off-resistance according to the switching resistance of the motor control gear includes:

[0014] Use the maximum current and maximum voltage of the lowest resistance calculation gear to calculate the switching resistance of the lowest motor control gear, and calculate the parallel resistance value of all the on-resistances and the parallel resistance value of all the off-resistances according to the switching resistance of the lowest motor control gear. The maximum current of the lowest resistance calculation gear is less than the maximum currents of the remaining resistance calculation gears, and the maximum voltage of the lowest resistance calculation gear is less than the maximum voltages of the remaining resistance calculation gears;

[0015] Divide all the other motor control gears into direct calculation motor control gears and one indirect calculation motor control gear. Use the maximum current and maximum voltage of the remaining resistance calculation gears to calculate the switching resistances of all the direct calculation motor control gears respectively, and calculate the resistances of the on-resistances and off-resistances conducted by all the direct calculation motor control gears according to the switching resistances of all the direct calculation motor control gears respectively;

[0016] Use the parallel resistance value of all the on-resistances and the resistances of the on-resistances conducted by all the direct calculation motor control gears to calculate the resistance of the on-resistance conducted by the indirect calculation motor control gear, and use the parallel resistance value of all the off-resistances and the resistances of the off-resistances conducted by all the direct calculation motor control gears to calculate the resistance of the off-resistance conducted by the indirect calculation motor control gear.

[0017] Further, the number of the resistance calculation gears is two, the same as the number of the on-resistances and the number of the off-resistances. The multi-gear motor controller includes a first motor control gear for conducting all the parallel-connected on-resistances or all the parallel-connected off-resistances, a second motor control gear for conducting the first on-resistance or the first off-resistance, and a third motor control gear for conducting the second on-resistance or the second off-resistance. The resistance value of the first on-resistance is greater than that of the second on-resistance, and the resistance value of the first off-resistance is greater than that of the second off-resistance. Determining the switch resistance values of the multi-gear motor controller at each of the motor control gears according to the current and voltage of multiple resistance calculation gears, and determining the resistance values of the on-resistances and the off-resistances according to the switch resistance values of the motor control gears includes:

[0018] Using the maximum current value and the maximum voltage value of the first resistance calculation gear, calculate the switch resistance value of the first motor control gear, and calculate the parallel value of the first switch resistance and the second switch resistance and the parallel value of the first off-resistance and the second off-resistance according to the switch resistance value of the first motor control gear. The maximum current value of the first resistance calculation gear is less than the maximum current value of the second resistance calculation gear, and the maximum voltage value of the first resistance calculation gear is less than the maximum voltage value of the second resistance calculation gear;

[0019] Using the maximum current value and the maximum voltage value of the second resistance calculation gear, calculate the switch resistance value of the third motor control gear, and calculate the resistance value of the first on-resistance and the resistance value of the first off-resistance according to the switch resistance value of the third motor control gear;

[0020] Calculate the resistance value of the second on-resistance according to the parallel value of the first switch resistance and the second switch resistance and the resistance value of the first on-resistance, and calculate the resistance value of the second off-resistance according to the parallel value of the first switch resistance and the second switch resistance and the resistance value of the first off-resistance.

[0021] The present invention provides an electronic device, including:

[0022] At least one first processor; and,

[0023] A first memory communicatively connected to at least one of the first processors; wherein,

[0024] The first memory stores instructions executable by at least one of the first processors, and the instructions are executed by at least one of the first processors so that at least one of the first processors can execute the method for determining the gate drive resistance of the multi-gear motor controller as described above.

[0025] The present invention provides a gear shifting method for a motor controller. The multi-gear motor controller includes a plurality of turn-on resistors connected to switching tubes and a plurality of turn-off resistors connected to switching tubes. The plurality of turn-on resistors are connected in parallel to form a turn-on control branch, and the plurality of turn-off resistors are connected in parallel to form a turn-off control branch. The multi-gear motor controller includes a plurality of motor control gears, and each motor control gear controls the on / off of a corresponding switching tube. The gear shifting method includes:

[0026] Obtain the switching resistances of different motor control gears determined by the gate drive resistance determination method of the multi-gear motor controller as described above. Determine a plurality of current-voltage distribution regions of the upshift distribution table according to the switching resistances, and determine a plurality of current-voltage distribution regions of the downshift distribution table according to the switching resistances;

[0027] Obtain the real-time current value of the three-phase current of the motor controller and the real-time voltage value of the bus voltage;

[0028] In response to an upshift request, compare the real-time current value and the real-time voltage value with the upshift distribution table. Take the upshift current-voltage distribution region where the real-time current value and the real-time voltage value are located as the upshift control region. Obtain the motor control gear corresponding to the upshift control region, and send the motor control gear corresponding to the upshift control region to the drive chip. The motor control gear is used for the drive chip to control the on / off of the corresponding switching tube;

[0029] In response to a downshift request, compare the real-time current value and the real-time voltage value with the downshift distribution table. Take the downshift current-voltage distribution region where the real-time current value and the real-time voltage value are located as the downshift control region. Obtain the motor control gear corresponding to the downshift control region, and send the motor control gear corresponding to the downshift control region to the drive chip.

[0030] Further:

[0031] The step of determining a plurality of current-voltage distribution regions of the upshift distribution table according to the switching resistances includes: setting a plurality of upshift voltage points. For each upshift voltage point, calculate the maximum current at the switching resistances of different motor control gears as the upshift current point. Based on each upshift voltage point and each upshift current point, determine a plurality of upshift current-voltage distribution regions. The motor control gear corresponding to each upshift current-voltage distribution region is the motor control gear corresponding to the switching resistance for calculating the upshift current point;

[0032] Determining multiple current-voltage distribution regions of the downshift distribution table according to the switch resistance values includes: subtracting a preset voltage threshold from each upshift voltage point to obtain a downshift voltage point, subtracting a preset current value from each upshift current point to obtain a downshift current point, and determining multiple downshift current-voltage distribution regions based on each downshift voltage point and each downshift current point. The motor control gear corresponding to each downshift current-voltage distribution region is the motor control gear corresponding to the switch resistance value for calculating the downshift current point.

[0033] The present invention provides an electronic device, including:

[0034] At least one second processor; and,

[0035] A second memory communicatively connected to at least one of the second processors; wherein,

[0036] The second memory stores instructions executable by at least one of the second processors, and the instructions are executed by at least one of the second processors to enable at least one of the second processors to execute the gear shifting method of the motor controller as described above.

[0037] The present invention provides a storage medium that stores computer instructions, which are used to execute all steps of the method for determining the gate drive resistance of a multi-gear motor controller or all steps of the gear shifting method of the motor controller as described above when a computer executes the computer instructions.

[0038] The present invention provides a computer program product, including a computer program / instructions, which implement the method for determining the gate drive resistance of a multi-gear motor controller or the gear shifting method of the motor controller as described above when executed by a processor.

[0039] The present invention determines the current ratio as typical operating condition data through a motor current spectrogram, determines the voltage ratio as user vehicle usage data by collecting the voltage distribution during the use of different vehicles at different times in a big data manner, divides the current ratio and voltage ratio into multiple resistance calculation gears by analyzing the data using a method for determining the operating condition boundary, and calculates the on-resistance and off-resistance values of each motor control gear based on the resistance calculation gears. The present invention can not only meet the typical operating conditions but also match the user vehicle usage data, satisfying the resistance value design requirements of the on-resistance and off-resistance in a multi-gear motor controller. At the same time, based on the determined on-resistance and off-resistance values, the shift switching of multiple switch drive resistances is realized, and the respective safe operating boundaries are obtained through testing for different resistances, and the optimal downshift / upshift gear distribution table is obtained under different voltages and currents. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1Schematic diagram of the current and voltage changes during the turn-on and turn-off of a prior art power module;

[0041] Figure 2 Schematic diagram of the influence of the on-resistance and off-resistance magnitudes of the prior art on the turn-on and turn-off losses;

[0042] Figure 3 Schematic diagram of a prior art motor controller driven by a fixed resistor;

[0043] Figure 4 Schematic diagram of a motor controller driven by a three-speed variable resistor;

[0044] Figure 5 Flowchart of the method for determining the gate drive resistance of a multi-speed motor controller according to an embodiment of the present invention;

[0045] Figure 6a Schematic diagram of the vehicle speed corresponding to a sub-road spectrum of the present invention;

[0046] Figure 6b Schematic diagram of the power corresponding to a sub-road spectrum of the present invention;

[0047] Figure 6c Schematic diagram of the rotational speed of the electric drive output of an example of the present invention;

[0048] Figure 6d Schematic diagram of the torque magnitude of the electric drive output of an example of the present invention;

[0049] Figure 6e Motor current road spectrum diagram of an example of the present invention;

[0050] Figure 6f Current interval distribution diagram of an example of the present invention;

[0051] Figure 7a Voltage distribution diagram of big data collection of an example of the present invention;

[0052] Figure 7b Voltage interval distribution diagram of an example of the present invention;

[0053] Figure 8 Flowchart of the method for determining the gate drive resistance of a multi-speed motor controller according to another embodiment of the present invention;

[0054] Figure 9 Schematic diagram of the hardware structure of an electronic device according to the present invention;

[0055] Figure 10 Flowchart of the method for gear shifting of a motor controller according to an embodiment of the present invention;

[0056] Figure 11Schematic diagram of the maximum safe operating current boundary at different voltages for an example of the present invention;

[0057] Figure 12 Table of upshift gear positions at different voltages and currents for an example of the present invention;

[0058] Figure 13 Table of downshift gear positions at different voltages and currents for an example of the present invention;

[0059] Figure 14 Schematic diagram of a gear shift method for a motor controller for an example of the present invention;

[0060] Figure 15 Schematic diagram of a gear shift method for a motor controller for another example of the present invention;

[0061] Figure 16 Schematic diagram of the hardware structure of another electronic device of the present invention. Detailed implementation manners

[0062] The following further describes the detailed implementation manners of the present invention with reference to the accompanying drawings. The same components are denoted by the same reference numerals. It should be noted that the terms "front", "rear", "left", "right", "upper" and "lower" used in the following description refer to the directions in the drawings, and the terms "inner" and "outer" respectively refer to the directions towards or away from the geometric center of a specific component.

[0063] As Figure 5 shown, in an embodiment of the present invention, a method for determining the gate drive resistance of a multi-gear motor controller, the multi-gear motor controller includes a plurality of turn-on resistors connected to switching tubes and a plurality of turn-off resistors connected to switching tubes. After the plurality of turn-on resistors are connected in parallel, they serve as a turn-on control branch, and the plurality of turn-off resistors are connected in parallel as a turn-off control branch. The multi-gear motor controller includes a plurality of motor control gears, and each motor control gear controls the on-off of the corresponding switching tube. The method for determining the gate drive resistance includes:

[0064] Step S501, obtain the motor current spectrum of the vehicle equipped with the multi-gear motor controller, divide the current range of the motor current spectrum into a plurality of current intervals from small to large, obtain the current proportion of different current intervals in the motor current spectrum, and according to the current proportion, divide the current intervals into a plurality of resistance calculation gears in ascending order;

[0065] Step S502: Obtain the voltage distribution collected during the use of different vehicles at different time periods. Divide the entire voltage range of the voltage distribution into multiple voltage intervals from small to large, obtain the voltage proportion of different voltage intervals within the entire voltage range, and divide the voltage intervals into multiple resistance calculation gears in ascending order according to the voltage proportion.

[0066] Step S503: Determine the switch resistance values of the multi-gear motor controller at each motor control gear according to the current and voltage of multiple resistance calculation gears. The switch resistance values are the resistance values of the turn-on control branch and the turn-off control branch. Determine the resistance values of the turn-on resistor and the turn-off resistor according to the switch resistance values of the motor control gear. The switch resistance values are the resistance values of the turn-on control branch and the turn-off control branch.

[0067] Specifically, the present invention can be applied to an electronic device with processing capabilities, such as a computer.

[0068] Among them, the gate drive resistors are the turn-on resistor and the turn-off resistor.

[0069] Preferably, the multi-gear motor controller is a variable gate drive resistance motor controller.

[0070] Such as Figure 4 shown is an example of a multi-gear motor controller, including a first turn-on resistor R GON1 , a second turn-on resistor R GON2 , a first turn-off resistor R GOFF1 , a second turn-off resistor R GOFF2 , a power module 10, and a drive chip 20. The power module 10 at least includes a main transistor 11, an opposite transistor 12, a stray inductance 13. The drive chip 20 includes a first switch transistor 21, a second switch transistor 22, a third switch transistor 23, and a fourth switch transistor 24. Among them, the first turn-on resistor R GON1 , the second turn-on resistor R GON2 are in parallel, and one end is electrically connected to the power supply VCC, and the other end is electrically connected to the control end of the main transistor 11, serving as the turn-on control branch 301. The first turn-off resistor R GOFF1 , the second turn-off resistor R GOFF2 are in parallel, and one end is grounded, and the other end is electrically connected to the control end of the main transistor 11, forming a turn-off control branch 302. The turn-on control branch 301 further includes the first switch transistor 21 and the second switch transistor 22 in the drive chip 20. One end of the first switch transistor 21 is connected to the power supply VCC, and the other end is connected to the first turn-on resistor R GON1 , one end of the second switch transistor 22 is connected to the power supply VCC, and the other end is connected to the second turn-on resistor R GON2Connection. By controlling the on-off states of the first switching transistor 21 and the second switching transistor 22, the two turn-on resistors can be controlled to be turned on simultaneously or individually. The turn-off control branch 302 further includes a third switching transistor 23 and a fourth switching transistor 24 in the driving chip 20. One end of the third switching transistor 23 is connected to the power supply VCC, and the other end is connected to the first turn-off resistor R GOFF1 connection. One end of the fourth switching transistor 24 is connected to the power supply VCC, and the other end is connected to the second turn-off resistor R GOFF2 connection. By controlling the on-off states of the third switching transistor 23 and the fourth switching transistor 24, the two turn-off resistors can be controlled to be turned on simultaneously or individually.

[0071] Specifically, when the first switching transistor 21 is turned on and the second switching transistor 22 is turned on, the two turn-on resistors are turned on simultaneously, and the resistance value of the turn-on control branch 301 is the smallest. When the third switching transistor 23 is turned on and the fourth switching transistor 24 is turned on, the two turn-off resistors are turned on simultaneously, and the resistance value of the turn-off control branch 302 is the smallest, which is the first motor control gear. When the first switching transistor 21 is turned on and the second switching transistor 22 is turned off, the first turn-on resistor R GON1 is turned on individually. When the third switching transistor 23 is turned on and the fourth switching transistor 24 is turned off, the first turn-off resistor R GOFF1 is turned on individually. The resistance values of the turn-on control branch 301 and the turn-off control branch 302 are the largest, which is the third motor control gear. When the first switching transistor 21 is turned off and the second switching transistor 22 is turned on, the second turn-on resistor R GON2 is turned on individually. When the third switching transistor 23 is turned off and the fourth switching transistor 24 is turned on, the second turn-off resistor R GOFF2 is turned on individually. The resistance values of the turn-on control branch 301 and the turn-off control branch 302 are in the middle, which is the second motor control gear. The turn-on control branch and the turn-off control branch are independently controlled. During the turn-on period, the turn-on control branch independently controls the on-off of the turn-on resistors while keeping all turn-off resistors off. During the turn-off period, the turn-off control branch independently controls the channels of the turn-off resistors while keeping all turn-on resistors off.

[0072] A method for determining the gate drive resistance of a multi-gear motor controller specifically includes:

[0073] First, perform step S501 to obtain the motor current spectrum diagram of the vehicle model equipped with the multi-gear motor controller. Divide the current range of the motor current spectrum diagram into multiple current intervals from small to large to obtain the proportion distribution of the current in different current intervals in the motor current spectrum diagram. According to the current proportion, divide the current intervals into multiple resistance calculation gears in ascending order.

[0074] Specifically, as Figures 6a to 6f shown, first, for the vehicle model equipped with, such as Figure 6a and Figure 6bThe vehicle speed and power corresponding to the road spectrum shown are converted, according to the transmission ratio and efficiency of the drive system, into the rotational speed and torque of the electric drive output as shown in Figure 6c and Figure 6d Then, according to the characteristics of the motor, it is further converted into the rotational speed and torque of the motor. Then, based on the motor rotational speed and torque obtained in the previous step, according to the operating characteristics of the motor, the motor current road spectrum diagram as shown in Figure 6e is obtained. The motor current is discretized, and the current range is divided into M intervals from small to large according to the current, and the percentage distribution of different current intervals in the motor current road spectrum diagram is obtained. Then, as shown in Figure 6f , according to the current percentage distribution, the current intervals are divided into multiple resistance calculation gears in ascending order. For example, the current intervals 61, 62, 63, 64, 65, 66, 67, 68, 69 are divided into multiple resistance calculation gears in ascending order. Among them, the maximum current of current interval 61 < the minimum current of current interval 62, the maximum current of current interval 62 < the minimum current of current interval 63, the maximum current of current interval 63 < the minimum current of current interval 64, the maximum current of current interval 64 < the minimum current of current interval 65, the maximum current of current interval 65 < the minimum current of current interval 66, the maximum current of current interval 66 < the minimum current of current interval 67, the maximum current of current interval 67 < the minimum current of current interval 68, the maximum current of current interval 68 < the minimum current of current interval 69. Among them, Figure 6f the left vertical coordinate in indicates the data value of the bar chart in the figure, representing the proportion of different current intervals in the entire working condition; the right vertical coordinate indicates the cumulative current percentage data value.

[0075] Then, step S502 is executed to obtain the voltage distribution collected during the use of different vehicles at different time periods. Multiple voltage intervals are divided from small to large within the full voltage range of the voltage distribution, and the voltage percentage of different voltage intervals within the entire voltage range is obtained. According to the voltage percentage, the voltage intervals are divided into multiple resistance calculation gears in ascending order.

[0076] Specifically, as shown in Figures 7a to 7b , the voltage distribution collected during the use of different vehicles at different time periods is obtained according to the big data of vehicle driving. Figure 7a is a schematic diagram of the voltage distribution for one example. Then, the full voltage range is divided into N intervals from small to large according to the voltage, and the percentage voltage distribution of different voltage distribution intervals obtained by the battery on the user's vehicle within the entire voltage range is obtained. Then, according to the voltage percentage, the voltage intervals are divided into multiple resistance calculation gears in ascending order. For example, as shown in Figure 7bAs shown, the voltage ranges 71, 72, 73, 74, 75, 76, 77, 78 are divided into multiple resistance calculation gears in ascending order. Among them, the maximum voltage of voltage range 71 is less than the minimum voltage of voltage range 72, the maximum voltage of voltage range 72 is less than the minimum voltage of voltage range 73, the maximum voltage of voltage range 73 is less than the minimum voltage of voltage range 74, the maximum voltage of voltage range 74 is less than the minimum voltage of voltage range 75, the maximum voltage of voltage range 75 is less than the minimum voltage of voltage range 76, the maximum voltage of voltage range 76 is less than the minimum voltage of voltage range 77, and the maximum voltage of voltage range 77 is less than the minimum voltage of voltage range 78. Among them, Figures 7a to 7b The abscissa of

[0077] Finally, step S503 is executed. According to the current and voltage of multiple resistance calculation gears, the switch resistance values of the multi-gear motor controller in each motor control gear are determined. The switch resistance values are the resistance values of the turn-on control branch and the turn-off control branch. According to the switch resistance values of the motor control gear, the resistance values of the turn-on resistor and the turn-off resistor are determined. The switch resistance values are the resistance values of the turn-on control branch and the turn-off control branch.

[0078] Among them, the switch resistance value is the resistance value of the turn-on control branch and the turn-off control branch, that is, the resistance value of the turn-on control branch is equal to the resistance value of the turn-off control branch and is equal to the switch resistance value.

[0079] The present invention determines the current ratio as typical operating condition data through the motor current spectrogram, determines the voltage ratio as user vehicle usage data by collecting the voltage distribution during the use of different vehicles at different times in a big data manner, divides the current ratio and the voltage ratio into multiple resistance calculation gears by using the method of determining the operating condition boundary through data analysis, and calculates the resistance values of the turn-on resistor and the turn-off resistor for each motor control gear based on the resistance calculation gears. The present invention can not only meet the typical operating conditions but also match the user vehicle usage data, meeting the design requirements for the resistance values of the turn-on resistor and the turn-off resistor in the multi-gear motor controller.

[0080] Such as Figure 8As shown in the figure, in another embodiment of the present invention, a method for determining the gate drive resistance of a multi-gear motor controller. The multi-gear motor controller includes multiple turn-on resistors connected to switching tubes and multiple turn-off resistors connected to switching tubes. The multiple turn-on resistors are connected in parallel to form a turn-on control branch, and the multiple turn-off resistors are connected in parallel to form a turn-off control branch. The multi-gear motor controller includes multiple motor control gears, and each motor control gear controls the on-off of the corresponding switching tube. The number of resistance calculation gears is the same as the number of turn-on resistors and the number of turn-off resistors. The multi-gear motor controller includes the lowest motor control gear and other motor control gears. In the lowest motor control gear, the parallel turn-on resistors or the parallel turn-off resistors are turned on. In the other motor control gears, one turn-on resistor or one turn-off resistor is turned on. The number of resistance calculation gears is one less than the number of motor control gears. The method for determining the gate drive resistance includes:

[0081] Step S801: Obtain the motor current spectrum diagram of the vehicle equipped with the multi-gear motor controller. Divide the current range of the motor current spectrum diagram into multiple current intervals from small to large, obtain the current proportion of different current intervals in the motor current spectrum diagram. According to the current proportion, divide the current intervals into multiple resistance calculation gears in ascending order, and the sum of the current proportions of the current intervals divided by the resistance calculation gears for calculating low switch resistance values is greater than the sum of the current proportions of the current intervals divided by the resistance calculation gears for calculating high switch resistance values;

[0082] Step S802: Obtain the voltage distribution collected during the use of different vehicles at different time periods. Divide the full voltage range of the voltage distribution into multiple voltage intervals from small to large, obtain the voltage proportion of different voltage intervals in the entire voltage range. According to the voltage proportion, divide the voltage intervals into multiple resistance calculation gears in ascending order, and the sum of the voltage proportions of the voltage intervals divided by the resistance calculation gears for calculating low switch resistance values is greater than the sum of the voltage proportions of the voltage intervals divided by the resistance calculation gears for calculating high switch resistance values;

[0083] Step S803: Use the maximum current and maximum voltage of the lowest resistance calculation gear to calculate the switch resistance value of the lowest motor control gear. Calculate the parallel resistance value of all turn-on resistors and the parallel resistance value of all turn-off resistors according to the switch resistance value of the lowest motor control gear. The maximum current of the lowest resistance calculation gear is less than the maximum current of the remaining resistance calculation gears, and the maximum voltage of the lowest resistance calculation gear is less than the maximum voltage of the remaining resistance calculation gears. The switch resistance value is the resistance value of the turn-on control branch and the resistance value of the turn-off control branch;

[0084] Step S804: Divide all other motor control gears into a directly calculated motor control gear and an indirectly calculated motor control gear. Use the remaining resistance calculation gears to calculate the maximum current value and the maximum voltage value. Calculate the switching resistance values of all the directly calculated motor control gears respectively, and calculate the resistance values of the on-resistors and off-resistors conducted by all the directly calculated motor control gears respectively according to the switching resistance values of all the directly calculated motor control gears.

[0085] Step S805: Use the parallel resistance value of all the on-resistors and the resistance value of the on-resistors conducted by all the directly calculated motor control gears to calculate the resistance value of the on-resistors conducted by the indirectly calculated motor control gear. Use the parallel resistance value of all the off-resistors and the resistance value of the off-resistors conducted by all the directly calculated motor control gears to calculate the resistance value of the off-resistors conducted by the indirectly calculated motor control gear.

[0086] Specifically, first execute Step S801 to obtain the motor current spectrum diagram of the vehicle equipped with the multi-gear motor controller. Divide the current range of the motor current spectrum diagram into multiple current intervals from small to large, obtain the current proportion of different current intervals in the motor current spectrum diagram, and divide the current intervals into multiple resistance calculation gears in ascending order according to the current proportion. And the sum of the current proportions of the current intervals divided by the resistance calculation gears for calculating low switching resistance values is greater than the sum of the current proportions of the current intervals divided by the resistance calculation gears for calculating high switching resistance values.

[0087] Specifically, as Figures 6a to 6f shown, first convert the speed and power of the road spectrum corresponding to the vehicle equipped as Figure 6a shown into the rotational speed and torque of the electric drive output as Figure 6c shown according to the transmission system ratio and efficiency, and then convert them into the rotational speed and torque of the motor according to the characteristics of the motor. Then, according to the motor rotational speed and torque obtained in the previous step, obtain the motor current spectrum diagram as Figure 6e shown according to the motor operating characteristics. Discretize the motor current, divide the current range into M intervals from small to large according to the current, and obtain the percentage distribution of different current intervals in the motor current spectrum diagram. Then as Figure 6f shown, divide the current intervals into multiple resistance calculation gears in ascending order according to the current proportion distribution. The distribution principle is to put as much current distribution as possible into the low-switching-resistance interval, with the aim of making the more likely working conditions operate in the low-loss area.

[0088] As an example, as Figure 6fAs shown, according to the current proportion distribution, the current is divided into two gears, with the proportions being A% and B% respectively, and A + B = 1. The distribution principle is to distribute as much current as possible into the low-switch-resistance range, aiming to make the more frequently occurring working conditions operate in the low-loss area. The M current intervals are sequentially placed into two resistance calculation gears according to the proportion distribution. For example, Figure 6f As shown, current intervals 61 and 62 are divided into the first resistance calculation gear, current intervals 63, 64, 65, and 66 are divided into the second resistance calculation gear, and current intervals 67, 68, and 69 are divided into the third resistance calculation gear.

[0089] Then, step S802 is executed to obtain the voltage distribution collected during the use of different vehicles at different time periods. Multiple voltage intervals are divided from the smallest to the largest within the full voltage range of the voltage distribution, and the voltage proportion of different voltage intervals within the entire voltage range is obtained. According to the voltage proportion, the voltage intervals are divided into multiple resistance calculation gears in ascending order, and the sum of the voltage proportions of the voltage intervals divided into the resistance calculation gear for calculating the low switch resistance value is greater than the sum of the voltage proportions of the voltage intervals divided into the resistance calculation gear for calculating the high switch resistance value.

[0090] For example, Figures 7a to 7b As shown, the voltage distribution collected during the use of different vehicles at different time periods is obtained based on the big data of vehicle running. Figure 7a It is a schematic diagram of the voltage distribution for one example. Then, the full voltage range is divided into N intervals from the smallest voltage to the largest, and the proportion distribution of the voltage proportions of different voltage distribution intervals obtained by the battery in the user's vehicle within the entire voltage range is obtained. Then, according to the voltage proportion, the voltage intervals are divided into multiple resistance calculation gears in ascending order. The distribution principle is to distribute as much voltage distribution as possible into the low-switch-resistance range, aiming to make the more frequently occurring working conditions operate in the low-loss area.

[0091] As an example, for example, Figure 7b As shown, according to the voltage proportion distribution, the voltage is divided into two gears, with the proportions being X% and Y% respectively, and X + Y = 1. The distribution principle is to distribute as much voltage distribution as possible into the low-switch-resistance range, aiming to make the more frequently occurring working conditions operate in the low-loss area. The N voltage intervals are sequentially placed into two resistance calculation gears according to the proportion distribution. For example, Figure 7b As shown, voltage intervals 71, 72, 73, 74, and 75 are divided into the first resistance calculation gear, and voltage intervals 76, 77, and 78 are divided into the second resistance calculation gear, where X% = 57.15% and Y% = 42.85%.

[0092] Then, step 803 is executed to calculate the maximum current and maximum voltage of the lowest resistance calculation gear, calculate the switch resistance value of the lowest motor control gear, and calculate the parallel resistance value of all on-resistors and the parallel resistance value of all off-resistors according to the switch resistance value of the lowest motor control gear. The maximum current of the lowest resistance calculation gear is less than the maximum current of the other resistance calculation gears, and the maximum voltage of the lowest resistance calculation gear is less than the maximum voltage of the other resistance calculation gears. The switch resistance value is the resistance value of the on-control branch and the resistance value of the off-control branch.

[0093] Specifically, the maximum voltage of the lowest resistance calculation gear is less than the maximum voltage of the other resistance calculation gears. As Figure 6f and Figure 7b shown in the example, the lowest resistance calculation gear is the first resistance calculation gear. The lowest motor control gear is the case where all on-resistors or all off-resistors are turned on simultaneously. In the lowest motor control gear, during the on-period, all on-resistors are in parallel, and during the off-period, all off-resistors are in parallel. Therefore, the switch resistance value of the lowest motor control gear is the lowest among all motor control gears. Using the maximum current and maximum voltage of the lowest resistance calculation gear, the switch resistance value of the lowest motor control gear is calculated, and then the switch resistance value is used as the resistance value of the on-control branch and the off-control branch. At this time, the resistance value of the on-control branch is the parallel resistance value of all on-resistors in parallel, and the resistance value of the off-control branch is the parallel resistance value of all off-resistors in parallel.

[0094] Then, step S804 is executed to divide all other motor control gears into direct calculation motor control gears and one indirect calculation motor control gear, use the maximum current and maximum voltage of the other resistance calculation gears to calculate the switch resistance values of all the direct calculation motor control gears respectively, and calculate the resistance values of the on-resistors and off-resistors conducted by all the direct calculation motor control gears according to the switch resistance values of all the direct calculation motor control gears.

[0095] Specifically, in each of the other motor control gears, a turn-on resistor is turned on during the turn-on period, and a turn-off resistor is turned on during the turn-off period. Since the number of resistor calculation gears is one less than the number of motor control gears, and one of the resistor calculation gears is used to calculate the lowest motor control gear, at this time, the number of the remaining resistor calculation gears is still one less than the number of the other motor control gears. Therefore, all the other motor control gears are divided into directly calculated motor control gears and an indirectly calculated motor control gear, and the maximum current value and the maximum voltage value of the remaining resistor calculation gears are used to calculate the switching resistances of all the directly calculated motor control gears one by one. Then, the switching resistances are used as the resistances of the turn-on control branch and the turn-off control branch. At this time, the resistance of the turn-on control branch is the resistance of the turn-on resistor turned on during the turn-on period of the directly calculated motor control gear, and the resistance of the turn-off control branch is the resistance of the turn-off resistor turned on during the turn-off period of the directly calculated motor control gear.

[0096] After calculating the resistances of the turn-on resistors and the turn-off resistors turned on by all the directly calculated motor control gears, step S805 is executed. The parallel resistance value of all the turn-on resistors and the resistances of the turn-on resistors turned on by all the directly calculated motor control gears are used to calculate the resistance of the turn-on resistor turned on by the indirectly calculated motor control gear. The parallel resistance value of all the turn-off resistors and the resistances of the turn-off resistors turned on by all the directly calculated motor control gears are used to calculate the resistance of the turn-off resistor turned on by the indirectly calculated motor control gear.

[0097] Specifically, based on the parallel resistance value after all the turn-on resistors are connected in parallel and the resistances of the turn-on resistors turned on by all the directly calculated motor control gears, the resistance of the switching resistor turned on by the last indirectly calculated motor control gear can be calculated. Similarly, based on the parallel resistance value after all the turn-off resistors are connected in parallel and the resistances of the turn-off resistors turned on by all the directly calculated motor control gears, the resistance of the switching resistor turned on by the last indirectly calculated motor control gear can be calculated.

[0098] The present invention determines the current proportion as typical working condition data through the motor current spectrogram, determines the voltage proportion as user vehicle usage data by collecting the voltage distributions of different vehicles during use at different times through big data, and through data analysis, uses the method of determining the working condition boundary to divide the current proportion and the voltage proportion into multiple resistor calculation gears, and calculates the resistances of the turn-on resistor and the turn-off resistor of each motor control gear based on the resistor calculation gears. The present invention can not only meet the typical working conditions but also match the user vehicle usage data, meeting the resistance design requirements of the turn-on resistor and the turn-off resistor in the multi-gear motor controller. At the same time, under the premise of meeting safety as much as possible, this embodiment uses smaller switching resistors for as many working conditions of the vehicle running as possible to reduce the power consumption of the whole vehicle.

[0099] In one embodiment, the number of the resistance calculation gears, the number of the on-resistances, and the number of the off-resistances are all two. The multi-gear motor controller includes a first motor control gear for conducting all the parallel-connected on-resistances or all the parallel-connected off-resistances, a second motor control gear for conducting a first on-resistance or a first off-resistance, and a third motor control gear for conducting a second on-resistance or a second off-resistance. The resistance value of the first on-resistance is greater than that of the second on-resistance, and the resistance value of the first off-resistance is greater than that of the second off-resistance. Determining the switching resistance values of the multi-gear motor controller at each of the motor control gears according to the current and voltage of multiple resistance calculation gears, and determining the resistance values of the on-resistances and the off-resistances according to the switching resistance values of the motor control gears includes:

[0100] Using the maximum current value and the maximum voltage value of the first resistance calculation gear, calculating the switching resistance value of the first motor control gear, and calculating the parallel value of the first switching resistance and the second switching resistance and the parallel value of the first off-resistance and the second off-resistance according to the switching resistance value of the first motor control gear. The maximum current value of the first resistance calculation gear is less than the maximum current value of the second resistance calculation gear, and the maximum voltage value of the first resistance calculation gear is less than the maximum voltage value of the second resistance calculation gear;

[0101] Using the maximum current value and the maximum voltage value of the second resistance calculation gear, calculating the switching resistance value of the third motor control gear, and calculating the resistance value of the first on-resistance and the resistance value of the first off-resistance according to the switching resistance value of the third motor control gear;

[0102] Calculating the resistance value of the second on-resistance according to the parallel value of the first switching resistance and the second switching resistance and the resistance value of the first on-resistance, and calculating the resistance value of the second off-resistance according to the parallel value of the first switching resistance and the second switching resistance and the resistance value of the first off-resistance.

[0103] Specifically, taking the three-gear switching resistance as an example, in this embodiment, by determining the resistance values of the on-resistances and the off-resistances at different gears, it is possible to use smaller switching resistances for as many vehicle driving conditions as possible under the premise of meeting safety requirements, so as to reduce the power consumption of the whole vehicle.

[0104] Calculate the maximum current and maximum voltage of the gear using the first resistor, and determine the minimum switching resistor according to the safety working boundaries of the device withstand voltage and maximum recovery power of the power module through double-pulse testing. Specifically, measure the turn-off spike and reverse recovery power under a certain driving resistor through double-pulse testing based on the maximum voltage value and maximum current value, compare them with the device withstand voltage and maximum recovery power that the device can withstand, continuously adjust the size of the resistor for repeated testing, and finally determine the specific resistance value. Then use the switching resistance value as the resistance value of the turn-on control branch and the turn-off control branch. As Figure 4 shown, the resistance value of the turn-on control branch at this time is the parallel resistance value after the parallel connection of the first turn-on resistor R GON1 and the second turn-on resistor R GON2 , and the resistance value of the turn-off control branch is the parallel resistance value after the parallel connection of the first turn-off resistor R GOFF1 and the second turn-off resistor R GOFF2 .

[0105] Calculate the maximum current and maximum voltage of the gear using the second resistor (which is actually the maximum current and maximum voltage designed by the controller), determine the switching resistance value of the third motor control gear, that is, the maximum switching resistance, and then use the obtained switching resistance value as the resistance value of the maximum turn-on resistor and the maximum turn-off resistor. Since it is a parallel connection of two resistors, therefore, the resistance values of the other turn-on resistor and turn-off resistor are determined along with the determination of the values of the first two resistors.

[0106] The above is the method for determining the resistance values of the three-gear driving resistors composed of two parallel resistors. Similarly, the method can also be used to determine the resistance values of the four-gear driving resistors composed of three parallel resistors. In this embodiment, the typical working condition data and the user vehicle usage data obtained from the vehicle big data are used to analyze the data to determine the method of the working condition boundary and test the resistance values of the driving resistors. For the application of the driving resistors with different numbers of gears composed of different switching forms, the method of this embodiment can be used to determine the resistance values. Therefore, the determination of the resistance values of the turn-on resistors and turn-off resistors with different numbers of gears composed of different switching forms belongs to the protection scope of the present invention.

[0107] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution. The order of execution of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.

[0108] As Figure 9 shown, it is a schematic diagram of the hardware structure of an electronic device according to the present invention, including:

[0109] At least one first processor 901; and,

[0110] A first memory 902 communicatively connected to at least one of the first processors 901; wherein,

[0111] The first memory 902 stores instructions executable by at least one of the first processors. The instructions are executed by at least one of the first processors so that at least one of the first processors can execute the method for determining the gate drive resistance of the multi-speed motor controller as described above.

[0112] Figure 9 Taking one of the first processors 901 as an example.

[0113] The electronic device may further include: a first input device 903 and a first display device 904.

[0114] The first processor 901, the first memory 902, the first input device 903, and the first display device 904 may be connected via a bus or other means. In the figure, connection via a bus is taken as an example.

[0115] Preferably, the electronic device is a computer.

[0116] As a non-volatile computer-readable storage medium, the first memory 902 can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the method for determining the gate drive resistance of the multi-speed motor controller in the embodiments of the present application. For example, Figure 5 、 Figure 8 The method flow shown. By running the non-volatile software programs, instructions, and modules stored in the first memory 902, the first processor 901 executes various functional applications and data processing, that is, implements the method for determining the gate drive resistance of the multi-speed motor controller in the above embodiments.

[0117] The first memory 902 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created according to the use of the method for determining the gate drive resistance of the multi-speed motor controller, etc. In addition, the first memory 902 may include a high-speed random access first memory, and may also include a non-volatile first memory, such as at least one magnetic disk first storage device, a flash memory device, or other non-volatile solid-state first storage devices. In some embodiments, the first memory 902 may optionally include a first memory remotely provided with respect to the first processor 901, and these remote first memories can be connected to the device for executing the method for determining the gate drive resistance of the multi-speed motor controller through a network. Examples of the above network include but are not limited to the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.

[0118] The first input device 903 can receive input user clicks and generate signal inputs related to user settings and function control of the gate drive resistance determination method for a multi-speed motor controller. The first display device 904 can include a display device such as a display screen.

[0119] When the one or more modules are stored in the first memory 902 and run by the one or more first processors 901, they execute the gate drive resistance determination method for a multi-speed motor controller in any of the above method embodiments.

[0120] In the present invention, the current ratio is determined as typical operating condition data through the motor current spectrogram, the voltage ratio is determined as user vehicle usage data by collecting the voltage distribution during the use of different vehicles at different times in a big data manner, and through data analysis, the current ratio and voltage ratio are divided into multiple resistance calculation gears by using the method of determining the operating condition boundary, and the on-resistance and off-resistance values of each motor control gear are calculated based on the resistance calculation gears. The present invention can not only meet the typical operating conditions but also match the user vehicle usage data, meeting the resistance value design requirements of the on-resistance and off-resistance in the multi-speed motor controller.

[0121] As Figure 10 shown, in an embodiment of the present invention, a gear shifting method for a motor controller, the multi-speed motor controller includes multiple on-resistances connected to switching tubes and multiple off-resistances connected to switching tubes, the multiple on-resistances are connected in parallel as an on-control branch, the multiple off-resistances are connected in parallel as an off-control branch, the multi-speed motor controller includes multiple motor control gears, and each motor control gear controls the on and off of the corresponding switching tube. The gear shifting method includes:

[0122] Step S1001, obtain the switching resistance values of different motor control gears determined by the gate drive resistance determination method for the multi-speed motor controller as described above, determine multiple current-voltage distribution regions of the upshift distribution table according to the switching resistance values, and determine multiple current-voltage distribution regions of the downshift distribution table according to the switching resistance values;

[0123] Step S1002, obtain the real-time current value of the three-phase current of the motor controller and the real-time voltage value of the bus voltage;

[0124] Step S1003, in response to an upshift request, compare the real-time current value and the real-time voltage value with the upshift distribution table, take the upshift current-voltage distribution region where the real-time current value and the real-time voltage value are located as the upshift control region, obtain the motor control gear corresponding to the upshift control region, and send the motor control gear corresponding to the upshift control region to the drive chip, and the motor control gear is used for the drive chip to control the on and off of the corresponding switching tube;

[0125] Step S1004, in response to a downshift request, compare the real-time current value and the real-time voltage value with a downshift distribution table, take the downshift current-voltage distribution area where the real-time current value and the real-time voltage value are located as the downshift control area, obtain the motor control gear corresponding to the downshift control area, and send the motor control gear corresponding to the downshift control area to the drive chip.

[0126] Specifically, this embodiment can be applied to an electronic device with processing capabilities, such as a microcontroller (Micro Controller Unit, MCU) of a motor controller.

[0127] Specifically, after determining the resistance values of different gears by the foregoing method, the present invention also proposes a gear shifting method for a motor controller during actual operation.

[0128] First, execute step S1001, determine the switch resistance values of different motor control gears according to the gate-level drive resistance determination method of the multi-gear motor controller as described above, determine multiple current-voltage distribution areas of the upshift distribution table according to the switch resistance values, and determine multiple current-voltage distribution areas of the downshift distribution table according to the switch resistance values.

[0129] Specifically, first, pre-measure the safety boundary of device operation, measure the maximum current at different voltages under multiple motor control gears respectively, and obtain the Figure 11 shown safety operating boundary. It is safe for different switch resistances to operate under the conditions below the corresponding curves. Number the switch resistances of multiple motor control gears.

[0130] In one example, three motor control gears are adopted, where the small switch resistance is set as the first gear, the medium switch resistance is set as the second gear, and the large switch resistance is set as the third gear. As Figure 11 shown, it includes: the safety operating boundary curve 1101 of the small switch resistance, the safety operating boundary curve 1102 of the medium switch resistance, and the safety operating boundary curve 1103 of the large switch resistance.

[0131] Then, determine the conditions for upshift and downshift of the motor control gear. For example, for the shift between three gears, it is divided into an upshift of 1->2->3 and a downshift of 3->2->1. The upshift current-voltage points are set according to the safety operating current-voltage measured in the previous step to obtain an upshift gear distribution table at different voltages and currents, as Figure 12 shown, and a downshift gear distribution table at different voltages and currents, as Figure 13 shown. (The number of current and voltage points taken in the figure is only for example. The more points of current and voltage are taken, the more precise the control is)

[0132] After determining the upshift gear distribution table and the downshift gear distribution table, step S1002 is executed to obtain the real-time current values of the three-phase current of the motor controller and the real-time voltage value of the bus voltage.

[0133] If an upshift request is received, step S1003 is executed. In response to the upshift request, the real-time current value and the real-time voltage value are compared with the upshift distribution table, and the upshift current-voltage distribution area where the real-time current value and the real-time voltage value are located is used as the upshift control area. The motor control gear corresponding to the upshift control area is obtained, and the motor control gear corresponding to the upshift control area is sent to the drive chip. The motor control gear is used for the drive chip to control the on and off of the corresponding switching tube.

[0134] If a downshift request is received, step S1004 is executed. In response to the downshift request, the real-time current value and the real-time voltage value are compared with the downshift distribution table, and the downshift current-voltage distribution area where the real-time current value and the real-time voltage value are located is used as the downshift control area. The motor control gear corresponding to the downshift control area is obtained, and the motor control gear corresponding to the downshift control area is sent to the drive chip. The motor control gear is also used for the drive chip to control the on and off of the corresponding switching tube.

[0135] In some embodiments, as Figure 14 shown: In each switching cycle, the microcontroller 1401 reads the three-phase current and the bus voltage of the motor controller in real time. According to the specific current value and voltage value collected, the upshift and downshift are looked up in the table in each switching cycle, and then the gear information including the motor control gear is sent to the drive chip 20 to perform the gear selection operation to control the main tube 11 of the power module 10. The power module 10 also includes a stray inductance 13.

[0136] In some embodiments, as Figure 15 shown: In each switching cycle, the microcontroller 1401 reads the three-phase current and the bus voltage of the motor controller in real time. The quadrature-axis current Iq and the direct-axis current Id current values obtained after the three-phase current undergoes Park transformation and Clark transformation are calculated to obtain the peak value Is of the three-phase current. , and the current Is is used for table lookup. According to the Is current value and the voltage value, the upshift and downshift are looked up in the table in each switching cycle, and then the gear information including the motor control gear is sent to the drive chip 20 to perform the gear selection operation to control the main tube 11 of the power module 10. The power module 10 also includes a stray inductance 13.

[0137] Based on the determined resistance values of the on - resistance and off - resistance, this embodiment realizes the shift - switching of the multi - switch driving resistance. The respective safety working boundaries are obtained through tests for different resistances, and the optimal up - shift and down - shift gear distribution tables are obtained under different voltages and currents.

[0138] In one embodiment:

[0139] The multiple current - voltage distribution regions for determining the up - shift distribution table according to the switch resistance values include: setting multiple up - shift voltage points. For each up - shift voltage point, calculate the maximum current at the switch resistance values of different motor control gears as the up - shift current points. Based on each up - shift voltage point and each up - shift current point, determine multiple up - shift current - voltage distribution regions. The motor control gear corresponding to each up - shift current - voltage distribution region is the motor control gear corresponding to the switch resistance value for calculating the up - shift current point.

[0140] The multiple current - voltage distribution regions for determining the down - shift distribution table according to the switch resistance values include: subtracting a preset voltage threshold from each up - shift voltage point to obtain the down - shift voltage points, subtracting a preset current value from each up - shift current point to obtain the down - shift current points. Based on each down - shift voltage point and each down - shift current point, determine multiple down - shift current - voltage distribution regions. The motor control gear corresponding to each down - shift current - voltage distribution region is the motor control gear corresponding to the switch resistance value for calculating the down - shift current point.

[0141] Specifically, in order to reserve a certain safety hysteresis region for up - shifting and down - shifting, the down - shift values of current and voltage are a little smaller than those of up - shifting. Therefore, the down - shift current point is reduced by K amperes (the specific value is determined according to actual debugging) based on the up - shift current point, and the down - shift voltage point is reduced by T volts based on the up - shift voltage value, obtaining the down - shift gear distribution table under different voltages and currents, as Figure 13 shown.

[0142] Among them, since the down - shift current point is calculated by subtracting a preset voltage threshold from the up - shift current point, the switch resistance value of the down - shift current point is the switch resistance value corresponding to the up - shift current point used to calculate this down - shift current point.

[0143] This embodiment obtains the down - shift current point by reducing the current value based on the up - shift current point, and obtains the down - shift voltage point by reducing the voltage value based on the up - shift voltage point, thereby reserving a certain safety hysteresis region for up - shifting and down - shifting.

[0144] As Figure 16 shown is a schematic hardware structure diagram of an electronic device according to the present invention, including:

[0145] At least one second processor 1601; and,

[0146] A second memory 1602 communicatively connected to at least one of the second processors 1601; wherein,

[0147] The second memory 1602 stores instructions executable by at least one of the second processors. The instructions are executed by at least one of the second processors to enable at least one of the second processors to execute the gear shifting method of the motor controller as described above.

[0148] Figure 16 Taking one of the second processors 1601 as an example.

[0149] Preferably, the electronic device is a microcontroller.

[0150] The electronic device may further include: a second input device 1603 and a second display device 1604.

[0151] The second processor 1601, the second memory 1602, the second input device 1603 and the second display device 1604 may be connected by a bus or other means. In the figure, connection by a bus is taken as an example.

[0152] The second memory 1602, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the gear shifting method of the motor controller in the embodiments of the present application. For example, Figure 10 The method flow shown. The second processor 1601 executes various functional applications and data processing by running the non-volatile software programs, instructions, and modules stored in the second memory 1602, that is, implements the gear shifting method of the motor controller in the above embodiments.

[0153] The second memory 1602 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created according to the use of the gear shifting method of the motor controller, etc. In addition, the second memory 1602 may include a high-speed random access second memory, and may also include a non-volatile second memory, such as at least one magnetic disk second storage device, a flash memory device, or other non-volatile solid-state second storage devices. In some embodiments, the second memory 1602 may optionally include a second memory remotely provided with respect to the second processor 1601, and these remote second memories may be connected to the device executing the gear shifting method of the motor controller through a network. Examples of the above network include but are not limited to the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.

[0154] The second input device 1603 can receive input user clicks and generate signal inputs related to user settings and function control of the gear shifting method of the motor controller. The second display device 1604 can include a display device such as a display screen.

[0155] When the one or more modules are stored in the second memory 1602 and run by the one or more second processors 1601, they execute the gear shifting method of the motor controller in any of the above method embodiments.

[0156] Based on the determined resistance values of the turn-on resistance and the turn-off resistance, this embodiment realizes the gear shifting of the multi-switch drive resistance, obtains the respective safe operating boundaries through tests for different resistances, and obtains the optimal upshift and downshift gear distribution tables under different voltages and currents.

[0157] An embodiment of the present invention provides a storage medium that stores computer instructions. When a computer executes the computer instructions, it is used to execute all the steps of the method for determining the gate drive resistance of the multi-speed motor controller as described above or all the steps of the gear shifting method of the motor controller as described above.

[0158] In the context of the present disclosure, the storage medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. The storage medium can be a machine-readable signal medium or a machine-readable storage medium. Optionally, the storage medium can be a non-transitory computer-readable storage medium. For example, the non-transitory computer-readable storage medium can be ROM, random access memory (Random Access Memory, RAM), compact disc read-only memory (Compact Disc ROM, CD-ROM), magnetic tape, floppy disk, and optical data storage devices, etc.

[0159] An embodiment of the present invention provides a computer program product, including a computer program / instructions. When the computer program / instructions are executed by a processor, they implement the method for determining the gate drive resistance of the multi-speed motor controller as described above or the gear shifting method of the motor controller as described above.

[0160] The above embodiments only represent several implementation manners of the present invention. Their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the patent of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can still be made, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention should be subject to the appended claims.

Claims

1. A method for determining gate-level drive resistance of a multi-speed motor controller, wherein the multi-speed motor controller comprises a plurality of on-resistors connected to a switch tube and a plurality of off-resistors connected to the switch tube, wherein the plurality of on-resistors are connected in parallel as an on-control branch, and the plurality of off-resistors are connected in parallel as an off-control branch, wherein the multi-speed motor controller comprises a plurality of motor control gears, and each motor control gear controls the on and off of the corresponding switch tube, wherein: The gate-level driving resistance determination method comprises: Obtain a motor current path spectrum of a vehicle model equipped with a multi-speed motor controller, divide the current range of the motor current path spectrum into multiple current intervals from small to large, obtain the current proportions of different current intervals in the motor current path spectrum, and divide the current interval into multiple resistance calculation gears in order from small to large according to the current proportions; Obtain voltage distributions collected during the use of different vehicles in different time periods, divide a plurality of voltage intervals from small to large in the full voltage range of the voltage distribution, obtain voltage proportions of different voltage intervals in the entire voltage range, and divide the voltage intervals into a plurality of resistance calculation gears in order from small to large according to the voltage proportions; Calculating the current and voltage of the gear according to multiple resistors, determining the switch resistance of the multi-speed motor controller in each motor control gear, and determining the resistance of the on resistance and the off resistance according to the switch resistance of the motor control gear, wherein the switch resistance is the resistance of the on control branch and the resistance of the off control branch; Dividing the current interval into a plurality of resistance calculation gears in ascending order, including: dividing the current interval into a plurality of resistance calculation gears in ascending order, and the sum of current proportions of the current intervals divided by the resistance calculation gears for calculating low switch resistance is greater than the sum of current proportions of the current intervals divided by the resistance calculation gears for calculating high switch resistance; The voltage interval is divided into a plurality of resistance calculation gears in order from small to large, including: the voltage interval is divided into a plurality of resistance calculation gears in order from small to large, and the sum of the voltage proportions of the voltage intervals divided by the resistance calculation gears used to calculate the low switch resistance is greater than the sum of the voltage proportions of the voltage intervals divided by the resistance calculation gears used to calculate the high switch resistance.

2. The method for determining gate-level drive resistance of a multi-speed motor controller according to claim 1, characterized in that: The number of the resistance calculation gears is consistent with the number of the on-resistances and the number of the off-resistances, the multi-speed motor controller includes the lowest motor control gear and other motor control gears, in the lowest motor control gear, the parallel on-resistances or the parallel off-resistances are turned on, in the other motor control gears, one on-resistance or one off-resistance is turned on, the number of the resistance calculation gears is one less than the motor control gears, the current and voltage of the multiple resistance calculation gears are used to determine the switch resistance of the multi-speed motor controller in each of the motor control gears, and the resistance values ​​of the on-resistance and the off-resistance are determined according to the switch resistance of the motor control gears, including: The current maximum value and the voltage maximum value of the lowest resistance calculation gear are used to calculate the switch resistance value of the lowest motor control gear, and the parallel resistance value of all the on-resistances and the parallel resistance value of all the off-resistances are calculated according to the switch resistance value of the lowest motor control gear, the current maximum value of the lowest resistance calculation gear is less than the current maximum value of the remaining resistance calculation gears, and the voltage maximum value of the lowest resistance calculation gear is less than the voltage maximum value of the remaining resistance calculation gears; All other motor control gears are divided into a direct calculation motor control gear and an indirect calculation motor control gear, and the maximum current and maximum voltage of the remaining resistance calculation gears are used to respectively calculate the switch resistance values ​​of all the direct calculation motor control gears, and the resistance values ​​of the on resistance and the off resistance of all the direct calculation motor control gears are respectively calculated according to the switch resistance values ​​of all the direct calculation motor control gears; The resistance value of the on-resistance turned on by the indirect calculation motor control gear is calculated by using the parallel resistance value of all the on-resistances and the resistance value of all the on-resistances turned on by the direct calculation motor control gear. The resistance value of the off-resistance turned on by the indirect calculation motor control gear is calculated by using the parallel resistance value of all the off-resistances and the resistance value of all the off-resistances turned on by the direct calculation motor control gear.

3. The method for determining gate-level drive resistance of a multi-speed motor controller according to claim 1, characterized in that: The number of the resistance calculation gears, the number of the on-resistors, and the number of the off-resistors are all two, the multi-speed motor controller includes a first motor control gear that turns on all parallel on-resistors or all parallel off-resistors, a second motor control gear that turns on the first on-resistor or the first off-resistor, and a third motor control gear that turns on the second on-resistor or the second off-resistor, the resistance value of the first on-resistor is greater than the resistance value of the second on-resistor, and the resistance value of the first off-resistor is greater than the resistance value of the second off-resistor, the current and voltage of the multiple resistance calculation gears are used to determine the switch resistance value of the multi-speed motor controller in each of the motor control gears, and the resistance values ​​of the on-resistor and the off-resistor are determined according to the switch resistance value of the motor control gear, including: The switch resistance of the first motor control gear is calculated by using the maximum current and the maximum voltage of the first resistor calculation position, and the parallel value of the first switch resistor and the second switch resistor and the parallel value of the first off resistor and the second off resistor are calculated according to the switch resistance of the first motor control gear, the maximum current of the first resistor calculation gear is less than the maximum current of the second resistor calculation gear, and the maximum voltage of the first resistor calculation gear is less than the maximum voltage of the second resistor calculation gear; Using the second resistor to calculate the maximum current and the maximum voltage of the gear, calculate the switch resistance of the third motor control gear, and calculate the resistance of the first on resistor and the resistance of the first off resistor according to the switch resistance of the third motor control gear; The resistance of the second on-resistance is calculated according to the parallel value of the first switch resistance and the second switch resistance and the resistance of the first on-resistance, and the resistance of the second off-resistance is calculated according to the parallel value of the first switch resistance and the second switch resistance and the resistance of the first off-resistance.

4. An electronic device, characterized in that: include: at least one first processor; as well as, a first memory communicatively connected to at least one of the first processors; wherein, The first memory stores instructions that can be executed by at least one of the first processors, and the instructions are executed by at least one of the first processors so that at least one of the first processors can execute the gate-level drive resistance determination method of the multi-speed motor controller as described in any one of claims 1 to 3.

5. A gear switching method for a multi-speed motor controller, wherein the multi-speed motor controller comprises a plurality of on-resistors connected to the switch tube and a plurality of off-resistors connected to the switch tube, wherein the plurality of on-resistors are connected in parallel as an on-control branch, and the plurality of off-resistors are connected in parallel as an off-control branch, wherein the multi-speed motor controller comprises a plurality of motor control gears, and each motor control gear controls the on and off of the corresponding switch tube, wherein: The gear switching method comprises: Obtaining switch resistance values ​​of different motor control gears determined by the gate-level drive resistance determination method of a multi-speed motor controller according to any one of claims 1 to 3, determining multiple current and voltage distribution areas of an upshift distribution table according to the switch resistance values, and determining multiple current and voltage distribution areas of a downshift distribution table according to the switch resistance values; Obtain the real-time current value of the three-phase current of the motor controller and the real-time voltage value of the bus voltage; In response to an upshift request, the real-time current value and the real-time voltage value are compared with an upshift distribution table, an upshift current and voltage distribution area where the real-time current value and the real-time voltage value are located is used as an upshift control area, a motor control gear corresponding to the upshift control area is obtained, and the motor control gear corresponding to the upshift control area is sent to a driver chip, where the motor control gear is used by the driver chip to control the on and off of a corresponding switch tube; In response to a downshift request, the real-time current value and the real-time voltage value are compared with the downshift distribution table, the downshift current and voltage distribution area where the real-time current value and the real-time voltage value are located is used as the downshift control area, the motor control gear corresponding to the downshift control area is obtained, and the motor control gear corresponding to the downshift control area is sent to the drive chip.

6. The gear switching method of the multi-speed motor controller according to claim 5, characterized in that: The method of determining a plurality of current and voltage distribution areas of the upshift distribution table according to the switch resistance value comprises: setting a plurality of upshift voltage points, calculating the maximum current under the switch resistance value of different motor control gears as the upshift current point for each upshift voltage point, determining a plurality of upshift current and voltage distribution areas based on each upshift voltage point and each upshift current point, wherein the motor control gear corresponding to each of the upshift current and voltage distribution areas is the motor control gear corresponding to the switch resistance value of the upshift current point calculated; The multiple current and voltage distribution areas of the downshift distribution table are determined according to the switch resistance, including: subtracting a preset voltage threshold from each upshift voltage point to obtain a downshift voltage point, subtracting a preset current value from each upshift current point to obtain a downshift current point, and determining multiple downshift current and voltage distribution areas based on each downshift voltage point and each downshift current point, and the motor control gear corresponding to each downshift current and voltage distribution area is the motor control gear corresponding to the switch resistance value of the downshift current point.

7. An electronic device, characterized in that: include: at least one second processor; as well as, a second memory communicatively connected to at least one of the second processors; wherein, The second memory stores instructions that can be executed by at least one of the second processors, and the instructions are executed by at least one of the second processors so that at least one of the second processors can execute the gear switching method of the multi-speed motor controller as described in any one of claims 5 to 6.

8. A storage medium, characterized in that: The storage medium stores computer instructions, which, when executed by a computer, are used to execute all steps of the method for determining the gate-level drive resistance of a multi-speed motor controller as described in any one of claims 1 to 3 or all steps of the gear switching method of a multi-speed motor controller as described in any one of claims 5 to 6.

9. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by a processor, the method for determining the gate-level drive resistance of a multi-speed motor controller as described in any one of claims 1 to 3 or the gear switching method of a multi-speed motor controller as described in any one of claims 5 to 6 is implemented.

Citation Information

Patent Citations

  • Motor controller and method and system for adaptively changing IBGT gate-level resistance value of motor controller

    CN111245204A

  • Inverter control method, switching tube driving circuit, controller and inverter

    CN112803723A