METHOD AND APPARATUS FOR CONTROLLING A PWM INVERTER

Abstract: A method and apparatus are disclosed for controlling a pulse width modulating (PWM) inverter controlled for ignition by a PWM pulse (E U , E V , E W ) produced with a carrier wave (g) and a modulation wave (e). The method comprises sampling an amplitude of the modulation wave (e) at a cycle rate related to the frequency of the carrier wave. The modulation wave and the carrier wave are synchronized when the sample modulation wave amplitude has a peak value (V R ) greater than an amplitude (H) of the carrier wave. The modulation wave and the carrier wave are asynchronized when the sampled modulation wave has a peak value less than the amplitude of the carrier wave.

Description: Background of the Invention The present invention relates to a method and apparatus for controlling a PWM inverter according to the precharacterizing parts of the claims 1 and 4, respectively. Such a method and apparatus are known from the IEEE Transactions on Industry Applications, Vol. IA-I8, No. 2, March/April 1982, pages 138 to 144. To operate at high efficiency over a wide range of speed, an adjustable-speed ac motor is provided with an adjustable-voltage and adjustable frequency power source. The voltage and frequency are not totally independent and are generally varied in such a way as to maintain a constant ratio of voltage to frequency. That is, higher ac voltage and higher frequency result in higher motor speed. It is typical to provide power to the motor with an adjustable-voltage, adjustable-frequency inverter. However, since the inverter operates from a relatively fixed source of dc voltage, control of the inverter output voltage must be provided in or associated with the inverter. The preferred technique is to pulse-width modulate the output voltage. Various forms of pulse-width-modulation (PWM) have been proposed, with a form of sine-wave shaping being a preferred approach. Rapid advancements in microprocessor-based control systems and stored-program memory devices have reduced their cost and complexity to the point where they are used to generate the pulse-width-modulation switching times. To produce a pulse width modulated (PWM) pulse used to control a PWM inverter, two systems are generally used, one is an asynchronous and the other is a synchronous system in which the modulation wave is in synchronism with the carrier. In the asynchronous system, the PWM pulse is produced while the carrier is not synchronized with a particular phase of an output voltage of the inverter. On the other hand, in the synchronous system, the PWM pulse is produced while the carrier is always synchronized with a particular phase of the output voltage of the inverter independently from an output frequency of the inverter. In order to produce the PWM pulse in this manner, a sine wave of the modulation wave is compared with a ramp wave of the carrier. In the pulse width control, harmonics are included in the output current of the inverter. In order to supress the harmonics, a frequency of f c of the carrier is selected higher than a frequency f of the modulation wave (which is equal to a frequency of the inverter output voltage). In other words, a frequency ratio f c /f is selected to be large. However, when the frequency f c /f is constant, a loss of a switching element of the inverter increases in a high frequency band. Accordingly, the frequency ratio f c /f is selected to be large in a low frequency band and gradually decreased as the inverter output frequency increases. This is disclosed in Japanese patent application, JP-A-60-174088. The problems that have been encountered with these prior systems are that in the synchronous system, each time the frequency ratio f c /f changes, an overcurrent is generated and a torque is varied. Further, since harmonics of the output current change, magnetic noise of the motor changes and it presents an uncomfortable feeling. On the other hand, in the asynchronous system, the carrier frequency f c may be set constant because the modulation wave and the carrier are asynchronous. As a result, the frequency ratio f c /f continuously changes as the inverter output frequency f changes, and no trouble such as torque variation occurs. However, as an amplitude ratio K H of the modulation wave and the carrier is gradually increased to increase the inverter output voltage, the output current oscillates. The oscillation phenomenon has been confirmed by an experiment by the inventors. The mentioned IEEE Transactions publication describes a method and an apparatus which change between asynchronous mode and synchronous mode of the carrier wave and also between different frequencies of the carrier wave in synchronous mode but does not describe a determination of asynchronous mode or synchronous mode in dependence of an amplitude ratio between the modulation wave and the carrier wave. The DE-A-26 29 406 describes a concept of a partial synchronization between the modulation wave and the carrier wave in control of a PWM inverter using a pulse-width modulated pulse generated by comparing the modulation wave with the carrier wave. The carrier wave is basically free in its frequency but takes the same condition at those points corresponding to n-divided points of one cycle period of the modulation wave. The US-A-3 886 430 describes a phase and frequency synchronization circuit for modifying the carrier wave so as to be in synchronization with the modulation wave which is produced by a reference generator while the modulation wave is produced by a carrier waved generator independently of the modulation wave. It is an object of the present invention to provide method and apparatus for controlling a PWM inverter which do not cause a torque variation and a change of noise tone of the motor when the pulse is switched, and can stably drive the motor irrespective of the magnitude of the output voltage. BRIEF SUMMARY OF THE INVENTION The above object is achieved in a method for controlling a PWM inverter whose conductivity is controlled by a pulse-width modulated pulse which is generated by comparing a modulation wave with a carrier wave, wherein the carrier wave is made selectively synchronous or asynchronous with the modulation wave depending on a condition of the modulation wave and the carrier wave, which is, according to the invention characterized in that an amplitude ratio between the amplitudes of the modulation wave and the carrier wave is detected, and the carrier wave is made asynchronous with the modulation wave when the detected amplitude ratio is lower than a predetermined value and made synchronous with the modulation wave when the detected amplitude ratio is not lower than the predetermined value. Claims 2 and 3 characterize advantageous developments thereof. The above object is further achieved in an apparatus for controlling a PWM inverter, comprising means for producing a modulation wave having a frequency corresponding to a frequency command indicating a desired frequency of the output of the PWM inverter and an amplitude corresponding to a voltage command indicating a desired voltage value of the output of the PWM inverter, means for generating a carrier wave, means for comparing the modulation wave with the carrier wave thereby generating the pulse-width modulation pulse and means for making the frequency of the carrier wave selectively constant or variable, which is according to the invention characterized by means detecting an amplitude ratio between the amplitudes of the modulation wave and the carrier wave, and means for setting the frequency of the carrier wave to be constant when the detected amplitude ratio is lower than a predetermined value and to be variable so that the phase of the modulation wave is matched with the phase of the carrier wave when the detected amplitude ratio is not lower than the predetermined value. The variation in time of the pulse width of the PWM pulse produced in the asynchronous system depends on the amplitude ratio. For the PWM pulse in one-half cycle of the output voltage of the inverter, as the number of PWM pulses whose duty factor is 1 increases (which corresponds to a state in which the amplitude ratio K H is larger than 1), the variation of the output voltage gradually increases and the oscillation of the output current also increases. Before such a phenomenon takes place, the control is switched such that the PWM pulse is produced in the synchronous system. Since the frequency of the PWM pulse lowers as the amplitude ratio increases, a switching loss of a switching element decreases. When the inverter frequency f is varied to effect constant V/f control, the voltage or amplitude ratio is also varied. At a frequency f which results in the amplitude ratio, K H being greater than one, the switching frequency of the switching element changes very slowly to the change of the inverter frequency f when the frequency ratio f c /f is kept constant and the PWM inverter is controlled in the synchronous system. In the asynchronous system, since the carrier frequency f c is kept constant, the frequency ratio f c /f continuously changes as the inverter frequency f changes. At the inverter frequency f which results in the amplitude ratio K H being greater than one, the synchronous system is selected and the frequency ratio f c /f is kept constant. Thus, the ratio f c /f continuously changes as the inverter frequency f changes, and the torque variation at the switching of pulse is prevented. Brief Explanation of the Drawings FIGURE 1 shows a block diagram of one embodiment of the present invention; FIGURE 2 shows a relationship between an inverter output voltage and an amplitude ratio; FIGURE 3 shows a relationship between an inverter frequency, and a carrier frequency and a PWM signal frequency when the present invention is applied to constant V/f control; FIGURE 4 shows a relationship between a modulation wave and a carrier; and, FIGURE 5 shows a timing chart for explaining the operation of FIGURE 1. Detailed Descrintion of the Preferred Emdodiment FIGURE 1 shows an embodiment of the present invention. In FIGURE 1, a potentiometer 101 sets the inverter frequency f. A frequency command f is supplied to a V/F converter 15, which produces a square wave at a frequency proportional to the frequency command f. The square wave generated by the V/F converter 15 is supplied to clock terminals CK of timers 201 and 202 of timer unit 20. An output signal a of the timer 202 is supplied to an R/S flip-flop circuit 16. The timer unit 20, a microcomputer 30 and D/A converters 401, 402, and 403 of a D/A converter unit 40 are interconnected through data bus 31. Outputs (modulation waves) e of the D/A converters 401, 402, and 403 are supplied to corresponding comparators 501, 502, and 505, respectively. A voltage command V R set by a potentiometer 102 is applied to reference terminals RE of the D/A converters 401, 402, and 403. A ramp voltage (carrier) from ramp voltage generator 130 is applied to second input terminals of the comparators 501, 502, and 503. Outputs (PWM pulses) of the comparators 501, 502, and 503 are supplied to a gate circuit 60. A gate signal (PWM pulse) from the gate circuit 60 is applied to a switching element of a PWM inverter 70. Since a construction of the PWM inverter 70 is well known, explanation thereof is omitted. Output terminals of the PWM inverter 70 are connected to an induction motor 150 so that an A.C. voltage of variable voltage and variable frequency is applied to the induction motor 150. The voltage command V R derived from the potentiometer 102 is also applied to the other input terminal of the comparator 80. An output terminal of the comparator 80 is connected to a control terminal A₃ of the analog switch 120. An input terminal A₂ of the analog switch 120 is grounded and an input terminal A₁ is connected to an output terminal of a low-pass filter 110. Outputs c and d of a phase detector 90 are supplied to input terminals of the low-pass filter 110. An output signal a ′ of the R/S flip-flop circuit 16 and on output signal b of a square wave generator 140 are supplied to the phase detector 90. The square wave generator 140 receives a ramp wave signal g of the ramp wave generator 130 and produces the square wave signal b which is synchronous with the ramp wave signal g . An adder 121 is connected to an input terminal of the ramp wave generator 130. A constant F c * and a frequency correction signal Δf c supplied from the analog switch 120 are applied to the adder 121. The phase detector 90, low-pass filter 110, analog switching circuit 120, adder 121, ramp wave generator 130, and square wave generator 140 form a phase locked loop (PLL) circuit. The operation of FIGURE 1 is now explained. When the induction motor is driven at a variable speed, it is common to vary a motor voltage (V) and a frequency (f) thereof at constant. In the constant V/f control, the inverter output voltage (V) is adjusted by changing the amplitude ratio of the modulation wave over the carrier (K H ). When the inverter frequency f is fixed, the amplitude ratio K H and the inverter output voltage V have a relationship shown in FIGURE 2. When the amplitude ratio K H is smaller than a predetermined value K HO , the inverter output voltage V is essentially proportional to amplitude ratio K H . The predetermined value K HO is theoretically set to 1. However, a dead time T d is provided to prevent overlapping of the PWM pulse applied to the positive switching element PWM inverter and the PWM pulse applied to the negative switching element. Accordingly, the predetermined value K HO is actually smaller than 1 by an amplitude ratio for the dead time T d . In the present invention, the asynchronous system (asynchronous mode) is adapted in a region in which the amplitude ratio K H is smaller than the predetermined value K HO , and the synchronous system (synchronous mode) is adapted in a region in which the amplitude ratio K H is larger than the predetermined value K HO . As a result, even if the frequency ratio f c /f is kept constant in the synchronous mode, the frequency f s of the PWM pulse is not so raised that a switching loss at a high frequency becomes prominent. This is explained below. FIGURES 3(a), 3(b), and 3(c) show relationships between the inverter frequency f, and the amplitude ratio K H , the carrier frequency f c , and the PWM pulse frequency F s , respectively. The PWM inverter 70 is operated in the asynchronous mode until the inverter frequency f reaches a predetermined frequency f A . The carrier frequency f c is kept at a constant f c0 . As a result, as the inverter frequency f changes, f c0 /f continuously changes. The sine wave, ramp wave (carrier), and the PWM signal have a relationship shown in FIGURE 4(a). When the inverter frequency f is higher than the predetermined frequency f A , the amplitude ratio K H increases accordingly. The PWM signal is shown in FIGURE 4(b). Under this condition, the frequency f s of the PWM signal is lowered to f s1 (FIGURE 3(c)) which is lower than the frequency of the PWM signal shown in FIGURE 4(a) than that corresponding to missed pulses shown by broken lines. If the inverter frequency f further rises, the PWM pulses frequently f s also increases accordingly. Since the amplitude ratio K H also increases, as the inverter frequency f rises to a point A″ (FIGURE 3(c)) the frequency f s of the PWM signal again falls. In FIGURE 3, the frequency ratio f c /f is set to 9. Practically, a little bit larger ratio is selected. The frequency f s is reduced to the point B, as shown in FIGURE 3, while repeating up and down, as the inverter frequency f is increased as shown in FIGURE 4(c). At the inverter frequency f above a point B, the relationship between the sine wave and the ramp wave (carrier) is that shown in FIGURE 4(c) and there is no longer pulse which is removed from the PWM signal. As a result, the frequency f s of the PWM signal rises as shown in FIGURE 3(c). The carrier frequency f c and the PWM signal frequency f s are then compared. In the constant f c /f control in the synchronous mode, the carrier frequency f c rises as the inverter frequency f rises. However, since the frequency f s changes to the state shown in FIGURE 4(c) by repeating up and down, it does not rise to a frequency at which switching loss is prominent. This is explained more specifically. Let us assume that f A = 37.5 Hz, f B = 50 Hz, (f) max = 200 Hz, and f c in the asynchronous mode is 1012.4 Hz. Then, the frequency ratio f c /f at the inverter frequency f A is 27. Under this condition, the inverter frequency f is increased, and the frequency f c when the amplitude ratio K H is 2.5 and the frequency f is (f) max is compared with f s . The frequency f c = 5.4 KHz. On the other hand, the number of pulses at the amplitude ratio K H = 2.5 is 7 and hence the frequency f s is 1.4 KHz (= 200 x 7). It is thus seen that the PWM signal frequency f s is not large compared to the carrier frequency f c . The change of the PWM signal frequency f s in a region between the inverter frequencies f A and f B in FIGURE 3(c) is due to missing of pulses from the PWM signal. The number of pulses is 1 to 2 which is very small. Under this condition, since the amplitude ratio K H continuously changes, there is no variation in the voltage. The operation of the embodiment of FIGURE 1 when the PWM control described above is applied thereto is explained with reference to FIGURE 5. FIGURE 5 shows wave-forms when the mode is changed from the asynchronous mode to the synchronous mode with a variable voltage command V R . The inverter frequency command f derived from the potentiometer 101 is supplied to the V/F converter 15, which generates a square wave having a frequency proportional to the inverter frequency command f. The square wave is supplied to the timers 201 and 202 which produce clock signals. The timer 201 counts the square wave and the count thereof represents a phase of the sine wave. When the count of the timer 201 reaches a count corresponding to one period of the sine wave, the timer 201 is initialized. The timer 201 again counts the square wave until the count reaches the count corresponding to one period. On the other hand, the timer 202 counts until the count reaches a count corresponding to the frequency ratio f c /f, when the timer 202 produces the pulse a . The pulse a is applied to the clock terminal CK of the R/S flip-flop circuit 16, which produces the square wave a ′ having levels "1" and "0" at the timing of the pulse a . In FIGURE 5, the frequency ratio f c /f is set to 5 to simplify the explanation. The square wave signal a ′ from the R/S flip-flop circuit 16 is applied to the phase detector 90. The square wave signal b is also applied to the phase comparator 90. The phase detector 90 detects a phase difference from a falling time of the square wave signal a ′ to a falling time of the square wave b to produce a phase difference detect signals c and d . The phase difference detect signal c assumes a "0" level when the phase of the square wave b is retarded with respect to the square wave a ′ and a phase difference betwen the falling times of the square wave signals a ′ and b is detected, and assumes a "1" level under other conditions. On the other hand, the phase difference detect signal d assumes the "0" level when the phase of the square wave signal b is advanced with respect to the square wave signal a ′ and phase difference between the falling times of the signals a ′ and b ′ is detected, and assumes the "1" level under other conditions. The square wave b is generated by the square wave generator 140. The square wave generator 140 compares the ramp wave g with a zero level. If the level of the ramp wave g is positive the square wave b is of "1" level, and if it is negative, the square wave b is of "0" level. The frequency f t of the ramp wave g is obtained as a sum of the constant f c * and the frequency correction signal Δf c supplied form the analog switch 110. The frequency correction signal Δf c is produced in the following manner. When the voltage command V R is smaller than the reference V A , the modulation mode discriminating signal h from the comparator 80 is of "0" level. As a result, the analog switch 120 is connected to the input terminal A₂. Since the input terminal A₂ is grounded, the frequency correction signal Δf c is zero. Accordingly, the constant f c * is set as a frequency f t of the ramp wave g and the asynchronous mode is started. When the voltage command V R is larger than the reference V A , the comparator 80 produces the "1" level modulation mode discriminating signal h so that the analog switch 120 is connected to terminal A₁. This timing is shown by t₁ in the timing chart of FIGURE 5. Between the times t₁ and t₂, the phase difference detector signal c is of "0" level and the positive frequency correction signal Δf c is added to the constant f c * by the low-pass filter 110 to advance the phase of the ramp wave g . Between the times t₂ and t₃, the frequency correction signal Δf c derived at the time t₂ is held as it is. At the time t₃, a phase difference between the reference square wave a and the square wave b which is in phase with the ramp wave is again detected. As shown in FIGURE 5, the phase is still in retard at this moment and hence the frequency correction signal Δf c derived at the time t₃ is increased. Between the times t₄ and t₅, the frequency correction signal Δf c derived at the time t₄ is held. The phase lag is compensated at the times t₅ and t₆. Between the times t₇ and t₈, the phase difference detect signal d is of "0" level and the phase of the square wave b is in advance with respect to the square wave a ′. Thus, the frequency correction signal Δf c is decreased. As a result of such phase correction, after the time t₉, none of the signals c and d assume "0" level and the phase of the square wave b is locked to the phase of the reference square wave a ′. Since the phase of the square wave a ′ is synchronous with the phase of the sine wave, the sine wave and the ramp wave g are not in synchronism. The operation to generate the PWM pulse is now explained. The content of the timer 201 is read by the microcomputer 30. On the other hand, a memory (not shown) of the microcomputer contains an amplitude value of a sine wave corresponding to the content of the timer 201. When the microcomputer 30 reads the content of the timer 201, it reads the amplitude value of the corresponding sine wave from the memory and transfers the value to the D/A converter 40. As a result, the D/A converters 401, 402, and 403 generate U-phase, V-phase and W-phase sine wave signals (modulation waves) e . The D/A converters 401, 402, and 403 receive the voltage command V R at their reference terminals RE. Accordingly, the amplitudes of the modulation waves e are proportional to the voltage command V R . The U-phase, V-phase, and W-phase modulation waves e are supplied to the comparators 501, 502, and 503, respectively, and compared with the ramp wave g . The comparators 501, 502, and 503 produce the PWM pulses E U , E V , and E W . Of those signals, the U-phase PWM pulse E U is shown in FIGURE 5 as a representative. The PWM pulses E U , E V , and E W are supplied to the gate circuit 60. The gate circuit 60 applies the gate signal to the positive and negative switching elements of the PWM inverter, which responds to the gate signal to drive the induction motor 150. In this manner, the PWM inverter is controlled. In accordance with the present invention, the frequency ratio f c /f is kept constant in the synchronous mode without increasing the switching loss and the variation of the voltage when the pulse is switching is prevented and the motor can be smoothly driven. In accordance with the present invention, even if the inverter frequency is raised, the motor can be smoothly driven without increasing the switching elements. Even if the inverter output voltage is raised at the high frequency band, the current is not disturbed and a constant torque control is attained over a wide range of speed. In the above embodiment, the modulation wave is a sine wave and the carrier is a ramp wave. Alternatively, the modulation wave may be a step wave, pedestal wave, or a wave generated by superimposing a third harmonic, and the carrier may be a sawtooth wave or a ramp wave.

Claims: A method for controlling a PWM inverter whose conductivity is controlled by a pulse-width modulated pulse (Eu, Ev, Ew) which is generated by comparing a modulation wave (e) with a carrier wave (g), wherein the carrier wave (g) is made selectively synchronous or asynchronous with the modulation wave (e) depending on a condition of the modulation wave and the carrier wave, characterized in that an amplitude ratio (K H ) between the amplitudes of the modulation wave (e) and the carrier wave (g) is detected, and the carrier wave (g) is made asynchronous with the modulation wave (e) when the detected amplitude ratio (K H ) is lower than a predetermined value (K HO ) and synchronized with the modulation wave (e) when the detected amplitude ratio (K H ) is not lower than the predetermined value (K HO ). A method for controlling a PWM inverter according to claim 1, characterized in that a frequency ratio (fc/f) between the modulation wave and the carrier wave is maintained constant when the modulation wave is synchronous with the carrier wave. A method for controlling a PWM inverter according to claim 1 or 2, characterized in that said predetermined value (K HO ) of the amplitude ratio is approximately "1". An apparatus for controlling a PWM inverter, comprising means (40) for producing a modulation wave (e) having a frequency corresponding to a frequency command indicating a desired frequency of the output of the PWM inverter and an amplitude corresponding to a voltage command indicating a desired voltage value of the output of the PWM inverter, means (130) for generating a carrier wave (g), means (501) for comparing the modulation wave with the carrier wave thereby generating the pulse-width modulation pulse (Eu, Ev, Ew) and means (120, 121) for making the frequency of the carrier wave selectively constant or variable, characterized by means (80) detecting an amplitude ratio (K H ) between the amplitudes of the modulation wave (e) and the carrier wave (g), and means (120) for setting the frequency of the carrier wave to be constant when the detected amplitude ratio (K H ) is lower than a predetermined value (K HO ) and to be variable so that the phase of the modulation wave is matched with the phase of the carrier wave when the detected amplitude ratio (K H ) is not lower than the predetermined value (K HO ).

Inventors: HATTORI, MOTONOBU, IBORI, SATOSHI, MUTOH, NOBUYOSHI, NANDOH, KENJI, SHIMONABE, HIDEYUKI, UEDA, AKITERU, YAMASAWA, YUUZI
Applicants: HITACHI, LTD.
Application year: 1987
Main classification: H02M7
IPC codes: H02P27, H02M7