1. Field of the Invention
The present invention relates to a device and method for controlling a power converting device for performing pulse width modulation (PWM) on an output from a direct current (DC) power supply and thereby producing an output of alternating current (AC) power, and is concerned with a technique for preventing the occurrence of a malfunction due to a change in the frequency of a pulse width modulation carrier.
2. Description of the Related Art
Apparatuses (such as a current control stepping motor) driven by a pulse width modulated signal are configured to control its operation by changing a duty ratio of a current waveform fed through the apparatus (or by performing pulse width modulation (hereinafter referred to simply as “PWM”)). This PWM-based controlling apparatus produces switching noise of a fundamental control frequency and higher harmonics thereof, because of doing switching to turn on or off a load driving current with a train of pulse width modulated pulses. For example when the apparatus is mounted on a vehicle, the switching noise can possibly have an influence on hearing of a radio mounted on the identical vehicle and render it difficult to hear the radio or cause the radio to produce a harsh grating noise, or have an adverse effect on operation of other vehicle-mounted digital instruments.
Japanese Unexamined Patent Application Publication No. 7(1995)-99795 discloses a stepping motor control device designed for the purpose of reducing the above-mentioned noise. The device subjects the drive current pulse train (or a control clock) previously subjected to the PWM to control the current control stepping motor to additional frequency modulation with a sinusoidal wave having a lower frequency than a control clock frequency. This effects the spread of spectrum components of the noise over a desired frequency band, thus reducing the influence of the noise upon the vehicle-mounted apparatus or instruments.
Advances in digital processors and digital circuit techniques make it possible to use a central processing unit (CPU) or the like to execute operations for calculating a PWM pattern, and make it possible to use a digital timer and a digital comparator circuit to generate the PWM pattern with precision, thus facilitating PWM pattern generation even if the pattern is complicated.
As shown in FIG. 1 of Japanese Unexamined Patent Application Publication No. 7(1995)-99795, a power converting device is used for current control, which is configured to effect a periodic change in the frequency of a pulse width modulation carrier in order to attenuate the noise components. However, in such a power converting device, a change in a current calculation period according to the change in the carrier frequency (or period) takes place in the device that performs current sampling, control calculations or the like in synchronization with a PWM generation period. Due to this, current control characteristics change according to whether the carrier period is short or long. Consequently, periodic variations caused by the change in the frequency of the pulse width modulation carrier occur as variations in an output current waveform, as shown in
The present invention has been made in consideration for the above-described problems inherent in the related art. An object of the present invention is to provide a device and method for controlling a power converting device, which are designed to prevent the power converting device from impairing its control characteristics even when the power converting device effects a change in the frequency of a pulse width modulation carrier.
In order to solve the foregoing problems, the present invention provides a control device for a power converting device which performs pulse width modulation (PWM) on an output from a direct current power supply and thereby produces an output of alternating current power. The control device includes the followings: a current controller which converts a given current command value into a voltage command value; a carrier generator which generates a pulse width modulation (PWM) carrier; a PWM generator which generates a pulse width modulated (PWM) signal to be fed to the power converting device according to the voltage command value and the PWM carrier; a frequency controller which effects a change in the frequency of the PWM carrier from the carrier generator; and a current control gain controller which effects a change in the current control gain of the current controller according to the change in the frequency of the PWM carrier. In the control device, the current control gain of the current controller is changed according to the change in the frequency of the PWM carrier from the carrier generator. According to the present invention, the control device suppresses the occurrence of periodic variations due to the change in the PWM carrier frequency in an output current waveform from the power converting device, by effecting a change in the current control gain for conversion of the current command value to the voltage command value according to the change in the PWM carrier frequency. Thereby, the control device suppresses torque and other variations occurring in a load driven by the power converting device.
Incidentally, there is a regular relation between the PWM carrier frequency and the current control gain, as will be described later with reference to
As for a transient response to the current command value, the control device includes a deviation detector which detects a deviation of an output current from the power converting device from the given current command value. Thus, the control device effects a change in the current control gain of the current controller according to the change in the PWM carrier frequency from the carrier generator, and also effects a change in the range of the current control gain according to the deviation. Thereby, the control device improves the transient characteristics of the output current waveform from the power converting device.
The invention will now be described with reference to the accompanying drawings wherein:
a) and 9(b) are graphs showing a change in the current control gain with respect to time, which occurs when the carrier frequency is modulated to provide a sinusoidal wave form;
a) and 10(b) are graphs showing a change in the current control gain with respect to time, which occurs when the carrier frequency is modulated to provide a triangular wave form;
a) and 11(b) are graphs showing a change in the current control gain with respect to time, which occurs when the carrier frequency is randomly changed;
a) and 16(b) are graphs showing changes in the carrier frequency and the current control gain with respect to time, respectively;
a) and 17(b) are charts showing a change in a carrier with respect to time and the waveform of a motor phase current with respect to time, respectively, in the case of the present invention;
a) and 18(b) are charts showing a change in the carrier with respect to time and the waveform of the motor phase current with respect to time, respectively, in the case of a comparative example;
a) is a characteristic plot showing the relation between a proportional gain and the offset of the current value in a transition state.
a) is a characteristic plot showing the relation between the carrier frequency and the proportional gain. FIG. 22(b) is a characteristic plot showing the relation between the carrier frequency and the integral gain;
a) to 23(d) are charts showing the waveforms of a carrier frequency fc and the proportional gain Kp and the integral gain Ki in the current controller shown in
a) to 25(e) are charts showing the waveforms of the carrier frequency fc, the proportional gain Kp and the integral gain Ki and a deviation in the control device shown in
a) to 26(c) show a calculation flowchart and a map for control by the control device shown in
a) to 28(d) are charts showing the carrier frequency fc, the proportional gain Kp and the ratio of the magnitude (or the absolute value) of the deviation to the magnitude (or the absolute value) of a change in a current command value in the control device shown in
Embodiments of the present invention will be explained below with reference to the drawings, wherein like members are designated by like reference characters.
Referring to
The controller 6 is configured of a current controller 7, a PWM generator 8, a carrier generator 9, a current control gain controller 10, and a frequency controller 11. The current controller 7 performs arithmetic on the current command value from the current command generator 5 and the detected current value from the current detector 4, and outputs a voltage command value. The PWM generator 8 generates a PWM signal composed of an ON/OFF signal by comparing the voltage command value from the current controller 7 to a carrier signal from the carrier generator 9, and then outputs the PWM signal to the power converter 2. The power converter 2 supplies the alternating current power to the load 3 by performing on-off control on its internal switching element in accordance with the input PWM signal.
The frequency controller 11 performs control so that the carrier generator 9 generates variable carrier frequencies. The current control gain controller 10 effects a change in the current control gain of the current controller 7 according to the change in the carrier frequency.
Detailed description will be provided below with regard to blocks shown in
As employed herein, the detected current value from the current detector 4 is obtained in the following manner. For example, the current detector 4 detects the values of U-phase, V-phase and W-phase currents (or three-phase alternating current as given herein as an example) which the PWM inverter supplies to the motor that acts as the load, and a coordinate transformer performs transformation (or three-phase-to-two-phase transformation) to transform the U-phase, V-phase and W-phase current values into the d-coordinate and q-coordinate current values.
The coordinate transformer 81 performs two-phase-to-three-phase coordinate transformation to transform the voltage command value fed from the current controller 7 from the d-coordinate and q-coordinate values into the U-phase, V-phase and W-phase values.
The comparator 82 compares the coordinate-transformed voltage command value to the carrier signal from the carrier generator 9, and outputs to the power converter 2 the PWM signal composed of the ON/OFF signal (Vu+, Vu−, Vv+, Vv−, Vw+, Vw−) according to the relative magnitudes thereof.
The current detector 4 detects the values of the U-phase, V-phase and W-phase currents which the power converter 2 (or the PWM inverter) supplies to the load 3 (or the motor).
In addition, the frequency controller 11 shown in
In the case of the power converting device having the configuration as described above, the frequency controller 11 executes a frequency control process shown in
Firstly, detailed description will be provided with reference to a flowchart shown in
First at step S0, the frequency controller 11 determines an upper limit value fmax and a lower limit value fmin of a carrier frequency f to be changed by the frequency controller 11, how many steps a band of frequencies between the values fmax and fmin should be divided into, and a change value Δ (Δ=(fmax−fmin)/step). This process step starts with input of a triangular carrier wave from the carrier generator 9 to the frequency controller 11, and is followed by step S1.
At step S1, the frequency controller 11 determines whether the input carrier from the carrier generator 9 takes on the maximum value or the minimum value, that is, whether or not the carrier signal value is equal to the peak value. When the frequency controller 11 determines that the carrier is equal to the maximum or minimum value, the control process then proceeds to step S2.
At step S2, the frequency controller 11 determines whether the change value Δ of the carrier frequency f is positive or negative. When the change value Δ is negative, the control process proceeds to step S5. When the change value Δ is positive, the control process proceeds to step S3.
At step S3, the frequency controller 11 determines whether or not the frequency f reaches the upper limit value fmax. When the determination is made that the frequency f does not reach the upper limit value fmax, the control process proceeds to step S7 so that the change value Δ does not change sign. When the frequency f reaches the upper limit value fmax, the control process proceeds to step S4.
At step S4, the frequency controller 11 reverses the sign of the change value Δ of the frequency f (Δ←−Δ) so as to decrease the frequency f at the time of next calculation and thereafter. This brings step S4 to completion, and the control process proceeds from step S4 to step S7.
At step S5, the frequency controller 11 determines whether or not the frequency f reaches the lower limit value fmin. When the determination is made that the frequency f does not reach the lower limit value fmin, the control process proceeds to step S7 so that the change value Δ does not change sign. When the frequency f reaches the lower limit value fmin, the control process proceeds to step S6.
At step S6, the frequency controller 11 reverses the sign of the change value Δ of the frequency f so as to increase the frequency f at the time of next calculation and thereafter. This brings step S6 to completion, and the control process proceeds from step S6 to step S7.
At step S7, the frequency controller 11 adds the change value Δ determined through the above process steps to the present frequency f to calculate a next period of the carrier frequency f, which in turn is inputted to the carrier generator 9. In other words, the frequency f is controlled so as to increase or decrease monotonically by the change value Δ each time calculation takes place. This brings step S7 to completion, and the frequency control process returns from step S7 to step S1.
A series of frequency control process steps mentioned above enables a monotonic decrease in the carrier frequency f within a given time period and a monotonic increase in the carrier frequency f within a next time period, that is, the modulation of the carrier frequency f into the triangular wave form.
The process of
Execution of the process of
Description will now be given with reference to
As can be seen from
It has been experimentally shown that the above relation exists, that is, there is a given regular relation between the carrier frequency and the current control gain that permit keeping the deviation constant.
Although it is possible that current control gains are brought into correspondence with all varying carrier frequencies (or periods) to determine the current control gain that makes the deviation constant, a linear approximate expression obtained from the relation shown in
a) to 11(b) show the changes in the carrier frequency (or period) and the current control gain with respect to time, which occur when the control method described above is employed.
As described above, the current control gain is changed according to the change in the carrier frequency, and thus the current control gain also changes in conjunction with the change in the carrier frequency. This enables suppressing variations in an output current from the power converting device due to the change in the carrier frequency.
Moreover, the proportional control is used as the current controller 7. Thus, easy control of the current control gain can be accomplished by changing the proportional term of the proportional control.
Moreover, the carrier frequency may be modulated to provide the triangular wave form. This facilitates calculating and setting the frequency and the current control gain, thus enabling the suppression of the variations in the output current from the power converting device.
The control device according to the second embodiment is provided with a map 12 that stores the correlation between a carrier frequency and a current control gain, in place of the frequency controller 11 shown in
As described above, the carrier frequency is mapped to the current control gain, and the carrier frequency and the current control gain are changed in accordance with the map. This achieves the effect of facilitating setting a combination of a complicated carrier frequency and a current control gain.
The control device according to the third embodiment is provided with a periodic frequency controller 13 that effects a periodic change in a frequency, in place of the frequency controller 11 shown in
The periodic frequency controller 13 periodically modulates a carrier frequency to thereby facilitate calculating and estimating the carrier frequency. This enables changing a current control gain each time the carrier frequency changes, thus making it possible to effectively prevent the occurrence of a malfunction due to the carrier frequency.
The flowchart of
Incidentally, the map 12 shown in
As described above, the periodic change of the carrier frequency facilitates calculating and estimating the carrier frequency, thus enables changing the current control gain according to the change in the carrier frequency, and hence enables suppressing the variations in the output current from the power converting device.
The control method according to the fourth embodiment is adapted to delay and change a current control gain in accordance with a delay in a carrier at the occurrence of the delay in the carrier.
In the case of the control device 1 shown in
a) and 16(b) show the changes in the carrier frequency and the current control gain, respectively, which are effected by the above-mentioned process. In
Although an instance where the current control gain is held for the duration of one calculation cycle is given hereinabove, the current control gain may be held for the duration of a plurality of calculations according to the degree of the delay in the carrier.
Description will now be given with regard to a change in motor phase current which occurs when the current control gain is fixed (or in the case of a comparative example), and a change in motor phase current which occurs when the current control gain is changed according to the change in the carrier frequency (or in the case of the present invention).
a) and 17(b) and
a) and 18(a) show the change in the carrier frequency with respect to time. In
As can be seen from
The same proceeds for situations where the carrier frequency is modulated into a triangular wave form or in a random fashion. Specifically, the current control gain as changed according to the change in the carrier frequency enables suppressing the variations in the motor phase current and hence effectively preventing the occurrence of a malfunction due to the carrier frequency, as compared to the current control gain as fixed.
With reference to the first to fourth embodiments previously described, an instance is given where there arises a steady state in which the current command value is substantially constant and there is a single deviation of the output current from the current command value. A fifth embodiment is adapted to meet a situation where there arises a transition state in which the current command value varies and there are plural varying deviations of the output current from the current command value (that is, the plural deviations exist and each varies).
The control device according to the fifth embodiment is provided with a deviation detector 70, externally to the current controller 7, which detects the deviation of the detected current value from the current command value. With this configuration, the current control gain controller 10 is controlled according to the detected deviation so as to change the current control gain of the current controller 7 according to the change in the carrier frequency, and also to change the range of the current control gain according to the deviation (e.g., the mean value of bands in which the current control gain is changed). In other words, the control device is configured to change the range of the current control gain according to the change in the deviation, because there are plural varying deviations of the output current from the current command value in the transition state in which the current command value varies. This enables achieving an improvement in transition characteristics of an output current waveform from the power converting device.
Detailed description will be provided below.
The current control gain controller 10 effects a change in the current control gain of the current controller 7 according to the change in the carrier frequency from the frequency controller 11, and also effects a change in the range of the current control gain according to the deviation from the deviation detector 70 (as will be described in detail later).
The current controller 7 includes a proportional term calculator 72 and an integral term calculator 73 as structural components, and outputs the voltage command value by performing proportional-plus-integral control (PI-control) on the deviation of the detected current value from the current command value. The current controller 7 is configured to change the proportional term of the proportional term calculator 72 according to the signal from the current control gain controller 10 to thereby change the output voltage command value according to the change in the carrier frequency and also to change the range thereof according to the deviation. Although the proportional-plus-integral control is given in
a) and (b) are plots of assistance in explaining a method of controlling the current control gain (or a proportional gain and an integral gain) of the current controller 7, showing the change in the deviation due to a predetermined carrier frequency. In
In the transition state, the deviation also changes incident to the change in the current command value. A magnitude of deviation is divided into four parts by predetermined reference values e1, e2 and e3. When a deviation e is equal to or more than the value e1 (e≧e1), the range of the gain Kp is set to {1}, and the gain Kp is changed within the range {1} in synchronization with the carrier. When the deviation e lies between the value e2 inclusive and the value e1 exclusive (e1>e≧e2), the range of the gain Kp is set to {2}, and the gain Kp is changed within the range {2}. Likewise, the gain Kp is changed within the range {3} in synchronization with the carrier when the deviation e lies between the value e3 inclusive and the value e2 exclusive (e2>e≧e3), or the gain Kp is changed within the range {4} in synchronization with the carrier when the deviation e is less than the value e3 (e3>e). The range of change of Ki is determined similarly to the case of proportional gain Kp.
In other words, the range of the gains Kp and Ki are changed according to the magnitude of the deviation e. In
Incidentally, the range is not limited to being set by dividing the magnitude of deviation and determining the mean values as described above but may be set corresponding to each deviation.
a) is a plot showing the relation between the carrier frequency and the proportional gain.
Although it is possible that proportional gains or integral gains are brought into correspondence with all varying carrier frequencies (or periods) to determine the proportional gain or the integral gain that makes the deviation constant, linear approximate expressions obtained from the relations shown in
a) to 23(d) are charts showing the waveforms of a carrier frequency fc and the proportional gain Kp and the integral gain Ki set by using
In
Although
The above-described configuration enables changing the range of the current control gain according to the deviation of the output current from the current command value.
In addition to the above, matters described with reference to the first to fourth embodiments may be applied to the fifth embodiment. Specifically, the matters include the following configuration: when the frequency controller effects a periodic change in the carrier frequency or when a delay occurs in the voltage command value fed from the current controller to the PWM generator, the current control gain value given by the command from the current control gain controller is held for the duration of a predetermined number of calculations, and the current controller uses the held current control gain value for next calculation to calculate the voltage command value.
The control device according to the sixth embodiment is configured of the control device according to the fifth embodiment as provided with addition of a decision unit 100 that determines the magnitude of the deviation.
Description will be provided below with reference to
a) shows the waveform of the output response to the current command value with respect to time, which develops when the current command value changes from ref1 to ref2.
When the value e1, as shown for example in
Although the leading edge of the current command value is given as an instance in
a) to 26(c) show a calculation flowchart and a map for use in control described with reference to
First, varying PWM carrier frequencies are set to fc(1) to fc(n) as shown in
Then, an fc-Kp,Ki (carrier frequency versus gains) map is created as shown in
The {1}Kp column in
Description will now be given with regard to a calculating process shown in
The control shown in
The control device according to the seventh embodiment is configured of the control device according to the fifth embodiment as provided with addition of a decision unit 101 that determines the ratio of the magnitude (or the absolute value) of the deviation to the magnitude (or the absolute value) of the change in the current command value.
Description will be provided below with reference to
a) shows the waveform of the output response to the current command value with respect to time, which develops when the current command value changes from ref1 to ref2.
When the value e1, as shown for example in
Although the leading edge of the current command value is given as an instance in
When the PWM carrier frequency is changed in order to eliminate switching noise of higher harmonics produced by the PWM signal turning on or off the switching element of the power converting device, periodic variations caused by the change in the PWM carrier frequency occur in the output current waveform from the power converting device. According to the embodiments described above, the control device and method can suppress the occurrence of the periodic variations due to the change in the PWM carrier frequency in the output current waveform from the power converting device, by effecting a change in the current control gain for conversion of the current command value to the voltage command value according to the change in the PWM carrier frequency. Thus, the control device and method achieve the effect of being able to eliminate a malfunction such as torque variations occurring in the load driven by the power converting device. As for a transient response to the current command value, the control device and method can effect a change in the current control gain of the current controller according to the change in the PWM carrier frequency from the carrier generator, and also can effect a change in the range of the current control gain according to the deviation of the output current from the power converting device from the given current command value. Thus, the control device and method achieve the effect of being able to improve the transient characteristics of the output current waveform from the power converting device.
The preferred embodiments described herein are illustrative and not restrictive, and the invention may be practiced or embodied in other ways without departing from the spirit or essential character thereof. The scope of the invention being indicated by the claims, and all variations which come within the meaning of claims are intended to be embraced herein.
The present disclosure relates to subject matters contained in Japanese Patent Application No. 2006-122093, filed on Apr. 26, 2006, and Japanese Patent Application No. 2007-031584, filed on Feb. 13, 2007, the disclosures of which are expressly incorporated herein by reference in their entirety.
Number | Date | Country | Kind |
---|---|---|---|
2006-122093 | Apr 2006 | JP | national |
2007-031584 | Feb 2007 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4459534 | Nagase et al. | Jul 1984 | A |
4825131 | Nozaki et al. | Apr 1989 | A |
6166514 | Ando et al. | Dec 2000 | A |
6815924 | Iura et al. | Nov 2004 | B1 |
7005825 | Eguchi | Feb 2006 | B2 |
Number | Date | Country |
---|---|---|
7-99795 | Apr 1995 | JP |
2001-037248 | Feb 2001 | JP |
Number | Date | Country | |
---|---|---|---|
20070279948 A1 | Dec 2007 | US |