# An optimized compensation strategy of DVR for micro-grid voltage sag

- Zhengming Li
^{1}Email author, - Wenwen Li
^{1}and - Tianhong Pan
^{1}

**1**:10

https://doi.org/10.1186/s41601-016-0018-9

© The Author(s) 2016

**Received: **12 May 2016

**Accepted: **16 May 2016

**Published: **2 July 2016

## Abstract

### Introduction

This paper uses a dynamic voltage restorer (DVR) to improve the voltage quality from voltage sags. It is difficult to satisfy various of compensation quality and time of the voltage sag by using single compensation method. Furthermore, high-power consumption of the phase jump compensation increases the size and cost of a dynamic voltage restorer (DVR).

### Methods & Results

In order to improve the compensating efficiency of DVR, an optimized compensation strategy is proposed for voltage sag of micro-grid caused by interconnection and sensitive loads. The proposed compensation strategy increases the supporting time for long voltage sags.

### Discussion

Firstly, the power flow and the maximum compensation time of DVR are analyzed using three basic compensation strategies. Then, the phase jump is corrected by pre-sag compensation. And a quadratic transition curve, which involves the injected voltage phases of pre-sag strategy and minimum energy strategy, is used to transform pre-sag compensation to minimum energy compensation of DVR.

### Conclusions

The transition utilizes the storage system to reduce the rate of discharge. As a result, the proposed strategy increases the supporting time for long voltage sags. The analytical study shows that the presented method significantly increases compensation time of DVR. The simulation results performed by MATLAB/SIMULINK also confirm the effectiveness of the proposed method.

## Keywords

## Introduction

Since micro grid can integrate various kinds of renewable energy resources, it has been widely investigated in recent years [1]. However, there also exists some power quality problems that cannot be ignored, such as voltage sag, swell, and harmonic [2]. Furthermore, micro grid contains a variety of powers, sensitive loads and non-linear power electronic devices. As a result, the frequent start-up and shutdown operation of renewable power generators will lead to voltage fluctuations, especially sag. The voltage sag can damage the power quality, may even cause huge economic losses [3]. To improve and manage the power quality of micro grid, the flexible alternating current transmission technology (FACT) has been introduced, such as SVC, D - STATCOM, DVR and UPQC [4–6]. Among these devices, DVR is one of the most powerful apparatus that can protect voltage-sensitive equipment from voltage sag, swell and flicker. In some cases, it can also suppress the voltage harmonics and unbalanced three-phase voltage effectively [7].

DVR needs some power exchange when it is used in compensation. In order to reduce power exchange during the effective compensation of voltage drop, the compensation strategy of DVR should be optimized [8]. The present research and application of DVR compensation strategies for voltage sag are pre-sag compensation, in-phase compensation and the minimum energy compensation [9–12]. In-phase compensation method can compensate the sagged voltage with minimum amplitude [9]. The minimum energy method adjusts the injected active and reactive power of DVR to reduce consumption of the dc stored energy [13]. However, both can’t correct the phase jump, even lead to trip of sensitive loads. The pre-sag compensation can fully restore the amplitude and phase angle of the sagged load voltage [14]. Though pre-sag compensation can guarantee the continuity of grid voltage, the compensation of phase jump needs a large amount of active power in an energy storage system.

Taking advantage of three basic compensation strategies, some comprehensive compensation strategies [15, 16] were proposed. The comprehensive strategy of pre-sag and in-phase compensation [15] reduced the injected voltage while extending compensation time, but it sustainably used the energy of dc unit. The control that combined pre-sag method and minimal energy method [16] were lacked of the time control though it made good use of dc energy. To avoid these drawbacks, an optimized strategy based on the strategy of paper [16] is discussed in this paper. Firstly, the DVR compensating voltage and power flow for three basic strategies is analyzed and the maximum compensation time is derived from the analysis. Then, pre-sag strategy is used to correct phase jump at the beginning of compensating. According to a quadratic transition curve, the injected phase angle varied from pre-sag to the minimum energy compensation is rotated in multi-step. The rest process is completed by the minimum energy strategy. Owing to the introduction of the transition process, the compensation time of the comprehensive strategy is significantly increased. The performance of the proposed method is validated by using MATLAB/Simulink simulation.

## Discussion

### Three basic compensation strategies

*U*

_{ G }and

*U*

_{ S }are the system voltages before and after the sag,

*U*

_{ L }and

*U*

_{ A }are the load voltages before and after the sag,

*U*

_{ DVR }is the DVR output compensating voltage,

*P*

_{ DVR }and

*Q*

_{ DVR }are the DVR active and reactive power injected to system,

*δ*is the phase jump of sagged voltage,

*θ*

_{ L }is the angle of load power factor.

*I*

_{ L }is the load current which is set as the reference vector. Δ

*U*is set as voltage sag depth, so Δ

*U*= (

*U*

_{ L }-

*U*

_{ S })/

*U*

_{ L }.

#### In-phase compensation

#### Minimum energy compensation

*α*is the phase change caused by DVR reactive compensation. The maximum sag depth in reactive power compensation, Δ

*U*

_{ max }, is closely related to the load power factor:

*U*

_{ S }is in phase with load current

*I*

_{ L }, the compensating voltage reaches the maximum value, i.e:

#### Pre-sag compensation

### Control requirements

*P*

_{ pre }), in-phase compensation (

*P*

_{ in-phase }) and the minimum energy compensation (

*P*

_{ opt }) can be expressed as:

*n*

_{ t }is the turns ratio of series transformer,

*m*

_{ imax }is the maximum modulation index of the DVR inverter,

*U*

_{ dc }is the DVR dc voltage. Once the dc voltage decreases to the minimum threshold value, that is, over the boundary in Eq. (14), DVR will stop compensating process to avoid harmonic pollution of load voltage. The initial energy stored in dc capacitor is:

*t*, the value of voltage in dc container decreases from

*U*

_{ dc }to

*U*

_{ dcf }. The variation of voltage is Δ

*U*

_{ dc }. The final energy stored in the capacitor at this time is:

*t*, the total active power provided by capacitor in steady state is:

In an ideal system, the DVR dc power in Eq. (11) is equal to the ac power in Eq. (17), so the capacity of capacitor C can be obtained from the relation. However, the dc voltage will decrease with the flow of power, so as the output compensating voltage. Accordingly, the DVR output active power is also limited by the capacity of dc capacitor and the minimal dc voltage, which is sufficient for a proper restoration of the load voltage. In addition, the dc voltage gradient *dU*
_{
dc
}/*dt* is proportional to the DVR injected active power *P*
_{
DVR
} directly. The less *P*
_{
DVR
} is, the smaller the slope of dc voltage is. Hence, the compensating time is extended. It can be known that improving the rate of dc voltage drop can prolong the compensation time.

The maximum compensation time *t*
_{max} directly reflects the utilization level of stored energy in dc capacitor.

## Methods

### The optimized compensation strategy

The dc voltage gradient is controlled by adjusting the magnitude of DVR injected active power to extend the DVR compensating time. Firstly, pre-sag compensation is used to restore the amplitude and phase angle of sagged voltage. Then a transition process is introduced to shift pre-sag strategy to the minimum energy strategy gradually. The transition avoids direct jump of phase angle at running point. This process is usually implemented in one to two cycles, and the sagged voltage can be restored to stabilization in a short time. The compensating control process is described in detail as follows.

### The pre-sag compensation

In order to reduce the voltage distortions at the load side, the sagged voltage should be restored to the normal value by the pre-sag compensation. After a certain time, the modulation index will increase as a result of discharging of the dc capacitor. If there is no sufficient energy to support the compensation, DVR will not be able to compensate properly. Therefore, as soon as a certain modulation index is reached, a smooth transition from pre-sag compensation to the minimum energy compensation is initiated to reduce consumption of energy.

### The transition process

After the sagged voltage recovers to normal, pre-sag compensation will be smoothly transformed to the minimum energy compensation in one to two cycles.

*θ*

_{ final}is:

*ε*is the angle change caused by component loss, which can be obtained by PI controller.

*t*

_{ tran }is the transitional time.

### The operation process

*U*

_{ pre-sag }reaches to

*U*

_{ A-opt }.

## Results

### Comparisons

As mentioned above, the maximum compensation time plays an important role in reflecting the performance of DVR. It is directly connected to the amount of energy needed for the compensation and the needed capacitance. Based on the mentioned analytic equations, a comparative study is presented to compare the DVR maximum compensating time for different sags and jump phases by using the mentioned strategies (i.e. pre-sag strategy, in-phase strategy, and the proposed strategy.).

The sag depth is varied from 10 % to 80 % of the rated voltage. As shown in Fig. 4(a), the proposed method has the longest supporting time among three strategies at the same sag depth. Taking 50 % sag depth for example, the compensation time of the in-phase compensation is longer than that of the pre-sag compensation. The proposed method further increases the compensation time to 20 cycles based on in-phase compensation. When the sag depth is lower than 30 %, the proposed strategy works in the self-supporting mode. The minimize utilization of dc active power makes the slowest discharge of capacitor rate among three compensation methods, so the compensation time can be infinitely prolonged. Figure 4(b) depicts that the phase jump is varied from -60° to 60° for a 50 % sag depth when other conditions don’t change. The compensating time of in-phase compensation and the proposed compensation have no obvious fluctuation with the change of phase jump, while pre-sag compensation is opposite. The proposed strategy has the longest compensation time among three strategies.

### Simulation study

#### Block diagram

*R*-

*L*loads. Three phase symmetrical voltage drop with 40 % sag depth happens in the grid. Among it, the phase jump is considered as 25°. The frequency is 50Hz, so the cycle is 20 ms. The rest parameters of DVR are the same as that mentioned in section 4.

According to Eq. (20), the voltage sag in grid is monitored by logical unit. Control system includes two sub-modules, one is the calculation of the injected initial angle and final angle of DVR, and another is the transition to the minimum energy compensation. The line current, which is acted as a reference, can be gotten from PLL to realize the decoupling control of active and reactive power. For the phase angle detection module, PLL is used to calculate the DVR initial angle of pre-sag compensation and the final angle of the minimum energy compensation. After the transition, the reference voltage is given by the minimum energy module, i.e. *U*
_{
L-abc
}
^{*} = *U*
_{
opt
}. The reference voltage *U*
_{
DVR
}
^{*} is generated by DVR. *U*
_{
DVR
}
^{*} is compared with the actual voltage *U*
_{
DVR
} in the stationary reference frame. The difference of *U*
_{
DVR
} and *U*
_{
DVR
}
^{*} is tracked by the PI controller accurately. A feed forward control with gain is added to compensate the loss of DVR system.

#### Simulation result

*t*

_{ tran }in transition is taken as 40 ms. From these, it can be obtained that the DVR initial injected angle is 16° while the final angle is 81.5°. The simulation results are given in Fig. 6. Figure 6(a) shows the voltage sag happens at 0.1s. Figure 6(b) shows the amplitude and phase of load voltage return to normal after the recovery of DVR. Figure 6(c) shows the injected voltage of DVR during the sag. Figure 6(d) shows the power change of DVR during compensation.

As shown in Fig. 6, the sag depth was 40 %, and the start time of sag was 0.1 s. The DVR injected voltage and power were shown in the last two graphs of Fig. 6. In the power graph, it was noticed that DVR injected a large number of active power to compensate the phase jump in first cycle of initial stage. After two cycles, pre-sag compensation was gradually shifted to the minimum energy compensation mode. Accordingly, the injected voltage made a smooth transition, which can be seen from the third graph. In the last process, the injected active power was gradually reduced and became steady. After the recovery by DVR, the amplitude and phase of load voltage returned to normal.

## Conclusion

To manage the power quality in a micro grid, an optimized compensation strategy of DVR has been proposed based on three basic strategies in the paper. The proposed strategy protects sensitive loads against the grid voltage sags accompanied with the phase jump. At the beginning of voltage sag, pre-sag compensation is adopted to detect and compensate phase jump. The full compensation of voltage amplitude and phase is achieved. After two cycles, pre-sag compensation is shifted to the minimum energy compensation to reduce the consumption of DVR active power. To mitigate the influence of phase jump on sensitive loads, the voltage phase is converted smoothly according to a quadratic transition curve. Although the presented method has good compensation effects to three-phase symmetrical voltage sags with different characteristics, a more accurate mathematical model needs to be established for unbalanced three-phase voltage drop. Furthermore, the compensation time of DVR under pre-sag compensation can be significantly increased when applying the proposed optimized strategy. In practical application, the proposed method can meet the efficient and accurate requirements of DVR.

## Declarations

### Acknowledgment

This work is supported by National Nature Science Foundation under Grant 51477070, and the Priority Academic Program Development of Jiangsu Higher Education Institutions (PAPD).

### Authors’ contributions

ZML proposed the optimized compensation strategy of DVR for voltage sag, carried out a quadratic transition which involves the injected voltage phases of pre-sag strategy and minimum energy strategy, finished the related calculation of voltage amplitude and phase. WWL carried out the DVR compensating strategy studies, derived the maximum compensation time of DVR by control requirements, participated in the comparison of the maximum compensation time for different methods and drafted the manuscript. THP established the model and carried out the simulation study of the proposed compensation of DVR, gave the voltage and power change during the compensation, made the summary. All authors read and approved the final manuscript.

### About the Authors

W.W. Li, received her B.S degree from Jiangsu University in 2013. Now she has been a postgraduate student in School of Electrical and Information Engineering, Jiangsu University, Zhenjiang, China. Her current research interests include micro-grid, power electronic devices.

Z. M. Li, received his B.S. degree from zhenjiang agricultural machinery institute and received his M.S degree from Xi’an Jiao Tong University in 1987. Now he has been a professor in School of Electrical and Information Engineering, Jiangsu University, Zhenjiang, China. His current research interests include industrial computer network, process control, power system remote monitoring etc. He published over 100 papers, more than 20 articles were included by SCI and EI. He obtained second prize for technological progress of the original ministry of machine and the second prize of scientific and technological progress of Jiangsu province, and outstanding teaching achievement prizes of Jiangsu province.

T.H. Pan, received his B.S. degree from Anhui Agriculture University and M.S. degree from Gansu University of Technology in 1997 and 2000 respectively. And he received his Ph.D. degree in control theory and control engineering from Shanghai Jiao Tong University in 2007. Now he has been a professor in School of Electrical & Information Engineering, Jiangsu University, Zhenjiang, China. His current research interests include multiple model approach and its application, machine learning, virtual metrology, predictive control and Run-to-Run control theory and practice, etc.

### Competing interests

The authors declare that they have no competing interests.

**Open Access**This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

## Authors’ Affiliations

## References

- Wang, C., & Li, P. (2010). Development and challenges of distributed generation, the micro-grid and smart distribution system [J].
*Automation of Electric Power Systems, 34*(2), 10–14.Google Scholar - Wang, C., & Wang, S. (2008). Study on some key problems related to distributed generation systems [J].
*Automation of Electric Power Systems, 32*(20), 1–4.Google Scholar - Wang, C., Wu, Z., & Li, P. (2014). Research on key technologies of microgrid [J].
*Transactions of China Electrotechnical Society, 29*(2), 1–4.Google Scholar - Kaniewski, J., Fedyczak, Z., & Benysek, G. (2014). AC voltage sag/swell compensator based on three-phase hybrid transformer with buck–boost matrix-reactance chopper.
*IEEE Transactions on Industrial Electronics, 61*(8), 3835–3846.View ArticleGoogle Scholar - Castilla, M., Miret, J., Camacho, A., Matas, J., & de Vicuna, L. (2014). Voltage support control strategies for static synchronous compensators under unbalanced voltage sags.
*IEEE Transactions on Industrial Electronics, 61*(2), 808–820.View ArticleGoogle Scholar - Kumar, C., & Mishra, M. (2014). A multifunctional DSTATCOM operating under stiff source.
*IEEE Transactions on Industrial Electronics, 61*(7), 3131–3136.View ArticleGoogle Scholar - Wang, T., Xue, Y., & Choi, S. S. (2007). Review of dynamic voltage restorer [J].
*Automation of Electric Power Systems, 31*(9), 101–107.Google Scholar - Liu, Y.-y., Xiao, X.-n., & XU, Y.-h. (2010). Characteristics analysis on energy steady compensation for dynamic voltage restorer [J].
*Proceedings of the CSEE, 30*(13), 69–74.Google Scholar - Sadigh, A. K., & Smedley, K. M. (2012). Review of voltage compensation methods in dynamic voltage restorer (DVR). In
*Proc. IEEE Power Energy Soc. Gen. Meet*(pp. 1–8).Google Scholar - Feng, X.-m., & Yang, R.-g. (2004). Analysis of voltage compensation strategies for dynamic voltage restorer (DVR) [J].
*Automation of Electric Power Systems, 28*(6), 68–72.Google Scholar - Wang, J., Xu, A.-q., Weng, G.-q., et al. (2010). A survey on control strategy of DVR [J].
*Power System Protection and Control, 38*(1), 145–151.Google Scholar - Al-Hadidi, H. K., Gole, A. M., & Jacobson, D. A. (2008). A novel configuration for a cascade inverter based dynamic voltage restorer with reduced energy storage requirements.
*IEEE Transactions on Power Delivery, 23*(2), 881–888.View ArticleGoogle Scholar - Sun, Z., Guo, C., Xiao, X., et al. (2010). Analysis method of DVR compensation strategy based on load voltage and minimum energy control[J].
*Proceedings of the CSEE, 30*(31), 43–49.Google Scholar - Xiao, X.- n., Xu, Y.- h., & Liu, L.- g. (2002). Research on mitigation methods of voltage sag with phase - angle jump [J].
*Proceedings of the CSEE, 22*(1), 64–69.Google Scholar - Meyer, C., Doncker, R. W., Li, Y. W., & Blaabjerg, F. (2008). Optimized control strategy for a medium-voltage DVR—Theoretical investigations and experimental results.
*IEEE Transactions on Power Electronics, 23*(6), 2746–2754.View ArticleGoogle Scholar - Ke, C.-b., & Li, Y.-l. (2012). Study on voltage sags compensation strategy for dynamic voltage restorer [J].
*Power System Protection and Control, 40*(17), 94–99.Google Scholar