Multi-loop control of UPS inverter with a plug-in odd ...profdoc.um.ac.ir/articles/a/1062103.pdf ·...

11
Research article Multi-loop control of UPS inverter with a plug-in odd-harmonic repetitive controller Reza Razi, Mohammad-Sadegh Karbasforooshan, Mohammad Monfared n Department of Electrical Engineering, Faculty of Engineering, Ferdowsi University of Mashhad, Mashhad, Iran article info Article history: Received 17 December 2015 Received in revised form 25 June 2016 Accepted 16 January 2017 Available online 26 January 2017 Keywords: Multi-loop control Plug-in odd-harmonic repetitive control UPS inverter abstract This paper proposes an improved multi-loop control scheme for the single-phase uninterruptible power supply (UPS) inverter by using a plug-in odd-harmonic repetitive controller to regulate the output voltage. In the suggested control method, the output voltage and the lter capacitor current are used as the outer and inner loop feedback signals, respectively and the instantaneous value of the reference voltage feedforwarded to the output of the controller. Instead of conventional linear (proportional-in- tegral/-resonant) and conventional repetitive controllers, a plug-in odd-harmonic repetitive controller is employed in the outer loop to regulate the output voltage, which occupies less memory space and offers faster tracking performance compared to the conventional one. Also, a simple proportional controller is used in the inner loop for active damping of possible resonances and improving the transient perfor- mance. The feedforward of the converter reference voltage enhances the robust performance of the system and simplies the system modelling and the controller design. A step-by-step design procedure is presented for the proposed controller, which guarantees stability of the system under worst-case sce- narios. Simulation and experimental results validate the excellent steady-state and transient perfor- mance of the proposed control scheme and provide the exact comparison of the proposed method with the conventional multi-loop control method. & 2017 ISA. Published by Elsevier Ltd. All rights reserved. 1. Introduction There are many reasons for ever increasing attention to re- newable energy sources and distributed generation (DG) systems in electric industry, such as diversication to energy sources, sustainable development and energy safety. The recent advances, show the high potential of renewable energy sources as a sus- tainable alternative to the conventional electric power supplies, especially in providing electricity to remote areas or sensitive loads. Usually, in these systems, the generated power is DC and to be connected to a load with desired amplitude and frequency, a converter is needed. In fact, an uninterruptible power supply (UPS) inverter is used to regulate the generated energy, which acts as a controlled-voltage source in the stand-alone operation [1]. Commonly, a UPS inverter is connected to the AC load via an LC smoothing lter to attenuate the switching noises. It should be noted that this type of lters offer improved performance and higher efciency than the simple L-type lters for UPS inverters. Up to now, different control schemes are presented for UPS inverters in literature [2,3]. These schemes can be classied into three main categories: repetitive controllers, nonlinear controllers, such as sliding-mode and articial neural networks and in- stantaneous model-based feedback controllers, usually multi-loop structures. While the repetitive controller (RC) can effectively reject peri- odic disturbances with minimum dependence on system para- meters, but low dynamic performance, requirement of a high memory space and weak performance in response to non-periodic disturbances are known as main limitations of this method [48]. Nonlinear controllers offer the benets of an excellent dynamic performance, with no observable overshoots in the output voltage waveforms, at the expense of increased complexity, sensitivity to parameter mismatches and steady-state errors [914]. The multi-loop model-based instantaneous feedback con- trollers provide an appropriate dynamic performance as well as a limited steady-state error. On the other hand, the performance depends on the system parameters and due to the limited loop gain at the AC frequency, the steady-state error cannot be com- pletely eliminated [1517]. In this paper, the combination of multi-loop and repetitive controllers is proposed in order to integrate the advantages of the above methods. Therefore, a method for efcient control of the UPS inverter with minimum distortion and error from reference Contents lists available at ScienceDirect journal homepage: www.elsevier.com/locate/isatrans ISA Transactions http://dx.doi.org/10.1016/j.isatra.2017.01.019 0019-0578/& 2017 ISA. Published by Elsevier Ltd. All rights reserved. n Corresponding author. E-mail addresses: [email protected] (R. Razi), [email protected] (M.-S. Karbasforooshan), [email protected] (M. Monfared). ISA Transactions 67 (2017) 496506

Transcript of Multi-loop control of UPS inverter with a plug-in odd ...profdoc.um.ac.ir/articles/a/1062103.pdf ·...

Page 1: Multi-loop control of UPS inverter with a plug-in odd ...profdoc.um.ac.ir/articles/a/1062103.pdf · Also, a simple proportional controller is used in the inner loop for active damping

ISA Transactions 67 (2017) 496–506

Contents lists available at ScienceDirect

ISA Transactions

http://d0019-05

n CorrE-m

sadegh.m.monf

journal homepage: www.elsevier.com/locate/isatrans

Research article

Multi-loop control of UPS inverter with a plug-in odd-harmonicrepetitive controller

Reza Razi, Mohammad-Sadegh Karbasforooshan, Mohammad Monfared n

Department of Electrical Engineering, Faculty of Engineering, Ferdowsi University of Mashhad, Mashhad, Iran

a r t i c l e i n f o

Article history:Received 17 December 2015Received in revised form25 June 2016Accepted 16 January 2017Available online 26 January 2017

Keywords:Multi-loop controlPlug-in odd-harmonic repetitive controlUPS inverter

x.doi.org/10.1016/j.isatra.2017.01.01978/& 2017 ISA. Published by Elsevier Ltd. All

esponding author.ail addresses: [email protected] (R. Razi),[email protected] (M.-S. [email protected] (M. Monfared).

a b s t r a c t

This paper proposes an improved multi-loop control scheme for the single-phase uninterruptible powersupply (UPS) inverter by using a plug-in odd-harmonic repetitive controller to regulate the outputvoltage. In the suggested control method, the output voltage and the filter capacitor current are used asthe outer and inner loop feedback signals, respectively and the instantaneous value of the referencevoltage feedforwarded to the output of the controller. Instead of conventional linear (proportional-in-tegral/-resonant) and conventional repetitive controllers, a plug-in odd-harmonic repetitive controller isemployed in the outer loop to regulate the output voltage, which occupies less memory space and offersfaster tracking performance compared to the conventional one. Also, a simple proportional controller isused in the inner loop for active damping of possible resonances and improving the transient perfor-mance. The feedforward of the converter reference voltage enhances the robust performance of thesystem and simplifies the system modelling and the controller design. A step-by-step design procedure ispresented for the proposed controller, which guarantees stability of the system under worst-case sce-narios. Simulation and experimental results validate the excellent steady-state and transient perfor-mance of the proposed control scheme and provide the exact comparison of the proposed method withthe conventional multi-loop control method.

& 2017 ISA. Published by Elsevier Ltd. All rights reserved.

1. Introduction

There are many reasons for ever increasing attention to re-newable energy sources and distributed generation (DG) systemsin electric industry, such as diversification to energy sources,sustainable development and energy safety. The recent advances,show the high potential of renewable energy sources as a sus-tainable alternative to the conventional electric power supplies,especially in providing electricity to remote areas or sensitiveloads. Usually, in these systems, the generated power is DC and tobe connected to a load with desired amplitude and frequency, aconverter is needed. In fact, an uninterruptible power supply (UPS)inverter is used to regulate the generated energy, which acts as acontrolled-voltage source in the stand-alone operation [1].

Commonly, a UPS inverter is connected to the AC load via an LCsmoothing filter to attenuate the switching noises. It should benoted that this type of filters offer improved performance andhigher efficiency than the simple L-type filters for UPS inverters.

Up to now, different control schemes are presented for UPS

rights reserved.

rooshan),

inverters in literature [2,3]. These schemes can be classified intothree main categories: repetitive controllers, nonlinear controllers,such as sliding-mode and artificial neural networks and in-stantaneous model-based feedback controllers, usually multi-loopstructures.

While the repetitive controller (RC) can effectively reject peri-odic disturbances with minimum dependence on system para-meters, but low dynamic performance, requirement of a highmemory space and weak performance in response to non-periodicdisturbances are known as main limitations of this method [4–8].

Nonlinear controllers offer the benefits of an excellent dynamicperformance, with no observable overshoots in the output voltagewaveforms, at the expense of increased complexity, sensitivity toparameter mismatches and steady-state errors [9–14].

The multi-loop model-based instantaneous feedback con-trollers provide an appropriate dynamic performance as well as alimited steady-state error. On the other hand, the performancedepends on the system parameters and due to the limited loopgain at the AC frequency, the steady-state error cannot be com-pletely eliminated [15–17].

In this paper, the combination of multi-loop and repetitivecontrollers is proposed in order to integrate the advantages of theabove methods. Therefore, a method for efficient control of theUPS inverter with minimum distortion and error from reference

Page 2: Multi-loop control of UPS inverter with a plug-in odd ...profdoc.um.ac.ir/articles/a/1062103.pdf · Also, a simple proportional controller is used in the inner loop for active damping

Table 1System parameters.

Parameter Symbol Value

Filter inductance L 2 mHFilter capacitance C 25 mFESR of the inductance rL 0.2 ΩDC-link voltage Vdc 200 VFundamental frequency f 50 HzSwitching/sampling frequency fs 10 kHzNominal power Pn 500 W

Fig. 2. Single-phase UPS inverter model.

R. Razi et al. / ISA Transactions 67 (2017) 496–506 497

voltage can be obtained. Also, with respect to limitations and largememory requirements of the conventional repetitive controller, inthis work, the odd-harmonic repetitive controller (OHRC) isadopted to our problem, which occupies less memory space andoffers faster tracking performance while keeping the perfect dis-turbance rejection of the repetitive controller [18].

The suggested control scheme uses two variables as feedbacksignals. The output voltage in the outer control loop is regulatedwith the plug-in OHRC and the capacitor current is controlled inthe inner loop through a simple proportional controller to achieveactive resonance damping and perfect load disturbance rejection.Moreover, a feedforward compensation of the reference voltage isused, which decreases the control effort, improves the perfor-mance of the multi-loop controller and simplifies the systemmodelling and the controller design. As a practical solution, theinverter and the load currents are directly measured, which arerequired for protection purposes. Therefore, the filter capacitorcurrent, which is the inner loop feedback variable, is calculated bythe Kirchhoff's current law from the two other currents, to reducethe number of sensors.

Mathematical model of the UPS inverter is analyzed in Section2. In Section 3, the proposed control structure and a step-by-stepcontroller parameter design procedure are presented, whichguarantees stability of the system under worst-case scenarios. Fi-nally, simulation and experimental tests of the system are con-ducted to confirm the effectiveness of the proposed method.

2. System modeling

The power stage of a single-phase UPS inverter with output LCfilter is shown in Fig. 1. If an appropriate capacity for the dc-linkfilter is selected, then the power source can be assumed as aconstant voltage. The system parameters are listed in Table 1. Withrespect to Fig. 1, the equations of the system dynamic can be ex-tracted as

= + + ( )v r i Ldidt

v 1L LL

O

= + ( )i i Cdvdt 2L O

O

where v, vO, iL and iO are the output voltage of the inverter, theload voltage, the filter (converter) current and the load current,respectively. Based on (1) and (2) and assuming a high switchingfrequency, (more than twenty times the fundamental frequency,)the UPS inverter averaged model is depicted in Fig. 2.

Fig. 1. Power stage of a single-phase UPS inverter.

3. Control scheme of UPS inverter

3.1. Proposed control structure

The multi-loop control structure generally consists of nested op-eration of the output voltage and the inverter, capacitor or the outputcurrent regulation loops. In this method, the outer loop follows thereference signal to remove the steady-state error, while the inner loopguarantees the stability over a wide range of operating conditions, afast dynamic response and the necessary damping to the resonance inthe output LC filter. Indeed, the ideal LC filter has a high tendency toresonate with the switching harmonics [1,3,16]. There are either ac-tive or passive damping solutions to tackle this problem. In the pas-sive damping, a damping resistor is used in the filter circuit, whichincreases the losses; therefore this solution is rarely used, especially inhigh power applications [19]. On the other hand, the active dampingmethods are proposed to ensure stability and at the same time avoidadditional losses. As a common solution, the multi-loop activedamping adds a virtual resistor to the control system by using anextra control loop.

The multi-loop control may use any system current as the controlvariable of the inner loop: inverter current, filter capacitor current oroutput current, among which the filter capacitor current is moreadvantageous [20]. In fact, it is already shown that the feedback of thefilter capacitor current offers better disturbance rejection capability,while its scale is smaller than the other currents [20]. Meanwhile, itshould be noted that this selection adds an extra current sensor to theconverter circuit. In practice, both inverter and output currents mustbe directly measured for the purpose of overcurrent protection. In thispaper and in order to reduce the number of sensors, the filter capa-citor current, which is the inner loop feedback variable, is calculatedby the Kirchhoff's current law from the two other currents, which arealready measured.

Fig. 3 shows the proposed multi-loop control scheme. Evidentlythe outer feedback loop uses a plug-in repetitive controller and theinner loop for the filter capacitor current regulation is a simpleproportional controller. A feedforward of the output voltage,which for the sake of simplicity can be assumed equal to its re-ference, is also included to reduce the control effort, especiallyat the start-up and enhance the system robustness. In fact, asimple proportional controller needs a high proportional gain toreduce the steady-state error, but the voltage-feedforward path inthe proposed control scheme solves this problem and reduces therequired control effort [1]. Also, as it will be seen, this feedforwardsimplifies the system modelling and the controller design.

Page 3: Multi-loop control of UPS inverter with a plug-in odd ...profdoc.um.ac.ir/articles/a/1062103.pdf · Also, a simple proportional controller is used in the inner loop for active damping

Fig. 3. Proposed multi-loop control scheme for the UPS inverter.

Fig. 4. UPS inverter with the inner current control loop.

Fig. 6. Bode plots of the CRC and OHRC.

R. Razi et al. / ISA Transactions 67 (2017) 496–506498

3.2. Current control loop design

The closed loop transfer function of the UPS inverter with theinner current control loop, from Fig. 4, can be obtained as

( ) = =+ ( ( + ) + ) + ( )

G si

iZCK s

ZCLs ZC r K L s r 3i

C

C ref

i

L i L,2

where Z and Ki are the load impedance and the proportionalcontroller gain, respectively. The gain of the PWM modulator(KPWM) is assumed unity. In this work, Ki is determined accordingto the decided bandwidth for the current control loop. Thebandwidth of the current control loop must be enough bellow theswitching frequency to protect the controller from the switchingnoises. Therefore, considering the current controller bandwidthequal to one-tenth of the switching frequency (ωbi¼2π(0.1� fs)¼6.28 krad/s), one can simply evaluate the transfer function at thebandwidth frequency, i.e. |Gi(jωbi)|2¼1/2. Consequently the gain ofthe controller is calculated as 25. It should be noted that this valueis obtained for the nominal or maximum loading condition, be-cause in this situation, the smallest bandwidth is expected amongall possible loading conditions. So, the bandwidth will never be-come less than the desired value under any circumstances [1,21].

3.3. Voltage control loop design

In the next step, the plug-in repetitive controller of the outerloop should be designed properly. Fig. 5 shows the simplified blockdiagram of the proposed control scheme, where e is the voltagetracking error, and the Gi(s) is shown in Eq. (3).

The main idea behind the repetitive controller is a simple delayline in the feedback or the feedforward path that generates infinitepoles and as a result, infinite tuned resonant filters.

The Bode plots of the conventional repetitive controller (CRC)and the OHRC are shown in Fig. 6. Clearly, the CRC has an infinite

Fig. 5. Voltage control loop.

set of resonant filters in all multiples of the fundamental fre-quency. Contrary, the OHRC, which is adopted in this work, onlyhas resonant filters at the odd multiples of the fundamental fre-quency, which are the dominant harmonics in practical applica-tions of single-phase UPS inverters. So, it seems that both CRC andOHRC methods can achieve a very good tracking of the funda-mental voltage and disturbance rejection at dominant harmonics,which result in a low THD of the output voltage, however thenumber of memory cells occupied by the OHRC, as well as therequired calculations, is nearly half of the CRC. It will be shownthat the settling time of the OHRC is nearly half of the CRC, thanksto the much reduced calculation and memory requirements.

The structure of the plug-in OHRC is shown in Fig. 7, for whichthe following transfer function is derived [14]

( )( )( )

= + ( )( )

c ze z

K G z14v rc

Fig. 7. Structure of the plug-in OHRC.

Page 4: Multi-loop control of UPS inverter with a plug-in odd ...profdoc.um.ac.ir/articles/a/1062103.pdf · Also, a simple proportional controller is used in the inner loop for active damping

Fig. 8. Phase compensation of OHRC for different values of M.

Fig. 9. The spectrum of harmonics ratio of the system without the repetitivecontroller.

Fig. 10. The closed-loop Bode diagrams of current control loop.

Fig. 11. The closed-loop Bode diagrams of voltage control loop without the re-petitive controller.

R. Razi et al. / ISA Transactions 67 (2017) 496–506 499

where Kv is the conventional proportional controller that ensuresfast dynamics of the system [22], and the transfer function of theOHRC is

( ) = − ( )+ ( )

( )( )

−G z K

Q z zQ z z

G z1 5

rc rc

N

N f

/2

/2

where Krc is the repetitive controller gain, Q(z) is a low-pass filterto remove high frequency disturbances (|Q(jω)|-1 at low fre-quencies and |Q(jω)|-0 at high frequencies), Gf(z) is a phasecompensation filter to achieve zero-phase characteristic and sta-bilize the closed-loop system, and N is the number of samples perone cycle of the output voltage (N¼ fs/f ¼200).

The filter Gf(z) is usually selected as zM/H(z) to compensate thephase lag due to the repetitive controller and unmodeled delays ofthe system, whereM is determined based on the experiments [18].Fig. 8 shows the compensated phase of the OHRC for differentvalues of M (M∈{0, 1, 2, …, 10}). According to this figure, it is ob-vious that a small value, such as M¼2 or M¼3 is enough for thephase compensation. However, in order to choose the appropriatevalue of M in practice, several experiments with different values ofKrc ([0 2]) and M (M∈{0, 1, 2, …, 10}) was performed and the re-sponse of the system in the steady-state and transient conditionswas analyzed. In practice and due to the disturbances and un-certainties, M47 provides the nearly optimum system response.So, M is chosen to be 8.

Also, H(z) is the transfer function of the closed-loop systemwithout the repetitive controller. In our formulation, H(z) can bewritten as

( ) =( ) ( )

+ ( ) ( ) ( )H z

K G z G zK G z G z1 6

v i p

v i p

where Gp(z) is the filter capacitor transfer function (Gp(s)¼1/(Cs)).From Figs. 5 and 7, the transfer function of vo,ref to vo can be

readily derived as

( )( )

( )( )

=( + ( )) ( ) ( )

+ ( + ( )) ( ) ( )

=+ ( ) − ( ) ( ) ( )

+ ( ) − ( ) ( ) ( )

− −

v zv z

K G z G z G zK G z G z G z

Q z z K Q z z G z H z

Q z z K G z H z

11 1

1

1 1 7

o

o ref

v rc i p

v rc i p

Nrc

Nf

Nrc f

,

/2 /2

/2

and the error transfer function of vo,ref to e is

( )

( ) = ( )( )

=+ ( + ( )) ( ) ( )

=+ ( ) ( )

× + ( )+ ( ) − ( ) ( ) ( )

G ze z

v z G z G z G z

K G z G zQ z z

Q z z K G z H z

11 1

11

11 1 8

eo ref rc i p

v i p

N

Nrc f

,

/2

/2

The error transfer function (Eq. (8) has a maximum value,which is recommended to be in a range already defined by (9)[18].

≤ ( ) ≤ ( )ωG e1.5 3 9e

jmax

From (6) to (9), the stability of the overall closed-loop system ofFig. 5 is satisfied if firstly, the roots of 1þKvGi(z)Gp(z)¼0 are insidethe unit circle, and secondly [7]

‖ − ( ) ( )‖ < ≤( ) ( )

k G z H zQ z

1 11

10rc f

The first criteria satisfies that the closed-loop system H(z) orequivalently H(s) is stable. Therefore, the transfer function H(s)will be obtained and its stability will be analyzed. The closed-looptransfer function of the system in s-domain without the repetitive

Page 5: Multi-loop control of UPS inverter with a plug-in odd ...profdoc.um.ac.ir/articles/a/1062103.pdf · Also, a simple proportional controller is used in the inner loop for active damping

Fig. 12. Simulated output voltage and current (a) in the steady-state under nominal resistive load (b) in response to the step fall of the reference voltage amplitude (c) in thesteady-state under highly nonlinear load.

R. Razi et al. / ISA Transactions 67 (2017) 496–506500

controller can be obtained as

( ) =+ ( ( + ) + ) + ( + ) ( )

H sZK K

ZCLs ZC r K L s ZK K r 11v i

L i v i L2

The H(s) has a second order denominator and stability condi-tion is trivial. The poles of H(s), based on the converter parameters

and designed controller gains, are located at

( )=−( ( + ) + ) ± ( ( + ) + ) − ( + )

12pZC r K L ZC r K L ZCL ZK K r

ZCL4

2.L i L i v i L

1,2

2

Page 6: Multi-loop control of UPS inverter with a plug-in odd ...profdoc.um.ac.ir/articles/a/1062103.pdf · Also, a simple proportional controller is used in the inner loop for active damping

Fig. 13. Nonlinear load.

Fig. 14. Steady-state waveforms and output voltage harmonic spectrum under the nominCH2 is the output current.

R. Razi et al. / ISA Transactions 67 (2017) 496–506 501

Then, the second stability condition must be evaluated for ourproblem. By substituting Gf(z) with zM/H(z), (10) becomes

‖ − ( ) ( )‖ = −( )

( ) = ‖ − ‖ <( )

k G z H z kz

H zH z k z1 1 1 1

13rc f rc

M

rcM

where z¼ejω

( )ω ω

ω

‖ − ‖ = ‖ − ( ) − ( )‖

= − ( ) + < ( )

ωk e k M jk M

k k M

1 1 cos sin

2 cos 1 1 14

rcjM

rc rc

rc rc2

and the result is

al resistive load of (a) OHRC (b) CRC (c) PR controller: CH1 is the output voltage and

Page 7: Multi-loop control of UPS inverter with a plug-in odd ...profdoc.um.ac.ir/articles/a/1062103.pdf · Also, a simple proportional controller is used in the inner loop for active damping

Fig. 15. Steady-state waveforms and output voltage harmonic spectrum under a highly nonlinear load of (a) OHRC (b) CRC (c) PR controller: CH1 is the output voltage andCH2 is the output current.

R. Razi et al. / ISA Transactions 67 (2017) 496–506502

ω< ( ) ( )k M2 cos 15rc

which imposes that the gain Krc must lie in the range [0 2], whichin this work is selected to be 0.5.

The low pass filter Q(z) is chosen to be a 5th-order Bessel filterin this work. Bessel filter has a linear phase response and an ex-cellent transient performance. This means that it produces aconstant delay with respect to frequency, which can be simplycompensated. The 5th-order Bessel filter transfer function is

( ) =+ + + + + ( )

Q ss b s b s b s b s b

1165

44

33

22

1 0

In order to determine the cut-off frequency of Q(s), the dis-tribution of the harmonics magnitudes of the output voltage overthe frequency is determined. For this purpose, the harmonic ratiois defined as [18]

( ) =∑∑ ( )

=

=

f jM

M 17ij

i

in

i

0

0

where f(j) is the jth-order harmonic ratio, Mi is the magnituderatio between the ith-order harmonic (i¼0, 2, 3,…) and the fun-damental component. The spectrum of the harmonics ratio of thesystem without the repetitive controller is shown in Fig. 9. From

Page 8: Multi-loop control of UPS inverter with a plug-in odd ...profdoc.um.ac.ir/articles/a/1062103.pdf · Also, a simple proportional controller is used in the inner loop for active damping

Fig. 16. Transient waveforms in response to 50% step fall of the reference voltage amplitude for (a) OHRC (b) CRC (c) PR controller: CH1 is the output voltage and CH2 is theoutput current.

R. Razi et al. / ISA Transactions 67 (2017) 496–506 503

this figure, we can see that about 90% of the harmonics are in therange 0–1000 Hz (20th order). Therefore, the cut-off frequency ofQ(s) is selected as 1000 Hz. It is a good tradeoff between systemtracking accuracy and system robustness. The coefficients of thefilter are: b0¼1, b1¼0.0006, b2¼1.74�10�7, b3¼2.73�10–11 andb4¼2.44�10–15.

To derivation of Gf(z) requires the calculation of H(z). By usingthe Tustin approximation method, (11) is discretized as

( ) = + ++ + ( )

H za z a z aa z a z a 18

12

2 3

42

5 6

where

a1¼a3¼a2/2¼ZKvKiTs2,

a4¼(4Lþ2Ts(rLþKi))ZCþ2TsLþ(ZKvKiþrL)Ts2,a5¼� 8ZCL�2(ZKvKiþrL)Ts2, anda6¼(4L�2Ts(rLþKi))ZC�2TsLþ(ZKvKiþrL)Ts2.

The gain Kv is determined according to the decided bandwidthfor the voltage control loop without the repetitive controller. Inthis work, the outer loop bandwidth is chosen to be 750 Hz, whichis in the middle of the range of ten times the fundamental fre-quency and one-tenth the switching frequency, i.e.

⎛⎝⎜

⎞⎠⎟ω π= + =

( )krad s2

1000 5002

4.71 /19

bv

By solving |H(jωbv)|2¼1/2, the Kv is calculated to be about 0.125.It must be noted that Kv is determined under the no-load condi-tion, which translates to the worst stability condition.

Also, the Bode diagrams of the current and voltage controlloops are shown in Figs. 10 and 11. The controller bandwidth isassessed for both loops in these figures. Apparently, the decidedbandwidths are exactly achieved. Also Fig. 10 shows how suc-cessfully the inner current control loop can eliminate the resonantpeak and increase the converter stability. Therefore, these twoplots confirm the effectiveness of the control design procedure.

4. Performance evaluation

4.1. Simulation results

The single-phase UPS inverter with parameters of Table 1 issimulated in MATLAB/Simulink environment. For the sake ofcomparison, the conventional multi-loop control, where the plug-in OHRC is replaced by a PR controller is also simulated. Theproportional and resonant gains of the PR controller are calculated

Page 9: Multi-loop control of UPS inverter with a plug-in odd ...profdoc.um.ac.ir/articles/a/1062103.pdf · Also, a simple proportional controller is used in the inner loop for active damping

Fig. 17. Transient waveforms in response to no-load to nominal resistive load step change for (a) OHRC (b) CRC (c) PR controller: CH1 is the output voltage and CH2 is theoutput current.

R. Razi et al. / ISA Transactions 67 (2017) 496–506504

according to the directions of [1], as 0.15 and 30, respectively. Thecomparative performance analysis is conducted under differentoperating conditions.

In the first experiment, the output waveforms and error ofcontrol with the nominal resistive load are depicted in Fig. 12(a).The output voltage with both control methods is a perfect sinu-soidal waveform with a negligible THD value when the load isresistive. The tracking error of the multi-loop control is limited to1.9% and 2.1% for the OHRC and the PR controllers, respectively.

Fig. 12(b) compares the transient performance in response to astep change of the reference voltage amplitude. Evidently, theOHRC presents a faster response; however, for both controllers thetransient quickly diminishes and the voltage error during the veryshort transient interval is negligible. The excellent transient per-formance is a result of the proper determination of the controllerparameters.

Finally, the performance of the controllers under a highlynonlinear load is analyzed. The nonlinear load, shown in Fig. 13,consists of a diode rectifier bridge feeding an RC circuit through asmall resistor. The values of R1, R2 and C are 2Ω, 15Ω and6800 uF, respectively. This nonlinear load is designed according tothe requirements of IEC 62040-3 standard (Annex E) [23]. Theoutput voltage and current waveforms are shown in Fig. 12(c). Ascan be seen, while the load current is highly distorted, the voltage

waveform remains sinusoidal. In this case, the proposed controlleroffers a better performance than the PR controller in terms of thevoltage THD. Indeed, the output voltage THD under a highly non-linear load is almost reduced by half for the proposed controllercompared to the PR one. Therefore, the main differences betweenthe proposed and the conventional controllers are in transientperformance and under nonlinear loading conditions.

4.2. Experimental results

The excellent performance of the suggested control scheme isalso confirmed through experiments on a laboratory test rig. Theexperimental parameters are the same as the simulations. Thecontrol algorithm is implemented on a TMS320F28335 floating-point digital signal controller from Texas Instruments.

For more clarification, the experimental results of comparisonbetween the proposed controller (OHRC) and the PR and the CRCcontroller are presented.

The steady-state output voltage and current under the nominalresistive load are shown in Fig. 14(a), (b) and (c) for the proposedcontroller (OHRC), the CRC and the PR controller, respectively.Also, the harmonic spectrums of the output voltage are shown.The THD values of the output voltage in this test are 2%, 1.9% and2.5% for the OHRC, the CRC and the PR controller, respectively.

Page 10: Multi-loop control of UPS inverter with a plug-in odd ...profdoc.um.ac.ir/articles/a/1062103.pdf · Also, a simple proportional controller is used in the inner loop for active damping

Fig. 18. Transient waveforms in response to zero power startup command for (a) OHRC (b) CRC (c) PR controller: CH1 is the output voltage and CH2 is the output current.

Table 2Controllers performance comparisons.

Controlmethod

THD (lin-ear load)

THD (non-linear load)

Convergence time(voltage amplitudestep change)

Convergencetime (startup)

OHRC 2% 4% about 0.4 ms about 1 msCRC 1.9% 3.9% about 0.8 ms about 55 msPR 2.5% 8.9% about 2 ms about 165 ms

R. Razi et al. / ISA Transactions 67 (2017) 496–506 505

Indeed, the experimental and simulation results are in goodagreement, from different aspects, such as the trend of harmonicspectrums.

In the second experiment, the steady-state performance underthe nonlinear load of Fig. 13 is reported in Fig. 15. Fig. 15(a), (b) and(c) show the results for the OHRC, the CRC and the PR controller,respectively. While the THD value of the output current is about50%, the THD of the output voltage for three controllers are 4%,3.9% and 8.9%. It should be noted that according to the IEC 62040-3standard and for this type of loading condition, the voltage THD isrequired to be less than 8%. Therefore, the PR controller does notsatisfy this standard in term of the output voltage THD.

Indeed, in the steady-state experiments, we can find out thatthe output results of the OHRC and the CRC are excellent and theTHD value of the output voltage is less than 5%, while the result of

the PR controller is not satisfactory (especially in the case ofnonlinear load).

It should be noted that the simulation and experimental resultsmay differ in some details. However, there are several reasons fordifferences of the THD values and other performance indices be-tween the simulations and experiments, the main being: the DCvoltage ripples, sensor circuit non-idealities, switching rise/falltimes, dead-time distortions, nonlinear characteristic of the filterinductor and circuit parasitic elements in the practical im-plementation [24].

In the next experiment, the dynamic performance is exploredby examining the transient response of the converter system to a50% step fall of the reference voltage amplitude. The results, areshown in Fig. 16(a), (b) and (c) for the OHRC, the CRC and the PRcontroller, respectively. Fig. 16(a) confirms the excellent trackingperformance of the output voltage waveform for the proposedcontroller, while the responses for the CRC and the PR controllerare slower than the OHRC and after a small time, the responsereaches its steady-state value.

In another experiment, Fig. 17 shows the converter transientwaveforms in response to no-load to nominal resistive load stepchange. Evidently, the output voltage waveform of the proposedcontroller is not affected at the event of load connection. The re-sults of this test for the CRC and the PR controller are acceptable,

Page 11: Multi-loop control of UPS inverter with a plug-in odd ...profdoc.um.ac.ir/articles/a/1062103.pdf · Also, a simple proportional controller is used in the inner loop for active damping

R. Razi et al. / ISA Transactions 67 (2017) 496–506506

however a small dip can be distinguished in the voltage waveform,which is more evident for the PR controlled converter.

As the final experiment, the startup transient behavior of thesystem is reported in Fig. 18. In this test, the proposed controllerdemonstrates the best performance, but the performance of theCRC is not satisfactory and a small oscillation occurs around thevoltage negative peak. The worst case in this test corresponds tothe PR controller, for which the start-up output voltage is in sa-turation and the output voltage waveform is square.

Table 2 compares the steady-state and transient performanceof the OHRC, the CRC and the PR controllers. This table confirmsthe accurate and fast performance of the proposed controllercompared to the two other controllers. It should be noted thatalthough the THD value of the CRC in the steady-state is almostclose to the OHRC, but the memory space occupied by the CRC andthe required calculations is much higher than the OHRC (in somecases, it may be a challenge for successfully executing the controlalgorithm in one sampling period).

5. Conclusion

In this paper, a new multi-loop control scheme for the UPSinverter with a plug-in OHRC is proposed and the control para-meters are exactly determined by a step-by-step design procedurein the frequency domain. The excellent performance of the pro-posed control scheme in providing sinusoidal voltages, even underhighly non-linear loads and offering a fast and smooth transientresponse is confirmed through simulations in the MATLAB/Simu-link environment and experiments on a laboratory setup.

References

[1] Monfared M, Golestan S, Guerrero JM. Analysis, design, and experimentalverification of a synchronous reference frame voltage control for single-phaseinverters. IEEE Trans Ind Electron 2014;61(1):258–69.

[2] Kukrer O, Komurcugil H, Bayindir NS. Control strategy for single-phase UPSinverters. IEE Proc Electron Power Appl 2003;150(6):743–6.

[3] Deng H, Oruganti R, Srinivasan D. A simple control method for high-perfor-mance UPS inverters through output-impedance reduction. IEEE Trans IndElectron 2008;55(2):888–98.

[4] Jiang S, Cao D, Li Y, Liu J, Peng FZ. Low-THD, fast-transient, and cost-effectivesynchronous-frame repetitive controller for three-phase UPS inverters. IEEETrans Power Electron 2012;27(6):2994–3005.

[5] Escobar G, Valdez AA, Leyva-Ramos J, Mattavelli P. Repetitive-based controllerfor a UPS inverter to compensate unbalance and harmonic distortion. IEEETrans Ind Electron 2007;54(1):504–10.

[6] Zhang K, Kang Y, Xiong J, Chen J. Direct repetitive control of SPWM inverter forUPS purpose. IEEE Trans Power Electron 2003;18(3):784–92.

[7] Zhou K, Wang D. Digital repetitive learning controller for three-phase CVCFPWM inverter. IEEE Trans Ind Electron 2001;48(4):820–30.

[8] Chen W, Zhang W. Optimality based repetitive controller design for track-following servo system of optical disk drives. ISA Trans 2009;48(4):434–8.

[9] Islam G, Muyeen SM, Al-Durra A, Hasanien HM. RTDS implementation of animproved sliding mode based inverter controller for PV system. ISA Trans2015:1–10.

[10] Komurcugil H. Rotating-sliding-line-based sliding-mode control for single-phase UPS inverters. IEEE Trans Ind Electron 2012;59(10):3719–26.

[11] Kukrer O, Komurcugil H, Doganalp A. A three-level hysteresis function ap-proach to the sliding-mode control of single-phase UPS inverters. IEEE TransInd Electron 2009;56(9):3477–86.

[12] Menadi A, Abdeddaim S, Ghamri A, Betka A. Implementation of fuzzy-slidingmode based control of a grid connected photovoltaic system. ISA Trans2015;58:586–94.

[13] Kessal A, Rahmani L. Analysis and design of sliding mode controller gains forboost power factor corrector. ISA Trans 2013;52(5):638–43.

[14] Sun X, Chow MHL, Leung FHF, Xu D, Wang Y, Lee YS. Analogue implementa-tion of a neural network controller for UPS inverter applications. IEEE TransPower Electron 2002;17(3):305–13.

[15] Ahmed KH, Massoud AM, Finney SJ, Williams BW. Sensorless current controlof three-phase inverter-based distribution generation. IEEE Trans Power Del2009;24(2):919–29.

[16] Lei Q, Peng FZ, Yang S. Multiloop control method for high-performance mi-crogrid inverter through load voltage and current decoupling with only outputvoltage feedback. IEEE Trans Power Electron 2011;26(3):953–60.

[17] Willmann G, Coutinho DF, Pereira LFA, Libano FB. Multiple-loop H-infinitycontrol design for uninterruptible power supplies. IEEE Trans Ind Electron2007;54(3):1591–602.

[18] Lu W, Zhou K, Wang D, Cheng M. A generic digital nk7m-Order harmonicrepetitive control scheme for PWM converters. IEEE Trans Ind Electron2014;61(3):1516–27.

[19] Ryan MJ, Brumsickle WE, Lorenz RD. Control topology option for single-phaseUPS inverters. IEEE Trans Ind Appl 1997;33(2):493–501.

[20] Loh PC, Newman MJ, Zmood DN, Holmes DG. A comparative analysis ofmultiloop voltage regulation strategies for single and three-phase UPS sys-tems. IEEE Trans Power Electron 2003;18(5):1176–85.

[21] Razi R, Monfared M. Simple control scheme for single-phase uninterruptiblepower supply inverters with Kalman filter-based estimation of the outputvoltage. IET Power Electron 2015;8(9):1817–24.

[22] Jiang S, Cao D, Li Y, Peng FZ. Grid-connected boost-half-bridge photovoltaicmicroinverter system using repetitive current control and maximum powerpoint tracking. IEEE Trans Power Electron 2012;27(11):4711–22.

[23] Uninterruptible power systems (UPS)–Part 3: method of specifying the per-formance and test requirements, Second Edition 2011-03. InternationalStandard IEC 62040-3.

[24] Karbasforooshan M-S, Monfared M, Dogruel M. Application of the harmoniccontrol arrays technique to single-phase stand-alone inverters. IET PowerElectron 2016;9(7):1445–53.