Permanent magnet synchronous motor temperature monitoring method, device and vehicle

By constructing a nonlinear observer using current and resistance to calculate the temperature of a permanent magnet synchronous motor, the temperature monitoring cost and reliability problems in electric vehicles are solved, and high-precision temperature monitoring is achieved, which avoids additional signal injection and improves the reliability of the motor. and security.

CN114563100BActive Publication Date: 2024-11-22GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110196719.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-22
Publication Date
2024-11-22
Estimated Expiration
2041-02-22

AI Technical Summary

Technical Problem

In electric vehicles, permanent magnet synchronous motors have limited installation space and poor heat dissipation conditions, and the increase in temperature leads to weakening of the magnetic field strength, which affects the reliability and safety of the motor. The existing temperature monitoring methods require the installation of additional sensors to increase costs and fault points.

Method used

By building a nonlinear observer, using current and resistance as state variables, the stator resistance value of the permanent magnet synchronous motor is calculated in real time, thereby determining its temperature, and using linear change formulas or pre-calibrated relationship tables to achieve temperature monitoring to avoid additional injection of signals.

Benefits of technology

It realizes simple and reliable real-time monitoring of permanent magnet synchronous motor temperature in electric vehicles, improves the reliability and safety of the motor, reduces system costs and failure risks, and has high calculation accuracy and no additional signal injection is required.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114563100B_ABST
    Figure CN114563100B_ABST
Patent Text Reader

Abstract

The present application provides a permanent magnet synchronous motor temperature monitoring method, device and vehicle, and relates to the field of vehicle technology. It is possible to simply and reliably monitor the temperature of the permanent magnet synchronous motor in real time during the operation of an electric vehicle. The method comprises: taking current and resistance as state variables to construct a nonlinear observer; inputting the real-time current of the permanent magnet synchronous motor into the nonlinear observer to obtain the change relationship between the real-time current and the theoretical current; according to the change relationship, calculating the real-time resistance value of the stator of the permanent magnet synchronous motor under the nonlinear observer; and determining the real-time temperature of the permanent magnet synchronous motor according to the real-time resistance value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a method and device for monitoring the temperature of a permanent magnet synchronous motor and a vehicle. Background Art

[0002] Energy shortage and environmental pollution promote the development of electric vehicles. Permanent magnet synchronous motors have gradually become one of the core components of electric vehicles due to their high power factor, high density, and high torque. However, due to the limited installation space of permanent magnet synchronous motors in electric vehicles, poor heat dissipation conditions, and large losses generated by permanent magnet synchronous motors, the increase in unit loss during motor operation will lead to a significant increase in motor temperature.

[0003] The magnetic field strength of a permanent magnet will decrease linearly with increasing temperature, and increase linearly when the temperature decreases. This linear change always exists within a certain temperature range, but when the temperature exceeds a critical temperature (also known as the Curie temperature), the magnetic field strength of the permanent magnet will decrease sharply or even lose its magnetism, and this process is irreversible, that is, when the temperature drops below the Curie temperature, the magnetic field strength of the permanent magnet will not recover. If the temperature of the permanent magnet motor is too high during operation, it may cause the permanent magnet to demagnetize, which will affect the reliability and safety of the motor operation.

[0004] In order to avoid the influence of temperature on permanent magnet motors, it is necessary to monitor the temperature of permanent magnet motors in real time during the operation of electric vehicles.

[0005] Usually, monitoring the temperature of a permanent magnet motor requires placing a temperature sensor on the motor stator. Installing a dedicated temperature sensor will increase system costs, increase system failure points, and reduce system reliability. Summary of the invention

[0006] The embodiments of the present application provide a method, device and vehicle for monitoring the temperature of a permanent magnet synchronous motor, which can simply and reliably monitor the temperature of the permanent magnet synchronous motor in real time during the operation of an electric vehicle.

[0007] A first aspect of an embodiment of the present application provides a method for monitoring temperature of a permanent magnet synchronous motor, the method comprising:

[0008] Taking current and resistance as state variables, a nonlinear observer is constructed;

[0009] Inputting the real-time current of the permanent magnet synchronous motor into the nonlinear observer to obtain the variation relationship between the real-time current and the theoretical current;

[0010] According to the change relationship, calculating the real-time resistance value of the stator of the permanent magnet synchronous motor under the nonlinear observer;

[0011] The real-time temperature of the permanent magnet synchronous motor is determined according to the real-time resistance value.

[0012] Optionally, determining the real-time temperature of the permanent magnet synchronous motor according to the real-time resistance value includes:

[0013] Obtain the fixed resistance value of the stator at room temperature;

[0014] The real-time resistance value and the fixed resistance value are calculated using a temperature linear change formula to obtain the real-time temperature; wherein the temperature linear change formula is: R s =R s (t 25 )*[1+β*(tt 25 )], β is the temperature coefficient, R s (t 25 ) is the temperature t 25 Fixed resistance value at t 25 Indicates normal temperature.

[0015] Optionally, determining the real-time temperature of the permanent magnet synchronous motor according to the real-time resistance value includes:

[0016] Pre-calibrating the relationship between the stator resistance and the temperature of the permanent magnet synchronous motor to obtain a mapping relationship table;

[0017] The real-time temperature is obtained by looking up the mapping relationship table according to the real-time resistance value.

[0018] Optionally, the method further comprises:

[0019] Obtaining the three-phase current of the permanent magnet synchronous motor;

[0020] Performing a first coordinate transformation on the three-phase current to obtain a first current and a second current in a stationary coordinate system;

[0021] Taking current and resistance as state variables, a nonlinear observer is constructed, including:

[0022] The first current, the second current and the real-time resistance value are used as state variables to construct the nonlinear observer; wherein the first current and the second current are input quantities of the nonlinear observer, and the real-time resistance value is the output quantity of the nonlinear observer.

[0023] Optionally, the method further comprises:

[0024] Performing vector control on the permanent magnet synchronous motor, outputting a first inductance, a second inductance and a third current of the permanent magnet synchronous motor in a rotating coordinate system, outputting a first voltage and a second voltage of the permanent magnet synchronous motor in a stationary coordinate system, and outputting a motor position and a motor speed of the permanent magnet synchronous motor;

[0025] Using the first inductance, the second inductance, the third current, the first voltage, the second voltage, the motor position, and the motor speed as calculation parameters of the nonlinear observer, and importing them into the nonlinear observer;

[0026] Calculating the real-time resistance value of the stator of the permanent magnet synchronous motor under the nonlinear observer includes:

[0027] The real-time resistance value of the stator of the permanent magnet synchronous motor is calculated under the nonlinear observer into which the calculation parameters are introduced.

[0028] A second aspect of an embodiment of the present application provides a permanent magnet synchronous motor temperature monitoring device, the device comprising:

[0029] Building blocks for constructing nonlinear observers using current and resistance as state variables;

[0030] An input module, used for inputting the real-time current of the permanent magnet synchronous motor into the nonlinear observer to obtain the variation relationship between the real-time current and the theoretical current;

[0031] A calculation module, used for calculating the real-time resistance value of the stator of the permanent magnet synchronous motor under the nonlinear observer according to the change relationship;

[0032] The determination module is used to determine the real-time temperature of the permanent magnet synchronous motor according to the real-time resistance value.

[0033] Optionally, the determining module includes:

[0034] An obtaining submodule is used to obtain a fixed resistance value of the stator at normal temperature;

[0035] The first calculation submodule is used to calculate the real-time resistance value and the fixed resistance value using a temperature linear change formula to obtain the real-time temperature; wherein the temperature linear change formula is: R s =R s (t 25 )*[1+β*(tt 25 )], β is the temperature coefficient, R s (t 25 ) is the temperature t 25 Fixed resistance value at t 25 Indicates normal temperature.

[0036] Optionally, the determining module includes:

[0037] A calibration submodule, used for pre-calibrating the relationship between the stator resistance and the temperature of the permanent magnet synchronous motor to obtain a mapping relationship table;

[0038] A table lookup module is used to look up the mapping relationship table according to the real-time resistance value to obtain the real-time temperature.

[0039] Optionally, the device further comprises:

[0040] An acquisition module, used for acquiring the three-phase current of the permanent magnet synchronous motor;

[0041] A first transformation module, used for performing a first coordinate transformation on the three-phase current to obtain a first current and a second current in a stationary coordinate system;

[0042] The building blocks include:

[0043] A construction submodule is used to construct the nonlinear observer by taking the first current, the second current and the real-time resistance value as state variables; wherein the first current and the second current are input quantities of the nonlinear observer, and the real-time resistance value is the output quantity of the nonlinear observer.

[0044] Optionally, the device further comprises:

[0045] A control module, used for performing vector control on the permanent magnet synchronous motor, outputting a first inductance, a second inductance and a third current of the permanent magnet synchronous motor in a rotating coordinate system; outputting a first voltage and a second voltage of the permanent magnet synchronous motor in a stationary coordinate system; and outputting a motor position and a motor speed of the permanent magnet synchronous motor;

[0046] an import module, used for taking the first inductance, the second inductance, the third current, the first voltage, the second voltage, the motor position and the motor speed as calculation parameters of the nonlinear observer, and importing them into the nonlinear observer;

[0047] The calculation module comprises:

[0048] The second calculation submodule is used to calculate the real-time resistance value of the stator of the permanent magnet synchronous motor under the nonlinear observer into which the calculation parameters are introduced.

[0049] A third aspect of an embodiment of the present application provides a vehicle, including a motor controller; the motor controller is connected to a permanent magnet synchronous motor, and a computer program is stored on the motor controller. When the computer program is executed by a processor, the steps in the method described in the first aspect of the present application are implemented.

[0050] The embodiment of the present application uses current and resistance as state variables to construct a nonlinear observer that predicts resistance changes by current changes, and at the same time obtains the real-time current of the permanent magnet synchronous motor. The nonlinear observer that predicts resistance changes by current changes is used to calculate the difference between the real-time current and the theoretical current at a specific time. The difference and the nonlinear observer are used to calculate the difference between the theoretical resistance value and the real-time resistance, and the real-time resistance is further calculated. Then, according to the relationship between the resistance and the temperature of the permanent magnet synchronous motor, the real-time temperature of the permanent magnet synchronous motor is determined. The present application constructs a nonlinear observer that predicts resistance changes by current changes, which provides a basis for determining temperature by resistance. The entire process of monitoring the temperature of the permanent magnet synchronous motor does not require additional signal injection, and the method is simple and has high calculation accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0052] Figure 1 is a flowchart of the steps of the permanent magnet synchronous motor temperature monitoring method proposed in the embodiment of the present application;

[0053] Figure 2 is a flowchart of the steps of constructing a nonlinear observer in an embodiment of the present application;

[0054] Figure 3 is a schematic diagram of temperature monitoring of a permanent magnet synchronous motor proposed in another embodiment of the present application;

[0055] Figure 4 is a flowchart of the steps of temperature monitoring of a permanent magnet synchronous motor in an example of the present application;

[0056] Figure 5 It is a functional module diagram of the permanent magnet synchronous motor temperature monitoring device proposed in the embodiment of the present application.

[0057] Figure numerals: 31, power supply; 32, permanent magnet synchronous motor. DETAILED DESCRIPTION

[0058] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are 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.

[0059] At present, there are methods to monitor the temperature of permanent magnet synchronous motors based on their temperature models, but the construction of permanent magnet synchronous motor temperature models is difficult and has poor adaptability to different permanent magnet synchronous motors. There are also methods to indirectly obtain the temperature of permanent magnet synchronous motors by injecting signals or estimating algorithms. Since the injection method will introduce current harmonics during operation, affecting the noise, vibration and harshness (NVH) and running stability of the vehicle, this method of calculating the temperature of permanent magnet synchronous motors by injecting voltage is not advisable.

[0060] In view of the above problems, an embodiment of the present application proposes a method for monitoring the temperature of a permanent magnet synchronous motor. The resistance of the stator of the permanent magnet synchronous motor is calculated by a constructed nonlinear observer, and the temperature of the permanent magnet synchronous motor is determined by using the relationship between the temperature and the stator resistance of the permanent magnet synchronous motor. The method is simple to calculate and does not require additional injection signals. The calculation accuracy meets the temperature verification requirements of the permanent magnet synchronous motor.

[0061] Figure 1 is a flowchart of the steps of the permanent magnet synchronous motor temperature monitoring method proposed in the embodiment of the present application, such as Figure 1 As shown, the steps are as follows:

[0062] Step S11: Using current and resistance as state variables, construct a nonlinear observer;

[0063] A nonlinear observer is a state observer that can obtain estimated values ​​of state variables based on the measured values ​​of the system's external variables (input variables and output variables). It is also called a state reconstructor.

[0064] The permanent magnet synchronous motor temperature refers to the temperature of the stator of the permanent magnet synchronous motor.

[0065] The applicant found that the temperature of the permanent magnet synchronous motor changes relatively slowly, the resistance of the stator of the permanent magnet synchronous motor remains unchanged within a calculation cycle, and there is a linear relationship between the temperature of the permanent magnet synchronous motor and the resistance of the stator of the permanent magnet synchronous motor. A specific temperature of the permanent magnet synchronous motor corresponds to a certain resistance of the stator of the permanent magnet synchronous motor. Based on this discovery, the present application uses current and resistance as state variables to observe the real-time resistance value of the stator based on the current value obtained in real time, so that the temperature of the permanent magnet synchronous motor can be further calculated based on the linear relationship between the temperature of the permanent magnet synchronous motor and the resistance of the stator of the permanent magnet synchronous motor.

[0066] For the same object, a nonlinear observer for the object constructed with current and resistance can observe the resistance value through the periodic iteration of the current when the current is obtained, or observe the current value through the periodic iteration of the resistance.

[0067] The embodiment of the present application obtains a periodic iterative relationship between current and resistance by constructing a nonlinear observer using current and resistance as state variables. In the same nonlinear observer, the change in current is related to the change in resistance. Therefore, the change relationship between the real-time current and the theoretical current obtained by inputting the real-time current of the permanent magnet synchronous motor into the nonlinear observer can be used as a basis for determining the real-time resistance of the stator of the permanent magnet synchronous motor and the theoretical resistance of the stator.

[0068] Step S12: inputting the real-time current of the permanent magnet synchronous motor into the nonlinear observer to obtain the variation relationship between the real-time current and the theoretical current.

[0069] Theoretical current refers to the current value calculated based on the principle of permanent magnet synchronous motor, three-phase AC calculation formula, and DC and AC conversion formula.

[0070] The relationship between the real-time current and the theoretical current means that as the permanent magnet synchronous motor runs, due to factors such as temperature rise and current loss, the real-time current of the permanent magnet synchronous motor deviates from the theoretical current. This deviation is related to the frequency cycle of the three-phase alternating current, and represents the difference between the real-time current and the theoretical current of the permanent magnet synchronous motor at a specific time. Since the current is linearly related to the resistance, the difference between the real-time resistance and the theoretical resistance at the same specific time can be predicted based on the relationship between the real-time current and the theoretical current.

[0071] Step S13: Calculating the real-time resistance value of the stator of the permanent magnet synchronous motor under the nonlinear observer according to the change relationship.

[0072] Step S14: determining the real-time temperature of the permanent magnet synchronous motor according to the real-time resistance value.

[0073] The embodiment of the present application uses current and resistance as state variables to construct a nonlinear observer that predicts resistance changes by current changes, and at the same time obtains the real-time current of the permanent magnet synchronous motor. The real-time current is calculated using the nonlinear observer that predicts resistance changes by current changes, and the difference between the real-time current and the theoretical current at a specific time is obtained. The difference and the nonlinear observer are used to calculate the difference between the theoretical resistance value and the real-time resistance, and the real-time resistance is further calculated. Then, according to the relationship between the resistance and the temperature of the permanent magnet synchronous motor, the real-time temperature of the permanent magnet synchronous motor is determined. The present application constructs a nonlinear observer that predicts resistance changes by current changes, which provides a basis for determining temperature by resistance. The entire process of monitoring the temperature of the permanent magnet synchronous motor does not require additional signal injection, and the method is simple and has high calculation accuracy.

[0074] Another embodiment of the present application proposes a method for determining the real-time temperature of a permanent magnet synchronous motor, and the specific steps are as follows: Step S14-1: Obtain a fixed resistance value of the stator at room temperature. The fixed resistance value refers to the theoretical resistance value of the permanent magnet synchronous motor under the current operating conditions. The current operating conditions include: current operating temperature, current operating speed, road conditions, etc.

[0075] Step S14-2: Calculate the real-time resistance value and the fixed resistance value using a temperature linear change formula to obtain the real-time temperature; wherein the temperature linear change formula is formula (1): R s =R s (t 25 )*[1+β*(tt 25 )](1), β is the temperature coefficient, R s (t 25 ) is the temperature t 25 Fixed resistance value at t 25 Represents room temperature, R s is the real-time resistance value, and t is the real-time temperature.

[0076] The temperature coefficient β is related to the permanent magnet flux linkage. t represents the real-time temperature. The temperature linear change formula shown in step S14-2 is used to calculate the actual resistance value of the permanent magnet synchronous motor at 25 degrees according to the theoretical resistance value and temperature coefficient of the permanent magnet synchronous motor at 25 degrees.

[0077] Another embodiment of the present application proposes another method for determining the real-time temperature of a permanent magnet synchronous motor to obtain a more accurate real-time resistance value. The specific steps are as follows: Step S14-3: Pre-calibrate the relationship between the stator resistance and the temperature of the permanent magnet synchronous motor to obtain a mapping relationship table. The relationship between the stator resistance and the temperature of the permanent magnet synchronous motor can be calibrated by offline calibration. In an example of the present application, the permanent magnet synchronous motor can be rotated at different speeds, and then the resistance of the permanent magnet synchronous motor and the temperature of the permanent magnet synchronous motor are recorded separately when the permanent magnet synchronous motor rotates at each speed.

[0078] Step S14 - 4 : According to the real-time resistance value, the real-time temperature is obtained by looking up the mapping relationship table.

[0079] Another embodiment of the present application proposes a method for constructing a nonlinear observer. In this embodiment, the permanent magnet synchronous motor adopts vector control, collects the current and rotor position of the permanent magnet synchronous motor, and then responds to the motor torque demand of the whole vehicle by adjusting the current. In view of the above-mentioned control environment of using vector control for the permanent magnet synchronous motor, the real-time current, real-time voltage, real-time inductance, rotor position of the permanent magnet synchronous motor, speed of the permanent magnet synchronous motor, etc. of the permanent magnet synchronous motor are obtained. The embodiment of the present application constructs a nonlinear observer based on the real-time current of the permanent magnet synchronous motor, and specifically uses the real-time current as the input of the nonlinear observer. After the real-time current is detected, the real-time current is input into the nonlinear observer, and the output of the nonlinear observer, that is, the real-time resistance, can be obtained.

[0080] Figure 2 is a flowchart of the steps of constructing a nonlinear observer in an embodiment of the present application, such as Figure 2 As shown, the steps are as follows:

[0081] Step S21: obtaining the three-phase current of the permanent magnet synchronous motor.

[0082] In one example of the present application, a current sensor is used to collect the three-phase current i A 、i B 、i C .

[0083] Step S22: performing a first coordinate transformation on the three-phase current to obtain a first current and a second current in a stationary coordinate system.

[0084] In an example of the present application, a first coordinate transformation is performed on the three-phase current according to formula (2) to obtain a first current Δi α and the second current Δi β .

[0085]

[0086] Step S23: using the first current, the second current and the real-time resistance value as state variables to construct the nonlinear observer; wherein the first current and the second current are input quantities of the nonlinear observer, and the real-time resistance value is the output quantity of the nonlinear observer.

[0087] Specifically, before constructing the nonlinear observer, a mathematical model of the permanent magnet synchronous motor in a two-phase stationary coordinate system is first obtained, and then the first current, the second current, and the real-time resistance value are used as state variables according to the data model to construct the nonlinear observer. The first current and the second current are currents in a stationary coordinate system. By using the current in a stationary coordinate system as the observed quantity, the nonlinear observer can calculate faster during operation, and the user can obtain temperature information more timely.

[0088] The calculation principle of the data model proposed in an example of this application is shown in formula (3):

[0089]

[0090] Among them, v α and v β Represents the voltage in the two-phase stationary coordinate system; ΔR s represents the real-time resistance; ω represents the speed of the permanent magnet synchronous motor; D represents the differential operator d / dt; L d and Indicates the inductance value in the rotating coordinate system, that is, the inductance of the dq axis; K e Represents the motor flux; θ r Indicates the position of the rotor of the permanent magnet synchronous motor; i d and i q Represents the current value in the rotating coordinate system, i d represents the current in the d direction of the dq axis, i q Indicates the current in the q direction of the dq axis; Δi α and Δi β Indicates the current value in the stationary coordinate system.

[0091] In one example of the present application, when executing the constructed nonlinear observer, the calculation principle used can be expressed by formula (4):

[0092]

[0093]

[0094] Among them, i α represents the first current Δi α The corresponding theoretical value of current, i β represents the second current Δi β The corresponding current theoretical value; Kx, Ky1, Ky2 are observer coefficients; L o express In formula (4), i q , L d , θ r ,ω,v α and v β For related calculation parameters, after obtaining the above calculation parameters, the calculation parameters are imported into the nonlinear observer, and the observer coefficients Kx, Ky1, and Ky2 are adjusted. After the difference between the real-time current and the theoretical current tends to be stable, the difference between the real-time current and the theoretical current is extracted, that is, the change relationship between the real-time current and the theoretical current is extracted.

[0095] Another embodiment of the present application proposes obtaining the above-mentioned calculation parameter iq , L d , θ r ,ω,v α and v β A specific implementation method is provided, and a method of importing the above-mentioned calculation parameters into a nonlinear observer so as to obtain a more accurate real-time resistance value based on the nonlinear observer is proposed; the control environment based on which the first current and the second current are obtained is the same, and the embodiment of the present application still obtains the above-mentioned calculation parameters based on the vector control of the permanent magnet synchronous motor.

[0096] The permanent magnet synchronous motor is vector controlled to output a first inductance, a second inductance and a third current of the permanent magnet synchronous motor in a rotating coordinate system; a first voltage and a second voltage of the permanent magnet synchronous motor in a stationary coordinate system; a motor position and a motor speed of the permanent magnet synchronous motor are output; the first inductance, the second inductance, the third current, the first voltage, the second voltage, the motor position and the motor speed are used as calculation parameters and imported into the nonlinear observer; the real-time resistance value of the stator of the permanent magnet synchronous motor is calculated under the nonlinear observer, including: calculating the real-time resistance value of the stator of the permanent magnet synchronous motor under the nonlinear observer with the calculation parameters imported.

[0097] The first inductor is parameter L d Indicates that the second inductor is Indicates that the third current is expressed as parameter i q Indicates that the first voltage is expressed as parameter v α The second voltage is expressed by parameter v β The motor speed is represented by parameter ω, and the motor position is represented by parameter θ r express.

[0098] Furthermore, another embodiment of the present application further proposes a specific method for obtaining the first inductance, the second inductance and the third current, including:

[0099] Performing vector control on a permanent magnet synchronous motor and outputting a first inductance, a second inductance and a third current of the permanent magnet synchronous motor in a rotating coordinate system, including:

[0100] Similar to obtaining the real-time current in the stationary coordinate system, the current in the rotating coordinate system also needs to obtain the three-phase current of the permanent magnet synchronous motor first; then perform the second coordinate transformation on the three-phase current to obtain the third current and the fourth current in the rotating coordinate system. The fourth current is i d .

[0101] In one example of the present application, formula (5) is used to perform a second coordinate transformation on the three-phase current;

[0102]

[0103] The first inductance and the second inductance in a rotating coordinate system are determined according to the third current and a preset inductance parameter table.

[0104] The inductance of the permanent magnet synchronous motor installed in the electric vehicle is not fixed, but changes with the current. In view of this, the embodiment of the present application obtains a preset inductance parameter table through offline or finite element simulation, and presets it in the motor controller. After obtaining the third current and the fourth current, the motor controller executes relevant programs to obtain the first inductance corresponding to the third current and the second inductance corresponding to the fourth current.

[0105] Furthermore, another embodiment of the present application further proposes a method for obtaining a first voltage and a second voltage, comprising:

[0106] The permanent magnet synchronous motor is vector controlled to obtain a third voltage and a fourth voltage of the permanent magnet synchronous motor in a rotating coordinate system; the third voltage and the fourth voltage are subjected to a third coordinate transformation to obtain the first voltage and the second voltage in a stationary coordinate system. The method of performing coordinate transformation on the third voltage and the fourth voltage is similar to the method of performing coordinate transformation on the current, and will not be described in detail in the embodiments of the present application.

[0107] Furthermore, another embodiment of the present application also proposes a method for obtaining the first voltage and the second voltage, comprising: using a rotary transformer to collect the rotor position of the permanent magnet synchronous motor; and calculating the motor speed according to the rotor position of the permanent magnet synchronous motor. The motor speed can be obtained by derivatizing the rotor position of the motor.

[0108] Figure 3 FIG. 1 is a schematic diagram of temperature monitoring of a permanent magnet synchronous motor proposed in another embodiment of the present application. Figure 3 As shown, another embodiment of the present application specifically proposes a permanent magnet synchronous motor temperature monitoring method including a resistance estimation sub-step and a temperature compensation sub-step. Figure 3 31 represents a power source, and 32 represents a permanent magnet synchronous motor.

[0109] Figure 4 This is a flowchart of the steps of temperature monitoring of a permanent magnet synchronous motor in an example of the present application. Figure 3 and Figure 4 As shown, the steps of temperature monitoring of a permanent magnet synchronous motor in an example of the present application include:

[0110] Step S41: collecting three-phase current and permanent magnet synchronous motor rotor position, and calculating current speed;

[0111] Step S42: transform the three-phase currents by coordinate transformation to obtain the currents in the two-phase stationary coordinate system and the currents in the two-phase rotating coordinate system;

[0112] Step S43: obtaining the voltage of the two-phase stationary coordinate system through vector control;

[0113] Step S44: according to the dq axis current, searching the preset inductance parameter table to obtain the current dq axis inductance;

[0114] Step S45: importing the above two-phase static current and voltage and the current in the rotating coordinate system into a nonlinear observer to calculate the real-time resistance of the stator of the permanent magnet synchronous motor;

[0115] Step S46: Calculate the real-time temperature of the permanent magnet synchronous motor according to the stator resistance.

[0116] In the above steps, steps S41 to S44 are completed by performing vector control on the permanent magnet synchronous motor, step S45 is a resistance estimation sub-step, step S46 is a temperature compensation sub-step, and steps S44 to S46 are steps for completing real-time temperature prediction of the permanent magnet synchronous motor.

[0117] Based on the same inventive concept, an embodiment of the present application provides a temperature monitoring device for a permanent magnet synchronous motor. Figure 5 : is a functional module diagram of the permanent magnet synchronous motor temperature monitoring device proposed in the embodiment of the present application. Figure 5 As shown, the device comprises:

[0118] A construction module 51 is used to construct a nonlinear observer by taking the current and the resistance as state variables;

[0119] An input module 52, used to input the real-time current of the permanent magnet synchronous motor into the nonlinear observer to obtain a variation relationship between the real-time current and the theoretical current;

[0120] A calculation module 53, configured to calculate the real-time resistance value of the stator of the permanent magnet synchronous motor under the nonlinear observer according to the change relationship;

[0121] The determination module 54 is used to determine the real-time temperature of the permanent magnet synchronous motor according to the real-time resistance value.

[0122] Optionally, the determining module includes:

[0123] An obtaining submodule is used to obtain a fixed resistance value of the stator at normal temperature;

[0124] The first calculation submodule is used to calculate the real-time resistance value and the fixed resistance value using a temperature linear change formula to obtain the real-time temperature; wherein the temperature linear change formula is: R s=R s (t 25 )*[1+β*(tt 25 )], β is the temperature coefficient, R s (t 25 ) is the temperature t 25 Fixed resistance value at t 25 Indicates normal temperature.

[0125] Optionally, the determining module includes:

[0126] A calibration submodule, used for pre-calibrating the relationship between the stator resistance and the temperature of the permanent magnet synchronous motor to obtain a mapping relationship table;

[0127] A table lookup module is used to look up the mapping relationship table according to the real-time resistance value to obtain the real-time temperature.

[0128] Optionally, the device further comprises:

[0129] An acquisition module, used for acquiring the three-phase current of the permanent magnet synchronous motor;

[0130] A first transformation module, used for performing a first coordinate transformation on the three-phase current to obtain a first current and a second current in a stationary coordinate system;

[0131] The building blocks include:

[0132] A construction submodule is used to construct the nonlinear observer by taking the first current, the second current and the real-time resistance value as state variables; wherein the first current and the second current are input quantities of the nonlinear observer, and the real-time resistance value is the output quantity of the nonlinear observer.

[0133] Optionally, the device further comprises:

[0134] A control module, used for performing vector control on the permanent magnet synchronous motor, outputting a first inductance, a second inductance and a third current of the permanent magnet synchronous motor in a rotating coordinate system; outputting a first voltage and a second voltage of the permanent magnet synchronous motor in a stationary coordinate system; and outputting a motor position and a motor speed of the permanent magnet synchronous motor;

[0135] An import module, used for taking the first inductance, the second inductance, the third current, the first voltage, the second voltage, the motor position and the motor speed as calculation parameters of a nonlinear observer, and importing them into the nonlinear observer;

[0136] The calculation module comprises:

[0137] The second calculation submodule is used to calculate the real-time resistance value of the stator of the permanent magnet synchronous motor under the nonlinear observer that imports the calculation parameters.

[0138] Based on the same inventive concept, another embodiment of the present application provides a vehicle, including a motor controller, which is connected to a permanent magnet synchronous motor. A computer program is stored on the motor controller, and when the program is executed by a processor, the steps in the permanent magnet synchronous motor temperature monitoring method described in any of the above embodiments of the present application are implemented.

[0139] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0140] Each embodiment in this specification is described in a progressive or illustrative manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referenced to each other.

[0141] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, devices, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0142] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, apparatuses, and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0143] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1A function specified in one or more boxes.

[0144] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0145] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0146] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0147] The above is a detailed introduction to a permanent magnet synchronous motor temperature monitoring method, device and vehicle provided by the present application. The description of the above embodiments is only used to help understand the method and its core idea of ​​the present application; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for monitoring temperature of a permanent magnet synchronous motor, characterized in that: The method comprises: Taking current and resistance as state variables, a nonlinear observer is constructed; Inputting the real-time current of the permanent magnet synchronous motor into the nonlinear observer to obtain the variation relationship between the real-time current and the theoretical current; According to the change relationship, calculating the real-time resistance value of the stator of the permanent magnet synchronous motor under the nonlinear observer; Determining the real-time temperature of the permanent magnet synchronous motor according to the real-time resistance value; Obtaining the three-phase current of the permanent magnet synchronous motor; Performing a first coordinate transformation on the three-phase current to obtain a first current and a second current in a stationary coordinate system; Taking current and resistance as state variables, a nonlinear observer is constructed, including: The first current, the second current and the real-time resistance value are used as state variables to construct the nonlinear observer; wherein the first current and the second current are input quantities of the nonlinear observer, and the real-time resistance value is the output quantity of the nonlinear observer; Performing vector control on the permanent magnet synchronous motor, outputting a first inductance, a second inductance and a third current of the permanent magnet synchronous motor in a rotating coordinate system, outputting a first voltage and a second voltage of the permanent magnet synchronous motor in a stationary coordinate system, and outputting a motor position and a motor speed of the permanent magnet synchronous motor; Using the first inductance, the second inductance, the third current, the first voltage, the second voltage, the motor position, and the motor speed as calculation parameters of the nonlinear observer, and importing them into the nonlinear observer; Calculating the real-time resistance value of the stator of the permanent magnet synchronous motor under the nonlinear observer includes: Under the nonlinear observer having the calculation parameters introduced therein, calculating the real-time resistance value of the stator of the permanent magnet synchronous motor; The nonlinear observer is constructed by the following formula: in, Indicates real-time resistance; Indicates the motor flux; Indicates the first current The corresponding theoretical current value is, Indicates the second current The corresponding theoretical value of current; Kx, Ky1, Ky2 are observer coefficients; express( - ) / ; represents the first inductance, represents the second inductance, Indicates the third current, Indicates the first voltage, Indicates the second voltage, Indicates the motor speed, Indicates the motor position.

2. The method according to claim 1, characterized in that: Determining the real-time temperature of the permanent magnet synchronous motor according to the real-time resistance value includes: Obtain the fixed resistance value of the stator at room temperature; The real-time resistance value and the fixed resistance value are calculated using a temperature linear change formula to obtain the real-time temperature; wherein the temperature linear change formula is: , is the temperature coefficient, is the real-time resistance value, The temperature is Fixed resistance value, Indicates normal temperature, Indicates the real-time temperature.

3. The method according to claim 1, characterized in that Determining the real-time temperature of the permanent magnet synchronous motor according to the real-time resistance value includes: Pre-calibrating the relationship between the stator resistance and the temperature of the permanent magnet synchronous motor to obtain a mapping relationship table; The real-time temperature is obtained by looking up the mapping relationship table according to the real-time resistance value.

4. A permanent magnet synchronous motor temperature monitoring device, characterized in that: The device comprises: Building blocks for constructing nonlinear observers using current and resistance as state variables; An input module, used for inputting the real-time current of the permanent magnet synchronous motor into the nonlinear observer to obtain the variation relationship between the real-time current and the theoretical current; A calculation module, used for calculating the real-time resistance value of the stator of the permanent magnet synchronous motor under the nonlinear observer according to the change relationship; A determination module, used to determine the real-time temperature of the permanent magnet synchronous motor according to the real-time resistance value; An acquisition module, used for acquiring the three-phase current of the permanent magnet synchronous motor; A first transformation module, used for performing a first coordinate transformation on the three-phase current to obtain a first current and a second current in a stationary coordinate system; The building blocks include: A construction submodule, used to construct the nonlinear observer by taking the first current, the second current and the real-time resistance value as state variables; wherein the first current and the second current are input quantities of the nonlinear observer, and the real-time resistance value is the output quantity of the nonlinear observer; A control module, used for performing vector control on the permanent magnet synchronous motor, outputting a first inductance, a second inductance and a third current of the permanent magnet synchronous motor in a rotating coordinate system; outputting a first voltage and a second voltage of the permanent magnet synchronous motor in a stationary coordinate system; and outputting a motor position and a motor speed of the permanent magnet synchronous motor; An import module, used for taking the first inductance, the second inductance, the third current, the first voltage, the second voltage, the motor position and the motor speed as calculation parameters of a nonlinear observer, and importing them into the nonlinear observer; The calculation module comprises: A second calculation submodule, used for calculating the real-time resistance value of the stator of the permanent magnet synchronous motor under the nonlinear observer that imports the calculation parameters; The construction module is specifically used to construct the nonlinear observer through the following formula: in, Indicates real-time resistance; Indicates the motor flux; Indicates the first current The corresponding theoretical current value is, Indicates the second current The corresponding theoretical value of current; Kx, Ky1, Ky2 are observer coefficients; express( - ) / ; represents the first inductance, represents the second inductance, Indicates the third current, Indicates the first voltage, Indicates the second voltage, Indicates the motor speed, Indicates the motor position.

5. The device according to claim 4, characterized in that The determination module comprises: An obtaining submodule is used to obtain a fixed resistance value of the stator at normal temperature; The first calculation submodule is used to calculate the real-time resistance value and the fixed resistance value using a temperature linear change formula to obtain the real-time temperature; wherein the temperature linear change formula is: , is the temperature coefficient, The temperature is Fixed resistance value, Indicates normal temperature, Indicates the real-time temperature.

6. The device according to claim 4, characterized in that The determination module also includes: A calibration submodule, used for pre-calibrating the relationship between the stator resistance and the temperature of the permanent magnet synchronous motor to obtain a mapping relationship table; A table lookup module is used to look up the mapping relationship table according to the real-time resistance value to obtain the real-time temperature.

7. A vehicle, comprising a motor controller, characterized in that: The motor controller is connected to a permanent magnet synchronous motor, and a computer program is stored on the motor controller. When the program is executed by a processor, the steps in any one of the methods described in claims 1-3 are implemented.