DETECTION METHOD AND APPARATUS FOR MOTOR PARAMETERS

20240356469 ยท 2024-10-24

    Inventors

    Cpc classification

    International classification

    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: R s = V dc 1 - V dc 2 i dc 1 - i dc 2 , 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.

    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: m = V rated - I rated * R s 2 * * f rated , 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.

    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: i hd = i d + i h 1 sin ( 2 * * f h 1 * t ) , wherein i.sub.hd is the third signal, i.sub.d is a DC offset on the d-axis, i.sub.h1 is an amplitude of the sinusoidal signal, and f.sub.h1 is a frequency of the sinusoidal signal.

    8. The method of claim 7, wherein the d-axis inductance La is determined according to the following formula: L d = V hd 2 * * f h 1 * i h 1 , wherein V.sub.hd is the third d-axis voltage.

    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: i hq = i h 2 sin ( 2 * * f h 2 * t ) , 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, wherein the q-axis inductance L.sub.q is determined according to the following formula: L q = V hq 2 * * f h 2 * i h 2 , wherein V.sub.hq is the fourth q-axis voltage.

    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: R s = V dc 1 - V dc 2 i dc 1 - i dc 2 , 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.

    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: m = V rated - I rated * R s 2 * * f rated , 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.

    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: i hd = i d + i h 1 sin ( 2 * * f h 1 * t ) , wherein i.sub.hd is the third signal, i.sub.d is a DC offset on the d-axis, in is an amplitude of the sinusoidal signal, and f.sub.h1 is a frequency of the sinusoidal signal, and wherein the determining device is further configured to determine the d-axis inductance L.sub.d according to the following formula: L d = V hd 2 * * f h 1 * i h 1 , wherein V.sub.hd is the third d-axis voltage.

    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: i hq = i h 2 sin ( 2 * * f h 2 * t ) , 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, wherein the q-axis inductance L.sub.q is determined according to the following formula: L q = V hq 2 * * f h 2 * i h 2 , wherein V.sub.hq is the fourth q-axis voltage.

    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] FIG. 1 shows a schematic flow chart of a method for detecting motor parameters;

    [0024] FIG. 2 shows a schematic structural diagram of an apparatus for detecting motor parameters;

    [0025] FIG. 3 shows a schematic diagram of injecting signals into a system including an apparatus for detecting motor parameters;

    [0026] FIG. 4 shows a waveform diagram of a signal injected into the d-q axis; and

    [0027] FIG. 5 shows a d-q axis equivalent circuit diagram of a permanent magnet synchronous motor.

    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] FIG. 1 shows a schematic flowchart of a method 1000 for detecting motor parameters. As shown in FIG. 1, the method 1000 includes the following steps: [0035] in step 110, injecting a first direct current signal; [0036] in step 120, 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; [0037] in step 130, injecting a second direct current signal different from the first direct current signal; [0038] in step 140, 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 [0039] in step 150, 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.

    [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 FIG. 3, which shows a schematic diagram of signal injection and parameter detection. As shown in FIG. 3, the current closed-loop control structure consists of a first mixer 312, a second mixer 314, a first PI controller 322, a second PI controller 324, a first coordinate system transformation module 330, and a space vector modulation module 340, an inverter module 350, and a second coordinate system transformation module 370. i.sub.dinj represents the current injection signal of the d-axis, i.sub.qinj represents the current injection signal of the q-axis, wherein i.sub.dinj is applied to the first mixer 312 so as to be mixed with the d-axis feedback current i.sub.dfdb output by the second coordinate system transformation module 370; similarly, i.sub.qinj is applied to the second mixer 314 to be mixed with the q-axis feedback current i.sub.qfdb output by the second coordinate system transformation module 370. The injected first/second direct current signal is to be understood as the sum of the d-axis current injection signal and the q-axis current injection signal.

    [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 FIG. 3, in the first time period, i.sub.dinj and i.sub.qinj (that is, components of the first DC signal on the d-axis and q-axis) are respectively injected into the input terminals of the first mixer 312 and the second mixer 314, thereby the first PI controller 322 outputting the first d-axis voltage Vd, the second PI controller 324 outputting the first q-axis voltage Vq, and the second coordinate system transformation module 370 outputting the first d-axis feedback current i.sub.dfdb and the first q-axis feedback current i.sub.qfdb and supplying them to the first mixer 312 and the second mixer 314 respectively. That is to say, the first d-axis voltage Vd and the first q-axis voltage Vq correspond to the injected first DC signal.

    [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:

    [00008] R s = V dc 1 - V dc 2 i dc 1 - i dc 2 ,

    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:

    [00009] m = V rated - I rated * R s 2 * * f rated ,

    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 FIG. 1, in one embodiment, the method 1000 may further include: injecting a third signal, the third signal is 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 corresponding to the third signal; and determining a d-axis inductance L.sub.d according to the third d-axis voltage.

    [0050] In one embodiment, the third signal is represented by the following formula:

    [00010] i hd = i d + i h 1 sin ( 2 * * f h 1 * t ) ,

    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 FIG. 3, during a third time period (for example, the third time period is immediately after the second time period), a third signal is injected into the input terminals of the first mixer 312 and the second mixer 314 (wherein, i.sub.dinj is equal to i.sub.hd, i.sub.qinj is equal to 0), thus the first PI controller 322 outputs the third d-axis voltage V.sub.d, the second PI controller 324 outputs the third q-axis voltage V.sub.q, and the second coordinate system transformation module 370 outputs the third d-axis feedback current i.sub.dfdb and the third q-axis feedback current i.sub.qfdb and provides them to the first mixer 312 and the second mixer 314 respectively. That is, the third d-axis voltage V.sub.d corresponds to the injected third signal.

    [0053] In this embodiment, the d-axis inductance La is determined according to the following formula:

    [00011] L d = V hd 2 * * f h 1 * i h 1 ,

    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:

    [00012] i hq = i h 2 sin ( 2 * * f h 2 * t ) ,

    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 FIG. 3, during a fourth time period (for example, the fourth time period is immediately after the third time period), a fourth signal is injected into the input terminals of the first mixer 312 and the second mixer 314 (wherein, i.sub.dinj is equal to 0, i.sub.qinj is equal to i.sub.hq), thus the first PI controller 322 outputs the fourth d-axis voltage V.sub.d, the second PI controller 324 outputs the fourth q-axis voltage V.sub.q, and the second coordinate system transformation module 370 outputs the fourth d-axis feedback current i.sub.dfdb and the fourth q-axis feedback current i.sub.qfdb and provides them to the first mixer 312 and the second mixer 314 respectively. That is, the fourth q-axis voltage V.sub.q corresponds to the injected fourth signal.

    [0058] In this embodiment, the q-axis inductance L.sub.q is determined according to the following formula:

    [00013] L q = V hq 2 * * f h 2 * i h 2 ,

    wherein V.sub.hq is the fourth q-axis voltage.

    [0059] FIG. 4 shows a waveform diagram of signals injected into the d-q axis according to an embodiment of the invention, wherein the first DC signal, the second DC signal, the third signal and the fourth signal are injected onto the d-q axis in sequence. As shown in FIG. 4, reference numeral 412 represents the component of the injected current signal on the d-axis, namely i.sub.dinj, and reference numeral 414 represents the component of the injected current signal on the q-axis, namely i.sub.qinj. In FIG. 4, reference numeral 440 shows an enlarged view of the component on the d-axis and the component on the q-axis of the injected current signal framed by the dotted box 430. It can be seen from the enlarged part that a sine wave (i.e., the third signal) is first injected on the d-axis, and then a sine wave (i.e., the fourth signal) is injected on the q-axis.

    [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] FIG. 2 shows a schematic structural diagram of an apparatus for detecting motor parameters 2000. As shown in FIG. 2, the apparatus 2000 includes: a first receiving device 210, a second receiving device 220, and a determining device 230, wherein the first receiving device 210 is used 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; the second receiving device 220 is used 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 the determining device 230 is used 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.

    [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 FIG. 3, the motor 360 is a permanent magnet synchronous motor PMSM, and an apparatus for detecting motor parameters is denoted by reference numeral 380. The detection apparatus 380 receives the output d-axis feedback current i.sub.dfdb and q-axis feedback current i.sub.qfdb from the second coordinate system transformation module 370, and also receives the d-axis voltage V.sub.d from the first PI controller 322, receives the q-axis voltage V.sub.q from the second PI controller 324, and then obtain one or more motor parameters.

    [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:

    [00014] R s = V dc 1 - V dc 2 i dc 1 - i dc 2 ,

    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:

    [00015] m = V rated - I rated * R s 2 * * f rated ,

    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 FIG. 2, in one embodiment, the apparatus 2000 may further include: a third receiving device for receiving the third d-axis voltage output by the current regulation module, the third d-axis voltage corresponding to the injected third signal, and the third signal is a sinusoidal signal with a certain frequency and amplitude applied on the d-axis. The determining device 230 is further configured to determine a d-axis inductance L.sub.d according to the third d-axis voltage.

    [0067] In one embodiment, the third signal is represented by the following formula:

    [00016] i hd = i d + i h 1 sin ( 2 * * f h 1 * t ) ,

    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:

    [00017] L d = V hd 2 * * f h 1 * i h 1 ,

    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:

    [00018] i hq = i h 2 sin ( 2 * * f h 2 * t ) ,

    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:

    [00019] L q = V hq 2 * * f h 2 * i h 2 ,

    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 FIG. 5. In FIG. 5, the circuit diagram of the left half shows the equivalent circuit of the d-axis, and the circuit diagram of the right half shows the equivalent circuit of the q-axis. As shown in FIG. 5, for example, in the d-axis equivalent circuit, the stator resistance R.sub.s is coupled in series with the counter electromotive force .sub.ds.sup.r and the leakage inductance L.sub.ls. Similarly, in the q-axis equivalent circuit, the stator resistance R.sub.s is coupled in series with the counter electromotive force .sub.ds.sup.r and the leakage inductance L.sub.ls. Those skilled in the art can understand that the sum of the leakage inductance L.sub.ls and the d-axis excitation inductance L.sub.md is the d-axis inductance L.sub.d. Similarly, the sum of the leakage inductance L.sub.ls and the q-axis excitation inductance L.sub.mq is the q-axis inductance L.sub.q.

    [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.