MOTOR CONTROL DEVICE
20230291340 · 2023-09-14
Assignee
- NATIONAL UNIVERSITY CORPORATION GUNMA UNIVERSITY (Maebashi-shi, Gunma, JP)
- SANDEN CORPORATION (Isesaki-shi, Gunma, JP)
Inventors
- Seiji HASHIMOTO (Maebashi-shi, Gunma, JP)
- Masayuki KIGURE (Isesaki-shi, Gunma, JP)
- Makoto SHIBUYA (Isesaki-shi, Gunma, JP)
Cpc classification
H02P2207/05
ELECTRICITY
H02P21/13
ELECTRICITY
International classification
H02P21/00
ELECTRICITY
H02P21/13
ELECTRICITY
Abstract
Provided is a motor control device capable of improving efficiency in real time by a neural network structure that directly derives, in a learning manner, an output signal providing optimal efficiency. A motor control device 1 is adapted to control a motor 6, and includes a neural network compensator 11 that receives input signals and repeats learning based on forward propagation and backpropagation thereby to derive an output signal providing optimal efficiency. Input signals are a motor current, a motor parameter and torque, and the like, and output signals are a current command value and a current phase command value. The motor 6 is controlled on the basis of an output signal derived by the neural network compensator 11.
Claims
1. A motor control device that is a control device for controlling a motor, comprising: a neural network compensator receiving an input signal and repeating learning based on forward propagation and backpropagation thereby to derive an output signal providing optimal efficiency, wherein the input signal is any one of, or a combination of, or all of a motor current, a motor parameter, and torque, the output signal is a current command value and/or a current phase command value, and the motor is controlled on the basis of the output signal derived by the neural network compensator.
2. The motor control device according to claim 1, wherein the input signal is any one of, or a combination of, or all of a q-axis current command value i.sub.q*, a q-axis current i.sub.q, a current peak command value i.sub.p*, a current peak value ip, a d-axis inductance L.sub.d, a q-axis inductance L.sub.q, a magnetic flux density φ, a torque command value τ*, and present torque τ.
3. The motor control device according to claim 1, wherein the output signal is a current peak command value i.sub.p* and/or a current phase command value θ.sub.i*.
4. The motor control device according to any one of claims 1, wherein the neural network compensator uses a squared torque error or a squared current error as a teacher signal, and derives the output signal from the input signal in a learning manner such that the teacher signal is minimized.
5. The motor control device according to claim 4, wherein the teacher signal is any one of a squared error (τ*-τ).sup.2 of present torque τ with respect to a torque command value τ*, a squared error (i.sub.p*-i.sub.p).sup.2 of a current peak value i.sub.p with respect to a current peak command value i.sub.p*, and a squared error (i.sub.q*-i.sub.q).sup.2 of a q-axis current i.sub.q with respect to a q-axis current command value i.sub.q*.
6. The motor control device according to claim 1, wherein the neural network compensator uses a current peak command value i.sub.p* and a current peak value i.sub.p as the input signals, uses a squared error (i.sub.p*-i.sub.p).sup.2 of the current peak value i.sub.p with respect to the current peak command value i.sub.p* as a teacher signal, and uses a current phase command value θ.sub.i* as the output signal so as to derive the output signal from the input signals in a learning manner such that the teacher signal is minimized.
7. The motor control device according to claim 1, wherein the neural network compensator uses a q-axis current command value i.sub.q* and a q-axis current i.sub.q as the input signals, uses a squared error (i.sub.q*-i.sub.q).sup.2 of the q-axis current iq with respect to the q-axis current command value i.sub.q* as a teacher signal, and uses a current phase command value θ.sub.i* as the output signal so as to derive the output signal from the input signals in a learning manner such that the teacher signal is minimized.
8. The motor control device according to claim 1, wherein the neural network compensator uses a current peak value i.sub.p, a d-axis inductance L.sub.d, a q-axis inductance L.sub.q, and a magnetic flux density φ as the input signals, uses a squared error (τ*-τ).sup.2 of present torque τ with respect to a torque command value τ* as a teacher signal, and uses a current peak command value i.sub.p* and/or a current phase command value θ.sub.i* as the output signal so as to derive the output signal from the input signals in a learning manner such that the teacher signal is minimized.
9. The motor control device according to claim 1, wherein the neural network compensator uses a torque command value τ* and present torque τ as the input signals, uses a squared error (τ*-τ).sup.2 of the present torque τ with respect to the torque command value τ* as a teacher signal, and uses a current peak command value i.sub.p* and/or a current phase command value θ.sub.i* as the output signal so as to derive the output signal from the input signals in a learning manner such that the teacher signal is minimized.
10. The motor control device according to any one of claims 1, wherein the motor is a permanent-magnet synchronous motor.
11. The motor control device according to any one of claims 1, including: a motor drive unit driving and controlling the motor; and a motor control unit controlling the motor by the motor drive unit on the basis of the output signal of the neural network compensator.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
[0049]
[0050]
[0051]
[0052]
[0053]
[0054]
MODE FOR CARRYING OUT THE INVENTION
[0055] The following will describe in detail the embodiments of the present invention with reference to the accompanying drawings.
Embodiment 1
Motor Control Device 1
[0056]
Inverter Circuit 9
[0057] The inverter circuit 9 is configured by a plurality of (six) bridge-connected switching elements. Each switching element of the inverter circuit 9 is switched by a PWM signal generated by a PWM signal generator 8 of the motor control unit 3, which will be described later.
Motor Control Unit 3
[0058] The motor control unit 3 in the embodiment is adapted to generate a d-axis voltage command value Vd* and a q-axis voltage command value Vq* in a direction for eliminating a difference between an estimated mechanical angular velocity value ω′.sub.m and a mechanical angular velocity command value ω* of the motor 6 on the basis of the difference therebetween, and eventually generate a PWM signal for switching each switching element of the inverter circuit 9 by using the PWM signal generator 8 on the basis of the d-axis voltage command value Vd* and the q-axis voltage command value Vq* so as to drive the motor 6 by sensorless vector control. The means for controlling the motor 6 is not limited to the sensorless control, but a position sensor may be used.
[0059] The motor control unit 3 of this embodiment is composed of a microcomputer, which is an example of a computer provided with a processor, and includes, as the functions thereof, a neural network compensator 11, a speed controller 12, a converter 13, a current controller 14, a decoupling compensator 16, a phase voltage command calculator 7, the PWM signal generator 8, a dq-axis current converter 10, a three-phase current estimator 17, a magnet position estimator 18, a revolution speed calculator 19, and the like.
[0060] The three-phase current estimator 17 estimates each phase current (U-phase current i.sub.u, V-phase current i.sub.v, and W-phase current i.sub.w) from each phase voltage output by the phase voltage command calculator 7, namely, a U-phase voltage command value V.sub.u*, a V-phase voltage command value V.sub.v* and a W-phase voltage command value V.sub.w* (the six PWM signals generated by the PWM signal generator 8 may alternatively be used), and the phase current of one phase passing through the inverter circuit 9 detected by one shunt resistor (one-shunt current detection method). Other possible methods of detecting the current of each phase include a two-shunt current detection method in which two shunt resistors are used to detect the phase currents of two phases, a three-shunt current detection method in which three shunt resistors are used to detect the phase currents of three phases, and a Hall CT current detection method in which a Hall CT is used to detect phase currents.
[0061] The magnet position estimator 18 in this embodiment estimates an estimated electrical angle value θ′.sub.e from each phase current, namely, the U-phase current i.sub.u, the V-phase current i.sub.v, and the W-phase current i.sub.w, output by the three-phase current estimator 17. Other than these, the U-phase voltage command value V.sub.u*, the V-phase voltage command value V.sub.v* and the W-phase voltage command value V.sub.w* may be used, and the d-axis voltage command value Vd* and the q-axis voltage command value Vq* may be used for estimating the estimated electrical angle value θ′.sub.e. Further, the d-axis voltage command value Vd*, the q-axis voltage command value Vq*, the d-axis current i.sub.d, and the q-axis current i.sub.q may be used. In addition, any one of or a combination of, or all of the U-phase current i.sub.u, the V-phase current i.sub.v, the W-phase current i.sub.w, the U-phase voltage command value V.sub.u*, the V-phase voltage command value V.sub.v* the W-phase voltage command value V.sub.w*, the d-axis voltage command value V.sub.d.sup.∗, the q-axis voltage command value V.sub.q.sup.∗, the d-axis current i.sub.d, and the q-axis current i.sub.q may be used to estimate the estimated electrical angle value θ′.sub.e. Further, the revolution speed calculator 19 estimates the aforementioned estimated mechanical angular velocity value ω′.sub.m from the estimated electrical angle value θ′.sub.e output by the magnet position estimator 18. Further, the dq-axis current converter 10 derives the d-axis current i.sub.d and the q-axis current i.sub.q from the estimated electrical angle value θ′.sub.e output by the magnet position estimator 18. In addition, the estimated electrical angle value θ′.sub.e output by the magnet position estimator 18 is further input to the phase voltage command calculator 7, and the d-axis current i.sub.d and the q-axis current i.sub.q output by the dq-axis current converter 10 and the estimated mechanical angular velocity value ω′.sub.m output by the revolution speed calculator 19 are input to the decoupling compensator 16. In addition, the estimated mechanical angular velocity value ω′.sub.m output by the revolution speed calculator 19 is further input to a subtractor 21. The mechanical angular velocity command value ω.sup.∗ is input to the subtractor 21, and the estimated mechanical angular velocity value ω′.sub.m is subtracted from the mechanical angular velocity command value ω.sup.∗ in the subtractor 21 to calculate the difference therebetween. In the case where the position sensor is used to control the motor 6 as described above, the mechanical angular velocity (ω) detected by the position sensor is input, in place of the estimated mechanical angular velocity value ω′.sub.m, to the subtractor 21.
[0062] The difference calculated by the subtractor 21 is input to the speed controller 12. The speed controller 12 calculates the current peak command value i.sub.p.sup.∗ by PI calculation and the relational expression of the current peak value i.sub.p and torque. Instead of the calculation based on such an expression, a map set offline on the basis of the relationship between the current peak value i.sub.p and torque may be used to calculate the current peak command value i.sub.p.sup.∗. Further, when using the expression, parameters may be identified or estimated online to improve accuracy. The current peak command value i.sub.p.sup.∗ is input as the other input to the converter 13. The current phase command value θ.sub.1.sup.∗ output by the neural network compensator 11 is input to one input of the converter 13. The neural network compensator 11 will be described in detail later.
[0063] The converter 13 derives the d-axis current command value i.sub.d.sup.∗ and the q-axis current command value i.sub.q.sup.∗ from the current phase command value θ.sub.1.sup.∗ and the current peak command value i.sub.p.sup.∗. The converter 13 derives the d-axis current command value i.sub.d.sup.∗ and the q-axis current command value i.sub.q.sup.∗ according to expression (1) given below. [Math. 1]
[0064] The d-axis current command value i.sub.d.sup.∗ and the q-axis current command value i.sub.q.sup.∗ output by the converter 13 are input to subtractors 22 and 23, respectively. The d-axis current i.sub.d and the q-axis current i.sub.q output by the dq-axis current converter 10 are input to the subtractors 22 and 23, respectively, and the differences are calculated in the subtractors 22 and 23.
[0065] The differences output by the subtractors 22 and 23 are input to the current controller 14. The current controller 14 performs the PI calculation by using the differences to generate and output the d-axis voltage command value V.sub.d.sup.∗ and the q-axis voltage command value V.sub.q.sup.∗. These d-axis voltage command value V.sub.d.sup.∗ and the q-axis voltage command value V.sub.q.sup.∗ are input to the phase voltage command calculator 7 after the decoupling compensator 16 cancels the interference between the d- and q- axes (the outputs being denoted by V′.sub.d.sup.∗ and V′.sub.q.sup.∗ in
[0066] Based on the d-axis voltage command value V’.sub.d.sup.∗ and the q-axis voltage command value V′.sub.q.sup.∗, and the estimated electrical angle value θ′.sub.e output by the magnet position estimator 18, the phase voltage command calculator 7 generates the U-phase voltage command value V.sub.u.sup.∗, the V-phase voltage command value V.sub.v.sup.∗, and the W-phase voltage command value V.sub.w.sup.∗, and outputs the generated voltage command values to the PWM signal generator 8. Based on the voltage command values V.sub.u.sup.∗, V.sub.v.sup.∗, and V.sub.w.sup.∗ of the individual phases, the PWM signal generator 8 generates PWM signals for switching (PWM controlling) the switching elements of the inverter circuit 9. Then, the phase voltages Vu, Vv, and Vw are applied to the motor 6 from the inverter circuit 9, thus achieving the sensorless vector control of the motor 6 in the embodiment.
Neural Network Compensator 11 (Embodiment 1-1)
[0067] Referring now to
[0068] The output signals can be the current peak command value i.sub.p.sup.∗ (the command value of the current peak value i.sub.p) and the current phase command value θ.sub.1.sup.∗ that provide optimal efficiency. The input signals can be the current peak value i.sub.p that influences an output, the d-axis inductance L.sub.d, the q-axis inductance L.sub.q, and the interlinkage magnetic flux φ, which are the parameters of the motor 6 (motor parameters) to be controlled. Additional input signals can be the torque command value τ.sup.∗ and the present torque τ. Further, the teacher signals to be minimized can be the squared error (τ.sup.∗-τ).sup.2 of the present torque τ with respect to the torque command value τ.sup.∗, the squared error (i.sub.p.sup.∗-i.sub.p).sup.2 of the current peak value i.sub.p with respect to the current peak command value i.sub.p.sup.∗, and the squared error (i.sub.q.sup.∗-i.sub.q).sup.2 of the q-axis current i.sub.q with respect to the q-axis current command value i.sub.q.sup.∗.
[0069] The neural network compensator 11 of the embodiment (Embodiment 1-1) in
[0070] In other words, in order to derive the current phase command value θ.sub.1.sup.∗ providing optimal efficiency, the current peak command value i.sub.p.sup.∗ and the current peak value i.sub.p are used as the input signals, and the squared error (i.sub.p.sup.∗-i.sub.p).sup.2 of the current peak value i.sub.p with respect to the current peak command value i.sub.p.sup.∗ is used as the teacher signal to be minimized. The neural network compensator 11 is a multilayer neural network compensator, and repeats learning based on forward propagation and backpropagation to derive the current phase command value θ.sub.1.sup.∗ that is optimal for minimizing the teacher signal in real time.
[0071] The embodiment in
[0072] Referring now to the internal structure illustrated in
[0073] The internal structure of the neural network (NN) compensator 11 is as illustrated in
[0074] where w.sub.i denotes a weight, θ denotes a threshold value, and σ denotes an activation function in Expression (II). Further, an update expression (learning expression) of the weight w.sub.i and the threshold value θ is Expression (III). [Math. 3]
[0075] where α denotes a learning rate, and E denotes a loss function (the sum of squared errors) in Expression (III).
Neural Network Compensator 11 (Embodiment 1-2)
[0076] Referring now to
[0077] The neural network compensator 11 of the embodiment (Embodiment 1-2) of
[0078] In other words, in order to derive the current phase command value θ.sub.1.sup.∗ providing optimal efficiency, the q-axis current command value i.sub.q.sup.∗ and the q-axis current i.sub.q are used as the input signals, and the squared error (i.sub.q.sup.∗-i.sub.q).sup.2 of the q-axis current i.sub.q with respect to the q-axis current command value i.sub.q.sup.∗ is used as the teacher signal to be minimized. The neural network compensator 11 in this embodiment is also a multilayer neural network compensator, and repeats learning based on forward propagation and backpropagation to derive the current phase command value θ.sub.1.sup.∗ that is optimal for minimizing the teacher signal in real time.
[0079] The embodiment of
Evaluating the Motor Control Devices 1 in FIG. 1 to FIG. 5
[0080] Referring now to
[0081] In
[0082] Meanwhile, in the current response waveforms of
[0083] In the general motor control system not using a neural network compensator, the d-axis current i.sub.d was zero in a steady state when a torque disturbance was applied. In contrast, it can be verified that the motor control device 1 in
[0084] Further,
[0085] Next,
[0086] In
[0087] Regarding the speed response in
[0088] Meanwhile, regarding the current response waveforms in
[0089] It can be verified that the motor control device 1 (the one-dot chain lines) using the neural network compensator 11 in
[0090] Further,
[0091] From the results of the power loss on the upper side of the diagram, it can be verified that, at a steady-state value when a step torque disturbance is applied, the motor control device 1 (the one-dot chain line) using the neural network compensator 11 (NN2) in
[0092] Referring now to
[0093]
[0094] Further,
[0095] From the results of
[0096] Further, from the results of the power loss (copper loss) on the upper side of
[0097] Thus, it can be verified from
Embodiment 2
[0098] Referring now to
Neural Network Compensator 11 (Embodiment 2-1)
[0099] A neural network compensator 11 of the embodiment (Embodiment 2-1) in
[0100] In other words, in this case, in order to derive the current peak command value i.sub.p.sup.∗ that provides optimal efficiency for torque control, the current peak value i.sub.p, the d-axis inductance L.sub.d (hat), the q-axis inductance L.sub.q (hat), and the interlinkage magnetic flux φ (hat) are used as the input signals, and the squared error (τ.sup.∗-τ).sup.2 of the present torque τ with respect to the torque command value τ.sup.∗ is used as the teacher signal to be minimized. The neural network compensator 11 of this embodiment is also a multilayer neural network compensator, and repeats learning based on forward propagation and backpropagation to derive the current peak command value i.sub.p.sup.∗ that is optimal for minimizing the teacher signal in real time.
Neural Network Compensator 11 (Embodiment 2-2)
[0101] A neural network compensator 11 of the embodiment (Embodiment 2-2) in
[0102] In other words, in this case also, in order to derive the current peak command value i.sub.p.sup.∗ providing optimal efficiency and the current phase command value θ.sub.1.sup.∗ providing optimal efficiency for torque control, the current peak value i.sub.p, the d-axis inductance L.sub.d (hat), the q-axis inductance L.sub.q (hat), and the interlinkage magnetic flux φ (hat) are used as input signals, and the squared error (τ.sup.∗-τ).sup.2 of the present torque τ with respect to the torque command value τ.sup.∗ is used for the teacher signal to be minimized. The neural network compensator 11 of this embodiment is also a multilayer neural network compensator, and repeats learning based on forward propagation and backpropagation to derive the current peak command value i.sub.p.sup.∗ and the current phase command value θ.sub.1.sup.∗ that are optimal for minimizing the teacher signal in real time.
Neural Network Compensator 11 (Embodiment 2-3)
[0103] A neural network compensator 11 of the embodiment (Embodiment 2-3) in
[0104] In other words, in this case also, in order to derive the current phase command value θ.sub.1.sup.∗ providing optimal efficiency, the current peak value i.sub.p, the d-axis inductance L.sub.d (hat), the q-axis inductance L.sub.q (hat), and the interlinkage magnetic flux φ (hat) are used as input signals, and the squared error (τ.sup.∗-τ).sup.2 of the present torque τ with respect to the torque command value τ.sup.∗ is used as the teacher signal to be minimized. The neural network compensator 11 of this embodiment is also a multilayer neural network compensator, and repeats learning based on forward propagation and backpropagation to derive the current phase command value θ.sub.1.sup.∗ that is optimal for minimizing the teacher signal in real time.
Embodiment 3
[0105] Referring now to
Neural Network Compensator 11 (Embodiment 3-1)
[0106] A neural network compensator 11 of an embodiment (Embodiment 3-1) in
[0107] In other words, in this case, in order to derive the current peak command value i.sub.p.sup.∗ that provides optimal efficiency for torque control, the torque command value τ.sup.∗ and the present torque τ are used as the input signals, and the squared error (τ.sup.∗-τ).sup.2 of the present torque τ with respect to the torque command value τ.sup.∗ is used as the teacher signal to be minimized. The neural network compensator 11 of this embodiment is also a multilayer neural network compensator, and repeats learning based on forward propagation and backpropagation to derive the current peak command value i.sub.p.sup.∗ that is optimal for minimizing the teacher signal in real time.
Neural Network Compensator 11 (Embodiment 3-2)
[0108] A neural network compensator 11 of an embodiment (Embodiment 3-2) in
[0109] In other words, in this case also, in order to derive the current phase command value θ.sub.1.sup.∗ that provides optimal efficiency, the torque command value τ.sup.∗ and the present torque τ are used as the input signals, and the squared error (τ.sup.∗-τ).sup.2 of the present torque τ with respect to the torque command value τ.sup.∗ is used as the teacher signal to be minimized. The neural network compensator 11 of this embodiment is also a multilayer neural network compensator, and repeats learning based on forward propagation and backpropagation to derive the current phase command value θ.sub.1.sup.∗ that is optimal for minimizing the teacher signal in real time.
Neural Network Compensator 11 (Embodiment 3-3)
[0110] A neural network compensator 11 of an embodiment (Embodiment 3-3) in
[0111] In other words, in this case also, in order to derive the current peak command value i.sub.p.sup.∗ that provides optimal efficiency and the current phase command value θ.sub.1.sup.∗ that provides optimal efficiency for torque control, the torque command value τ.sup.∗ and the present torque τ are used as the input signals, and the squared error (τ.sup.∗-τ).sup.2 of the present torque τ with respect to the torque command value τ.sup.∗ is used as the teacher signal to be minimized. The neural network compensator 11 of this embodiment is also a multilayer neural network compensator, and repeats learning based on forward propagation and backpropagation to derive the current peak command value i.sub.p.sup.∗ and the current phase command value θ.sub.1.sup.∗ that are optimal for minimizing the teacher signal in real time.
[0112] The present invention described above in detail makes it possible to achieve highly efficient control in controlling the motor 6 (permanent-magnet synchronous motor) by deriving, in a learning manner, the current peak value command i.sub.p.sup.∗ or the current phase command value θ.sub.1.sup.∗, or both thereof, which minimize the squared error between the torque command τ.sup.∗ and the present torque τ, or the squared error between the current command values (i.sub.p.sup.∗, i.sub.q.sup.∗) and the present current (i.sub.p, i.sub.q) on the basis of the neural network, and then by performing control using the derived command values.
[0113] In other words, according to the present invention, the neural network learning uses the squared torque error (τ.sup.∗-τ) or the squared q-axis current error (i.sub.q.sup.∗-i.sub.q) or the squared current peak value error (i.sub.p.sup.∗-i.sub.p) as the teacher signal, uses the present torque τ, the q-axis current i.sub.q, the current peak value i.sub.p and the command values τ.sup.∗, i.sub.q.sup.∗ and i.sub.p.sup.∗ thereof and further the motor parameter (plant parameter) d-axis inductance L.sub.d, the q-axis inductance L.sub.q, the interlinkage magnetic flux φ as the input signals to the neural network learning, and uses the current phase command value θ.sub.1.sup.∗ and the current peak command value i.sub.p.sup.∗ as the outputs by the neural network learning.
[0114] Thus, neural network outputs that optimize (minimize) teacher signals can be derived in a learning manner at the time of real-time feedback control. The optimization learning is derived in a learning manner (automatically) even when target values are changed or disturbance torque is changed, consequently providing the effect of highly efficient control. In addition, even when parameters (motor parameters: d-axis inductance L.sub.d, q-axis inductance L.sub.q, and interlinkage magnetic flux φ) of a control object (the motor 6) change, optimal learning can be performed without identifying (or estimating) the values thereof, so that high efficiency can be achieved.
[0115] The input signals of the neural network compensator 11 shown in each of the above-described embodiments are not limited thereto, but may be other combinations of, or all of the q-axis current command value i.sub.q.sup.∗, the q-axis current i.sub.q, the current peak command value i.sub.p.sup.∗, the current peak value i.sub.p, the d-axis inductance L.sub.d, the q-axis inductance L.sub.q, the magnetic flux density φ, the torque command value τ.sup.∗, and the present torque τ.
[0116] Further, the control objects of the motor control device of the present invention are not limited to the permanent-magnet synchronous motors shown in the embodiments except for the invention of claim 10.
DESCRIPTION OF REFERENCE NUMERALS
[0117] 1 motor control device [0118] 3 motor control unit [0119] 6 motor [0120] 11 neural network compensator [0121] 12 speed controller [0122] 13 converter [0123] 14 current controller