1 Introduction

In the modern smart grid, the diversity of loads and the demands for highly efficient consumption, as well as the use of renewable energy (solar, wind, biomass energy, etc.) generation and grid connection technology through the power electronics interfaces, have brought great challenges to governing power quality [14]. Compared with the traditional power system, the microgrid or distributed power plant, which integrates a variety of energy inputs, multiple load characteristics, and varied energy conversion technologies, is a nonlinear and complex system with inter-coupling of chemical energy, thermodynamics and electrodynamics. Meanwhile, due to the limitation of natural resources, the distributed generations (DGs) appear the features of intermittency, complexity, diversity and instability. Accordingly, some new problems with novel features occur in maintaining power quality. Therefore, power quality control theory and technology will play an important role in ensuring the stable and secure operation of the power grid when microgrids or distributed power plants are connected to it. In the Chinese national program for long- and medium-term scientific and technological development (2006-2020), it is specifically mentioned that the analysis, detection, and control technology for power quality should be a priority objective in the energy field, and it is highly recommended to promote the application of high-power power electronics technology and to control the power quality actively.

Figure 1 illustrates the typical structure of the smart grid including power quality controls. It consists of power transmission part, power distribution part, and power consumption part. The transmission grid is responsible for the regional power electricity supply and large renewable energy generation absorption. Its primary objective is to maintain the voltage stability of transmission lines by regulating appropriate reactive power provided by high voltage power quality compensators. The high- and medium-voltage distribution network works as the bridge that connects the transmission grid and power consumers. With the connection of large amounts of distributed energy, its power quality features appear high penetration and stochastic volatility. In consequence, multiple compensation devices are recommended to operate cooperatively for ensuring a friendly power quality. Power quality on the consumer side directly affects the power efficiency and production safety, which makes the power quality problems more complex. As a result, active control and local compensation technology are two important means to suppress the circulating current or harmonic resonance, and to analyze the emission features between DGs and electrical loads in the distribution network.

Fig. 1
figure 1

Structure diagram of a typical distribution grid system containing microgrid

This paper provides an overview of the power quality control technology in the smart grid. Power quality compensators and their classification based on power electronics technology are comprehensively introduced. A brief description is introduced for novel power quality compensators featuring modular multilevel technology, such as solid-state transformers and high voltage DC converters. Then, the control methods of power quality compensators are discussed for high efficiency operation. Special attention is paid to the new characteristics of power quality and control technology in the distribution system with DGs. Finally, the paper analyzes the trends and prospects of power quality control technology.

2 Power quality compensators classification

It is important to improve the power supply quality on power consumer side by taking advantage of the power quality control technology and equipment. The core principle of power quality control is to control and convert the electric energy, so as to meet the requirement of quality conformance and optimal efficiency. The key elements to accomplish above-mentioned control and conversion are diverse power electronics devices and associated control circuits. The classification of compensators in terms of different kinds of power quality problems is depicted in Fig. 2. Power quality control technology can be divided into active control technology and passive control technology.

Fig. 2
figure 2

Classification diagram of power quality compensators

2.1 Passive control technology

The passive control technology is characterized by adding extra devices to eliminate or relieve the impact of existing power quality problems. At present, the harmonic suppression techniques mainly contain the passive power filter (PPF) [5], active power filter (APF) [6, 7], and hybrid active power filter (HAPF) [8]. As mentioned in [9], HAPF can be classified as single-resonance injection hybrid active power filter (S-IHAPF), double-resonance injection hybrid active power filter (D-IHAPF), and multi-branch injection hybrid active power filter (M-IHAPF). The HAPF combines the advantages of both PPF and APF, effectively reducing the rated capacity and voltage of the active part without making a compromise of satisfactory performance in the integral filter system. It has been an effective way to suppress harmonic currents and compensate reactive power in high voltage distribution network. The reactive power compensator is capable of suppressing the voltage fluctuation and flicker. Off-the-shelf var compensators in distribution network include fixed capacitor (FC) [1, 2], static var compensator (SVC) [10], and static synchronous compensator (STATCOM) [11], etc. Among these devices, the STATCOM is widely used for its multiple functions, such as grid voltage fluctuation suppression, and unbalanced load compensation. The tendency has been to develop modularized harmonic suppression and var compensation systems due to high stability, reliability and power density.

Among the transient power quality problems, voltage sag and short interruption are perceived as the most common and harmful forms. The solid-state transfer switch (SSTS) [12] can effectively reduce the depth and time of voltage sag. Uninterruptable power supply (UPS) [13] is the most effective tool to restrain the voltage fluctuation for low-power devices in the distribution network. The dynamic voltage regulator (DVR) [14] can directly and quickly compensate the instantaneous voltage sag and swell. The unified power quality controller (UPQC) [15], comprised of the series APF and shunt APF, can make comprehensive compensation of voltage and current for the grid.

In less than two decades, cascade power converters based on modular multilevel converter (MMC) have been widely studied in scientific researches and engineering applications. Due to the identical module structure, MMC greatly reduces the manufacturing difficulty and cost of high- and medium-voltage converters. Compared with the traditional power quality compensators, MMC based compensators have special advantages in standardization, expansibility, redundancy, fault ride-through, voltage level and filtering requirement [16, 17]. On the one hand, the modular power quality compensator can effectively lessen the rated voltage of the power switch and energy storage element in the sub module, which allows the use of low-loss and low-cost switch devices. On the other hand, the cascaded structure directly expands the application of diversified power quality compensator in medium- and high-voltage transmission systems. Currently, the APF, STATCOM, UPQC based on MMC have been discussed at a preliminary level [1820]. Due to their novel topology, many new problems different from traditional power converters need to be addressed. More precisely, the multilevel structure inevitably requires a complex control system since large amounts of data must be processed within a short time. This limits the engineering application and development of MMC in the field of power quality control. More intensive theoretical and practical studies should be investigated to determine how to coordinate the interior power control, modulation method, circulating current suppression, and voltage balancing with exterior voltage and current compensation requirements. Fortunately, with the development of digital processing technology, the realization of complex topology and control system will gradually become simplified.

2.2 Active control technology

Active control technology is used to improve the impedance characteristics of the electrical equipment so as to prevent most power quality problems.

With the transmission and distribution network being instrumented, interconnected and intelligent, power quality problems caused by the future electrical equipment, especially the power electronics converting system, will be significantly mitigated. At present, the power factor correction (PFC) and pulse width modulation (PWM) technology have improved the power quality of rectifier devices [21]. The distributed generation and microgrid inverter using the active control [22] not only improve the quality of output voltage and current in distributed system, but also provide some extra compensation capacity for the adjacent grid. Further on, the prospective solid-state transformer (SST) [23] will block the transmission and emission of power quality problems between the power consumer side and power distribution side. The power quality level of the entire power grid will be enhanced due to the MMC-based high voltage direct current (HVDC) transmission and multi-terminal HVDC technology [24].

3 Control method of power quality compensator

Nowadays, power quality control equipment generally employs the voltage source converter or current source converter. The output of converters can be regulated to control the power quality according to the voltage or current reference. The control method of the converter has a significant impact on the effect on power quality control. There are a lot of literatures describing the control methods, which are hysteresis control, dead-beat control, model predictive control, proportional integral control, proportional resonant control, repetitive control, and nonlinear robust control.

Hysteresis control (HC) is simple to realize and has a fast response speed, but its control accuracy depends on the hysteresis bandwidth and the switch frequency is unfixed [25, 26]. Dead-beat control (DBC) is based on state equations of the converter and has a good dynamic performance with convenient parametric design, but its control performance is easily affected by circuit parameters and control delay. Compensating the control delay and adding state observation can strengthen the anti-jamming ability of the system [2729]. Based on the finite control set of the converter, model predictive control (MPC) selects the output switch state to optimize the cost function. It features good dynamic performance, but it is also a challenge to the control system because of a large computation requirement [3032]. However, developments in digital signal processing will contribute to the scale of application of MPC. In a synchronous reference coordinate system, proportional integral (PI) control [33, 34] has been widely used due to its tracking ability without error. Nevertheless, when applied to APF, it cannot realize zero error tracking over a broad frequency range. In order to improve the performance of alternating current control, proportional resonant (PR) control has been developed to achieve infinite gain and zero error tracking at the tuned frequency [35, 36]. Repetitive control, derived from the internal model principle, makes it possible to accurately track the periodic signal and enhance the steady-state performance [37, 38], but its dynamic response still needs to be improved. Making use of the nonlinear characteristics of the converter, sliding mode control based on feedback linearization is proposed in [3941], where it can improve the dynamic performance as well as the robustness of the system. In [42, 43], the artificial neural network controller and the linear quadratic Gaussian controller are designed to optimize the performance of APF.

It is noteworthy that a lot of literatures promote methods to improve the compensation performance. [44] presents a multi-PR current controller based on the circuit model, which simplifies the harmonic extraction unit. [45] describes a control method with decoupled fundamental component and harmonic component, resulting in dispensable unit for the harmonic voltage and current detection. Dividing frequency control proposed in [8] and [46] reduces the compensation error of the harmonic current’s amplitude and phase, which is suitable for multi-structure active power filters.

4 Analysis and control of power quality for large scale distributed power plants

With the increasing penetration rate of large-scale distributed power plants by year, the cross-coupling of harmonic resonance between the distributed system and multi-inverter system has become increasingly complicated. The distributed power plant generates a lot of high-frequency and broadband harmonic components [47]. Moreover, there are series and parallel resonances depending on the transmission line configuration and harmonic frequencies. In cases where the background harmonic voltage matches the transmission line parameters, there will be series resonance, resulting in serious amplification of harmonic voltage. Harmonic currents generated by distributed power plants will also result in parallel resonance, causing serious current distortion, further increasing the total harmonic content in the system. Series–parallel resonances are mainly responsible for voltage and current distortions, which disturb the efficient and stable operation of distributed power plants [48, 49]. Therefore, analyzing series and parallel resonance mechanisms of distributed power plant has become a hot topic in power system research.

The influence of transmission line distributed capacitance on harmonic series and parallel resonance is analyzed in [50]. Then, a preliminary resonance suppression method is proposed in [51]. Quantitative analyses of the resonance caused by transformer magnetizing branch, parallel capacitors and other devices are presented in [52]. In [53], the step-up transformer, the reactive power compensation device, distributed capacitance of the transmission line and loads are considered to establish the multiport passive network model. This allows the transmission mechanism of harmonics to be analyzed using the definition of resonance amplification factors. As shown in Fig 3a, double resonance curves are discovered, which means that transmission lines of different distances may amplify a harmonic current twice, or a transmission line of a fixed distance may amplify the harmonic current of different frequencies. For transmission line distance within 100 km in resonance curve 1, the harmonics resonance frequency is between the 11th and 27th, and the amplification factor for the 17th and 19th harmonics may reach 20. In resonance curve 2, the dominant resonance frequency within 200–300 km transmission line is the 9th harmonic, and its amplification factor can reach 10 at the resonance point. As depicted in Fig 3b, apparently, in the case of long-distance transmission (100–300 km), the most dominant resonance frequency is between the 5th and 15th harmonics; the 7th harmonic voltage is magnified about 20 times. Whereas in the case of short-distance transmission (0–100 km), the dominant series resonance frequency is between the 17th and 50th harmonics. At the resonance points, the 17th and 19th harmonic voltages may magnify more than 20 times, and more than 100 times for the 23rd, 27th, 37th and 49th harmonic voltages.

Fig. 3
figure 3

The relationship between the resonance amplification factor and harmonic order, transmission distance

Harmonics generated by large-scale distributed power plants have the characteristics of high frequency and wide frequency range. Therefore, the adverse impact of distributed parameters of high-voltage cables becomes more significant [54].

The methods to eliminate the series-parallel harmonic resonance can be summarized in two categories:

  1. 1)

    By changing the parameters of the transmission network, the harmonic resonance can be restrained [55]. Existing measures set the shunt reactors at both ends of transmission lines to weaken the effect of distributed capacitances. But this approach shows some drawbacks when it is applied to distributed power plants. On the one hand, the shunt reactors reduce the power factor at the export side of distributed power plants. On the other hand, the variation of the output active and reactive power of distributed power plants may cause large voltage fluctuations at the point of common coupling (PCC).

  2. 2)

    Adding filter device can markedly reduce the harmonic content flowing into the grid [56]. Most conventional filter devices are available for lower order harmonic currents compensation, but incapable of eliminating harmonic frequencies more than 25th. Hence, new filter topologies that can effectively accomplish broadband harmonic detection and elimination will undoubtedly be paid critical attention in the near future.

It is worthy of note that the hybrid active power filter with the grid current detection function [57] can be equivalent to a harmonic impedance in series with the grid impedance. It can ameliorate the grid equivalent impedance to suppress the resonance. Concurrently, harmonic currents will be filtered at low cost. Hence, it is useful for the harmonic management of distributed power plants.

5 Analysis and control of power quality for microgrids and power distribution systems containing microgrids

The DG units, energy storage system (ESS) and loads are connected to the microgrid through power electronics converters. This structure is the main form of the DGs for renewable energy at present. The power quality problems of the microgrid exist in a wide-band frequency domain along with an increasing penetration of the microgrid. Determining how to effectively tackle the problem of the harmonic currents in the wide-band frequency domain caused by the distributed and clustered inverters has been gained much attention in the flied of the power quality of the microgrid operating in both islanded and grid-connected mode [58]. The most significant problems in the islanded mode are how to effectively realize power sharing among parallel inverters, also reduce the fundamental and harmonic circulating currents among them. The prominent problems in grid-connected mode are how to solve the coupling resonant among parallel inverters as well as between the inverters and the distribution network. This section will focus on the new characteristics of the power quality and its control technologies in the microgrid.

5.1 Suppression methods of internal circulating current in microgrids

The equivalent output impedances of the parallel inverters are different from each other at PCC [59] in an AC or hybrid microgrid since the control strategies, filter parameters and length of transmission lines [60], are not the same. Consequently, it will cause the fundamental and harmonic circulating currents, and also the fluctuations of the amplitude and frequency of the PCC voltage of the islanded microgrid [61, 62]. There have three types of circulating currents in the islanded mode, i.e., active circulating current, reactive circulating current and harmonic circulating current. The active circulating current is caused by the frequency and phase deviations of inverter output voltages. The reactive circulating current results from the magnitude deviations of inverter output voltages. The harmonic circulating current is the result of harmonic components of inverter output voltages. The slight deviations of the frequency, phase and magnitude of the inverter output voltages will lead to large fundamental or harmonic circulating currents [63]. Moreover, the circulating currents will reduce the output capacities of the DG units, and increase the line losses, also endanger the safe operation of the microgrid [64, 65].

The virtual impedance technology can effectively reduce the circulating currents by changing the equivalent output impedance of the parallel inverters. The resistive (R-type) inverter, inductive (L-type) inverter, resistive-inductive (RL-type) inverter, and resistive-capacitive (RC-type) inverter can be easily designed by using the virtual impedance technology to meet the different operating requirements of the microgrid [6669]. In general, the output impedance of the inverters in the middle-voltage-level microgrid is designed to be inductive; on the contrary, the output impedance is often designed to be resistive-inductive in the low-voltage-level microgrid.

5.2 Harmonic analysis and suppression in the microgrids operating in grid-connected mode

The nonlinear action and dead time effect of distributed inverter bring plenty of high-order harmonic currents in the microgrids. Thus, the output filter devices for inverters are indispensable. There have two main types of output filter for inverters in grid-connected mode, i.e., L-type and LCL-type filter. Besides, the LC-type filter is mainly used in the islanded mode [70]. The equivalent output impedance of each inverter will easily be changed due to the deviation of filter parameters. Impedance coupling exists among the equivalent impedances of the parallel inverters, as well as between the equivalent output impedance of the inverter and the equivalent impedance of the distribution network. Therefore, it can provide a low-impedance channel for specific harmonic, resulting in the amplification of the harmonic current with specific orders. The active damping loop can provide solutions to this problem in terms of the inverter control. Cascade control method [71, 72], splitting capacitance method [73], zero-pole compensation method [74], and filter-capacitor-voltage feedback method [75] are the effective active damping schemes.

The resonant problem of multi-parallel inverters is complex [76, 77], and there exists both a fixed and an unfixed resonant band. The fixed resonant band is caused by inverter filter system, and its resonant frequencies will not migrate with the different number of parallel inverters. However, the unfixed resonant band results from the coupling effect of the equivalent output impedance of the parallel inverter system and its resonant frequencies will migrate to the low-frequency range along with the increase in the number of the parallel inverters. In addition, the series resonance exists between the parallel inverter and the distribution network [78], and its resonance peak frequency will also migrate to the low-frequency range along with the increase in the number of parallel inverters. To restrain the series resonance, the Nyquist stability criterion can be extended to provide a feasible solution for reshaping the equivalent output impedance of the inverter. Besides, the active damping schemes should be taken to attenuate the coupling resonance among parallel inverters.

6 Trends and prospects of power quality control

With concern about the consumption of fossil fuels and the resulting greenhouse effect, a large number of sustainable energy sources are connected to the utility grid in the form of DGs. This will affect the power quality of power grid and bring new demands of the compensation devices. At the same time, the potential application of wide band semiconductors (SiC), and the development of new converter topologies will promote the development of advanced power quality compensators. In addition, solid state circuit breakers, SSTS and MMC-HVDC, which can cooperatively control active power and reactive power to achieve power quality active control, have been extensively studied. The continuous application of such technology will have a positive impact on power quality control.

Considering the issues and technologies presented in these papers, the following areas require further research:

  1. 1)

    The harmonics generated by power electronics converters have characteristics of high-frequency, wide frequency range, and multi-type coupling. How to detect and suppress the high-order harmonics and inter-harmonics still needs to be further investigated.

  2. 2)

    The emission level and superposition characteristic of the power quality problem as well as the interaction effect between the micro-grid and the utility grid are worth researching.

  3. 3)

    Power quality characteristics of large wind power farms, photovoltaic power plants, their interaction effect with public power grid and suitable power quality control methods merit intensive research.

  4. 4)

    The characteristics of the power quality in large scale distributed power plant as well as the power quality control method are prime candidates for in-depth study.

  5. 5)

    New designs for power quality compensators based on wide band semiconductors or modular multilevel technology need to be developed.

  6. 6)

    The functionality and widespread application of solid state circuit breakers, solid state transformers and MMC-HVDC, all of which can perform active power quality control, require in-depth research.

7 Conclusion

With the growth of extensive nonlinear loads and renewable power integration, power quality problems in distribution grids have become increasingly serious. Problems such as voltage fluctuation, voltage sag, harmonic and reactive power, not only directly harm the normal operation of sensitive loads, but also decrease the power transmission efficiency of the distribution system. This paper summarizes available and emerging control technologies to solve power quality problems in the strong smart grid. Particularly, it focuses on new power quality features, control technologies and trends and prospects, to form a valuable reference to assist the secure and economical operation of distribution grids.