MOTOR CONTROL DEVICE AND MOTOR CONTROL METHOD
20220329189 · 2022-10-13
Inventors
Cpc classification
H02P23/14
ELECTRICITY
H02P27/047
ELECTRICITY
International classification
H02P23/14
ELECTRICITY
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]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
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
[0023] As shown in
[0024] As shown in
[0025] As shown in
[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):
[0033] As shown in
[0034] As shown in
[0035] As shown in
Qin=1.5(V.sub.γi.sub.δ−V.sub.δi.sub.γ) (9)
[0036] As shown in
Pin=1.5(V.sub.δi.sub.δ+V.sub.γi.sub.γ) (10)
[0037] As shown in
[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
[0043] As shown in
[0044] As shown in
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
[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.