• No results found

Control of a Dynamic Voltage Restorer to compensate single phase voltage sags

N/A
N/A
Protected

Academic year: 2021

Share "Control of a Dynamic Voltage Restorer to compensate single phase voltage sags"

Copied!
118
0
0

Loading.... (view fulltext now)

Full text

(1)

Control of a Dynamic Voltage Restorer to

compensate single phase voltage sags

M.V.Kasuni Perera

Master of Science Thesis

(2)

I would like to express my sincere appreciation to my local supervisors, Dr. Sanath Alahakoon and Dr. Atputharajah Arulampalam of Electrical and Electronic Engineering Department of University of Peradeniya, Sri Lanka for their guidance and support provided during the period of my Master thesis project and also for the constructive comments they made by reviewing final manuscript of the report.

Further would like to express my sincere appreciation to Dr. Arulampalam Atputharajah for his persistence in keeping me on the schedule. Also would like to thank Professor Mehrdad Ghandhari at Department of Electrical Engineering at KTH, Sweden for allowing me to do my master thesis project in my own country and Dr. Sanath Alahakoon who coordinated it from Sri Lanka end.

Also I wish to thank the supervisors at KTH, Department of Electrical Engineering, Professor Mehrdad Ghandhari and Mr. Daniel Salomonsson for their guidance and valuable suggestions send to me to improve the quality of the master thesis report.

The author gratefully acknowledges the support given by Department of Electrical & Electronic Engineering, University of Peradeniya Sri Lanka. And also for the Post Graduate Institute of the same Department for permitting me to carry out my Master thesis research.

Thanks are due to President’s Fund of Sri Lanka, who has granted me with a Scholarship to complete the Masters Degree in Electrical Engineering. Finally I would like to thank all my colleagues both in Sweden & Sri Lanka, my parents for their continuous encouragement.

(3)

Quality of the output power delivered from the utilities has become a major concern of the modern industries for the last decade. These power quality associated problems are voltage sag, surge, flicker, voltage imbalance, interruptions and harmonic problems. These power quality issues may cause problems to the industries ranging from malfunctioning of equipments to complete plant shut downs. Those power quality problems affect the microprocessor based loads, process equipments, sensitive electric components which are highly sensitive to voltage level fluctuations.

It has been identified that power quality can be degraded both due to utility side abnormalities as well as the customer side abnormalities. To overcome the problems caused by customer side abnormalities so called custom power devices are connected closer to the load end.

One such reliable customer power device used to address the voltage sag, swell problem is the Dynamic Voltage Restorer (DVR). It is a series connected custom power device, which is considered to be a cost effective alternative when compared with other commercially available voltage sag compensation devices.

The main function of the DVR is to monitor the load voltage waveform constantly and if any sag or surge occurs, the balance (or excess) voltage is injected to (or absorbed from) the load voltage. To achieve the above functionality a reference voltage waveform has to be created which is similar in magnitude and phase angle to that of the supply voltage. Thereby during any abnormality of the voltage waveform it can be detected by comparing the reference and the actual voltage waveforms.

(4)

Acknowledgement ………. i

Abstract ………. ii

Contents ………. iii

List of abbreviations ………. v

List of tables and figures ………. vi

Chapter 1 Introduction ………. 1

Chapter 2 Literature Review 2.1 Power quality related problems in the distribution network …… 5

2.2 Structure of the DVR ……… 9

2.3 DVR operating states ……… 15

2.4 DVR compensation Techniques ……… 16

2.5 Control techniques used in commercially available DVRs …… 20

Chapter 3 New control technique developed for single phase voltage sags 3.1 Background ……… 28

3.2 Simplified control block diagram ……… 29

3.3 PSCAD Implementation of control circuit ……… 30

3.4 PSCAD Implementation of power circuit ……… 45

Chapter 4 Results and discussion of PECC 4.1 System 1 ……… 62

4.2 System 2 ……… 67

4.3 System 3 ……… 72

4.4 System 4 ……… 77

(5)

4.8 Analysis of simulation results during different time intervals 88

Chapter 5 Conclusion ……… 93

Chapter 6 Further developments and limitations ……… 94

References ……….. 96

(6)

DVR - Dynamic Voltage Restorer UPS - Uninterruptible Power Supplies Vs - Supply voltage (V)

Ameas - Phase angle of the supply voltage (rad)

Vref - Reference voltage (V)

Aref - Phase angle of the reference voltage (rad)

Vcontrol - Control voltage (V)

Upre-sag - Pre-sag voltage (V)

Usag - Sag voltage (V)

UDVR - Voltage injected by the DVR (V)

Iload - Load current (A)

ZCD - Zero crossing point detector Tri - Triangular waveform

Ptop - Switching signal for the top inverter leg

(7)

Table 2.1 : IEEE definitions for the voltage sags and swells Table 3.1 : Harmonic content in the normal supply voltage Table 4.2 : Different sag and load criteria

Figure 2.1 : Different types of voltage sags

Figure 2.2 : (a & b ) Basic operation of DVR (left) and APF (right) Figure 2.3 : DVR Power circuit

Figure 2.4 : Three phase Graetz bridge and its switching arrangements Figure 2.5 : NPC inverter configuration and its switching arrangement Figure 2.6 : H-bridge inverter configuration and its switching arrangement Figure 2.7 : Different filter placements

Figure 2.8 : Connection methods for the primary side of the injection transformer Figure 2.9 : Simple power system with a DVR

Figure 2.10 : Pre-sag compensation technique Figure 2.11 : In-phase compensation technique Figure 2.12 : Energy optimization technique

Figure 2.13 : Combining both pre-sag and in-phase compensation techniques Figure 2.14 : Simplified block diagram of a phase locked loop

Figure 2.15 : Block diagram of a Software Phase Locked Loop Figure 2.16 : Simplified phasor representation of SPLL

Figure 3.1 : Simplified control block diagram for the single phase DVR Figure 3.2 : Implementation method of block 1

Figure 3.3 : PSCAD implementation of block 1 Figure 3.4 : Integrator clear signal generation Figure 3.5 : Integrator clear signal

Figure 3.6 : Phase angle variation of the supply voltage Figure 3.7 : Output waveforms at different output channels Figure 3.8 : Input waveform to the resettable integrator

(8)

Figure 3.11 : additional block to obtain the angle error Figure 3.12 : Specifications of the comparator block Figure 3.13 : Angle error calculation

Figure 3.14 : User defined parameters in the PI controller Figure 3.15 : Synchronization process

Figure 3.16 : Left: Reference waveform generation & Right: Comparator specifications Figure 3.17 : Reference voltage waveform generation

Figure 3.18 : Simulation block for reference voltage waveform generation Figure 3.19 : Control voltage waveform before the voltage sag

Figure 3.19 : (bottom left) Control voltage waveform during the sag (in phase voltage sag)

Figure 3.19 : (bottom right) Control voltage waveform during the sag (voltage sag is created with a phase shift)

Figure 3.20 : Simulation block 4 Figure 3.21 : Power circuit of the DVR

Figure 3.22 : Equivalent circuit of DVR power circuit

Figure 3.23 : Equivalent circuit used for parameter estimation Figure 3.24 : Inverter leg switching signal generation

Figure 3.25 : Switching signals for inverter legs Figure 3.26 : Low pass filter configuration

Figure 3.27 : Configuration data of the voltage injection transformer Figure 3.28 : Left: Generating voltage sag for the power circuit

Right: Breaker parameters

Figure 3.29 : Equivalent circuit for the distribution line Figure 3.40 : Equivalent circuit before the voltage sag Figure 3.41 : Equivalent circuit during the voltage sag

Figure 3.42 : Supply voltage waveform with and without harmonics Figure 3.43 : PSCAD implementation of supply harmonics

Figure 4.1 : Control circuit simulation block diagram Figure 4.2 : Power circuit of the DVR

(9)

Figure 4.6 : Voltage waveforms for subsystem 1a during the sag

Figure 4.7 : Voltage waveforms for subsystem 1b during the neighborhood of sag Figure 4.8 : Voltage waveforms for subsystem 1b during the sag

Figure 4.9 : Voltage waveforms for subsystem 1b during the neighborhood of sag Figure 4.10 : Voltage waveforms for subsystem 1b during the sag

Figure 4.20 : Voltage waveforms for subsystem 2c during the sag

Figure 4.21 : Voltage waveforms for subsystem 2d during the neighborhood of sag Figure 4.22 : Voltage waveforms for subsystem 2d during the sag

Figure 4.23 : Voltage waveforms for system 3 during synchronization Figure 4.24 : Voltage waveforms for system 3 when the DVR is engaged

Figure 4.25 : Voltage waveforms for subsystem 3a during the neighborhood of sag Figure 4.26 : Voltage waveforms for subsystem 3a during the sag

Figure 4.27 : Voltage waveforms for subsystem 3b during the neighborhood of sag Figure 4.28 : Voltage waveforms for subsystem 3b during the sag

Figure 4.29 : Voltage waveforms for subsystem 3c during the neighborhood of sag Figure 4.30 : Voltage waveforms for subsystem 3c during the sag

Figure 4.31 : Voltage waveforms for subsystem 3d during the neighborhood of sag Figure 4.32 : Voltage waveforms for subsystem 3d during the sag

Figure 4.33 : Voltage waveforms for system 4 during synchronization Figure 4.34 : Voltage waveforms for system 4 when the DVR is engaged

Figure 4.35 : Voltage waveforms for subsystem 4a during the neighborhood of sag Figure 4.36 : Voltage waveforms for subsystem 4b during the sag

Figure 4.37 : Voltage waveforms for subsystem 4b during the neighborhood of sag Figure 4.38 : Voltage waveforms for subsystem 4b during the sag

Figure 4.39 : Voltage waveforms for subsystem 4c during the neighborhood of sag Figure 4.40 : Voltage waveforms for subsystem 4c during the sag

Figure 4.41 : Voltage waveforms for subsystem 4d during the neighborhood of sag Figure 4.42 : Voltage waveforms for subsystem 4d during the sag

(10)

Figure 4.49 : Voltage waveforms for subsystem 6c during the neighborhood of sag Figure 4.50 : Voltage waveforms for subsystem 6d during the neighborhood of sag Figure 4.51 : Voltage waveforms for subsystem 7a during the neighborhood of sag Figure 4.52 : Voltage waveforms for subsystem 7b during the neighborhood of sag Figure 4.53 : Voltage waveforms for subsystem 7c during the neighborhood of sag Figure 4.54 : Voltage waveforms for subsystem 7d during the neighborhood of sag Figure 4.55 : Project settings window for system 1

(11)

Chapter 1

Introduction

The technological advancements have proven a path to the modern industries to extract and develop the innovative technologies within the limits of their industries for the fulfillment of their industrial goals. And their ultimate objective is to optimize the production while minimizing the production cost and thereby achieving maximized profits while ensuring continuous production throughout the period.

As such a stable supply of un-interruptible power has to be guaranteed during the production process. The reason for demanding high quality power is basically the modern manufacturing and process equipment, which operates at high efficiency, requires high quality defect free power supply for the successful operation of their machines [1]. More precisely most of those machine components are designed to be very sensitive for the power supply variations. Adjustable speed drives, automation devices, power electronic components are examples for such equipments [2,3].

(12)

1. Voltage sags 2. Phase outages 3. Voltage interruptions

4. Transients due to Lighting loads, capacitor switching, non linear loads, etc..

5. Harmonics

As a result of above abnormalities the industries may undergo burned-out motors, lost data on volatile memories, erroneous motion of robotics, unnecessary downtime, increased maintenance costs and burning core materials especially in plastic industries, paper mills & semiconductor plants [8,11].

Among those power quality abnormalities voltage sags and surges or simply the fluctuating voltage situations are considered to be one of the most frequent type of abnormality [4,12,13,14]. Those are also identified as short term under/over voltage conditions that can last from a fraction of a cycle to few cycles [3,4,11]. Motor start up, lightning strikes, fault clearing, power factor switching are considered as the reasons for fluctuating voltage conditions[7].

As the power quality problems are originated from utility and customer side, the solutions should come from both and are named as utility based solutions and customer based solutions respectively [3]. The best examples for those two types of solutions are FACTS devices (Flexible AC Transmission Systems) and Custom power devices. FACTS devices are those controlled by the utility, whereas the Custom power devices are operated, maintained and controlled by the customer itself and installed at the customer premises [7].

(13)

commonly used custom power devices. Among those APF is used to mitigate harmonic problems occurring due to non-linear loading conditions, whereas UPS and DVR are used to compensate for voltage sag and surge conditions [1,5,12,15].

In this thesis the control of a Dynamic voltage restorer for single phase voltage sags has been studied. Voltage sag may occur from single phase to three phases. But it has been identified single phase voltage sags are the commonest and most frequent in Sri Lanka. Therefore the industries that use three phase supply will undergo several interruptions during their production process and they are compelled to use some form of voltage compensation equipment. In this research it was found that the most common voltage compensation equipment used in Sri Lanka is the UPS; though it’s considered to be an expensive alternative to move towards a full UPS system. This is the basic reason to carry out this research in that particular area and focused into single phase voltage sags.

A new control technique to detect and compensate for the single phase voltage sags was developed and simulated using the EMTDC/PSCAD software. Combination of both the pre-sag and in-phase compensation techniques was used in the above developed control to optimize the real power requirement during compensation. In the said control technique the system generates a random reference voltage waveform with the nominal voltage amplitude and the frequency with automated synchronising control. Once the DVR is connected to the system, the phase angle of this reference signal is synchronized with the supply voltage phase angle by continuously monitoring the reference phase angle using a feed back synchronsing control loop. Then by comparing this reference voltage waveform with the measured voltage waveform, any occurrence of voltage abnormalities was detected as an error. As the system detect any voltage sags as error, the power circuit in the DVR generates a voltage waveform to compensate for the voltage sag. The design of the power circuit parameters and the control circuit is discussed in the preceding chapters in detail. The simulation results show the very good performance of the controller.

(14)

cases were checked in the simulation. The simulation results show that at the normal operating conditions, the injected voltage becomes less and their affect on the load voltage due to distortion is less. Therefore this thesis has contributed a strong knowledge to the research and development targeting industrial application to compensate the single-phase voltage sags.

The basic flow of this report is as follows. Chapter 2 is about the Literature review, which will describe the basic operation, structure and the existing control techniques etc… This chapter will give the reader a general idea about the Dynamic Voltage restorer and its functionality.

Chapter 3 describes the control technique designed and developed by the author to compensate for single phase voltage sags. The designed control technique was implemented and simulated using the EMTDC/PSCAD (stands for Electromagnetic transients including DC/Power system CAD) software (Student version 4.1.0); highly recommended software for Power system simulation purposes. This chapter will give a detailed description and reasoning about the construction method of different blocks used for the simulation together with some intermediate simulation results for illustration purposes.

The simulation results were illustrated and discussed under Chapter 4. Several simulations were carried out and analyzed in detail considering all the different cases and possible combination to prove the reliability of the simulated system.

(15)

Chapter 2

Literature Review

2.1

Power quality related problems in the

distribution network

Together with the technological developments, maintaining the power quality is one of the major requirements, the electricity consumers are demanding of. The reason is modern technology demands for an un-interrupted, high quality electricity supply for the successful operation of voltage sensitive devices such as advanced control, automation, precise manufacturing techniques [16]. Power quality may be degraded due to both the transmission and the distribution side abnormalities [3,17,18].

The abnormalities in the distribution system are load switching, motor starting, load variations and non-linear loads [10]. Whereas lightning and system faults can be regarded as transmission abnormalities[19].

(16)

harmonic distortions, interruptions and flicker, which are the frequent problems associated with distribution lines [7,17].

However, failure of such custom power devices cause equipment failing, mal-operations, tripping of protective relays and ultimately plant shut downs, which results huge financial loss to the industry [20]. Therefore proper design of control and selection of the custom power device is very important.

2.1.1

Voltage sags and surges

The most frequent power quality associated problem in the distribution network is voltage sags and surges and are shown in Figure 2.1 below [2,18].

Figure 2.1: top left - Voltage sag occurs at the zero crossing point & without a phase shift

top right - Voltage surge occurs at zero crossing point & without a phase shift bottom left - Voltage sag not at the zero crossing point & without a phase shift bottom right - Voltage sag at zero crossing point with a phase shift

(17)

fault type and the location and also on the fault impedance [19]. The duration of the fault depends on the performance of the relevant protective device [3].

Further it has been found that the voltage sags with magnitude 70% of the nominal value are more common than the complete outages[35]. Sags and surges can be identified by the voltage magnitude and the time duration it prevails. IEEE 519-1992, IEEE 1159-1995 describes it as in Table 2.1 [10].

Disturbance Voltage Duration Voltage Sag 0.1 – 0.9 pu 0.5 – 30 cycle

Voltage Swell 1.1 – 1.8 pu 0.5 – 30 cycle

Table 2.1 : IEEE definitions for the voltage sags and swells

For a particular disturbance (voltage sag or swell), if the voltage and time duration it remains is within the range given in Table 2.1, the custom power devices are the optimized solution to overcome the problem and compensate for the abnormality during the time period it prevails[16].

2.1.2

Custom Power Devices

The most common custom power devices to compensate for the voltage sags and swells are the Uninterruptible Power Supplies (UPS), Dynamic Voltage Restorers (DVR) and Active Power Filters (APF) with voltage sag compensation facility. Among those the UPS is the well known. DVRs and APFs are less popular due to the fact that they are still in the developing stage, even though they are highly efficient and cost effective than UPSs [3,14,21]. But as a result of the rapid development in the power electronic industry and low cost power electronic devices will make the DVRs and APFs much popular among the industries in the near future [1,22].

(18)

changes to each other. Resistor is the best example for a linear device. The non-linear load on the other hand does not show a linear change. Capacitors and inductors are examples for non-linear devices.

(a) When the supply voltage/current consists of abnormalities, while the load is linear:

In this case the custom power device together with the defected supply should be capable of supplying a defect free voltage/current to the load. To be precise the device should be able to supply the missing voltage/current component of the source. A reliable device that can be used for the above case (for voltage abnormalities) is the DVR. It compensates for voltage sags/swells either by injecting or absorbing real and reactive power [15].

(b) Power supplied is in normal condition with a non linear load:

When non-linear loads are connected to the system, the supply current also becomes non-linear and this will cause harmonic problems in the supply waveform. In such situation to make the supply current as sinusoidal, a shunt APF is connected [8]. This APF injects/absorbs a current to make the supply current sinusoidal. Hence the supply treats both the non-linear load and the APF as a single load, which draws a fundamental sinusoidal current [23,24].

Figures 2.2a and b show the basic function of the DVR and the shunt APF.

(19)

From Figures 2.2a, b and the references [11,15,23,25] it is clear that the DVR is series connected to the power line, while APF is shunt connected.

Among the custom power devices, UPS and DVR can be considered as the devices that inject a voltage waveform to the distribution line. When comparing the UPS and DVR; the UPS is always supplying the full voltage to the load irrespective of whether the wave form is distorted or not. Consequently the UPS is always operating at its full power. Whereas the DVR injects only the difference between the pre-sag and the sagged voltage and that also only during the sagged period. Thus DVR operating losses and the required power rating are very low compared to the UPS. Hence DVR is considered as a power efficient device compared to the UPS [12,22,26].

2.2

Structure of the DVR

The DVR basically consists of a power circuit and a control circuit. Control circuit is used to derive the parameters (magnitude, frequency, phase shift, etc…) of the control signal that has to be injected by the DVR. Based on the control signal, the injected voltage is generated by the switches in the power circuit [11,27]. Further power circuit describes the basic structure of the DVR and is discussed in this section. Power circuit mainly comprising of five units as in Figure 2.3 and the function and the requirement of each unit is discussed below [1,3,11,16,28].

(20)

2.2.1

Energy Storage Unit

Energy storage device is used to supply the real power requirement for the compensation during voltage sag. Flywheels, Lead acid batteries, Superconducting magnetic energy storage (SMES) and Super-Capacitors can be used as energy storage devices [3,11,13]. For DC drives such as SMES, batteries and capacitors, ac to dc conversion devices (solid state inverters) are needed to deliver power, whereas for others, ac to ac conversion is required.

The maximum compensation ability of the DVR for particular voltage sag is dependent on the amount of the active power supplied by the energy storage devices [8,13].

Lead acid batteries are popular among the others owing to its high response during charging and discharging. But the discharge rate is dependent on the chemical reaction rate of the battery so that the available energy inside the battery is determined by its discharge rate[11,21].

2.2.2

Voltage Source Inverter

Generally Pulse-Width Modulated Voltage Source Inverter (PWMVSI) is used. The basic function of the VSI is to convert the DC voltage supplied by the energy storage device into an AC voltage. In the DVR power circuit step up voltage injection transformer is used. Thus a VSI with a low voltage rating is sufficient [21]. The common inverter connection methods for three phase DVRs are 3 phase Graetz bridge inverter, Neutral Point Clamp inverter [21] and H Bridge inverter [11] for single phase DVRs.

a) Three-phase graetz bridge

(21)

shown in Figure 2.4. This is referred to as two-level since the phase output voltage waveform consists of two output levels; +Vd and 0 Volts [11,29].

Figure 2.4 : Three phase Graetz bridge and its switching arrangements

b) Neutral Point Clamped Inverter

This Neutral Point Clamped (NPC) inverter can be used for higher voltage levels than the graetz bridge configuration. The phase output voltage waveform consists of three levels

⎠ ⎞ ⎜ ⎝ ⎛ 2 V and 0 , 2

Vdc dc Volts. The inverter configuration and the

single phase output waveforms are shown in Figure 2.5.

outpu

t

(22)

c) H bridge inverter

In the H bridge inverter, four switches are used. When it used for multilevel arrangement specially for high voltage application, it is commonly called as chain circuits. For fundamental switching each switch is on for a duty cycle of 50% and shown in Figure 2.6[29].

Figure 2.6: H-bridge inverter configuration and its switching arrangement

2.2.3

Passive filters

Low pass passive filters are used to convert the PWM inverted pulse waveform into a sinusoidal waveform. This is achieved by removing the unnecessary higher order harmonic components generated from the DC to AC conversion in the VSI, which will distort the compensated output voltage [30]. These filters can be placed either in the high voltage side (load side- shown in Figure 2.7-left) or in the low voltage side (inverter side-shown in Figure 2.7-right) of the injection transformers [3,15].

(23)

reactance of the transformer can be used as a part of the filter, which will be helpful in tuning the filter [11,15,21].

Figure 2.7: Different filter placements

2.2.4

By-pass switch

Since the DVR is a series connected device, any fault current that occurs due to a fault in the downstream will flow through the inverter circuit. The power electronic components in the inverter circuit are normally rated to the load current as they are expensive to be overrated. Therefore to protect the inverter from high currents, a by-pass switch (crowbar circuit) is incorporated to by-pass the inverter circuit [9,11].

(24)

2.2.5

Voltage injection transformers

The high voltage side of the injection transformer is connected in series to the distribution line, while the low voltage side is connected to the DVR power circuit. For a three-phase DVR, three single-phase or three-phase voltage injection transformers can be connected to the distribution line, and for single phase DVR one phase transformer is connected [21]. For the three-phase DVR the three single-phase transformers can be connected either in delta/open or star/open configuration as shown in Figure 2.8[15].

Figure 2.8: Connection methods for the primary side of the injection transformer

Left : delta/open configuration Right : Star/open configuration

The basic function of the injection transformer is to increase the voltage supplied by the filtered VSI output to the desired level while isolating the DVR circuit from the distribution network. The transformer winding ratio is pre-determined according to the voltage required in the secondary side of the transformer (generally this is kept equal to the supply voltage to allow the DVR to compensate for full voltage sag) [21]. A higher transformer winding ratio will increase the primary side current, which will adversely affect the performance of the power electronic devices connected in the VSI.

(25)

the voltage drop across the transformer. In order to reduce the saturation of the injection transformer under normal operating conditions it is designed to handle a flux which is higher than the normal maximum flux requirement [21].

The winding configuration of the injection transformer mainly depends on the upstream distribution transformer.

If the distribution transformer is connected in Δ-Y with the grounded neutral, during an unbalance fault or an earth fault in the high voltage side, there will not be any zero sequence currents flow in to the secondary. Thus the DVR needs to compensate only the positive and negative sequence components. As such, an injection transformer which allows only positive and negative sequence components is adequate [4]. Consequently the delta/open configuration can be used (shown in Figure 2.8-left). Further this winding configuration allows the maximum utilization of the DC link voltage [11,21].

For any other winding configurations (such as star/star earthed) of the distribution transformer, during an unbalance fault all three sequence components (positive, negative and zero) flow to the secondary side. Therefore the star/open configuration (Figure 2.8-right) should be used for the injection transformers, which can pass all the sequence components [11,21].

2.3

DVR operating states

2.3.1

During a voltage sag/swell on the line

(26)

case of three single-phase DVRs the magnitude of the injected voltage can be controlled individually. The injected voltages are made synchronized (i.e. same frequency and the phase angle) with the network voltages [16].

2.3.2

During the normal operation

Since the network is working under normal condition the DVR is not injecting any voltages to the system. In that case, if the energy storage device is fully charged then the DVR operates in the standby mode or otherwise it operates in the self-charging mode. The energy storage device can be charged either from the power supply itself or from a different source [11,21].

2.3.3

During a short circuit or fault in the downstream of the

distribution line

In this particular case as mentioned in section 2.2.4 the by-pass switch is activated to provide an alternate path for the fault currents. Hence the inverter is protected from the flow of high fault current through it, which can damage the sensitive power electronic components [8,16].

2.4

DVR compensation techniques

(27)

voltage magnitude, phase shift and thus the wave shape. But depending on the sensitivity of the load connected downstream, the level of compensation of the above parameters can be altered. Basically the type of load connected influences the compensation strategy. For example, for a linear load, only magnitude compensation is required as linear loads are not sensitive to phase angle changes [11,13].

Further when deciding a suitable control technique for a particular load it should be considered the limitations of the voltage injection capability (i.e. the rating of the inverter and the transformer) and the size of the energy storage device [11].

Compensation is achieved via real power and reactive power injection. Depending on the level of compensation required by the load, three types of compensation methods are defined and discussed below namely pre-sag compensation, in-phase compensation and energy optimization technique.

The circuit for a simple power system with a DVR is shown in Figure 2.9 below. The supply voltage, Load voltage, Load current and the voltage injected by the DVR are denoted by Vs , Vload , Iload and VDVR respectively.

Figure 2.9: Simple power system with a DVR

When the system is in normal condition, the supply voltage (Vs)is identified

as pre-sag voltage and denoted by Vpre-sag. In such situation since the DVR is not

injecting any voltage to the system, load voltage (Vload) and the supply voltage will be

the same.

During voltage sag, the magnitude and the phase angle of the supply voltage can be changed and it is denoted by Vsag. The DVR is in operative in this case and the voltage injected will be VDVR. If the voltage sag is fully compensated by the DVR,

(28)

2.4.1

Pre-sag compensation

This compensation strategy is recommended for the non-linear loads (e.g.: thyristor controlled drives) which needs both the voltage magnitude as well as the phase angle to be compensated. In this technique the DVR supplies the difference between the pre-sag and the sag voltage, thus restore the voltage magnitude and the phase angle to that of the pre-sag value. Figure 2.9 below describes the pre-sag compensation technique [11,13]. However this technique needs a higher rated energy storage device and voltage injection transformers.

Figure 2.10: Pre-sag compensation technique

2.4.2

In-phase compensation

(29)

Figure 2.11: In-phase compensation technique

It should be noted that the techniques mentioned in 2.4.1 and 2.4.2 need both the real and reactive power1 for the compensation, and the DVR is supported by an energy storage device.

2.4.3

Energy optimization technique

In this particular control technique the use of real power is minimized (or made equal to zero) by injecting the required voltage by the DVR at a 90° phase angle to the load current. Figure 2.11 depicts the energy optimization technique. However in this technique the injected voltage will become higher than that of the in-phase compensation technique. Hence this technique needs a higher rated transformer and an inverter, compared with the earlier cases [11,13]. Further the compensated voltage is equal in magnitude to the pre sag voltage, but with a phase shift.

(30)

Figure 2.12: Energy optimization technique

It is even possible to combine different compensation techniques described earlier, to achieve better efficiency and ease of controllability. One such technique is combining both the pre-sag and in-phase compensation method. In the combined technique the system initially restores the load voltage to the same phase and magnitude of the nominal pre-sag voltage (pre-sag compensation) and then gradually changes the injected voltage towards the sag voltage phasor. Ultimately the compensated voltage is in same magnitude and phase angle with the pre-sag voltage and slowly its phase angle transferred to to the sagged voltage.

Figure 2.12 gives an idea about the compensation control strategy when both pre-sag and in-phase compensation techniques are combined. It is clear from the Figure when the DVR injected voltage is VDVR_1 (at the beginning of the

(31)

Vpre-sa g=V load_ 1 Vsag Iload 1pu load_2 load_3 VDVR_ 3 VDVR_4 Vload_4

Figure 2.13: Combining both pre-sag and in-phase compensation techniques

2.5

Control techniques used in commercially

available DVRs

Most of the commercially available DVRs use either the in-phase compensation technique or energy optimization technique, owing to minimal requirement of real power injection: hence it reduces the capacity of the energy storage needed. Control technique describes the method used to quantify the DVR control voltage injected during the compensation. In simple terms it basically detects the occurrence of voltage sag. Some common control techniques used by DVR manufacturers are described in this section [11].

(32)

Voltage sag detection techniques

(i) Fourier transform

(ii) Phase Locked Loop (PLL)

(iii) Vector control (Software Phase Locked Loop –SPLL) (iv) Peak value detection

(v) Applying the wavelet transform to each phase

Out of the techniques mentioned above only the Fourier transform, Vector control and wavelet transform methods provide both the voltage magnitude and phase shift information. PLL method can provide only the phase shift information while peak value detection technique enables to get the magnitude change (voltage sag) information. Hence it is possible to combine one or more techniques mentioned above to obtain accurate voltage sag compensation.

2.5.1

Fourier Transform

By applying Fourier transform to each supply phase, it is possible to obtain the magnitude and phase of each of the frequency components of the supply waveform in addition to the fundamental such as magnitude and phase information of the 5th and 7th harmonic components. This is the advantage of this method compared with other sag detection techniques.

(33)

2.5.2

Phase Locked Loop

Generally the DVRs use Phase Locked Loop (PLL) to keep a track of the frequency and the phase angle of the healthy supply voltage, and thereby any change from the normal operating condition can easily be detected [11,31]. Phase locked loop is a closed loop feedback control system, that generates a signal with the same frequency and the phase angle of the input signal. It consists of an oscillator which provides the output signal. The PLL internal function can be categorized as phase detector, variable oscillator and a feedback path. PLL responds to frequency changes and phase angle changes of the input signal by increasing or decreasing the frequency of the oscillator until it is matched with those of the reference input signal.

Simplified PLL is shown in Figure 2.13. The phase angle of the input signal is compared with the feedback output of the oscillator and produces an error signal. The error signal is generated in the form of voltage signal, proportional to the phase angle difference between the input and output. The output of the phase detector consists of harmonic components, thus it has to pass through a low pass filter. But this filtering can introduce transient delays in detecting the voltage sags, which is undesirable [4,32].

The controlled voltage output2 of the loop filter is then feed in to the Voltage

controlled oscillator and provides a phase output. This output signal (in the form of a phase angle) is negatively feedback into the phase detector. The output of the oscillator is compared with the input and if the two frequencies are different, the frequency of the oscillator is adjusted to match with the input frequency.

Figure 2.14: Simplified block diagram of a phase locked loop

(34)

However reference [3] says that this method to track the phase angle is not accurate and not suitable for fast synchronization. Further with this method it cannot return the sag depth information and difficult to implement in real-time [4]. Hence a more accurate method to detect the phase angle is introduced and referred to as Software Phase Locked Loop (SPLL).

2.5.3

Software Phase Locked Loop (SPLL) / Vector Control

This is an improved method of PLL principal combining a voltage sag magnitude detection technique using the principal synchronous frame voltage quantities. Software implementation of this technique is more accurate, faster detection of voltage sag and can easily be implemented using Digital Signal Processing (DSP). This method is also referred to as vector control technique or simply as the synchronous reference frame model [3,4,11].

It is known that unbalance voltage sags create negative sequence voltages which will rotate in opposite direction to that of positive sequence voltages. When considering the concept of synchronous reference frame, the negative sequence component is assumed to have a frequency of twice the frequency of the fundamental. When all the sequence components (positive, negative and zero) are present in a voltage waveform it is difficult to track the positive sequence component and also the result can be erroneous [3,11]. Hence the major point of the SPLL technique is it can be used to track only the positive sequence component from the supply waveform and the block diagram is shown in Figure 2.14 [11,21,22].

(35)

The basic principal behind the operation of SPLL is regulating the Vsqn to zero

and to track the phase angle (θ) of the positive sequence voltage of the supply wave form. Initial phase angle information of the supply waveform is given by this θ. Then the voltage output of the SPLL will be equal to Vsd. By comparing Vsd with a set

reference point any occurrence of voltage sag magnitude can be detected. The same way by comparing Vsq with a set reference zero the phase angle jump can be detected.

This is further explained in Figure 2.15. It is clear from the figure, when Vsqn tends to

zero Vsdn is in phase with Vsn (normalized supply voltage), hence any voltage sag can

easily be detected by the system.

α β d q Vsqn θ б γ Vsαn ω ω

Figure 2.16: Simplified phasor representation of SPLL

(

)

(

)

( )

σ θ γ γ γ γ θ σ θ σ σ α β = = = → + = = − ≈ − ⎟⎟ ⎠ ⎞ ⎜⎜ ⎝ ⎛ = − and 0 , 0 sin , 0 sin sin sin tan 2 2 1 sqn sqn sdn sqn n s n s V when V V V V V

Each block in Figure 2.13 can further be described as follows [11].

Step 1

The phase voltages (Vsa, Vsb and Vsc) are converted into stationary reference

(36)

Assumption : ( ) 3 2 2 sC sB sA s s s v jv v v v V = α + β = +α +α ⎥ ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎢ ⎣ ⎡ ⎥ ⎦ ⎤ ⎢ ⎣ ⎡ − − − = ⎥ ⎦ ⎤ ⎢ ⎣ ⎡ sc sb sa s s V V V V V 2 3 2 3 0 2 1 2 1 1 3 2 β α Eq. 2.1 Step 2

The stationary reference frame voltage quantities are converted into synchronous rotating reference frame voltage quantities (Vsd and Vsq) rotating by an

angle θ. ⎥ ⎦ ⎤ ⎢ ⎣ ⎡ ⎥ ⎦ ⎤ ⎢ ⎣ ⎡ − = ⎥ ⎦ ⎤ ⎢ ⎣ ⎡ β α θ θ θ θ s s sq sd V V V V cos sin sin cos Eq. 2.2 Step 3

The Vsd and Vsq values obtained in step 2 are normalized as follows.

V V V V V V V V 2 sq 2 sd sq sqn 2 sq 2 sd sd sdn ⎪ ⎪ ⎭ ⎪ ⎪ ⎬ ⎫ + = + = Eq. 2.3 Step 4

The next step is to control the angle θ such that the normalized Vsqn=0. This is

achieved using a PI controller. The response time can be varied by changing Kp and

KI values of the PI controller. Then the output of the PI controller is added to ωs,

angular frequency at rated operating condition. Then pass it through a resettable integrator to obtain the desired SPLL output θ.

In conclusion SPLL principle can be summarized as follows. The synchronous reference frame is locked to the positive sequence of the voltage Vs by the principle of PLL and it produces a voltage vector magnitudes Vd and Vq. The phase angle

(theta) used in the synchronous reference frame calculations is used to generate the reference voltage vector [15]. When the system is in locked condition with the normal operating condition Vd becomes same as the voltage vector magnitude and Vq

(37)

the Vd and Vq from their normally operated values. This is how the fast detection

normally implemented.

2.5.4

Peak value detection of the supply wave form

The peak value of any waveform is the point at which its gradient tends to zero. This simple phenomenon is used in this technique. The point at which voltage gradient is zero is identified as the peak value of the supply voltage [32]. It is compared with a preset reference voltage. If the voltage difference between the supply and the reference voltage exceeds a specified value (eg. 10%) then the DVR starts operating (DVR inject the difference voltage). The voltage gradient can be calculated as follows. t v vt t t δ δ − − = Gradient Voltage Eq. 2.4 t

v is the voltage at time instant t and vtδtis the voltage at time t− where tδt δ is a small time step.

As in reference [32], the drawbacks of this method are the time delay (up to 0.5 sec.) in getting the sag depth information and the noise that would affect the measurements severely. Further to get the phase shift information a reference waveform is needed which has to be generated separately.

2.5.5

Applying wavelet transformation

The wavelet transform is similar to the Fourier transform with the basic difference that in wavelet transform it is possible to represent a signal both in time domain and frequency domain3, but the integral transform can perform only in one direction [33]. The shortcomings of this technique are the difficulty in directly interpreting the results and difficulty in real time implementation [4].

(38)

Chapter 3

New control technique developed for

single phase voltage sag compensation

3.1

Background

The major drawback of the existing voltage sag detection techniques discussed in section 2.5 is that, it is costly and complicated to control the voltage injection for a single phase fault, where most frequent fault occurred in a targeted phase. As such it will be an easier alternative to control the voltage injection in the phases individually using three single phase DVRs. In this case the voltage injection in each phase is controlled independently to the other phases. This arrangement of DVR gives possibility of installing single-phase DVR if only one phase is identified with frequent interruptions.

This project mainly focused on designing a control strategy for a single-phase Dynamic Voltage Restorer to detect single-phase voltage sags. The study has been carried out only for single-phase voltage sags, since single phase voltage sags are the most common type of voltage sag occurs in Sri Lanka than the three phase sags. In case of full compensation required, three of the single-phase DVR arrangement can be used.

(39)

device, which will directly affect the cost of the DVR, if the sag continues for a longer duration. In-phase compensation technique compensates only for the voltage magnitude and as a result the compensated load voltage will undergo a phase shift if the voltage sag is associated with a phase jump. Thereby the requirement of a higher capacity energy storage device can be bargained. In the developed control strategy, at the beginning of the sag the DVR compensate both for the voltage magnitude change and the phase shift as well, same as pre-sag compensation and restored the load voltage back to the pre-sag voltage. Then the controller smoothly transfers the compensation technique from pre-sag to in-phase technique thus the developed control plays an intelligent role to minimize the DVR rating while maintaining load voltage without experiencing any disturbance.

Further to detect the occurrence of voltage sag, peak value of the supply voltage was constantly monitored. The measurement method was discussed under section 2.5.4.

It is important to note that the small frequency variations (within the allowable range defined by IEEE) of the supply voltage is tolerable and can be tracked by this control mechanism without any compensation. The frequency variations beyond the defined range (±1%) are assumed to be taken care by the system control of the utility.

3.2

Simplified control block diagram

(40)

Then the reference voltage waveform was created from the reference phase angle and rated rms load voltage. Finally, the voltage that needed to be injected by the DVR was calculated by subtracting the measured supply voltage from the reference voltage waveform.

The control block diagram related to the above is shown in Figure 3.1 below.

Block 1 Block 2 Block 3 Block 4

Find the phase angle of the reference voltage Calculation of control voltage Generation of the reference voltage waveform Find the phase

angle of the supply waveform

Figure 3.1: Simplified control block diagram for the single phase DVR

Each block was implemented using EMTDC/PSCAD software for the simulation and construction method of each block is described below.

3.3

PSCAD implementation of control circuit

3.3.1

Block 1: Determination of supply voltage phase angle

Since the supply voltage waveform is measured and readily available, it is possible to obtain all the information (magnitude, frequency) related to the supply. Consequently the starting and ending point of each cycle can be easily obtained. During each cycle the phase angle of the input voltage waveform is varying from 0 rad to 2π rad (0˚ to 360˚). Thus the phase angle waveform of the supply voltage (Ameas) can be obtained. Figure 3.2 shows the implementation method of the block 1.

(41)

Phase angle of the supply voltage Rated frequency Clear signal to the integrator Resettable integrator 2πf Supply voltage waveform Zero crossing point detection Limiter

Figure 3.2: Implementation method of block 1

Zero Detector Vs Clear 1 sT 314.1593 Ameas Clear_signal Input ZC D

Figure 3.3: PSCAD implementation of block 1

As shown in Figure 3.3, the input signal to this integrator is the angular frequency of the input waveform, i.e. the 2πf=314.1593 (constant), with f being the nominal supply frequency 50Hz. Then the output supply phase angle waveform (or the integrator output) is a line with a gradient of 314.1593(or y=314.1593.t shape)1. This signal is re-setted at every supply cycle in order to obtain the phase angle information. This re-set function is achieved by introducing a clear signal. The clear signal is obtained from the positive zero crossing detector, made of zero crossing detector with positive side limiter, of the supply waveform This will ensure the clear signal is activated per cycle.

Different components parameters of the above Figure 3.3 were selected as follows.

1 When a constant of magnitude m is integrated with respect to time the output will be in the form of

(42)

1) Supply voltage (Vs): This is the input voltage signal from the particular supply phase feed from the distribution transformer. 240 V, 50 Hz sinusoidal input source with an internal series impedence of 0.01 Ω was taken. During the sag this input voltage reduced depending on the severity of the upstream fault.

2) Zero crossing detector (ZCD): This component produce an output of 1, when the input crosses the zero value axis at its positive gradient and -1 at the negative gradient zero crossing point. At all the other times the output will be zero. This is shown in Figure 3.4.

Figure 3.4: Integrator clear signal generation

(43)

Figure 3.5: Integrator clear signal

4) Resettable integrator: This unit simply performs the integration function together with resetting to a predetermined value when the clear signal is present. The input signal is 2πf (f = 50 Hz). The integrator time constant was selected as 1s. This outputs the phase angle information of the supply voltage waveform and the output waveform is shown in Figure 3.6.

Figure 3.6: Phase angle variation of the supply voltage

(44)

Implementation of Block 1 time(s) 0.450 0.460 0.470 0.480 0.490 0.500 0.510 0.520 0.530 -1.00 -0.75 -0.50 -0.25 0.00 0.25 0.50 0.75 1.00 v ol ta ge ( k V ) & ph as e an gl e ( rad )

Supply voltage ZCD Clear_signal Angle meas*0.1

Figure 3.7: Output waveforms at different output channels

Phase angle of the supply waveform (Angle measured) is de-rated by a factor of 0.1 to show all the waveforms in a single plot. When the supply is in the normal condition the actual maximum height of the Angle measured waveform is 6.283 (2πft, where t = 0.02 s, cycle time related to 50 Hz).

Implementation of Block 1 time(s) 0.450 0.460 0.470 0.480 0.490 0.500 0.510 0.520 0.530 314.050 314.075 314.100 314.125 314.150 314.175 314.200 314.225 314.250 314.275

Input signal to the resettable integrator

(45)

3.3.2

Block 2: Reference phase angle waveform generation

I P D + F -D + F -Aref 314.1593 Aref A B Compar-ator 6.2832 Ameas Clear 1 sT A ngle E rr o r Ameas A B Ctrl Ctrl = 1 0.0 triggering pulse A ngle E rr o r input A ngle E rr o r f ilt er ed PI output * 10.0

Figure 3.9: Simulation block for the reference phase angle wave form generation

In the block as shown in Figure 3.9, a random reference phase angle signal is generated. The reference signal’s phase angle is synchronized with the measured signal phase angle by slowly adjusting the gradient (angular frequency) of the randomly generated reference phase angle signal.

The simulation block diagram shown in Figure 3.9 consists of 3 major blocks and is shown in Figure 3.10 and discussed in 3.3.2.1-3.

Ameas Calculate the angle error and regulate it to zero Generate the new Aref Adjust the gradient of Aref according to angle error

Figure 3.10: Simplified diagram of control block 2

3.3.2.1 Calculate the angle error between the reference and the supply phase angle.

(46)

are varying from positive to negative during each cycle. Further the average error is zero.

Reference phase angle Measured phase angle

Angle error

Average angle error = 0

Figure 3.11: Generation of angle error signal

Filtered and PI controlled output of this angle error has to be added or subtracted from the reference (314.1593). As shown in Figure 3.10, the next step is to adjust the gradient of the Aref to synchronize it with the Ameas, while regulating this

angle error component to zero. Inability to identify whether this error component has to be added or subtracted (since it varying from positive to negative during each cycle) introduces an additional control block and separately shown in Figure 3.12.

to the filter etc..

Ameas A B Ctrl Ctrl = 1 0.0 triggering pulse A ngle E rr or inpu t * 10.0 Angle error

(47)

The measured phase angle waveform was fixed during the normal operation. Hence it can be used as a reference to calculate the angle error. Two points closer to the middle of the phase angle waveform (2.5 rad to 3.5 rad) were selected and when the measured phase angle waveform is within those limits, the block calculates the angle error. When the measured phase angle was beyond the given limit the block doesn’t calculate any angle error. This technique is used mainly to get the error which clearly differentiates the angle lead or lag and proportional to its magnitude. A range comparator was used to achieve this task and its specifications are as shown in Figure 3.12.

Comparator will generate an output of 1 when the input (supply phase angle in radians) is between 2.5-3.5. Except this limits, it will generate a zero output as angle error. When selecting the comparator limits care has to be taken to maintain the same magnitude of the angle error. (i.e. within the selected limit the angle error should not change its sign.)

Figure 3.13: Angle error calculation

(48)

only between 2.5 rad to 3.5 rad. If the comparator limits were selected closer to the ends such as 0 rad or 6.2832 rad then the angle error varies its sign, which is not desirable.

A two way input selector switch was used to generate an output only when the triggering pulse is present i.e. when it is 1. The obtained angle error was multiplied by a factor 10 to speed up the synchronization and obtain more accurate synchronization. Then the angle error signal was passed through a filter and a PI controller.

3.3.2.2 Regulate the error component and reduce the harmonics

The angle error wave form obtained above is a pulsed waveform consists of harmonics. To achieve better synchronization the error has to be regulated to zero, while converting the pulse signal into a smooth one. A low pass LC filter and a PI control was added to achieve that purpose and explained below.

3.3.2.3.1 Low pass filter

A filter with a second order transfer function was used. It attenuates the frequencies above the characteristic frequency. A 500 Hz was selected as a reasonable value for the characteristic frequency. This passes the frequency components below

the 500 Hz which will attenuate the harmonics to a reasonable level. Gain and the damping ratio of this low pass filter were selected to be 1 to maintain the same magnitude and the wave shape of the input during filtering.

3.3.2.3.2 PI controller

A Proportional Integrate controller was used to regulate the error between the measured (supply) and the reference phase angle to zero.

(49)

The function of the proportional action is to respond quickly to the changes in the error deviation. Integral action is slower than the proportional response but used to remove the offsets between the input and the reference at steady state [34]. Before the DVR starts injecting voltage to the system, a considerable time period was allowed for the synchronization. The synchronization process was made according to the possible system frequency deviation. As the system frequency is not much deviate from 50 Hz the fast synchronization is not a necessity. Hence it helps the load voltage without phase jump. Therefore the derivative action is not needed and the need of PID controller was omitted2.

Tuning the PI controller

In the PSCAD simulation block for the PI controller following parameters has to be defined as shown in Figure 3.14.

Figure 3.14: User defined parameters in the PI controller

Among those parameters proportional gain (Kp) and the integral time constant

(KI) directly affect the performance of the PI controller. When tuning those two

parameters special attention has to be paid. The maximum and the minimum limits of the PI controller was selected, as the output at any instant doesn’t exceed those two values. (+10 and -10) At the beginning of the simulation (at t=0) the controller set to zero output. Hence the initial output is assigned to zero.

(50)

Tuning the Kp and KI parameters of the PI controller

Initially KI (Integral time constant) was set at a high value and the simulations

were carried out for different Kp values. It has been observed that with increasing Kp

the time taken to reach the target decrease, Kp=0.5 was selected as reasonable. Then

by reducing the KI the simulation results were observed. The PI output reaches the

target and stabilizes after longer time. Hence KI was selected as 0.2, which is same as

5sec time constant.

3.3.2.3 Generating the reference phase angle

As described earlier when considering the waveforms of Aref and Ameas

there are two possibilities. In the first case measured phase angle leads the reference phase angle. In this case the angle error input is negative; hence the PI controller output will also become negative. To get the waveforms synchronized the gradient of the Aref has to be increased: the PI controller output (negative) has to be subtracted

from the set gradient point (314.1593). This will happen automatically in the control as the adder is used and PI controller out put is negative. In the second case measured phase angle lags reference phase angle. In this case the angle error input is positive; hence the PI controller output will also become positive. To get the waveforms synchronized the gradient of the Aref has to be reduced: the PI controller output

(51)

Figure 3.15: Synchronization process

The next step is to generate the reference phase angle waveform. The gradient of the reference signal is known and the reference phase angle should vary from 0 to 2π (6.2832) radians. Therefore the reference phase angle waveform should be cleared when it reaches 2π. A comparator and a resettable integrator are used to achieve this resetting. The integrator clear signal is given by the comparator output. This block is shown in Figure 3.16 together with the comparator specifications.

Aref A B Compar-ator 6.2832 Clear 1 sT output of the summing/

differncing junction

Figure 3.16: Left: Reference waveform generation

Right: Comparator specifications

(52)

when the Aref > 6.2832, the integrator clear signal is reset and thus the integrator

output set to zero.

3.3.3

Block 3: Reference voltage waveform generation

The reference phase angle was generated and synchronized with the supply (measured) phase angle. Next step is to generate the reference voltage waveform from the reference phase angle information. From the phase angle information obtained a sinusoidal waveform was generated with the nominal supply voltage magnitude as in Figure 3.17. (240V rms = 340V peak)

Figure 3.17: Reference voltage waveform generation

The simulation control block is shown in Figure 3.18.

Aref Sin * Vref

0.34

(53)

3.3.4

Block 4: Control voltage waveform generation

The block no. 4 was used to calculate the control voltage by taking the difference between the reference and the supply voltage. When the supply voltage is in normal condition (no voltage sag), both the supply and the reference voltage waveforms are in phase and same in magnitude thus the voltage to be injected by the DVR circuit would be zero.

The control voltage will be present only during the voltage sag. The shape of the control voltage waveforms for different sag conditions are shown in Figures 3.19.

0 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 -0.25 -0.2 -0.15 -0.1 -0.05 0 0.05 0.1 0.15 0.2 0.25 time (sec) V o lt age (k V )

Control voltage during the voltage sag (reference and the supply voltages are not in phase)

reference voltage

supply (sag) voltage

control voltage 0 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 -0.25 -0.2 -0.15 -0.1 -0.05 0 0.05 0.1 0.15 0.2 0.25

Control voltage during the voltage sag (both the reference and the supply are in phase)

time (sec) V o lt ag e (k V ) reference voltage Control voltage supply(sag) voltage 0.25 0 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 -0.25 -0.2 -0.15 -0.1 -0.05 0 0.05 0.1 0.15 0.2

Control voltage before the voltage sag (both the reference and the supply are in phase)

time (sec) V ol tage ( k V )

reference and the supply voltages

are the same Figure 3.19 top: Control voltage

waveform before the voltage sag

Figure 3.19 bottom left: Control voltage waveform during the sag (in phase voltage sag)

Figure 3.19 bottom right: Control voltage waveform during the sag (voltage sag is created with a phase shift)

(54)

It is clear from the above figures irrespective of the type of voltage sag (in phase or not with the reference voltage) the control voltage is a pure sinusoidal waveform with varying magnitude during the sag period.

The simulation block diagram is shown in figure 3.20.

D + F -Vs Vref Vcontrol A B Ctrl Ctrl = 1 0.0 TIME

Figure 3.20: Simulation draft for block 4

When implementing this block in PSCAD simulation software a time delay of 4 sec. was introduced due to following reasons. (i.e. when the DVR is switched on, during the first 4 sec. the DVR control is disengaged internally while synchronization process is activated)

1. to eliminate unnecessary starting transients in the simulation or in practice 2. to allow the supply voltage and the reference voltage to get synchronized.

The block shown in dashed lines is used to provide the time delay switching signal to start operation of the DVR. When the input time signal is above the specified value the comparator will generate a signal of 1 and 0 otherwise. When the comparator output is 1 the block starts calculating the control voltage that needs to be injected by the DVR circuit.

(55)

wave forms are in phase at the beginning, then theoretically two waveforms should get synchronized from the beginning itself since the angle error is zero. But it was realized that due to the involvement of the feedback control loop and its initial setting values, still it takes some time for synchronization. By considering all of theses effects, to eliminate the start up transients it has given 4 seconds in the simulation to synchronize and stabilize the controller action. There after the controller will be ready for the DVR operation.

In the block 4, the voltage that needs to be injected to the DVR was calculated. Next step is to create a power circuit consisting of the units described in section 2.2, which is capable of generating the above calculated control voltage.

3.4

PSCAD implementation of the power circuit

The power circuit of the single phase DVR mainly consists of Energy storage device, inverter, filter and a voltage injection transformer and is shown in Figure 3.21.

(56)

Suitable values for VDC, C1, LF, CF, Rs, Rl and transformer turn ratio n have to be

determined.

3.4.1

Parameter estimation of the power circuit

Capacitor C1 is used as a DC link capacitor, and C1=10,000 μF is assumed to

be a reasonable value as it is used with the batteries. The power circuit shown in Figure 3.21 was simplified as in Figure 3.22 and for the parameter estimation purposes Figure 3.23 was used.

Figure 3.22: Simplified equivalent circuit of DVR power circuit

(57)

If the DVR is capable of compensating for a full voltage sag (when Vsup=0)

then,

Vinj_max =Vs=240V rms.

For voltage transformer,

1 1 1 I I n V V L inj = =

Assumed that the fundamental component of the current is flowing through the XCF is small. LF inj LF inj jI X n V X jI V E = 1 + 1 = + 1 Eq. 3.1

For safety point of view n is kept at a high value to maintain a low voltage at the primary side of the transformer. Therefore the turn ratio of the transformer is selected as 4. Then, V V E V E E V V V DC inj inj inj peak peak 100 but, value. reasonable a is 100 (1) from 31 . 81 4 2 230 _ 1 _ 1 = = ≈ ∴ < = =

3.4.1.1 Energy storage device

Two batteries of 50V each are used to provide the real power requirement during the voltage sag compensation.

3.4.1.2 PWM inverter

(58)

3.4.1.2.1 Inverter leg switching signal generation

The control voltage output, obtained and described in section 3.3.4, is compared with a high frequency triangular waveform with a switching frequency of 5000Hz and a 100V peak output with a 50% duty cycle. High value of switching frequency (5000Hz) was selected to suppress the DVR injected voltage harmonics transferring to the load voltage in addition to voltage sag compensation.

As can be seen from the Figure 3.24, the control voltage was reduced by a factor of 4, before comparing it with the triangular waveform to compensate for the transformation ratio of the voltage injection transformer. The level comparator produces two output levels as shown in Figure 3.25.

Tri Ptop A B Compar-ator Tri Pbot Vcontrol * 0.25 Vcontrol1

Figure 3.24: Inverter leg switching signal generation

1) Comparator generates an output of 1, when the magnitude of the triangular waveform is higher than that of the control voltage. (Tri > Vcontrol 1)

(59)

Figure 3.25: Switching signals for inverter legs

The output signal of the comparator (Pbot) and the NOT operated inversion (Ptop) is fed into the inverter legs.

To achieve a smooth control voltage (= injected voltage to the power line) and to filter out the unwanted higher order harmonic components from that waveform a LC filter was connected at the output of inverter.

3.4.1.3 Designing and tuning of the low pass filter

Cut-off frequency (f) of a simple LC filter is given by the following equation.

LC 2 1 f π = Eq. 3.2

References

Related documents

Biomolecular and Organic Electronics Department of Physics, Chemistry and Biology Linköping University Linköping 2007 Anna Herland. Conjugated Polymers, Amyloid Detection and

When the experiments are ran in vivo on animals, the CNRD becomes the most useful figure of merit and a filtration (different based on the type of imaging required) can be useful

From the simulation and results, it is finally concluded that traditional distance protection relays with lumped parameter line modeling is not suitable for UHV

INVESTIGATION OF THE EFFECT OF THE TRANSFORMER CONNECTION TYPE ON VOLTAGE UNBALANCE PROPAGATION: CASE STUDY AT.. NÄSUDDEN

Comparing these results to those from the simulations of the induction generator based wind farm in figure 4.10, we can see how the reactive power demand of that wind farm is

In comparison with the negative limit test, where the electrode showed a decrease in reaction kinetics after it had been cycled at lower potentials, the positive limit test showed

Secondly, confirmation of a working data chain from the Ground Station to the High Voltage Unit of the Electric Propulsion Subsystem, via the Power Control and Distribution Unit, and

1) Magnitude is the major characteristic of a voltage dip: if the magnitude is lower than a certain level, the rotor current and DC link voltage of DFIG would lose control,