Motor Control Device
The motor control device uses a neural network compensator to learn and adapt to motor parameter changes, ensuring efficient motor control and minimizing losses, even with variations in product quality or environmental conditions.
Patent Information
- Application Number
- JP2020148516
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-09-03
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2040-09-03
AI Technical Summary
Existing motor control systems face challenges in minimizing losses and maintaining efficiency due to variations in motor parameters caused by product variations, aging, and temperature changes, leading to decreased responsiveness.
A motor control device utilizing a neural network compensator that learns through forward propagation and back propagation to derive optimal efficiency signals, minimizing squared errors in current command values and phase angles to adapt to motor parameter changes.
The system effectively maintains motor efficiency and reduces losses in real-time by accurately controlling motors with variations, allowing the use of less expensive motors and reducing adaptation time and costs.
Smart Images

Figure 0007557314000012 
Figure 0007557314000020 
Figure 0007557314000025
Abstract
Description
[Technical field]
[0001] The present invention relates to a motor control device for controlling the operation of a motor. [Background technology]
[0002] Interior permanent magnet (IPM) motors (permanent magnet synchronous motors) have a structure in which permanent magnets are placed inside the rotor, and can also use reluctance torque, making it easy to achieve high efficiency, so they have been widely used in home appliances, industrial equipment, automotive applications, etc. In addition, with the recent development of AI technology, its introduction in the field of motor control has also been considered.
[0003] For example, Patent Document 1 proposes a learning device and a learning method for optimizing the PI gain of a current controller in a motor current control system by learning with the amount of overshoot, amount of undershoot, and rise time of a current in response to a step-like torque command as a reward.Also, for example, Patent Document 2 proposes a machine learning method capable of learning an optimal current command for a motor.
[0004] In this document, a motor current command value is derived by learning using motor torque, motor current, and motor voltage as rewards.Furthermore, for example, Patent Document 3 proposes a device that uses a neural network means to derive a primary voltage and a phase angle and controls an induction machine. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2017-34844 A [Patent Document 2] JP 2018-14838 A [Patent Document 3] Patent No. 3054521 Summary of the Invention [Problem to be solved by the invention]
[0006] However, with any of the configurations described in the literature, it is difficult to minimize losses and prevent a decrease in efficiency with good responsiveness in response to fluctuations in motor parameters due to product variations in motors and aging.
[0007] The present invention has been made to solve the above-mentioned conventional technical problems, and has an object to provide a motor control device that can improve efficiency in real time by using a neural network structure to learn and derive an output signal that directly results in optimal efficiency. [Means for solving the problem]
[0008] The invention of claim 1 The motor control device is a control device for controlling a motor, and includes a neural network compensator that receives an input signal and repeats learning by forward propagation and backward propagation to derive an output signal that provides optimal efficiency; This neural network compensator calculates the current peak command value i p * and the current peak value i p is used as the input signal, and the current peak command value i p * Current peak value i p The squared error of (i p * -i p ) 2 is used as the teacher signal, and the current phase command value θ i * is used as an output signal, and the output signal is derived from the input signal by learning so as to minimize the teacher signal, The motor is controlled based on the output signal derived by the neural network compensator.
[0009] The motor control device of the present invention is a control device for controlling a motor, and includes a neural network compensator that receives an input signal and repeats learning by forward propagation and backward propagation to derive an output signal that provides optimal efficiency. The neural network compensator calculates a q-axis current command value i q * and q-axis current i q is the input signal, and the q-axis current command value i q * q-axis current i q The squared error of (i q* -i q ) 2 is used as the teacher signal, and the current phase command value θ i * The neural network compensator controls the motor based on the output signal derived from the input signal by learning so as to minimize the teacher signal, using the output signal as the output signal.
[0010] The invention of claim 3 The motor control device according to the present invention is characterized in that the motor in each of the above-mentioned inventions is a permanent magnet synchronous motor.
[0011] The invention of claim 4 The motor control device of the present invention is characterized in that it comprises a motor drive unit that drives and controls the motor, and a motor control unit that controls the motor by the motor drive unit based on an output signal of the neural network compensator. Effect of the Invention
[0012] The invention of claim 1 According to the motor control device of the above, a neural network compensator is provided that receives an input signal and repeats learning by forward propagation and backward propagation to derive an output signal that provides optimal efficiency, This neural network compensator calculates the current peak command value i p * and the current peak value i p is used as the input signal, and the current peak command value i p * Current peak value i p The squared error of (i p * -i p ) 2 is used as the teacher signal, and the current phase command value θ i * is used as an output signal, and the output signal is derived from the input signal by learning so as to minimize the teacher signal, Since the motor is controlled based on the output signal derived by the neural network compensator, it is possible to minimize losses in real time and prevent a decrease in efficiency even when there is product variation in the motor or when motor parameters fluctuate due to magnetic saturation, aging, or temperature changes.
[0013] This makes it possible to use inexpensive motors with greater variation, and also significantly reduces the amount of work required to adapt the parameters, thereby enabling cost savings and achieving so-called robustness.
[0014] In particular, the current peak command value i p * and the current peak value i p is used as the input signal, and the current peak command value i p * Current peak value i p The squared error of (i p * -i p ) 2 is used as the teacher signal, and the current phase command value θ i * is used as an output signal, and the output signal is derived from the input signal through learning so as to minimize the teacher signal. This makes it possible to accurately control the motor at optimal efficiency even when torque cannot be detected.
[0015] According to the motor control device of the invention of claim 2, a neural network compensator is provided that receives an input signal, repeats learning by forward propagation and backward propagation, and derives an output signal that provides optimal efficiency. The neural network compensator calculates a q-axis current command value i q * and q-axis current i q is used as the input signal, and the q-axis current command value i q * q-axis current i q The squared error of (i q * -i q ) 2 is used as the teacher signal, and the current phase command value θ i * is used as the output signal, and the output signal is derived from the input signal through learning so as to minimize the teacher signal. This makes it possible to minimize losses in real time and prevent a decrease in efficiency even when there is product variation in the motor or when motor parameters fluctuate due to magnetic saturation, aging, or temperature changes.
[0016] This makes it possible to use inexpensive motors with greater variation, and also significantly reduces the amount of work required to adapt the parameters, thereby enabling cost savings and achieving so-called robustness.
[0017] In particular, the q-axis current command value i q * and q-axis current i q is the input signal, and the q-axis current command value i q * q-axis current i q The squared error of (i q *-i q ) 2 is used as the teacher signal, and the current phase command value θ i * By using this as the output signal and deriving the output signal from the input signal through learning so as to minimize the teacher signal, it becomes possible to accurately control the motor at optimal efficiency even when torque cannot be detected.
[0018] In addition, the above inventions The invention of claim 3 This is effective for permanent magnet synchronous motors such as The invention of claim 4 The motor is controlled by further providing a motor drive section that drives and controls the motor as described above, and a motor control section that controls the motor by the motor drive section based on an output signal of the neural network compensator. [Brief description of the drawings]
[0019] [Figure 1] FIG. 1 is a block diagram of a motor control device according to an embodiment of the present invention (1 of embodiment 1). [Diagram 2] FIG. 2 is a block diagram of a neural network compensator of the motor controller of FIG. 1. [Diagram 3] FIG. 3 is a diagram illustrating an example of the internal structure of the neural network compensator of FIG. 2. [Figure 4] FIG. 2 is a block diagram of a motor control device according to another embodiment to which the present invention is applied (second embodiment of first embodiment). [Diagram 5] FIG. 5 is a block diagram of a neural network compensator of the motor controller of FIG. 4. [Figure 6] FIG. 5 is a diagram showing a velocity response waveform in the case of FIG. 4. [Figure 7] FIG. 5 is a diagram showing a torque response waveform in the case of FIG. 4. [Figure 8] FIG. 5 is a diagram showing a current response waveform in the case of FIG. 4. [Figure 9] FIG. 5 is a diagram showing power loss and energy loss in the case of FIG. 4. [Figure 10] FIG. 2 is a diagram showing a velocity response waveform in the case of FIG. 1; [Figure 11] FIG. 2 is a diagram showing a torque response waveform in the case of FIG. 1. [Figure 12] FIG. 2 is a diagram showing a current response waveform in the case of FIG. 1. [Figure 13] FIG. 2 is a diagram showing power loss and energy loss in the case of FIG. 1; [Figure 14] FIG. 5 is a diagram showing speed response waveforms in the cases of FIGS. 1 and 4 when motor parameters are changed. [Figure 15] FIG. 5 is a diagram showing torque response waveforms in the cases of FIGS. 1 and 4 when motor parameters are changed. [Figure 16] FIG. 5 is a diagram showing current response waveforms in the cases of FIGS. 1 and 4 when motor parameters are changed. [Figure 17] FIG. 5 is a diagram showing power loss and energy loss in the cases of FIGS. 1 and 4 when motor parameters are changed. [Figure 18] FIG. 11 is a block diagram of a neural network compensator according to still another embodiment to which the present invention is applied (embodiment 2-1). [Figure 19] FIG. 11 is a block diagram of a neural network compensator according to still another embodiment to which the present invention is applied (Embodiment 2-2). [Figure 20] FIG. 11 is a block diagram of a neural network compensator according to still another embodiment to which the present invention is applied (third embodiment of second embodiment). [Figure 21] FIG. 11 is a block diagram of a neural network compensator according to still another embodiment to which the present invention is applied (Embodiment 3-1). [Figure 22] FIG. 11 is a block diagram of a neural network compensator according to still another embodiment to which the present invention is applied (Embodiment 3-2). [Figure 23] FIG. 3 is a block diagram of a neural network compensator according to still another embodiment to which the present invention is applied (Embodiment 3-3). DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0020] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. EXAMPLES
[0021] (1) Motor control device 1 1 is a block diagram showing the configuration of a motor control device 1 according to one embodiment of the present invention. The motor control device 1 according to this embodiment includes an inverter circuit 9 and a motor control unit 3, and is configured to convert and generate AC power of a predetermined frequency and supply it to a motor 6. The motor 6 is a three-phase embedded permanent magnet motor that drives an electric compressor used in an air conditioner of an electrically powered vehicle such as an electric vehicle or a hybrid vehicle. In this embodiment, an Interior Permanent Magnet Synchronous Motor (IPMSM) is used, and the motor 6 is driven by the inverter circuit 9 in response to a voltage command generated by the motor control unit 3.
[0022] (2) Inverter circuit 9 The inverter circuit 9 is configured by connecting multiple (six) switching elements in a bridge configuration. Each switching element of the inverter circuit 9 is switched by a PWM signal generated by a PWM signal generator 8 of the inverter control unit 3, which will be described later.
[0023] (3) Motor control unit 3 In this embodiment, the motor control unit 3 calculates the estimated mechanical angular velocity ω' of the motor 6. m and the mechanical angular velocity command value ω * Based on the deviation from the d-axis voltage command value Vd * , q-axis voltage command value Vq * These d-axis voltage command values Vd * , q-axis voltage command value Vq * Finally, a PWM signal generator 8 is used to generate a PWM signal for switching each switching element of the inverter circuit 9, and the motor 6 is driven by sensorless vector control. Note that the motor 6 may be controlled by using a position sensor instead of the sensorless control.
[0024] The motor control unit 3 of this embodiment is composed of a microcomputer, which is an example of a computer equipped with a processor, and has as its functions 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, a PWM signal generator 8, a dq-axis current converter 10, a three-phase current estimator 17, a magnet position estimator 18, and a rotation speed calculator 19, etc.
[0025] The three-phase current estimator 17 estimates each phase voltage output by the phase voltage command calculator 7, that is, the U-phase voltage command value V * u , V-phase voltage command value V * v , W-phase voltage command value V * w (Six PWM signals generated by the PWM signal generator 8 may be used.) From the phase current of one phase flowing through the inverter circuit 9 detected by one shunt resistor, each phase current (U-phase current i u , V phase current i v , W phase current i w ) is estimated (single-shunt current detection method). Other possible methods for detecting the phase current include the two-shunt current detection method, which uses two shunt resistors to detect two-phase currents, the three-shunt current detection method, which uses three shunt resistors to detect three-phase currents, and the Hall CT current detection method, which detects phase currents using a Hall CT.
[0026] In this embodiment, the magnet position estimator 18 estimates the phase currents output by the three-phase current estimator 17, i.e., the U-phase current i u , V phase current i v , W phase current i w From the estimated electrical angle θ ' e The estimated electrical angle θ ' e In addition to these, the U-phase voltage command value V * u , V-phase voltage command value V * v , W-phase voltage command value V * w The d-axis voltage command value Vd* , q-axis voltage command value Vq * Also, the d-axis voltage command value Vd * , q-axis voltage command value Vq * and d-axis current i d , q-axis current i q In addition, these U-phase currents i u , V phase current i v , W phase current i w , U-phase voltage command value V * u , V-phase voltage command value V * v , W-phase voltage command value V * w , d-axis voltage command value Vd * , q-axis voltage command value Vq * , d-axis current i d , q-axis current i q The electrical angle estimation value θ is calculated by using any one of the above, a combination of the above, or all of the above. ' e Furthermore, the rotation speed calculator 19 estimates the electrical angle estimated value θ ' e From the above, the estimated mechanical angular velocity ω ' m Furthermore, the dq-axis current converter 10 estimates the electrical angle estimated value θ ' e From d-axis current i d and the q-axis current i q In addition, the estimated electrical angle θ output by the magnet position estimator 18 is calculated. ' e is further input to the phase voltage command calculator 7, and is also converted into the d-axis current i d and q-axis current i q and the estimated mechanical angular velocity ω output by the rotation speed calculator 19. ' m is input to the decoupling compensator 16. Also, the rotation speed calculator 19 outputs the estimated mechanical angular velocity ω ' m is further input to a subtractor 21. The subtractor 21 receives the mechanical angular velocity command value ω * is input, and the mechanical angular velocity command value ωm * From the estimated mechanical angular velocity ω ' m In addition, when the motor 6 is controlled using a position sensor as described above, the mechanical angular velocity (ω m ) is the estimated mechanical angular velocity ω ' m is input to the subtractor 21 instead of
[0027] The deviation calculated by the subtractor 21 is input to the speed controller 12. The speed controller 12 performs PI calculation and current peak value i p From the relation between the current and torque, the current peak command value i p * Note that the calculation is not based on the formula, but on the current peak value i p Using a map created offline based on the relationship between current and torque, the current peak command value i p * Alternatively, when using the formula, the parameters may be identified or estimated online to improve accuracy. p * The other input of the converter 13 is the current phase command value θ i * The neural network compensator 11 will be described in detail later.
[0028] The converter 13 converts these current phase command values θ i * and the current peak command value i p * to d-axis current command value i d * and the q-axis current command value i q * The converter 13 derives the d-axis current command value i d * and the q-axis current command value i q * Derive.
[0029]
number
[0030] The d-axis current command value i output by the converter 13 d * and the q-axis current command value i q * is input to the subtractors 22 and 23, respectively. The subtractors 22 and 23 receive the d-axis current i d and q-axis current i q are input, and the deviations are calculated in the subtractors 22 and 23, respectively.
[0031] The deviations output by the subtractors 22 and 23 are input to the current controller 14. The current controller 14 performs a PI calculation using the deviations to obtain a d-axis voltage command value V d * and the q-axis voltage command value V q * These d-axis voltage command values V d * and the q-axis voltage command value V q * After the interference between the d and q axes is cancelled by the decoupling compensator 16 (in FIG. 1, the output is V ' d * , V ' q * ) is input to the phase voltage command calculator 7. Incidentally, this decoupling compensator 16 may be omitted.
[0032] The phase voltage command calculator 7 calculates the d-axis voltage command value V ' d * and the q-axis voltage command value V ' q * , the electrical angle estimate value θ output by the magnet position estimator 18 ' e to U-phase voltage command value V u * , V-phase voltage command value V v * , W-phase voltage command value V w* The PWM signal generator 8 generates a voltage command value V u * , V v * , V w * A PWM signal for switching (PWM control) each switching element of the inverter circuit 9 is generated from the inverter circuit 9. Then, each phase voltage Vu, Vv, Vw is applied to the motor 6 from the inverter circuit 9, thereby achieving sensorless vector control of the motor 6 in this embodiment.
[0033] (4) Neural network compensator 11 (1 in Example 1) Next, the neural network compensator 11 in Fig. 1 will be described in detail with reference to Fig. 2 and Fig. 3. Fig. 2 is a block diagram of the neural network compensator 11 of this embodiment, and Fig. 3 is a diagram showing the internal structure of the neural network compensator 11. The neural network compensator 11 receives an input signal and repeats learning by forward propagation and backward propagation to derive an output signal with optimal efficiency.
[0034] The output signal is a current height command value i p * (Current peak value i p (command value) and current phase command value θ i * The input signal is the current peak value i p , the d-axis inductance L, which is a parameter (motor parameter) of the motor 6 to be controlled d , q-axis inductance L q and the interlinkage magnetic flux ψ are possible, and the torque command value τ * The current torque τ is considered. The teacher signal to be minimized is the torque command value τ * The square error of the current torque τ relative to (τ * -τ) 2 , current peak command value i p * Current peak value i p The squared error of (ip * -i p ) 2 , q-axis current command value i q * q-axis current i q The squared error of (i q * -i q ) 2 It is possible that:
[0035] The neural network compensator 11 of the embodiment (embodiment 1-1) of FIG. 1 and FIG. 2 is a current peak command value i p * and the current peak value i p is used as the input signal, and the current peak command value i p * Current peak value i p The squared error of (i p * -i p ) 2 is used as the teacher signal. Then, the current phase command value θ i * The output signal is derived from the input signal through learning so as to minimize the teacher signal.
[0036] That is, the current phase command value θ that provides the optimum efficiency i * In order to derive the current peak command value i p * and the current peak value i p The teacher signal to be minimized is the current peak command value i p * Current peak value i p The squared error of (i p * -i p ) 2 The neural network compensator 11 is a multi-layered neural network compensator that repeats learning by forward propagation and backward propagation to obtain an optimal current phase command value θ i * Derive.
[0037] In the embodiment of FIG. 1 and FIG. 2, the target input (or the output of the speed controller 12) is set to the current peak value i p This is a method of controlling the d is not 0), this is considered to be a control method more suitable for controlling the motor 6 consisting of the permanent magnet synchronous motor of the embodiment, and is particularly effective when the current torque τ cannot be detected or when used in a speed control system. p The optimal current phase command value θ i * Thus, the speed of the motor 6 is controlled in a state of optimum efficiency.
[0038] Next, the neural network compensator 11 will be described in more detail with reference to the internal structure shown in FIG. p * Current peak value i p The squared error of (i p * -i p ) 2 The compensation amount (output signal) is derived from the current input signal by learning so as to minimize the current peak value i p Current peak command value i p * (Required current peak value) compensation amount (current phase command value θ i * : output signal) to the currently available information (current peak command value i p * , current peak value i p The information is updated every calculation period from the input signal.
[0039] The internal structure of the neural network (NN) compensator 11 is as shown in Figure 3 (Figure 3 shows an example of two inputs and one output). There are multiple layers (Middle layers) between the input layer and output layer, and each layer is composed of neurons, with previous and next neurons connected by synapses (weights). The connection equation for each neuron is shown in equation (II). The neural network compensator 11 of the embodiment has an input layer (2 inputs), a second layer (10 neurons), a third layer (10 neurons), and an output layer (1 output).
[0040]
number
[0041] Here, w in formula (II) i is the weight, θ is the threshold, and σ is the activation function. i Then, the update formula (learning formula) for the threshold value θ is given by formula (III).
[0042]
number
[0043] Here, in equation (III), α is the learning rate, and E is the loss function (sum of squared errors).
[0044] (5) Neural network compensator 11 (2 in Example 1) Next, a case where a neural network compensator 11 of another embodiment is used will be described with reference to Figures 4 and 5. Figure 4 is a block diagram of the motor control device 1 in this case, and Figure 5 is a block diagram of the neural network compensator 11 of this embodiment. In each figure, the same reference numerals as in Figures 1 and 2 are used to denote the same or similar functions.
[0045] The neural network compensator 11 in the embodiment (embodiment 1-2) of FIG. 4 and FIG. 5 is a q-axis current command value i q * and q-axis current i qis the input signal, and the q-axis current command value i q * q-axis current i q The squared error of (i q * -i q ) 2 is used as the teacher signal. And the current phase command value θ i * The output signal is derived from the input signal through learning so as to minimize the teacher signal.
[0046] That is, the current phase command value θ that provides the optimum efficiency i * In order to derive the q-axis current command value i q * and q-axis current i q The teacher signal to be minimized is the q-axis current command value i q * q-axis current i q The squared error of (i q * -i q ) 2 The neural network compensator 11 of this embodiment is also a multi-layered neural network compensator, and learning is repeated by forward propagation and backward propagation to obtain an optimal current phase command value θ that minimizes the teacher signal in real time. i * Derive.
[0047] In the embodiment of FIG. 4 and FIG. 5, the target input (or the output of the speed controller 12) is converted into the q-axis current i q This is the case where the motor is controlled by considering it as a torque current. d = 0). This is also effective when the current torque τ cannot be detected or when it is used in a speed control system. p The optimal current phase command value θ i * Thus, the speed of the motor 6 is controlled in a state of optimum efficiency.
[0048] (6) Evaluation of the motor control device 1 shown in Figs. 1 to 5 Next, the effect of optimal efficiency control of the motor 6 using the neural network compensator 11 described above in Figs. 1 to 5 will be described with reference to Figs. 6 to 17. First, Fig. 6 shows a speed response waveform when a step command is applied at time 0s and a torque disturbance is applied at time t1 in the example of Fig. 4 (Fig. 5) (Example 1-2), Fig. 7 shows the torque response waveform, Fig. 8 shows the current response waveform, and Fig. 9 shows the power loss and energy loss. In this case, the output (current command) of the speed controller 12 is set to i q * This is regarded and evaluated as such.
[0049] In Fig. 6 and Fig. 7, the solid lines indicate the case of the motor control device 1 using the neural network compensator 11 (NN), and the dashed lines indicate the case of a general motor control system that does not use the neural network compensator (NN) (Fig. 1 and Fig. 4, but does not have the neural network compensator 12 and the conversion unit 13, and otherwise has the same configuration, i d = 0). There is no significant difference in either the speed response or the torque response in Figures 6 and 7.
[0050] On the other hand, in the current response waveforms in Fig. 8, the solid line indicates the case of a motor control device 1 using a neural network compensator 11 (NN), and the wide dashed line indicates the case of a general motor control system that does not use a neural network compensator (NN). Also, the fine dashed line indicates the optimal current value. Note that this optimal current value is determined in advance by experiment or simulation.
[0051] In a typical motor control system that does not use a neural network compensator, in the steady state when a torque disturbance is applied, the d-axis current i d In contrast, in the motor control device 1 of FIG. 4 (FIG. 5) using the neural network compensator 11, the d-axis current i d , q-axis current i q , current peak value i p It can be seen that all of the above have learned values close to the optimal current value.
[0052] Moreover, the upper part of Figure 9 shows power loss and the lower part shows energy loss. The solid line shows the case of a motor control device 1 that uses a neural network compensator 11 (NN), and the dashed line shows the case of a general motor control system that does not use a neural network compensator (NN). It can be seen from Figure 9 that when a torque disturbance is applied, the motor control device 1 that uses the neural network compensator 11 (NN) of Figure 4 (Figure 5) is able to improve losses compared to conventional motor control systems.
[0053] Next, FIG. 10 shows the speed response waveform when a step command is applied at time 0s and a torque disturbance is applied at time t1 in the example of FIG. 1 (FIG. 2) (Example 1-1), FIG. 11 shows the torque response waveform, FIG. 12 shows the current response waveform, and FIG. 13 shows the power loss and energy loss. In this case, the output (current command) of the speed controller 12 is i p * This is regarded and evaluated as such.
[0054] In Figures 10 and 11, the solid lines represent the case of a motor control device 1 using the neural network compensator 11 (NN1) of Figure 4 (Figure 5), the dashed lines represent the case of a motor control device 1 using the neural network compensator 11 (NN2) of Figure 1 (Figure 2), and the dashed lines represent the case of a general motor control system that does not use a neural network compensator (NN), as described above.
[0055] In the speed response of Fig. 10, the case of Fig. 1 (Fig. 2) (dotted line) shows a slight improvement in the overshoot from the target value compared to the case of Fig. 4 (Fig. 5) (solid line) and the general motor control system (dashed line), and the drop in disturbance response is also reduced. Also, in the torque response of Fig. 11, the case of Fig. 1 (Fig. 2) (dotted line) shows a larger torque at the time of target input compared to the case of Fig. 4 (Fig. 5) (solid line) and the general motor control system (dashed line), and the response to disturbance is roughly the same.
[0056] On the other hand, in the current response waveforms in Fig. 12, the solid line is for the motor control device 1 using the neural network compensator 11 (NN1) in Fig. 4 (Fig. 5), the dashed line is for the motor control device 1 using the neural network compensator 11 (NN2) in Fig. 1 (Fig. 2), and the wide dashed line is for a general motor control system that does not use a neural network compensator (NN). Also, the fine dashed line indicates the optimal current value.
[0057] In the case of the motor control device 1 using the neural network compensator 11 in FIG. 1 (FIG. 2) (dashed line), the d-axis current i d , q-axis current i q , current peak value i p It can be seen that both of the above are able to learn values close to the optimal current value (fine dashed line).
[0058] Moreover, the upper part of Fig. 13 shows power loss and the lower part shows energy loss. In this case, too, the solid line shows the case of the motor control device 1 using the neural network compensator 11 (NN1) in Fig. 4 (Fig. 5), the dashed dotted line shows the case of the motor control device 1 using the neural network compensator 11 (NN2) in Fig. 1 (Fig. 2), and the wide dashed line shows the case of a general motor control system that does not use a neural network compensator (NN).
[0059] The power loss results in the upper part of the figure confirm that the motor control device 1 using the neural network compensator 11 (NN2) in Fig. 1 (Fig. 2) (dashed line) provides the greatest improvement in steady-state values when a step torque disturbance is applied. Also, for the energy loss in the lower part, a further improvement can be seen in the motor control device 1 using the neural network compensator 11 in Fig. 1 (Fig. 2) (dashed line) compared to the motor control device 1 using the neural network compensator 11 (NN1) in Fig. 4 (Fig. 5) (solid line).
[0060] Next, the efficiency improvement when the parameters (motor parameters) of the motor 6 (control target) are changed will be verified using Figs. 14 to 17. Among the motor parameters in this case, the variable parameters (motor parameters to be changed) are the d-axis inductance L d , q-axis inductance L q , and the magnetic flux density ψ. The values of each parameter after variation are multiplied by a multiplier with an average value of 1 and a standard deviation of 0.5 / 3, and 5 The combination that reduced the torque the most was selected. As for the simulation conditions, a step command was applied at time 0s, a step torque disturbance was applied at time t1, and then the parameters (motor parameters) of the motor 6 (control target) were varied at time t2, as described above.
[0061] The response waveforms of speed and torque are shown in Figures 14 and 15. In each figure, the solid line is for the motor control device 1 using the neural network compensator 11 (NN1) in Figure 4 (Figure 5), the dashed and dotted line is for the motor control device 1 using the neural network compensator 11 (NN2) in Figure 1 (Figure 2), and the dashed line is for a general motor control system that does not use a neural network compensator (NN), as described above.
[0062] Additionally, current response waveforms and losses are shown in Figures 16 and 17. In each figure, the solid line is for the motor control device 1 using the neural network compensator 11 (NN1) in Figure 4 (Figure 5), the dashed dotted line is for the motor control device 1 using the neural network compensator 11 (NN2) in Figure 1 (Figure 2), and the wide dashed line indicates the case of a general motor control system that does not use a neural network compensator (NN), as previously described. Additionally, in Figure 16, the fine dashed line indicates the optimal current value required to compensate for disturbance torque when the motor parameters fluctuate.
[0063] From the results in Figure 16, it can be seen that in response to fluctuations in the motor parameters, the values that are closest to the optimal current value are in the following order: a typical motor control system that does not use a neural network compensator (NN) (wide dashed line), the motor control device 1 that uses the neural network compensator 11 (NN1) in Figure 4 (Figure 5) (solid line), and the motor control device 1 that uses the neural network compensator 11 (NN2) in Figure 1 (Figure 2) (dotted line).
[0064] Furthermore, from the results of power loss (copper loss) in the upper part of Figure 17, it can be seen that in the steady-state loss due to motor parameter fluctuations, the net power loss obtained by subtracting the power loss due to disturbances is improved compared to a general motor control system (wide dashed line) that does not use a neural network compensator (NN), by the motor control device 1 (solid line) using the neural network compensator 11 (NN1) in Figure 4 (Figure 5), and further, a significant improvement is achieved by the motor control device 1 (dotted line) using the neural network compensator 11 (NN2) in Figure 1 (Figure 2).
[0065] In this way, it can be confirmed from Fig. 14 that not only is it possible to improve losses, but also that the response characteristics can be improved to the same level or even better than those of a general motor control system. That is, in a steady-state quantitative evaluation of speed commands, torque disturbances, and motor parameter fluctuations, it can be confirmed that the motor control device 1 using the neural network compensator 11 (NN2) in Fig. 1 (Fig. 2) significantly reduces losses compared to a general motor control system. EXAMPLES
[0066] Next, a neural network compensator 11 according to still another embodiment will be described with reference to Figures 18 to 20. Note that the output signal of the neural network compensator 11 according to this embodiment also becomes one input of the converter 13, similar to the neural network compensator 11 in Figures 1 and 4, and constitutes a part of the motor control device 1.
[0067] (7) Neural network compensator 11 (1 of Example 2) The neural network compensator 11 of the embodiment (embodiment 2-1) of FIG. 18 calculates the current peak value i p , the motor parameter d-axis inductance L d (Hat), q-axis inductance L q (hat) and the interlinkage magnetic flux ψ (hat) are used as input signals, and the torque command value τ * The square error of the current torque τ relative to (τ * -τ) 2 is used as the teacher signal. And the current peak command value i p * The output signal is derived from the input signal through learning so as to minimize the teacher signal.
[0068] In this case, the current peak command value i that provides optimal efficiency for torque control is p * To derive the current, the input signal has a peak value i p , d-axis inductance L d (Hat), q-axis inductance L q (hat), and the interlinkage magnetic flux ψ (hat), and the teacher signal to be minimized is the torque command value τ * The square error of the current torque τ relative to (τ * -τ) 2 The neural network compensator 11 of this embodiment is also a multi-layered neural network compensator, and it repeats learning by forward propagation and backward propagation to obtain an optimal current wave height command value i that minimizes the teacher signal in real time. p * This is to derive the following.
[0069] (8) Neural network compensator 11 (2 of Example 2) The neural network compensator 11 of the embodiment (embodiment 2-2) of FIG. 19 also has a current peak value i p , d-axis inductance L d (Hat), q-axis inductance L q (hat) and the interlinkage magnetic flux ψ (hat) are used as input signals, and the torque command value τ * The square error of the current torque τ relative to (τ * -τ) 2is used as the teacher signal. On the other hand, the output signal is the current peak command value i p * and the current phase command value θ i * Then, the output signal is derived from the input signal by learning so as to minimize the teacher signal.
[0070] In other words, in this case too, the current peak command value i p * and the current phase command value θ i * To derive the current, the input signal has a peak value i p , d-axis inductance L d (Hat), q-axis inductance L q (hat), and the interlinkage magnetic flux ψ (hat), and the teacher signal to be minimized is the torque command value τ * The square error of the current torque τ relative to (τ * -τ) 2 The neural network compensator 11 of this embodiment is also a multi-layered neural network compensator, and it repeats learning by forward propagation and backward propagation to obtain an optimal current wave height command value i that minimizes the teacher signal in real time. p * and the current phase command value θ i * This is to derive the following.
[0071] (9) Neural network compensator 11 (3 in Example 2) The neural network compensator 11 of the embodiment (embodiment 2-3) of FIG. 20 also has a current peak value i p , d-axis inductance L d (Hat), q-axis inductance L q (hat) and the interlinkage magnetic flux ψ (hat) are used as input signals, and the torque command value τ * The square error of the current torque τ relative to (τ * -τ) 2 is used as the teacher signal. On the other hand, the output signal is the current phase command value θ i *Then, the output signal is derived from the input signal by learning so as to minimize the teacher signal.
[0072] That is, in this case, the current phase command value θ i * To derive the current, the input signal has a peak value i p , d-axis inductance L d (Hat), q-axis inductance L q (hat), and the interlinkage magnetic flux ψ (hat), and the teacher signal to be minimized is the torque command value τ * The square error of the current torque τ with respect to (τ * -τ) 2 The neural network compensator 11 of this embodiment is also a multi-layered neural network compensator, and learning is repeated by forward propagation and backward propagation to obtain an optimal current phase command value θ that minimizes the teacher signal in real time. i * This is to derive the following. EXAMPLES
[0073] Next, a neural network compensator 11 according to still another embodiment will be described with reference to Figures 21 to 23. Note that the output signal of the neural network compensator 11 according to this embodiment also becomes one input of the converter 13, similar to the neural network compensator 11 in Figures 1 and 4, and constitutes a part of the motor control device 1.
[0074] (10) Neural network compensator 11 (1 of Example 3) The neural network compensator 11 of the embodiment (embodiment 3-1) of FIG. 21 calculates a torque command value τ * The current torque τ is used as the input signal, and the torque command value τ * The square error of the current torque τ with respect to (τ * -τ) 2 is used as the teacher signal. And the current peak command value i p * The output signal is derived from the input signal through learning so as to minimize the teacher signal.
[0075] In this case, the current peak command value i that provides optimal efficiency for torque control is p * To derive the torque command value τ * and the current torque τ, the teacher signal to be minimized is the torque command value τ * The square error of the current torque τ relative to (τ * -τ) 2 The neural network compensator 11 of this embodiment is also a multi-layered neural network compensator, and it repeats learning by forward propagation and backward propagation to obtain an optimal current wave height command value i that minimizes the teacher signal in real time. p * This is to derive the following.
[0076] (11) Neural network compensator 11 (2 of Example 3) The neural network compensator 11 of the embodiment (embodiment 3-2) of FIG. 22 also uses the torque command value τ * The current torque τ is used as the input signal, and the torque command value τ * The square error of the current torque τ relative to (τ * -τ) 2 is used as the teacher signal. On the other hand, the output signal is the current phase command value θ i * Then, the output signal is derived from the input signal by learning so as to minimize the teacher signal.
[0077] That is, in this case, the current phase command value θ i * To derive the torque command value τ * and the current torque τ, the teacher signal to be minimized is the torque command value τ * The square error of the current torque τ relative to (τ * -τ) 2 The neural network compensator 11 of this embodiment is also a multi-layered neural network compensator, and learning is repeated by forward propagation and backward propagation to obtain an optimal current phase command value θ that minimizes the teacher signal in real time. i * This is to derive the following.
[0078] (12) Neural network compensator 11 (3 of Example 3) The neural network compensator 11 of the embodiment (embodiment 3-3) of FIG. 23 also uses the torque command value τ * The current torque τ is used as the input signal, and the torque command value τ * The square error of the current torque τ relative to (τ * -τ) 2 is used as the teacher signal. On the other hand, the output signal is the current peak command value i p * and the current phase command value θ i * Then, the output signal is derived from the input signal by learning so as to minimize the teacher signal.
[0079] In other words, in this case too, the current peak command value i p * and the current phase command value θ i * To derive the torque command value τ * and the current torque τ, the teacher signal to be minimized is the torque command value τ * The square error of the current torque τ relative to (τ * -τ) 2 The neural network compensator 11 of this embodiment is also a multi-layered neural network compensator, and it repeats learning by forward propagation and backward propagation to obtain an optimal current wave height command value i that minimizes the teacher signal in real time. p * and the current phase command value θ i * This is to derive the following.
[0080] As described above in detail, in the present invention, in the control of the motor 6 (permanent magnet synchronous motor), the torque command τ * and the square error of the current torque τ, or the current command value (i p * , i q * ) and current (i p , i q) to minimize the square error of the current peak value command i p * , or current phase command value θ * Highly efficient control can be achieved by deriving the command value or both through learning and performing control using the derived command value.
[0081] That is, in the present invention, in neural network learning, the teacher signal is the torque error (τ * -τ) squared, or the q-axis current error (i q * -i q ) squared, or current peak value error (i p * -i p ) squared, and the input signal to the neural network learning is the current torque τ, q-axis current i q , current peak value i p and their command values τ * , i q * , i p * , and furthermore, the motor parameter (plant parameter) d-axis inductance L d , q-axis inductance L q , the output from neural network learning is the current phase command value θ i * and current peak command value i p * It states that:
[0082] This makes it possible to derive the neural network output that optimizes (minimizes) the teacher signal through learning during feedback control in real time. This optimal learning is also derived through learning (automatic) when the target value or disturbance torque changes, resulting in highly efficient control. In addition, the parameters of the controlled object (motor 6) (motor parameters (d-axis inductance L d , q-axis inductance L q , interlinkage magnetic flux ψ) changes, these values can be optimally learned without identifying (or estimating) them, thereby making it possible to achieve high efficiency.
[0083] The input signal of the neural network compensator 11 shown in each of the above embodiments is not limited to those, and the q-axis current command value i q * , q-axis current i q , current peak command value i p * , current peak value i p , d-axis inductance L d , q-axis inductance L q , magnetic flux density ψ, torque command value τ * , and the current torque τ, or may be other combinations of them all.
[0084] Further, the controlled object of the motor control device of the present invention is not limited to the permanent magnet synchronous motor shown in the embodiment, except for the invention of claim 10. [Explanation of symbols]
[0085] 1 Motor control device 2 Motor drive unit 3 Motor control unit 4. Plant 6 Motor 11 Neural Network Compensator 12 Speed Controller 13 Converter 14 Current Controller
Claims
1. A control device for controlling a motor, The system is provided with a neural network compensator that receives an input signal and repeats learning through forward and backward propagation to derive an output signal that provides optimal efficiency; The neural network compensator has a current peak command value i p * and a current peak value i p as the input signals, a square error (i p * -i p ) 2 of the current peak value i p relative to the current peak command value i p * as a teacher signal, and a current phase command value θ i * as the output signal, and derives the output signal from the input signals by learning so as to minimize the teacher signal, A motor control device comprising: a motor control circuit for controlling the motor based on the output signal derived by the neural network compensator.
2. A control device for controlling a motor, comprising: The system is provided with a neural network compensator that receives an input signal and repeats learning through forward and backward propagation to derive an output signal that provides optimal efficiency; The neural network compensator has a q-axis current command value iq* and a q-axis current iq as the input signals, a square error (iq*-iq)2 of the q-axis current iq with respect to the q-axis current command value iq* as a teacher signal, and a current phase command value θi* as the output signal, and derives the output signal from the input signals by learning so as to minimize the teacher signal, and A motor control device comprising: a motor control circuit for controlling the motor based on the output signal derived by the neural network compensator.
3. A motor control device as described in claim 1 or claim 2, characterized in that the motor is a permanent magnet synchronous motor.
4. A motor drive unit that drives and controls the motor; a motor control unit that controls the motor by the motor drive unit based on the output signal of the neural network compensator; 4. The motor control device according to claim 1, further comprising:
Citation Information
Patent Citations
Step motor controller
JP1994217597A
Machine learning device learning gain optimization, motor control device having the same, and the machine learning method
JP2017034844A
Machine learning device for learning motor current command, motor control device, and machine learning method
JP2018014838A
Induction motor controller
JP3054521B2
