Abstract:
A control circuit for a power conversion apparatus, e.g., inverter and cycloconverter, which produces sinusoidal alternating current (AC) power through multiple switching operations of switching devices within a cycle and supplies the power to a load. The control circuit includes a current control minor loop for controlling the instantaneous value of the output current of the power conversion apparatus in compliance with a current reference value which is determined as the sum of the load current component determined basing on the detected value of load current, and the modification current component produced by a voltage controller to current error of output line voltage of said power conversion apparatus with respect of a sinusoidal voltage reference, whereby the output voltage of the power conversion apparatus is controlled accurately to have less distortion against harmonics of the load.

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to a control circuit for controlling the output voltage of a power conversion apparatus such as an inverter and converter, and particularly to a control circuit to obtain accurate and small-distortion sinusoidal output voltage. 
     2. Description of the Prior Art 
     In extensive industrial fields, power conversion apparatus such as inverters and converters are used to produce stable and low-impedance electric power. For example, an article entitled &#34;Inverter Output Voltage Waveform Closed Loop Control Technique&#34; in Intelec Papers, pp. 205-212, 18-21, Oct. 1983, published in Tokyo, discloses a technique of controlling the inverter output voltage. FIG. 1 is a block diagram derived from FIG. 5 of the above article on page 207 and redrawn to contrast with the present invention. In the figure, the system includes an inverter main circuit 1, a reactor 2 and capacitor 3 making in combination an alternating current (AC) power filter, a direct current (DC) power source 4, a load 5, a drive circuit 6 for the inverter main circuit 1, an AC reference voltage generator 7 for producing a sinusoidal reference voltage, an amplifier 8, and a pulse width modulation (PWM) circuit 9 consisting of a comparator 9a and a carrier wave generator 9b. 
     Next, the operation will be described. A sinusoidal output voltage in compliance with the control output of the PWM circuit 9 is produced across the capacitor 3. The amplifier 8 and PWM circuit 9 control the switching operation of the inverter 1 so that the output voltage is equal to the sinusoidal reference voltage of the AC reference voltage generator 7. 
     The PWM circuit 9 made up of a triangular carrier wave generator 9b and comparator 9a operates to determine the switching time point of pulse width modulation in accordance with a virtually sinusoidal signal produced by amplification of the voltage difference by the amplifier 8. Since the amplifier 8 has a certain finite gain for the stability of operation, the output voltage of the inverter 1 has a small error with respect to the reference voltage of the AC reference voltage generator 8, and the system operates such that the inverter output voltage follows the reference voltage. 
     The conventional control circuit for a converter such as an inverter is constructed as described above, and the inverter operates as a very low-impedance voltage source when the inverter is seen from the load. On this account, a short circuit current in the load or an inrush current of a transformer tends to cause the inverter to have an excessive output current, and the protection of the inverter has been a matter of difficulty. In addition, when the inverter is loaded by a device such as a rectifier which produces many harmonics, the voltage distortion caused by the harmonics of the load cannot be eliminated completely due to the foregoing principle of control operation in which the corrective action takes place after a voltage error has arisen. 
     SUMMARY OF THE INVENTION 
     The present invention is intended to solve the foregoing problems, and its prime object is to provide a control circuit for converter with excellent transient characteristics which can supply a sinusoidal voltage with less distortion to both linear and nonlinear loads, and to simplify and ensure the protection of the converter against an excessive load current. 
     The inventive control circuit for converter generates the command value of the converter output current, which is necessary to obtain sinusoidal output voltage after filtering, from information related to the load current, information related to the current to be applied to the parallel impedance of the filter, and information related to the error of the output voltage from the reference voltage, and incorporates a minor current loop which is responsive instantaneously to the current command value so that the converter is inherently protected from an excessive current caused by an output short circuit or the like. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram showing the conventional control circuit for usual inverter; 
     FIG. 2 is a block diagram showing the first embodiment of the present invention; 
     FIGS. 3A and 3B are schematic diagrams showing examples of the inverter main circuit concerning this invention; 
     FIG. 4 is a block diagram of the PWM circuit in the first embodiment shown in FIG. 2; 
     FIG. 5 is a signal waveform diagram used to explain the operation of the voltage error detecting circuit which constitutes the control circuit of the first embodiment shown in FIG. 2; 
     FIG. 6 is a block diagram showing the second embodiment of this invention; 
     FIGS. 7 through 19 are diagrams used to explain the digital sampling control system constructed according to the control circuit shown in FIG. 6, in which, 
     FIG. 7 is a block diagram showing the system arrangement; 
     FIG. 8 is a block diagram of the main circuit in the continuous system; 
     FIG. 9 is a block diagram of the main circuit in the sampled-data system; 
     FIG. 10 is a block diagram showing the overall Dead Beat current control system of a proportion-integration system; 
     FIG. 11 is a block diagram showing the controller for the sampled-data Dead Beat current control; 
     FIG. 12 is a diagram of the model of the voltage control system; 
     FIG. 13 is a block diagram of the quadratic prediction of load current; 
     FIG. 14 is a block diagram showing the overall Dead Beat voltage control; 
     FIG. 15 is a block diagram of the controller for the sampled-data Dead Beat voltage control; 
     FIG. 16 is a time chart illustrating the calculation process of the Dead Beat current control and load current prediction. 
     FIG. 17 is a block constitution diagram showing a specific circuit for executing the digital sampling control; 
     FIG. 18 is a flow chart illustrating the execution process of the control program, in which FIG. 18A shows the execution process of the initialization program at the power source turned on, and FIG. 18B shows the calculation process of the Dead Beat control; 
     FIGS. 19(a) through 19(e) are the waveforms at various portions of the arrangement of FIG. 6 in carrying out the Dead Beat control; and 
     FIG. 20 is a block diagram showing the third embodiment of the inventive power conversion apparatus control circuit. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     Preferred embodiments of the present invention will be described in detail with reference to the drawings. 
     FIG. 2 shows in block diagram an embodiment of this invention, in which reference number 1 denotes a voltage-type inverter, which converts DC power into AC power with an arbitrary voltage and frequency. The inverter typically includes a single-phase or three-phase full-wave bridge circuit including switching devices S1-S4 as shown in FIG. 3A or switching devices S5-S10 as shown in FIG. 3B operative in pulse width modulation by a triangular wave carrier of 1-2 kHz or higher. And a reactor 2 and a capacitor 3 remove higher harmonics to get sinusoidal output voltage. 
     The arrangement of FIG. 2 further includes a DC power source 4, a load 5, a drive circuit 6 for the switching devices, e.g., S1-S4 or S5-S10, of the inverter 1, and a control circuit 10. A current sensor 11a is provided at the output of the inverter 1 so as to detect the inverter output current I A , and another current sensor 11b is provided at the input of the load 5 so as to detect the load current IL. A voltage sensor 11c detects and feeds back the inverter output voltage V C  to the control circuit. In the figure, reference numbers above 100 are given to components of the control circuit 10. The control circuit 10 includes an AC sinusoidal reference voltage generator 101, a phase-lead circuit 102 which advances the phase of the AC reference voltage VR by 90° to produce a signal VR90 (it is also possible to produce the VR signal from the VR90 signal by retardation), a scaler 103, a low-pass filter 104 which removes high-frequency components in the load current IL which the inverter cannot follow, a limiter 105 which limits the inverter current command value IR below the inverter allowable value, a current control amplifier 106, a low-pass filter 107 which removes a ripple component created by PWM modulation in the inverter output current I A , a voltage error detecting circuit 109, integrating amplifiers, 110, 111 and 112, and multipliers 113 and 114. 
     FIG. 4 shows in block diagram a PWM circuit 108 used in the embodiment of FIG. 2, and it consists of a comparator 108a and a carrier wave generator 108b which generates a carrier signal in triangular wave. 
     Next, the operation of this embodiment will be described with reference to FIGS. 2, 4 and 5. FIG. 5 explains the operation of the voltage error detecting circuit. In this embodiment, the control circuit 10 includes a current control minor loop for implementing the high-response current control and a voltage control loop which is lower in response than the minor loop. By the current control minor loop, the inverter output current I A  responds instantaneously to the current command value IRL which has been set so that the inverter produces the sinusoidal AC voltage, and the sinusoidal output voltage which follows the AC reference voltage is produced. In more detail, the current control minor loop operates as follows. The inverter output current I A  is detected by the sensor 11a as a current signal I A1 , and it is rid of a ripple component caused by PWM modulation by the low-pass filter 107 to become a current signal I A2 . The error of the inverter output current I A  from the current command value IRL is amplified by the amplifier 106, which provides its output IE1 to the PWM circuit 108. The modulation output PWMO is amplified through the drive circuit 6, which applies the output PWM1 to the inverter, and it is controlled in PWM mode. By provision of a smaller time lag and a higher gain for the current control minor loop, a highly responsive current control is achieved. 
     Next, the determination of the current command value IRL and the operation of the voltage control loop will be described. The current which is to be produced by the inverter is the sum of the current Ic flowing through the capacitor 3 and the load current IL. Accordingly, the inverter current command value IR is the capacitor current ICR plus the load current command value ILR added by a small compensation IVR for minimizing the voltage error. 
     The capacitor current command value ICR is obtained as follows. First, the capacitor voltage Vc and capacitor current Ic are in this relation: ##EQU1## With the capacitor voltage being Vc=Vcp sin (ωt), ##EQU2## where Vcp is the peak value of the capacitor voltage Vc. 
     Accordingly, the current to be supplied to the capacitor in order to produce the prescribed sinusoidal voltage has a magnitude which is the AC reference voltage VR with a 90° lead phase multiplied by the value of ωC. Accordingly, the capacitor current command value ICR can be obtained from the output of the 90°-lead circuit 102 by way of the scaler 103 having a constant gain ωC. With the current control loop following the reference value which advances by 90° from the voltage reference as explained above, the inverter can establish the rated voltage in the no-load condition. In this state of no-load voltage establishment, the inverter is operating with the parallel capacitor connected in parallel to the current source, and it does not behave as a low-impedance voltage source required for the general sinusoidal output inverter. To cope with this matter, the inventive arrangement is made so that the current control minor loop of the inverter quickly follows the current demanded by the load, thereby acting as a low-impedance voltage source seen from the load. The load demand current will have a distorted waveform including many harmonics in such a case of a rectifier load. By producing the distorted current waveform without delay, the current source inverter can apparently serve as a voltage source. 
     However, in consideration that harmonic load current components above 11th order, for example, are supplied from the output capacitor 3 and they do not cause a significant voltage distortion, and that the current control minor loop of extremely high response is uneconomical, it is designed such that load current harmonics above 11th order are mainly supplied from the parallel capacitor 3 and those below the 7th order are supplied from the inverter, for example. Namely, the low-pass filter 104 is used to reduce harmonics above 11th order and admit harmonics below the seventh order so as to produce a current reference ILR pertinent to the load current including the fundamental to harmonic components up to seventh order, and the inverter is made to follow the reference, whereby the inverter operation which does not increase the voltage distortion due to a nonlinear load can be accomplished. 
     Next, the purpose of the voltage control loop for producing the modification component IVR and its operation will be described. The foregoing control system is a feedforward control for the capacitor current IC to follow an intended sinusoidal current ICR, and also the load current command value ILR is fed forward. Therefore, the capacitor current IC which is nearly equal to the intended current ICR is obtained, whereas the inverter output voltage Vc has a small error VE with respect to the AC reference voltage VR due to a limited accuracy of the capacitance of the capacitor 3 and a steady-state error of the current control minor loop. On this account, a compensating current IVR which minimizes the error VE is produced and added to the inverter current command value. 
     The terms of compensation IVR are evaluated as follows. First, the voltage error VE is decomposed by the voltage error detection circuit 109 into a voltage error VP which relates to the active current, an error VQ which relates to the reactive current and an error VD which relates to the DC current. An increase of the active current in the inverter output current I A  causes the inverter output voltage Vc to have a lead phase, while an increase of the reactive current causes the inverter output voltage Vc to have an increased amplitude. By adding a small DC current to the command, an unbalanced inverter output voltage, in the positive and negative mean value, can be corrected. Some examples of this operation by the voltage error detection circuit 109 are depicted in FIG. 5. 
     FIG. 5(a) shows the case of an error in the voltage amplitude with respect to the reference voltage of the same phase. This error varies depending on the reactive current of the inverter, and the error appears significantly at portions of 90° and 270° of the reference voltage. Accordingly, by detecting the error at timings T1 and T3 in FIG. 5(b), a signal VQ which reflects the amplitude error can be evaluated through the following calculation. 
     
         VQ=V(T1)-VR(T1)-V(T3)+VR(T3) 
    
     FIG. 5(c) shows the case of an error in the phase with respect to the reference voltage. This error varies depending on the active current of the inverter, and the error appears significantly at portions of 0° and 180° of the reference voltage. Accordingly, by detecting the error at timings T0 and T2 in FIG. 5(d), a signal VP which reflects the phase error can be evaluated through the following calculation. 
     
         VP=V(T0)-VR(T0)-V(T2)+VR(T2) 
    
     FIG. 5(e) shows the case of an error in the DC component with respect to the reference voltage. This error is constant over the entire period, and it can be detected as shown in FIG. 5(f) through the following calculation. 
     
         VD=V(T0)-VR(T0)+V(T1)-VR(T1)+V(T2)-VR(T2)+V(T3)-VR(T3) 
    
     In the above error detections, the signal VQ represents the amplitude error which can be corrected by the reactive current, the signal VP represents the phase error which can be corrected by the active current, and the signal VD represents the positive-to-negative balance error which can be corrected by the DC current. These signals are processed by the integrating amplifiers 110, 111 and 112 and the multipliers 113 and 114, and converted into a compensation active current IP, compensation reactive current IQ and compensation DC current ID, with their sum representing the terms of compensation IVR. This value IVR is for the correction of a small voltage error, and its magnitude is smaller than the capacitor current command value ICR. The integrating amplifiers 110, 111 and 112 have a property of saturation so as to provide a limit on the compensation value IVR. The IVR finely adjusts the inverter output current so that the error becomes minimal. Although in the foregoing embodiment the signals VQ, VP and VD are detected by sampling, it is of course possible to detect the similar signals in a continuous manner. 
     In FIG. 2, the sum of the current command values ICR, ILR and IVR is applied through the limiter 105 to the current control minor loop including the amplifier 106. By the presence of the limiter 105, no command value in excess of the maximum allowable instantaneous current of the inverter is issued at any transitional state, and the inverter operates safely by being protected from over-current inherently. 
     Although in the foregoing embodiment the control circuit 10 is arranged so that the terms of compensation IVR is produced through the compensation by the integrating amplifiers 110, 111 and 112 and the multipliers 113 and 114 based on the outputs of the voltage error detection circuit 109, the present invention is not confined to this scheme, but the control circuit 10 may be arranged as shown in FIG. 6 and described in the following as the second embodiment of this invention. 
     In FIG. 6, components equal or equivalent to those shown in FIGS. 1 and 2 are referred to by the common symbols, and the DC power source 4 and drive circuit 6 are omitted for clarifying the drawing. The control circuit 20 of the second embodiment includes components indicated by reference numbers above 200, which are an AC sinusoidal reference voltage generator 201, a command value I C  *=ωCpE cos ωt generator 202 which is the current reference for the capacitor and is in 90° lead phase with respect to the AC reference voltage V C  *=E sin ωt produced by 201, a clock generator 203 which provides a time base for these circuits, a voltage error detection circuit 209, a voltage control circuit 210 which produces a control signal J C , a circuit 204 which produces a feed-forward control signal I L  * for the load current based on the detected value I L  of the load current, an adder 211 which produces a sum I A  * of the above signals I C  *, J C  and I L  *, a limiter 205 which limits the inverter current command value I A  * to the inverter allowable current, a current control amplifier 206, a low-pass filter 207 which removes a ripple component in the inverter output current I A  caused by pulse width modulation, and a PWM circuit 208. 
     Next, the operation of this embodiment will be described with reference to FIG. 6. In this embodiment, the control circuit 20 includes a current control minor loop which implements the instantaneous current control and a voltage control loop having a sufficiently high response. A current command value I A  * necessary for the inverter to produce the sinusoidal AC output voltage is evaluated and the inverter output current I A  is made to follow the command value through the current control minor loop, and a sinusoidal output voltage which follows the AC reference voltage is produced. In more detail, the current control minor loop operates as follows. The inverter output current I A  is detected by a sensor 11a, which produces a current signal I A1 , and the signal is fed through the low-pass filter 207 so that it is rid of a ripple component caused by pulse width modulation to become a current signal I A2 . The error of the inverter output current I A  from current command value I A  * is amplified by the amplifier 206, which provides its output I E1  to the PWM circuit 208, and the modulation output is applied to the inverter so that it is controlled in PWM mode. A high response operation of the system is achieved by making a smaller delay and higher gain for the current control minor loop. 
     Next, the determination of the current command value I A  * and the operation of the voltage control loop will be described. The current which the inverter is to produce is the current I C  flowing through the capacitor 3 and the load current I L . Accordingly, the inverter current command value I A  * is the sum of the capacitor current command I C  * and load current command value I L  * added by the terms of compensation J C  for minimizing the voltage error. 
     The capacitor current command value ICR is calculated as follows. First, the relation between the capacitor voltage V C  and capacitor current I C  is expressed by the following formula. ##EQU3## 
     Accordingly, the current to be applied to the capacitor in order to produce a rated sinusoidal voltage is ωCpE cos ωt which advances by 90° relative to the AC reference voltage E sin ωt. By making the current control loop to follow this command value, the inverter can establish the rated voltage in a no-load condition. In this state of no-load voltage establishment, the inverter is operating with a capacitor connected in parallel to the current source, and it does not behave as a low-impedance voltage source required for a usual sinusoidal output inverter. On this account, according to this invention, the current control minor loop of the inverter is arranged so that it is highly responsive to the current demanded by the load, so that the system becomes a low-impedance voltage source seen from the load. The load demand current will have a distorted waveform including many harmonics in such a case of a rectifier load. By applying such load current waveform as a feed-forward signal so that the inverter produces the output current without delay, the current source inverter acts as an apparent sinusoidal voltage source. 
     In practice, however, the inverter operation cannot easily follow high order harmonic components above 20th order for example. And also ripple components caused by pulse width modulation will be included in the output. These high-order harmonic components are supplied from the filter capacitor Cp so that a sinusoidal output can be obtained. 
     Next, the purpose of the voltage control loop for producing the compensation value J C  and its operation will be described. The control system described above is a feedback control for the capacitor current I C  to follow the intended sinusoidal current I C  *, added by a feed-forward of the load current command value I L  *. The voltage control major loop provided outside of the minor loop has a function of system stabilization by correcting the deviation of the output voltage from the command sinusoidal voltage caused by various variations and indeterminate factors as follows. 
     (i) An output voltage deviation due to the inverter&#39;s inability to follow a too sharp variation of the load current. 
     (ii) An output voltage deviation due to the error of the current control loop caused by an abrupt change in the d.c. input voltage to the inverter. 
     (iii) A current error due to a time lag in the switching operation and inverter arm short-circuit preventive time Td. 
     The output voltage disturbance induced by these causes makes the load current distinct from its inherent wave form, and feed-forward of a detected load current will further disturb the output voltage, resulting in an unstable system. In order to stabilize the control system by correcting such an instantaneous disturbance of the output voltage, the voltage control system provides the compensation signal J C  responsively so as to maintain the sinusoidal waveform of the output voltage. 
     The sum of the three signals I C  *, I L  * and J C , which is limited below the maximum allowable current of the switching devices by being fed through the limiter, is applied as a reference to the current control minor loop, and the inverter operates stably while suppressing an excessive output current by its own quality. 
     In contrast to the analog configuration of the control systems described above, the following introduces a digital sampling control system, called here &#34;dual Dead Beat&#34; control system which is revealed in the present invention. The Dead Beat control is a generic term which denotes a finite time settlement control system. 
     FIG. 7 shows the arrangement of this system. For state variables I A  and V C , an input variable V A  and an external disturbance I L , as shown in the figure, sampled state equations will be derived. Parameters used in the following are defined as follows. 
     V D  : Battery voltage, V A  : Inverter output voltage, 
     V C  : Capacitor voltage, I A  : Inverter output current, 
     I C  : Capacitor current, I L  : Load current, V A  *(k): Inverter voltage command value, V C  (k): Capacitor voltage detected value, I A  (k): Inverter output current detected value, I L  (k): Load current detected value, L s  : Output filter reactor, 
     C P  : Output filter capacitor 
     First, the circuit equations are given as: ##EQU4## 
     The equations (1) can be expressed in the form of matrix as follows. ##EQU5## 
     By the replacement using the following equation (3), equation (2) is expressed by the block diagram shown in FIG. 8. 
     
         x(t)=A&#39;x(t)+B&#39;u(t)+F&#39;w(t)                                  (3) 
    
     where x denotes state variables, u denotes an input variable, w denotes an external disturbance and   denotes a unit matrix. 
     Next, with the assumptions of V A  (t)=V A  (kT) and I L  (t)=I L  (kT) between time interval kT≦t≦(k+1)T (where T is a discretization period), equation (3) gives a discrete status equation (4) and the block diagram becomes as shown in FIG. 9. 
     
         x(k+1)=Ax(k)+Bu(k)+Fw(k)                                   (4) 
    
     where A, B and F are expressed by equations (5), (6) and (7), respectively, in which α=1/√L s  Cp. The equations (5), (6) and (7) are introduced from publication &#34;Digital Control Systems&#34;, Chapter 4, by B. C. Kuo. ##EQU6## 
     First, the Dead Beat system for the current control minor loop is formed as follows. From equations (4) to (7), the inverter output current is expressed by the following equation. 
     
         I.sub.A (k+1)=a.sub.11 I.sub.A (k)+a.sub.12 V.sub.C (k)+b.sub.1 V.sub.A (k)+f.sub.1 I.sub.L (k)                                   (8) 
    
     Placing all=A, b 1  =-a 12  =B, and f 1  =F, z-transformation of the equation results as follows. 
     
         ZI.sub.A (Z)=AI.sub.A (Z)-BV.sub.C (Z)+BV.sub.A (Z)+FI.sub.L (Z) (9) 
    
     Placing the reactor application voltage to be V&#39; A  (Z)=V A  (Z)-V C  (Z), and providing a feed-forward term (F/B)I L  (Z) so as to cancel the disturbance term FI L  (Z) caused by the load current, the Dead Beat system is formed as a proportion-integration system as shown in FIG. 10. 
     The terms pertinent to I L  (Z) cancel each other, and the loop transfer function G 0  (Z) by exclusion of these terms is given as follows. ##EQU7## In this case, the characteristic equation 1+G 0  (Z) for the closed loop system becomes as follows. 
     
         Z.sub.2 -{(G.sub.2 -G.sub.1)B+A+1}Z+(A+G.sub.2 B)=0        (11) 
    
     By making two roots of the equation equal to zero as the condition of finite settlement, G 1  =1/B and G 2  =-A/B are obtained. 
     By inverse Z-transformation for the control system shown in FIG. 10 and by addition of the capacitor voltage component, a sampled-data current control system is formed, with the result shown in FIG. 11. 
     Next, the voltage control system is formed with the assumption that the inverter and output filter reactor in combination act as an ideal current source, as shown in FIG. 12. 
     A predicted value I L  *(k) used here is obtained by quadratic prediction (4) shown in the block diagram of FIG. 13. The second order prediction is the method in which load current values I L  at three time points, t=kT S , t=(k-1)T S  and t=(k-2)T S , are used to assume a quadratic curve and load current values in the future, e.g., t=(k+1)T S  and t=(k+2)T S , are predicted on the curve. 
     Based on FIG. 12, the circuit equation is derived to as follows. ##EQU8## Assuming I L  * to be nearly equal to I L  equation (13) is reduced to as follows. ##EQU9## Making equation (14) discrete with time T results in the following equation. ##EQU10## By placing the error of the capacitor voltage with respect to the reference value to be E VC  (k)=V C  (k)-V C  *(k-1), equation (15) is reduced to (16). ##EQU11## Accordingly, based on V C  *(k)=V C  *(k-1)+(T/Cp)I C  *(k), equation (16) is reduced to as follows. ##EQU12## Through Z-transformation of equation (17), the following equation results. ##EQU13## 
     Forming the voltage control system as a proportional control system as shown in FIG. 14, the value of G 3  for attaining a finite settlement is obtained. The voltage control system has its loop transfer function G 0  (Z) as follows. ##EQU14## Then, by making zero the root of the characteristic equation of the loop transfer function, G 3  =C p  /T is obtained. Furthermore, through the inverse Z-transformation for the control system of FIG. 14, a sampled-data voltage control system shown in FIG. 15 can be obtained. 
     The primary feature of this method is the provision of a voltage control system outside of a current control system to form a dual Dead Beat control system. Because of a high response operation realized by Dead Beat control for the voltage control system, voltage deviations induced by the causes which have been itemized in (i)-(iii) can be corrected promptly and a stable control system is realized. 
     Actually to realize Dead Beat control as mentioned above, necessary computing time for the above explained control becomes a problem, because the inverter can not generate an output pulse, before the computing of each sampling time is completed. So, if necessary computing time is T C , sampling time T S  of more than 10 times T C  is usually adopted to get high utilization of inverter pulse width. In case of above mentioned Dead Beat control, usually the computing time T C  of 100 to 300 μs is necessary. And if the computing time T C  of 100 μs is supposed, the sampling time T S  becomes around 1 ms. Then PWM switching frequency can not be raised above 1 kHz. To overcome this problem, a special new method of compensation of computing time is introduced as explained below. 
     To compensate for the effect of computing time, a double period of sampling time T S  is adopted for step T of Dead Beat control as explained below. At first, referring to FIG. 16 the step number of sampling, m is used to distinguish from k of discretization of Dead Beat control. Now at t=m·T S , prediction of load current I L  *(m) at t=(m+1)T S  is derived using I L  (m-2), I L  (m-1), I L  (m) by second order prediction method. And this value is used as an approximate prediction of load current at t=(m+2)T S . Then calculation of the Dead Beat control is started to get the necessary inverter voltage to bring the load current which is I L  (m) at t=m·T S , to I L  *(m) at t=(m+2)T S . For this calculation, the microprocessor spends time T 1  as shown in FIG. 16. Then during t=mT S  to t=(m+1)T S , the result of former calculation V A  (m) is given to the PWM circuit. 
     Suppose the result V AO  (m) of above calculation is as the line X 1  -X 2  in FIG. 16, then it becomes clear that V A  (m) was short as shown by area S A . Then to compensate this shortage, V A  (m+1) which equalizes area S B  to S A , is calculated as V A  (m+1)=2 V AO  (m)-V A  (m) and given to the PWM circuit during next T S . 
     In above explanation, capacitor C p  is considered to be separated from the load 5, as shown in FIG. 6. But as an another embodiment that capacitor can be thought as one part of load 5, and then in this case, the block 202 for capacitor current command is eliminated and inverter current I A , that is the output of sensor 11a is given as the feedforward signal instead of load current I L , that is the output of sensor 11b. Even in this case, the same construction of the current minor loop can be adopted. That is, in the procedure to construct current minor loop, Cp is considered explicitly as from equation (1) to equation (11). 
     A specific circuit for carrying out the digital sampling control as shown in FIG. 17, comprises a microprocessor system 230 which implements the calculation of the foregoing Dead Beat control, a crystal oscillator 231 as a time base, a counter circuit-A 232 which performs 512 counts, a counter circuit-B 233 which performs 130 counts, sample hold circuits 234, 235 and 236 which sample and hold the voltage Vc, currents I A  and I L  respectively, a multiplexer 237, an analog-digital (A/D) converter 238, a flip-flop circuit 239, and a comparator 240. The microprocessor system 230 is composed of a single-chip microprocessor 230A, a crystal oscillator 230B, a latch circuit 230C, a ROM 230D, inverters 230E and 230I, a resistor 230F, a switch 230G, and a Power ON Reset circuit 230H. 
     
                       TABLE______________________________________Name                  Number______________________________________microprocessor        230Acrystal oscillator    230Blatch circuit         230Cread only memory      230Dcrystal oscillator    231counter circuit-A     232counter circuit-B     233sample hold           234-236circuitsmultiplexer           237A-D converter         238flip-flop circuit     239comparator            240______________________________________ 
    
     Operation of the control circuit in the above constitution will be described. The single-chip microprocessor 230A acts using the crystal oscillator 230B as the system clock connected to the X1 terminal. The latch circuit 230C is connected to the port terminal PD7-0 of the address data bus of the microprocessor 230A, and latches the lower 8 bits of the address in response to a signal of the ALE terminal. The terminal PF5-0 of the port F outputs the upper 6 bits of the address, and when the address is 0000H-1FFFH the ROM 230D is accessed. The control program is stored in the ROM 230D, and data is read in the single-chip microprocessor 230A in response to a signal of the RD terminal. The switch 230G is a switch of start/stop operation of the inverters and connected to the pull-up resistor 230F, and the joint is connected to the terminal PB4 of the microprocessor 230A. The Power ON Reset circuit 230H is inputted to the RESET terminal, and resets the single-chip microprocessor 230A when the control power source is turned on. 
     The counter circuit-A 232 performs the frequency dividing of the output from the crystal oscillator 231 as the time base, and generates a sawtooth wave signal, which is the reference value of the pulse width modulation, and an interrupt signal to determine the sampling time. The interrupt signal is inputted to the interrupt terminal INT1 of the single-chip microprocessor 230A, and execution of the control program is started by the interrupt signal. The counter circuit-B 233 receives output of the counter-A 232 and further reduces the frequency, and produces the time reference for the sinusoidal wave voltage reference and inputs it as signal of 8 bits to the terminal PA7-0 of the port A of the single-chip microprocessor 230A. The counter circuit-A 232 is composed of program counters 232A, 232B and 232C, and the counter circuit-B 233 is composed of program counters 233A and 233B. In these counter circuits, in order to generate the sinusoidal wave output voltage of 60 Hz, the time base of 3.9936 MHz outputted from the crystal oscillator 231 is frequency-divided by 512 in the counter circuit-A 232, and is further frequency-divided by 130 in the counter circuit-B 233. Since the interrupt signal corresponds to the frequency dividing of the sawtooth wave signal by 2, the sinusoidal wave output voltage of 60 Hz is controlled by the carrier frequency 15.6 kHz and the sampling frequency 7.8 kHz. That is, since the period of the PWM is 64 μs, being a half of the sampling period 128 μs, it is outputted twice in the same pulse width. This is effected so that the carrier frequency is made higher than audio frequency. 
     The voltage V c , the currents I A  and I L  required for the waveform control are taken by the sample hold circuits 234-236. In order to take signals of the same time, the same signal as the interrupt signal inputted to the interrupt terminal INT 1  is supplied commonly to all sample hold circuits 234-236. These sample hold circuits 234-236 act so that value at a moment of the interrupt signal is held during the 1/2 sampled time and sample during the residual 1/2 sampling time. Analog signals held in the sample hold circuits 234-236 are selected by the multiplexer 237 and converted into digital signals by the A-D converter 238. Action of the multiplexer 237 and the A-D converter 238 is controlled by the terminals PB0-PB3 of the port B of the single-chip microprocessor 230A. For example, if the address of the A-D converter 238 is 200H, the single-chip microprocessor 230A selects a chip by signal from the terminal PF5 through the inverter 230E, and analog signal is read in the A-D converter 238 by signal from the terminal RD. The inverter output voltage command being a calculation result of the single-chip microprocessor 230A is supplied from the terminal PC7-0 of the port C to the latch circuit 239 every sampling time, and compared with the sawtooth wave of counter A by the comparator 240; thereby the PWM signal is obtained. 
     Next, the execution process of the control program will be described referring to flow charts of FIGS. 18A, 18B. 
     First, when the control power source is turned on, the microprocessor 230A is reset by the RESET terminal. And then, as shown in FIG. 18A, the microprocessor 230A executes the initialized program and sets the port (ST1). Next, discrimination is performed regarding whether or not the switch 230G is at state of inverter start (ST2). If the switch 230G is at the start state, the microprocessor 230A allows the interrupt receiving (ST3), and the process becomes the interrupt waiting state (ST4). Since the calculation of the Dead Beat control is carried out per interrupt of 7.8 kHz, the operation time of the microprocessor 230A must be 1/7.8 (kHz)=128.2 (μsec) or less. Consequently, maximum values of the processing time and the accumulation time per each block are shown at the lateral side of the flow chart of the interrupt program shown in FIG. 18B. The values are the calculation time when μPD7810 is used at the system clock of 15 MHz. The microprocessor 230A executes the calculation of steps ST5-ST12 as hereinafter described at a maximum of 126 μsec. 
     The calculation process of the interrupt program will now be described according to the flow chart of FIG. 18B. 
     ST5--When the switch 230G is at the state of inverter OPERATION, program flow goes to ST6 and the inverter starts operation or continues operation. When the switch 230G is at the state of inverter STOP, the program flow jumps to RESET and, the initialized program, shown in FIG. 18A, is executed, and the inverter stops operating. 
     ST6--The voltage V C , the currents I A  and I L  are read from the A-D converter 238. 
     ST7--The load current is predicted. 
     ST8--The voltage control loop is calculated, and the current command value I A  * is created. 
     ST9--The current command value I A  * is limited by the limiter. 
     ST10--The current control loop is calculated, and the inverter output voltage command value V A  is created. 
     ST11--The dead time of operation is compensated. 
     ST12--The inverter output voltage command value V A  is limited by the limiter, and divided by the DC voltage and outputted as the duty command value to the PWM circuit. 
     After ST12, flow goes to ST4, and waits for INT1 signal from counter A. The above explanation from ST5 to ST4 is program flow of one sampling interval. If switch 230G is changed to STOP position during the above sampling interval, program flow jumps to RESET when flow comes to ST5, and the inverter stops operating. 
     In the above calculation, in order to reduce the processing time, process of calculating the control gain by multiplication may be performed only by referring to the DATA-TABLE where the control gain is previously calculated by multiplication, and therefore the actual calculation need not be performed. Also the division by the DC voltage in ST12 may be performed only by reading the DATA-TABLE so as to avoid the time-consuming calculation. 
     FIG. 19 shows a set of waveforms at various portions of the system based on the foregoing principle in which the inverter is combined with a capactior-input rectifier load. The distortion of the output voltage is less than 5% for the rectifier load which is the inverter rated kW multiplied by 0.8. A simulation proved that the quality of distortion can be further improved by making the sampling period below 100 μs. 
     Although the embodiment shown in FIG. 6 uses a current sensor 11b to detect load current I L , this current sensor can be eliminated by adopting a direct load current detection algorithm as follows. 
     From FIG. 7, load current I L  can be expressed by equation (20). ##EQU15## Then, load current I L  can be calculated as the difference of inverter current I A  and capacitor current I C . And also capacitor current I C  can be estimated from differential calculus of the capacitor voltage V C  multiplied by constant capacitor value C p . 
     Thus load current can be estimated indirectly without load current sensor 11b. 
     Although the embodiments have been described for the case of a single-phase inverter, this concept of controlling a PWM inverter is also applicable to a three-phase inverter using a similar control circuit for each phase and providing a three-phase AC reference voltage. 
     Although in the above embodiments, the current control minor loop has been described for the cases of the triangular wave comparison system and digital finite-time settling control system, other methods such as the hysteresis comparator system can of course be employed. 
     Although the above description has been dedicated to a voltage-type inverter, the present invention can also be applied to an inverter-cycloconverter system in which, as shown in FIG. 20 as the third embodiment of this invention, a high-frequency inverter 300 has its output through a transformer 303 controlled by a cycloconverter 301 to an arbitrary frequency and it is fed through a filter 302 for shaping to become a sinusoidal waveform before being supplied to a load. 
     Although in the above description the &#34;capacitor voltage&#34; has been used as the control object, other terms such as &#34;the output line voltage&#34; can also be used. 
     As described above, the inventive control circuit is designed to produce a current command value for a converter to produce a sinusoidal output voltage and to implement instantaneous-value control so that the converted output current follows the current command, with resultant effectiveness including a satisfactory accuracy and transient response of the converted output voltage, a smaller distortion in the output voltage against a harmonic load current, and ensured over-current protection for the switching devices by the current control minor loop against an inrush current or short-circuitting in the load. Specifically, a harmonic load current is controlled on a feed-forward basis, instead of a voltage error feedback correction, whereby production of an accurate voltage and waveform can be accomplished.