MOTOR CONTROL DEVICE AND MOTOR CONTROL METHOD

20220329189 · 2022-10-13

    Inventors

    Cpc classification

    International classification

    Abstract

    A motor control method includes the following steps: receiving a frequency command and an excitation current setting value as a motor speed command; running a magnetic flux calculation program to generate a magnetic flux voltage command; generating a synchronous coordinate voltage command, and providing a three-phase current to a sensorless motor; calculating a synchronous coordinate feedback current based on the three-phase current, and calculating an effective current value of three-phase current; calculating a reactive power feedback value based on synchronous coordinate voltage command and the synchronous coordinate feedback current; running a steady state calculation program to calculate a reactive power command based on frequency command and the effective current value; calculating a reactive power error value between the reactive power command and the reactive power feedback value; and adding magnetic flux voltage command and reactive power error value to adjust synchronous coordinate voltage command and change three-phase current.

    Claims

    1. A motor control method for a motor without a sensor comprising: receiving a frequency command and an excitation current setting value as a motor speed command; running a magnetic flux calculation program to generate a magnetic flux voltage command according to the motor speed command; converting the magnetic flux voltage command into a synchronous coordinate voltage command, and generating a three-phase current to the motor; calculating a synchronous coordinate feedback current based on the three-phase current, and calculating an effective current value of the three-phase current; calculating a reactive power feedback value based on the synchronous coordinate voltage command and the synchronous coordinate feedback current; running a steady state calculation program to calculate a reactive power command based on the frequency command and the effective current value; calculating a reactive power error value between the reactive power command and the reactive power feedback value; and adding the magnetic flux voltage command and the reactive power error value to adjust the synchronous coordinate voltage command and change the three-phase current.

    2. The motor control method of claim 1, further comprising: calculating an active power feedback value based on the synchronous coordinate voltage command and the synchronous coordinate feedback current; calculating an air-gap power change based on the active power feedback value and the effective current value; and adjusting the synchronous coordinate voltage command and changing the three-phase current based on the air-gap power change.

    3. The motor control method of claim 1, further comprising: calculating an error value between the excitation current setting value and a direct feedback current of the synchronous coordinate feedback current to generate an excitation error value, wherein the excitation error value is used to be added to the magnetic flux voltage command and the reactive power error value to adjust the synchronous coordinate voltage command.

    4. The motor control method of claim 1, wherein the magnetic flux calculation program comprises: establishing a first direct equation and a first quadratic equation according to the motor speed command; respectively eliminating differential term parameters of the first direct equation and the first quadratic equation to establish a second direct equation and a second quadratic equation; respectively setting quadratic parameters of the second direct equation and the second quadratic equation as zero to establish a third direct equation and a third quadratic equation; and calculating the magnetic flux voltage command according to the third direct equation and the third quadratic equation.

    5. The motor control method of claim 4, wherein the steady state calculation program comprises: establishing a direct steady state equation and a quadratic steady state equation according to the frequency command and the effective current value to calculate a steady state value of a direct current and a steady state value of a quadratic current; adjusting a difference between the steady state value of the direct current and the steady state value of the quadratic current to fall within an error; and substituting the steady state value of the direct current and the steady state value of the quadratic current into the direct steady state equation and the quadratic steady state equation when the difference falls within the error to calculate the reactive power command.

    6. A motor control method for a motor without a sensor comprising: receiving a frequency command and an excitation current setting value as a motor speed command; running a magnetic flux calculation program to generate a magnetic flux voltage command according to the motor speed command; converting the magnetic flux voltage command into a synchronous coordinate voltage command, and generating a three-phase current to the motor without the sensor; calculating a synchronous coordinate feedback current based on the three-phase current, and calculating an effective current value of the three-phase current; calculating an active power feedback value based on the synchronous coordinate voltage command and the synchronous coordinate feedback current; calculating an air-gap power change based on the active power feedback value and the effective current value; and adjusting the synchronous coordinate voltage command and changing the three-phase current to the motor without the sensor based on the air-gap power change.

    7. The motor control method of claim 6, further comprising: calculating a reactive power feedback value based on the synchronous coordinate voltage command and the synchronous coordinate feedback current; running a steady state calculation program to calculate a reactive power command based on the frequency command and the effective current value; calculating a reactive power error value between the reactive power command and the reactive power feedback value; calculating an error value between the excitation current setting value and a direct feedback current of the synchronous coordinate feedback current to obtain an excitation error value; and adding the magnetic flux voltage command, the excitation error value, and the reactive power error value to adjust the synchronous coordinate voltage command and change the three-phase current to the motor without the sensor.

    8. The motor control method of claim 7, wherein the magnetic flux calculation program comprises: establishing a first direct equation and a first quadratic equation according to the motor speed command; respectively eliminating differential term parameters of the first direct equation and the first quadratic equation to establish a second direct equation and a second quadratic equation; respectively setting quadratic parameters of the second direct equation and the second quadratic equation as zero to establish a third direct equation and a third quadratic equation; and calculating the magnetic flux voltage command according to the third direct equation and the third quadratic equation.

    9. The motor control method of claim 8, wherein the steady state calculation program comprises: establishing a direct steady state equation and a quadratic steady state equation according to the frequency command and the effective current value to calculate a steady state value of a direct current and a steady state value of a quadratic current; adjusting a difference between the steady state value of the direct current and the steady state value of the quadratic current to fall within an error; and substituting the steady state value of the direct current and the steady state value of the quadratic current into the direct steady state equation and the quadratic steady state equation when it is determined that the difference falls within the error to calculate the reactive power command.

    10. A motor control device for a motor without a sensor comprising: a magnetic flux arithmetic unit configured to receive a frequency command and an excitation current setting value to calculate a magnetic flux voltage command; a drive arithmetic unit configured to convert the magnetic flux voltage command into a synchronous coordinate voltage command, and generate a three-phase current to the motor; a feedback arithmetic unit configured to calculate a synchronous coordinate feedback current based on the three-phase current, and obtain an effective current value of the three-phase current, wherein the feedback arithmetic unit calculates a reactive power feedback value based on the synchronous coordinate voltage command and the synchronous coordinate feedback current; and a compensation arithmetic unit configured to calculate a reactive power command based on the frequency command and the effective current value; wherein the compensation arithmetic unit is configured to calculate a reactive power error value between the reactive power command and the reactive power feedback value; wherein the drive arithmetic unit is further configured to add the magnetic flux voltage command and the reactive power error value to adjust the synchronous coordinate voltage command and change the three-phase current.

    11. The motor control device of claim 10, wherein the compensation arithmetic unit is further configured to calculate an error value between the excitation current setting value and a direct feedback current of the synchronous coordinate feedback current to obtain an excitation error value, so that the excitation error value is added to the magnetic flux voltage command and the reactive power error value to adjust the synchronous coordinate voltage command.

    12. The motor control device of claim 10, wherein the feedback arithmetic unit is further configured to calculate an active power feedback value based on the synchronous coordinate voltage command and the synchronous coordinate feedback current.

    13. The motor control device of claim 12, further comprising: a stability arithmetic unit configured to calculate an air-gap power change based on the active power feedback value and the effective current value, wherein the drive arithmetic unit further adjusts the synchronous coordinate voltage command and change the three-phase current based on the air-gap power change.

    14. The motor control device of claim 10, wherein the magnetic flux arithmetic unit is further configured to: establish a first direct equation and a first quadratic equation according to the frequency command and the excitation current setting value; respectively eliminate differential term parameters of the first direct equation and the first quadratic equation to establish a second direct equation and a second quadratic equation; respectively set quadratic parameters of the second direct equation and the second quadratic equation as zero to establish a third direct equation and a third quadratic equation; and calculate the magnetic flux voltage command according to the third direct equation and the third quadratic equation.

    15. The motor control device of claim 10, wherein the compensation arithmetic unit is further configured to: establish a direct steady state equation and a quadratic steady state equation according to the frequency command and the effective current value to calculate a steady state value of a direct current and a steady state value of a quadratic current; adjust a difference between the steady state value of the direct current and the steady state value of the quadratic current to fall within an error; and substitute the steady state value of the direct current and the steady state value of the quadratic current into the direct steady state equation and the quadratic steady state equation when it is determined that the difference falls within the error to calculate the reactive power command.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0012] The accompanying drawings are included to provide a further understanding of the present disclosure, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

    [0013] FIG. 1A depicts a schematic diagram of a motor control device according to some embodiments of the present disclosure;

    [0014] FIG. 1B depicts a schematic diagram of a magnetic flux arithmetic unit according to some embodiments of the present disclosure;

    [0015] FIG. 1C depicts a schematic diagram of a steady state compensation circuit according to some embodiments of the present disclosure;

    [0016] FIG. 1D depicts a schematic diagram of a low-speed compensation circuit according to some embodiments of the present disclosure;

    [0017] FIG. 1E depicts a schematic diagram of a stability arithmetic unit according to some embodiments of the present disclosure;

    [0018] FIG. 2A and FIG. 2B depict flowcharts of a motor control method according to some embodiments of the present disclosure;

    [0019] FIG. 3 depicts a flowchart of a magnetic flux calculation program according to some embodiments of the present disclosure; and

    [0020] FIG. 4 depicts a flowchart of a steady state calculation program according to some embodiments of the present disclosure.

    DESCRIPTION OF THE EMBODIMENTS

    [0021] In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the disclosed embodiments. It will be apparent, however, that one or more embodiments may be practiced without these specific details. In other instances, well-known structures and elements are schematically depicted in order to simplify the drawings. It is noted that a motor without a sensor hereinafter called usually refers to a motor without a position sensor (for example: an encoder)

    [0022] A description is provided with reference to FIG. 1A, FIG. 1B, FIG. 1C, FIG. 1D, FIG. 1E, FIG. 2A and FIG. 2B to illustrate the following various embodiments. As shown in FIG. 1A, a motor control device 100 comprises a magnetic flux arithmetic unit 110, a compensation arithmetic unit 120, a stability arithmetic unit 130, a drive arithmetic unit 140, a feedback arithmetic unit 150, and a current sensing element 160. The motor control device 100 is configured to drive a motor 200 without a sensor. The motor 200 may be a synchronous reluctance motor, but the present disclosure is not limited in this regard.

    [0023] As shown in FIG. 2A and FIG. 2B, the present disclosure provides a motor control method 300, and the motor control method 300 is adapted for the motor 200 without the sensor. The motor control method 300 comprises steps S201 to S211, and the motor control method 300 is performed by the motor control device 100 (as shown in FIG. 1A).

    [0024] As shown in FIG. 1A, FIG. 1B, and FIG. 2A, in step S201, the magnetic flux arithmetic unit 110 of the motor control device 100 receives a frequency command ω.sub.e and an excitation current setting value Io as a motor speed command. In some embodiments, the magnetic flux arithmetic unit 110 comprises a predetermined magnetic flux curve 110a and a magnetic flux calculation program 110b, as shown in FIG. 1B. The predetermined magnetic flux curve 110a is a curve obtained based on a ratio of the excitation current setting value Io to the frequency command ω.sub.e (for example: Io/ω.sub.e), and is used for recording characteristics of the motor 200. Through the predetermined magnetic flux curve 110a, the magnetic flux arithmetic unit 110 can only receive the frequency command ω.sub.e to obtain the excitation current setting value Io or only receive the excitation current setting value Io to obtain the frequency command ω.sub.e. Or, under the circumstances that the predetermined magnetic flux curve 110a is not disposed, the magnetic flux arithmetic unit 110 simultaneously receives the excitation current setting value Io and the frequency command ω.sub.e. In addition, the frequency command ω.sub.e can generate a drive angle θ.sub.e through a 1/S operator. The 1/S operator is a Laplace transform or a Fourier transform commonly used by those skilled in the art. Since those skilled in the art can understand its meaning and operation method and the present disclosure is not limited in this regard, a description is not provided here.

    [0025] As shown in FIG. 1A, FIG. 1B, and FIG. 2A, in step S202, the magnetic flux arithmetic unit 110 runs the magnetic flux calculation program 110b according to the motor speed command (including the excitation current setting value Io and the frequency command ω.sub.e) to generate a magnetic flux voltage command V.sub.vf. A description is provided with reference to FIG. 1A, FIG. 1B and FIG. 3 for the illustration of the operating principle of the magnetic flux calculation program 110b.

    [0026] The magnetic flux calculation program 110b comprises steps S301 to S304. In step S301, the magnetic flux arithmetic unit 110 establishes a first direct equation and a first quadratic equation according to the motor speed command. The first direct equation is shown as equation (1), and the first quadratic equation is shown as equation (2).


    v.sub.d=R.sub.si.sub.d+L.sub.dpi.sub.d−ω.sub.γL.sub.qi.sub.q   (1)


    v.sub.q=R.sub.si.sub.q+L.sub.qpi.sub.q+ω.sub.γL.sub.di.sub.d   (2)

    [0027] Where V.sub.d is a direct voltage of a motor stator, v.sub.q is a quadratic voltage of the motor stator, R.sub.s is a resistance of the motor stator, L.sub.d is a direct self-inductance of a motor, L.sub.q is a quadratic self-inductance of the motor, i.sub.d is a direct current of the motor stator, i.sub.q is a quadratic current of the motor stator, ω.sub.γ is a rotation speed of a motor rotor, and p is a differential term factor. It is noted that equations (1) and (2) represent two-axis voltage equations of the motor 200. R.sub.s, L.sub.d, and L.sub.q in equations (1) and (2) are linear parameters of the motor, and these linear parameters are preset in a program of the motor control device 100 (or the magnetic flux arithmetic unit 110). Additionally, i.sub.d and i.sub.q come from the excitation current setting value Io, and ω.sub.γ comes from the frequency command ω.sub.e.

    [0028] In step S302, the magnetic flux arithmetic unit 110 respectively eliminates differential term parameters of the first direct equation and the first quadratic equation (such as: L.sub.dpi.sub.d, L.sub.qpi.sub.q) to establish a second direct equation (as shown in equation (3)) and a second quadratic equation (as shown in equation (4)).


    v.sub.d=R.sub.si.sub.d−ω.sub.βL.sub.qi.sub.q   (3)


    v.sub.q=R.sub.si.sub.q+ω.sub.γL.sub.di.sub.d   (4)

    [0029] The purpose of eliminating the differential term parameters of the first direct equation and the first quadratic equation is to assume that the motor 200 maintains a steady state (that is, the rotation speed of the motor 200 remains unchanged). Hence, equation (3) is also regarded as a direct steady state equation, and equation (4) is also regarded as a quadratic steady state equation. At this time, i.sub.d can also be regarded as a steady state value of the direct current, and i.sub.q can also be regarded as a steady state value of the quadratic current.

    [0030] In step S303, the magnetic flux arithmetic unit 110 respectively sets quadratic parameters of the second direct equation and the second quadratic equation (such as: i.sub.q) as zero to establish a third direct equation (as shown in equation (5)) and a third quadratic equation (as shown in equation (6)).


    v.sub.d=R.sub.si.sub.d   (5)


    v.sub.q=ω.sub.γL.sub.di.sub.d   (6)

    [0031] The purpose of setting the quadratic parameters of the second direct equation and the second quadratic equation as zero is to assume that the motor 200 is not connected to any load (that is, no load). It is noted that in order to improve control efficiency of the motor 200, it is necessary to assume that the motor 200 maintains an ideal state when calculating the magnetic flux voltage command V.sub.vf, and the ideal state is that the motor 200 maintains the steady state and has no load.

    [0032] In step S304, the magnetic flux arithmetic unit 110 calculates the magnetic flux voltage command V.sub.vf according to the third direct equation and the third quadratic equation. The calculation method of the magnetic flux voltage command V.sub.vf is shown in equation (7):

    [00001] V vf = 3 2 ( v d ) 2 + ( v q ) 2 = 3 2 ( R g i d ) 2 + ( ω γ L d i d ) 2 ( 7 )

    [0033] As shown in FIG. 1A and FIG. 2A, in step S203, the drive arithmetic unit 140 receives the magnetic flux voltage command V.sub.vf as a driving voltage signal V.sub.s, and the drive arithmetic unit 140 comprises a first coordinate conversion circuit 141, a second coordinate conversion circuit 142, and a modulation circuit 143. The first coordinate conversion circuit 141 converts the magnetic flux voltage command V.sub.vf into a synchronous coordinate voltage command V.sub.a based on a voltage compensation angle θ.sub.h. The second coordinate conversion circuit 142 generates a three-phase voltage V.sub.abc based on the drive angle θ.sub.e and the synchronous coordinate voltage command V.sub.a, and the modulation circuit 143 switches the three-phase voltage V.sub.abc to generate a three-phase current I.sub.abc to the motor 200. The method of generating the voltage compensation angle θ.sub.h is described in the following paragraphs. The synchronous coordinate voltage command V.sub.a comprises a direct voltage command V.sub.δ and quadratic voltage command V.sub.γ. It is noted that when the motor control device 100 operates for the first time, the magnetic flux voltage command V.sub.vf is equal to the driving voltage signal V.sub.s because not any feedback signal is generated. In addition to that, since the operating principle of the drive arithmetic unit 140 belongs to the conventional technology in the field, a description in this regard is not provided. Then, the motor control device 100 further comprises a current sensing element 160, and the current sensing element 160 is configured to detect the three-phase current I.sub.abc and transmit a measured value of the three-phase current I.sub.abc to the feedback arithmetic unit 150. In some other embodiments, the current sensing element 160 detects currents of any two phases of the three-phase current I.sub.abc and transmits them to the feedback arithmetic unit 150. The feedback arithmetic unit 150 calculates an unmeasured third-phase current based on the received currents of the any two phases.

    [0034] As shown in FIG. 1A and FIG. 2A, in step S204, a third coordinate conversion circuit 151 of the feedback arithmetic unit 150 calculates a synchronous coordinate feedback current I.sub.a based on the measured value of the three-phase current I.sub.abc and the drive angle θ.sub.e, and the synchronous coordinate feedback current I.sub.a comprises a direct feedback current i.sub.δ and a quadratic feedback current i.sub.γ. Then, a current calculation circuit 152 of the feedback arithmetic unit 150 uses an equation (8) to calculate an effective current value Is of the three-phase current I.sub.abc based on the direct feedback current i.sub.δ and the quadratic feedback current i.sub.γ. The equation (8) is shown as follows:

    [00002] Is = ( i δ ) 2 + ( i γ ) 2 2 ( 8 )

    [0035] As shown in FIG. 1A and FIG. 2A, in step S205, a power calculation circuit 153 of the feedback arithmetic unit 150 calculates a reactive power feedback value Qin based on the synchronous coordinate voltage command V.sub.a (including the direct voltage command V.sub.δ and the quadratic voltage command V.sub.γ) and the synchronous coordinate feedback current i.sub.a (including the direct feedback current i.sub.δ and the quadratic feedback current i.sub.γ). The power calculation circuit 153 comprises an equation (9), and calculates the reactive power feedback value Qin according to the equation (9). The equation (9) is shown as follows:


    Qin=1.5(V.sub.γi.sub.δ−V.sub.δi.sub.γ)   (9)

    [0036] As shown in FIG. 1A and FIG. 2A, in step S206, the power calculation circuit 153 of the feedback arithmetic unit 150 calculates an active power feedback value Pin based on the synchronous coordinate voltage command V.sub.a (including the direct voltage command V.sub.δ and the quadratic voltage command V.sub.γ) and the synchronous coordinate feedback current i.sub.a (including the direct feedback current i.sub.δ and the quadratic feedback current i.sub.γ). The power calculation circuit 153 comprises an equation (10), and calculates the active power feedback value Pin according to the equation (10). The equation (10) is shown as follows:


    Pin=1.5(V.sub.δi.sub.δ+V.sub.γi.sub.γ)   (10)

    [0037] As shown in FIG. 1A, FIG. 1C and FIG. 2B, in step S207, a steady state compensation circuit 121 of the compensation arithmetic unit 120 runs a steady state calculation program to calculate a reactive power command Qref based on the frequency command ω.sub.e and the effective current value Is. The steady state compensation circuit 121 comprises a reactive power controller 121a and an error controller 121b, and the reactive power controller 121a is configured to run the steady state calculation program. A description is provided with reference to FIG. 1C, FIG. 2A and FIG. 4 for the illustration of the operating principle of the steady state calculation program 500.

    [0038] The steady state calculation program 500 comprises steps S501 to S503. In step S501, the reactive power controller 121a establishes the direct steady state equation (as shown in equation (3)) and the quadratic steady state equation (as shown in equation (4)) according to the frequency command ω.sub.e and the effective current value Is, so as to calculate the steady state value of the direct current i.sub.d and the steady state value of the quadratic current i.sub.q.

    [0039] In step S502, the reactive power controller 121a adjusts a difference between the steady state value of the direct current i.sub.d and the steady state value of the quadratic current i.sub.q to fall within an error (ideal condition: the steady state value of the direct current i.sub.d is equal to the steady state value of the quadratic current i.sub.q).

    [0040] In step S503, when the reactive power controller 121a determines that the difference falls within the error, the steady state value of the direct current i.sub.d and the steady state value of the quadratic current i.sub.q are substituted into the direct steady state equation (equation (3)) and the quadratic steady state equation (equation (4)) to calculate the reactive power command Qref. The calculation method of the reactive power command Qref is shown in equation (11) and equation (12):


    Qref=1.5((R.sub.Si.sub.d+ω.sub.eL.sub.di.sub.d)i.sub.d−(R.sub.Si.sub.d−ω.sub.eL.sub.qi.sub.q)i.sub.q)   (11)

    [0041] After arranging equation (8) and equation (11), an equation (12) can be obtained:


    Qref=1.5ω.sub.eIs.sup.2(L.sub.d+L.sub.q)   (12)

    [0042] As shown in FIG. 1A, FIG. 1C and FIG. 2B, in step S208, the steady state compensation circuit 121 of the compensation arithmetic unit 120 calculates an error value between the reactive power command Qref and the reactive power feedback value Qin, and the error value, being used as a reactive power error value V.sub.com, is output to a low-pass filter 123 through the error controller 121b to filter out noises. In some embodiments, the motor control device 100 directly adds the magnetic flux voltage command V.sub.vf and the reactive power error value V.sub.com to serve as the driving voltage signal V.sub.s, and adjusts the synchronous coordinate voltage command V.sub.a (including the direct voltage command V.sub.δ and the quadratic voltage command V.sub.γ) through the drive arithmetic unit 140 to further change the three-phase current I.sub.abc so as to drive the motor 200.

    [0043] As shown in FIG. 1A, FIG. 1D and FIG. 2B, in step S209, when a low-speed compensation circuit 122 of the compensation arithmetic unit 120 determines that the direct feedback current i.sub.δ of the motor 200 is less than a predetermined threshold value (it indicates that the motor 200 is operating at a low speed), the low-speed compensation circuit 122 calculates an error value i.sub.err between the excitation current setting value Io and the direct feedback current i.sub.δ of the synchronous coordinate feedback current i.sub.a, and generates an excitation error value V.sub.tor through an error controller 122a. When the motor 200 operates at the low speed, a driving performance of the motor 200 is significantly reduced. Therefore, the excitation error value V.sub.tor calculated through the low-speed compensation circuit 122 is used as compensation, which can effectively increase the driving performance of the motor 200 that maintains at the low speed. In some embodiments, a signal generated by adding the excitation error value V.sub.tor and the reactive power error value V.sub.com is filtered through the low-pass filter 123 to filter out noises. The excitation error value V.sub.tor is used to be added to the magnetic flux voltage command V.sub.vf and the reactive power error value V.sub.com to adjust the synchronous coordinate voltage command V.sub.a.

    [0044] As shown in FIG. 1A, FIG. 1E and FIG. 2B, in step S210, a stability controller 130a of the stability arithmetic unit 130 calculates an air-gap power value P.sub.AG based on the active power feedback value Pin and the effective current value Is. The air-gap power value P.sub.AG represents power transmitted to the rotor of the motor from an air gap between the stator and the rotor. The stability controller 130a comprises an equation (13) to calculate the air-gap power value PAG. The equation (13) is shown as follows:


    P.sub.AG=Pin−3Is.sup.2R.sub.S   (13)

    [0045] Then, a high-pass filter 130b of the stability arithmetic unit 130 calculates an air-gap power change ΔP.sub.AG based on the real-time air-gap power value P.sub.AG. The air-gap power change ΔP.sub.AG indicates an oscillation condition of the motor 200, or an oscillation condition of a load (not shown in the figure) connected to the motor 200. After that, an error controller 130c of the stability arithmetic unit 130 generates a voltage compensation angle θ.sub.h based on the air-gap power change ΔP.sub.AG. The calculation method of the voltage compensation angle θ.sub.h is shown in equation (14):


    Θ.sub.h=−K.sub.p.Math.ΔP.sub.AG   (14)

    [0046] In equation (14), the voltage compensation angle θ.sub.h can be regarded as the oscillation condition of the motor 200, −K.sub.p is a negative proportional constant, and −K.sub.p is a proportional constant in inverse proportion to an output frequency. That is to say, the voltage compensation angle θ.sub.h represents an amount of compensation, which in turn causes that the motor 200 needs to generate a reaction torque to overcome the oscillation condition of the motor 200. Therefore, in order to reduce the above-mentioned oscillation of the motor 200, the stability arithmetic unit 130 provides the voltage compensation angle θ.sub.h to the drive arithmetic unit 140 based on the air-gap power change ΔP.sub.AG. As a result, the drive arithmetic unit 140 adjusts the synchronous coordinate voltage command V.sub.a, to further change the three-phase current I.sub.abc, thus allowing the motor 200 to generate the reaction torque.

    [0047] As shown in FIG. 1A and FIG. 2B, in step S211, when the motor 200 operates at the low speed, the motor control device 100 mainly adds the excitation error value V.sub.tor, the magnetic flux voltage command V.sub.vf, and the reactive power error value V.sub.com to be the driving voltage signal V.sub.s, so that the drive arithmetic unit 140 adjusts the synchronous coordinate voltage command V.sub.a, and further changes the three-phase current I.sub.abc. When the motor 200 does not operate at the low speed, the motor control device 100 mainly adds the magnetic flux voltage command V.sub.vf and the reactive power error value V.sub.com to be the driving voltage signal V.sub.s, so that the drive arithmetic unit 140 adjusts the synchronous coordinate voltage command V.sub.a, and further changes the three-phase current I.sub.abc.

    [0048] In the above steps S201 to S211, various compensations are performed for different conditions of the motor 200. However, the present disclosure is not limited in this regard. In one embodiment, if the probability of low-speed torque appearing in the motor 200 is not high, the motor control device 100 can adjust the synchronous coordinate voltage command V.sub.a only according to the magnetic flux voltage command V.sub.vf and the reactive power error value V.sub.com. Similarly, depending on different control requirements, the motor control device 100 can also adjust the synchronous coordinate voltage command V.sub.a only according to the air-gap power change ΔP.sub.AG to change the three-phase current I.sub.abc. In other words, the motor control device 100 can selectively compensate for one or more conditions (that is, no-load condition, loaded condition, low-speed torque condition, or air-gap power change) based on the driving situation.

    [0049] According to the present disclosure, the motor 200 is first driven through steps S201 to S203. Then, through steps S204 to S206, data including the synchronous coordinate feedback current i.sub.a (the direct feedback current i.sub.δ and the quadratic feedback current i.sub.γ), the effective current value Is, the reactive power feedback value Qin, and the active power feedback value Pin are calculated based on the feedbacked three-phase current I.sub.abc. Finally, through steps S207 to S211, the reactive power error value V.sub.com, the excitation error value V.sub.tor, and the air-gap power change (that is, the corresponding voltage compensation angle θ.sub.h) are generated to compensate for the possible errors of the motor 200 under different conditions.

    [0050] The “circuit” and “controller” mentioned in the present disclosure may be digital logic circuits, hardware circuits or other programming languages, but the present disclosure is not limited in this regard.

    [0051] The various elements, method steps, or technical features in the foregoing embodiments can be combined with one another, and are not limited to the order of the text description or the order of the drawings in the present disclosure.

    [0052] Although the present disclosure has been described in considerable detail with reference to certain embodiments thereof, other embodiments are possible. Therefore, the spirit and scope of the appended claims should not be limited to the description of the embodiments contained herein.

    [0053] It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present disclosure without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present disclosure cover modifications and variations of this present disclosure provided they fall within the scope of the following claims and their equivalents.