DETECTION METHOD AND APPARATUS FOR MOTOR PARAMETERS
20240356469 ยท 2024-10-24
Inventors
Cpc classification
H02P23/14
ELECTRICITY
International classification
H02P21/14
ELECTRICITY
Abstract
Disclosed is a method for detecting motor parameters, comprising: injecting a first direct current signal; receiving a first d-q axis feedback current corresponding to the first direct current signal and a first d-q axis voltage output by a current regulation module; injecting a second direct current signal different from the first direct current signal; receiving a second d-q axis feedback current corresponding to the second direct current signal and a second d-q axis voltage output by the current regulation module; and determining motor parameters based on the first d-q axis feedback current, the first d-q axis voltage, the second d-q axis feedback current and the second d-q axis voltage. Also disclosed is an apparatus for detecting motor parameters, a computer program product and an air conditioner compressor system.
Claims
1. A method for detecting motor parameters, characterized by comprising: injecting a first direct current signal; receiving a first d-q axis feedback current corresponding to the first direct current signal and a first d-q axis voltage output by a current regulation module; injecting a second direct current signal different from the first direct current signal; receiving a second d-q axis feedback current corresponding to the second direct current signal and a second d-q axis voltage output by the current regulation module; and determining motor parameters based on the first d-q axis feedback current, the first d-q axis voltage, the second d-q axis feedback current and the second d-q axis voltage.
2. The method of claim 1, wherein the motor is a permanent magnet synchronous motor and the current regulation module is a PI controller.
3. The method of claim 2, wherein both the first direct current signal and the second direct current signal are positive currents on the d-axis.
4. The method of claim 3, wherein the motor parameters include a stator resistance R.sub.s, wherein the stator resistance R.sub.s is determined according to the following formula:
5. The method of claim 4, wherein the motor parameters include permanent magnet flux linkage .sub.m, wherein the permanent magnet flux linkage .sub.m is determined according to the following formula:
6. The method of claim 5, further comprising: injecting a third signal, the third signal being a sinusoidal signal with a certain frequency and amplitude applied on the d-axis; receiving a third d-axis voltage output by the current regulation module, the third d-axis voltage being corresponding to the third signal; and determining a d-axis inductance La according to the third d-axis voltage.
7. The method of claim 6, wherein the third signal is represented by the following formula:
8. The method of claim 7, wherein the d-axis inductance La is determined according to the following formula:
9. The method of claim 6, further comprising: injecting a fourth signal, the fourth signal being a sinusoidal signal with a certain frequency and amplitude applied on the q-axis; receiving a fourth q-axis voltage output by the current regulation module, the fourth q-axis voltage being corresponding to the fourth signal; and determining a q-axis inductance L.sub.q according to the fourth q-axis voltage, wherein the fourth signal is represented by the following formula:
10. A apparatus for detecting motor parameters, comprising: a first receiving device for receiving a first d-q axis feedback current corresponding to an injected first direct current signal and a first d-q axis voltage output by a current regulation module; a second receiving device for receiving a second d-q axis feedback current corresponding to an injected second direct current signal and a second d-q axis voltage output by the current regulation module; and a determining device for determining the motor parameters based on the first d-q axis feedback current, the first d-q axis voltage, the second d-q axis feedback current and the second d-q axis voltage.
11. The apparatus of claim 10, wherein the motor is a permanent magnet synchronous motor and the current regulation module is a PI controller, and both the first direct current signal and the second direct current signal are positive currents on the d-axis.
12. The apparatus of claim 11, wherein the motor parameters include a stator resistance R.sub.s, wherein the determining device is configured to determine the stator resistance R.sub.s according to the following formula:
13. The apparatus of claim 12, wherein the motor parameters include permanent magnet flux linkage .sub.m, wherein the determining device is configured to determine the permanent magnet flux linkage .sub.m according to the following formula:
14. The apparatus of claim 13, further comprising: a third receiving device for receiving a third d-axis voltage output by the current regulation module, the third d-axis voltage being corresponding to the third signal which is a sinusoidal signal with a certain frequency and amplitude applied on the d-axis; and the determining device is also configured to determine a d-axis inductance La according to the third d-axis voltage.
15. The apparatus of claim 14, wherein the third signal is represented by the following formula:
16. The apparatus of claim 14, further comprising: a fourth receiving device for receiving a fourth q-axis voltage output by the current regulation module, the fourth q-axis voltage being corresponding to an injected fourth signal which is a sinusoidal signal with a certain frequency and amplitude applied on the q-axis; and the determining device is further configured to determine a q-axis inductance L.sub.q according to the fourth q-axis voltage, wherein the fourth signal is represented by the following formula:
17. An air-conditioning compressor system, characterized by comprising: a permanent magnet synchronous motor; and the apparatus according to claim 10, for detecting motor parameters of the permanent magnet synchronous motor.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The above and other objects and advantages of the method and apparatus will be more fully understood from the following detailed description in conjunction with the accompanying drawings, wherein the same or similar elements are denoted by the same reference numerals.
[0023]
[0024]
[0025]
[0026]
[0027]
DETAILED DESCRIPTION OF THE INVENTION
[0028] The invention is described more fully hereinafter with reference to the accompanying drawings, in which illustrative embodiments of the invention are shown. However, the invention may be embodied in different forms, and should not be construed as being limited to only the embodiments given herein. The above-mentioned embodiments are given to make the disclosure herein comprehensive and complete, so as to more fully convey the protection scope of the invention to those skilled in the art.
[0029] In this specification, terms such as comprising and including mean that in addition to the units and steps that are directly and explicitly stated in the specification and claims, the technical solution of the invention does not exclude the situation of other units and steps not directly or explicitly stated.
[0030] Terms such as first and second do not indicate the sequence of elements in terms of time, space, size, etc., but are only used to distinguish the elements unless otherwise specified.
[0031] According to some embodiments, the detection scheme of the motor parameters is implemented by receiving the first d-q axis feedback current corresponding to the injected first direct current signal and the first d-q axis voltage, the second d-q axis feedback current corresponding to the injected second direct current signal and the second d-q axis voltage and determining motor parameters based on the first d-q axis feedback current, the first d-q axis voltage, the second d-q axis feedback current and the second d-q axis voltage. By using two DC signals, the influence of the dead zone (time) of the inverter can be effectively avoided, thereby ensuring the accuracy of the motor parameters. This scheme uses the current closed-loop structure of vector control to avoid the risk of overcurrent, and does not require additional hardware equipment.
[0032] In addition, in some embodiments, both the first DC signal and the second DC signal are positive currents on the d-axis, which can effectively keep the rotor stationary (making the final measured motor parameters more accurate), and can avoid the risk of PMSM demagnetization.
[0033] Specific embodiments are further described below with reference to the accompanying drawings. It should be noted that, in order to describe the content related to the invention more clearly, some unnecessary features or circuit elements are not shown in the drawings. However, for those skilled in the art, this omission will not cause difficulty in implementing the technical solution described herein.
[0034]
[0040] In the context of this application, the term motor may also be referred to as electric motor, which is a device that converts electrical energy into mechanical energy. It uses the energized coil (that is, the stator winding) to generate a rotating magnetic field and acts on the rotor to form a magneto-electric force rotation torque. In one or more embodiments, the motor may be a permanent magnet synchronous motor PMSM.
[0041] The term motor parameters is used to denote parameters related to vector control of the motor. In one embodiment, the motor parameters include: stator resistance, inductance, and permanent magnet flux linkage.
[0042] In step S110 and step S130, the first direct current signal and the second direct current signal are respectively injected. Here, both the first DC signal and the second DC signal are injected into the input side of the current closed-loop control structure of the motor. For example, see
[0043] In one or more embodiments, the current regulation module is a PI controller, also known as a proportional-integral controller. Of course, those skilled in the art can understand that the current regulation module can also be a PID controller.
[0044] Referring to
[0045] In the second time period (for example, the second time period is immediately after the first time period), a second DC signal different from the first DC signal (with different current vector values) is injected into the input terminals of the first mixer 312 and the second mixer 314. It should be noted that at this time i.sub.dinj and i.sub.qinj represent the components of the second DC signal on the d-axis and q-axis, so the first PI controller 322 outputs the second d-axis voltage Vd, the second PI controller 324 outputs the second q-axis voltage Vq, the second coordinate system transformation module 370 outputs the second d-axis feedback current i.sub.dfdb and the second q-axis feedback current i.sub.qfdb, and provides them to the first mixer 312 and the second mixer 314 respectively. That is to say, the second d-axis voltage Vd and the second q-axis voltage Vq correspond to the injected second direct current signal.
[0046] In one embodiment, both the first direct current signal and the second direct current signal are positive currents on the d-axis. That is to say, the component of the first DC signal and the second DC signal on the d-axis is positive DC, while the component on the q-axis is 0. This can effectively keep the rotor stationary (making the finally measured motor parameters more accurate), and can avoid the risk of demagnetization of the permanent magnet synchronous motor 360.
[0047] In step S150, motor parameters are determined based on the received first d-q axis feedback current, first d-q axis voltage, second d-q axis feedback current and second d-q axis voltage. In embodiments where both the first DC signal and the second DC signal are positive currents on the d-axis, the motor parameters may include stator resistance R.sub.s, which may be determined, for example, according to the following equation:
wherein V.sub.dc1 is a d-axis voltage in the first d-q axis voltage, V.sub.dc2 is a d-axis voltage in the second d-q axis voltage, i.sub.dc1 is a d-axis feedback current value in the first d-q axis feedback current, and i.sub.dc2 is a d-axis feedback current value in the second d-q axis feedback current, and i.sub.dc1>i.sub.dc2.
[0048] After calculating the stator resistance R.sub.s, in an embodiment, the permanent magnet flux linkage .sub.m can be further calculated, wherein the permanent magnet flux linkage .sub.m can be determined according to the following formula:
wherein V.sub.rated is a rated (working) voltage of the permanent magnet synchronous motor, I.sub.rated is a rated current of the permanent magnet synchronous motor, and f.sub.rated is a rated frequency of the permanent magnet synchronous motor. Here, the rated voltage, rated current and rated frequency of the permanent magnet synchronous motor are all known quantities, for example, can be obtained from the nameplate of the permanent magnet synchronous motor.
[0049] Although not shown in
[0050] In one embodiment, the third signal is represented by the following formula:
wherein i.sub.hd is the third signal, i.sub.d is the DC bias on the d-axis (its magnitude is, for example, equal to the d-axis feedback current value i.sub.dc2 in the second d-q axis feedback current), i.sub.h1 is an amplitude of the sinusoidal signal, and f.sub.h1 is a frequency of the sinusoidal signal. In one embodiment, the frequency is 400-600 Hz, and this value range is a good balance between the detection accuracy of the motor parameters and the detection requirements of the digital controlleron the one hand, the frequency is much higher than the mechanical frequency (need to be as high as possible to avoid rotor rotation); on the other hand, the frequency takes into account the detection needs of the digital controller (in order to effectively restore the sine wave, the frequency cannot be too high).
[0051] Same as the first DC signal and the second DC signal, the third signal is also injected into the input side of the current closed-loop control structure of the motor. Since the third signal is only applied on the d-axis, its component on the q-axis is 0. For example, the d-axis component i.sub.dinj injected into the first mixer 312 is equal to i.sub.hd, while the i.sub.qinj injected into the input terminal of the second mixer 314 is 0.
[0052] Continuing to refer to
[0053] In this embodiment, the d-axis inductance La is determined according to the following formula:
wherein V.sub.hd is the third d-axis voltage.
[0054] In one embodiment, the method 1000 further includes: injecting a fourth signal, the fourth signal is a sinusoidal signal with a certain frequency and amplitude applied on the q-axis; receiving the fourth q-axis voltage output by the current regulation module, which corresponds to the fourth signal; and determining the q-axis inductance L.sub.q according to the fourth q-axis voltage.
[0055] In one embodiment, the fourth signal is represented by the following formula:
wherein i.sub.hq is the fourth signal, i.sub.h2 is an amplitude of the sinusoidal signal, and f.sub.h2 is a frequency of the sinusoidal signal. In one embodiment, the frequency is 400-600 Hz, and this value range is a good balance between the detection accuracy of the motor parameters and the detection requirements of the digital controlleron the one hand, the frequency is much higher than the mechanical frequency (the frequency needs to be as high as possible to avoid rotor rotation); on the other hand, the frequency takes into account the detection needs of the digital controller (in order to effectively restore the sine wave, the frequency cannot be too high).
[0056] Same as the first DC signal and the second DC signal, the fourth signal is also injected into the input side of the current closed-loop control structure of the motor. Since the fourth signal is only applied on the q-axis, its component on the d-axis is 0. For example, the d-axis component i.sub.dinj injected into the first mixer 312 is equal to 0, while the i.sub.qinj injected into the input terminal of the second mixer 314 is i.sub.hq.
[0057] Continuing to refer to
[0058] In this embodiment, the q-axis inductance L.sub.q is determined according to the following formula:
wherein V.sub.hq is the fourth q-axis voltage.
[0059]
[0060] In addition, those skilled in the art can easily understand that the method 1000 provided by the foregoing one or more embodiments can be implemented by a computer program. For example, the computer program is included in a computer program product, and when the computer program is executed by a processor, the motor parameter detection method 1000 of one or more embodiments is implemented. For another example, when the computer storage medium (such as a USB flash drive) storing the computer program is connected to the computer, running the computer program can execute the motor parameter detection method 1000 of one or more embodiments of the invention.
[0061]
[0062] In one embodiment, the motor is a permanent magnet synchronous motor PMSM, the current regulation module is a PI controller, and both the first DC signal and the second DC signal are positive currents on the d-axis.
[0063] For example, continuing to refer to
[0064] In one embodiment, the motor parameters include stator resistance R.sub.s. In this embodiment, the determining device 230 is configured to determine the stator resistance R.sub.s according to the following equation:
wherein V.sub.dc1 is a d-axis voltage in the first d-q axis voltage, V.sub.dc2 is a d-axis voltage in the second d-q axis voltage, i.sub.dc1 is a d-axis feedback current value in the first d-q axis feedback current, and i.sub.dc2 is a d-axis feedback current value in the second d-q axis feedback current, and i.sub.dc1>i.sub.dc2.
[0065] In an embodiment, the motor parameters include the permanent magnet flux linkage .sub.m and the determining device 230 is configured to determine the permanent magnet flux linkage .sub.m according to the following formula:
wherein V.sub.rated is a rated voltage of the permanent magnet synchronous motor, I.sub.rated is a rated current of the permanent magnet synchronous motor, and f.sub.rated is a rated frequency of the permanent magnet synchronous motor.
[0066] Although not shown in
[0067] In one embodiment, the third signal is represented by the following formula:
wherein i.sub.hd is the third signal, i.sub.d is the DC bias on the d-axis, in is an amplitude of the sinusoidal signal, and f.sub.h1 is a frequency of the sinusoidal signal.
[0068] In this way, the determining device 230 is configured to determine the d-axis inductance L.sub.d according to the following formula:
wherein V.sub.hd is the third d-axis voltage.
[0069] In one embodiment, the apparatus 2000 further includes: a fourth receiving device for receiving a fourth q-axis voltage output by the current regulation module, the fourth q-axis voltage being corresponding to an injected fourth signal which is a sinusoidal signal with a certain frequency and amplitude applied on the q-axis; and the determining device 230 is further configured to determine the q-axis inductance L.sub.q according to the fourth q-axis voltage.
[0070] In one embodiment, the fourth signal is represented by the following formula:
wherein i.sub.hq is the fourth signal, i.sub.h2 is an amplitude of the sinusoidal signal, and f.sub.h2 is a frequency of the sinusoidal signal. In this way, the determining device 230 is configured to determine the q-axis inductance L.sub.q according to the following formula:
wherein V.sub.hq is the fourth q-axis voltage.
[0071] The above apparatus for detecting motor parameters 2000 can be applied to various motor systems, including but not limited to air conditioner compressor systems. In one embodiment, the air conditioner compressor system includes: a permanent magnet synchronous motor; and an apparatus for detecting motor parameters 2000, wherein the detection apparatus 2000 is used for detecting the motor parameters of the permanent magnet synchronous motor.
[0072] In the context of this invention, a number of motor parameter calculation formulas are provided. In one or more embodiments, these calculation formulas can be derived based on the d-q axis equivalent circuit model of the permanent magnet synchronous motor as shown in
[0073] The above examples mainly illustrate the technical solutions of one or more embodiments of the invention. Although only some of the embodiments of the invention have been described, those skilled in the art should understand that the invention can be implemented in many other forms without departing from the gist and scope thereof. Therefore, the shown examples and embodiments are to be regarded as illustrative rather than restrictive, and the invention may cover various modifications and substitutions without departing from the spirit and scope of the invention as defined in the claims.