Methods for estimating motor output torque, vehicles, and storage media.

By calculating the stator back EMF and stator flux linkage, and combining the stator quadrature-axis inductance and rotor pole pair number, the problems of strong parameter dependence and insufficient real-time performance in motor output torque estimation are solved, achieving high-precision and fast torque estimation, and adapting to the control requirements of motors under complex operating conditions.

CN121492694BActive Publication Date: 2026-11-10HYCET TRANSMISSION SYST (JIANGSU) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202512054736.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-12-31
Publication Date
2026-11-10
Estimated Expiration
2045-12-31

AI Technical Summary

Technical Problem

Existing methods for estimating motor output torque suffer from problems such as strong parameter dependence, insufficient real-time performance, and weak noise immunity. In particular, when motor parameters change dynamically, the estimation accuracy decreases.

Method used

By acquiring the phase current, first given current, and second given current of the vehicle motor, the stator back EMF is calculated. Combined with the stator quadrature-axis inductance and the number of rotor pole pairs, the stator flux linkage is obtained by integrating using a preset integration strategy. Finally, the output torque is calculated, reducing the dependence on the stator and rotor parameters of the motor and improving the estimation robustness.

Benefits of technology

It significantly improves the accuracy and response speed of motor output torque estimation, meets the requirements of vehicle scenarios for high precision, low latency, and strong robustness, and is suitable for motor control under complex working conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121492694B_ABST
    Figure CN121492694B_ABST
Patent Text Reader

Abstract

This application provides a method for estimating the output torque of a motor, a vehicle, and a storage medium, applied in the field of motor torque. The method involves acquiring the phase current, a first given current, and a second given current of the vehicle motor; calculating the stator back electromotive force (EMF) of the vehicle motor based on the phase current, the first given current, and the second given current; integrating the stator back EMF based on a preset integration strategy to obtain the stator flux linkage of the vehicle motor; acquiring the stator quadrature-axis inductance and the number of rotor pole pairs of the vehicle motor; and calculating the output torque of the vehicle motor based on the stator quadrature-axis inductance, the number of rotor pole pairs, the stator flux linkage, and the phase current. This method improves estimation accuracy and response speed, and enhances estimation robustness by acquiring the phase current, the first given current, and the second given current of the vehicle motor, calculating the stator back EMF, integrating it using a preset integration strategy to obtain the stator flux linkage, and combining the stator quadrature-axis inductance and the number of rotor pole pairs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of motor torque, and more specifically, to a method for estimating motor output torque, a vehicle, and a computer-readable storage medium in the field of motor torque. Background Technology

[0002] In the fields of industrial automation and new energy vehicles, the electric motor, as the core power unit, plays a crucial role in the accurate real-time estimation of its output torque, which is essential for system control performance, energy consumption optimization, and fault diagnosis.

[0003] In related technologies, motor torque is estimated based on the torque equation of the motor physical model. However, the motor parameters of this method change dynamically with environmental factors such as temperature and load, which leads to a decrease in estimation accuracy. It also has problems such as strong parameter dependence, insufficient real-time performance, and weak noise resistance. Summary of the Invention

[0004] This application provides a method for estimating the output torque of a motor, a vehicle, and a computer-readable storage medium. The method calculates the stator back EMF by acquiring the phase current, a first given current, and a second given current of the vehicle motor, integrates the stator flux linkage through a preset integration strategy, and calculates the output torque of the vehicle motor by combining the stator quadrature-axis inductance and the number of rotor pole pairs. This improves the estimation accuracy and response speed, and enhances the estimation robustness.

[0005] In a first aspect, a method for estimating the output torque of a motor is provided. The method includes: acquiring the phase current, a first given current, and a second given current of the vehicle motor; calculating the stator back EMF of the vehicle motor based on the phase current, the first given current, and the second given current; performing an integral calculation on the stator back EMF based on a preset integration strategy to obtain the stator flux linkage of the vehicle motor; acquiring the stator quadrature-axis inductance and the number of rotor pole pairs of the vehicle motor, and calculating the output torque of the vehicle motor based on the stator quadrature-axis inductance, the number of rotor pole pairs, the stator flux linkage, and the phase current.

[0006] The above technical solutions reduce the dependence of torque estimation on motor stator and rotor parameters, significantly improve estimation robustness, enhance estimation accuracy under complex working conditions, optimize estimation performance across the entire frequency and load range, achieve millisecond-level response, and effectively solve the problems of strong parameter dependence, insufficient real-time performance, and weak noise resistance in related technical solutions. They meet the high-precision, low-latency, and robust requirements of real-time estimation of motor output torque in vehicle scenarios.

[0007] In conjunction with the first aspect, in some possible implementations, the phase current includes a first phase current, a second phase current, and a third phase current. Based on the phase current, a first given current, and a second given current, the stator back EMF of the vehicle motor is calculated, including: performing a first transformation on the first phase current, the second phase current, and the third phase current to obtain the α-axis current and the β-axis current; calculating the first given current and the second given current to obtain the α-axis voltage and the β-axis voltage; and calculating the stator back EMF of the vehicle motor based on the α-axis current, the β-axis current, the α-axis voltage, and the β-axis voltage.

[0008] The above technical solution clarifies that phase currents include first-phase, second-phase, and third-phase currents. First, a transformation is performed on the three-phase currents, converting the complex three-phase current parameters into easily calculated and analyzed α-axis and β-axis currents, effectively simplifying the processing difficulty of the current dimension. Simultaneously, targeted calculations are performed for the first and second given currents to obtain the corresponding α-axis and β-axis voltages, achieving adaptation of voltage parameters to a unified two-phase coordinate system. Finally, the stator back EMF is derived and calculated based on the α-axis and β-axis currents and voltages in the two-phase coordinate system. This not only makes the calculation logic of the stator back EMF clearer and the data correlation stronger, but also avoids interference and errors that may occur when directly calculating three-phase parameters, significantly improving the accuracy and stability of the stator back EMF calculation. This technical solution provides standardized, high-quality intermediate parameters for the integral calculation of stator flux linkage and the estimation of motor output torque, ensuring the coherence and reliability of the entire torque estimation process, thereby improving the accuracy and practicality of the motor output torque estimation results and better meeting the needs for precise torque parameter control in vehicle motor control scenarios.

[0009] In combination with the first aspect and the above implementation methods, in some possible implementation methods, the calculation of the first given current and the second given current to obtain the α-axis voltage and the β-axis voltage includes: converting the first given current and the second given current into a first given voltage and a second given voltage based on a preset conversion strategy; and performing a second transformation on the first given voltage and the second given voltage to obtain the α-axis voltage and the β-axis voltage.

[0010] The above technical solution enables the precise conversion of a first given current and a second given current into their corresponding first given voltage and second given voltage based on a preset conversion strategy. This achieves a reasonable adaptation and conversion from current commands to voltage signals, ensuring the consistency of electrical parameter types and providing a foundation for further processing in the voltage dimension. A second transformation is then performed on the converted first and second given voltages, successfully transforming them into α-axis and β-axis voltages in a two-phase coordinate system. This places the voltage parameters, α-axis current, and β-axis current within a unified two-phase analysis system, effectively eliminating computational interference caused by parameter mismatches in different coordinate systems. This technical solution not only clarifies the complete conversion path from given current to target voltage parameters, making the voltage parameter processing logic more systematic and operable, but also improves the calculation accuracy of α-axis and β-axis voltages through a standardized conversion and transformation process, avoiding the accumulation of errors that may occur when directly using the original given current for calculation. Meanwhile, voltage and current parameters in a unified coordinate system can participate more efficiently in the derivation of stator back EMF, further optimizing the calculation efficiency and accuracy of stator back EMF. This provides high-quality and highly adaptable voltage parameters for subsequent stator flux calculation and motor output torque estimation, ensuring the consistency, stability, and reliability of the entire torque estimation method. This better meets the stringent requirements for torque estimation accuracy and real-time performance in vehicle motor control.

[0011] In combination with the first aspect and the above implementation methods, in some possible implementation methods, the stator back EMF includes the α-axis stator back EMF and the β-axis stator back EMF. The stator back EMF of the vehicle motor is calculated based on the α-axis current, β-axis current, α-axis voltage, and β-axis voltage, including: obtaining the stator resistance of the vehicle motor; calculating a first voltage based on the α-axis current and stator resistance, and calculating a second voltage based on the β-axis current and stator resistance; subtracting the first voltage from the α-axis voltage to obtain the α-axis stator back EMF, and subtracting the second voltage from the β-axis voltage to obtain the β-axis stator back EMF.

[0012] The above technical solution clearly defines the stator back EMF as having two dimensions: α-axis and β-axis. First, the stator resistance of the vehicle motor is obtained as an electrical parameter. Then, the first and second voltages are accurately calculated by multiplying the α-axis current and β-axis current with the stator resistance, respectively. This clearly quantifies the voltage loss generated by the current across the stator resistance, eliminating resistance loss interference for the accurate derivation of the stator back EMF. Subsequently, the calculation logic of subtracting the first voltage from the α-axis voltage and subtracting the second voltage from the β-axis voltage is used to directly separate the α-axis and β-axis stator back EMFs, making the calculation process more targeted and scientific, and effectively avoiding calculation errors caused by neglecting resistance loss. This technical solution continues the parameter processing logic under the two-phase coordinate system, ensuring the consistency and coherence of the parameter system in the entire torque estimation process. By accurately quantifying and eliminating the influence of resistance loss, it significantly improves the calculation accuracy and reliability of stator back EMF, providing high-fidelity input parameters for subsequent stator flux linkage integral calculation based on stator back EMF. This provides a key guarantee for the accuracy of motor output torque estimation results, better adapting to the needs of vehicle motors for precise control of torque parameters under different operating conditions, and enhancing the practicality and robustness of the entire estimation method.

[0013] Combining the first aspect and the above implementation methods, in some possible implementation methods, the stator back EMF is integrally calculated based on a preset integration strategy to obtain the stator flux linkage of the vehicle motor, including: acquiring the rotor angular velocity of the vehicle motor, and calculating the rotor electric angular velocity of the vehicle motor based on the rotor angular velocity and the number of rotor pole pairs, wherein the rotor angular velocity is acquired by a position sensor; and the stator back EMF is integrally calculated based on the rotor electric angular velocity to obtain the stator flux linkage of the vehicle motor.

[0014] The above technical solution clarifies the specific implementation path of the preset integration strategy. First, the rotor angular velocity of the vehicle motor is collected using a position sensor. Then, the rotor electrical angular velocity is calculated by combining the rotor pole pair number, ensuring the accuracy and real-time performance of the key angular velocity parameters required for integration calculation. This provides a reliable rate benchmark for the integration process. Subsequently, the stator back EMF is integrated based on this rotor electrical angular velocity, achieving a scientific conversion from back EMF to stator flux linkage. This avoids problems such as integration drift and error accumulation that may occur when using a general integration method. This technical solution continues the parameter processing logic in a two-phase coordinate system, ensuring the continuity and consistency of the parameter system throughout the torque estimation process. By deeply binding the rotor electrical angular velocity with the integration calculation, the derivation process of the stator flux linkage is made more closely aligned with the actual electrical characteristics of the motor operation, significantly improving the calculation accuracy and stability of the stator flux linkage. Simultaneously, the accurate stator flux linkage serves as the input parameter for subsequent output torque calculation, providing crucial support for the accuracy of the final torque estimation result. This effectively adapts to the torque estimation needs of the vehicle motor under different speeds and load conditions, enhancing the robustness and engineering practicality of the entire estimation method.

[0015] In combination with the first aspect and the above implementation methods, in some possible implementation methods, obtaining the stator quadrature-axis inductance of the vehicle motor includes: performing a third transformation on the α-axis current and β-axis current to obtain the stator direct-axis current and stator quadrature-axis current of the vehicle motor; and obtaining the stator quadrature-axis inductance based on the stator direct-axis current and stator quadrature-axis current.

[0016] The above technical solution clarifies the path for obtaining the stator quadrature-axis inductance. First, a third transformation is performed on the obtained α-axis and β-axis currents, converting them from basic current parameters in the two-phase coordinate system to stator quadrature-axis current. This ensures the consistency and adaptability of the quadrature-axis current parameters with the overall estimation process, avoiding inductance acquisition deviations caused by parameter dimension mismatches. Then, the stator quadrature-axis inductance is obtained based on the transformed stator direct-axis and quadrature-axis currents, directly linking the inductance parameter acquisition to the real-time current state of the motor. This closely matches the actual operating characteristics of the motor, significantly improving the real-time performance and accuracy of the stator quadrature-axis inductance. This technical solution continues the parameter processing logic in the two-phase coordinate system, ensuring the consistency and smoothness of the entire torque estimation process. Through targeted current transformation and inductance matching, it avoids the errors caused by traditional fixed inductance values ​​that ignore changes in motor operating conditions, enabling the stator quadrature-axis inductance to dynamically adapt to different motor operating states. As a key parameter for subsequent output torque calculation, the accurate and real-time stator quadrature-axis inductance provides important support for the reliability of the final torque estimation result, enhances the adaptability and robustness of the entire estimation method to complex operating conditions of vehicle motors, and thus ensures the accuracy of torque estimation, better meeting the engineering requirements for dynamic and precise control of torque parameters in vehicle motor control.

[0017] Combining the first aspect and the above implementation methods, in some possible implementation methods, the output torque of the vehicle motor is calculated based on the stator quadrature-axis inductance, the number of rotor pole pairs, the stator flux linkage, and the phase current. This includes: calculating the amplitude based on the stator flux linkage, α-axis current, β-axis current, and stator quadrature-axis inductance to obtain a target intermediate value; and calculating the output torque of the vehicle motor based on the target intermediate value, the number of rotor pole pairs, and the stator quadrature-axis current.

[0018] The above technical solution clarifies the specific calculation logic of output torque. Based on stator flux linkage, α-axis current, β-axis current, and rotor pole pair number, targeted amplitude calculations are performed to obtain the target intermediate value. This achieves the integration and quantification of core electrical parameters, building a reliable intermediate bridge for the final torque calculation. Combining the target intermediate value, rotor pole pair number, and stator quadrature-axis current for torque derivation ensures that the torque calculation process deeply aligns with the electrical characteristics of motor operation. It maintains the parameter processing system in the two-phase coordinate system throughout the estimation process, guaranteeing the consistency and adaptability of parameter use and avoiding torque estimation errors caused by fragmented parameter calculations and unclear logic. This technical solution significantly improves the systematicity and accuracy of output torque calculation by integrating key parameters step by step and clarifying the calculation path. It ensures that the torque estimation results accurately reflect the actual operating state of the motor, providing high-quality torque data support for vehicle motor control. Simultaneously, it enhances the scientific nature and engineering operability of the entire estimation method, enabling it to better adapt to the vehicle's need for precise control of motor torque under different driving conditions, ensuring the stability and reliability of vehicle power output.

[0019] Combining the first aspect and the above implementation methods, in some possible implementation methods, the output torque of the vehicle motor is calculated based on the target intermediate value, the number of rotor pole pairs, and the stator quadrature axis current, including: obtaining preset parameters, wherein the preset parameters are multiplier values; multiplying the preset parameters by the number of rotor pole pairs, the stator quadrature axis current, and the target intermediate value to obtain the output torque of the vehicle motor.

[0020] The above technical solution clarifies the calculation logic of output torque. First, it obtains preset parameters as multiplier values, providing a flexible and adjustable quantitative benchmark for torque calculation. This allows the estimation method to be adapted to vehicle motors of different types and operating conditions, enhancing the method's versatility and adaptability. Then, by multiplying the preset parameters, rotor pole pairs, stator quadrature shaft current, and target intermediate values, the core electrical parameters are precisely integrated, continuing the coherent parameter processing system described above. This ensures the consistency and rigor of the calculation logic. The simple and direct multiplication operation simplifies the final torque derivation process, reduces calculation complexity, and improves calculation efficiency. This technical solution effectively avoids the logical confusion or error amplification problems that may occur when multiple parameters are fused, significantly improving the accuracy and stability of the motor output torque estimation results. It ensures that the estimated value can truly reflect the actual output capability of the motor, providing reliable torque data support for the precise control of the vehicle motor. At the same time, its flexible parameter configuration and efficient calculation logic make the entire estimation method more operable in engineering applications, better meeting the precise control needs of motor power output in different driving scenarios, and ensuring the smoothness and reliability of vehicle driving.

[0021] In a second 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 any of the above-mentioned methods for estimating the output torque of a motor.

[0022] According to the vehicle of the present application embodiment, when the processor executes the program, it implements any of the above-mentioned methods for estimating the motor output torque. Based on the above-mentioned methods for estimating the motor output torque, the estimation accuracy and response speed are improved, and the estimation robustness is enhanced.

[0023] Thirdly, a computer-readable storage medium is provided having a computer program stored thereon, which is executed by a processor to implement any of the above-mentioned methods for estimating the output torque of a motor.

[0024] According to the embodiments of this application, a computer-readable storage medium storing a computer program thereon implements any of the above-described methods for estimating motor output torque when executed by a processor. Based on the above-described methods for estimating motor output torque, the estimation accuracy and response speed are improved, and the estimation robustness is enhanced. Attached Figure Description

[0025] Figure 1 This is a flowchart illustrating a method for estimating motor output torque according to some embodiments of this application; Figure 2 A flowchart illustrating a method for estimating motor output torque according to a specific embodiment of this application; Figure 3This is a block diagram of a vehicle according to some embodiments of this application. Detailed Implementation

[0026] The technical solutions in this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

[0027] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting 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 that feature.

[0028] The method for estimating the output torque of the motor, the vehicle, and the computer-readable storage medium of this application are described in detail below with reference to the accompanying drawings.

[0029] In the fields of industrial automation and new energy vehicles, the electric motor, as the core power unit, plays a crucial role in the accurate real-time estimation of its output torque, which is essential for system control performance, energy consumption optimization, and fault diagnosis.

[0030] In related technologies, motor torque is estimated based on the torque equation of the motor physical model. However, this method requires accurate identification of many motor parameters (such as stator inductance, rotor flux linkage, etc.), but motor parameters change dynamically with environmental factors such as temperature and load, which leads to a decrease in estimation accuracy.

[0031] In related technologies, motor torque is also estimated by sensor measurement. However, this method has disadvantages such as high cost (high-precision sensors are expensive), complex structure (requires additional installation), susceptibility to electromagnetic interference, and cannot achieve offline real-time measurement on actual vehicles.

[0032] Furthermore, digital signal processing methods in related technologies, such as Fast Fourier Transform and Kalman Filtering, have high computational complexity, making them difficult to meet the requirements of high-speed sampling and real-time control, especially in high-dynamic scenarios such as electric vehicles and servo systems. Traditional integration algorithms are sensitive to measurement noise, easily leading to integration drift, affecting estimation stability, and exhibiting weak noise resistance.

[0033] To address at least one of the aforementioned technical problems, this application proposes a method for estimating the output torque of a motor. By acquiring the phase current, a first given current, and a second given current of the vehicle motor, the stator back EMF is calculated. The stator flux linkage is obtained through integration using a preset integration strategy. Combined with the stator quadrature-axis inductance and the number of rotor pole pairs, the output torque of the vehicle motor is calculated, thereby improving the estimation accuracy and response speed, and enhancing the estimation robustness.

[0034] Figure 1 This is a schematic flowchart illustrating a method for estimating the output torque of a motor provided in an embodiment of this application.

[0035] For example, such as Figure 1 As shown, the method includes: S1, obtain the phase current, first given current and second given current of the vehicle motor.

[0036] Specifically, to obtain the phase current of the vehicle motor by targeting the real-time current of the three-phase stator windings, a high-precision Hall effect current sensor can be used. This sensor is connected in series between the inverter output and the stator winding input of the motor controller to directly capture the current signals flowing into the A, B, and C phase windings. , and In practical applications, only data collection is required. , The two-phase current is based on Kirchhoff's current law and is completed through software calculation. This simplifies hardware design while ensuring data integrity.

[0037] The first given current is the motor stator direct-axis current command. The second given current is the stator quadrature-axis current command of the motor. The process of obtaining the first and second given currents is the process by which the vehicle dynamically generates control commands based on power demand. First, the vehicle controller, combining driver input, vehicle driving status, and power distribution strategy, calculates the target output torque command for the motor, i.e., the output torque at the motor rotor shaft end. Subsequently, the torque and current mapping table, calibrated offline and stored in the controller memory, is used to... Convert to d-axis and q-axis current commands and ,in Used for magnetic field strength control. Directly linked to torque output, the mapping table calibration fully matches the motor's reluctance characteristics and efficiency optimization requirements. The generated commands undergo amplitude limiting to avoid exceeding the current carrying capacity limits of the motor windings and inverter. Simultaneously, dynamic corrections are made based on the motor's real-time temperature and speed to ensure the safety and adaptability of the commands. Ultimately, and The data is transmitted to the vector control module in a standardized digital format via the controller's internal bus, and the update frequency is synchronized with the phase current sampling frequency to ensure the time consistency between control commands and acquired data.

[0038] S2, based on the phase current, the first given current and the second given current, calculates the stator back EMF of the vehicle motor.

[0039] Specifically, for phase current, first collect the three-phase currents A, B, and C. , and The current is converted into two-phase stationary coordinate systems (α and β) by the Clarke transformation. , This enables the dimensionality reduction transformation of three-phase current into two-phase static current, eliminates the coupling relationship of three-phase current, and simplifies subsequent calculations.

[0040] For the first given current and the second given current and First, the conversion from current command to voltage command is achieved through proportional-integral regulation. With actual direct-axis current deviation, With actual cross-axis current The deviations are input to the proportional-integral controller, which outputs voltage commands in the d and q two-phase rotating coordinate systems. , Then, based on the inverse Parker transform, and using the rotor electrical angle θ collected by the rotary transformer as a basis, the... , Convert to α and β axis voltage commands , After the phase current is converted , After conversion with a given current , It is unified in the α and β stationary coordinate system to meet the requirements of computational compatibility.

[0041] After standardizing the phase current, the first given current, and the second given current, the α-axis and β-axis components of the stator back EMF are obtained through electrical quantity difference calculation. First, the inherent resistance R of the three-phase stator windings is obtained. This parameter is a known parameter of the motor itself. Although it changes slightly during motor operation, its impact on the back EMF calculation is far less than that of the voltage and current signals, and a fixed value calibrated offline can be used. Then, the voltage drop across the stator resistance on the α-axis and β-axis is calculated separately. The α-axis voltage drop is... The β-axis pressure drop is Finally, following the logic that back EMF = voltage command - resistance voltage drop, the α-axis stator back EMF is calculated respectively. β-axis stator back electromotive force .

[0042] S3, the stator back EMF is integrated based on a preset integration strategy to obtain the stator flux linkage of the vehicle motor.

[0043] Specifically, the stator back EMF signal inevitably has a DC bias due to factors such as current acquisition deviation and electromagnetic interference. A pure integration algorithm will lead to the accumulation of initial integration error, and the DC bias does not decay over time, ultimately causing distortion in the stator flux estimation. Therefore, a preset integration strategy is selected to perform integration calculation on the stator back EMF. The preset integration strategy can be a generalized integrator. As a digital filter that can simultaneously extract the signal fundamental frequency and its quadrature components, the generalized integrator has the characteristics of adjustable bandwidth and small phase delay, which can effectively suppress the influence of noise and DC bias.

[0044] Meanwhile, considering the fixed-step operation environment of the motor controller based on a microcontroller, the continuous domain transfer function of the generalized integrator needs to be pre-distorted by bilinear transformation. This process introduces frequency pre-correction to make the continuous domain integral model accurately match the frequency characteristics after discretization, eliminates frequency distortion in the discretization process, and ensures that the integral operation is stably executed at all frequencies of the digital controller.

[0045] The specific implementation process of integral calculation is as follows: First, the rotor mechanical angular velocity is collected by the motor's built-in position sensor, i.e., the rotary transformer. Combined with the known number of rotor pole pairs of the motor, the rotor electrical angular velocity is calculated. This parameter directly reflects the real-time operating status of the motor and is key to achieving speed adaptation. Subsequently, the previously calculated α-axis stator back EMF... β-axis stator back electromotive force Two identical generalized integrator channels are input separately. The integrator internally uses the gain coefficient K and the rotor's electrical angular velocity as inputs. The coordinated adjustment dynamically matches the frequency characteristics of the back EMF signal. When the motor speed varies within the range of -18000rpm to 18000rpm, Real-time updates and adaptive adjustments to the integrator bandwidth ensure accurate extraction of the back EMF fundamental frequency component at different speeds, suppressing high-frequency noise and DC bias, and preventing integration drift. This is achieved through a generalized integrator... , By integrating, the α-axis component of the stator flux can be obtained in reverse. and β-axis components This enables precise conversion of back electromotive force into magnetic flux.

[0046] The detailed implementation of the entire integration process fully guarantees the real-time performance, accuracy, and robustness of flux linkage estimation. At the hardware level, the integration parameters of the generalized integrator are stored in the controller's memory through offline calibration. The calibration process combines full-speed, full-load operating data of the motor to ensure that the parameter combination can cover various operating scenarios within a temperature range of -40℃ to 150℃. At the software execution level, the update frequency of the integration calculation is synchronized with the acquisition frequency of the back EMF signal and coordinated with the vector control cycle of the motor controller to meet the real-time requirement of millisecond-level torque estimation. Simultaneously, the speed adaptive mechanism of the generalized integrator achieves dynamic adjustment through closed-loop monitoring of the rotor's electrical angular velocity. When the motor accelerates, decelerates, or experiences sudden load changes causing speed variations, [the mechanism adapts accordingly]. The signal is fed back to the integrator in real time, and the integration bandwidth and gain are adjusted instantly to ensure that the integration result is not affected by speed fluctuations and to maintain the stability of flux estimation.

[0047] In addition, the preset integration strategy can also be set by those skilled in the art according to the actual situation, and no specific restrictions are imposed here.

[0048] S4: Obtain the stator quadrature-axis inductance and rotor pole pair number of the vehicle motor, and calculate the output torque of the vehicle motor based on the stator quadrature-axis inductance, rotor pole pair number, stator flux linkage and phase current.

[0049] Specifically, the number of rotor pole pairs P is an inherent structural parameter of the permanent magnet synchronous motor, which is determined by the number of rotor magnetic poles during motor design and manufacturing. For example, the number of pole pairs P of an 8-pole motor is 4. It is a known fixed parameter that does not need to be measured. It only needs to be pre-stored in the memory during the initialization of the motor controller and can be directly retrieved during operation.

[0050] Stator quadrature axis inductor The data can be obtained using a dynamic adaptation scheme that combines offline calibration with real-time retrieval. Before the motor leaves the factory, bench tests are conducted to cover full speed and full load conditions, collecting data on different direct-axis currents. and cross-axis current Combination Actual measured values, establish - - The three-dimensional calibration dataset is generated and stored in the controller memory. During actual motor operation, the previously obtained α-axis current is first converted using a Parker transformation. β-axis current Convert to dq axis current , Then based on real time , The corresponding value is retrieved from the calibration dataset using a lookup table interpolation algorithm. Value, this method solves both This addresses the dynamic changes in current magnitude and cross-saturation effect, while avoiding the need for real-time measurement. The complexity.

[0051] In calculating the output torque of a vehicle motor, the target intermediate value is first calculated. The core of this intermediate value is to eliminate the direct-axis inductance, which is difficult to obtain accurately in traditional methods, through calculations of stator flux linkage, phase current conversion, and stator quadrature-axis inductance. and rotor flux Two parameters. The specific calculation process for the target intermediate value is as follows: The previously obtained α-axis stator flux linkage... and β-axis stator flux Subtract the product of the stator quadrature-axis inductance and the corresponding axis current respectively to obtain the elimination After the influence of the magnetic flux components, the amplitude of these two components is calculated, that is, the target intermediate value is obtained by using the square root formula. This effectively avoids key unknown parameters and greatly improves the computational robustness.

[0052] The specific method for calculating the torque synthesis is as follows: retrieve the pre-stored rotor pole pair number P, and combine it with the real-time acquired stator quadrature-axis current. The target intermediate value is calculated as torque = 1.5 × P × The formula for multiplying the target intermediate value is used to obtain the motor output torque. Wherein, 1.5 is the fixed multiplier coefficient derived from the equivalent transformation of three-phase current in the vector control of permanent magnet synchronous motor.

[0053] The calculation of the output torque of the vehicle motor relies solely on the stator quadrature axis inductance. A dynamic parameter avoids the problems associated with direct-axis inductors in related technical methods. and rotor flux The dependence on volatile parameters reduces the impact of parameter changes on estimation accuracy. The calculation process involves only basic arithmetic operations and amplitude calculation, resulting in low computational complexity and meeting the real-time requirements of millisecond-level estimation. The real-time retrieval mechanism adapts to the dynamic changes in motor operating conditions. Combined with accurate stator flux and phase current data, it ensures that the torque estimation error is controlled within ±3%, which meets the high dynamic and high precision control requirements of vehicles and provides reliable torque data for control performance optimization, energy consumption reduction and fault diagnosis.

[0054] This embodiment significantly reduces the dependence of torque estimation on dynamic parameters such as motor direct-axis inductance and rotor flux linkage, which are easily affected by operating conditions, by optimizing the core input signal acquisition method, accurately calculating the stator back EMF based on coordinate transformation and resistance voltage drop elimination, extracting flux linkage using a speed-adaptive generalized integrator, and using a simplified torque calculation model that relies only on the stator quadrature-axis inductance. This significantly improves the estimation robustness. Simultaneously, thanks to high-frequency signal acquisition, low-complexity computation, and discretization processing using pre-distortion bilinear transform, it meets the millisecond-level real-time response requirements and can adapt to complex operating conditions. It effectively suppresses integral zero drift and electromagnetic interference, controlling the torque estimation error within ±3%, simplifying the system structure, reducing costs, and providing high-precision torque data for motor control performance optimization, energy consumption optimization, and fault diagnosis.

[0055] In some embodiments of this application, the phase current includes a first phase current, a second phase current, and a third phase current. The stator back EMF of the vehicle motor is calculated based on the phase current, a first given current, and a second given current, including: performing a first transformation on the first phase current, the second phase current, and the third phase current to obtain an α-axis current and a β-axis current; calculating the first given current and the second given current to obtain an α-axis voltage and a β-axis voltage; and calculating the stator back EMF of the vehicle motor based on the α-axis current, the β-axis current, the α-axis voltage, and the β-axis voltage.

[0056] Specifically, the phase current includes the first phase current. Second phase current and the third phase current This refers to the real-time current of the three-phase stator windings A, B, and C of the permanent magnet synchronous motor. The first and second given currents are the direct-axis commands for the stator current. and cross axis command This is the core control command generated based on power demand. It performs a first transformation on the first-phase current, second-phase current, and third-phase current. This first transformation refers to the Clarke transformation, and the specific formula is:

[0057] in, , These are the α-axis current and β-axis current obtained after the first transformation.

[0058] The α-axis voltage is obtained by calculating the first and second given currents. and β-axis voltage Based on the α-axis current, β-axis current, α-axis voltage, and β-axis voltage, the stator back EMF of the vehicle motor is calculated. Specifically, the inherent resistance R of the three-phase stator windings is first obtained (this parameter is a known parameter of the motor itself; although it varies slightly with temperature, its influence is much smaller than that of the voltage and current signals, and a fixed value calibrated offline can be used). Then, according to Ohm's law, the voltage drop across the α-axis and β-axis is calculated respectively, i.e., the α-axis voltage drop is... The β-axis pressure drop is Finally, following the logic that back EMF = voltage command - resistance voltage drop, the stator back EMF of the vehicle motor is calculated.

[0059] This embodiment further refines the step-by-step implementation process of stator back EMF by clarifying the Clarke transformation of phase current, the proportional-integral adjustment and Parker inverse transformation of given current to voltage command, and the back EMF calculation logic combined with stator resistance voltage drop elimination. It ensures that all electrical quantities involved in the calculation are unified in the α and β two-phase stationary coordinate system, eliminating the calculation errors caused by three-phase current coupling and coordinate system mismatch. All transformations and calculations adopt the basic mathematical model, which has high calculation efficiency and low latency, adapts to millisecond-level estimation requirements, and ensures the robustness and accuracy of the entire torque estimation method. At the same time, no additional hardware equipment is required, which takes into account both practicality and economy.

[0060] In some embodiments of this application, calculating a first given current and a second given current to obtain an α-axis voltage and a β-axis voltage includes: converting the first given current and the second given current into a first given voltage and a second given voltage based on a preset conversion strategy; and performing a second transformation on the first given voltage and the second given voltage to obtain an α-axis voltage and a β-axis voltage.

[0061] Specifically, based on the vector control logic of the permanent magnet synchronous motor, the first given current is... With actual direct-axis current Deviation, second given current With actual cross-axis current The deviations are input into a preset conversion strategy, which can employ a proportional-integral controller to eliminate current deviations through proportional-integral adjustment, and output the first given voltage in the d and q two-phase rotating coordinate system. Second given voltage This step is the conversion of current command to voltage command, ensuring that the voltage command can accurately respond to the current control requirements.

[0062] Then, a second transformation is performed on the first and second given voltages. This second transformation can employ the Parker inverse transformation, using the rotor electrical angle θ collected by the rotary transformer as the core parameter. , Voltage converted to α and β two-phase stationary coordinate system , The specific formula for the Park inverse transform is:

[0063] This transformation realizes the conversion of voltage in a rotating coordinate system to voltage in a stationary coordinate system, ultimately enabling... , Compared with the results obtained through Clarke transform , Being in the same coordinate system satisfies the compatibility requirements for back electromotive force calculation.

[0064] In addition, the preset conversion strategy can be set by those skilled in the art according to the actual situation, and no specific restrictions are imposed here.

[0065] This embodiment refines the complete conversion chain from the first given current and the second given current to the α-axis voltage and β-axis voltage through a preset conversion strategy and a second transformation. This quickly eliminates the deviation between the current command and the actual current, ensuring that the generated d / q-axis voltage command accurately responds to the power control requirements. It also unifies the coordinate system of the voltage signal and the transformed α / β-axis current, avoiding calculation errors caused by coordinate system mismatch. Furthermore, the two-step conversion has low computational complexity and fast response speed, meeting the real-time requirements of millisecond-level estimation, and requires no additional hardware or complex logic. This ensures the stability and accuracy of the voltage signal, enhancing the robustness and practicality of the entire torque estimation method.

[0066] In some embodiments of this application, the stator back EMF includes α-axis stator back EMF and β-axis stator back EMF. Calculating the stator back EMF of the vehicle motor based on the α-axis current, β-axis current, α-axis voltage, and β-axis voltage includes: obtaining the stator resistance of the vehicle motor; calculating a first voltage based on the α-axis current and stator resistance, and calculating a second voltage based on the β-axis current and stator resistance; subtracting the first voltage from the α-axis voltage to obtain the α-axis stator back EMF, and subtracting the second voltage from the β-axis voltage to obtain the β-axis stator back EMF.

[0067] Specifically, the stator back EMF includes the α-axis stator back EMF. and β-axis stator back electromotive force First, obtain the stator resistance R of the vehicle motor. This parameter is an inherent electrical parameter of the three-phase stator windings of the permanent magnet synchronous motor. In practice, R is obtained through offline calibration via bench testing before the motor leaves the factory. Under standard temperature conditions, the stator winding resistance value is accurately measured using the DC resistance measurement method. Considering the slight influence of temperature on resistance, a temperature-resistance correction coefficient can be simultaneously calibrated and stored in the controller's memory. During actual motor operation, the controller can use the correction coefficient to fine-tune the initially calibrated R based on the stator winding temperature collected by the temperature sensor, ensuring that the resistance parameter matches the real-time operating conditions. However, the voltage component introduced by R is relative to the α and β axis voltages. , The proportion is extremely small, and even without real-time correction, it will not significantly affect the accuracy of back potential calculation.

[0068] The first voltage is calculated based on the α-axis current and the stator resistance. The first voltage is... The second voltage is calculated based on the β-axis current and stator resistance. The α-axis stator back EMF is obtained by subtracting the first voltage from the α-axis voltage, and the β-axis stator back EMF is obtained by subtracting the second voltage from the β-axis voltage. The calculation formula is as follows: ,

[0069] in, For the α-axis stator back electromotive force, This is the back electromotive force of the β-axis stator.

[0070] This embodiment clearly defines the α-axis and β-axis components of the stator back EMF and accurately calculates the resistance voltage drop corresponding to the α-axis and β-axis currents based on Ohm's law. The calculation process only involves basic multiplication and subtraction operations, with low computational complexity and fast response speed, which is suitable for the real-time requirements of millisecond-level estimation. Moreover, it does not require additional complex algorithms or hardware, thus ensuring the authenticity and accuracy of the stator back EMF.

[0071] In some embodiments of this application, the stator back EMF is integrally calculated based on a preset integration strategy to obtain the stator flux linkage of the vehicle motor, including: acquiring the rotor angular velocity of the vehicle motor, and calculating the rotor electric angular velocity of the vehicle motor based on the rotor angular velocity and the number of rotor pole pairs, wherein the rotor angular velocity is acquired by a position sensor; and the stator back EMF is integrally calculated based on the rotor electric angular velocity to obtain the stator flux linkage of the vehicle motor.

[0072] Specifically, the mechanical angular velocity of the motor rotor is collected through a position sensor (rotor transformer). The sensor directly outputs the rotor angle signal. The controller can obtain the mechanical angular velocity by differentiating the angle signal. Combined with the known number of rotor pole pairs P of the motor, the integral core parameters are calculated according to the following formula. The specific formula is as follows:

[0073] in, The frequency that directly reflects the changes in the electromagnetic signal of the motor is the basis for ensuring that the integrator works accurately at different speeds.

[0074] The preset integration strategy can employ a speed-adaptive generalized integrator. The core of integrating the stator back EMF based on the rotor's electrical angular velocity lies in the application and discretization of the generalized integrator. The generalized integrator is a digital filter that can simultaneously extract the signal's fundamental frequency and its orthogonal components. It features adjustable bandwidth and low phase delay, effectively suppressing DC bias and high-frequency noise in the back EMF. Considering the fixed-step operation environment of the motor controller based on a microcontroller, the continuous-domain transfer function of the generalized integrator needs to be discretized using a pre-distortion bilinear transform. By introducing frequency pre-correction, the continuous-domain integration model is precisely matched with the discretized frequency characteristics, eliminating frequency distortion during discretization and ensuring stable execution of the integration operation in the digital controller.

[0075] In actual calculations, the α-axis stator back electromotive force is... and β-axis stator back electromotive force Two independent generalized integrator channels are input separately. The integrator internally uses the gain coefficient K and the rotor electrical angular velocity as inputs. The coordinated adjustment dynamically matches the frequency characteristics of the back EMF signal. When the motor speed varies within the range of -18000rpm to 18000rpm, The integrator bandwidth is adaptively adjusted in real time to always extract the back EMF fundamental frequency component.

[0076] The core theoretical basis for integrals is: +

[0077] in For differential operators, , For the stator α and β axis flux linkages, the relationship between the back electromotive force and the flux linkage can be obtained by transforming the formula: , Therefore, for , Integrating in reverse yields the magnetic flux linkage, i.e.: ,

[0078] Generalized integrators, through the application of... , The integral of the output stator α-axis flux linkage and β-axis flux The entire integration process adapts to the full speed range through a speed adaptive mechanism, adapts to the digital controller environment through a pre-distortion bilinear transformation, and suppresses noise and zero drift through generalized integration characteristics, thus solving the core defects of traditional integration algorithms.

[0079] This embodiment relies on the signal acquisition and pole pair conversion of the rotary transformer to obtain the rotor electrical angular velocity, which reflects the electromagnetic frequency of the motor in real time. Utilizing the adjustable bandwidth and small phase delay of the generalized integrator, it effectively suppresses DC bias and high-frequency noise in the stator back EMF, solving the zero-drift problem of traditional pure integrators. The pre-distortion bilinear transform adapts to the fixed-step digital operating environment of the motor controller, eliminating frequency distortion during discretization and ensuring the stability of the integral model. Simultaneously, the integrator achieves adaptive speed adjustment through the rotor electrical angular velocity, adapting to the full speed range and improving the estimation accuracy of the stator flux linkage. The entire integration process boasts high computational efficiency and fast response speed, meeting millisecond-level real-time requirements.

[0080] In some embodiments of this application, obtaining the stator quadrature-axis inductance of a vehicle motor includes: performing a third transformation on the α-axis current and β-axis current to obtain the stator direct-axis current and stator quadrature-axis current of the vehicle motor; and obtaining the stator quadrature-axis inductance based on the stator direct-axis current and stator quadrature-axis current.

[0081] Specifically, for the α-axis current and β-axis current A third transformation, employing the Parker transformation, is performed to obtain the stator direct-axis current of the vehicle motor. and stator cross-axis current The transformation formula is:

[0082] Where θ is the rotor electrical angle.

[0083] Stator quadrature axis inductor It is not a fixed parameter; its value varies with the stator direct-axis current. and stator cross-axis current The magnitude of the variation, and the influence of the stator's cross-axis saturation effect, cannot be directly obtained through real-time measurement. Therefore, in practice, it needs to be carried out in two steps. The first step is the offline calibration stage, in which bench tests are conducted before the motor leaves the factory to cover the entire operating range, setting different... and The combination involves measuring the corresponding operating conditions using professional testing equipment. Actual value, establish - - The three-dimensional calibration dataset is generated and stored in the motor controller's memory. The second step is the real-time retrieval stage. During actual motor operation, the controller first obtains the real-time data through Parker transformation. and Then, using these two current values ​​as indexes, a lookup table interpolation algorithm is employed to quickly match the corresponding values ​​from the three-dimensional calibration dataset. Value. For example, if real-time , If it falls exactly on the calibration data point, then the corresponding data will be retrieved directly. If the value lies between two calibration data points, an accurate result can be obtained through linear interpolation. Set the value to ensure that the parameter is fully adapted to the current operating conditions.

[0084] This embodiment converts the α / β axis current into the d / q axis current. The conversion process relies on the rotor electrical angle collected by the rotary transformer to ensure the accuracy and real-time performance of the current conversion. At the same time, considering the dynamic change of the stator quadrature axis inductance with the d / q axis current and the cross saturation effect, an offline bench calibration is used to establish a three-dimensional dataset and then use real-time table lookup and interpolation to retrieve the data. This avoids the complexity and high cost of real-time measurement of the stator quadrature axis inductance, and allows the retrieved stator quadrature axis inductance to be adapted to the current operating conditions, effectively solving the estimation deviation problem caused by traditional fixed parameter values.

[0085] In some embodiments of this application, the output torque of the vehicle motor is calculated based on the stator quadrature-axis inductance, the number of rotor pole pairs, the stator flux linkage, and the phase current. This includes: calculating the amplitude based on the stator flux linkage, α-axis current, β-axis current, and stator quadrature-axis inductance to obtain a target intermediate value; and calculating the output torque of the vehicle motor based on the target intermediate value, the number of rotor pole pairs, and the stator quadrature-axis current.

[0086] Specifically, the core of obtaining the target intermediate value is to calculate the amplitude based on the stator flux linkage, α-axis current, β-axis current, and stator quadrature-axis inductance, thereby eliminating the difficult-to-measure direct-axis inductance in traditional methods through amplitude calculation. and rotor flux linkage parameters The target median is This parameter is the key bridge connecting stator flux linkage and torque, and its calculation relies entirely on the acquired electrical quantities. The calculation process involves calling the stator α-axis flux linkage obtained through integration. and stator β-axis flux α-axis current and β-axis current and stator quadrature axis inductance Then calculate the magnetic flux linkage and... × The difference between the corresponding shaft currents, i.e. and The purpose of this step is to eliminate Effects on magnetic flux linkage, reduction and and The relevant flux linkage components. Finally, the magnitude of the two differences is calculated, and the target median value is obtained by applying the formula for the sum of squares and the square root. The formula for calculating the target median value is:

[0087] in, For the stator α-axis flux linkage, For stator β-axis flux linkage, For the α-axis current, For β-axis current, This refers to the stator quadrature-axis inductance. In actual implementation, the controller rapidly performs squaring, summing, and square root operations through its hardware processing unit. The calculation process involves only basic arithmetic operations, resulting in a fast response time that meets millisecond-level estimation requirements and successfully eliminates [the inductance]. and Two difficult-to-measure parameters that are susceptible to operating conditions significantly improve computational robustness.

[0088] The core of torque synthesis is to perform coordinated calculations with the target intermediate value, stator quadrature-axis current, and rotor pole pair number to obtain the output torque of the vehicle motor. .

[0089] This embodiment accurately calculates the motor output torque through two core operations. The first step uses stator flux linkage, α / β axis current, and stator quadrature axis inductance to calculate the amplitude and obtain the target intermediate value. This successfully eliminates the direct axis inductance and rotor flux linkage parameters, which are difficult to obtain accurately and are easily affected by operating conditions. This significantly reduces the dependence on complex motor parameters and effectively avoids estimation deviations caused by the dynamic changes of these parameters. The second step combines stator quadrature axis current, rotor pole pair number, and the target intermediate value for collaborative calculation to synthesize the final torque. The entire calculation process involves only basic arithmetic operations, with low computational complexity and fast response speed, making it suitable for millisecond-level real-time estimation requirements.

[0090] In some embodiments of this application, the output torque of the vehicle motor is calculated based on the target intermediate value, the number of rotor pole pairs, and the stator quadrature axis current, including: obtaining preset parameters, wherein the preset parameters are multiplier values; multiplying the preset parameters by the number of rotor pole pairs, multiplying by the stator quadrature axis current, and multiplying by the target intermediate value to obtain the output torque of the vehicle motor.

[0091] Specifically, the preset parameters are fixed multiplier coefficients in the vector control of the permanent magnet synchronous motor. These preset parameters are not arbitrarily set variables, but rather fixed values ​​derived from the equivalent transformation of the motor's three-phase current. 1.5 is an equivalent coefficient generated during the transformation between the three-phase stationary coordinate system and the two-phase stationary coordinate system. It is a commonly used fixed value in the industry for calculating the torque of permanent magnet synchronous motors. Its derivation is based on the principle of equivalence between the active power of three-phase current and the active power of two-phase current.

[0092] The output torque of the vehicle motor is obtained by multiplying the preset parameters by the number of rotor pole pairs, the stator quadrature-axis current, and the target intermediate value. The formula for calculating the output torque of the vehicle motor is as follows:

[0093] in, This refers to the output torque of the vehicle's electric motor. Where is the stator quadrature-axis current, and P is the number of rotor pole pairs. In actual implementation, the controller sequentially retrieves the target intermediate value, P, ... Calculate the parameters first. , and then with The target intermediate values ​​are multiplied sequentially to obtain the final motor output torque. During this process, The target intermediate value is obtained through Park transform, and difficult-to-measure parameters are eliminated through amplitude calculation. By adapting to real-time operating conditions, all input parameters possess high precision and stability, ensuring the accuracy of torque calculation.

[0094] The pre-stored preset parameters in this embodiment simplify the calculation steps and reduce computational complexity. Multiplication operations can be executed quickly using the controller hardware, adapting to millisecond-level real-time estimation requirements. The stator quadrature-axis inductance adapts to the current operating conditions, the stator quadrature-axis current conversion is accurate, and the target intermediate value eliminates difficult-to-measure parameters, ensuring the accuracy and stability of torque calculation. This calculation method is highly consistent with the physical principles of motor electromagnetic torque, requiring no additional complex algorithms or hardware, and can be directly implemented in the controller. This further enhances the practicality and operability of torque estimation, providing a clear and reliable execution path for achieving the core objective of error control within ±3% and full-speed, full-load adaptability.

[0095] As a specific embodiment of this application, such as Figure 2 As shown, the method for estimating the output torque of this motor may include the following steps: S101, obtain the first phase current, second phase current, third phase current, first given current and second given current of the vehicle motor.

[0096] S102 performs a first transformation on the first phase current, the second phase current, and the third phase current to obtain the α-axis current and the β-axis current.

[0097] S103, based on a preset conversion strategy, converts the first given current and the second given current into the first given voltage and the second given voltage.

[0098] S104, perform a second transformation on the first given voltage and the second given voltage to obtain the α-axis voltage and the β-axis voltage.

[0099] S105: Obtain the stator resistance of the vehicle motor, calculate the first voltage based on the α-axis current and the stator resistance, and calculate the second voltage based on the β-axis current and the stator resistance.

[0100] S106, subtract the first voltage from the α-axis voltage to obtain the α-axis stator back EMF, and subtract the second voltage from the β-axis voltage to obtain the β-axis stator back EMF.

[0101] S107: Obtain the rotor angular velocity of the vehicle motor, and calculate the rotor electric angular velocity based on the rotor angular velocity and the number of rotor pole pairs.

[0102] S108, based on the rotor electric angular velocity, integrates the α-axis stator back EMF and β-axis stator back EMF to obtain the stator flux linkage of the vehicle motor.

[0103] S109 performs a third transformation on the α-axis current and β-axis current to obtain the stator direct-axis current and stator quadrature-axis current of the vehicle motor.

[0104] S110, the stator quadrature axis inductance is obtained based on the stator direct axis current and the stator quadrature axis current.

[0105] S111, the target intermediate value is obtained by calculating the amplitude based on the stator flux linkage, α-axis current, β-axis current and stator quadrature-axis inductance.

[0106] S112, obtain the preset parameters, multiply the preset parameters by the number of rotor pole pairs, the stator quadrature shaft current, and the target intermediate value to obtain the output torque of the vehicle motor.

[0107] Therefore, the method for estimating motor output torque proposed in this embodiment has the following technical advantages: (1) By constructing the motor stator voltage equation, the motor torque equation is transformed into an integral form, which greatly reduces the dependence of the torque estimation strategy on the motor stator and rotor parameters and improves the robustness of torque estimation.

[0108] (2) By monitoring the real-time speed of the motor in a closed loop, an adaptive gain adjustment mechanism for the speed is realized, ensuring the accuracy of torque estimation at different speeds.

[0109] (3) By designing a dynamic compensator with special discretization processing of the generalized integrator, the torque estimation accuracy across the entire frequency and load range is further improved.

[0110] In summary, the method for estimating the motor output torque according to the embodiments of this application obtains the phase current, a first given current, and a second given current of the vehicle motor. Based on the phase current, the first given current, and the second given current, the stator back EMF of the vehicle motor is calculated. The stator back EMF is integrated using a preset integration strategy to obtain the stator flux linkage of the vehicle motor. The stator quadrature-axis inductance and the number of rotor pole pairs of the vehicle motor are also obtained. Finally, the output torque of the vehicle motor is calculated based on the stator quadrature-axis inductance, the number of rotor pole pairs, the stator flux linkage, and the phase current. Therefore, this method improves estimation accuracy and response speed, and enhances estimation robustness by obtaining the phase current, the first given current, and the second given current of the vehicle motor, calculating the stator back EMF, integrating it using a preset integration strategy to obtain the stator flux linkage, and combining the stator quadrature-axis inductance and the number of rotor pole pairs.

[0111] Corresponding to the above embodiments, this application also proposes a vehicle.

[0112] Figure 3 This is a block diagram of a vehicle provided in an embodiment of this application. The vehicle 300 includes: a memory 310, a processor 320, and a computer program stored in the memory and executable on the processor. The processor executes the program to implement any of the above-described methods for estimating the output torque of the motor.

[0113] According to the vehicle of the present application embodiment, when the processor executes the program, it implements any of the above-mentioned methods for estimating the motor output torque. Based on the above-mentioned methods for estimating the motor output torque, the estimation accuracy and response speed are improved, and the estimation robustness is enhanced.

[0114] Corresponding to the above embodiments, this application also proposes a computer-readable storage medium.

[0115] The computer-readable storage medium of this application embodiment stores a computer program that, when executed by a processor, implements any of the above-described methods for estimating motor output torque.

[0116] According to the embodiments of this application, a computer-readable storage medium storing a computer program thereon implements any of the above-described methods for estimating motor output torque when executed by a processor. Based on the above-described methods for estimating motor output torque, the estimation accuracy and response speed are improved, and the estimation robustness is enhanced.

[0117] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0118] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0119] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.

Claims

1. A method for estimating the output torque of a motor, characterized in that, include: Obtain the first phase current, second phase current, third phase current, first given current, and second given current of the vehicle motor; The stator back EMF of the vehicle motor is calculated based on the first phase current, the second phase current, the third phase current, the first given current, and the second given current. The first given current is the direct-axis current command of the motor stator, and the second given current is the quadrature-axis current command of the motor stator. The stator back EMF is integrated based on a preset integration strategy to obtain the stator flux linkage of the vehicle motor. The stator quadrature-axis inductance and rotor pole pairs of the vehicle motor are obtained, and the output torque of the vehicle motor is calculated based on the stator quadrature-axis inductance, the rotor pole pairs, the stator flux linkage, and the first phase current, the second phase current, and the third phase current.

2. The method for estimating the output torque of a motor according to claim 1, characterized in that, The step of calculating the stator back EMF of the vehicle motor based on the first phase current, the second phase current, the third phase current, the first given current, and the second given current includes: The first phase current, the second phase current, and the third phase current are subjected to a first transformation to obtain the α-axis current and the β-axis current; The first given current and the second given current are calculated to obtain the α-axis voltage and the β-axis voltage; The stator back EMF of the vehicle motor is calculated based on the α-axis current, the β-axis current, the α-axis voltage, and the β-axis voltage.

3. The method for estimating the output torque of a motor according to claim 2, characterized in that, The calculation of the first given current and the second given current to obtain the α-axis voltage and the β-axis voltage includes: Based on a preset conversion strategy, the first given current and the second given current are converted into a first given voltage and a second given voltage; A second transformation is performed on the first given voltage and the second given voltage to obtain the α-axis voltage and the β-axis voltage.

4. The method for estimating the output torque of a motor according to claim 2, characterized in that, The stator back EMF includes the α-axis stator back EMF and the β-axis stator back EMF. The calculation of the stator back EMF of the vehicle motor based on the α-axis current, the β-axis current, the α-axis voltage, and the β-axis voltage includes: Obtain the stator resistance of the vehicle motor; The first voltage is calculated based on the α-axis current and the stator resistance, and the second voltage is calculated based on the β-axis current and the stator resistance. The α-axis stator back EMF is obtained by subtracting the first voltage from the α-axis voltage, and the β-axis stator back EMF is obtained by subtracting the second voltage from the β-axis voltage.

5. The method for estimating the output torque of a motor according to claim 2, characterized in that, The step of integrating the stator back EMF based on a preset integration strategy to obtain the stator flux linkage of the vehicle motor includes: The rotor angular velocity of the vehicle motor is obtained, and the rotor electric angular velocity of the vehicle motor is calculated based on the rotor angular velocity and the number of rotor pole pairs, wherein the rotor angular velocity is acquired by a position sensor; The stator back electromotive force is calculated by integrating the rotor electric angular velocity to obtain the stator flux linkage of the vehicle motor.

6. The method for estimating the output torque of a motor according to claim 2, characterized in that, The step of obtaining the stator quadrature-axis inductance of the vehicle motor includes: A third transformation is performed on the α-axis current and the β-axis current to obtain the stator direct-axis current and stator quadrature-axis current of the vehicle motor; The stator quadrature-axis inductance is obtained from the stator direct-axis current and the stator quadrature-axis current.

7. The method for estimating the output torque of a motor according to claim 6, characterized in that, The calculation of the vehicle motor's output torque based on the stator quadrature-axis inductance, the number of rotor pole pairs, the stator flux linkage, and the first phase current, second phase current, and third phase current includes: The amplitude is calculated based on the stator flux linkage, the α-axis current, the β-axis current, and the stator quadrature-axis inductance to obtain the target intermediate value; The output torque of the vehicle motor is calculated based on the target intermediate value, the number of rotor pole pairs, and the stator quadrature axis current.

8. The method for estimating the output torque of a motor according to claim 7, characterized in that, The step of calculating the output torque of the vehicle motor based on the target intermediate value, the number of rotor pole pairs, and the stator quadrature-axis current includes: Obtain preset parameters, where the preset parameters are multiplier values; The output torque of the vehicle motor is obtained by multiplying the preset parameters by the number of rotor pole pairs, the stator quadrature axis current, and the target intermediate value.

9. A vehicle, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the method for estimating the output torque of a motor as described in any one of claims 1-8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the method for estimating the motor output torque as described in any one of claims 1-8.

Citation Information

Patent Citations

  • Torque calculation method and device of permanent-magnet synchronous motor

    CN106712620A

  • Motor torque correction method and device, motor and vehicle

    CN107508503A