Control device of motor and storage medium
10992241 · 2021-04-27
Assignee
Inventors
Cpc classification
H02P6/08
ELECTRICITY
H02M1/0022
ELECTRICITY
International classification
H02P1/00
ELECTRICITY
H02P3/00
ELECTRICITY
H02P5/00
ELECTRICITY
Abstract
A control device of a motor includes difference calculation circuitry that calculates a difference between a current rotation speed and a target rotation speed of the motor, coefficient correction circuitry that outputs corrected proportion coefficient and integration coefficient by multiplying each of an initially set proportion coefficient and integration coefficient by a correction coefficient, output voltage determination circuitry that calculates at least one of a proportional term in which the difference is multiplied by the corrected proportion coefficient and an integral term in which the difference is multiplied by the corrected integration coefficient and the result is integrated and determines one of the proportional term and the integral term or the sum of the two terms as a control value of the output voltage, and signal generation circuitry that generates a control signal on the basis of the control value.
Claims
1. A control device of a motor to which a drive current is supplied from a power supply by an inverter, the control device comprising: difference calculation circuitry to calculate a difference between a current rotation speed and a target rotation speed of the motor; coefficient correction circuitry to output a corrected proportion coefficient and an integration coefficient as coefficients to be used in determining a control value of an output voltage of the inverter by multiplying each of an initially set proportion coefficient and integration coefficient by a correction coefficient; output voltage determination circuitry to calculate at least one of a proportional term in which a difference calculated by the difference calculation circuitry is multiplied by the corrected proportion coefficient and an integral term in which the difference is multiplied by the corrected integration coefficient and the result is integrated, and to determine one of the calculated proportional term and integral term or the sum of the two terms as a control value of the output voltage; and signal generation circuitry to generate a control signal to be output to the inverter based on the control value of the output voltage determined by the output voltage determination circuitry; wherein the correction coefficient is a value of a ratio of a reference voltage to a current input voltage of the inverter, and the reference voltage is an input voltage of the inverter used or assumed to determine the initially set proportion coefficient and integration coefficient.
2. The control device of a motor according to claim 1, wherein a response time of the motor due to the control value is a constant time or close to a constant time before and after change of an input voltage of the inverter.
3. The control device of a motor according to claim 2, wherein the control signal is a PWM pulse signal; the output voltage determination circuitry determines a duty ratio of the pulse signal as a control value of the output voltage; and a change speed of the duty ratio of the pulse signal determined by the output voltage determination circuitry changes depending on the current input voltage of the inverter.
4. The control device of a motor according to claim 3, wherein the change speed of the duty ratio becomes higher as the current input voltage of the inverter becomes lower, and becomes lower as the current input voltage of the inverter becomes higher.
5. The control device of a motor according to claim 2, wherein the control signal is a PWM pulse signal; the output voltage determination circuitry determines a duty ratio of the pulse signal as a control value of the output voltage; and a slope of an amount of change in the duty ratio of the pulse signal determined by the output voltage determination circuitry becomes higher as the current input voltage of the inverter becomes lower, and becomes lower as the current input voltage of the inverter becomes higher.
6. The control device of a motor according to claim 1, wherein the coefficient correction circuitry further outputs a corrected derivative coefficient as a coefficient used in determining a control value of an output voltage of the inverter by multiplying an initially set derivative coefficient by the correction coefficient; and the output voltage determination circuitry calculates at least two terms of the proportional term, the integral term and a derivative term in which a derivative value of the difference is multiplied by the corrected derivative coefficient, and determines the sum of the calculated two terms or more as a control value of the output voltage.
7. The control device of a motor according to claim 6, wherein the difference calculation circuitry calculates a change amount between a difference calculated at a current time and a difference calculated at the previous time; and the output voltage determination circuitry calculates the proportional term by multiplying the change amount of the difference by the corrected proportion coefficient, calculates the integral term by multiplying the difference by the corrected integration coefficient and integrating the result, and calculates the derivative term by multiplying the change amount of the difference by the corrected derivative coefficient.
8. The control device of a motor according to claim 1, wherein the power supply is a power supply with a variable voltage of a drive current supplied to the inverter.
9. The control device of a motor according to claim 1, wherein the power supply is a battery.
10. A computer-readable storage medium storing a program for causing a computer to execute a control method for a motor, the control method for the motor comprising steps of: calculating a difference between a current rotation speed and a target rotation speed of the motor; outputting a corrected proportion coefficient and integration coefficient as coefficients to be used in determining a control value of an output voltage of the inverter by multiplying each of an initially set proportion coefficient and integration coefficient by a correction coefficient; and calculating at least one of a proportional term in which the calculated difference is multiplied by the corrected proportion coefficient and an integral term in which the difference is multiplied by the corrected integration coefficient and the result is integrated, and determining one of the calculated proportional term and integral term or the sum of the two terms as a control value of the output voltage; wherein the correction coefficient is a value of a ratio of a reference voltage to a current input voltage of the inverter, and the reference voltage is an input voltage of the inverter used or assumed to determine the initially set proportion coefficient and integration coefficient.
11. The control device of a motor according to claim 2, wherein the coefficient correction circuitry further outputs a corrected derivative coefficient as a coefficient used in determining a control value of an output voltage of the inverter by multiplying an initially set derivative coefficient by the correction coefficient; and the output voltage determination circuitry calculates at least two terms of the proportional term, the integral term and a derivative term in which a derivative value of the difference is multiplied by the corrected derivative coefficient, and determines the sum of the calculated two terms or more as a control value of the output voltage.
12. The control device of a motor according to claim 3, wherein the coefficient correction circuitry further outputs a corrected derivative coefficient as a coefficient used in determining a control value of an output voltage of the inverter by multiplying an initially set derivative coefficient by the correction coefficient; and the output voltage determination circuitry calculates at least two terms of the proportional term, the integral term and a derivative term in which a derivative value of the difference is multiplied by the corrected derivative coefficient, and determines the sum of the calculated two terms or more as a control value of the output voltage.
13. The control device of a motor according to claim 4, wherein the coefficient correction circuitry further outputs a corrected derivative coefficient as a coefficient used in determining a control value of an output voltage of the inverter by multiplying an initially set derivative coefficient by the correction coefficient; and the output voltage determination circuitry calculates at least two terms of the proportional term, the integral term and a derivative term in which a derivative value of the difference is multiplied by the corrected derivative coefficient, and determines the sum of the calculated two terms or more as a control value of the output voltage.
14. The control device of a motor according to claim 5, wherein the coefficient correction circuitry further outputs a corrected derivative coefficient as a coefficient used in determining a control value of an output voltage of the inverter by multiplying an initially set derivative coefficient by the correction coefficient; and the output voltage determination circuitry calculates at least two terms of the proportional term, the integral term and a derivative term in which a derivative value of the difference is multiplied by the corrected derivative coefficient, and determines the sum of the calculated two terms or more as a control value of the output voltage.
15. The control device of a motor according to claim 2, wherein the power supply is a power supply with a variable voltage of a drive current supplied to the inverter.
16. The control device of a motor according to claim 3, wherein the power supply is a power supply with a variable voltage of a drive current supplied to the inverter.
17. The control device of a motor according to claim 4, wherein the power supply is a power supply with a variable voltage of a drive current supplied to the inverter.
18. The control device of a motor according to claim 2, wherein the power supply is a battery.
19. The control device of a motor according to claim 3, wherein the power supply is a battery.
20. The control device of a motor according to claim 4, wherein the power supply is a battery.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION
(6) Control devices of motors and storage media according to example embodiments of the present disclosure will be described below with reference to the drawings.
(7)
(8) As illustrated in
(9) <Motor>
(10) In the present example embodiment, the motor 20 is a three-phase brushless motor. Although coils of the motor 20 illustrated in
(11) The rotational position detector 101 detects a rotational position of the motor 20. As the rotational position detector 101, for example, a magnetic sensor such as a Hall element or a magneto-resistive element, an optical encoder, a resolver, and the like can be used.
(12) In the present example embodiment, three Hall elements disposed between coils of the motor 20 are used for the rotational position detector 101. Each of the Hall elements detects a magnetic field and outputs a detection signal in proportion to a size of the magnetic field. A rotational position can be detected at, for example, every electrical angle of 60° from a set of three detection signals output from each of the Hall elements. Further, although the example in which detection signals from three Hall elements are grouped in one set has been described, the number of Hall elements grouped in one set is not limited thereto, and the number of Hall elements according to a configuration of the motor 20 can be used.
(13) <Inverter>
(14) The inverter 102 includes three sets of arms Q corresponding to each of the three phases including a U phase, a V phase, and a W phase of the motor 20 as illustrated in
(15) A power supply 200 is connected to the switching element Q1 on the upper side and the switching element Q2 on the lower side of each arm Q. The inverter 102 receives an input of a control signal generated by the control device 110 and output from the inverter drive unit 103. The inverter 102 switches the switching elements Q1 and Q2 on the upper and lower sides of the arm Q of each phase ON and OFF according to the input control signal and supplies a drive current in an AC voltage waveform to each phase of the motor 20, for example, according to ON and OFF times such as a duty ratio.
(16) <Inverter Drive Unit>
(17) The inverter drive unit 103 generates control signals for the switching element Q1 on the upper side and the switching element Q2 on the lower side of each arm Q of the inverter 102 from a control signal generated by the control device 110, and outputs the control signals.
(18) <Control Device of Motor>
(19) The control device 110 includes an energization pattern determination unit 111, a rotation speed calculation unit 112, difference calculation circuitry 113, output voltage determination circuitry 114, signal generation circuitry 115, an A/D converter 116, and coefficient correction circuitry 117 as illustrated in
(20) The energization pattern determination unit 111 determines an energization pattern of each phase of the motor 20 based on a rotational position indicated by one set of three detection signals output from the rotational position detector 101. For example, energization patterns switch every 60° in a case of energization of 120°, and the current direction varies in each of the energization patterns.
(21) The rotation speed calculation unit 112 obtains an amount of change in the rotational position per unit time from the one set of detection signals output from the rotational position detector 101 and calculates the current rotation speed of the motor 20 from the amount of change.
(22) The difference calculation circuitry 113 calculates the difference between the target rotation speed and the current rotation speed calculated by the rotation speed calculation unit 112. The difference calculation circuitry 113 can receive an input of the target rotation speed indicated each time of calculation from an external control device of the vehicle in which the motor 20 is mounted, or the like, or can read a constant target rotation speed stored in a storage medium to receive an input of the target rotation speed.
(23) The output voltage determination circuitry 114 determines a control value of an output voltage of a drive current to be supplied from the power supply 200 to the motor 20 via the inverter 102 using the difference in rotation speed calculated by the difference calculation circuitry 113. In the present example embodiment, as a control signal output to the inverter 102, the signal generation circuitry 115 outputs a pulse width-modulated (PWM) pulse signal. The output voltage determination circuitry 114 determines a duty ratio of the pulse signal as a control value of the output voltage.
(24) In the present example embodiment, the output voltage determination circuitry 114 determines a duty ratio according to PI control. The output voltage determination circuitry 114 calculates a proportional term in which the difference in rotation speed calculated by the difference calculation circuitry 113 is multiplied by a corrected proportion coefficient output from the coefficient correction circuitry 117. In addition, the output voltage determination circuitry 114 calculates an integral term in which the difference in rotation speed is multiplied by a corrected integration coefficient and the result is integrated. The output voltage determination circuitry 114 determines the sum of the calculated proportional term and integral term as a duty ratio.
(25) The signal generation circuitry 115 generates a pulse signal which is a control signal to be output to each of the switching elements Q1 and Q2 of the inverter 102 on the basis of the energization pattern determined by the energization pattern determination unit 111 and the duty ratio determined by the output voltage determination circuitry 114.
(26) The A/D converter 116 performs A/D conversion on an input voltage of a drive current supplied from the power supply 200 and outputs the result as a digital value.
(27) The coefficient correction circuitry 117 outputs the corrected proportion coefficient and integration coefficient as coefficients used by the output voltage determination circuitry 114 in determination of a duty ratio by multiplying initially set proportion coefficient and integration coefficient by respective correction coefficients.
(28) A correction coefficient is the value of a ratio of a reference voltage to a current input voltage of the inverter 102. A current input voltage of the inverter 102 is an input voltage obtained by the A/D converter 116 performing A/D conversion. The reference voltage is an input voltage of the inverter 102 used or assumed to determine the initially set proportion coefficient and integration coefficient. The initially set proportion coefficient and integration coefficient are coefficients which are adjusted and determined as values satisfying the responsiveness required for the motor 20. In a case where, for example, the motor 20 is used in an electric oil pump, a proportion coefficient and an integration coefficient are determined as values satisfying the requirement that a time in which a discharge pressure and a discharge amount of oil when an input voltage of the inverter 102 is x1 (V) reach target values is within x2 (milliseconds). In this example, the reference voltage is x1 (V). The coefficient correction circuitry 117 retains the initially set proportion coefficient and integration coefficient and the reference voltage in the storage medium, for example, a register, or the like and acquires the coefficients and the reference voltage from the storage medium to calculate the correction coefficient.
(29) <Procedure for Determining Control Value of Output Voltage>
(30) A flow of the control device 110 determining a duty ratio that is a control value of an output voltage will be described below.
(31) First, the difference calculation circuitry 113 calculates the difference between a target rotation speed and a current rotation speed using the following formula (1).
d.sub.n=C−A.sub.n (1)
(32) d.sub.n represents the difference (rpm) between the target rotation speed and the current rotation speed. C represents the target rotation speed (rpm), and A.sub.n represents the current rotation speed (rpm).
(33) The coefficient correction circuitry 117 determines the value of a ratio of the reference voltage to a current input voltage of the inverter 102 as a correction coefficient. When the current input voltage of the inverter 102 is set to E.sub.n and the reference voltage is set to E.sub.ref, the correction coefficient is E.sub.ref/E.sub.n.
(34) The coefficient correction circuitry 117 outputs a corrected proportion coefficient and integration coefficient by multiplying each of an initially set proportion coefficient and integration coefficient by the correction coefficient. When the initially set proportion coefficient is denoted by K.sub.p and the initially set integration coefficient is denoted by K.sub.i, the corrected proportion coefficient is K.sub.p×E.sub.ref/E.sub.n, and the corrected integration coefficient is K.sub.i×E.sub.ref/E.sub.n.
(35) The output voltage determination circuitry 114 calculates a duty ratio using the following formula (2) from the rotation speed difference d.sub.n by using the corrected proportion coefficient and integration coefficient output from the coefficient correction circuitry 117.
Wf.sub.n=K.sub.p×E.sub.ref/E.sub.n×d.sub.n+Σ(K.sub.i×E.sub.ref/E.sub.n×d.sub.n) (2)
(36) Wf.sub.n represents a duty ratio (%) calculated using the corrected proportion coefficient and integration coefficient. K.sub.p represents the proportion coefficient (%/rpm), and K.sub.i represents the integration coefficient (%/rpm). K.sub.p×E.sub.ref/E.sub.n×d.sub.n is a proportional term in which the difference in rotation speed d.sub.n is multiplied by the corrected proportion coefficient. Σ(K.sub.i×E.sub.ref/E.sub.n×d.sub.n) is an integral term in which the rotation speed difference d.sub.n is multiplied by the corrected integration coefficient and the result is integrated.
(37) A duty ratio is a ratio between an input voltage and an output voltage of the inverter 102. Therefore, a rotation speed A.sub.n+1 (rpm) after the motor 20 is controlled with the duty ratio Wf.sub.n calculated using the above formula (2) is proportional to the value obtained by multiplying the duty ratio Wf.sub.n by the current input voltage E.sub.n of the inverter 102 as shown by the following formula (3).
A.sub.n+1∝Wf.sub.n×E.sub.n (3)
(38) In conventional general PI control, an initially set proportion coefficient K.sub.p and integration coefficient K.sub.i are used in calculation of a duty ratio without change. The following formula (4) is a conventional formula for calculating a duty ratio.
W.sub.n=K.sub.p×d.sub.n+Σ(K.sub.i×d.sub.n) (4)
(39) W.sub.n represents a duty ratio (%) calculated using an initially set proportion coefficient and integration coefficient.
(40) Since Wf.sub.n=W.sub.n×E.sub.ref/E.sub.n is satisfied according to the above formulas (2) and (4), the above formula (3) can be expressed using the following formula (3a).
A.sub.n+1∝Wf.sub.n×E.sub.n=W.sub.n×E.sub.ref (3a)
(41) That is, the rotation speed A.sub.n+1 after control is performed at the duty ratio Wf.sub.n is proportional to the value obtained by multiplying the duty ratio W.sub.n calculated using the initially set proportion coefficient and integration coefficient by the reference voltage E.sub.ref.
(42) Meanwhile, a rotation speed A.sub.n+1 (rpm) after the motor 20 is controlled at the duty ratio W.sub.n is proportional to the value obtained by multiplying the duty ratio W.sub.n by the current input voltage E.sub.n of the inverter 102 as shown by the following formula (5).
A.sub.n+1∝W.sub.n×E.sub.n (5)
(43) A duty ratio is a ratio between an input voltage and an output voltage of the inverter 102. Even at the same duty ratio, when a current input voltage E.sub.n of the inverter 102 is low, an output voltage is low and a change speed of the output voltage is low, and thus a rotation speed changes slightly. On the other hand, when a current input voltage E.sub.n thereof is high, an output voltage is high and a change speed of the output voltage is high, and thus a rotation speed changes significantly. Therefore, when a duty ratio W.sub.n is calculated using the proportion coefficient K.sub.p and the integration coefficient K.sub.i having fixed values in a conventional manner, change in rotation speed of the motor 20 is affected by a current input voltage E.sub.n of the inverter 102 as shown in the above formula (5). A response time of the motor 20 varies because a change speed of an output voltage until the output voltage stabilizes due to control of a duty ratio fluctuates according to an input voltage.
(44) For this problem, in the present example embodiment, a way of correction in which the initially set proportion coefficient K.sub.p and integration coefficient K.sub.i are multiplied by the correction coefficient E.sub.ref/E.sub.n is introduced. Accordingly, when the current input voltage E.sub.n of the inverter 102 is low, the proportion coefficient K.sub.p and the integration coefficient K.sub.i are corrected to higher values to adjust a duty ratio to a duty ratio Wf.sub.n for raising the output voltage. In addition, according to the present example embodiment, when the current input voltage is high, the proportion coefficient K.sub.p and the integration coefficient K.sub.i are corrected to lower values to adjust a duty ratio to a duty ratio Wf.sub.n for lowering the output voltage. Therefore, variation in a change speed of the output voltage caused by the input voltage is reduced, and a rotation speed of the motor 20 becomes a rotation speed when PI control is performed by using coefficients initially set at the reference voltage as shown in the above formula (3a). Even if the input voltage E.sub.n has a different voltage value, a response time of the motor 20 can be easily controlled to a constant time, that is, a target response time assumed at the reference voltage, and thus the responsiveness of the motor 20 can stabilizes.
(45) A response time of the motor 20 to the duty ratio Wf.sub.n calculated using the corrected proportion coefficient K.sub.p and integration coefficient K.sub.i may be a constant time or close to a constant time before and after change of the input voltage of the inverter 102.
(46) Note that, “before and after change of the input voltage” is of change in an environment in which the motor 20 is used, rather than change in time. That is, even if the current input voltage E.sub.n has a different voltage value, a response time is substantially a constant time, and thus the responsiveness of the motor 20 stabilizes.
(47) According to certain results, a 10% to 90% response time was 279 ms when the test motor was controlled with the duty ratio Wf.sub.n under the conditions in which the voltage input to the inverter was 10 V. A 10% to 90% response time was 287 ms when the test motor was controlled with the duty ratio Wf.sub.n by changing the input voltage to the inverter to 16 V. The error was as small as 8 ms, and the response time was close to a constant time.
(48) Meanwhile, the error of the 10% to 90% response time was 150 ms when the same test motor was driven at a duty ratio W.sub.n under the conditions in which the input voltages were 10 V and 16 V. It was ascertained that the error was large in comparison to the case of the response time at the duty ratio Wf.sub.n and the response time varied depending on the input voltages.
(49)
(50) As shown in
(51) In addition, the slope of the amount of change in the duty ratio Wf.sub.n calculated using the corrected proportion coefficient and integration coefficient becomes higher as the current input voltage of the inverter becomes lower and becomes lower as the current input voltage becomes higher. For example, although the slope of the curve of the duty ratio Wf.sub.n in
(52) Likewise, the first duty ratio Wf.sub.n calculated using the corrected proportion coefficient and integration coefficient becomes higher as the current input voltage of the inverter becomes lower and becomes lower as the current input voltage becomes higher. The first duty ratio Wf.sub.n is a duty ratio calculated at N=0 which is the number of control operations when control starts.
(53) At the time of start of control, the current rotation speed A.sub.0=0 rpm, and a target rotation speed C that is higher than 0 rpm is given, and thus a rotation speed difference d.sub.0 satisfies the relation d.sub.0=C−A.sub.0=C. Since the first duty ratio Wf.sub.0 satisfies Wf.sub.0=K.sub.p×E.sub.ref/E.sub.0×C+K.sub.i×E.sub.ref/E.sub.0×C, the first duty ratio Wf.sub.0 becomes higher as the current input voltage E.sub.0 becomes lower. Therefore, the first duty ratio Wf.sub.0 at the discrete time N=0 is higher when the input voltage is as low as 10 V than when the input voltage is 16 V as illustrated in
(54)
(55) As shown in
(56) In addition, in the case of the duty ratio W.sub.n, the first duty W.sub.0 is constant regardless of the input voltage. Because the first duty W.sub.0 at the time of a start of control satisfies the relation W.sub.0=K.sub.p×C+K.sub.i×C.
(57) As described above, according to the control device 110 of the present example embodiment, it is possible to set the response time of the motor 20 due to control of an output voltage of the inverter 102 close to a constant time, regardless of a current input voltage of the inverter 102. Therefore, the responsiveness of the motor 20 due to rotation control can stabilize even in a case where the motor 20 is used in an environment in which an input voltage to the inverter 102 varies or an environment in which the input voltage is different from an assumed reference voltage.
(58) Particularly, in a case where the power supply 200 is a power supply with a variable voltage of a drive current supplied to the motor 20 and an input voltage to the inverter 102 varies, the stable responsiveness can be achieved regardless of the input voltage, and thus this configuration is effective.
(59) Since batteries have input voltages easily varying depending on an amount of charge, in a case where the power supply 200 is a battery, the stable responsiveness can be achieved, and thus this configuration is likewise effective.
(60) In addition, the initially set proportion coefficient K.sub.p and integration coefficient K.sub.i need to be adjusted to appropriate values when a target response time is obtained even when an input voltage varies by changing the input voltage to the inverter 102. However, according to the present example embodiment in which the proportion coefficient K.sub.p and the integration coefficient K.sub.i are corrected, since the coefficients can be determined to be values at which the target response time is obtained at the reference voltage E.sub.ref, the work of setting the proportion coefficient K.sub.p and the integration coefficient K.sub.i becomes easy.
Modified Example 1
(61) In the above-described example embodiment, the output voltage determination circuitry 114 can also determine a duty ratio from a change amount between a difference calculated at a current time and a difference calculated at the previous time, instead of a difference between the current rotation speed and the target rotation speed. Since a response time of the motor 20 is affected by the magnitude of acceleration of a rotation speed, rotation of the motor 20 can be controlled with high accuracy by controlling the output voltage according to the change amount of the difference.
(62) In a modified example 1, the difference calculation circuitry 113 calculates a change amount of the difference calculated at the current time and the difference calculated at the previous time using the following formula (1a).
d.sub.in=d.sub.n−d.sub.n−1 (1a)
(63) d.sub.in represents the change amount of the difference. d.sub.n represents the difference calculated at the current time. d.sub.n−1 represents the difference calculated at the previous time.
(64) d.sub.in can also be expressed by the following formula (1b).
d.sub.in=A.sub.n−1−A.sub.n (1b)
(65) A.sub.n represents the rotation speed calculated at the current time. A.sub.n−1 represents the rotation speed calculated at the previous time.
(66) In the modified example 1, the output voltage determination circuitry 114 calculates a duty ratio Wf.sub.in using the change amount of the difference d.sub.in in the following formula (2a).
Wf.sub.in=K.sub.p×E.sub.ref/E.sub.n×d.sub.in+K.sub.i×E.sub.ref/E.sub.n×d.sub.n (2a)
(67) Wf.sub.in represents the duty ratio calculated using the corrected proportion coefficient and integration coefficient.
(68) The above-described duty ratio Wf.sub.in can also be expressed by the following formula.
Wf.sub.in=W.sub.in×E.sub.ref/E.sub.n
(69) W.sub.in is the duty ratio calculated using the initially set proportion coefficient and integration coefficient in the following formula (4a).
Wi.sub.n=K.sub.p×d.sub.in+K.sub.i×d.sub.n (4a)
(70) A rotation speed Af.sub.in+1 (rpm) after control at the duty ratio Wf.sub.in is proportional to an input voltage E.sub.n to the inverter 102 as expressed by the following formula (3b). Since Wf.sub.in×E.sub.n is equal to W.sub.in×E.sub.ref, the rotation speed Af.sub.in+1 (rpm) is also proportional to the multiplication value of the duty ratio W.sub.in and the reference voltage E.sub.ref.
Af.sub.in+1«Wf.sub.in×E.sub.n=W.sub.in×E.sub.ref (3b)
Modified Example 2
(71) In the above-described example embodiment, the output voltage determination circuitry 114 calculates at least two among the proportional term, the integral term and a derivative term by further calculating the derivative term, and can determine the sum of two or more terms as a duty ratio. In addition, the output voltage determination circuitry 114 can also determine one among the proportional term, the integral term and the derivative term as a duty ratio.
(72) For PID control, for example, the coefficient correction circuitry 117 further multiplies an initially set derivative coefficient by the above-described correction coefficient, and outputs a corrected derivative coefficient as a coefficient used in determining a control value of an output voltage of the inverter 102. The output voltage determination circuitry 114 calculates the derivative term in which the derivative value of the difference calculated by the difference calculation circuitry 113 is multiplied by the corrected derivative coefficient, in addition to the above-described proportional term and the integral term. The output voltage determination circuitry 114 determines the sum of the calculated proportional term, the integral term and the derivative term as a control value of the output voltage, that is, a duty ratio.
(73) The following formula is a calculation formula of a duty ratio for PID control.
Wf.sub.n=K.sub.p×E.sub.ref/E.sub.n×d.sub.n+Σ(K.sub.i×E.sub.ref/E.sub.n×d.sub.n)+K.sub.d×E.sub.ref/E.sub.n×d/dt(d.sub.r) (2d)
(74) d/dt (d.sub.n) represents the derivative value of the difference, and K.sub.d×E.sub.ref/E.sub.n×d/dt (d.sub.n) is an integral term.
(75) Among the proportional term, the integral term and the derivative term, the output voltage determination circuitry 114 determines the sum of the proportional term and the derivative term as a duty ratio in case of PD control, and determines the sum of the integral term and the derivative term as a duty ratio in case of ID control.
(76) Among the proportional term, the integral term and the derivative term, the output voltage determination circuitry 114 determines the proportional term in case of P control, the integral term in case of I control, and the derivative term in case of D control, as a duty ratio respectively.
(77) Note that, in the modified example 1, when the derivative term is calculated and the sum of at least two or more terms among the proportional term, the integral term and the derivative term is determined as a duty ratio, the derivative term may be calculated by multiplying the change amount of the difference d.sub.in by the corrected derivative coefficient.
(78) The present disclosure is not limited to the above-described example embodiment and modified example.
(79) For example, a motor is not limited to the above-described three-phase brushless motor as long as it is a motor whose rotation speed can be controlled through PID control.
(80) In addition, the signal generation circuitry 115 may generate a pulse amplitude-modulated (PAM) pulse signal, and the output voltage determination circuitry 114 may determine the amplitude of the pulse signal as a control value of an output voltage. The present disclosure can also be applied to the case where the amplitude of the PAM pulse signal is determined by PID control.
(81) While example embodiments of the present disclosure have been described above, it is to be understood that variations and modifications will be apparent to those skilled in the art without departing from the scope and spirit of the present disclosure. The scope of the present disclosure, therefore, is to be determined solely by the following claims.