Vehicle torque estimation method and device

Through the method of calibrating parameters and weighted average in different motor speed ranges, combined with the regression model, the problem of insufficient motor torque estimation accuracy in the existing technology is solved, and higher torque estimation accuracy and accuracy are achieved.

CN118596873APending Publication Date: 2024-09-06DONGFENG ELECTRONICS TECH +1
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410701232.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

It is difficult to accurately estimate the motor torque at high speeds with the existing technology. Especially when the field weakening current is large, the motor parameter measurement accuracy is poor, resulting in the torque estimation accuracy failing to meet the OEM's 3% accuracy requirement.

Method used

By calibrating the motor parameters in the low motor speed section and the high motor speed section respectively, using the rotor flux linkage, d-axis inductance and q-axis inductance to estimate the torque, and performing a weighted average in the intermediate speed transition section, combined with the regression model to adjust the error, to achieve a better Accurate torque estimation.

Benefits of technology

It improves the accuracy of torque estimation, adapts to the characteristics of different speed ranges, enhances the estimation accuracy under high-speed and weak magnetic current conditions, and meets high-precision requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118596873A
    Figure CN118596873A
Patent Text Reader

Abstract

The invention discloses a vehicle torque estimation method and device, and relates to the technical field of motor control, and the vehicle torque estimation method comprises the steps: calibrating a rotor flux linkage, d-axis inductance and q-axis inductance in motor parameters at a set low motor rotating speed segment, so as to estimate the vehicle torque at the low motor rotating speed segment; in a set high motor rotating speed section, q-axis inductance in motor parameters is calibrated, a torque calculation factor related to rotor flux linkage is calculated according to the q-axis inductance and q-axis voltage fed back in real time, and vehicle torque under the high motor rotating speed section is estimated according to the torque calculation factor; and in a set intermediate rotating speed transition section, performing weighted average on the vehicle torque under the low motor rotating speed section and the vehicle torque under the high motor rotating speed section to estimate the vehicle torque under the intermediate rotating speed transition section. According to the method, the output torque of the new energy automobile motor can be accurately estimated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of motor control technology, and in particular to a vehicle torque estimation method and device. Background Art

[0002] With the continuous development of new energy vehicles, the safety of motors and electronic controls, which are the core of power, has also received a lot of attention. In particular, the concept of functional safety has been continuously deepened in recent years. Many OEMs (Original Equipment Manufacturers) have put forward many requirements for the functional safety of motors and electronic controls, especially the requirements for software functions are particularly stringent, which is mainly reflected in the execution and monitoring of torque. Some OEMs have put forward a 3% accuracy requirement for the estimated torque.

[0003] The existing torque estimation method mainly uses the electromagnetic torque equation of the motor to calculate the actual torque. The actual motor parameters are calculated or calibrated in advance, and the dq axis current is inferred using the actual current, and then the calculation is performed by entering the formula. Alternatively, the torque is calculated by calculating the electric power and using the currently measured speed and torque speed-power formula.

[0004] However, it is difficult to measure the motor parameters accurately with existing technologies, especially at high speeds and when the weak magnetic current is large. The rotor temperature rises quickly and differs greatly from the stator temperature. The measured parameters are no longer suitable for calculating torque. Estimating torque using power is also difficult, and efficiency issues under different working conditions must also be considered, so it is difficult to estimate the accuracy accurately. Summary of the invention

[0005] The present application provides a vehicle torque estimation method and device, which can estimate the output torque of a new energy vehicle motor more accurately.

[0006] In a first aspect, an embodiment of the present application provides a vehicle torque estimation method, the vehicle torque estimation method comprising:

[0007] In the set low motor speed range, the rotor flux, d-axis inductance and q-axis inductance in the motor parameters are calibrated to estimate the vehicle torque in the low motor speed range;

[0008] In a set high motor speed section, calibrate the q-axis inductance in the motor parameters, calculate the torque calculation factor related to the rotor flux according to the q-axis inductance and the q-axis voltage fed back in real time, and estimate the vehicle torque in the high motor speed section according to the torque calculation factor;

[0009] In the set intermediate speed transition section, a weighted average is performed on the vehicle torque in the low motor speed section and the vehicle torque in the high motor speed section to estimate the vehicle torque in the intermediate speed transition section.

[0010] In combination with the first aspect, in one implementation, in a set low motor speed section, calibrating the rotor flux, d-axis inductance, and q-axis inductance in the motor parameters to estimate the vehicle torque in the low motor speed section includes:

[0011] Test the relationship between motor stator temperature and rotor flux;

[0012] Based on the d-axis current and q-axis current allocated by the host computer, check and record the d-axis voltage and q-axis voltage fed back by the host computer, and calibrate the d-axis inductance and q-axis inductance corresponding to the d-axis current and q-axis current according to the size of the rotor flux, the relationship between the d-axis voltage and the d-axis inductance, and the relationship between the q-axis voltage and the q-axis inductance;

[0013] The vehicle torque at low motor speed range is estimated based on the relationship between the electromagnetic torque and the rotor flux, d-axis inductance and q-axis inductance.

[0014] In combination with the first aspect, in one implementation, the testing the relationship between the stator temperature and the rotor flux of the motor includes:

[0015] Install the motor on the dynamometer and run it at the set speed;

[0016] The d-axis current is set to 0, and is divided into multiple test points based on the maximum current, and the q-axis current is assigned a value using each test point;

[0017] Count the q-axis current, motor stator temperature and test torque at each test point;

[0018] According to the formula: Determine the relationship between the motor stator temperature and the rotor flux, where Te' is the test torque, Pn is the number of pole pairs, is the rotor flux, I q is the q-axis current.

[0019] In combination with the first aspect, in one implementation, the calibrating the d-axis inductance and the q-axis inductance corresponding to the d-axis current and the q-axis current according to the magnitude of the rotor flux, the relationship between the d-axis voltage and the d-axis inductance, and the relationship between the q-axis voltage and the q-axis inductance includes:

[0020] According to the formula: U d =-ω e *(L q *I q )and Determine the d-axis inductance and q-axis inductance corresponding to the d-axis current and q-axis current;

[0021] Among them, U d is the d-axis voltage, U q is the q-axis voltage, Id is the d-axis current, I q is the q-axis current, L d is the d-axis inductance, L q is the q-axis inductance, ω e is the electrical angular velocity, is the rotor flux.

[0022] In combination with the first aspect, in one implementation, in a set high motor speed section, calibrating the q-axis inductance in the motor parameters, calculating a torque calculation factor related to the rotor flux according to the q-axis inductance and the q-axis voltage fed back in real time, and estimating the vehicle torque in the high motor speed section according to the torque calculation factor, includes:

[0023] Based on the d-axis current and q-axis current allocated by the host computer, check and record the d-axis voltage and q-axis voltage fed back by the host computer;

[0024] According to the formula: U d =-ω e *(L q *I q ), determine the q-axis inductance;

[0025] Based on the formula: Convert to According to the q-axis inductance and the real-time feedback q-axis voltage, the torque calculation factor related to the rotor flux is calculated:

[0026] Calculation factors and formulas based on torque Estimating the vehicle torque Te in the high motor speed range;

[0027] Where Te is the vehicle torque, U d is the d-axis voltage, U q is the q-axis voltage, I d is the d-axis current, I q is the q-axis current, L d is the d-axis inductance, L q is the q-axis inductance, ω e is the electrical angular velocity, is the rotor flux.

[0028] In combination with the first aspect, in one implementation, the method further includes:

[0029] Performing regression calculation according to the d-axis current, the q-axis current, the current motor speed, the motor temperature, the estimated vehicle torque value, the measured vehicle torque value, and the estimated vehicle torque value and the measured vehicle torque value to obtain a torque error of the regression calculation;

[0030] The final vehicle torque is determined based on the sum of the estimated vehicle torque value and the torque error.

[0031] In a second aspect, a vehicle torque estimation device is provided, the vehicle torque estimation device comprising a calculation module, the calculation module being configured to:

[0032] In a set low motor speed range, the rotor flux, d-axis inductance and q-axis inductance in the motor parameters are calibrated to estimate the vehicle torque in the low motor speed range;

[0033] In a set high motor speed section, calibrate the q-axis inductance in the motor parameters, calculate the torque calculation factor related to the rotor flux according to the q-axis inductance and the q-axis voltage fed back in real time, and estimate the vehicle torque in the high motor speed section according to the torque calculation factor;

[0034] In the set intermediate speed transition section, a weighted average is performed on the vehicle torque in the low motor speed section and the vehicle torque in the high motor speed section to estimate the vehicle torque in the intermediate speed transition section.

[0035] In combination with the second aspect, in one implementation, the calculation module calibrates the rotor flux, d-axis inductance, and q-axis inductance in the motor parameters in a set low motor speed section to estimate the vehicle torque in the low motor speed section, including:

[0036] Test the relationship between motor stator temperature and rotor flux;

[0037] Based on the d-axis current and q-axis current allocated by the host computer, check and record the d-axis voltage and q-axis voltage fed back by the host computer, and calibrate the d-axis inductance and q-axis inductance corresponding to the d-axis current and q-axis current according to the size of the rotor flux, the relationship between the d-axis voltage and the d-axis inductance, and the relationship between the q-axis voltage and the q-axis inductance;

[0038] The vehicle torque at low motor speed range is estimated based on the relationship between the electromagnetic torque and the rotor flux, d-axis inductance and q-axis inductance.

[0039] In combination with the second aspect, in one implementation, the calculation module calibrates the q-axis inductance in the motor parameters in a set high motor speed section, calculates a torque calculation factor related to the rotor flux according to the q-axis inductance and the q-axis voltage fed back in real time, and estimates the vehicle torque in the high motor speed section according to the torque calculation factor, including:

[0040] Based on the d-axis current and q-axis current allocated by the host computer, check and record the d-axis voltage and q-axis voltage fed back by the host computer;

[0041] According to the formula: U d =-ω e *(L q *I q ), determine the q-axis inductance;

[0042] Based on the formula: Convert to According to the q-axis inductance and the real-time feedback q-axis voltage, the torque calculation factor related to the rotor flux is calculated:

[0043] Calculation factors and formulas based on torque Estimating the vehicle torque Te in the high motor speed range;

[0044] Where Te is the vehicle torque, U d is the d-axis voltage, U q is the q-axis voltage, I d is the d-axis current, I q is the q-axis current, L d is the d-axis inductance, L q is the q-axis inductance, ω e is the electrical angular velocity, is the rotor flux.

[0045] In conjunction with the second aspect, in one implementation, a regression module is further included, wherein the regression module is used to:

[0046] Performing regression calculation according to the d-axis current, the q-axis current, the current motor speed, the motor temperature, the estimated vehicle torque value, the measured vehicle torque value, and the estimated vehicle torque value and the measured vehicle torque value to obtain a torque error of the regression calculation;

[0047] The final vehicle torque is determined based on the sum of the estimated vehicle torque value and the torque error.

[0048] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:

[0049] The vehicle torque estimation method in the present application estimates the vehicle torque in the low motor speed section by calibrating the rotor flux, d-axis inductance and q-axis inductance in the motor parameters in the set low motor speed section; calibrating the q-axis inductance in the motor parameters in the set high motor speed section, calculating the torque calculation factor related to the rotor flux according to the q-axis inductance and the q-axis voltage fed back in real time, and estimating the vehicle torque in the high motor speed section according to the torque calculation factor; and in the set intermediate speed transition section, taking a weighted average of the vehicle torque in the low motor speed section and the vehicle torque in the high motor speed section to estimate the vehicle torque in the intermediate speed transition section.

[0050] Therefore, different estimation strategies are adopted for different speed segments to adapt to the characteristics of each speed segment, so as to avoid the change of motor parameters due to the increase of weak magnetic current, so as to improve the accuracy of the estimated torque. In addition, the regression model is used to estimate the error, which can further improve the estimation accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 This is a flow chart of an embodiment of a method for estimating vehicle torque of the present application;

[0052] Figure 2 This is a schematic diagram of functional modules of an embodiment of a vehicle torque estimation device of the present application. DETAILED DESCRIPTION

[0053] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0054] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The terms "first", "second" and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit "first", "second" and "third" to different types.

[0055] In the description of the embodiments of the present application, "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "for example" or "for example" is intended to present related concepts in a specific way.

[0056] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; the “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, 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” refers to two or more than two.

[0057] In some processes described in the embodiments of the present application, multiple operations or steps that appear in a specific order are included, but it should be understood that these operations or steps may not be executed in the order in which they appear in the embodiments of the present application or in parallel, and the sequence number of the operation is only used to distinguish the different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed in sequence or in parallel, and these operations or steps may be combined.

[0058] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0059] In a first aspect, an embodiment of the present application provides a vehicle torque estimation method.

[0060] In one embodiment, referring to Figure 1 , Figure 1 This is a flow chart of an embodiment of a method for estimating vehicle torque in the present application. Figure 1 As shown, the vehicle torque estimation method includes:

[0061] S1. In a set low motor speed range, calibrate the rotor flux, d-axis inductance, and q-axis inductance in the motor parameters to estimate the vehicle torque in the low motor speed range.

[0062] In this embodiment, the motor is installed on a dynamometer and the motor speed is set for testing. Different torque estimation strategies are used in low speed and high speed conditions, and a weighted average algorithm is used in the intermediate speed range to transition from low speed to high speed.

[0063] It is worth noting that the specific ranges of the low motor speed section, the high motor speed section and the intermediate speed transition section can be reasonably set as needed. For example, the range below 5000rpm can be set as the low motor speed section, the range above 6000rpm can be set as the high motor speed section, and the range between 5000 and 6000 can be set as the intermediate speed transition section.

[0064] Specifically, step S1 includes:

[0065] S11, test the relationship between the motor stator temperature and the rotor flux;

[0066] The rotor flux is generally negatively correlated with the rotor temperature, but generally only the temperature of the motor stator can be tested. There is a difference between the stator temperature and the rotor temperature. However, in the low-speed stage, the weak magnetic current is small and the rotor temperature will not change instantly, so the difference will not be very large. It can be approximately considered that there is a fixed temperature difference.

[0067] In specific implementation, step S11 includes:

[0068] S111, installing the motor on the dynamometer and running it at a set speed;

[0069] S112, setting the d-axis current to 0, and dividing the current into multiple test points based on the maximum current, and using each test point to assign a value to the q-axis current;

[0070] S113, counting the q-axis current, motor stator temperature and test torque at each test point;

[0071] S114, according to the formula: Determine the relationship between the motor stator temperature and the rotor flux, where Te' is the test torque, Pn is the number of pole pairs, is the rotor flux, I q is the q-axis current.

[0072] It is worth noting that the electromagnetic torque equation is: Because I d is 0, so it can be simplified to the formula in step S114. At this time, the formula Te' is used as a known quantity to calculate the rotor flux, not the final torque to be estimated.

[0073] S12, based on the d-axis current and q-axis current allocated by the host computer, check and record the d-axis voltage and q-axis voltage fed back by the host computer, and calibrate the d-axis inductance and q-axis inductance corresponding to the d-axis current and q-axis current according to the size of the rotor flux, the relationship between the d-axis voltage and the d-axis inductance, and the relationship between the q-axis voltage and the q-axis inductance;

[0074] Specifically, according to the formula: U d =-ω e *(L q *I q )and Determine the d-axis inductance and q-axis inductance corresponding to the d-axis current and q-axis current;

[0075] Among them, U d is the d-axis voltage, U q is the q-axis voltage, I d is the d-axis current, I q is the q-axis current, L d is the d-axis inductance, L q is the q-axis inductance, ω e is the electrical angular velocity, is the rotor flux.

[0076] S13, estimating the vehicle torque in the low motor speed range according to the relationship between the electromagnetic torque and the rotor flux, the d-axis inductance and the q-axis inductance.

[0077] Specifically, according to the electromagnetic torque equation: Estimate vehicle torque at low motor speeds.

[0078] S2. In a set high motor speed section, calibrate the q-axis inductance in the motor parameters, calculate the torque calculation factor related to the rotor flux according to the q-axis inductance and the real-time feedback q-axis voltage, and estimate the vehicle torque in the high motor speed section according to the torque calculation factor.

[0079] When the motor speed reaches high speed, weak magnetic processing may be performed, and the current will increase. At this time, the motor parameters such as magnetic flux will change, resulting in inaccurate estimated torque. For this reason, the present application proposes a new calculation method. Specifically, step S2 includes:

[0080] S21. Based on the d-axis current and q-axis current allocated by the host computer, check and record the d-axis voltage and q-axis voltage fed back by the host computer;

[0081] S22, according to the formula: U d =-ω e *(L q *I q ), determine the q-axis inductance;

[0082] S23, based on the formula: Convert to According to the q-axis inductance and the real-time feedback q-axis voltage, the torque calculation factor related to the rotor flux is calculated:

[0083] S24, calculation factors and formulas based on torque Estimating the vehicle torque Te in the high motor speed range;

[0084] Where Te is the vehicle torque, U d is the d-axis voltage, U q is the q-axis voltage, I d is the d-axis current, I q is the q-axis current, L d is the d-axis inductance, L q is the q-axis inductance, ω e is the electrical angular velocity, is the rotor flux.

[0085] Thus, by calculating the torque calculation factor, the problem of inaccurate torque caused by magnetic flux changes is avoided.

[0086] S3. In the set intermediate speed transition section, weighted average is performed on the vehicle torque in the low motor speed section and the vehicle torque in the high motor speed section to estimate the vehicle torque in the intermediate speed transition section.

[0087] After obtaining the vehicle torque in the low motor speed section and the vehicle torque in the high motor speed section, the vehicle torque in the intermediate speed transition section can be calculated by setting weight values.

[0088] In addition, after obtaining the torque in three different speed ranges, a regression calculation is performed based on the d-axis current, the q-axis current, the current motor speed, the motor temperature, the estimated vehicle torque value, the measured vehicle torque value, and the estimated vehicle torque value and the measured vehicle torque value to obtain the torque error of the regression calculation; then, the final vehicle torque is determined based on the sum of the estimated vehicle torque value and the torque error, so that more accurate estimation data can be obtained.

[0089] The following is a specific example to illustrate the above steps:

[0090] 1. Estimated torque at low speed

[0091] 1.1、Rotor flux test

[0092] a) Install the permanent magnet synchronous motor on the dynamometer and fix the motor at 0.8 times the rated speed.

[0093] b) Divide the maximum test current Imax into 10 points in equal proportion, so that we can know that the test points are [0.1*Imax, 0.2*Imax......., Imax], and set the internal over-temperature point at Tmax to ensure over-temperature protection.

[0094] c) First input Iq=0.1*Imax, count the Iq current, temperature value, and torque value at this time, transmit them to the computer through the host computer and form a table.

[0095] d) Repeat step C and change the current to Iq=0.2*Imax, and so on until all test points are tested;

[0096] e) At this time, 10 tables of data will be generated, as shown in Table 1 below:

[0097] Table 1: Calibrated temperature-torque-current-flux linkage

[0098] Temperature(℃) Torque(NM) Current (Iq) Magnetic Linkage (Wb) 28 0.005 10A ... ... ... ...

[0099] Since Id=0 is used here for control, that is, only Iq is assigned, the torque is only related to the magnetic flux and Iq current. The torque, Iq current and temperature information at this time are counted, and the formula is used The relationship between magnetic flux and temperature can be calculated.

[0100] 1.2 Calibration of AC and DC axis inductance

[0101] a) The controller turns on the low voltage and high voltage, and the dynamometer drives the motor to rotate forward (the motor speed is 30% of the peak speed);

[0102] b) Given the assigned Id and Iq current values ​​by the host computer, check and record the real-time values ​​of Ud and Uq fed back by the host computer in real time;

[0103] c) Based on formula U d =-ω e *(L q *I q )and As well as the feedback Ud and Uq values, we can solve the Ld and Lq values ​​corresponding to Id-Iq by making a set of two-variable linear equations.

[0104] d) Form a table with the data recorded in step c).

[0105] Table 2: Calibrated Id-Iq corresponding to Ld value

[0106] <![CDATA[i d (A)]]> <![CDATA[i q (A)]]> <![CDATA[L d (H)]]> ... ... ... ... ... ... ... ... ...

[0107] Table 3 The values ​​of Id-Iq corresponding to Lq obtained by calibration

[0108] <![CDATA[i d (A)]]> <![CDATA[i q (A)]]> <![CDATA[L q (H)]]> ... ... ... ... ... ... ... ... ...

[0109] Then, the torque can be calculated based on the rotor flux, Ld and Lq of the motor obtained above, that is, according to the formula to perform the calculation.

[0110] 2. Estimated torque at high speed

[0111] 2.1 Real-time calculation of torque calculation factor

[0112] According to the formula It can be seen that in order to calculate Te, it is necessary to know Iq and the torque calculation factor:

[0113] By obtaining these two parameters, the torque can be estimated under high-speed conditions.

[0114] It is worth noting that by After transformation, we can get:

[0115]

[0116] Thus we can calculate:

[0117]

[0118] Then, the real-time feedback Uq and the Lq obtained by looking up the Id-Iq current table can be used to calculate According to the formula The real-time torque can be calculated. The method for obtaining Lq can refer to the method in the above step 1.2, which will not be described in detail in this embodiment.

[0119] 3. Intermediate speed transition section

[0120] After calculating the real-time torque in the low-speed section and the real-time torque in the high-speed section, the torque estimation in the intermediate speed section is calculated using the weighted average method.

[0121] For example, if low_spd = 5000rpm, high_spd = 6000, low_spd-high_spd is 5000rpm-6000rpm. If the torque estimated in the high speed section is TrqEs_HighSpd, and the torque estimated in the low speed section is TrqEs_LowSpd, then the torque estimated in the intermediate speed section satisfies:

[0122] TrqEs_MidSpd=K1*TrqEs_LowSpd+K2*TrqEs_HighSpd

[0123] Divide the speed into 10 equal parts, as shown in the following table

[0124] Speed 5000 5100 5200 5300 5400 5500 5700 5800 5900 6000 6100 K1 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0

[0125] Among them, K2=1-K1, so the torque calculation in the intermediate speed range can be smoothed.

[0126] 4. Torque compensation

[0127] After completing the above three steps, perform a calibration test on the test bench, record the estimated torque value Tc and the test torque value Tm fed back by the test bench, as well as the difference between the test torque value and the estimated value Terr=Tm-Tc, as well as the given Id, Iq, current speed Spd, and motor temperature Tmotor, and summarize them into a table.

[0128] Id Iq Sd Tmotor Tm Tc Terr

[0129] Let X=[[Id,Iq,Spd,Tmotor]],y=[Terr]

[0130] The linear model in machine learning - the ridge regression model is used to perform regression calculations.

[0131] The ridge regression model calls the calculation code:

[0132] from sklearn import linear_model

[0133] reg=linear_model.Ridge(alpha=.5)

[0134] reg.fit(X,y)

[0135] We can get fun(x)

[0136] 5. Calculate real-time torque

[0137] The estimated torque is equal to the calculated torque plus the error calculated by the regression model:

[0138] T=Tc+fun(x)

[0139] At this point, the entire estimation process is completed.

[0140] To summarize, the vehicle torque estimation method in the present application estimates the vehicle torque in the low motor speed section by calibrating the rotor flux, d-axis inductance and q-axis inductance in the motor parameters in the set low motor speed section; calibrating the q-axis inductance in the motor parameters in the set high motor speed section, calculating the torque calculation factor related to the rotor flux based on the q-axis inductance and the real-time feedback q-axis voltage, and estimating the vehicle torque in the high motor speed section based on the torque calculation factor; and in the set intermediate speed transition section, taking a weighted average of the vehicle torque in the low motor speed section and the vehicle torque in the high motor speed section to estimate the vehicle torque in the intermediate speed transition section.

[0141] Therefore, different estimation strategies are adopted for different speed segments to adapt to the characteristics of each speed segment, so as to avoid the change of motor parameters due to the increase of weak magnetic current, so as to improve the accuracy of the estimated torque. In addition, the regression model is used to estimate the error, which can further improve the estimation accuracy.

[0142] In a second aspect, an embodiment of the present application also provides a vehicle torque estimation device.

[0143] In one embodiment, referring to Figure 2 , Figure 2 This is a functional module diagram of an embodiment of a vehicle torque estimation device of the present application. Figure 2 As shown, the vehicle torque estimation device includes a calculation module, and the calculation module is used to:

[0144] In the set low motor speed range, the rotor flux, d-axis inductance and q-axis inductance in the motor parameters are calibrated to estimate the vehicle torque in the low motor speed range;

[0145] In a set high motor speed section, calibrate the q-axis inductance in the motor parameters, calculate the torque calculation factor related to the rotor flux according to the q-axis inductance and the q-axis voltage fed back in real time, and estimate the vehicle torque in the high motor speed section according to the torque calculation factor;

[0146] In the set intermediate speed transition section, a weighted average is performed on the vehicle torque in the low motor speed section and the vehicle torque in the high motor speed section to estimate the vehicle torque in the intermediate speed transition section.

[0147] Further, in one embodiment, the calculation module calibrates the rotor flux, d-axis inductance and q-axis inductance in the motor parameters in the set low motor speed section to estimate the vehicle torque in the low motor speed section, including:

[0148] Test the relationship between motor stator temperature and rotor flux;

[0149] Based on the d-axis current and q-axis current allocated by the host computer, check and record the d-axis voltage and q-axis voltage fed back by the host computer, and calibrate the d-axis inductance and q-axis inductance corresponding to the d-axis current and q-axis current according to the size of the rotor flux, the relationship between the d-axis voltage and the d-axis inductance, and the relationship between the q-axis voltage and the q-axis inductance;

[0150] The vehicle torque at low motor speed range is estimated based on the relationship between the electromagnetic torque and the rotor flux, d-axis inductance and q-axis inductance.

[0151] Furthermore, in one embodiment, the calculation module tests the relationship between the motor stator temperature and the rotor flux, including:

[0152] When the motor is mounted on the dynamometer and is running at the set speed;

[0153] The d-axis current is set to 0, and is divided into multiple test points based on the maximum current, and the q-axis current is assigned a value using each test point;

[0154] Count the q-axis current, motor stator temperature and test torque at each test point;

[0155] According to the formula: Determine the relationship between the motor stator temperature and the rotor flux, where Te' is the test torque, Pn is the number of pole pairs, is the rotor flux, I q is the q-axis current.

[0156] Further, in one embodiment, the calculation module calibrates the d-axis inductance and the q-axis inductance corresponding to the d-axis current and the q-axis current according to the magnitude of the rotor flux, the relationship between the d-axis voltage and the d-axis inductance, and the relationship between the q-axis voltage and the q-axis inductance, including:

[0157] According to the formula: Ud =-ω e *(L q *I q )and Determine the d-axis inductance and q-axis inductance corresponding to the d-axis current and q-axis current;

[0158] Among them, U d is the d-axis voltage, U q is the q-axis voltage, I d is the d-axis current, I q is the q-axis current, L d is the d-axis inductance, L q is the q-axis inductance, ω e is the electrical angular velocity, is the rotor flux.

[0159] Further, in one embodiment, the calculation module calibrates the q-axis inductance in the motor parameters in a set high motor speed section, calculates a torque calculation factor related to the rotor flux according to the q-axis inductance and the q-axis voltage fed back in real time, and estimates the vehicle torque in the high motor speed section according to the torque calculation factor, including:

[0160] Based on the d-axis current and q-axis current allocated by the host computer, check and record the d-axis voltage and q-axis voltage fed back by the host computer;

[0161] According to the formula: U d =-ω e *(L q *I q ), determine the q-axis inductance;

[0162] Based on the formula: Convert to According to the q-axis inductance and the real-time feedback q-axis voltage, the torque calculation factor related to the rotor flux is calculated:

[0163] Calculation factors and formulas based on torque Estimating the vehicle torque Te in the high motor speed range;

[0164] Where Te is the vehicle torque, U d is the d-axis voltage, U q is the q-axis voltage, I d is the d-axis current, I q is the q-axis current, L d is the d-axis inductance, L q is the q-axis inductance, ω e is the electrical angular velocity, is the rotor flux.

[0165] Furthermore, in one embodiment, a regression module is also included, and the regression module is used to:

[0166] Performing regression calculation according to the d-axis current, the q-axis current, the current motor speed, the motor temperature, the estimated vehicle torque value, the measured vehicle torque value, and the estimated vehicle torque value and the measured vehicle torque value to obtain a torque error of the regression calculation;

[0167] The final vehicle torque is determined based on the sum of the estimated vehicle torque value and the torque error.

[0168] Among them, the functional implementation of each module in the above-mentioned vehicle torque estimation device corresponds to the various steps in the above-mentioned vehicle torque estimation method embodiment, and its functions and implementation processes are no longer repeated here.

[0169] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A vehicle torque estimation method, characterized in that: The vehicle torque estimation method comprises: In a set low motor speed range, the rotor flux, d-axis inductance and q-axis inductance in the motor parameters are calibrated to estimate the vehicle torque in the low motor speed range; In a set high motor speed section, calibrate the q-axis inductance in the motor parameters, calculate the torque calculation factor related to the rotor flux according to the q-axis inductance and the q-axis voltage fed back in real time, and estimate the vehicle torque in the high motor speed section according to the torque calculation factor; In the set intermediate speed transition section, a weighted average is performed on the vehicle torque in the low motor speed section and the vehicle torque in the high motor speed section to estimate the vehicle torque in the intermediate speed transition section.

2. The vehicle torque estimation method according to claim 1, characterized in that: The step of calibrating the rotor flux, d-axis inductance, and q-axis inductance in the motor parameters in the set low motor speed section to estimate the vehicle torque in the low motor speed section includes: Test the relationship between motor stator temperature and rotor flux; Based on the d-axis current and q-axis current allocated by the host computer, check and record the d-axis voltage and q-axis voltage fed back by the host computer, and calibrate the d-axis inductance and q-axis inductance corresponding to the d-axis current and q-axis current according to the size of the rotor flux, the relationship between the d-axis voltage and the d-axis inductance, and the relationship between the q-axis voltage and the q-axis inductance; The vehicle torque at low motor speed range is estimated based on the relationship between the electromagnetic torque and the rotor flux, d-axis inductance and q-axis inductance.

3. The vehicle torque estimation method according to claim 2, characterized in that: The test of the relationship between the motor stator temperature and the rotor flux linkage includes: Install the motor on the dynamometer and run it at the set speed; Set the d-axis current to 0 and divide it into multiple test points based on the maximum current. Assign a value to the q-axis current; Count the q-axis current, motor stator temperature and test torque at each test point; According to the formula: Determine the relationship between the motor stator temperature and the rotor flux, where Te' is the test torque, Pn is the number of pole pairs, is the rotor flux, I q is the q-axis current.

4. The vehicle torque estimation method according to claim 2, characterized in that: The calibrating of the d-axis inductance and the q-axis inductance corresponding to the d-axis current and the q-axis current according to the magnitude of the rotor flux, the relationship between the d-axis voltage and the d-axis inductance, and the relationship between the q-axis voltage and the q-axis inductance includes: According to the formula: U d =-ω e *(L q *I q )and Determine the d-axis inductance and q-axis inductance corresponding to the d-axis current and q-axis current; Among them, U d is the d-axis voltage, U q is the q-axis voltage, I d is the d-axis current, I q is the q-axis current, L d is the d-axis inductance, L q is the q-axis inductance, ω e is the electrical angular velocity, is the rotor flux.

5. The vehicle torque estimation method according to claim 1, characterized in that: The method includes calibrating the q-axis inductance in the motor parameters in the set high motor speed section, calculating the torque calculation factor related to the rotor flux according to the q-axis inductance and the q-axis voltage fed back in real time, and estimating the vehicle torque in the high motor speed section according to the torque calculation factor, including: Based on the d-axis current and q-axis current allocated by the host computer, check and record the d-axis voltage and q-axis voltage fed back by the host computer; According to the formula: U d =-ω e *(L q *I q ), determine the q-axis inductance; Based on the formula: Convert to According to the q-axis inductance and the real-time feedback q-axis voltage, the torque calculation factor related to the rotor flux is calculated: Calculation factors and formulas based on torque Estimating the vehicle torque Te in the high motor speed range; Where Te is the vehicle torque, U d is the d-axis voltage, U q is the q-axis voltage, I d is the d-axis current, I q is the q-axis current, L d is the d-axis inductance, L q is the q-axis inductance, ω e is the electrical angular velocity, is the rotor flux.

6. The vehicle torque estimation method according to claim 1, characterized in that: Also includes: Performing regression calculation according to the d-axis current, the q-axis current, the current motor speed, the motor temperature, the estimated vehicle torque value, the measured vehicle torque value, and the estimated vehicle torque value and the measured vehicle torque value to obtain a torque error of the regression calculation; The final vehicle torque is determined based on the sum of the estimated vehicle torque value and the torque error.

7. A vehicle torque estimation device, characterized in that: The vehicle torque estimation device comprises a calculation module, wherein the calculation module is used for: In a set low motor speed range, the rotor flux, d-axis inductance and q-axis inductance in the motor parameters are calibrated to estimate the vehicle torque in the low motor speed range; In a set high motor speed section, calibrate the q-axis inductance in the motor parameters, calculate the torque calculation factor related to the rotor flux according to the q-axis inductance and the q-axis voltage fed back in real time, and estimate the vehicle torque in the high motor speed section according to the torque calculation factor; In the set intermediate speed transition section, a weighted average is performed on the vehicle torque in the low motor speed section and the vehicle torque in the high motor speed section to estimate the vehicle torque in the intermediate speed transition section.

8. The vehicle torque estimation device according to claim 7, characterized in that: The calculation module calibrates the rotor flux, d-axis inductance and q-axis inductance in the motor parameters in the set low motor speed section to estimate the vehicle torque in the low motor speed section, including: Test the relationship between motor stator temperature and rotor flux; Based on the d-axis current and q-axis current allocated by the host computer, check and record the d-axis voltage and q-axis voltage fed back by the host computer, and calibrate the d-axis inductance and q-axis inductance corresponding to the d-axis current and q-axis current according to the size of the rotor flux, the relationship between the d-axis voltage and the d-axis inductance, and the relationship between the q-axis voltage and the q-axis inductance; The vehicle torque at low motor speed range is estimated based on the relationship between the electromagnetic torque and the rotor flux, d-axis inductance and q-axis inductance.

9. The vehicle torque estimation device according to claim 7, characterized in that: The calculation module calibrates the q-axis inductance in the motor parameters in a set high motor speed section, calculates a torque calculation factor related to the rotor flux according to the q-axis inductance and the q-axis voltage fed back in real time, and estimates the vehicle torque in the high motor speed section according to the torque calculation factor, including: Based on the d-axis current and q-axis current allocated by the host computer, check and record the d-axis voltage and q-axis voltage fed back by the host computer; According to the formula: U d =-ω e *(L q *I q ), determine the q-axis inductance; Based on the formula: Convert to According to the q-axis inductance and the real-time feedback q-axis voltage, the torque calculation factor related to the rotor flux is calculated: Calculation factors and formulas based on torque Estimating the vehicle torque Te in the high motor speed range; Where Te is the vehicle torque, U d is the d-axis voltage, U q is the q-axis voltage, I d is the d-axis current, I q is the q-axis current, L d is the d-axis inductance, L q is the q-axis inductance, ω e is the electrical angular velocity, is the rotor flux.

10. The vehicle torque estimation device according to claim 7, characterized in that: Also included is a regression module, the regression module being used to: Performing regression calculation according to the d-axis current, the q-axis current, the current motor speed, the motor temperature, the estimated vehicle torque value, the measured vehicle torque value, and the estimated vehicle torque value and the measured vehicle torque value to obtain a torque error of the regression calculation; The final vehicle torque is determined based on the sum of the estimated vehicle torque value and the torque error.

Citation Information

Cited By

  • Method for calculating and reporting feedback torque of permanent magnet synchronous motor for new energy vehicle

    CN119813882A

  • Six-phase motor rotor temperature estimation method

    CN120750241A

  • Method, device and equipment for monitoring torque of permanent magnet synchronous motor and medium

    CN121216941A