Open access

Hysteresis Voltage Control of DVR Based on Unipolar PWM

Written By

Hadi Ezoji, Abdol Reza Sheikhaleslami, Masood Shahverdi, Arash Ghatresamani and Mohamad Hosein Alborzi

Submitted: 03 November 2010 Published: 09 September 2011

DOI: 10.5772/19534

From the Edited Volume

Applications of MATLAB in Science and Engineering

Edited by Tadeusz Michałowski

Chapter metrics overview

6,869 Chapter Downloads

View Full Metrics

1. Introduction

Power quality problems like voltage sag, voltage swell and harmonic are major concern of the industrial and commercial electrical consumers due to enormous loss in terms of time and money. This is due to the Advent of a large numbers of sophisticated electrical and electronic equipment, such as computers, programmable logic controllers, variable speed drives, and so forth. The use of these equipments often requires power supplies of very high quality.

Some special equipment is sensitive to voltage disturbances, especially if these take up to several periods, the circuit does not work. Therefore, these adverse effects of voltage changes necessitate the existence of effective mitigating devices. There are various solutions to these problems. One of the most effective solutions is the installation of a dynamic voltage restorer (DVR).

Figure 1.

Schematic diagram of a typical DVR.

DVR is the one of the custom power devices, which has excellent dynamic capabilities. It is well suited to protect sensitive loads from short duration voltage sag or swell. DVR is basically a controlled voltage source installed between the supply and a sensitive load. It injects a voltage on the system in order to compensate any disturbance affecting the load voltage. Basic operating principle of a DVR as shown in Fig. 1.

Voltage sag/swell that occurs more frequently than any other power quality phenomenon is known as the most important power quality problems in the power distribution systems.

Voltage sag is defined as a sudden reduction of supply voltage down 90% to 10% of nominal. According to the standard, a typical duration of sag is from l0 ms to 1 minute. On the other hand, Voltage swell is defined as a sudden increasing of supply voltage up 1l0% to 180% in rms voltage at the network fundamental frequency with duration from 10 ms to 1 minute.

Voltage sag/swell often caused by faults such as single line-to-ground fault, double line-to-ground fault on the power distribution system or due to starting of large induction motors or energizing a large capacitor bank. Voltage sag/swell can interrupt or lead to malfunction of any electric equipment which is sensitive to voltage variations.

IEEE 519-1992 and IEEE 1159-1995 describe the Voltage sags /swells as shown in Fig.2.

Figure 2.

Voltage Reduction Standard of IEEE Std. 1159-1995.


2. DVR power circuit

The power circuit of the DVR is shown in Fig.1. The DVR consists of mainly a three-phase Voltage-Sourced Converter (VSC), a coupling transformer, passive filter and a control system to regulate the output voltage of VSC:

2.1. Voltage source converter (VSC)

A voltage-source converter is a power electronic device, which can generate a sinusoidal voltage with any required magnitude, frequency and phase angle. This converter injects a dynamically controlled voltage in series with the supply voltage through three single-phase transformers to correct the load voltage. It consists of Insulated Gate Bipolar Transistors (IGBT) as switches. The switching pulses of the IGBT are the output from the hysteresis voltage controller.

2.2. Coupling transformer

Basic function is to step up and electrical isolation the ac low voltage supplied by the VSC to the required voltage. In this study single-phase injection transformer is used. For three phases DVR, three single phase injection transformers can be used.

2.3. A Passive filter

A Passive filter consists of a capacitor that is placed at the high voltage side of coupling transformer. This filter rejects the switching harmonic components from the injected voltage.

2.4. Control system

The aim of the control scheme is to maintain a balanced and constant load voltage at the nominal value under system disturbances. In this chapter, control system is based on hysteresis voltage control.


3. Conventional control strategies

Several control techniques have been proposed for voltage sag compensation such as pre-sag method, in-phase method and minimal energy control.

3.1. Pre-sag compensation technique

In this compensation technique, the DVR supplies the difference between the sagged and pre-sag voltage and restores the voltage magnitude and the phase angle to the nominal pre sag condition.

The main defect of this technique is it requires a higher capacity energy storage device. Fig.3 (a) shows the phasor diagram for the pre-sag control strategy.

In this diagram, Vpre-sag and VSag are voltage at the point of common coupling (PCC), respectively before and during the sag. In this case VDVR is the voltage injected by the DVR, which can be obtained as:

|Vinj| = |Vpresag|  |VSag|E1
θinj=tan1(Vpre-sag sin(θpre-sag )Vpre-sag cos(θpre-sag )VSagcos(θSag))E2

3.2. In-phase compensation technique

In this technique, only the voltage magnitude is compensated. VDVR is in-phase with the left hand side voltage of DVR. This method minimizes the voltage injected by the DVR, unlike in the pre-sag compensation. Fig. 3 (b) shows phase diagram for the in-phase compensation technique

VDVR= Vinj|Vinj| = |Vpresag|  |VSag|Vinj=θinj=θSE3

3.3. Energy optimization technique

Pre-sag compensation and in-phase compensation must inject active power to loads almost all the time. Due to the limit of energy storage capacity of DC link, the DVR restoration time and performance are confined in these methods. The fundamental idea of energy optimization method is to make injection active power zero. In order to minimize the use of real power the voltages are injected at 90° phase angle to the supply current. Fig. 3 (c) shows a phasor diagram to describe the Energy optimization Control method.

The selection of one of these strategies influences the design of the parameters of DVR. In this chapter, the control strategy adopted is Pre-sag compensation to maintain load voltage to pre-fault value.

Figure 3.

Conventional control strategies. (a) Pre-sag compensation technique, (b) In-phase compensation technique, (c) Energy optimized compensation technique.

This chapter presents a hysteresis voltage control technique based on unipolar PWM to improve the quality of output voltage. The hysteresis voltage control of DVR has not been studied in our knowledge. The proposed method is validated through modeling in MATLAB SIMULINK.

This is chapter organized as follows: in next section, the power circuit of DVR is described briefly. Then we introduce conventional strategies for control. In next section, we state about control of the DVR and present our method to this end. Finally, experimental results are presented.


4. Control of the DVR

4.1. Detection of sag / swell in the supply voltage

The main stages of the control system of a DVR are as follows: detection of the start and finish of the sag, voltage reference generation, injection voltage generation, and protection of the system.

In Ref [9], several detection techniques have been analyzed and compared. In this chapter, monitoring of Vd and Vq is used to return the magnitude and phase load voltage to the magnitude and phase reference load voltage. The control system is presented in Fig. 4.

The three-phase supply voltage is connected to a transformation block that convert to rotating frame (d q) with using a software based Phase – Lock Loop (PLL). Three-phase voltage is transformed by using Park transform, from a-b-c to o-d-q frame:


Figure 4.

Control structure of DVR

If voltage sag/swell occurs, the detection block generates the reference load voltage. The sag detection strategy is based on Root Means Square (rms) for the error vector which can be used for symmetrical and non symmetrical sags with any associated phase jump. Load voltage feedback is also added, and it is implemented in the odq frame to minimize any steady state error in the fundamental component.

The injected voltage is also generated according to difference between the reference load voltage and supply voltage and it is applied to the VSC to produce the preferred voltage using hysteresis voltage control.

4.2. Hysteresis voltage control

In this chapter, Hysteresis Band Voltage control is used to control load voltage and determine switching signals for inverter switches.

There are bands above and under the reference voltage. If the difference between the reference and inverter voltage reaches to the upper (lower) limit, the voltage is forced to decrease (increase) as shown in Fig.4.

In this method, the following relation is applied Where HB and fc are Hysteresis band and switching frequency, respectively.

T1+ T2 = Tc =1/fcE6

Fig. 5 shows a single phase diagram of a full bridge inverter that is connected in series with a sensitive load. The inverter can be controlled in unipolar or bipolar PWM methods.

Figure 5.

Hysteresis band voltage control.

The HB that has inverse proportional relation with switching frequency is defined as the difference between VH and VL (HB=VH-VL) [19-20].

In present chapter, for pulse switching generation for DVR, random hysteresis voltage control is analyzed. The biopolar modulation is base of this analyze.

In bipolar switching scheme, as shown in Fig.6, there are two bands and the controller turns on and turns off the switch pairs (S1, S3 or S2, S4) at the same time to generate +Vdc or -Vdc at the output of inverter.

Figure 6.

Single phase full bridge inverter

Figure 7.

Bipolar hysteresis voltage control (a) out put voltage with lower and higher bands (b) switching signals.


5. Proposed method

We are now in position to introduce our proposed method named Hysteresis voltage control based on unipolar switching Technique as shown in Fig 8.

In the unipolar modulation, four voltage bands are used to achieve proper switching states to control the load voltage.

The first upper and lower bands (HB1) are used when the output current is changed between (+Vdc & 0) or (-Vdc or 0) and the second upper and lower bands (HB2) are used to change the current level Fig 8(a).

There are four switching states for switches (S1, S2) and (S3, S4) as shown in Fig.8(b) As a result, three levels are generated +Vdc, -Vdc or 0 at the output of inverter. In comparison with other PWM methods, the hysteresis voltage control has a variable switching frequency, very fast response and simple operation [13].

The switching functions of both B and C phases are determined similarly using corresponding reference and measured voltage band (HB) [13].

Figure 8.

Unipolar hysteresis voltage control (a) out put voltage with lower and higher bands (b) switching signals


6. Simulation results

The proposed method is validated by simulation results of MATLAB. Simulation parameters are shown in table 1. DVR with unioplar voltage control is applied to compensate load voltage. In order to demonstrate the performance of the DVR using unioplar switchin technique to control, a Simulink diagram is proposed as shown in Fig.8.

To have a fair comparison, in this simulation it has been considered same situation as mentioned in Ref [12].

Supply voltage (VL-L)415V
Vdc ,CFl20V, 500uF
Series Transformer(VPh-Ph)96V / 240V
ZTrans0.004 + j 0.008
RLoad, LLoad31.84 Ω, 0.139 H

Table 1.

Case study parameters

Figure 9.

Simulation model of DVR in MATLAB.

A. Voltage sags

In the first case, we assume that there is a 30% three-phase voltage sag with +30 phase jump in phase-a in supply voltage that is initiated at 0.1s and it is kept until 1.8 s. The results for HB1=0.005 and HB2=0.007 are shown in Fig.10.

Fig. 10 (b) and (c) show the series of voltage components injected by the DVR and compensated load voltage, respectively.

Figure 10.

Simulation result of DVR response to a balance voltage sag (HB1=0.005, HB2=0.007).

B. Voltage swell

In the second case, performance of DVR for a voltage swell condition is investigated. Here, a voltage swell with 30% three-phase voltage swell with +30 phase jump in phase-a starts at 0.1s and ends at 1.8 s is considered. The injected voltage that is produced by DVR in order to correct the load voltage and the load voltage for HB1=0.005 and HB2=0.007 are shown in Fig. 11. (b) and (c),respectively.

To evaluate the quality of the load voltage during the operation of DVR, Total Harmonic Distortion (THD) is calculated with various HB.

Table 1 shows the obtained results for each HB1 and HB2.

Table 2 summarizes the THD values for the constant HB1 and various HB2.

For further study on the control scheme performance, the results obtained in Table 2, 3 is plotted in Fig. 12 and Fig.13.

Figure 11.

Simulation result of DVR response to a Balance voltage Swell (HB1=0.005, HB2=0.007).

Figure 12.

Increase of THD with various HB1 and HB2.

Figure 13.

Increase of THD with constant HB1 and various HB2.

Hysteresis BandTHD (%)

Table 2.

THD for Load voltage for various values of HB1 and HB2.

Hysteresis BandTHD (%)

Table 3.

THD for Load voltage for the constant values HB1 and various values HB2 for 30% voltage sag and swell.

As it can be seen, with growth of the HB1and HB2, THD of the load voltage correspondingly raises but the effect of increasing the HB on THD of the load voltage under voltage swell is more than THD of the voltage sag. It is obvious that the THD value varies when ever HB1 and HB2 value vary or when HB1 is contented and HB2 value varies. But THD of the load voltage under the voltage swell is greater than the voltage sag case. Therefore HB value has to be selected based on the voltage sag test.

With comparison of the obtained results in this chapter and Ref [12] in the voltage sag case, it can be observed that calculated THD in unipolar control is lower than bipolar control. In the other word, quality voltage in unipolar control is more than bipolar control. Fig 13.

Figure 14.

Comparison of the in unipolar control and bipolar control.

This chapter introduces a hysteresis voltage control technique based on unipolar Pulse Width Modulation (PWM) For Dynamic Voltage Restorer to improve the quality of load voltage. The validity of recommended method is testified by results of the simulation in MATLAB SIMULINK.

To evaluate the quality of the load voltage during the operation of DVR, THD is calculated. The simulation result shows that increasing the HB, in swell condition THD of the load voltage is more than this THD amount in sag condition. The HB value can be found through the voltage sag test procedure by try and error.


  1. 1. BoonchiamP.Mithulananthan.“N.Mithulananthan.“Dynamic Control Strategy in Medium Voltage DVR for Mitigating Voltage Sags/Swells” 2006International Conference on Power System Technology.
  2. 2. BanaeiM. R.HosseiniS. H.S.Khanmohamadi a and G.B. Gharehpetian 2005Verification of a new energy control strategy for dynamic voltage restorer by simulation”. Elsevier, Received 17 March 2004accepted 7 March 2005 Available online 29 April. 113125
  3. 3. Paisan Boonchiaml Promsak Apiratikull and Nadarajah Mithulananthan2.Detailed Analysis of Load Voltage Compensation for Dynamic Voltage Restorers” Record of the 2006IEEE Conference.
  4. 4. Kasuni Perera, Daniel Salomonsson, Arulampalam Atputharajah and Sanath Alahakoon.Automated Control Technique for a Single Phase Dynamic Voltage Restorer” 6368Conference ICIA, 2006IEEE.
  5. 5. 2002HannanM. A.MohamedA.Modeling“.analysisof. a.24 -pulsedynamic.voltagerestorer.ina.distributionsystem”.ResearchDevelopmentpp.SCOReD 2002, student conference on16-17 July 2002.
  6. 6. 2005ChristophMeyer.ChristophRomaus.RikW.De Doncker“.Optimized Control Strategy for a Medium-Voltage DVR” 18871993Record of the IEEE Conference.
  7. 7. John Godsk Nielsen, Frede Blaabjerg and Ned Mohan “Control Strategies for Dynamic Voltage Restorer Compensating Voltage Sags with Phase Jump”.Record of the 2005IEEE Conference. 12671273
  8. 8. KimH.Minimal energy control for a dynamic voltage restorer” in: Proceedings of PCC Conference, IEEE 20022Osaka (JP), 428433
  9. 9. Chris Fitzer, Mike Barnes, and Peter Green.” Voltage Sag Detection Technique for a Dynamic Voltage Restorer” IEEE Transactions on industry applications, VOL.1january/february 2004203212
  10. 10. John Godsk Nielsen, Michael Newman, Hans Nielsen, and Frede Blaabjerg.“ Control and Testing of a Dynamic Voltage Restorer (DVR) at Medium Voltage Level” pp.806-813.IEEE Transactions on power electronics 193MAY 2004
  11. 11. Bharat Singh Rajpurohit and Sri Niwas Singh.” Performance Evaluation of Current Control Algorithms Used for Active Power Filters”.25702575EUROCON 2007The International Conference on “Computer as a Tool” Warsaw, September 9-12.
  12. 12. Fawzi AL Jowder.Modeling and Simulation of Dynamic Vltage Restorer (DVR) Based on Hysteresis Vltage Control”. 17261731The 33rd Annual Conference of the IEEE Industrial Electronics Society (IECON) Nov. 5-8, 2007Taipei, Taiwan..
  13. 13. Firuz Zare and Alireza Nami.”A New Random Current Control Technique for a Single-Phase Inverter with Bipolar and Unipolar Modulations.149156Record of the IEEE 2007

Written By

Hadi Ezoji, Abdol Reza Sheikhaleslami, Masood Shahverdi, Arash Ghatresamani and Mohamad Hosein Alborzi

Submitted: 03 November 2010 Published: 09 September 2011