Torque estimation method and device, vehicle and storage medium
By identifying non-failed motor sensors and using their detection parameters, combined with relationship tables, the problem of torque estimation when PMSM motor sensor fails is solved, and accurate torque estimation and stable system operation in the case of sensor failure is achieved, and the performance of electric vehicles is improved. and security.
Patent Information
- Application Number
- CN202411123430.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-11-12
AI Technical Summary
In the prior art, when the three-phase current sensor or rotor position sensor of the PMSM motor fails in electric vehicles, the output torque cannot be accurately estimated, resulting in vehicle performance degradation and safety hazards.
By identifying non-failed motor sensors, using parameters such as motor rotor angle, motor mechanical speed, voltage and current, combined with pre-calibrated relationship tables, we estimate the motor output torque to ensure that the torque can be accurately estimated in the case of sensor failure and maintain the stable operation of the system .
It can accurately estimate the motor output torque when the sensor fails, improve the performance and safety of electric vehicles, and ensure stable operation of the system.
Smart Images

Figure CN118928063A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and more specifically, to a torque estimation method, device, vehicle and storage medium. Background Art
[0002] With the increasing global awareness of energy conservation, emission reduction and environmental protection, new energy vehicles, especially electric vehicles, have developed rapidly and have become a key component of the automotive industry. PMSM (Permanent Magnet Synchronous Motor) has become a core component of electric vehicle power systems due to its high power density, high efficiency, compact structure and lightweight design. In order to ensure the reliability and safety of electric vehicles, it is crucial to monitor and accurately control the operating status of PMSM in real time, among which the accurate evaluation of output torque is particularly critical.
[0003] In the related technology, the torque estimation is generally achieved by precise control of PMSM through magnetic field guidance control, which mainly relies on the accurate measurement of two key parameters: the three-phase current of the motor and the motor rotor angle. However, when the three-phase current sensor of the motor or the motor rotor position sensor fails, the related technology will lose its effectiveness, resulting in the motor controller being unable to accurately judge the real-time status of the motor, and thus unable to accurately estimate the output torque of the motor. This situation will not only reduce the performance of the vehicle, but may also cause safety issues. Summary of the invention
[0004] The present application provides a torque estimation method, device, vehicle and storage medium, which can maintain the torque estimation accuracy in the event of sensor failure, maintain stable system operation, and meet vehicle safety and performance requirements.
[0005] In a first aspect, a torque estimation method is provided, which includes: identifying a non-failed motor sensor among a three-phase current sensor and a rotor position sensor; determining a state parameter of the motor at a current moment based on detection parameters of the non-failed motor sensor; and estimating the output torque of the motor at a current moment based on the state parameter of the motor at a current moment.
[0006] Through the above technical solution, the embodiment of the present application identifies the non-failed motor sensors in the three-phase current sensor and the rotor position sensor, and enables the motor controller to accurately estimate the motor output torque under the adverse condition of any sensor failure according to the detection parameters of the non-failed motor sensors, thereby maintaining the stable operation of the system, and can obtain a more accurate torque estimation value when none of the sensors fail, thereby maintaining stable operation under various working conditions and avoiding unexpected torque output, thereby improving the performance and safety of applications such as electric vehicles.
[0007] In combination with the first aspect, in some possible implementations, if the non-failure motor sensor is a rotor position sensor, the state parameters of the motor at the current moment include the motor rotor angle and d-axis / q-axis voltage detected by the rotor position sensor.
[0008] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, estimating the output torque of the motor at the current moment based on the state parameters of the motor at the current moment includes: calculating the mechanical speed of the motor based on the motor rotor angle detected by the rotor position sensor; obtaining the d-axis / q-axis current of the motor based on the correspondence table of the d-axis / q-axis voltage, the motor mechanical speed and the speed voltage and current; and estimating the first output torque of the motor at the current moment based on the d-axis / q-axis current.
[0009] Through the above technical solution, the embodiment of the present application can use parameters such as the motor rotor angle, motor duty cycle and phase voltage to look up a pre-calibrated speed-voltage-current table when the three-phase current sensor fails, thereby achieving accurate estimation of the torque.
[0010] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, if the non-failure motor sensor is a three-phase current sensor, the state parameters of the motor at the current moment include the three-phase current of the motor detected by the three-phase current sensor, the α-axis / β-axis voltage, the motor mechanical speed obtained based on the state observer, and the target torque of the motor.
[0011] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the estimating the output torque of the motor at the current moment based on the state parameters of the motor at the current moment includes: calculating the α-axis / β-axis current based on the three-phase current of the motor detected by the three-phase current sensor; determining the efficiency of the motor based on the correspondence table of the motor mechanical speed, the target torque and the torque-speed efficiency; and estimating the second output torque of the motor at the current moment based on the α-axis / β-axis voltage, the α-axis / β-axis current and the efficiency.
[0012] Through the above technical scheme, the embodiment of the present application can estimate the motor efficiency based on information such as motor speed, duty cycle, motor three-phase current and motor efficiency, combined with the torque-speed-efficiency table, and then calculate the output torque of the motor, thereby improving the operating efficiency and response speed of the motor and ensuring the stable operation of the system.
[0013] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, if the non-failure motor sensors are a three-phase current sensor and a rotor position sensor, the state parameters of the motor at the current moment include the motor rotor angle detected by the rotor position sensor, the d-axis / q-axis voltage, the motor three-phase current detected by the three-phase current sensor, the α-axis / β-axis voltage and the target torque of the motor.
[0014] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the estimating the output torque of the motor at the current moment based on the state parameters of the motor at the current moment includes: calculating the motor mechanical speed based on the motor rotor angle detected by the rotor position sensor; calculating the α-axis / β-axis current based on the motor three-phase current detected by the three-phase current sensor; obtaining the d-axis / q-axis current of the motor based on the correspondence table of the d-axis / q-axis voltage, the motor mechanical speed and the speed voltage and current, and estimating the first output torque of the motor at the current moment based on the d-axis / q-axis current; determining the efficiency of the motor based on the correspondence table of the motor mechanical speed, the target torque and the torque-speed efficiency, and estimating the second output torque of the motor at the current moment based on the α-axis / β-axis voltage, the α-axis / β-axis current and the efficiency; estimating the third output torque of the motor at the current moment based on the first output torque and the second output torque.
[0015] Through the above technical scheme, the embodiment of the present application combines the torque estimation method under the motor rotor position sensor failure condition and the motor three-phase current sensor failure condition under normal operating conditions without sensor failure, takes the average of the two estimation results, and obtains a more accurate torque estimation value.
[0016] In a second aspect, a torque estimation device is provided, which includes: an identification module for identifying a non-failed motor sensor among a three-phase current sensor and a rotor position sensor; a determination module for determining the state parameters of the motor at a current moment based on the detection parameters of the non-failed motor sensor; and an estimation module for estimating the output torque of the motor at a current moment based on the state parameters of the motor at a current moment.
[0017] In combination with the second aspect, in certain possible implementations, when the non-failure motor sensor is a rotor position sensor, the state parameters of the motor at the current moment include the motor rotor angle and d-axis / q-axis voltage detected by the rotor position sensor.
[0018] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the estimation module is further used to calculate the mechanical speed of the motor based on the motor rotor angle detected by the rotor position sensor; obtain the d-axis / q-axis current of the motor based on the correspondence table of the d-axis / q-axis voltage, the motor mechanical speed and the speed voltage and current; and estimate the first output torque of the motor at the current moment based on the d-axis / q-axis current.
[0019] In combination with the second aspect and the above-mentioned implementation methods, in certain possible implementation methods, when the non-failure motor sensor is a three-phase current sensor, the state parameters of the motor at the current moment include the three-phase current of the motor detected by the three-phase current sensor, the α-axis / β-axis voltage, the motor mechanical speed obtained based on the state observer, and the target torque of the motor.
[0020] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the estimation module is further used to calculate the α-axis / β-axis current based on the three-phase current of the motor detected by the three-phase current sensor; determine the efficiency of the motor based on the correspondence table of the motor mechanical speed, the target torque and the torque-speed efficiency; and estimate the second output torque of the motor at the current moment based on the α-axis / β-axis voltage, the α-axis / β-axis current and the efficiency.
[0021] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, if the non-failure motor sensors are a three-phase current sensor and a rotor position sensor, the state parameters of the motor at the current moment include the motor rotor angle detected by the rotor position sensor, the d-axis / q-axis voltage, the motor three-phase current detected by the three-phase current sensor, the α-axis / β-axis voltage and the target torque of the motor.
[0022] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the estimation module is further used to calculate the mechanical speed of the motor according to the motor rotor angle detected by the rotor position sensor; calculate the α-axis / β-axis current according to the three-phase current of the motor detected by the three-phase current sensor, obtain the d-axis / q-axis current of the motor based on the correspondence table of the d-axis / q-axis voltage, the motor mechanical speed and the speed voltage and current, and estimate the first output torque of the motor at the current moment according to the d-axis / q-axis current; determine the efficiency of the motor according to the correspondence table of the motor mechanical speed, the target torque and the torque-speed efficiency, and estimate the second output torque of the motor at the current moment according to the α-axis / β-axis voltage, the α-axis / β-axis current and the efficiency; and estimate the third output torque of the motor at the current moment according to the first output torque and the second output torque.
[0023] In a third aspect, a vehicle is provided, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the torque estimation method as described in the above embodiment.
[0024] In a fourth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 is a flow chart of a torque estimation method according to an embodiment of the present invention;
[0026] Figure 2 is an example diagram of torque estimation under a three-phase current sensor failure condition according to an embodiment of the present invention;
[0027] Figure 3 is an example diagram of torque estimation under a rotor position sensor failure condition according to an embodiment of the present invention;
[0028] Figure 4 is a schematic diagram of a torque estimation strategy according to an embodiment of the present invention;
[0029] Figure 5 is a block diagram of a torque estimation device according to an embodiment of the present invention;
[0030] Figure 6 It is a schematic diagram of the structure of a vehicle according to an embodiment of the present invention. DETAILED DESCRIPTION
[0031] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0032] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0033] Figure 1It is a schematic flow chart of a torque estimation method provided in an embodiment of the present application.
[0034] For example, Figure 1 As shown, the torque estimation method includes the following steps:
[0035] In step S101 , a non-failed motor sensor among the three-phase current sensors and the rotor position sensors is identified.
[0036] It is understandable that the embodiment of the present application can first perform fault detection on the three-phase current sensor and the rotor position sensor, and obtain the failure status of the motor sensor in real time. In practical applications, the specific diagnostic process may vary depending on the specific type of motor, the architecture of the control system, and the characteristics of the sensor. You can refer to the corresponding chip manual or the prior art, and will not go into details here.
[0037] In step S102, the state parameters of the motor at the current moment are determined according to the detection parameters of the non-failed motor sensors.
[0038] When faced with sensor failure, such as failure of a three-phase current sensor or a rotor position sensor, embodiments of the present application can rely on data from non-failed motor sensors and other available information to infer the current state of the motor. In combination with the above background technology, the present application has a situation where the three-phase current sensor is non-failed, a situation where the rotor position sensor is non-failed, and a situation where both sensors are non-failed, wherein if the non-failed motor sensor is a rotor position sensor, then the state parameters of the motor at the current moment include the motor rotor angle and d-axis / q-axis voltage detected by the rotor position sensor. If the non-failed motor sensor is a three-phase current sensor, then the state parameters of the motor at the current moment include the three-phase current of the motor detected by the three-phase current sensor, the α-axis / β-axis voltage, the motor mechanical speed obtained based on the state observer, and the target torque of the motor.
[0039] As another implementation method, in the embodiment of the present application, if the non-failure motor sensors are a three-phase current sensor and a rotor position sensor, the state parameters of the motor at the current moment include the motor rotor angle detected by the rotor position sensor, the d-axis / q-axis voltage, the motor three-phase current detected by the three-phase current sensor, the α-axis / β-axis voltage and the target torque of the motor.
[0040] In step S103 , the output torque of the motor at the current moment is estimated according to the state parameters of the motor at the current moment.
[0041] In one embodiment of the present application, if the non-failed motor sensor is a rotor position sensor and the failed motor sensor is a three-phase current sensor, the output torque of the motor at the current moment is estimated based on the state parameters of the motor at the current moment, including: calculating the motor mechanical speed based on the motor rotor angle detected by the rotor position sensor; obtaining the d-axis / q-axis current of the motor based on a correspondence table of d-axis / q-axis voltage, motor mechanical speed and speed voltage and current; and estimating the first output torque of the motor at the current moment based on the d-axis / q-axis current.
[0042] In the embodiment of the present application, when the PMSM is working stably at a fixed speed, the d-axis / q-axis voltage U d , U q and d-axis / q-axis current I d ,I q It is a one-to-one correspondence. According to this characteristic, in order to obtain the d-axis / q-axis current of the motor in the current working state, for a specific motor product, it is necessary to calibrate the correspondence table of the α-axis / β-axis voltage, motor mechanical speed and speed voltage and current on the bench. The specific implementation method is as follows:
[0043] On the motor dragging stand, keep the speed at 0, and the motor controller adopts the voltage open-loop control mode to give different combinations of d-axis / q-axis voltage U at fixed voltage intervals. d , U q Instructions, record the measured d-axis / q-axis current I under each combination instruction d ,I q , the voltage and current correspondence at the speed is obtained, as shown in Table 1 and Table 2. Among them, Table 1 is the U d / U q —I d Table 2 shows the corresponding relationship between U and the fixed speed. d / U q —I q Correspondence example table.
[0044] Table 1
[0045]
[0046] Table 2
[0047]
[0048] Furthermore, the embodiment of the present application can gradually increase the speed Δω until the maximum speed ω of the motor in the forward direction is reached. max , and repeat the above steps at each speed to obtain the voltage-current correspondence at each speed; gradually reduce the speed Δω until the maximum negative speed of the motor is reached -ω max, and repeat step 1) at each speed to obtain the voltage-current correspondence at each speed.
[0049] Specifically, in the embodiment of the present application, if the non-failed motor sensor is a rotor position sensor, and the failed motor sensor is a three-phase current sensor, such as Figure 2 As shown, in the embodiment of the present application, the motor rotor electrical angle signal θ can be obtained by analyzing the position sensor, and the motor mechanical speed ω can be obtained by methods such as difference method or moving average method. m .
[0050] The three-phase duty ratios DutyU, DutyV, and DutyW of the motor are obtained through the three-phase bridge driver chip, and the motor bus voltage U is synchronously collected. brdg , the motor three-phase voltage U is calculated by the following formula u , U v , U w .
[0051] U u =U brdg *DutyU
[0052] U v =U brdg *DutyV
[0053] U w =U brdg *DutyW
[0054] Furthermore, the α-axis / β-axis voltage is calculated as follows:
[0055] 1) The motor three-phase coordinate system is converted to the α-axis / β-axis fixed coordinate system using the Clark transformation of equal amplitude, as shown below:
[0056]
[0057] 2) Introduce the motor rotor electrical angle θ and use Park transformation to convert the α-axis / β-axis fixed coordinate system to the d-axis / q-axis rotating coordinate system as follows:
[0058]
[0059] 3) By combining the two equations, the d-axis / q-axis voltage U can be obtained by changing the coordinates: d , U q expression:
[0060]
[0061] Furthermore, when the motor is actually running, the current state parameters of the motor can be obtained, including the current mechanical speed ω m, and the d-axis / q-axis voltage U d , U q , by comparing the correspondence table of d-axis / q-axis voltage, motor mechanical speed, and speed voltage and current pre-calibrated in the embodiment of the present application, the d-axis / q-axis current I inside the motor at the current moment can be obtained by using a linear difference algorithm. d ,I q , and according to the torque equation of PMSM, the motor output torque at the current moment (i.e., the first output torque) can be obtained, and its equation is expressed as:
[0062]
[0063] Where P is the number of motor poles, ψ is the permanent magnet flux of the motor, and L d , L q is the motor inductance. The above parameters are all known and obtainable.
[0064] In one embodiment of the present application, if the failed motor sensor is a rotor position sensor and the non-failed motor sensor is a three-phase current sensor, the output torque of the motor at the current moment is estimated based on the state parameters of the motor at the current moment, including: calculating the α-axis / β-axis current based on the three-phase current of the motor detected by the three-phase current sensor; determining the efficiency of the motor based on a correspondence table among the motor mechanical speed, target torque and torque-speed efficiency; and estimating the second output torque of the motor at the current moment based on the α-axis / β-axis voltage, α-axis / β-axis current and efficiency.
[0065] For PMSM, the efficiency under each working condition in the TN (torque-speed) characteristic curve can be considered to be certain. Therefore, if we know the efficiency of the motor at the current working point, we can calculate it through "total power consumption * efficiency". For a specific motor product, its efficiency at each working point can be obtained through bench calibration. The specific implementation method is as follows:
[0066] On the motor towing stand, keep the speed at ω 0 The motor controller adopts the torque control mode and gives different torque commands T at fixed torque intervals. cmd , record the bus voltage U under each instruction BB With bus current I BB , use the following formula to calculate the motor efficiency at this working point:
[0067]
[0068] The above data are recorded in Table 3. The reference table is shown below. Table 3 shows the T cmd / ω m —η m Correspondence example table.
[0069] Table 3
[0070]
[0071]
[0072] Furthermore, the embodiment of the present application can gradually increase the speed Δω until the maximum speed ω of the motor in the forward direction is reached. max , and repeat the above process at each speed to obtain the corresponding relationship table of the motor mechanical speed, target torque and torque speed efficiency at each motor working point; gradually reduce the speed Δω until the maximum negative speed of the motor is reached -ω max , and repeat the above process at each speed to obtain the corresponding relationship table of the motor mechanical speed, target torque and torque-speed efficiency at each motor working point.
[0073] Specifically, in the embodiment of the present application, if the failed motor sensor is a rotor position sensor, and the non-failed motor sensor is a three-phase current sensor, such as Figure 3 As shown, the embodiment of the present application can obtain the motor rotor angle θ and the motor mechanical speed ω through the state observer m The three-phase duty ratios of the motor, DutyU, DutyV, and DutyW, are obtained through the three-phase bridge driver chip, and the motor bus voltage U is synchronously collected. brdg , the motor three-phase voltage U is calculated by the following formula u , U v , U w .
[0074] U u =U brdg *DutyU
[0075] U v =U brdg *DutyV
[0076] U w =U brdg *DutyW
[0077] Furthermore, the α-axis / β-axis voltage in the α-axis / β-axis fixed coordinate system is obtained using the Clark transformation of equal amplitude, as shown in the following formula:
[0078]
[0079] Furthermore, the embodiment of the present application can obtain the motor three-phase current I by analyzing the motor three-phase current sensor. u ,I v ,I w , the α-axis / β-axis current in the α-axis / β-axis fixed coordinate system is obtained using the Clark transformation of equal amplitude as follows:
[0080]
[0081] When the motor is actually running, the current state parameters of the motor can be obtained through internal variables, including the current motor torque command T cmd and motor speed ω m , by comparing the correspondence table of the pre-calibrated motor mechanical speed, target torque and torque-speed efficiency, and using the linear difference algorithm, the efficiency η of the motor at the current moment can be obtained. m The motor output torque at the current moment (i.e., the second output torque) can be obtained by calculating the motor output torque according to the motor α-axis / β-axis voltage and α-axis / β-axis current formula. The formula is expressed as:
[0082]
[0083] In one embodiment of the present application, the output torque of the motor at the current moment is estimated according to the state parameters of the motor at the current moment, including: calculating the motor mechanical speed according to the motor rotor angle detected by the rotor position sensor; calculating the α-axis / β-axis current according to the motor three-phase current detected by the three-phase current sensor, obtaining the d-axis / q-axis current of the motor based on the correspondence table of the d-axis / q-axis voltage, the motor mechanical speed and the speed voltage and current, and estimating the first output torque of the motor at the current moment according to the d-axis / q-axis current; determining the efficiency of the motor according to the correspondence table of the motor mechanical speed, the target torque and the torque-speed efficiency, and estimating the second output torque of the motor at the current moment according to the α-axis / β-axis voltage, the α-axis / β-axis current and the efficiency; and estimating the third output torque of the motor at the current moment according to the first output torque and the second output torque.
[0084] It is understandable that when the motor controller has no sensor failure, it is a normal working condition. The embodiment of the present application can use the traditional FOC to achieve precise torque control, and can obtain the correct motor rotor angle and motor three-phase current through the motor rotor angle and motor three-phase current sensor. At this time, the output torque obtained is averaged to obtain a more accurate estimated torque. The specific implementation method is as follows:
[0085] 1) Motor rotor angle collection and speed calculation
[0086] The position sensor can be used to analyze the motor rotor electrical angle signal θ. Further, the motor mechanical speed ω can be obtained by the difference method or moving average method. m .
[0087] 2) Motor three-phase current collection
[0088] The three-phase current I of the motor is obtained by analyzing the three-phase current sensor of the motor u ,Iv ,I w .
[0089] 3) Based on the torque estimation method under the condition of motor rotor position sensor failure, the first output torque T of the motor at the current moment is obtained a .
[0090] 4) Based on the torque estimation method under the condition of motor three-phase current sensor failure, the second output torque T of the motor at the current moment is obtained b .
[0091] 5) Calculate T a and T b The average of is taken as the final output torque (third output torque) of the motor at the current moment. The formula is as follows:
[0092]
[0093] The following embodiments of the present application can be combined with Figure 4 The output torque estimation of the motor at the current moment when the motor three-phase current sensor fails and the motor rotor position sensor fails is described in detail, including the following steps:
[0094] Step 1: Identify the non-failed motor sensors among the three-phase current sensors and rotor position sensors;
[0095] Step 2: When the three-phase current sensor of the motor fails, the motor output torque A is estimated by switching to the predictive current control mode, that is, by using information such as the motor rotor angle, motor duty cycle, phase voltage, etc., combined with the pre-calibrated speed-voltage-current correspondence.
[0096] Step 3: When the motor rotor position sensor fails, the motor controller cannot accurately know the rotor position and switches to the sensorless control mode through the state observer. That is, the motor output torque B is estimated by using information such as motor speed, duty cycle, phase current, etc. combined with the torque-speed-efficiency table.
[0097] Step 4: In the absence of sensor failure, the torque estimated under failure conditions is averaged to obtain the motor output torque C to improve the accuracy and reliability of torque estimation.
[0098] In summary, according to the torque estimation method of the embodiment of the present application, non-failed motor sensors among the three-phase current sensor and the rotor position sensor are identified, and based on the detection parameters of the non-failed motor sensors, the motor controller can accurately estimate the motor output torque under the adverse condition of failure of any sensor, thereby maintaining the stable operation of the system, and can obtain a more accurate torque estimation value when none of the sensors fail.
[0099] Figure 5 It is a structural schematic diagram of a torque estimation device provided in an embodiment of the present application.
[0100] For example, Figure 5 As shown, the apparatus may include: an identification module 100 , a determination module 200 and an estimation module 300 .
[0101] Among them, the identification module 100 is used to identify the non-failed motor sensors among the three-phase current sensors and the rotor position sensors; the determination module 200 is used to determine the state parameters of the motor at the current moment according to the detection parameters of the non-failed motor sensors; the estimation module 300 is used to estimate the output torque of the motor at the current moment according to the state parameters of the motor at the current moment.
[0102] In one embodiment of the present application, when the non-failed motor sensor is a rotor position sensor, the state parameters of the motor at the current moment include the motor rotor angle and d-axis / q-axis voltage detected by the rotor position sensor.
[0103] In one embodiment of the present application, the estimation module 300 is further used to calculate the motor mechanical speed based on the motor rotor angle detected by the rotor position sensor; obtain the d-axis / q-axis current of the motor based on the correspondence table of the d-axis / q-axis voltage, the motor mechanical speed and the speed voltage and current; and estimate the first output torque of the motor at the current moment based on the d-axis / q-axis current.
[0104] In one embodiment of the present application, when the non-failure motor sensor is a three-phase current sensor, the state parameters of the motor at the current moment include the three-phase current of the motor detected by the three-phase current sensor, the α-axis / β-axis voltage, the motor mechanical speed obtained based on the state observer, and the target torque of the motor.
[0105] In one embodiment of the present application, the estimation module 300 is further used to calculate the α-axis / β-axis current based on the three-phase current of the motor detected by the three-phase current sensor; determine the efficiency of the motor based on the correspondence table of the motor mechanical speed, target torque and torque-speed efficiency; and estimate the second output torque of the motor at the current moment based on the α-axis / β-axis voltage, α-axis / β current and efficiency.
[0106] In one embodiment of the present application, if the non-failed motor sensors are a three-phase current sensor and a rotor position sensor, the state parameters of the motor at the current moment include the motor rotor angle detected by the rotor position sensor, the d-axis / q-axis voltage, the motor three-phase current detected by the three-phase current sensor, the α-axis / β-axis voltage and the target torque of the motor.
[0107] In one embodiment of the present application, the estimation module 300 is further used to calculate the mechanical speed of the motor based on the motor rotor angle detected by the rotor position sensor; calculate the α-axis / β-axis current based on the three-phase current of the motor detected by the three-phase current sensor, obtain the d-axis / q-axis current of the motor based on the correspondence table of the d-axis / q-axis voltage, the motor mechanical speed and the speed voltage and current, and estimate the first output torque of the motor at the current moment based on the d-axis / q-axis current; determine the efficiency of the motor based on the correspondence table of the motor mechanical speed, the target torque and the torque-speed efficiency, and estimate the second output torque of the motor at the current moment based on the α-axis / β-axis voltage, the α-axis / β-axis current and the efficiency; and estimate the third output torque of the motor at the current moment based on the first output torque and the second output torque.
[0108] In summary, according to the torque estimation device of the embodiment of the present application, non-failed motor sensors among the three-phase current sensors and the rotor position sensors are identified, and based on the detection parameters of the non-failed motor sensors, the motor controller can accurately estimate the motor output torque under the adverse condition of failure of any sensor, thereby maintaining the stable operation of the system, and can obtain a more accurate torque estimation value when none of the sensors fail.
[0109] Figure 6 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. The vehicle may include:
[0110] A memory 601 , a processor 602 , and a computer program stored in the memory 601 and executable on the processor 602 .
[0111] When the processor 602 executes the program, the torque estimation method provided in the above embodiment is implemented.
[0112] Furthermore, the vehicle also includes:
[0113] The communication interface 603 is used for communication between the memory 601 and the processor 602 .
[0114] The memory 601 is used to store computer programs that can be executed on the processor 602 .
[0115] The memory 601 may include a high-speed RAM (Random Access Memory) memory, and may also include a non-volatile memory, such as at least one disk memory.
[0116] If the memory 601, the processor 602 and the communication interface 603 are implemented independently, the communication interface 603, the memory 601 and the processor 602 can be connected to each other through a bus and communicate with each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0117] Optionally, in a specific implementation, if the memory 601, the processor 602 and the communication interface 603 are integrated on a chip, the memory 601, the processor 602 and the communication interface 603 can communicate with each other through an internal interface.
[0118] The processor 602 may be a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.
[0119] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, which implements the above torque estimation method when executed by a processor.
[0120] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0121] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0122] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A torque estimation method, characterized in that: The method comprises: Identify non-failed motor sensors among three-phase current sensors and rotor position sensors; Determine the state parameters of the motor at the current moment according to the detection parameters of the non-failed motor sensor; The output torque of the motor at the current moment is estimated according to the state parameters of the motor at the current moment.
2. The method according to claim 1, characterized in that If the non-failure motor sensor is a rotor position sensor, the state parameters of the motor at the current moment include the motor rotor angle and d-axis / q-axis voltage detected by the rotor position sensor.
3. The method according to claim 2, characterized in that The estimating the output torque of the motor at the current moment according to the state parameters of the motor at the current moment comprises: Calculating the motor mechanical speed according to the motor rotor angle detected by the rotor position sensor; Based on the correspondence table of the d-axis / q-axis voltage, the motor mechanical speed and the speed voltage and current, obtaining the d-axis / q-axis current of the motor; The first output torque of the motor at the current moment is estimated according to the d-axis / q-axis current.
4. The method according to claim 1, characterized in that: If the non-failure motor sensor is a three-phase current sensor, the state parameters of the motor at the current moment include the motor three-phase current detected by the three-phase current sensor, the α-axis / β-axis voltage, the motor mechanical speed obtained based on the state observer, and the target torque of the motor.
5. The method according to claim 4, characterized in that The estimating the output torque of the motor at the current moment according to the state parameters of the motor at the current moment comprises: Calculate the α-axis / β-axis current according to the three-phase current of the motor detected by the three-phase current sensor; Determining the efficiency of the motor according to a correspondence table of the motor mechanical speed, the target torque and the torque-speed efficiency; A second output torque of the motor at a current moment is estimated according to the α-axis / β-axis voltage, the α-axis / β-axis current and the efficiency.
6. The method according to claim 1, characterized in that If the non-failure motor sensors are a three-phase current sensor and a rotor position sensor, the state parameters of the motor at the current moment include the motor rotor angle detected by the rotor position sensor, the d-axis / q-axis voltage, the motor three-phase current detected by the three-phase current sensor, the α-axis / β-axis voltage and the target torque of the motor.
7. The method according to claim 6, characterized in that The estimating the output torque of the motor at the current moment according to the state parameters of the motor at the current moment comprises: Calculating the motor mechanical speed according to the motor rotor angle detected by the rotor position sensor; Calculate the α-axis / β-axis current according to the three-phase current of the motor detected by the three-phase current sensor; Based on the correspondence table of the d-axis / q-axis voltage, the motor mechanical speed and the speed voltage and current, the d-axis / q-axis current of the motor is obtained, and the first output torque of the motor at the current moment is estimated according to the d-axis / q-axis current; Determine the efficiency of the motor according to the correspondence table of the motor mechanical speed, the target torque and the torque-speed efficiency, and estimate the second output torque of the motor at the current moment according to the α-axis / β-axis voltage, the α-axis / β-axis current and the efficiency; A third output torque of the motor at a current moment is estimated according to the first output torque and the second output torque.
8. A torque estimation device, characterized in that: The device comprises: An identification module, used for identifying a non-failed motor sensor among a three-phase current sensor and a rotor position sensor; A determination module, used to determine the state parameters of the motor at the current moment according to the detection parameters of the non-failed motor sensor; The estimation module is used to estimate the output torque of the motor at the current moment according to the state parameters of the motor at the current moment.
9. A vehicle, characterized in that: The vehicle comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the torque estimation method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the torque estimation method according to any one of claims 1 to 7 is implemented.
