Control unit, motor system, processing method, and program
The control device and method address the issue of seamless switching between speed feedback type voltage phase control and vector control by estimating initial controller values, reducing torque and rotational speed fluctuations.
Patent Information
- Application Number
- JP2023061170
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-05
- Publication Date
- 2024-10-18
AI Technical Summary
Existing methods fail to seamlessly switch between speed feedback type voltage phase control and vector control due to the inability to set appropriate torque command values, leading to torque and rotational speed fluctuations.
A control device and method that estimates the initial values of controllers used for vector control by utilizing the output of the first controller one control period before switching, allowing seamless transitions by setting appropriate initial values for both vector control and voltage phase control.
Enables seamless operation between speed feedback type voltage phase control and vector control, minimizing torque and rotational speed fluctuations during transitions.
Smart Images

Figure 2024148226000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a control device, a motor system, a processing method, and a program. [Background technology]
[0002] As a method for controlling a motor, there is a method for switching between feedback type voltage phase control and vector control. Patent Document 1 discloses a related technique for setting an initial value for switching when switching to torque feedback type control. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2007-143235 A Summary of the Invention [Problem to be solved by the invention]
[0004] On the other hand, when switching between speed feedback type voltage phase control and vector control, the torque command value is not used during voltage phase control, so the initial value of vector control cannot be set using the torque command value as in the prior art. Therefore, in the case of speed feedback, the prior art method cannot set an appropriate initial value for switching, and torque and rotation speed fluctuations occur when switching from voltage phase control to vector control, making seamless switching impossible.
[0005] Therefore, there is a demand for a technology that enables seamless operation even when switching between speed feedback type voltage phase control and vector control.
[0006] The present disclosure has been made to solve the above-mentioned problems, and aims to provide a control device, a motor system, a processing method, and a program that can provide seamless operation even when switching between speed feedback type voltage phase control and vector control. [Means for solving the problem]
[0007] In order to solve the above problems, the control device of the present disclosure includes an instruction unit that switches between vector control and the voltage phase control for controlling a motor in accordance with the driving state of the motor, and an estimation unit that, when switching from the voltage phase control to the vector control in accordance with the switching by the instruction unit, estimates a value of an output of a first controller used for the vector control one control cycle prior using a value of a physical quantity related to the motor, and estimates an initial value of at least one of the first controller and the second controller used for the vector control using the estimated value of the output of the first controller one control cycle prior.
[0008] A motor system according to the present disclosure includes the control device and a motor that operates based on commands output by the control device.
[0009] The processing method according to the present disclosure includes switching between vector control and voltage phase control for controlling a motor in accordance with a driving state of the motor, and when switching from the voltage phase control to the vector control in accordance with the switching, estimating a value of an output of a first controller used for the vector control one control cycle prior using a value of a physical quantity related to the motor, and estimating an initial value of at least one of the first controller and second controller used for the vector control using the estimated value of the output of the first controller one control cycle prior.
[0010] A program according to the present disclosure causes a computer to switch between vector control and the voltage phase control for controlling a motor in accordance with a driving state of the motor, and when switching from voltage phase control to the vector control in accordance with the switching, estimate a value of an output of a first controller used for the vector control one control cycle prior using a value of a physical quantity related to the motor, and estimate an initial value of at least one of the first controller and the second controller used for the vector control using the estimated value of the output of the first controller one control cycle prior. Effect of the Invention
[0011] According to the control device, motor system, processing method, and program of the present disclosure, seamless operation is possible even when switching between speed feedback type voltage phase control and vector control. [Brief description of the drawings]
[0012] [Figure 1] 1 is a diagram illustrating an example of a configuration of a motor system according to a first embodiment of the present disclosure. [Diagram 2] 1 is a diagram illustrating an example of a configuration of an inverter according to a first embodiment of the present disclosure. [Diagram 3] 2 is a diagram illustrating an example of the configuration of a processing unit F82 according to the first embodiment of the present disclosure. FIG. [Figure 4] 2 is a diagram illustrating an example of the configuration of a processing unit F93 according to the first embodiment of the present disclosure. FIG. [Diagram 5] FIG. 2 is a diagram illustrating an example of the configuration of a processing unit F96 according to the first embodiment of the present disclosure. [Figure 6] 2 is a diagram illustrating an example of the configuration of a processing unit F81 according to the first embodiment of the present disclosure. FIG. [Figure 7] 2 is a diagram illustrating an example of the configuration of a processing unit F91 according to the first embodiment of the present disclosure. FIG. [Figure 8] 2 is a diagram illustrating an example of the configuration of a processing unit F92 according to the first embodiment of the present disclosure. FIG. [Figure 9]FIG. 4 is a diagram showing a first example of a processing flow of the motor system according to the first embodiment of the present disclosure. [Figure 10] FIG. 11 is a diagram showing a second example of a processing flow of the motor system according to the first embodiment of the present disclosure. [Figure 11] FIG. 11 is a diagram showing a third example of a processing flow of the motor system according to the first embodiment of the present disclosure. [Figure 12] FIG. 4 is a diagram illustrating an example of a relationship between a voltage phase and a torque in the first embodiment of the present disclosure. [Figure 13] FIG. 13 is a diagram illustrating an example of the configuration of a processing unit F91 according to a first modified example of the first embodiment of the present disclosure. [Figure 14] FIG. 11 is a diagram illustrating an example of a processing flow of a processing unit F91 according to a first modified example of the first embodiment of the present disclosure. [Figure 15] FIG. 13 is a diagram illustrating an example of the configuration of a processing unit F92 according to a second modified example of the first embodiment of the present disclosure. [Figure 16] FIG. 11 is a diagram illustrating an example of a processing flow of a processing unit F92 according to a second modified example of the first embodiment of the present disclosure. [Figure 17] FIG. 11 is a diagram illustrating an example of the configuration of a processing unit F93 according to a second embodiment of the present disclosure. [Figure 18] FIG. 11 is a diagram illustrating an example of the configuration of a processing unit F91 according to a second embodiment of the present disclosure. [Figure 19] FIG. 11 is a diagram illustrating an example of the configuration of a processing unit F92 according to a second embodiment of the present disclosure. [Figure 20] FIG. 11 is a diagram showing a first example of a processing flow of a motor system according to a second embodiment of the present disclosure. [Figure 21] FIG. 11 is a diagram showing a second example of a processing flow of the motor system according to the second embodiment of the present disclosure. [Figure 22] FIG. 13 is a diagram illustrating an example of the configuration of a processing unit F91 according to a first modified example of the second embodiment of the present disclosure. [Figure 23] FIG. 11 is a diagram illustrating an example of a processing flow of a processing unit F91 according to a first modified example of the second embodiment of the present disclosure. [Figure 24]FIG. 13 is a diagram illustrating an example of the configuration of a processing unit F92 according to a second modified example of the first embodiment of the present disclosure. [Diagram 25] FIG. 13 is a diagram illustrating an example of a processing flow of a processing unit F92 according to a second modified example of the second embodiment of the present disclosure. [Figure 26] FIG. 13 is a diagram illustrating an example of the configuration of a processing unit F82 according to another modified example of the first and second embodiments of the present disclosure. [Figure 27] FIG. 1 is a schematic block diagram illustrating a configuration of a computer according to at least one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] First Embodiment Hereinafter, the embodiments will be described in detail with reference to the drawings. First, a motor system 1 according to a first embodiment of the present disclosure will be described.
[0014] (Motor system configuration) FIG. 1 is a diagram showing an example of the configuration of a motor system 1 according to a first embodiment of the present disclosure. As shown in FIG. 1, the motor system 1 includes a PWM (Pulse Width Modulation) converter 10, an inverter 20, a current sensor 30, a motor 40, a position sensor 50, a control device 60, a voltage detection circuit 70, and a current detection circuit 80. The motor system 1 is a system that can seamlessly control vector control and voltage phase control (i.e., suppressing torque and rotation speed fluctuations of the motor 40 at the time of switching) when switching between vector control and voltage phase control. In the motor system 1, an eighth processing unit F8 described later is a speed feedback type processing unit that performs voltage phase control. While the eighth processing unit F8 is performing voltage phase control, a processing unit F93 described later is not used. In the motor system 1, while a ninth processing unit F9 described later is performing vector control, a processing unit F82 described later is not directly used for vector control and cannot grasp the state of vector control.
[0015] The PWM converter 10 generates a PWM signal for controlling the inverter 20 based on a voltage command Vuvw* output by the control device 60 and a DC voltage actually input to the inverter 20 (hereinafter referred to as "input DC voltage Vdc of the inverter 20"). Then, the PWM converter 10 outputs the generated PWM signal to the inverter 20.
[0016] The inverter 20 generates an AC voltage for driving the motor 40 from the input DC voltage Vdc of the inverter 20 in response to the PWM signal output by the PWM converter 10. Then, the inverter 20 outputs the generated AC voltage to the motor 40. FIG. 2 is a diagram showing an example of a configuration of the inverter 20 according to the first embodiment of the present disclosure. As shown in FIG. 2, the inverter 20 includes switching elements SW1, SW2, SW3, SW4, SW5, and SW6 that are bridge-connected. The switching elements SW1 to SW6 are semiconductor elements having a control terminal (gate terminal in the case of an IGBT or a MOSFET), such as an IGBT (Insulated Gate Bipolar Transistor) or a MOSFET (Metal-Oxide-Semiconductor Field Effect Transistor).
[0017] The current sensor 30 is, for example, a current transformer CT. The current sensor 30 is provided on each of the wirings corresponding to the U phase, the V phase, and the W phase, and detects the motor currents Iu, Iv, and Iw. However, in FIG. 1, the wirings corresponding to the U phase, the V phase, and the W phase are collectively illustrated. The motor current Iu is a motor current corresponding to the U phase in the inverter 20. The motor current Iv is a motor current corresponding to the V phase in the inverter 20. The motor current Iw is a motor current corresponding to the W phase in the inverter 20. The current sensor 30 outputs each of the detected currents Iu, Iv, and Iw to the current detection circuit 80. Note that in FIG. 1, the currents Iu, Iv, and Iw are collectively illustrated as IuvwFB. The motor 40 is an AC motor that rotates in response to the AC voltage supplied from the inverter 20.
[0018] The position sensor 50 is, for example, an encoder. The position sensor outputs a detection signal to a rotational position calculation unit. The rotational position calculation unit calculates a magnetic pole position θFB of the motor 40 based on the detection signal from the position sensor. The rotational position calculation unit is omitted in FIG. 1. Note that in another embodiment, the position sensor 50 may not be used, and an estimated position may be used as the magnetic pole position θFB for control.
[0019] (Control device configuration) 1, the control device 60 includes a first processing unit F1, a second processing unit F2, a third processing unit F3, a fourth processing unit F4, a fifth processing unit F5, a sixth processing unit F6, a seventh processing unit F7, an eighth processing unit F8, and a ninth processing unit F9. The control device 60 generates a voltage command Vuvw* for driving the motor 40, and outputs the generated voltage command Vuvw* to the PWM converter 10.
[0020] The first processing unit F1 performs control to switch between vector control and voltage phase control based on the state of the motor 40. For example, the first processing unit F1 determines whether to use vector control or voltage phase control based on the driving state of the motor, and outputs a flag indicating one of them to the second processing unit F2, the eighth processing unit F8, and the ninth processing unit F9.
[0021] The second processing unit F2 selects an input signal based on a flag received from the first processing unit F1 and outputs the input signal to the third processing unit F3. For example, when the second processing unit F2 receives a flag indicating voltage phase control, the second processing unit F2 selects the voltage command Vdq* output by the eighth processing unit F8 from among the voltage command Vdq* output by the eighth processing unit F8 and the voltage command Vdq* output by the ninth processing unit F9, and outputs the selected voltage command Vdq* to the third processing unit F3. The voltage command Vdq* includes a voltage command Vd* that indicates the voltage of the d-axis and a voltage command Vq* that indicates the voltage of the q-axis. Also, for example, when the second processing unit F2 receives a flag indicating vector control, the second processing unit F2 selects the voltage command Vdq* output by the ninth processing unit F9 from among the voltage command Vdq* output by the eighth processing unit F8 and the voltage command Vdq* output by the ninth processing unit F9, and outputs the selected voltage command Vdq* to the third processing unit F3.
[0022] The third processing unit F3 generates a voltage command Vuvw* using equation (1) based on the magnetic pole position θFB output by the position sensor 50 and the voltage command Vdq*. The voltage command Vuvw* includes a voltage command Vu* that indicates the U-phase voltage, a voltage command Vv* that indicates the V-phase voltage, and a voltage command Vw* that indicates the W-phase voltage. The third processing unit F3 then outputs the generated voltage command Vuvw* to the PWM converter 10.
[0023]
number
[0024] The fourth processing circuit F4 generates a speed (rotation speed) ωFB by differentiating the magnetic pole position θFB output by the position sensor 50. This speed ωFB is a speed expressed in mechanical angle. Then, the fourth processing circuit F4 outputs the generated speed ωFB to the seventh processing circuit F7.
[0025] The fifth processing unit F5 generates the d-axis current Id and the q-axis current Iq (IdqFB in FIG. 1) from equation (2) based on the magnetic pole position θFB output by the position sensor 50 and the motor currents Iu, Iv, and Iw (IuvwFB in FIG. 1) output by the current detection circuit 80. The sixth processing unit F6 outputs a speed (rotation speed) command ω* of the motor 40 to the seventh processing unit F7.
[0026]
number
[0027] The seventh processing unit F7 subtracts the speed ωFB output by the fourth processing unit F4 from the speed command ω* output by the sixth processing unit F6. Then, the seventh processing unit F7 outputs the subtraction result as a differential speed Δω to the eighth processing unit F8 and the ninth processing unit F9.
[0028] The eighth processing unit F8 generates a voltage command Vdq* that is effective when the voltage phase control is performed. As shown in FIG.
[0029] When switching from vector control to voltage phase control, processing unit F81 calculates an initial value of an integrator of a control state variable in processing unit F82. Processing unit F81 then outputs the initial value of the integrator of the control state variable, which is the calculation result, to processing unit F82. Note that the processing performed by processing unit F81 is a processing that is performed only once every time switching from vector control to voltage phase control, and is a processing that sets the initial value of processing unit F82. Details of the processing performed by processing unit F81 will be described later.
[0030] The processing unit F82 generates a phase command φ* from the differential speed Δω (rotation speed deviation Δω in a diagram described later) output by the seventh processing unit F7. Fig. 3 is a diagram showing an example of the configuration of the processing unit F82 according to the first embodiment of the present disclosure. As shown in Fig. 3, the processing unit F82 includes processing units F82a1, F82a2, and F82a3.
[0031] The processing unit F82a1 performs integral control. For example, the processing unit F82a1 multiplies the differential speed Δω output by the seventh processing unit F7 by an integral gain Ki and integrates the result. The processing unit F82a1 then outputs the integration result to the processing unit F82a3.
[0032] The processing unit F82a2 performs proportional control. For example, the processing unit F82a2 multiplies the differential speed Δω output by the seventh processing unit F7 by a proportional gain Kp. Then, the processing unit F82a2 outputs the multiplication result to the processing unit F82a3.
[0033] The processing unit F82a3 adds the integration result output by the processing unit F82a1 and the multiplication result output by the processing unit F82a2, and outputs the addition result to the processing unit F83 as a phase command φ*.
[0034] The processing unit F83 generates a voltage command Vdq* from the phase command φ* output by the processing unit 82 and an input DC voltage Vdc of the inverter 20 (described later) output by the voltage detection circuit 70. For example, when a predetermined modulation factor command is m*, the processing unit F83 derives the voltage command Vdq* by the following formulas (3) and (4).
[0035]
number
[0036]
number
[0037] Note that equations (3) and (4) are equations when the rotation speed is positive, and the signs are reversed when the rotation speed is negative. Also, the modulation factor command m* is the ratio of the amplitude of the fundamental wave component of the phase voltage to Vdc / 2. For example, when it increases to 4 / π, it becomes equivalent to the fundamental wave component of the square wave voltage. Then, the processing unit F83 outputs the generated voltage command Vdq* to the second processing unit F2.
[0038] The ninth processing unit F9 generates a voltage command Vdq* that is effective when vector control is performed. As shown in FIG.
[0039] When switching from voltage phase control to vector control, processing unit F91 calculates an initial value of an integrator of a control state variable in processing unit F93. Processing unit F91 then outputs the initial value of the integrator of the control state variable, which is the calculation result, to processing unit F93. Note that the processing performed by processing unit F91 is a processing that is performed only once every time switching from voltage phase control to vector control, and is a processing that sets an initial value of processing unit F93. Details of the processing performed by processing unit F91 will be described later.
[0040] When switching from voltage phase control to vector control, processing unit F92 calculates an initial value of an integrator of a control state variable in processing unit F96. Processing unit F92 then outputs the initial value of the integrator of the control state variable, which is the calculation result, to processing unit F96. Note that the processing performed by processing unit F92 is a processing that is performed only once every time switching from voltage phase control to vector control, and is a processing that sets the initial value of processing unit F96. Details of the processing performed by processing unit F92 will be described later.
[0041] Processing unit F93 generates a torque command T* from the differential speed Δω output by the seventh processing unit F7. Fig. 4 is a diagram showing an example of the configuration of processing unit F93 according to the first embodiment of the present disclosure. Fig. 4 is a diagram showing an example of the configuration of processing unit F93 according to the first embodiment of the present disclosure. As shown in Fig. 4, processing unit F93 includes processing units F93a1, F93a2, and F93a3.
[0042] The processing unit F93a1 performs integral control. However, the integral gain of the processing unit F93a1 is Kiw, which is different from the integral gain Ki of the processing unit F82a2. For example, the processing unit F93a1 multiplies the differential speed Δω output by the seventh processing unit F7 by the integral gain Kiw and integrates the result. Then, the processing unit F93a1 outputs the integration result to the processing unit F93a3.
[0043] The processing unit F93a2 performs proportional control. However, the proportional gain of the processing unit F93a2 is Kpw, which is different from the proportional gain Kp of the processing unit F82a1. For example, the processing unit F93a2 multiplies the differential speed Δω output by the seventh processing unit F7 by the proportional gain Kpw. Then, the processing unit F93a2 outputs the multiplication result to the processing unit F93a3.
[0044] The processing unit F93a3 adds the integration result output by the processing unit F93a1 and the multiplication result output by the processing unit F93a2, and outputs the addition result to the processing unit F94 as a torque command T*.
[0045] Processing unit F94 generates current commands Id* and Iq* (shown as Idq* in FIG. 1) from the torque command T* output by processing unit F93. For example, a table showing the relationship between the torque command T*, current amplitude command Ia*, and current phase command β* is prepared in advance using equation (11) described later, and Ia* and β* are generated by inputting the torque command T*. Then, processing unit F94 generates current commands Id* and Iq* using the following equations (5) and (6).
[0046]
number
[0047]
number
[0048] Then, processing unit F94 outputs the generated current commands Id* and Iq* to processing unit F95.
[0049] Processing unit F95 generates a d-axis current deviation ΔId from the current command Id* output by processing unit F94 and the actual d-axis current Id output by the fifth processing unit F5. Processing unit F95 also generates a q-axis current deviation ΔIq from the current command Iq* output by processing unit F94 and the actual q-axis current Iq output by the fifth processing unit F5. Processing unit F95 then outputs the generated d-axis current deviation ΔId and q-axis current deviation ΔIq to processing unit F96.
[0050] Processing unit F96 generates a d-axis voltage command Vd* from the d-axis current deviation ΔId output by processing unit F95. Processing unit F96 also generates a q-axis voltage command Vq* from the q-axis current deviation ΔIq output by processing unit F95. Processing unit F96 then outputs the generated d-axis voltage command Vd* and q-axis voltage command Vq* to the second processing unit F2. FIG. 5 is a diagram illustrating an example of a configuration of processing unit F96 according to the first embodiment of the present disclosure. FIG. 5 is a diagram illustrating an example of a configuration of processing unit F96 according to the first embodiment of the present disclosure. As shown in FIG. 5, processing unit F96 includes processing units F96d and F96q.
[0051] The processing unit F96d generates a d-axis voltage command Vd* from the d-axis current deviation ΔId. As shown in FIG.
[0052] Processing unit F96a1d performs integral control. However, the integral gain of processing unit F96a1d is Kid, which is different from the integral gain Ki of processing unit F82a2 and the integral gain Kiw of processing unit F93a1. For example, processing unit F96a1d multiplies the d-axis current deviation ΔId output by processing unit F95 by the integral gain Kid and integrates the result. Processing unit F96a1d then outputs the integration result to processing unit F96a3d.
[0053] Processing unit F96a2d performs proportional control. However, the proportional gain of processing unit F96a2d is Kpd, which is different from the proportional gain Kp of processing unit F82a1 and the proportional gain Kpw of processing unit F93a2. For example, processing unit F96a2d multiplies the d-axis current deviation ΔId output by processing unit F95 by the proportional gain Kpd. Then, processing unit F96a2d outputs the multiplication result to processing unit F96a3d.
[0054] The processing unit F96a3d adds the integration result output by the processing unit F96a1d and the multiplication result output by the processing unit F96a2d, and outputs the addition result to the processing unit 96a5d.
[0055] The processing unit F96a4d calculates the d-axis non-interference term. Specifically, the d-axis non-interference term is -Lq·ωe·Iq. Here, Lq is the q-axis inductance, and ωe is the actual rotation speed (electrical angle). The actual rotation speed ωe is equal to ωFB×p. Here, p is the number of pole pairs. Then, the processor F96a4d outputs the calculated d-axis non-interference term to the processor F96a5d.
[0056] The processing unit F96a5d adds the addition result output by the processing unit F96a3d and the d-axis non-interference term output by the processing unit F96a4d, and outputs the addition result to the second processing unit F2 as the d-axis voltage command Vd*.
[0057] The processing unit F96q generates a q-axis voltage command Vq* from the q-axis current deviation ΔIq. As shown in FIG.
[0058] The processing unit F96a1q performs integral control. For example, the processing unit F96a1q multiplies the q-axis current deviation ΔIq output by the processing unit F95 by an integral gain Kiq and integrates the result. The processing unit F96a1q then outputs the integration result to the processing unit F96a3q.
[0059] The processing unit F96a2q performs proportional control. For example, the processing unit F96a2q multiplies the q-axis current deviation ΔIq output by the processing unit F95 by a proportional gain Kpq. Then, the processing unit F96a2q outputs the multiplication result to the processing unit F96a3q.
[0060] The processing unit F96a3q adds the integration result output by the processing unit F96a1q and the multiplication result output by the processing unit F96a2q, and outputs the addition result to the processing unit 96a5q.
[0061] The processing unit F96a4q calculates a q-axis non-interference term. Specifically, the q-axis non-interference term is ωe(Ld·Id+Φa), where Φa is the armature flux linkage of the permanent magnet of the motor 40. Then, the processing unit F96a4q outputs the calculated q-axis non-interference term to the processing unit F96a5q.
[0062] The processing unit F96a5q adds the addition result output by the processing unit F96a3q and the q-axis decoupling term output by the processing unit F96a4q, and outputs the addition result to the second processing unit F2 as the q-axis voltage command Vq*.
[0063] The voltage detection circuit 70 includes an A / D (Analog to Digital) converter 70a. The A / D converter 70a receives the input voltage Vx of the inverter 20. The A / D converter 70a converts the received voltage Vx into a digital value vdc that corresponds one-to-one to the received voltage Vx (i.e., a digital value indicating the value of the received voltage). The voltage detection circuit 70 outputs the digital value vdc to the PWM converter 10 and the control device 60.
[0064] The current detection circuit 80 identifies the values of the motor currents Iu, Iv, and Iw detected by the current sensor 30. For example, the current detection circuit 80 includes an A / D converter 80a. The A / D converter 80a receives the motor currents Iu, Iv, and Iw. The A / D converter 80a converts the received motor currents Iu, Iv, and Iw into digital values (i.e., digital values indicating the received current values) that correspond one-to-one to the received motor currents Iu, Iv, and Iw, respectively. The current detection circuit 80 outputs the identified motor current values Iu, Iv, and Iw to the control device 60.
[0065] (Processing performed by the motor system) Next, a process performed by the motor system 1 according to the first embodiment of the present disclosure will be described. FIG. 6 is a diagram showing an example of the configuration of a processing unit F81 according to the first embodiment of the present disclosure. FIG. 7 is a diagram showing an example of the configuration of a processing unit F91 according to the first embodiment of the present disclosure. FIG. 8 is a diagram showing an example of the configuration of a processing unit F92 according to the first embodiment of the present disclosure. In the first embodiment of the present disclosure, the processing unit F81 includes processing units F81a1, F81a2, F81a3, and F81a4 as shown in FIG. 6. Moreover, the processing unit F91 includes processing units F91a1, F91a2, and F91a3 as shown in FIG. 7. Moreover, the processing unit F92 includes processing units F92a1, F92a2, F92a3, F92a4, F92a5, F92a6, F92a7, F92a8, and F92a9 as shown in FIG. 8.
[0066] Fig. 9 is a diagram showing a first example of a processing flow of the motor system 1 according to the first embodiment of the present disclosure. Fig. 10 is a diagram showing a second example of a processing flow of the motor system 1 according to the first embodiment of the present disclosure. Fig. 11 is a diagram showing a third example of a processing flow of the motor system 1 according to the first embodiment of the present disclosure. Here, it is assumed that the processing unit F81 has the configuration shown in Fig. 6, the processing unit F91 has the configuration shown in Fig. 7, and the processing unit F92 has the configuration shown in Fig. 8. Then, with reference to Figs. 9 to 11, the processing of the motor system 1 according to the first embodiment of the present disclosure will be described.
[0067] (Processing performed when switching from voltage phase control to vector control) 9 and 10, the processing of the motor system 1 will be described, including detailed processing of processing steps F91 and F92, which are performed only once each time voltage phase control is switched to vector control.
[0068] When the control device 60 is in a state of voltage phase control and the driving state of the motor 40 changes, and the first processing unit F1 determines to use vector control based on the driving state of the motor, the first processing unit F1 outputs a flag indicating vector control to the second processing unit F2, the eighth processing unit F8, and the ninth processing unit F9.
[0069] Based on the flag received from the first processing unit F1, the second processing unit F2 selects the voltage command Vdq* output by the 9th processing unit F9 from the voltage command Vdq* output by the 8th processing unit F8 and the voltage command Vdq* output by the 9th processing unit F9, and outputs the selected voltage command Vdq* to the third processing unit F3.
[0070] However, since processing units F93 and F96 are not used during the voltage phase control, when the voltage phase control is switched to the vector control, the ninth processing unit F9 cannot calculate a voltage command value that allows seamless control switching from the voltage phase control immediately before the switching. Therefore, when switching from the voltage phase control to the vector control, initial values corresponding to the state of the voltage phase control immediately before the switching are set for processing units F93 and F96, thereby enabling seamless switching from the voltage phase control to the vector control. Specifically, the motor system 1 performs the following process to set the initial values.
[0071] (Setting the initial value in processing step F93) First, the setting of the initial value in processing unit F93 will be described. Processing unit F91a1 estimates the previous torque command T* from the current value using the relational expression between torque and current shown in Equation (7) (step S1). Note that the previous value refers to one control cycle ago. In addition, it is preferable to use the current current value corresponding to the previous torque command T* as the current value. Then, processing unit F91a1 outputs the estimated previous torque command T* to processing unit F91a3.
[0072]
number
[0073] Here, in equation (7), p is the number of pole pairs, Φa is the armature flux linkage of the permanent magnet of motor 40, Ld is the d-axis inductance, Lq is the q-axis inductance, Id is the d-axis current, and Iq is the q-axis current.
[0074] The processing unit F91a2 multiplies the proportional gain Kpw of the processing unit F93a2 by the previous differential speed Δω output by the seventh processing unit F7 (step S2), and outputs the multiplication result to the processing unit F91a3.
[0075] The processing unit F91a3 subtracts the multiplication result output by the processing unit F91a2 from the previous torque command T* output by the processing unit F91a1 (step S3). Then, the processing unit F91a3 outputs the subtraction result to the processing unit F93 as the initial value of the processing unit F93a1 (step S4). This processing in step S4 allows the processing unit F93 to set an appropriate initial value based on the state of the voltage phase control. Therefore, even when the voltage phase control is switched to the vector control, the processing unit F93 can seamlessly switch between the voltage phase control and the vector control.
[0076] (Setting the initial value in processing step F96) Next, the setting of the initial value in processing unit F96 will be described. Processing unit F92a1 estimates the previous torque command T* from the current value using the relational expression between torque and current shown in Equation (7) (step S11). Note that it is preferable to use the current current value corresponding to the previous torque command T* as the current value. Then, processing unit F92a1 outputs the estimated previous torque command T* to processing unit F92a2.
[0077] Processing unit F92a2 generates a current amplitude command Ia* and a phase command β* from the torque command T* output by processing unit F92a1 using a conversion table between the torque command T* and the current amplitude command Ia* and phase command β* (step S12). Note that processing unit F92a2 may generate a current amplitude command Ia* and a phase command β* from the torque command T* output by processing unit F92a1 using a relational expression between the torque command T* and the current amplitude command Ia* and phase command β* instead of the conversion table between the torque command T* and the current amplitude command Ia* and phase command β*. Then, processing unit F92a2 outputs the generated current amplitude command Ia* and phase command β* to processing unit F92a3.
[0078] The processing unit F92a3 estimates a d-axis current command Id* from the current amplitude command Ia* and the phase command β* output by the processing unit F92a2 (step S13). Then, the processing unit F92a3 outputs the estimated d-axis current command Id* to the processing unit F92a5.
[0079] The processing unit F92a4 acquires the previous actual d-axis current Id (step S14), and outputs the acquired previous actual d-axis current Id to the processing unit F92a5.
[0080] The processing unit F92a5 subtracts the previous actual d-axis current Id output by the processing unit F92a4 from the d-axis current command Id* output by the processing unit F92a3 (step S15). Then, the processing unit F92a5 outputs the subtraction result to the processing unit F92a6.
[0081] The processing unit F92a6 multiplies the subtraction result output by the processing unit F92a5 by the proportional gain Kp_Id of the processing unit F96a2d (step S16). Then, the processing unit F96a6 outputs the multiplication result to the processing unit F92a9.
[0082] The processing unit F92a7 outputs the d-axis voltage command Vd* calculated during the voltage phase control one control cycle before (that is, the previous time) to the processing unit F92a9.
[0083] The processing unit F92a8 calculates the previous value of the d-axis non-interference term based on the previous values of the q-axis current Iq and the actual rotation speed ωe (step S17). Then, the processing unit F92a8 outputs the calculated previous d-axis non-interference term to the processing unit F92a9.
[0084] The processing unit F92a9 subtracts the previous d-axis non-interference term output by the processing unit F92a8 and the multiplication result output by the processing unit F92a6 from the previous d-axis voltage command Vd* output by the processing unit F92a7 (step S18). Then, the processing unit F92a9 outputs the subtraction result to the processing unit F96d as an initial value of the processing unit F96a1d (step S19). The processing unit F92 also performs the same processing for the q-axis as the processing for the d-axis in steps S11 to S19 described above. This processing in step S19 allows the processing unit F96 to set an appropriate initial value based on the state of the voltage phase control. Therefore, even when the voltage phase control is switched to the vector control, the processing unit F96 can seamlessly control the voltage phase control and the vector control.
[0085] (Processing to operate the motor in the vector control state for the first time when switching from voltage phase control to vector control) Next, a process of operating the motor 40 performed by the motor system 1 in the state of vector control for the first time when the control device 60 switches from voltage phase control to vector control will be described.
[0086] When the control device 60 is in a state of voltage phase control and the driving state of the motor 40 changes, and the first processing unit F1 determines to use vector control based on the driving state of the motor, the first processing unit F1 outputs a flag indicating vector control to the second processing unit F2, the eighth processing unit F8, and the ninth processing unit F9.
[0087] Processing unit F91 calculates an initial value of an integrator of a control state variable in processing unit F93 only when the control state is switched from voltage phase control to vector control, and outputs the value to processing unit F93. Processing unit F93 calculates a torque command T* based on the initial value calculated by processing unit F91 only when the control state is switched from voltage phase control to vector control, and outputs the value to processing unit F94. In other cases, processing unit F94 calculates a torque command T* based on a previous integral value, and outputs the torque command T* to processing unit F94. Processing unit F94 generates current commands Id* and Iq* (written as Idq* in FIG. 1) from the torque command T* output by processing unit F93. Processing unit F94 then outputs the generated current commands Id* and Iq* to processing unit F95. Processing unit F95 generates a d-axis current deviation ΔId from the current command Id* output by processing unit F94 and the actual d-axis current Id output by the fifth processing unit F5. Further, processing unit F95 generates a q-axis current deviation ΔIq from the current command Iq* output by processing unit F94 and the actual q-axis current Iq output by the fifth processing unit F5. Processing unit F95 outputs the generated d-axis current deviation ΔId and q-axis current deviation ΔIq to processing unit F96. Processing unit F92 calculates an initial value of an integrator of a control state variable in processing unit F96 only the first time the control state is switched from voltage phase control to vector control, and outputs the initial value to processing unit F96. Processing unit F96 generates a d-axis voltage command Vd* from the d-axis current deviation ΔId output by processing unit F95 based on the initial value calculated by processing unit F92 only the first time the control state is switched from voltage phase control to vector control. Otherwise, processing unit F96 generates a d-axis voltage command Vd* based on the previous integral value. Moreover, only the first time the control state is switched from voltage phase control to vector control, processing unit F96 generates a q-axis voltage command Vq* from the q-axis current deviation ΔIq output by processing unit F95 based on the initial value calculated by processing unit F92. Otherwise, processing unit F96 generates a q-axis voltage command Vq* based on the previous integral value. Processing unit F96 outputs the generated d-axis voltage command Vd* and q-axis voltage command Vq* to second processing unit F2.
[0088] The second processing unit F2 receives a voltage command Vdq* from the ninth processing unit F9. Based on a flag indicating vector control received from the first processing unit F1, the second processing unit F2 selects the voltage command Vdq* output by the ninth processing unit F9 from the voltage command Vdq* output by the eighth processing unit F8 and the voltage command Vdq* output by the ninth processing unit F9, and outputs the selected voltage command Vdq* to the third processing unit F3. The third processing unit F3 generates a voltage command Vuvw* from the voltage command Vdq*. Then, the third processing unit F3 outputs the generated voltage command Vuvw* to the PWM converter 10. The PWM converter 10 generates a PWM signal for controlling the inverter 20 based on Vuvw* output by the control device 60 and the input DC voltage Vdc of the inverter 20. Then, the PWM converter 10 outputs the generated PWM signal to the inverter 20. The inverter 20 generates an AC voltage for driving the motor 40 from the input DC voltage Vdc of the inverter 20 in response to the PWM signal output by the PWM converter 10. Then, the inverter 20 outputs the generated AC voltage to the motor 40. The motor 40 operates on the AC voltage output by the inverter 20. In this manner, switching from voltage phase control to vector control is performed.
[0089] (Processing performed when switching from vector control to voltage phase control) Next, with reference to FIG. 11, a description will be given of the processing of the motor system 1, including detailed processing of processing unit F81 that is performed only once each time vector control is switched to voltage phase control.
[0090] When the control device 60 is in vector control and the driving state of the motor 40 changes, and the first processing unit F1 determines to use voltage phase control based on the driving state of the motor 40, the first processing unit F1 outputs a flag indicating voltage phase control to the second processing unit F2, the eighth processing unit F8, and the ninth processing unit F9.
[0091] Based on the flag received from the first processing unit F1, the second processing unit F2 selects the voltage command Vdq* output by the eighth processing unit F8 from the voltage command Vdq* output by the eighth processing unit F8 and the voltage command Vdq* output by the ninth processing unit F9, and outputs the selected voltage command Vdq* to the third processing unit F3.
[0092] However, since processing unit F82 is not used during vector control, when vector control is switched to voltage phase control, the eighth processing unit F8 cannot calculate a voltage command value that allows seamless control switching from the vector control immediately before the switch. Therefore, when switching from vector control to voltage phase control, an initial value corresponding to the vector control immediately before the switch is set for processing unit F82, thereby enabling seamless switching from vector control to voltage phase control. Specifically, the motor system 1 performs the following process to set the initial value.
[0093] (Setting of initial value in process step F82) The processing unit F81a1 calculates the previous value of the voltage command phase based on the previous voltage command Vdq* output by the processing unit F96 according to equation (8) (step S31). Then, the processing unit F81a1 outputs the calculated previous voltage command phase to the processing unit F81a3.
[0094]
number
[0095] Note that equation (8) is an equation when the rotation speed is positive, and when the rotation speed is negative, the sign of Vd* is reversed. Here, Va* is a voltage amplitude command, and is expressed as in equation (9).
[0096]
number
[0097] The processing unit F81a2 multiplies the proportional gain Kp of the processing unit F82a2 by the previous differential speed Δω output by the seventh processing unit F7 (step S32). Then, the processing unit F81a2 outputs the multiplication result to the processing unit F81a3. Note that the previous differential speed Δω is not limited to the one output by the seventh processing unit F7. For example, the previous differential speed Δω may be derived by calculating the difference between the previous value and the previous previous value of the speed command ω* or the speed ωFB that are stored separately.
[0098] The processing unit F81a3 subtracts the multiplication result output by the processing unit F81a2 from the previous voltage command phase output by the processing unit F81a1 (step S33). Then, the processing unit F81a3 outputs the subtraction result to the processing unit F81a4.
[0099] The processing unit F81a4 sets a limit on the voltage phase that is the result of the subtraction output by the processing unit F81a3. The processing unit F81a4 outputs the voltage phase to which the limit has been applied as the initial value of the processing unit F82a1 to the processing unit F82 (step S34).
[0100] FIG. 12 is a diagram showing an example of the relationship between the voltage phase and the torque in the first embodiment of the present disclosure. FIG. 12 shows the relationship between the torque and the voltage phase of the motor 40 calculated from the voltage equation and the torque equation of the motor, the driving speed of a certain motor 40, and the DC voltage input to a certain inverter 20. As can be seen from FIG. 12, there is a region where the torque increases and a region where the torque decreases when the voltage phase is increased. In order to control stably, it is desirable to take this relationship into consideration and perform voltage phase control with a voltage phase in a region where the torque also increases when the voltage phase is increased. When a ripple is superimposed on the motor current due to an error in the detection of the motor current by the current sensor 30 or the current detection circuit 80, driving in the overmodulation region, etc., a ripple component may also be superimposed on the voltage command of the vector control. A ripple is also superimposed on the voltage phase command calculated using the voltage command. In such a case, when switching from the vector control to the voltage phase control, the voltage phase output by the processing unit F81a3 may become a value that exceeds the phase range that can be stably controlled by the voltage phase control. Therefore, the processing unit F81a4 sets the limit so that the switching initial value is in a region to the left of point A where the torque peaks in FIG. 12. The limit may also be set based on the voltage phase that is the extreme value of a function that represents the relationship between the torque and voltage phase of the motor 40, which is calculated from the driving speed of the motor 40 and the DC voltage input to the inverter 20. This limit may be a constant or a variable according to the speed of the motor 40 and the DC voltage input to the inverter 20. The processing of step S34 makes it possible to output to F82 the initial value of the phase range that can be stably controlled by the voltage phase control. As a result, even when a ripple component is superimposed on the voltage command of the vector control, the torque and rotation speed fluctuations can be suppressed and the motor can be stably controlled when switching from the vector control to the voltage phase control.
[0101] (Processing for operating the motor in the voltage phase control state for the first time when switching from vector control to voltage phase control) Next, a process of operating the motor 40 performed by the motor system 1 in the state of voltage phase control at the first time when the control device 60 switches from vector control to voltage phase control will be described.
[0102] When the control device 60 is in vector control and the driving state of the motor 40 changes, and the first processing unit F1 determines to use voltage phase control based on the driving state of the motor, the first processing unit F1 outputs a flag indicating voltage phase control to the second processing unit F2, the eighth processing unit F8, and the ninth processing unit F9.
[0103] Processing unit F81 calculates an initial value of an integrator of a control state variable in processing unit F82 only the first time the control state is switched from vector control to voltage phase control, and outputs the initial value to processing unit F82. Processing unit F82 calculates a phase command φ* based on the initial value calculated by processing unit F81 only the first time the control state is switched from vector control to voltage phase control, and outputs the phase command φ* to processing unit F83. In other cases, processing unit F82 calculates a phase command φ* based on the previous integral value, and outputs the phase command φ* to processing unit F83. Processing unit F83 generates a voltage command Vdq* from the phase command φ* output by processing unit F82 and the input DC voltage Vdc of the inverter 20. Processing unit F83 outputs the generated voltage command Vdq* to the second processing unit F2.
[0104] The second processing unit F2 receives a voltage command Vdq* from the eighth processing unit F8. Based on a flag indicating the voltage phase control received from the first processing unit F1, the second processing unit F2 selects the voltage command Vdq* output by the eighth processing unit F8 from the voltage command Vdq* output by the eighth processing unit F8 and the voltage command Vdq* output by the ninth processing unit F9, and outputs the selected voltage command Vdq* to the third processing unit F3. The third processing unit F3 generates a voltage command Vuvw* from the voltage command Vdq*. Then, the third processing unit F3 outputs the generated voltage command Vuvw* to the PWM converter 10. The PWM converter 10 generates a PWM signal for controlling the inverter 20 based on Vuvw* output by the control device 60 and the input DC voltage Vdc of the inverter 20. Then, the PWM converter 10 outputs the generated PWM signal to the inverter 20. The inverter 20 generates an AC voltage for driving the motor 40 from the input DC voltage Vdc of the inverter 20 in response to the PWM signal output by the PWM converter 10. Then, the inverter 20 outputs the generated AC voltage to the motor 40. The motor 40 operates on the AC voltage output by the inverter 20. In this manner, switching from vector control to voltage phase control is performed.
[0105] (Action and effect) The motor system 1 according to the first embodiment of the present disclosure has been described above. In the control device 60 of the motor system 1, a first processing unit F1 (an example of an instruction unit) switches between vector control and the voltage phase control for controlling the motor 40 in accordance with the driving state of the motor 40. When switching from the voltage phase control to the vector control in accordance with the switching by the first processing unit F1, processing units F91 and F92 (an example of an estimation unit) estimate a value of an output of a processing unit F93 (an example of a first controller) used for the vector control one control cycle before using a value of a physical quantity (torque) related to the motor 40, and estimate an initial value of at least one of the processing units F93 and F96 (an example of a second controller) used for the vector control.
[0106] This allows the state of the voltage phase control to be equivalent to the state immediately before switching the initial values of the vector control of the processors F93 and F96 even when switching from the speed feedback type voltage phase control to the vector control. As a result, the operation can be seamless even when switching between the speed feedback type voltage phase control and the vector control.
[0107] <First Modification of First Embodiment> A motor system 1 according to a first modified example of the first embodiment of the present disclosure will be described.
[0108] (Motor system configuration) The motor system 1 according to the first modified example of the first embodiment of the present disclosure includes a PWM converter 10, an inverter 20, a current sensor 30, a motor 40, a position sensor 50, and a control device 60, similar to the motor system 1 according to the first embodiment of the present disclosure.
[0109] (Control device configuration) The control device 60 according to the first variant of the first embodiment of the present disclosure, like the control device 60 according to the first embodiment of the present disclosure, includes a first processing unit F1, a second processing unit F2, a third processing unit F3, a fourth processing unit F4, a fifth processing unit F5, a sixth processing unit F6, a seventh processing unit F7, an eighth processing unit F8, and a ninth processing unit F9.
[0110] The ninth processing unit F9 according to the first modified example of the first embodiment of the present disclosure includes processing units F91, F92, F93, F94, F95, and F96, similar to the ninth processing unit F9 according to the first embodiment of the present disclosure. However, the processing unit F91 according to the first modified example of the first embodiment of the present disclosure differs from the processing unit F91 according to the first embodiment of the present disclosure in terms of processing.
[0111] Fig. 13 is a diagram showing an example of the configuration of a processing unit F91 according to a first modified example of the first embodiment of the present disclosure. As shown in Fig. 13, the processing unit F91 includes processing units F91a1, F91a2, F91a3, and F91a4.
[0112] (Processing performed by the motor system) 14 is a diagram showing an example of a processing flow of the processing unit F91 according to the first modified example of the first embodiment of the present disclosure. During the voltage phase control, the processing unit F91a1 estimates the previous torque command T* from the current value using the relational expression between torque and current shown in Equation (7) (step S41). Note that it is preferable to use the current current value corresponding to the previous torque command T* as the current value. Then, the processing unit F91a1 outputs the estimated previous torque command T* to the processing unit F91a4.
[0113] The processing unit F91a4 is a digital low-pass filter. During the voltage phase control, the processing unit F91a4 passes the previous torque command T* output by the processing unit F91a1 (step S42). The previous torque command T* output by the processing unit F91a1 is a value calculated from the actual current. Therefore, the previous torque command T* output by the processing unit F91a1 may contain a fluctuation component of a higher frequency than the control frequency in the processing unit F93. The processing unit F91a4 removes the high-frequency fluctuation component contained in the previous torque command T* output by the processing unit F91a1. Then, the processing unit F91a4 outputs the previous torque command T* from which the high-frequency fluctuation component has been removed to the processing unit F91a3.
[0114] The processing performed by the processing units F91a2 and F91a3 according to the first modified example of the first embodiment of the present disclosure is similar to the processing performed by the processing units F91a2 and F91a3 according to the first embodiment of the present disclosure. That is, when the processing unit F91a4 outputs the previous torque command T* from which the high-frequency fluctuation components have been removed to the processing unit F91a3, the processing units perform steps S2 to S4.
[0115] (Action and effect) The motor system 1 according to the first modified example of the first embodiment of the present disclosure has been described above. In the control device 60 of the motor system 1, the processing unit F91a4, which is a digital low-pass filter, passes the previous torque command T* output by the processing unit F91a1.
[0116] As a result, the previous torque command T* received by the processing unit F91a3 is one from which high-frequency fluctuation components have been removed. As a result, compared to a case where an initial value is calculated using the previous torque command T* that does not pass through the processing unit F91a4, it is possible to supply to the processing unit F93 an initial value for switching from which fluctuation components due to current ripple components and the like generated by errors in detection of the motor current by the current sensor 30 and the current detection circuit 80, driving in the overmodulation range, and the like have been removed, and even if the previous torque command T* has fluctuation components due to current ripple components, it is possible to suppress fluctuations in torque and rotation speed when switching control.
[0117] <Second Modification of First Embodiment> A motor system 1 according to a second modified example of the first embodiment of the present disclosure will be described.
[0118] (Motor system configuration) The motor system 1 according to the second modified example of the first embodiment of the present disclosure includes a PWM converter 10, an inverter 20, a current sensor 30, a motor 40, a position sensor 50, and a control device 60, similar to the motor system 1 according to the first embodiment of the present disclosure.
[0119] (Control device configuration) The control device 60 according to the second variant of the first embodiment of the present disclosure, like the control device 60 according to the first embodiment of the present disclosure, includes a first processing unit F1, a second processing unit F2, a third processing unit F3, a fourth processing unit F4, a fifth processing unit F5, a sixth processing unit F6, a seventh processing unit F7, an eighth processing unit F8, and a ninth processing unit F9.
[0120] The ninth processing unit F9 according to the second modified example of the first embodiment of the present disclosure includes processing units F91, F92, F93, F94, F95, and F96, similar to the ninth processing unit F9 according to the first embodiment of the present disclosure. However, the processing unit F92 according to the second modified example of the first embodiment of the present disclosure differs from the processing unit F92 according to the first embodiment of the present disclosure in that the processing unit F92 performs different processing.
[0121] Fig. 15 is a diagram illustrating an example of the configuration of a processing unit F92 according to a second modified example of the first embodiment of the present disclosure. As shown in Fig. 15, the processing unit F92 includes F92a1, F92a2, F92a3, F92a4, F92a5, F92a6, F92a7, F92a8, F92a9, and F92a10.
[0122] (Processing performed by the motor system) 16 is a diagram showing an example of a processing flow of the processing unit F92 according to the second modified example of the first embodiment of the present disclosure. The processing unit F92a1 estimates the previous torque command T* from the current value using the relational expression between torque and current shown in Equation (7) (step S51). Note that it is preferable to use the current current value corresponding to the previous torque command T* as the current value. Then, the processing unit F92a1 outputs the estimated previous torque command T* to the processing unit F92a10.
[0123] The processing unit F92a10 is a digital low-pass filter, and passes the previous torque command T* output by the processing unit F92a1 (step S52). When past data is necessary to configure the low-pass filter, the processing unit F92a10 stores the data. The previous torque command T* output by the processing unit F92a1 is a value calculated from the actual current. Therefore, the previous torque command T* output by the processing unit F92a1 may contain a fluctuation component of a higher frequency than the control frequency in the processing unit F96. The processing unit F92a10 removes the high-frequency fluctuation component included in the previous torque command T* output by the processing unit F92a1. Then, the processing unit F92a10 outputs the previous torque command T* from which the high-frequency fluctuation component has been removed to the processing unit F92a3.
[0124] This is similar to the processing performed by processing units F92a2, F92a3, F92a4, F92a5, F92a6, F92a7, F92a8, and F92a9 according to the second modified example of the first embodiment of the present disclosure. That is, when processing unit F92a10 outputs the previous torque command T* from which the high-frequency fluctuation components have been removed to processing unit F92a2, the processing of steps S12 to S19 is then performed.
[0125] (Action and effect) The motor system 1 according to the second modified example of the first embodiment of the present disclosure has been described above. In the control device 60 of the motor system 1, the processing unit F92a10, which is a digital low-pass filter, passes the previous torque command T* output by the processing unit F92a1.
[0126] As a result, the previous torque command T* received by the processing unit F92a2 is one from which high-frequency fluctuation components have been removed. As a result, compared to a case where an initial value is calculated using the previous torque command T* that does not pass through the processing unit F92a10, it is possible to supply to the processing unit F96 an initial value for switching from which fluctuation components due to current ripple components and the like generated by errors in detection of the motor current by the current sensor 30 and the current detection circuit 80, driving in the overmodulation range, and the like have been removed, and even if the previous torque command T* has fluctuation components due to current ripple components, it is possible to suppress fluctuations in torque and rotation speed when switching control.
[0127] <Second embodiment> A motor system 1 according to a second embodiment of the present disclosure will be described. In the motor system 1 according to the first embodiment of the present disclosure, the torque command T* is estimated, and the initial values of the processing units F93 and F96 are estimated, but in the motor system 1 according to the second embodiment of the present disclosure, the current amplitude command Ia* is estimated, and the initial values of the processing units F93 and F96 are estimated.
[0128] (Motor system configuration) The motor system 1 according to the second embodiment of the present disclosure includes a PWM converter 10, an inverter 20, a current sensor 30, a motor 40, a position sensor 50, and a control device 60, similar to the motor system 1 according to the first embodiment of the present disclosure.
[0129] (Control device configuration) The control device 60 according to the second embodiment of the present disclosure, like the control device 60 according to the first embodiment of the present disclosure, includes a first processing unit F1, a second processing unit F2, a third processing unit F3, a fourth processing unit F4, a fifth processing unit F5, a sixth processing unit F6, a seventh processing unit F7, an eighth processing unit F8, and a ninth processing unit F9.
[0130] The ninth processing unit F9 according to the second embodiment of the present disclosure includes processing units F91, F92, F93, F94, F95, and F96, similar to the ninth processing unit F9 according to the first embodiment of the present disclosure. However, the processing unit F91 according to the second embodiment of the present disclosure is different in processing from the processing unit F91 according to the first embodiment of the present disclosure. Also, the processing unit F92 according to the second embodiment of the present disclosure is different in processing from the processing unit F92 according to the first embodiment of the present disclosure. Also, the processing unit F93 according to the second embodiment of the present disclosure is different in processing from the processing unit F93 according to the first embodiment of the present disclosure.
[0131] Fig. 17 is a diagram illustrating an example of the configuration of a processing unit F93 according to the second embodiment of the present disclosure. The processing unit F93 according to the first embodiment of the present disclosure outputs a torque command T*, but as can be seen from Fig. 17, the processing unit F93 according to the second embodiment of the present disclosure outputs a current amplitude command Ia*.
[0132] Fig. 18 is a diagram showing an example of the configuration of a processing unit F91 according to the second embodiment of the present disclosure. Fig. 19 is a diagram showing an example of the configuration of a processing unit F92 according to the second embodiment of the present disclosure. As shown in Fig. 18, the processing unit F91 includes processing units F91a2, F91a3, and F91a5. As shown in Fig. 19, the processing unit F92 includes processing units F92a3, F92a4, F92a5, F92a6, F92a7, F92a8, F92a9, F92a11, and F92a12.
[0133] (Processing performed by the motor system) Next, a process performed by the motor system 1 according to the second embodiment of the present disclosure will be described. Fig. 20 is a diagram showing a first example of a process flow of the motor system 1 according to the second embodiment of the present disclosure. Fig. 21 is a diagram showing a second example of a process flow of the motor system 1 according to the second embodiment of the present disclosure. Here, it is assumed that the processing unit F81 has the configuration shown in Fig. 6, the processing unit F91 has the configuration shown in Fig. 18, and the processing unit F92 has the configuration shown in Fig. 19.
[0134] (Processing performed when switching from voltage phase control to vector control) 20 and 21, the processing of the motor system 1 will be described, including detailed processing of processing steps F91 and F92, which are performed only once each time voltage phase control is switched to vector control.
[0135] First, a description will be given of how the control device 60 is in the voltage phase control state. As in the first embodiment of the present disclosure, the first processing unit F1 outputs a flag indicating the voltage phase control to the second processing unit F2, the eighth processing unit F8, and the ninth processing unit F9 based on the driving state of the motor 40.
[0136] The second processing unit F2 selects an input signal based on the flag received from the first processing unit F1 and outputs the selected input signal to the third processing unit F3. For example, when the second processing unit F2 receives a flag indicating voltage phase control, the second processing unit F2 selects the voltage command Vdq* output by the eighth processing unit F8 from the voltage command Vdq* output by the eighth processing unit F8 and the voltage command Vdq* output by the ninth processing unit F9, and outputs the selected voltage command Vdq* to the third processing unit F3.
[0137] The third processing unit F3 generates a voltage command Vuvw* from the voltage command Vdq* output by the second processing unit F2. Then, the third processing unit F3 outputs the generated voltage command Vuvw* to the PWM converter 10. The PWM converter 10 generates a PWM signal for controlling the inverter 20 based on the control signal Vuvw* output by the control device 60 and the input DC voltage Vdc of the inverter 20. Then, the PWM converter 10 outputs the generated PWM signal to the inverter 20.
[0138] That is, in this case, the PWM converter 10 outputs to the inverter 20 a PWM signal for performing voltage phase control.
[0139] Moreover, based on the flag indicating the voltage phase control, the ninth processing unit F9 is not used, and the eighth processing unit F8 is used. As described above, the control device 60 is in the state of the voltage phase control.
[0140] Next, a process performed when switching from voltage phase control to vector control will be described. When the drive state of the motor 40 changes while the control device 60 is in the voltage phase control state, and the first processing unit F1 determines to use vector control based on the drive state of the motor, the first processing unit F1 outputs a flag indicating vector control to the second processing unit F2, the eighth processing unit F8, and the ninth processing unit F9.
[0141] Based on the flag received from the first processing unit F1, the second processing unit F2 selects the voltage command Vdq* output by the 9th processing unit F9 from the voltage command Vdq* output by the 8th processing unit F8 and the voltage command Vdq* output by the 9th processing unit F9, and outputs the selected voltage command Vdq* to the third processing unit F3.
[0142] However, since processing units F93 and F96 are not used during the voltage phase control, when the voltage phase control is switched to the vector control, the ninth processing unit F9 cannot calculate a voltage command value that allows seamless control switching from the voltage phase control immediately before the switching. Therefore, when switching from the voltage phase control to the vector control, initial values corresponding to the voltage phase control immediately before the switching are set for processing units F93 and F96, thereby enabling seamless switching from the voltage phase control to the vector control. Specifically, the motor system 1 performs the following process to set the initial values.
[0143] (Setting the initial value in processing step F93) First, the setting of the initial value in processing unit F93 will be described. Processing unit F91a5 estimates the previous current amplitude command Ia* from the actual current amplitude value of the motor current flowing through the motor 40 (step S61). Note that it is preferable to use the current actual current amplitude value corresponding to the previous current amplitude command Ia* as the actual current amplitude value. Specifically, processing unit F91a5 estimates the previous current amplitude command Ia* from the actual current amplitude value obtained by substituting the actual d-axis current value Id and the actual q-axis current value Iq into the following equation (10), for example. Processing unit F91a5 then outputs the estimated previous current command Ia* to processing unit F91a3.
[0144]
number
[0145] As in the first embodiment of the present disclosure, the processing unit F91a2 multiplies the proportional gain Kpw of the processing unit F93a2 by the previous differential speed Δω output by the seventh processing unit F7 (step S2). Then, the processing unit F91a2 outputs the multiplication result to the processing unit F91a3.
[0146] Processing unit F91a3 subtracts the multiplication result output by processing unit F91a2 from the previous current amplitude command Ia* output by processing unit F91a5 (step S62). Processing unit F91a3 then outputs the subtraction result to the ninth processing unit F9 as the initial value of processing unit F93a1 (step S4). This processing in step S4 allows processing unit F93 to set an appropriate initial value based on the state of vector control estimated from the state of voltage phase control. Therefore, even when switching from voltage phase control to vector control, processing unit F93 can seamlessly control voltage phase control and vector control.
[0147] (Setting the initial value in processing step F96) Next, the setting of the initial value in processing unit F96 will be described. Processing unit F92a11 estimates the previous current amplitude command Ia* from the actual current amplitude value of the motor current flowing through the motor 40 (step S71). Note that it is preferable to use the current actual current amplitude value corresponding to the previous current amplitude command Ia* as the actual current amplitude value. Specifically, processing unit F92a11 estimates the previous current amplitude command Ia* by substituting the actual d-axis current value Id and the actual q-axis current value Iq into the above-mentioned equation (10), for example. Then, processing unit F92a11 outputs the estimated previous current command Ia* to processing units F92a3 and F92a12.
[0148] The processing unit F92a12 generates a phase command β* from the current amplitude command Ia* output by the processing unit F92a11 using the equation for the maximum torque generation phase shown in Equation (11) (step S72). Then, the processing unit F92a12 outputs the generated phase command β* to the processing unit F92a3.
[0149]
number
[0150] The processing unit F92a3 estimates a d-axis current command Id* from the current amplitude command Ia* output by the processing unit F92a11 and the phase command β* output by the processing unit F92a12 (step S73). Then, the processing unit F92a3 outputs the estimated d-axis current command Id* to the processing unit F92a5.
[0151] Thereafter, similar processes to those in steps S14 to S19 are performed as in the first embodiment of the present disclosure. Furthermore, processing unit F92 performs processes similar to those in steps S71 to S73 and steps S14 to S19 for the d axis for the q axis. This process similar to that in step S19 allows processing unit F96 to set an appropriate initial value based on the state of vector control estimated from the state of voltage phase control. Therefore, even when switching from voltage phase control to vector control, processing unit F96 can seamlessly control voltage phase control and vector control.
[0152] (Processing to operate the motor in the vector control state for the first time when switching from voltage phase control to vector control) Next, a process of operating the motor 40 performed by the motor system 1 in the state of vector control for the first time when the control device 60 switches from voltage phase control to vector control will be described. When the drive state of the motor 40 changes while the control device 60 is in the state of voltage phase control, and the first processing unit F1 determines to use vector control based on the drive state of the motor, the first processing unit F1 outputs a flag indicating vector control to the second processing unit F2, the eighth processing unit F8, and the ninth processing unit F9.
[0153] Processing unit F91 calculates an initial value of an integrator of a control state variable in processing unit F93 only when the control state is switched from voltage phase control to vector control, and outputs the value to processing unit F93. Processing unit F93 calculates a current amplitude command Ia* based on the initial value calculated by processing unit F91 only when the control state is switched from voltage phase control to vector control, and outputs the value to processing unit F94. In other cases, processing unit F94 calculates a current amplitude command Ia* based on a previous integral value, and outputs the current amplitude command Ia* to processing unit F94. Processing unit F94 generates current commands Id* and Iq* (written as Idq* in FIG. 1) from the current amplitude command Ia* output by processing unit F93. Processing unit F94 then outputs the generated current commands Id* and Iq* to processing unit F95. Processing unit F95 generates a d-axis current deviation ΔId from the current command Id* output by processing unit F94 and the actual d-axis current Id output by the fifth processing unit F5. Further, processing unit F95 generates a q-axis current deviation ΔIq from the current command Iq* output by processing unit F94 and the actual q-axis current Iq output by the fifth processing unit F5. Processing unit F95 outputs the generated d-axis current deviation ΔId and q-axis current deviation ΔIq to processing unit F96. Processing unit F92 calculates an initial value of an integrator of a control state variable in processing unit F96 only the first time the control state is switched from voltage phase control to vector control, and outputs the initial value to processing unit F96. Processing unit F96 generates a d-axis voltage command Vd* from the d-axis current deviation ΔId output by processing unit F95 based on the initial value calculated by processing unit F92 only the first time the control state is switched from voltage phase control to vector control. Otherwise, processing unit F96 generates a d-axis voltage command Vd* based on the previous integral value. Moreover, only the first time the control state is switched from voltage phase control to vector control, processing unit F96 generates a q-axis voltage command Vq* from the q-axis current deviation ΔIq output by processing unit F95 based on the initial value calculated by processing unit F92. Otherwise, processing unit F96 generates a q-axis voltage command Vq* based on the previous integral value. Processing unit F96 outputs the generated d-axis voltage command Vd* and q-axis voltage command Vq* to second processing unit F2.
[0154] The second processing unit F2 receives a voltage command Vdq* from the ninth processing unit F9. Based on a flag indicating vector control received from the first processing unit F1, the second processing unit F2 selects the voltage command Vdq* output by the ninth processing unit F9 from the voltage command Vdq* output by the eighth processing unit F8 and the voltage command Vdq* output by the ninth processing unit F9, and outputs the selected voltage command Vdq* to the third processing unit F3. The third processing unit F3 generates a voltage command Vuvw* from the voltage command Vdq*. Then, the third processing unit F3 outputs the generated voltage command Vuvw* to the PWM converter 10. The PWM converter 10 generates a PWM signal for controlling the inverter 20 based on the voltage command Vuvw* output by the control device 60 and the input DC voltage Vdc of the inverter 20. Then, the PWM converter 10 outputs the generated PWM signal to the inverter 20. The inverter 20 generates an AC voltage for driving the motor 40 from the input DC voltage Vdc of the inverter 20 in response to the PWM signal output by the PWM converter 10. Then, the inverter 20 outputs the generated AC voltage to the motor 40. The motor 40 operates on the AC voltage output by the inverter 20. In this manner, the motor 40 operates by vector control.
[0155] (Processing performed when switching from vector control to voltage phase control) With regard to the processing of the motor system 1, including the detailed processing of processing unit F81 that is performed only once each time vector control is switched to voltage phase control, it is sufficient to consider processing similar to the processing of the motor system 1 according to the first embodiment of the present disclosure, as described above.
[0156] (Action and effect) The motor system 1 according to the second embodiment of the present disclosure has been described above. In the control device 60 of the motor system 1, when the voltage phase control is switched to the vector control in response to switching by the first processing unit F1, the processing units F91 and F92 (an example of an estimation unit) estimate a previous value of an output of a processing unit F93 (an example of a first controller) used for the vector control using a value of a physical quantity (current amplitude value) related to the motor 40 in the voltage phase control, and estimate an initial value of at least one of the processing units F93 and F96 (an example of a second controller) used for the vector control.
[0157] As a result, even when switching between the speed feedback type voltage phase control and the vector control, the initial values of the vector control of the processors F93 and F96 can be made equivalent to the state of the voltage phase control immediately before switching, using not only the torque but also the current amplitude value. As a result, even when switching between the speed feedback type voltage phase control and the vector control, a seamless operation can be achieved.
[0158] <First Modification of Second Embodiment> A motor system 1 according to a first modified example of the second embodiment of the present disclosure will be described.
[0159] (Motor system configuration) The motor system 1 according to the first modified example of the second embodiment of the present disclosure includes a PWM converter 10, an inverter 20, a current sensor 30, a motor 40, a position sensor 50, and a control device 60, similar to the motor system 1 according to the second embodiment of the present disclosure.
[0160] (Control device configuration) The control device 60 according to the first variant of the second embodiment of the present disclosure, like the control device 60 according to the second embodiment of the present disclosure, includes a first processing unit F1, a second processing unit F2, a third processing unit F3, a fourth processing unit F4, a fifth processing unit F5, a sixth processing unit F6, a seventh processing unit F7, an eighth processing unit F8, and a ninth processing unit F9.
[0161] The ninth processing unit F9 according to the first modified example of the second embodiment of the present disclosure includes processing units F91, F92, F93, F94, F95, and F96, similar to the ninth processing unit F9 according to the second embodiment of the present disclosure. However, the processing unit F91 according to the first modified example of the second embodiment of the present disclosure differs from the processing unit F91 according to the second embodiment of the present disclosure in terms of processing.
[0162] Fig. 22 is a diagram showing an example of the configuration of a processing unit F91 according to a first modified example of the second embodiment of the present disclosure. As shown in Fig. 22, the processing unit F91 includes processing units F91a2, F91a3, F91a5, and F91a6.
[0163] (Processing performed by the motor system) 23 is a diagram showing an example of a processing flow of the processing unit F91 according to the first modified example of the second embodiment of the present disclosure. The processing unit F91a5 estimates a previous current amplitude command Ia* from an actual current amplitude value of the motor current flowing through the motor 40 (step S81). Note that it is preferable to use a current actual current amplitude value corresponding to the previous current amplitude command Ia* as the actual current amplitude value. Then, the processing unit F91a5 outputs the estimated previous current command Ia* to the processing unit F91a6.
[0164] The processing unit F91a6 is a digital low-pass filter. The processing unit F91a6 passes the previous current command Ia* output by the processing unit F91a5 (step S82). When past data is necessary to configure the low-pass filter, the processing unit F91a5 stores the data. The previous current command Ia* output by the processing unit F91a5 is a value calculated from the actual current. Therefore, the previous current command Ia* output by the processing unit F91a5 may contain a fluctuation component with a higher frequency than the control frequency in the processing unit F93. The processing unit F91a6 removes the high-frequency fluctuation component included in the previous current command Ia* output by the processing unit F91a5. Then, the processing unit F91a6 outputs the previous current command Ia* from which the high-frequency fluctuation component has been removed to the processing unit F91a3.
[0165] The processing performed by the processing units F91a2 and F91a3 according to the first modified example of the second embodiment of the present disclosure is similar to the processing performed by the processing units F91a2 and F91a3 according to the second embodiment of the present disclosure. That is, when the processing unit F91a6 outputs the previous current command Ia* from which the high-frequency fluctuation components have been removed to the processing unit F91a3, the processing units perform the processes of steps S2, s62, and S4.
[0166] (Action and effect) The motor system 1 according to the first modified example of the second embodiment of the present disclosure has been described above. In the control device 60 of the motor system 1, the processing unit F91a6, which is a digital low-pass filter, passes the previous current command Ia* output by the processing unit F91a5.
[0167] As a result, the previous current command Ia* received by the processing unit F91a3 is one from which high-frequency fluctuation components have been removed. As a result, compared to a case where an initial value is calculated using the previous current command Ia* that does not pass through the processing unit F91a6, it is possible to supply to the processing unit F93 an initial value for switching from which fluctuation components due to current ripple components and the like generated by errors in detection of the motor current by the current sensor 30 and the current detection circuit 80, driving in the overmodulation range, and the like have been removed, and even if the previous current command Ia* has fluctuation components due to the current ripple components, it is possible to suppress fluctuations in torque and rotation speed when switching control.
[0168] <Second Modification of Second Embodiment> A motor system 1 according to a second modified example of the second embodiment of the present disclosure will be described.
[0169] (Motor system configuration) The motor system 1 according to the second modified example of the second embodiment of the present disclosure includes a PWM converter 10, an inverter 20, a current sensor 30, a motor 40, a position sensor 50, and a control device 60, similar to the motor system 1 according to the second embodiment of the present disclosure.
[0170] (Control device configuration) The control device 60 according to the second variant of the second embodiment of the present disclosure, like the control device 60 according to the first embodiment of the present disclosure, includes a first processing unit F1, a second processing unit F2, a third processing unit F3, a fourth processing unit F4, a fifth processing unit F5, a sixth processing unit F6, a seventh processing unit F7, an eighth processing unit F8, and a ninth processing unit F9.
[0171] The ninth processing unit F9 according to the second modified example of the second embodiment of the present disclosure includes processing units F91, F92, F93, F94, F95, and F96, similar to the ninth processing unit F9 according to the second embodiment of the present disclosure. However, the processing unit F92 according to the second modified example of the second embodiment of the present disclosure differs from the processing unit F92 according to the second embodiment of the present disclosure in terms of processing.
[0172] Fig. 24 is a diagram illustrating an example of the configuration of a processing unit F92 according to a second modified example of the first embodiment of the present disclosure. As shown in Fig. 24, the processing unit F92 includes F92a3, F92a4, F92a5, F92a6, F92a7, F92a8, F92a9, F92a11, F92a12, and F91a13.
[0173] (Processing performed by the motor system) 25 is a diagram showing an example of a processing flow of the processing unit F92 according to the second modified example of the second embodiment of the present disclosure. The processing unit F92a11 estimates a previous current amplitude command Ia* from an actual current amplitude value of the motor current flowing through the motor 40 (step S91). Note that it is preferable to use a current actual current amplitude value corresponding to the previous current amplitude command Ia* as the actual current amplitude value. Then, the processing unit F92a11 outputs the estimated previous current command Ia* to the processing unit F92a13.
[0174] The processing unit F92a13 is a digital low-pass filter. The processing unit F92a13 passes the previous current command Ia* output by the processing unit F92a11 (step S92). The previous current command Ia* output by the processing unit F92a11 is a value calculated from the actual current. Therefore, the previous current command Ia* output by the processing unit F92a11 may contain a fluctuation component with a higher frequency than the control frequency in the processing unit F93. The processing unit F92a13 removes the high-frequency fluctuation component contained in the previous current command Ia* output by the processing unit F92a11. Then, the processing unit F92a13 outputs the previous current command Ia* from which the high-frequency fluctuation component has been removed to the processing units F92a3 and F92a12.
[0175] The processing performed by the processing units F92a3, F92a4, F92a5, F92a6, F92a7, F92a8, F92a9, and F92a12 according to the second modified example of the second embodiment of the present disclosure is similar to the processing performed by the processing units F92a3, F92a4, F92a5, F92a6, F92a7, F92a8, F92a9, and F92a12 according to the second embodiment of the present disclosure. That is, when the processing unit F92a13 outputs the previous current command Ia* from which the high-frequency fluctuation component has been removed to the processing units F92a3 and F92a12, the processing units perform the processing of steps S72, S73, and S14 to S19.
[0176] (Action and effect) The motor system 1 according to the second modified example of the second embodiment of the present disclosure has been described above. In the control device 60 of the motor system 1, the processing unit F92a13, which is a digital low-pass filter, passes the previous current command Ia* output by the processing unit F92a11.
[0177] As a result, the previous current command Ia* received by the processing units F92a3 and F92a12 is one from which high-frequency fluctuation components have been removed. As a result, compared to a case where an initial value is calculated using the previous current command Ia* that does not pass through the processing unit F92a13, it is possible to supply to the processing unit F96 an initial value for switching from which fluctuation components due to current ripple components and the like generated by errors in detection of the motor current by the current sensor 30 and the current detection circuit 80, driving in the overmodulation range, and the like have been removed. Even if the previous current command Ia* has fluctuation components due to the current ripple components, it is possible to suppress fluctuations in torque and rotation speed when switching control.
[0178] <Another Modification of the First and Second Embodiments> In the first embodiment, the first modified example of the first embodiment, the second modified example of the first embodiment, the second embodiment, the first modified example of the second embodiment, and the second modified example of the second embodiment of the present disclosure, the processing unit F81 sets a limit of the voltage phase by processing unit F81a4 as shown in FIG. 6 so that the phase command φ* does not exceed a predetermined upper limit value. However, in another modified example of the first embodiment and the second embodiment, instead of or in addition to processing unit F81a4, the limit may be set by processing unit F82 so that the phase command φ* does not exceed a predetermined upper limit value. When the limit is set by processing unit F82 instead of processing unit F81a4, the subtraction result output by processing unit F81a3 is set as the initial value of processing unit F82.
[0179] (Configuration of processing unit F82) Fig. 26 is a diagram showing an example of the configuration of a processing unit F82 according to another modified example of the first and second embodiments of the present disclosure. The processing unit F82 shown in Fig. 26 includes processing units F82a2, F82a3, and F82a5.
[0180] (Processing performed by processing unit F82) The processing performed by the processing unit F82 shown in FIG. 26 will be described. The processing unit F82a5 includes a limiter. The limiter is provided with a limit value determined according to the DC voltage input to the inverter 20 that drives the motor 40 and the driving speed of the motor 40, and limits the output of the processing unit F82a5, which is an integrator of the controller used for voltage phase control, by limiting the integral value with the limit value. Specifically, the processing unit F82a5 multiplies the differential speed Δω output by the seventh processing unit F7 by an integral gain Ki and integrates the result. If the integral result is equal to or less than a predetermined upper limit value, the processing unit F82a5 outputs the integral result as it is to the processing unit F82a3. If the integral result exceeds the predetermined upper limit value, the processing unit F82a5 outputs the predetermined upper limit value to the processing unit F82a3 as the integral result by the limiter. The predetermined upper limit value may be a value determined based on the voltage phase that is the extreme value of a function that represents the relationship between the torque and voltage phase of the motor calculated from the driving speed and the DC voltage. This predetermined upper limit value may be a constant or a variable that depends on the rotation speed of the motor 40 and the DC voltage input to the inverter 20.
[0181] The processing unit F82a2 multiplies the differential speed Δω output by the seventh processing unit F7 by a proportional gain Kp, and outputs the multiplication result to the processing unit F82a3.
[0182] The processing unit F82a3 adds the integration result output by the processing unit F82a5 and the multiplication result output by the processing unit F82a2, and outputs the addition result to the processing unit F83 as the phase command φ*.
[0183] (Action and effect) The motor system 1 according to another modified example of the first and second embodiments shown in FIG. 26 has been described above. The control device 60 of the motor system 1 includes a processing unit F82a5 instead of the processing unit F81a4 or in addition to the processing unit F81a4. In the control device 60, the processing unit F82a5 multiplies the differential speed Δω output by the seventh processing unit F7 by an integral gain Ki and integrates the result. If the integration result is equal to or less than a predetermined upper limit, the processing unit F82a5 outputs the integration result as it is to the processing unit F82a3. If the integration result exceeds the predetermined upper limit, the processing unit F82a5 outputs the predetermined upper limit as the integration result to the processing unit F82a3. As a result, the control device 60 can suppress the fluctuations in torque and rotation speed even when switching between vector control and voltage phase control.
[0184] Even if the initial switching value calculated by processing unit F81 exceeds the phase range that can be stably controlled by the voltage phase control when switching from vector control to voltage phase control, the processing unit F82a5 makes it possible to output an integral value within the range that can be stably controlled to F82a3. As a result, compared to a case where processing unit F82a1 without an output limit is provided instead of processing unit F82a5, even if the initial switching value that exceeds the phase range that can be stably controlled is output due to an error in detection of the motor current by the current sensor 30 or the current detection circuit 80, a ripple component of the current generated by driving in the overmodulation range, etc., an integral value within the range that can be stably controlled can be output, and it is possible to suppress torque and rotation speed fluctuations and control the motor stably when switching from vector control to voltage phase control.
[0185] The motor system 1 according to each embodiment of the present disclosure has been described above on the premise of speed feedback type voltage phase control. However, the limit setting process performed by each of the processing unit F81a4 shown in Fig. 6, the processing unit F82a4 shown in Fig. 26, and the processing unit F82a5 shown in Fig. 26 may be applied to a motor system that performs voltage phase control other than the speed feedback type.
[0186] In another embodiment of the present disclosure, the control device 60 included in the motor system 1 is not limited to one that performs speed feedback type voltage phase control, and may be one that performs other feedback type voltage phase control. In this case, the control device 60 may be one that switches between the other feedback type voltage phase control and vector control. As a result, even when switching between voltage phase control of a feedback type other than the speed feedback type and vector control, a seamless operation can be achieved.
[0187] The order of the processes in each embodiment of the present disclosure may be changed as long as appropriate processes are performed.
[0188] The storage units and storage devices (including registers and latches) in each embodiment of the present disclosure may be provided anywhere within the range where appropriate information is transmitted and received. Furthermore, there may be a plurality of storage units and storage devices within the range where appropriate information is transmitted and received, and data may be stored in a distributed manner.
[0189] Although each embodiment of the present disclosure has been described, the above-mentioned motor system 1, the control device 60, and other control devices may have a computer system inside. The above-mentioned process steps are stored in a computer-readable recording medium in the form of a program, and the above-mentioned process is performed by the computer reading and executing the program. Specific examples of computers are shown below.
[0190] 27 is a schematic block diagram showing the configuration of a computer according to at least one embodiment. As shown in FIG. 27, the computer 5 includes a CPU (Central Processing Unit) 6, a main memory 7, a storage 8, and an interface 9.
[0191] For example, the motor system 1, the control device 60, and the other control devices are each implemented in a computer 5. The operations of the above-mentioned processing units are stored in the storage 8 in the form of a program. The CPU 6 reads the program from the storage 8, loads it in the main memory 7, and executes the above-mentioned processes in accordance with the program. The CPU 6 also secures storage areas in the main memory 7 corresponding to the above-mentioned storage units in accordance with the program.
[0192] Examples of the storage 8 include a hard disk drive (HDD), a solid state drive (SSD), a magnetic disk, a magneto-optical disk, a compact disc read only memory (CD-ROM), a digital versatile disc read only memory (DVD-ROM), and a semiconductor memory. The storage 8 may be an internal medium directly connected to the bus of the computer 5, or an external medium connected to the computer 5 via an interface 9 or a communication line. In addition, when the program is distributed to the computer 5 via a communication line, the computer 5 that receives the program may load the program into the main memory 7 and execute the above-mentioned process. In at least one embodiment, the storage 8 is a non-transitory tangible storage medium.
[0193] The program may also realize some of the functions described above. Furthermore, the program may be a file that can realize the functions described above in combination with a program already recorded in the computer system, that is, a so-called differential file (differential program).
[0194] Although some embodiments of the present disclosure have been described, these embodiments are merely examples and do not limit the scope of the disclosure. Various additions, omissions, substitutions, and modifications may be made to these embodiments without departing from the spirit of the disclosure.
[0195] <Additional Notes> The control device, motor system, processing method, and program described in each embodiment of the present disclosure can be understood, for example, as follows.
[0196] (1) A control device (60) according to a first aspect of the present invention comprises: an instruction unit (F1) for switching between vector control and voltage phase control for controlling the motor (40) in accordance with a driving state of the motor (40); an estimation unit (F91, F92) that, when switching from the voltage phase control to the vector control in response to switching by the instruction unit (F1), estimates a value of an output of a first controller (F93) used for the vector control one control cycle prior using a value of a physical quantity related to the motor (40), and estimates an initial value of at least one of the first controller (F93) and a second controller (F96) used for the vector control using the estimated value of the output of the first controller (F93) one control cycle prior; Equipped with.
[0197] This allows the control device (60) to perform seamless operation even when switching between feedback-type voltage phase control and vector control.
[0198] (2) A control device (60) according to a second aspect is the control device (60) of (1), The physical quantity related to the motor (40) may be a torque value or a current amplitude value of a motor current flowing through the motor (40).
[0199] This allows the control device (60) to perform seamless operation even when switching between feedback-type voltage phase control and vector control.
[0200] (3) A control device (60) according to a third aspect is the control device (60) according to (1) or (2), The estimation unit (F91, F92) a value of an output of a first controller (F93) used for the vector control, the value of which is obtained one control cycle before, is estimated using a value of a physical quantity related to the motor (40); A current command value one control cycle ago is estimated using the estimated value of the output of the first controller (F93) one control cycle ago, The initial value of the second controller (F96) may be estimated using a difference between the estimated current command value one control cycle before and the actual current value one control cycle before.
[0201] This allows the control device (60) to perform seamless operation even when switching between feedback-type voltage phase control and vector control.
[0202] (4) A control device (60) according to a fourth aspect is the control device (60) of (3), The physical quantity related to the motor (40) may be a torque value or a current amplitude value of a motor current flowing through the motor (40).
[0203] This allows the control device (60) to perform seamless operation even when switching between feedback-type voltage phase control and vector control.
[0204] (5) A control device (60) according to a fifth aspect is any one of the control devices (60) according to (1) to (4), The estimation unit (F91, F92) A first filter (F91a6) that passes low-frequency components is provided; a value of a physical quantity related to the motor (40) is passed through the first filter (F91a6), and a value of an output of the first controller (F93) used for the vector control one control cycle prior is estimated using the value that has passed through the first filter (F91a6); A current command value one control cycle ago is estimated using the estimated value of the output of the first controller (F93) one control cycle ago, The initial value of the second controller (F96) may be estimated using a difference between the estimated current command value one control cycle before and the actual current value one control cycle before.
[0205] As a result, the control device (60) can operate seamlessly even when switching between feedback-type voltage phase control and vector control under conditions in which a fluctuation component exists in a physical quantity related to the motor (40) due to a ripple component of the current.
[0206] (6) A control device (60) according to a sixth aspect is any one of the control devices (60) according to (1) to (5), The estimation unit (F91, F92) A second filter (F92a10) that passes low-frequency components is provided; A value of a physical quantity related to the motor (40) may be passed through the second filter (F92a10), and the value after passing through the second filter (F92a10) may be used to estimate the value of the output of the first controller (F93) used for the vector control one control cycle ago.
[0207] As a result, the control device (60) can operate seamlessly even when switching between feedback-type voltage phase control and vector control under conditions in which a fluctuation component exists in a physical quantity related to the motor (40) due to a ripple component of the current.
[0208] (7) A motor system (1) according to a seventh aspect of the present invention is A control device (60) according to any one of (1) to (6); a motor (40) that operates based on a command output from the control device (60); Equipped with.
[0209] This allows the motor system (1) to operate seamlessly even when switching between feedback type voltage phase control and vector control.
[0210] (8) A processing method according to an eighth aspect of the present invention comprises the steps of: switching between vector control and voltage phase control for controlling the motor (40) in accordance with a driving state of the motor (40); when switching from the voltage phase control to the vector control in response to the switching, estimating a value of an output of a first controller (F93) used for the vector control one control cycle prior using a value of a physical quantity related to the motor (40), and estimating an initial value of at least one of the first controller (F93) and the second controller (F96) used for the vector control using the estimated value of the output of the first controller (F93) one control cycle prior; Includes.
[0211] This allows the processing method to operate seamlessly even when switching between feedback type voltage phase control and vector control.
[0212] (9) A program according to a ninth aspect, A computer (5) switching between vector control and voltage phase control for controlling the motor (40) in accordance with a driving state of the motor (40); when switching from the voltage phase control to the vector control in response to the switching, estimating a value of an output of a first controller (F93) used for the vector control one control cycle prior using a value of a physical quantity related to the motor (40), and estimating an initial value of at least one of the first controller (F93) and the second controller (F96) used for the vector control using the estimated value of the output of the first controller (F93) one control cycle prior; Execute the command.
[0213] As a result, even when switching between feedback type voltage phase control and vector control, the program can perform seamless operation from voltage phase control to vector control. [Explanation of symbols]
[0214] 1. Motor system 5. Computers 6. CPU 7. Main memory 8. Storage 9. Interface 10 PWM converter 20...Inverter 30 Current sensor 40 Motor 50... Position sensor 60...Control device 70 Voltage detection circuit 80 Current detection circuit F1: First processing section F2: Second processing section F3: Third processing section F4 Fourth processing section F5: Fifth processing section F6: 6th processing section F7 7th processing section F8: 8th processing section F9: 9th processing section F81, F81a1, F81a2, F81a3, F81a4, F82, F82a1, F82a2, F82a3, F82a4, F82a5, F83, F91, F91a1, F 91a2, F91a3, F91a4, F91a5, F91a6, F92, F92a1, F92a2, F92a3, F92a4, F92a5, F92a6, F92a7, F92 a8, F92a9, F92a10, F92a11, F92a12, F92a13, F93, F93a1, F93a2, F93a3, F94, F95, F96, F96d, F96q, F96a1d, F96a2d, F96a3d, F96a4d, F96a5d, F96a1q, F96a2q, F96a3q, F96a4q, F96a5q... Processing section
Claims
1. an instruction unit that switches between vector control and voltage phase control for controlling the motor in accordance with a driving state of the motor; an estimation unit that, when switching from the voltage phase control to the vector control in response to switching by the instruction unit, estimates a value of an output of a first controller used for the vector control one control cycle prior by using a value of a physical quantity related to the motor, and estimates an initial value of at least one of the first controller and the second controller used for the vector control by using the estimated value of the output of the first controller one control cycle prior; A control device comprising:
2. The physical quantity related to the motor is a torque value or a current amplitude value of a motor current flowing through the motor. The control device according to claim 1 .
3. The estimation unit is using a value of a physical quantity related to the motor, estimating a value of an output of a first controller used in the vector control one control cycle before; estimating a current command value one control cycle prior to the first control cycle using the estimated value of the output of the first controller one control cycle prior to the first control cycle; estimating the initial value of the second controller using a difference between the estimated current command value one control cycle ago and the actual current value one control cycle ago; The control device according to claim 1 .
4. The physical quantity related to the motor is a torque value or a current amplitude value of a motor current flowing through the motor. The control device according to claim 3.
5. The estimation unit is A first filter that passes low frequency components, passing a value of a physical quantity related to the motor through the first filter, and estimating a value of an output of the first controller used for the vector control one control cycle prior to the first filter using the value after passing through the first filter; estimating a current command value one control cycle prior to the first control cycle using the estimated value of the output of the first controller one control cycle prior to the first control cycle; estimating the initial value of the second controller using a difference between the estimated current command value one control cycle ago and the actual current value one control cycle ago; The control device according to claim 1 .
6. The estimation unit is a second filter that passes low frequency components; a value of the physical quantity related to the motor is passed through the second filter, and a value of the output of the first controller used for the vector control one control cycle before is estimated using the value after passing through the second filter; The control device according to claim 1 .
7. A control device according to any one of claims 1 to 6; a motor that operates based on a command output from the control device; A motor system comprising:
8. switching between vector control and voltage phase control for controlling the motor according to a driving state of the motor; When switching from the voltage phase control to the vector control in response to the switching, estimating a value of an output of a first controller used for the vector control one control cycle prior using a value of a physical quantity related to the motor, and estimating an initial value of at least one of the first controller and the second controller used for the vector control using the estimated value of the output of the first controller one control cycle prior; A processing method comprising:
9. On the computer, switching between vector control and voltage phase control for controlling the motor according to a driving state of the motor; When switching from the voltage phase control to the vector control in response to the switching, estimating a value of an output of a first controller used for the vector control one control cycle prior using a value of a physical quantity related to the motor, and estimating an initial value of at least one of the first controller and the second controller used for the vector control using the estimated value of the output of the first controller one control cycle prior; A program that executes the following.
Citation Information
Patent Citations
Drive controller of ac motor
JP2007143235A
Cited By
Motor control method, device, equipment and medium
CN121585051A
