[go: up one dir, main page]

CN105024613A - Obtaining method of motor off-line resistance value, controller and air conditioner - Google Patents

Obtaining method of motor off-line resistance value, controller and air conditioner Download PDF

Info

Publication number
CN105024613A
CN105024613A CN201510366307.8A CN201510366307A CN105024613A CN 105024613 A CN105024613 A CN 105024613A CN 201510366307 A CN201510366307 A CN 201510366307A CN 105024613 A CN105024613 A CN 105024613A
Authority
CN
China
Prior art keywords
axis
voltage
preset
resistance value
motor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510366307.8A
Other languages
Chinese (zh)
Inventor
陈毅东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
Guangdong Midea Refrigeration Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, Guangdong Midea Refrigeration Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201510366307.8A priority Critical patent/CN105024613A/en
Publication of CN105024613A publication Critical patent/CN105024613A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Ac Motors In General (AREA)

Abstract

The invention discloses an obtaining method of a motor off-line resistance value, a controller and an air conditioner. The obtaining method of the motor off-line resistance value comprises, when a motor is electrified and is not started, according to a plurality of preset reactive currents of a d axis of the motor, determining voltages of the d axis corresponding to the preset reactive currents of the d axis, and, according to a plurality of preset active currents of a q axis of the motor, determining voltages of the q axis corresponding to the preset active currents of the q axis; and, according the preset reactive currents of the d axis, the voltages of the d axis, the preset active currents of the q axis and the voltages of the q axis, obtaining the off-line resistance value of the motor. On the condition that no cost increases, the method can obtain the off-line resistance value at a starting stage of the motor, obtaining time of the off-line resistance value is short, and precision of the off-line resistance value is high.

Description

Motor offline resistance value obtaining method, controller and air conditioner
Technical Field
The invention relates to the technical field of motor driving, in particular to a motor offline resistance value obtaining method, a controller and an air conditioner.
Background
For drives employing vector control strategies, there is a strong dependence on motor parameters. Therefore, obtaining accurate motor parameters plays a crucial role in improving the motor control efficiency and reducing the motor energy consumption. The resistance is also an important parameter of the motor, and the resistance participates in the calculation in the processes of design of a current loop controller, calculation without a position sensor, voltage compensation and the like, so that the accurate motor parameter acquisition is necessary.
At present, the parameters of the motor are generally obtained through no-load or locked rotor experiments, but the method is generally completed manually, so that not only is the labor cost and the cost of a testing instrument increased, but also the testing error is larger.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides the method for acquiring the motor offline resistance value, the controller and the air conditioner, and the testing precision of the motor offline resistance value is improved under the condition of not increasing any cost.
In a first aspect, the present invention provides a method for obtaining an offline resistance value of a motor, including:
when a motor is powered on and is not started, determining the voltage of a d axis corresponding to a plurality of preset reactive currents of the d axis of the motor according to a plurality of preset reactive currents of the d axis, and determining the voltage of a q axis corresponding to a plurality of preset active currents of the q axis of the motor according to a plurality of preset active currents of the q axis;
and obtaining the offline resistance value of the motor according to the plurality of preset reactive currents of the d axis, the voltage of the d axis, the plurality of preset active currents of the q axis and the voltage of the q axis.
Optionally, the preset multiple reactive currents of the d-axis of the motor include: a first reactive current, a second reactive current and a third reactive current;
correspondingly, the determining the voltage of the d-axis corresponding to the preset reactive currents of the d-axis according to the preset reactive currents of the d-axis of the motor includes:
and determining a first voltage, a second voltage and a third voltage which sequentially correspond to the first reactive current, the second reactive current and the third reactive current according to the first reactive current, the second reactive current and the third reactive current.
Optionally, the q-axis preset multiple reactive currents of the motor include: a first active current, a second active current, and a third active current;
correspondingly, the determining the voltage of the q-axis corresponding to a plurality of preset active currents of the q-axis according to a plurality of preset active currents of the q-axis of the motor includes:
and determining a fourth voltage, a fifth voltage and a sixth voltage which sequentially correspond to the first active current, the second active current and the third active current according to the first active current, the second active current and the third active current.
Optionally, the obtaining an offline resistance value of the motor according to a plurality of preset reactive currents of the d axis, a voltage of the d axis, a plurality of preset active currents of the q axis, and a voltage of the q axis includes:
obtaining an offline resistance value of the d axis according to a plurality of preset reactive currents of the d axis and the voltage of the d axis, and obtaining an offline resistance value of the q axis according to a plurality of preset active currents of the q axis and the voltage of the q axis;
and obtaining the offline resistance value of the motor according to the offline resistance value of the d axis and the offline resistance value of the q axis.
Optionally, the obtaining the offline resistance value of the d-axis according to the preset multiple reactive currents of the d-axis and the voltage of the d-axis includes:
according toAcquiring an offline resistance value of a first d axis;
according toAcquiring an off-line resistance value of a second d axis;
according to Rd=(Rd1+Rd2) Acquiring an off-line resistance value of the d axis;
wherein,which represents the first reactive current, is,which represents the second reactive current and is,which represents the third reactive current and is,which represents the first voltage, is provided by the first voltage,which represents the second voltage, is provided,representing a third voltage, R representing a predetermined line impedance, Rd1Representing the off-line resistance value, R, of the first d-axisd2Representing the off-line resistance value, R, of the second d-axisdRepresenting the off-line resistance value of the d-axis.
Optionally, the obtaining of the offline resistance value of the q axis according to a plurality of active currents preset for the q axis and the voltage of the q axis includes:
according toAcquiring an offline resistance value of a first q axis;
according toAcquiring an offline resistance value of a second q axis;
according to Rq=(Rq1+Rq2) Acquiring an offline resistance value of the q axis;
wherein,which represents the first active current, is,representing the second powerThe flow of the stream(s),which represents the third active current, is,which represents the fourth voltage, is provided,which represents the voltage of the fifth voltage, is,representing a sixth voltage, R being a predetermined line impedance, Rq1Representing the off-line resistance value of the first q-axis, Rq2Representing the off-line resistance value of the second q-axis, RqRepresenting the off-line resistance value of the q-axis.
Optionally, before determining, according to a plurality of preset reactive currents of a d-axis of the motor, a voltage of the d-axis corresponding to the plurality of preset reactive currents of the d-axis and determining, according to a plurality of preset active currents of a q-axis of the motor, a voltage of the q-axis corresponding to the plurality of preset active currents of the q-axis, the method further includes:
acquiring a first environment temperature of the current environment, and comparing the first environment temperature with a second environment temperature of the motor before the last power-on starting;
and if the value of the temperature change of the first environment temperature relative to the second environment temperature exceeds the value of a preset temperature change range, executing the step of determining the voltage of the d axis and the voltage of the q axis.
Optionally, after the offline resistance value of the motor is obtained according to the preset reactive currents of the d axis, the preset voltage of the d axis, the preset active currents of the q axis, and the preset voltage of the q axis, the method further includes:
judging whether the off-line resistance value of the motor is within a preset off-line resistance value range or not;
and if the off-line resistance value of the motor is not in the range of the preset off-line resistance value, executing the step of determining the voltage of the d axis and the voltage of the q axis.
In a second aspect, the present invention also provides a controller, comprising:
the device comprises a first determining module, a second determining module and a control module, wherein the first determining module is used for determining the voltage of a d axis corresponding to a plurality of preset reactive currents of the d axis of a motor according to the preset reactive currents of the d axis of the motor when the motor is powered on and is not started;
the second determining module is used for determining the voltage of the q axis corresponding to a plurality of active currents preset on the q axis according to a plurality of active currents preset on the q axis of the motor when the motor is powered on and is not started;
the obtaining module is used for obtaining the offline resistance value of the motor according to the multiple preset reactive currents of the d axis, the voltage of the d axis, the multiple preset active currents of the q axis and the voltage of the q axis.
In a third aspect, the present invention also provides an air conditioner comprising a motor, a temperature sensor and the controller as claimed in claim 9, the motor and the temperature sensor being connected to the controller;
the controller is used for acquiring an offline resistance value of the motor when the motor is powered on and is not started;
the temperature sensor is used for detecting a third environment temperature when the motor is powered on and is not started;
the controller is further configured to compare the third ambient temperature with a fourth ambient temperature before the motor is powered on and started last time, and determine whether to reacquire the offline resistance value of the motor.
According to the technical scheme, the invention provides the method for obtaining the off-line resistance value of the motor, the controller and the air conditioner, the method comprises the steps of inputting a plurality of preset reactive currents and a plurality of preset active currents into a d axis and a q axis of the motor respectively, determining the voltage of the d axis corresponding to the reactive currents and the voltage of the q axis corresponding to the active currents, and obtaining the off-line resistance value of the motor according to the reactive currents, the voltage of the d axis, the active currents and the voltage of the q axis.
Drawings
Fig. 1 is a schematic flow chart of a method for obtaining an offline resistance value of a motor according to an embodiment of the present invention;
fig. 2 is a block diagram of off-line parameter self-diagnosis control according to an embodiment of the present invention;
3A-3C are graphs of a plurality of preset reactive currents on d-axis, a preset active current on q-axis and a given motor speed, respectively, according to an embodiment of the present invention;
FIG. 4 is a graph of phase a current before and during start-up of a motor according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a controller according to an embodiment of the present invention.
Detailed Description
The following further describes embodiments of the invention with reference to the drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
Fig. 1 shows a schematic flow chart of a method for obtaining an offline resistance value of a motor according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
101. when the motor is powered on and is not started, determining the voltage of the d axis corresponding to a plurality of preset reactive currents of the d axis of the motor according to a plurality of preset reactive currents of the d axis, and determining the voltage of the q axis corresponding to a plurality of preset active currents of the q axis of the motor according to a plurality of preset active currents of the q axis.
It can be understood that when the motor is powered on and is not started, the motor performs an open loop process by using a vector to control the speed therein, and the given electrical angular speed is 0, and the rotor of the motor is in a static state at this time.
The preset reactive currents may be understood as at least two reactive currents, the preset active currents may be understood as at least two active currents, and the reactive currents and the active currents are preset current values mainly used for calculating a voltage value corresponding to each current value.
102. And obtaining the offline resistance value of the motor according to the plurality of preset reactive currents of the d axis, the voltage of the d axis, the plurality of preset active currents of the q axis and the voltage of the q axis.
According to the method, the preset reactive currents and the preset active currents are respectively input to the d axis and the q axis of the motor, the voltage of the d axis corresponding to the reactive current and the voltage of the q axis corresponding to the active current are determined, and the off-line resistance value of the motor is obtained according to the reactive current, the voltage of the d axis, the active current and the voltage of the q axis.
Specifically, in step 101, according to a plurality of preset reactive currents of the d-axis of the motor, the voltage of the d-axis corresponding to the preset reactive currents of the d-axis is determined, where as shown in fig. 2, the given current of the d-axis isThe actual current is IdObtaining voltage after PI regulationThen will beAnd a decoupling term RId-ωLqIqThe sum of which gives the voltage V of the d axisd(ii) a Similarly, according to a plurality of active currents preset on the q axis of the motor, determining the voltage of the q axis corresponding to the plurality of active currents preset on the q axis, as shown in fig. 2, where the given current of the q axis isThe actual current is IqObtaining voltage after PI regulationThen will beAnd a decoupling term RIq+ωLd Id+ωKeThe sum of which yields the voltage V of the q-axisqIn an implementation process, according to a plurality of preset reactive currents of a d axis of the motor in other manners, the voltage of the d axis corresponding to the plurality of preset reactive currents of the d axis may be determined, and according to a plurality of preset active currents of a q axis of the motor, the voltage of the q axis corresponding to the plurality of preset active currents of the q axis may be determined.
The above method is described in detail below by way of specific examples.
It should be noted that, in the following embodiments, the off-line resistance of the permanent magnet synchronous motor is calculated in detail, and the type of the motor is not limited in the present embodiment, and the off-line resistance value may be obtained by other types of motors by the following method.
In the off-line resistance calculation, a method of calculating the resistance of the d axis and the q axis and then averaging is adopted to avoid calculation errors caused by uncertain factors. Meanwhile, in order to improve the calculation accuracy, external factors such as tube voltage drop of the resistor, line impedance, dead time and the like are fully considered. The specific calculation process is as follows:
the motor vector equation obtained with the rotor field orientation rotating at the rotor synchronous speed is as follows:
<math> <mrow> <mfenced open = '[' close = ']'> <mtable> <mtr> <mtd> <msub> <mi>V</mi> <mi>d</mi> </msub> </mtd> </mtr> <mtr> <mtd> <msub> <mi>V</mi> <mi>q</mi> </msub> </mtd> </mtr> </mtable> </mfenced> <mo>=</mo> <mfenced open = '[' close = ']'> <mtable> <mtr> <mtd> <mrow> <mi>R</mi> <mo>+</mo> <msub> <mi>pL</mi> <mi>d</mi> </msub> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <msub> <mi>&omega;L</mi> <mi>q</mi> </msub> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <msub> <mi>&omega;L</mi> <mi>d</mi> </msub> </mrow> </mtd> <mtd> <mrow> <mi>R</mi> <mo>+</mo> <msub> <mi>pL</mi> <mi>q</mi> </msub> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>*</mo> <mfenced open = '[' close = ']'> <mtable> <mtr> <mtd> <msub> <mi>I</mi> <mi>d</mi> </msub> </mtd> </mtr> <mtr> <mtd> <msub> <mi>I</mi> <mi>q</mi> </msub> </mtd> </mtr> </mtable> </mfenced> <mo>+</mo> <mfenced open = '[' close = ']'> <mtable> <mtr> <mtd> <mn>0</mn> </mtd> </mtr> <mtr> <mtd> <mi>&omega;</mi> <msub> <mi>K</mi> <mi>e</mi> </msub> </mtd> </mtr> </mtable> </mfenced> <mo>-</mo> <mo>-</mo> <mo>-</mo> <mrow> <mo>(</mo> <mn>1</mn> <mo>)</mo> </mrow> </mrow> </math>
wherein v isdVoltage, v, representing the d-axisqVoltage representing the q-axis, LdInductance representing the d-axis, LqInductance representing the q-axis, IdCurrent representing d-axis, IqRepresenting the q-axis current, R representing the off-line resistance of the machine, p representing the derivative term, ω representing the angular speed of the rotor, KeRepresenting the back emf coefficient.
In consideration of the system stability when the rotor is stopped, that is, when the rotor angular velocity ω is 0, the above equation (1) may be equivalent to the following expression:
V d V q = R 0 0 R * I d I q - - - ( 2 )
if the tube voltage drop of the resistor and the voltage drop equivalent to the dead time are set as e, and the line impedance is equivalent to r, the above equation (2) can be equivalent to the following equation (3):
V d V q = R d + r 0 0 R q + r * I d I q + e d e q - - - ( 3 )
wherein R isdResistance representing d-axis, RqResistance representing the q-axis, edComponent on d-axis of the tube voltage drop and dead time equivalent voltage drop representing resistance, eqThe component of the q-axis of the tube voltage drop representing the resistance and the dead time equivalent voltage drop.
According to the formula (3), since IdAnd IqFor a given parameter, vdAnd vqIs composed ofdAnd IqThe line impedance R may be an empirically obtained parameter (the resistance equivalent resistance is generally equal to 0.1 Ω according to the test result), and therefore, it is desirable to calculate RdAnd RqNeed to determine edAnd eq,edAnd eqAre unknown, so two equations are necessary to calculate the resistance Rd or Rq. In order to reduce the pressure drop e thus equivalentdAnd eqThe induced error therefore necessitates that the given current settings be relatively close. Taking d-axis as an example, two equations are shown in the following equation (4):
V d 1 = ( R d + r ) I d 1 + e d V d 2 = ( R d + r ) I d 2 + e d - - - ( 4 )
wherein, Vd1First voltage representing d-axis,Vd2A second voltage, I, representing the d-axisd1First current, I, representing d-axisd2A second current representing the d-axis.
The resistance component of the d-axis can be calculated from equation (4):
Rd=(Vd1-Vd2)/(Id1-Id2)-r (5)
similarly, the resistance component of the q-axis can be calculated:
Rq=(Vq1-Vq2)/(Iq1-Iq2)-r (6)
wherein, Vq1A first voltage, V, representing the q-axisq2A second voltage, I, representing the q-axisq1First current, I, representing the q-axisq2Representing a second current of the q-axis.
The final resistance value can be calculated according to the formulas (5) and (6):
R=(Rd+Rq)/2 (7)
by the method, in order to enable the resistance value to be calculated more accurately, three reactive currents of a given d axis are adopted in the following embodiment, resistance components of two d axes are calculated, and then the calculated resistances of the two d axes are averaged to calculate the resistance of the d axis; similarly, three active currents of a given q axis are adopted to calculate the resistance of two q axes, then the calculated resistance of the two q axes is averaged to calculate the resistance of the q axis, and finally the resistance of the d axis and the resistance of the q axis are averaged to calculate the final resistance value. The number of the given reactive current and the active current is not limited in this embodiment, and the current may be a single value or a linearly increasing current value, which is exemplified below.
First, given the three reactive currents of the d-axis include: first reactive currentSecond reactive currentAnd a third reactive currentAccording to the first idle currentSecond reactive currentAnd a third reactive currentDetermining the first reactive currentSecond reactive currentAnd a third reactive currentSequentially corresponding first voltagesSecond voltageAnd a third voltageThe three active currents for the q-axis of a given machine include: first active currentSecond active currentAnd a third active currentAccording to the first active currentSecond active currentAnd a third active currentDetermining a first active currentSecond active currentAnd a third active currentCorresponding fourth voltage in turnFifth voltageAnd a sixth voltage
According to the preset first idle current of the d axisSecond reactive currentThird reactive currentFirst voltageSecond voltageAnd a third voltageAnd acquiring the off-line resistance value of the d axis.
As shown in fig. 3A, 3B, and 3C, during the time (0-t1) interval: the reactive current and the active current are respectively linearly increased according to given curvesAndwill be provided withAs a result of the first reactive current,as the first active current, the given motor speed is 0 at this time.
At the interval of time (t1-t 2): given reactive and active current maintenanceAndthe given motor speed is 0 at this time. The following relations are provided:
V d 1 * = ( R d + r ) I d 1 * + e d V q 1 * = ( R q + r ) I q 1 * + e q - - - ( 8 )
at the interval of time (t2-t 3): given reactive and active currentThe current increases linearly according to a given curveAndwill be provided withAs a second reactive current, willAs a second active current, the given motor speed is now 0.
At the interval of time (t3-t 4): given reactive and active current maintenanceAndthe given motor speed is 0 at this time. The following relations are provided:
V d 2 * = ( R d + r ) I d 2 * + e d V q 2 * = ( R q + r ) I q 2 * + e q - - - ( 9 )
at the interval of time (t4-t 5): the given reactive current and the active current are linearly increased according to a given curveAndwill be provided withAs a third reactive current, willAs the third active current, the given motor speed is 0 at this time.
At times greater than t 5: given reactive and active current maintenanceAndthe given motor speed is 0 at this time. The following relations are provided:
V d 3 * = ( R d + r ) I d 3 * + e d V q 3 * = ( R q + r ) I q 3 * + e q - - - ( 10 )
wherein the first resistance component R of the d-axisd1And a second resistance component R of d-axisd2Comprises the following steps: first reactive currentSecond reactive currentThird reactive currentFirst voltageSecond voltageAnd a third voltageAnd acquiring the off-line resistance value of the d axis.
According to the first reactive currentSecond reactive currentFirst voltageAnd a second voltageCalculating the off-line resistance R of the first d-axisd1
R d 1 = ( V d 1 * - V d 2 * ) / ( I d 1 * - I d 2 * ) - r - - - ( 11 )
Wherein r is a preset line impedance, and is generally 0.1 Ω;
according to the second reactive currentThird reactive currentSecond voltageAnd a third voltageCalculating the off-line resistance R of the second d-axisd2
R d 2 = ( V d 3 * - V d 2 * ) / ( I d 3 * - I d 2 * ) - r - - - ( 12 )
Wherein r is a preset line impedance, and is generally 0.1 Ω;
off-line resistance R according to the first d-axisd1And a second d-axis off-line resistance Rd2Calculating the off-line resistance value R of the d axisd
Rd=(Rd1+Rd2)/2 (13)
Similarly according to the first active currentSecond active currentThird active currentA fourth voltageFifth voltageAnd a sixth voltageAnd acquiring the offline resistance value of the q axis.
According to the first active currentSecond active currentA fourth voltageFifth voltageCalculating the offline resistance value R of the first q axisq1
R q 1 = ( V q 1 * - V q 2 * ) / ( I q 1 * - I q 2 * ) - r - - - ( 14 )
Wherein r is a preset line impedance, and is generally 0.1 Ω;
according to the second active currentThird active currentFifth voltageAnd a sixth voltageCalculating the off-line resistance R of the second q-axisq2
R q 2 = ( V q 3 * - V q 2 * ) / ( I q 3 * - I q 2 * ) - r - - - ( 15 )
Wherein r is a preset line impedance, and is generally 0.1 Ω;
off-line resistance R according to the first q-axisq1And off-line resistance R of the second q-axisq2Calculating the off-line resistance value R of the q axisq
Wherein R isq=(Rq1+Rq2)/2 (16)
And obtaining the offline resistance value of the motor according to the offline resistance value of the d axis and the offline resistance value of the q axis. That is, the final calculated resistance value is obtained according to the formula (13) and the formula (16), where R ═ R (R) is shown in the formula (7)d+Rq)/2。
The method fully considers factors such as line equivalent circuit impedance, tube voltage drop, dead time and the like, eliminates unknown quantities of the factors through given current, and finally calculates the resistance value.
Fig. 4 shows graphs of phase a current before and at the time of starting of a motor provided by the embodiment of the invention, wherein the horizontal axis represents time and the vertical axis represents the magnitude of current, as shown in fig. 4, the current given in the method comprises three platforms, the current amplitudes of the platform 1, the platform 2 and the platform 3 are respectively 5A, 6A and 7A, and the operation time of each platform is 0.1s, so that the stabilized current is relatively close to the voltage drop e which ensures the equivalent of tube voltage drop and dead time.
By substituting R to 0.1 Ω and related parameters, it is found that the calculated resistance R is 1.03 Ω, and the manufacturer-specified value is 1.05 Ω, and the control accuracy can be controlled within 5%.
Meanwhile, when t is 1s, the motor current is operated according to a certain frequency. As can be seen from FIG. 3, the whole process of obtaining the off-line resistance of the motor only needs 1s of time, and the operation is simple and strong.
Because the resistor is used as a key parameter of the motor to be more sensible to the temperature, when the working condition changes, if factory parameters are adopted for operation, certain errors can be generated in system control. Therefore, it is necessary to update the parameters again.
In this embodiment, in step 101, when the motor is powered on and is not started, before determining the voltage of the d-axis corresponding to a plurality of preset reactive currents of the d-axis of the motor according to a plurality of preset reactive currents of the d-axis, and determining the voltage of the q-axis corresponding to a plurality of preset active currents of the q-axis of the motor according to a plurality of preset active currents of the q-axis, the method further includes steps, which are not shown in fig. 1:
103. acquiring a first environment temperature of the current environment, and comparing the first environment temperature with a second environment temperature of the motor before the last power-on starting;
104. if the value of the temperature change of the first environment temperature relative to the second environment temperature exceeds the value of a preset temperature change range, determining the voltage of the d axis and the voltage of the q axis, namely determining the voltage of the d axis corresponding to a plurality of preset reactive currents of the d axis of the motor according to a plurality of preset reactive currents of the d axis, and determining the voltage of the q axis corresponding to a plurality of preset active currents of the q axis of the motor according to a plurality of preset active currents of the q axis.
For example, if the first ambient temperature is 50 ℃, the second ambient temperature is 30 ℃ and the preset temperature variation range is ± 10 ℃, then when the first ambient temperature is detected to be 50 ℃, the temperature variation of the second ambient temperature 30 ℃ stored before the motor is powered on and started last time is found to be 20 ℃, and the 20 ℃ is greater than the preset temperature variation range by ± 10 ℃, so that in order to avoid the problems that the resistance calculation is inaccurate due to the ambient temperature, and the current control, the speed estimation, the compensation amount of the voltage model and the like during the motor starting are influenced, the off-line resistance value of the motor needs to be recalculated by the above method.
The method for updating the resistance according to the change of the environmental temperature. Meanwhile, the final average value is used as the calculated resistance value by calculating d-axis and q-axis resistances and averaging the results. The method can effectively avoid the problem of inaccurate resistance calculation caused by uncertain factors.
Furthermore, after the step 102 of obtaining the offline resistance value of the motor according to the preset multiple reactive currents of the d axis, the preset voltage of the d axis, the preset multiple active currents of the q axis and the preset voltage of the q axis, the method further includes the steps not shown in fig. 1:
105. judging whether the off-line resistance value of the motor is within a preset off-line resistance value range or not;
106. if the offline resistance value of the motor is not within the range of a preset offline resistance value, the step of determining the voltage of the d axis and the voltage of the q axis is executed, namely the step of determining the voltage of the d axis corresponding to a plurality of preset reactive currents of the d axis according to a plurality of preset reactive currents of the d axis of the motor, and the step of determining the voltage of the q axis corresponding to a plurality of preset active currents of the q axis of the motor according to a plurality of preset active currents of the q axis of the motor. And recording the current temperature and the resistance value for storage for use in the next calculation.
The method judges the calculated resistance value, and if the resistance value is not in the given range, the resistance value is calculated again. The problem of inaccurate resistance calculation caused by uncertain factors is effectively avoided.
Fig. 5 is a schematic structural diagram of a controller according to an embodiment of the present invention, and as shown in fig. 5, the controller includes: a first determining module 51, a second determining module 52 and an obtaining module 53;
the first determining module 51 is configured to determine, when the motor is powered on and is not started, a voltage of a d-axis corresponding to a plurality of preset reactive currents of the d-axis of the motor according to the preset reactive currents of the d-axis;
a second determining module 52, configured to determine, when the motor is powered on and is not started, a voltage of a q-axis corresponding to a plurality of active currents preset for the q-axis according to a plurality of reactive currents preset for the q-axis of the motor;
the first obtaining module 53 is configured to obtain an offline resistance value of the motor according to a plurality of preset reactive currents of the d axis, a voltage of the d axis, a plurality of preset active currents of the q axis, and a voltage of the q axis.
In a preferred embodiment of this embodiment, the preset plurality of reactive currents of the d-axis of the motor include: a first reactive current, a second reactive current and a third reactive current;
correspondingly, the first determining module 51 is specifically configured to:
and determining a first voltage, a second voltage and a third voltage which sequentially correspond to the first reactive current, the second reactive current and the third reactive current according to the first reactive current, the second reactive current and the third reactive current.
For example, according to the first idle currentSecond reactive currentFirst voltageAnd a second voltageCalculating the off-line resistance R of the first d-axisd1
Whereinr is a preset line impedance;
according to the second reactive currentThird reactive currentSecond voltageAnd a third voltageCalculating the off-line resistance R of the second d-axisd2
Whereinr is a preset line impedance;
off-line resistance R according to the first d-axisd1And a second d-axis off-line resistance Rd2Calculating the off-line resistance value R of the d axisd
Wherein R isd=(Rd1+Rd2)/2。
In a preferred implementation manner of this embodiment, the preset multiple active currents of the q-axis of the electric machine include: a first active current, a second active current, and a third active current;
correspondingly, the second determining module 52 is specifically configured to:
and determining a fourth voltage, a fifth voltage and a sixth voltage which sequentially correspond to the first active current, the second active current and the third active current according to the first active current, the second active current and the third active current.
For example, according to the first active currentSecond active currentA fourth voltageFifth voltageCalculating the offline resistance value R of the first q axisq1
Whereinr is a preset line impedance;
according to the second active currentThird active currentFifth voltageAnd a sixth voltageCalculating the off-line resistance R of the second q-axisq2
Whereinr is a preset line impedance;
off-line resistance R according to the first q-axisq1And off-line resistance R of the second q-axisq2Calculating the off-line resistance value R of the q axisq
Wherein R isq=(Rq1+Rq2)/2。
In a preferred implementation manner of this embodiment, the first obtaining module 53 is specifically configured to:
obtaining an offline resistance value of the d axis according to a plurality of preset reactive currents of the d axis and the voltage of the d axis, and obtaining an offline resistance value of the q axis according to a plurality of preset active currents of the q axis and the voltage of the q axis;
and obtaining the offline resistance value of the motor according to the offline resistance value of the d axis and the offline resistance value of the q axis.
Before the first determining module 51 determines the voltage of the d-axis corresponding to a plurality of preset reactive currents of the d-axis of the motor according to a plurality of preset reactive currents of the d-axis, and the second determining module 52 determines the voltage of the q-axis corresponding to a plurality of preset active currents of the q-axis of the motor according to a plurality of preset active currents of the q-axis, the controller further includes modules not shown in the figure: a second obtaining module 54, a comparing module 55;
a second obtaining module 54, configured to obtain a first ambient temperature of the current environment;
a comparing module 55, configured to compare the first ambient temperature with a second ambient temperature before the motor is powered on and started last time;
the first determining module 51 is configured to determine, according to a plurality of preset reactive currents of a d axis of the motor, a voltage of the d axis corresponding to the plurality of preset reactive currents of the d axis when the comparing module 55 compares that a value of the temperature change of the first environment temperature relative to the second environment temperature exceeds a value of a preset temperature change range, and the second determining module 52 determines, according to a plurality of preset active currents of a q axis of the motor, a voltage of the q axis corresponding to the plurality of preset active currents of the q axis.
After the first obtaining module 53 is configured to obtain the offline resistance value of the motor according to the preset multiple reactive currents of the d axis, the preset voltage of the d axis, the preset multiple active currents of the q axis, and the preset voltage of the q axis, the controller further includes a module not shown in the figure: a decision module 56;
the judging module 56 is used for judging whether the offline resistance value of the motor is within a preset offline resistance value range;
the device comprises a first determining module 51, a second determining module 52 and a control module, wherein the first determining module 51 is used for determining the voltage of a d axis corresponding to a plurality of preset reactive currents of the d axis of the motor according to a plurality of preset reactive currents of the d axis of the motor when the off-line resistance value of the motor is not in the range of the preset off-line resistance value, and the second determining module 52 is used for determining the voltage of a q axis corresponding to a plurality of preset active currents of the q axis of the motor according to a plurality of preset active currents of the q axis of the motor.
The controller corresponds to the method for acquiring the offline resistance value of the motor one by one, and details of implementation of each module in the controller are not described in detail in this embodiment.
The embodiment of the invention also provides an air conditioner, which comprises a motor, a temperature sensor and the controller, wherein the motor and the temperature sensor are connected with the controller, and the electrode, the temperature sensor and the controller can be arranged in an outdoor unit of the air conditioner.
The controller is used for acquiring an offline resistance value of the motor when the motor is powered on and is not started;
the temperature sensor is used for detecting a third environment temperature when the motor is powered on and is not started;
the controller is further configured to compare the third ambient temperature with a fourth ambient temperature before the motor is powered on and started last time, and determine whether to reacquire the offline resistance value of the motor.
It can be understood that when the variation between the third ambient temperature and the fourth ambient temperature before the last power-on start of the motor exceeds the preset temperature variation range, the offline resistance value of the motor is obtained again according to the method, otherwise, the offline resistance value of the motor is not obtained again.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for obtaining an offline resistance value of a motor is characterized by comprising the following steps:
when a motor is powered on and is not started, determining the voltage of a d axis corresponding to a plurality of preset reactive currents of the d axis of the motor according to a plurality of preset reactive currents of the d axis, and determining the voltage of a q axis corresponding to a plurality of preset active currents of the q axis of the motor according to a plurality of preset active currents of the q axis;
and obtaining the offline resistance value of the motor according to the plurality of preset reactive currents of the d axis, the voltage of the d axis, the plurality of preset active currents of the q axis and the voltage of the q axis.
2. The method of claim 1, wherein the predetermined plurality of reactive currents for the d-axis of the electric machine comprises: a first reactive current, a second reactive current and a third reactive current;
correspondingly, the determining the voltage of the d-axis corresponding to the preset reactive currents of the d-axis according to the preset reactive currents of the d-axis of the motor includes:
and determining a first voltage, a second voltage and a third voltage which sequentially correspond to the first reactive current, the second reactive current and the third reactive current according to the first reactive current, the second reactive current and the third reactive current.
3. The method of claim 2, wherein the predetermined plurality of reactive currents for the q-axis of the electric machine comprises: a first active current, a second active current, and a third active current;
correspondingly, the determining the voltage of the q-axis corresponding to a plurality of preset active currents of the q-axis according to a plurality of preset active currents of the q-axis of the motor includes:
and determining a fourth voltage, a fifth voltage and a sixth voltage which sequentially correspond to the first active current, the second active current and the third active current according to the first active current, the second active current and the third active current.
4. The method of claim 3, wherein the obtaining the offline resistance value of the electric machine according to the preset multiple reactive currents of the d-axis, the preset multiple voltage of the d-axis, the preset multiple active currents of the q-axis and the preset voltage of the q-axis comprises:
obtaining an offline resistance value of the d axis according to a plurality of preset reactive currents of the d axis and the voltage of the d axis, and obtaining an offline resistance value of the q axis according to a plurality of preset active currents of the q axis and the voltage of the q axis;
and obtaining the offline resistance value of the motor according to the offline resistance value of the d axis and the offline resistance value of the q axis.
5. The method according to claim 4, wherein the obtaining of the off-line resistance value of the d-axis according to a plurality of preset reactive currents of the d-axis and the voltage of the d-axis comprises:
according to R d 1 = ( V d 1 * - V d 2 * ) / ( I d 1 * - I d 2 * ) - r , Acquiring an offline resistance value of a first d axis;
according to R d 2 = ( V d 3 * - V d 2 * ) / ( I d 3 * - I d 2 * ) - r , Acquiring an off-line resistance value of a second d axis;
according to Rd=(Rd1+Rd2) Acquiring an off-line resistance value of the d axis;
wherein,which represents the first reactive current, is,which represents the second reactive current and is,which represents the third reactive current and is,which represents the first voltage, is provided by the first voltage,which represents the second voltage, is provided,representing a third voltage, R representing a predetermined line impedance, Rd1Representing the off-line resistance value, R, of the first d-axisd2Representing the off-line resistance value, R, of the second d-axisdRepresenting the off-line resistance value of the d-axis.
6. The method according to claim 4, wherein the obtaining the off-line resistance value of the q-axis according to a plurality of active currents preset by the q-axis and the voltage of the q-axis comprises:
according to R q 1 = ( V q 1 * - V q 2 * ) / ( I q 1 * - I q 2 * ) - r , Acquiring an offline resistance value of a first q axis;
according to R q 2 = ( V q 3 * - V q 2 * ) / ( I q 3 * - I q 2 * ) - r , Acquiring an offline resistance value of a second q axis;
according to Rq=(Rq1+Rq2) Acquiring an offline resistance value of the q axis;
wherein,which represents the first active current, is,which represents the second active current, is,which represents the third active current, is,which represents the fourth voltage, is provided,which represents the voltage of the fifth voltage, is,representing a sixth voltage, R being a predetermined line impedance, Rq1Representing the off-line resistance value of the first q-axis, Rq2Representing the off-line resistance value of the second q-axis, RqRepresenting the off-line resistance value of the q-axis.
7. The method according to any one of claims 1-6, wherein before determining the voltage of the d-axis corresponding to a predetermined plurality of reactive currents of the d-axis of the electric machine according to a predetermined plurality of reactive currents of the d-axis and determining the voltage of the q-axis corresponding to a predetermined plurality of active currents of the q-axis according to a predetermined plurality of active currents of the q-axis of the electric machine, the method further comprises:
acquiring a first environment temperature of the current environment, and comparing the first environment temperature with a second environment temperature of the motor before the last power-on starting;
and if the value of the temperature change of the first environment temperature relative to the second environment temperature exceeds the value of a preset temperature change range, executing the step of determining the voltage of the d axis and the voltage of the q axis.
8. The method according to any one of claims 1-6, wherein after obtaining the offline resistance value of the electric machine according to the preset multiple reactive currents of the d-axis, the preset voltage of the d-axis, the preset multiple active currents of the q-axis and the preset voltage of the q-axis, the method further comprises:
judging whether the off-line resistance value of the motor is within a preset off-line resistance value range or not;
and if the off-line resistance value of the motor is not in the range of the preset off-line resistance value, executing the step of determining the voltage of the d axis and the voltage of the q axis.
9. A controller, comprising:
the device comprises a first determining module, a second determining module and a control module, wherein the first determining module is used for determining the voltage of a d axis corresponding to a plurality of preset reactive currents of the d axis of a motor according to the preset reactive currents of the d axis of the motor when the motor is powered on and is not started;
the second determining module is used for determining the voltage of the q axis corresponding to a plurality of active currents preset on the q axis according to a plurality of active currents preset on the q axis of the motor when the motor is powered on and is not started;
the obtaining module is used for obtaining the offline resistance value of the motor according to the multiple preset reactive currents of the d axis, the voltage of the d axis, the multiple preset active currents of the q axis and the voltage of the q axis.
10. An air conditioner comprising a motor, a temperature sensor and the controller of claim 9, wherein the motor and the temperature sensor are both connected to the controller;
the controller is used for acquiring an offline resistance value of the motor when the motor is powered on and is not started;
the temperature sensor is used for detecting a third environment temperature when the motor is powered on and is not started;
the controller is further configured to compare the third ambient temperature with a fourth ambient temperature before the motor is powered on and started last time, and determine whether to reacquire the offline resistance value of the motor.
CN201510366307.8A 2015-06-26 2015-06-26 Obtaining method of motor off-line resistance value, controller and air conditioner Pending CN105024613A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510366307.8A CN105024613A (en) 2015-06-26 2015-06-26 Obtaining method of motor off-line resistance value, controller and air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510366307.8A CN105024613A (en) 2015-06-26 2015-06-26 Obtaining method of motor off-line resistance value, controller and air conditioner

Publications (1)

Publication Number Publication Date
CN105024613A true CN105024613A (en) 2015-11-04

Family

ID=54414376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510366307.8A Pending CN105024613A (en) 2015-06-26 2015-06-26 Obtaining method of motor off-line resistance value, controller and air conditioner

Country Status (1)

Country Link
CN (1) CN105024613A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115566952A (en) * 2022-10-27 2023-01-03 成都哈工驱动科技有限公司 Permanent magnet synchronous motor stator electromagnetic parameter identification method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1885054A1 (en) * 2006-08-03 2008-02-06 STMicroelectronics S.r.l. Method of estimating the state of a system and related device for estimating position and speed of the rotor of a brushless motor
CN101237213A (en) * 2007-01-29 2008-08-06 三菱电机株式会社 Control device for AC rotating machine and method for measuring electric constant of AC rotating machine using the control device
CN101459401A (en) * 2007-12-10 2009-06-17 株式会社日立产机系统 Position sensorless controller for permanent magnet motor
CN103916064A (en) * 2014-03-31 2014-07-09 广东威灵电机制造有限公司 Method and device for measuring stator resistance and temperature detection method and device
CN104378037A (en) * 2014-11-07 2015-02-25 美的集团股份有限公司 Current regulating method and device for air conditioner and single rotor compressor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1885054A1 (en) * 2006-08-03 2008-02-06 STMicroelectronics S.r.l. Method of estimating the state of a system and related device for estimating position and speed of the rotor of a brushless motor
CN101237213A (en) * 2007-01-29 2008-08-06 三菱电机株式会社 Control device for AC rotating machine and method for measuring electric constant of AC rotating machine using the control device
CN101459401A (en) * 2007-12-10 2009-06-17 株式会社日立产机系统 Position sensorless controller for permanent magnet motor
CN103916064A (en) * 2014-03-31 2014-07-09 广东威灵电机制造有限公司 Method and device for measuring stator resistance and temperature detection method and device
CN104378037A (en) * 2014-11-07 2015-02-25 美的集团股份有限公司 Current regulating method and device for air conditioner and single rotor compressor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115566952A (en) * 2022-10-27 2023-01-03 成都哈工驱动科技有限公司 Permanent magnet synchronous motor stator electromagnetic parameter identification method

Similar Documents

Publication Publication Date Title
CN110890855A (en) Parameter identification method for permanent magnet synchronous motor of electric vehicle
CN105680746B (en) A method of designing permasyn morot electric current and speed control PI parameters using online particle swarm optimization algorithm
JP2008029193A (en) Method of adjusting parameters of synchronous motor, and variable speed drive using such a method
BR102012025991B1 (en) METHOD AND SYSTEM FOR ESTIMATING THE ROTOR ANGLE OF AN ELECTRICAL MACHINE
JP6361450B2 (en) Induction motor control device
CN113866480A (en) Detection of offset errors in phase current measurements for motor control systems
CN110635737B (en) Motor driving device
JP2001268978A (en) Motor control device
CN110855194B (en) Method and device for determining zero position of motor
CN108964556A (en) For driving the senseless control device of permanent magnetic synchronous electrical motor
KR20210021485A (en) Sensor fault monitoring and identification method in electric drive system
CN106788056B (en) Online identification method and device for motor stator resistance and motor control system
CN112083349B (en) Method for diagnosing turn-to-turn short circuit fault of stator winding of permanent magnet synchronous motor
CN108562775B (en) Electric vehicle motor control system and current detection correction method thereof
KR101754441B1 (en) Apparatus for determining start of electric motor
CN109883575B (en) Motor winding temperature detection method based on winding resistance
CN105024613A (en) Obtaining method of motor off-line resistance value, controller and air conditioner
EP3507898B1 (en) Techniques for limiting electrical current provided to a motor in an electric power steering system
KR100837938B1 (en) Motor Control Device and Method of Hybrid Vehicle
CN113037161A (en) Model reference self-adaptive permanent magnet synchronous motor position-sensorless vector control method based on super-distortion sliding mode algorithm
KR101779613B1 (en) On-line parameter correcting method for sensorless control of interior permanent magnet synchronous motor
WO2019148514A1 (en) Control method for correcting pmsm compensation item
CN110784132B (en) Determination method and device for motor zero position
CN108736784A (en) The method and apparatus for measuring the temperature of the stator winding of permanent magnet synchronous motor
CN106707161A (en) Motor counter-electromotive force coefficient off line identification method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151104

RJ01 Rejection of invention patent application after publication