Next Article in Journal
DC Voltage Adaptive Droop Control Strategy for a Hybrid Multi-Terminal HVDC System
Next Article in Special Issue
Direct Fixed-Step Maximum Power Point Tracking Algorithms with Adaptive Perturbation Frequency
Previous Article in Journal
Switching Characteristics Optimization of Two-Phase Interleaved Bidirectional DC/DC for Electric Vehicles
Previous Article in Special Issue
Energy Routing Control Strategy for Integrated Microgrids Including Photovoltaic, Battery-Energy Storage and Electric Vehicles
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Using High-Bandwidth Voltage Amplifier to Emulate Grid-Following Inverter for AC Microgrid Dynamics Studies

1
Department of Electrical Energy Engineering, Tampere University of Technology, 33720 Tampere, Finland
2
Department of Automation and Hydraulics, Tampere University of Technology, 33720 Tampere, Finland
3
Department of Electrical Engineering, Eindhoven University of Technology, 5600 Eindhoven, The Netherlands
4
DNV-GL, 6812 Arnhem, The Netherlands
5
Department of Management and Engineering, University of Padova, 35121 Padova, Italy
*
Author to whom correspondence should be addressed.
Energies 2019, 12(3), 379; https://doi.org/10.3390/en12030379
Submission received: 12 December 2018 / Revised: 22 January 2019 / Accepted: 22 January 2019 / Published: 25 January 2019
(This article belongs to the Special Issue Power Electronics in Renewable Energy Systems)

Abstract

:
AC microgrid is an attractive way to energize local loads due to remotely located renewable generation. The AC microgrid can conceptually comprise several grid-forming and grid-following power converters, renewable energy sources, energy storage and local loads. To study the microgrid dynamics, power-hardware-in-the-loop (PHIL)-based test setups are commonly used since they provide high flexibility and enable testing the performance of real converters. In a standard PHIL setup, different components of the AC microgrid exist as real commercial devices or electrical emulators or, alternatively, can be simulated using real-time simulators. For accurate, reliable and repeatable results, the PHIL-setup should be able to capture the dynamics of the microgrid loads and sources as accurately as possible. Several studies have shown how electrical machines, dynamic RLC loads, battery storages and photovoltaic and wind generators can be emulated in a PHIL setup. However, there are no studies discussing how a three-phase grid-following power converter with its internal control functions should be emulated, regardless of the fact that grid-following converters (e.g., photovoltaic and battery storage inverters) are the basic building blocks of AC microgrids. One could naturally use a real converter to represent such dynamic load. However, practical implementation of a real three-phase converter is much more challenging and requires special knowledge. To simplify the practical implementation of microgrid PHIL-studies, this paper demonstrates the use of a commercial high-bandwidth voltage amplifier as a dynamic three-phase power converter emulator. The dynamic performance of the PHIL setup is evaluated by identifying the small-signal impedance of the emulator with various control parameters and by time-domain step tests. The emulator is shown to yield the same impedance behavior as real three-phase converters. Thus, dynamic phenomena such as harmonic resonance in the AC microgrid can be studied in the presence of grid-following converters.

1. Introduction

Three-phase power electronics converters are essential building blocks of AC microgrids. They are used for interfacing distributed resources, such as photovoltaic generators, fuel cells and wind generators, electrical energy storage and electrical loads of various types. A conceptual AC microgrid formed by renewable generation, conventional synchronous generator, local DC and AC loads, energy storage and possibility for grid connection, is illustrated in Figure 1. The complexity of the microgrid increases when more sources and loads are replaced by the power electronics interfaces. Microgrids based solely on power electronic converters can be already found on ships, airplanes and tractions systems [1,2,3]. To reach power system with 100 percent renewable energy generation, the power system should rely on grid-forming converters to regulate AC voltage and frequency [4]. The presence of many different converters, from various manufacturers and with different internal control parameters, complicates model-based stability and power quality studies of the AC microgrid. Power-hardware-in-the-loop (PHIL) has been proven to be an effective method to study systems that are difficult to analyze using analytical or numerical models [5].
Power quality and stability problems caused by the interaction between the converters and the grid impedance is currently gaining significant amount of attention in industry and academia [6,7,8]. The converter–grid interface suffers from resonance if the ratio of converter and grid impedance does not satisfy the Nyquist stability criterion [9,10,11]. Moreover, the control performance and stability margin of a grid-forming converter can be significantly reduced by the load impedance seen at its output terminals [12]. The most challenging load impedances are RLC-resonant passive load and other power converters, such as grid-following inverters and active front-ends.
Dynamics of the AC microgrid can be studied using different simulation software, hardware-in-the-loop (HIL) or power-hardware-in-the-loop (PHIL) simulations and experimental tests on real equipment. HIL and controller-in-the-loop (CIL) simulations are effective methods to eliminate critical programming and hardware errors from the power converter control platform before actual prototype implementation [13]. PHIL tests have gained a lot of attention recently due to the fact that real converters can be tested in realistic conditions that are also well defined and repeatable. PHIL tests are no longer restricted to testing scaled-down prototypes since power amplifiers with a rating of several megawatts are available [14]. Moreover, the equipment in the PHIL test setup can be oversized to withstand large over-currents and over-voltages to enable reliable and fast protection and to avoid physical damage to converter under test.
Many papers have studied the use of the PHIL-concept to emulate the impedance of the power system in order to have an accurate electrical equivalent for the transmission line in order to test the performance of grid-following inverters [15]. The real grid impedance varies over time, which makes its emulation using a set of passive components impractical [16]. A three-phase back-to-back converter is used to emulate transient behavior and different load characteristics of an induction motor in [17], with a further extension covering saturation effects and experimental results in [18]. The emulation of an induction machine is considered in [19] using a combination of real-time digital simulator and back-to-back converter. In [20], a three-phase inverter is used to emulate passive RLC loads, including the possibility to emulate asymmetrical loading conditions. Furthermore, electrical emulation of AC loads has been demonstrated recently by several authors [21,22,23,24]. A PHIL test bench is presented in [25] to emulate an RLC-load impedance for unintentional islanding tests. Furthermore, the impedance behavior of the RLC load is considered and experimental impedance measurements up to 3 kHz are provided.
A vast amount of literature discusses impedance emulation of different components of the AC microgrid. However, a grid-following converter is an essential component in AC microgrid as it can be used as the DC-AC interface between various renewable source or energy storage and the AC microgrid. To allow reliable studies of dynamic phenomena of the AC microgrid, the PHIL-setup should be able to represent the small-signal impedance of the loads and sources as accurately as possible. Several studies have shown how electrical machines, dynamic RLC loads, battery storages and photovoltaic and wind generators can be emulated in a PHIL setup. However, there are no studies showing how a three-phase grid-following power converter with its control functions, such as AC current control, grid-voltage-feedforward and grid synchronization, should be emulated. One could naturally use a real inverter prototype to represent such dynamic load. However, practical implementation of a real three-phase converter is challenging and requires special knowledge on, e.g., the characteristics of the semiconductor switches, signal conditioning, over-current and over-voltage protection, auxiliary power circuitry design and electrical safety. Therefore, this paper shows how a standard laboratory voltage amplifier can be turned into a three-phase power converter, requiring only a passive AC filter to represent the passive parts of the converter impedance and a real-time simulator for implementing the control functions to represent the active parts of the converter impedance.
This paper discusses the control design and implementation of a power-hardware-in-the-loop (PHIL) setup based on a four-quadrant voltage amplifier to emulate the small-signal behavior of three-phase grid-following converter. The output impedance of the emulator is validated by frequency response measurements, which is shown to capture the small-signal dynamics caused by AC current control, grid-voltage feedforward and grid synchronization accurately. Therefore, the proposed PHIL setup can be applied to study stability and power quality problems caused by dynamic anomalies, such as harmonic resonance in a AC microgrid with a complex structure, as shown in Figure 1.
The main contributions of this paper are summarized as:
  • It is shown how a standard voltage amplifier can be configured to represent a three-phase grid-following converter in an AC microgrid PHIL test setup.
  • The output impedance of the emulator concept is verified by frequency response measurements.
  • The emulator is able to represent the effects of current control, phase-locked-loop and grid voltage feedforward in its output impedance behavior.
  • It is demonstrated how the internal dynamics of the voltage amplifier can be merged numerically to the dynamic model of the emulator, to necessitate accurate design of control loops and to develop the small-signal impedance model for validation of the frequency response measurements.
Section 2 describes the implementation and control design of the PHIL setup. Section 3 derives the small-signal impedance model, which is used for validation. Section 4 shows that the impedance emulator can replicate accurately the effects of phase-locked-loop, current control and grid voltage feedforward. Conclusions are derived in Section 5.

2. Emulating Converters Using a Laboratory Voltage Amplifier

Practical tests were carried out in the Flex Power Grid laboratory of DNV-GL, located in Arnhem, the Netherlands. The laboratory is equipped with a 16-channel voltage/current amplifier. The amplifier has several output stages, which were configured in groups of three, as illustrated in Figure 2. Each amplifier can operate in four quadrants, thus each can generate or absorb real and reactive power.
The exact parameters and internal control functions of the amplifiers were not known. Therefore, dynamic characterization had to be carried out before attempting to emulate the impedance of a grid-following converter. The output stages Out-1A to Out-1C were used to emulate the output terminals of a three-phase grid-following converter and output stages Out-2A to Out-2C were configured to emulate a three-phase current/voltage sink to generate the nominal loading conditions for the emulator. The rated power of a single amplifier was 35 kVA. Thus, the maximum power of the emulator was 105 kVA.
The closed-loop frequency response of amplifier group 1 was first identified, over which the control loops, mimicking inverter control dynamics, were later designed. A synchronous reference frame was realized using a real-time simulator from OPAL-RT. Transformation between the natural (abc) reference frame and the synchronous (dq0) reference frames was achieved using the transformation matrices defined in Equations (1) and (2). The principle of the measurement setup is shown in Figure 3. The frequency response of the lower amplifier group was measured by injecting a sine-sweep perturbation to its reference voltage vector v dq 1 ref and by using a frequency response analyzer to extract the frequency response from the reference to the actual amplifier output voltage vector v dq 1 . The amplifier was loaded by amplifier group 2, which was configured to act as a current sink. The phase-to-ground voltage was set to 230 V rms and grid frequency to 50 Hz.
v d v q v 0 = 2 3 cos θ s cos θ s 2 π 3 cos θ s 4 π 3 sin θ s sin θ s 2 π 3 sin θ s 4 π 3 1 2 1 2 1 2 v a v b v c
v a v b v c = 2 3 cos θ s sin θ s 1 cos θ s 2 π 3 sin θ s 2 π 3 1 cos θ s 4 π 3 sin θ s 4 π 3 1 v d v q v 0
Figure 4 shows the measured frequency response from the reference values to actual voltages produced by the amplifier as solid lines. According to the manufacturer, the amplification stays within ± 1.5 dB up to 5 kHz and the gain experiences its largest magnitude (4 dB) at 17 kHz. However, under loaded condition, the +1.5 dB point was located roughly at 2.5 kHz and the maximum measured amplification was 9.3 dB. Thus, rather than rely on the declared characteristics, it is important to measure the amplifier frequency response in the actual test setup, since the operating point may alter the final response. Otherwise, the designed control loops of the inverter emulator will be erroneous. Moreover, the actual bandwidth may differ because the amplifiers were used in a three-phase configuration. The bandwidth of the amplifier was considered sufficient since grid-following converters usually employ current control with bandwidth of less than 1 kHz. As a comparison, the 2 kHz current control bandwidth of the induction motor emulator in [18] was considered sufficient.
Figure 4 shows the measured cross-coupling frequency responses as dashed lines, i.e., from reference of the d-component to produced q-component and reference of the q-component to produced d-component. The magnitude of both cross-coupling frequency responses was roughly −30 decibels. Thus, the amplifier itself can be considered not to cause significant cross-couplings between the d and q components. The measured frequency responses were later used to design control loops to necessitate accurate emulation of a grid-feeding converter. That is, the frequency responses in Figure 4 were transformed into numerical frequency response vectors and used in solving the dynamic model of the impedance emulator.
The main objective of this study was to use the voltage amplifier to emulate a grid-following three-phase converter. A 2 mH three-phase inductor was connected to the output of the amplifier, as illustrated in Figure 5. The inductor was needed to emulate the passive impedance properties caused by a real AC filter. Moreover, the inductor served as a decoupling impedance since both amplifier groups were internally controlled as voltage sources. The secondary purpose of the decoupling impedance was also to avoid over-currents during turn-on of the voltage amplifiers. The reference voltages for amplifier group 1 can be interpreted as three-phase switch control signals of the emulated inverter and reference voltages for amplifier group 2 as grid voltages.
The output current of the emulator can be derived in the synchronous reference frame, assuming ideal voltage sources, and given as in Equation (3), where r L is the resistance of the inductor and ω s is the fundamental frequency of the AC microgrid.
d d t i L dq = 1 L v 1 dq r L i L dq j ω s i L dq v 2 dq
Dynamic model of the voltage amplifier can be represented in dq-domain using the measured frequency responses of Figure 4 and given as a transfer matrix according to Equation (4).
v ^ d 1 v ^ q 1 = G dd j ω G qd j ω G dq j ω G qq j ω v ^ d 1 ref v ^ q 1 ref
Since Equation (3) is linear, the dynamics of the voltage amplifier in Equation (4) can be substituted into Equation (3) to obtain the linearized state-space of the PHIL setup. Inductor currents i ^ Ld 1 and i ^ L 11 were selected as state variables, reference values of amplifier 1 c ^ d ref and c ^ q ref were selected as control variables, voltages produced by voltage amplifier v ^ d and v ^ q 2 were considered as grid voltages and inductor currents were selected as output variables. s denotes the derivative operator in the frequency domain. It should be noted that the amplifier dynamics are substituted into the state space model as numerical frd-type data vectors.
s i ^ Ld 1 i ^ Lq 1 = r L L ω s ω s r L L A i ^ Ld 1 i ^ Lq 1 + G dd j ω / L G qd j ω / L 0 1 / L G qd j ω / L G qq j ω / L 1 / L 0 B c ^ d ref c ^ q ref v ^ d v ^ q
i ^ d i ^ q = 1 0 0 1 C i ^ Ld 1 i ^ Lq 1
Transfer function matrix can be solved from Equations (5) and (6) according to the well known formula, G = C s I A 1 B + D , where the matrix D is zero. The result is a 2 × 4 matrix that contains the frequency responses of the emulator at open-loop according to Equation (7). It should be noted that the transfer functions are essentially in numerical form, since the actual measured frequency responses were embedded in the state-space in Equation (5).
i ^ od i ^ oq = G codd j ω G coqd j ω Y odd j ω Y oqd j ω G codq j ω G coqq j ω Y odq j ω Y oqq j ω G c ^ d ref c ^ q ref v ^ gd v ^ gq
Current control is implemented in the synchronous reference frame using two PI-controllers. The overall control block diagram is shown in Figure 6 where it is evident that the control dynamics of d- and q-component are coupled. Two loop gains can be solved from the block diagram and given as in Equations (8) and (9), where G cd and G cq are the controller transfer functions and G lp is a first-order low-pass filter. Control design was done using loop-shaping method due to the fact that the transfer functions exist only in numerical form [26]. Control parameters are collected in Table 1.
T dd = G cd G lp G codd G coqd G codq G cd G cq G lp 2 1 + G cq G lp G coqq
T qq = G cq G lp G coqq G coqd G codq G cd G cq G lp 2 1 + G cd G lp G codd
The blue curve in Figure 7 shows the measured control loop gain of the current d-component T dd compared with the numerical frequency response solved from Equation (8). The behavior of the q-component is essentially the same and not shown here. The control loop has crossover frequency of 500 Hz and phase margin of 59 degrees. During the measurement, the amplifier was connected to a second group of amplifiers, which were used to form stable grid voltages as in Figure 5. The measured loop gain matches with the frequency response derived in Equation (8). Thus, the emulator can be used to accurately capture the dynamics from AC current control of the grid-following inverter.
Three-phase converters synchronize their output currents with the grid voltages, thus a phase-locked-loop is implemented. Figure 8 shows the measured loop gain of the PLL and the numerical frequency response obtained from Equation (10), where G delay is a third-order Pade-approximation of the control system delay T delay = 0.5 / f sw . The designed crossover frequency was 20 Hz and phase margin 65 degrees. The measured PLL loop gain follows exactly the analytical model and, thus, the emulator can be used to emulate the effects of different grid synchronization algorithms.
T pll = V d s K P pll + K I pll s G delay
Figure 9 shows the response of AC currents to a symmetrical voltage dip of 25 percent. The currents are well regulated with a peak value of 50 A, which indicates that the system is not susceptible to transients and can be safely operated. A special note should be made regarding the small DC current flowing between the different amplifier groups. The DC current flow is caused by the fact that at DC there are two voltage sources in parallel with very small resistance in between. Thus, even small DC offset between the amplifier reference value may produce large DC current. In [19], an isolation transformer is used to cut the path of circulating DC current. However, in this work, the main goal was to find how accurately the grid-following converter impedance can be emulated, without the effect of transformers, cabling, etc. Moreover, for the used hardware, the DC component presents no problem, since each amplifier group can operate at nominal apparent power in all four quadrants at DC. For future application of these results, it is advised that an isolation transformer (or step-up transformer) is connected between the impedance emulator and the rest of the PHIL setup.
Performance of the current control was compared to a case where current control was intentionally deteriorated by reducing the crossover frequency and phase margin, corresponding to the loop gain illustrated in Figure 7 in red. Figure 10 shows the two cases where reference of the current d-component was suddenly changed from 10 to 50 A. It is evident that the voltage amplifier can reproduce the waveforms that are characteristic of sufficient and insufficient phase margin in the current control. Poorly damped oscillation in the step response is a symptom of low phase margin in the current control loop gain (35 degrees).

3. Small-Signal Admittance Model and Verification of the Emulator

A grid-following converter is operated under AC-current control mode. From the point-of-view of circuit analysis, the converter should be modeled as a Norton-equivalent current source (or sink depending on the direction of power flow). Thus, in this section, the output admittance model is derived and the output admittance of the emulator is measured. However, the admittance can be easily understood as the inverse of impedance, i.e., for an ideal current source its output impedance is infinite and admittance is zero.
The current dynamics can be written using transfer matrices and vector-notation as in Equation (11) or, in short, as in Equation (12). Accordingly, a linear equivalent circuit can be drawn as in Figure 11. The control variable c can be given in the control system reference frame by including the grid voltage feedforward and by taking into account the effect of the phase-locked-loop according to the small-signal relations in Equation (13) or by using transfer matrices as in Equation (14) [27].
i ^ od i ^ oq = G codd G coqd G codq G coqq c ^ d ref c ^ q ref Y odd Y oqd Y odq Y oqq v ^ gd v ^ gq
i o = G co c Y o v o
x ^ d x ^ q = x ^ d x ^ q + T pll V d T pll 0 X q 0 X d v ^ od v ^ oq
x = x + G pll X v o
The control variable can be given in the control system reference frame as in Equation (15), where the controller transfer matrix and feedforward gain matrix can be given as in Equations (16) and (17), respectively.
c = G lp G c i o ref i o + K ff v o
G c = K P cc + K I cc s 0 0 K P cc + K I cc s
K ff = K ffd 0 0 K ffq
By applying Equation (13) for each variable, the control variable c can be given in the ideal grid reference frame according to Equation (18).
c = G lp G c i o ref G c i o + K ff v 2 + G pll G lp K ff V 2 G lp G c I o V 1 v 2
Y o c = I + G lp G co G c 1 Y o G lp K ff G co + G pll G co G c G lp I o G lp K ff V o + C
Substituting the control variable in Equation (12) and solving the admittance yields in Equation (19), where the matrices I o , V 2 and V 1 include the steady-state operating point of AC current and voltage on both sides of the inductor. The matrices are required for transforming the variables between the ideal grid reference frame and the control system reference frame, and are given in the Appendix A. The emulated inverter was controlled at unity power factor, the reference value of the current d-component was 50 A and for the q-component was zero. However, it was observed that small amount of reactive power was flowing between the amplifiers and the actual steady-state value for current q-component was −2 A. The small reactive power exchange was presumably due to the internal capacitor of the voltage amplifier.
Figure 12 shows the admittance components given by the analytical model in blue solid line and the actual measured admittance in red dots. Moreover, the black line represents admittance identified from a switching model of a three-phase inverter with equivalent electrical and control parameters. The switching model was implemented using the SimScape software package in MATLAB Simulink. Thus, the black line represents the admittance that would be expected from a real converter. The cross-coupling admittance terms Y qd and Y dq are order of magnitude smaller than the direct and quadrature components Y dd and Y qq . Therefore, their effect on stability and power quality are minor and the deviation in the accuracy is irrelevant [28]. In the following, the accuracy of the emulator is determined by examining the d- and q-components.
The emulated admittance follows the expected value very precisely up to 500 Hz, which, not by coincidence, places about the crossover frequency of the current control, as shown in Figure 7. The PHIL setup can emulate all the admittance components precisely, including the cross-coupling terms. However, at frequencies higher than 1 kHz, there is a deviation between the expected admittance and the measured admittance. This is likely caused by the unknown output filter and internal active damping or feedforward control of the voltage amplifier. In fact, it is natural to expect the voltage amplifier to reduce the output impedance (increase admittance) outside the emulated control bandwidth. However, the PHIL setup can be concluded to replicate the admittance precisely up to the current control crossover, which is enough to characterize most of the impedance-based interactions, i.e., those caused by grid synchronization, grid voltage feedforward and current control.

4. Effect of Different Control Functions

The phase-locked-loop (PLL) has been shown to make the q-component of inverter impedance resemble a negative resistor below the PLL crossover frequency [27]. Figure 13 shows the measured admittance q-component with different PLL crossover frequencies. In each case, the PLL was tuned for a phase margin of approximately 65 degrees. The measured admittance in solid line gives precisely the same frequency response as the model, which is shown as the dotted line. Thus, the PHIL setup emulates the behavior of the PLL very precisely and the negative resistance region is extended with the increasing PLL crossover frequency. Thus, the PHIL is suitable for studying low-frequency instability caused by grid synchronization, such as the instability in weak grid condition or interaction between several parallel inverters.
To further demonstrate that the emulator represents the effect of the phase-locked-loop correctly, measurements from a low-power photovoltaic inverter prototype are provided in Figure 14. The prototype includes an LCL-type filter and is discussed further in [29]. The phase-locked-loop causes a negative conductance part to the admittance term, which can be seen at frequencies below the bandwidth of the PLL as a constant magnitude and 180-degree phase shift. Moreover, the magnitude of low-frequency admittance is given by the ratio of d-components of the current and voltage, which at the unity power factor is approximately I ac / V ac . Both the admittance measured from the proposed emulator setup and admittance measured from a real inverter have these properties, as summarized in the figure. The difference in magnitude at low frequencies can be explained by different power rating and at high frequencies the prototype differs in current control parameters and AC filter design. However, the effect of the PLL is identical in both cases, since the PLL crossover is set to 20 Hz.
The AC current control aims to make the inverter resemble more closely an ideal current source. In practice, the current control decreases the inverter output admittance below the crossover frequency, by introducing a parallel capacitive output admittance [26]. Figure 15 shows the measured admittance with three different current control crossover frequencies, with identical phase margin. It is evident that increasing the current control crossover frequency makes the admittance smaller, thus making the inverter to behave more closely as an ideal current source. The PHIL setup can, therefore, be used to characterize problems caused by low-bandwidth current control.
Grid voltage feedforward is often used to further decrease the inverter output admittance to mitigate the effect of background harmonics. Figure 16 and Figure 17 show the measured admittance d- and q-component with different values of feedforward gain. Ideally the proportional feedforward gain of a three-phase two-level inverter would be selected as the inverse of DC side voltage, which in the figures is referred as the 100-percent gain. As can be seen in Figure 16, the admittance d-component decreases with increasing feedforward gain as in a real inverter. However, using high gain can make the admittance lose its passive characteristics, as indicated by the red curve, which is why the value of feedforward gain is usually limited. That is, the admittance is determined passive only at the frequencies where the phase-curve stays within ± 90 degrees.
As can be seen in Figure 17, the feedforward does not affect the admittance q-component at low frequencies, where the PLL dominates the admittance behavior. The effect of increasing the feedforward gain on the admittance q-component can be clearly seen in Figure 17 around few hundred hertz, where the admittance decreases when the feedforward gain approaches the nominal value. However, with the nominal value, i.e., 100 percent, the admittance loses its passive characteristics over a much wider bandwidth than what is caused by the PLL, since the phase curve rises above 90 degrees around 100 Hz. This happens regardless of the fact that PLL crossover is only 20 Hz.
To further validate the ability of the emulator setup to replicate the effect of grid voltage feedforward, measured admittance q-component is compared to measurements from the 2.7 kW prototype PV inverter. The admittances are shown in Figure 18 for the emulator setup on the left and for the PV inverter on the right. Even though the admittances cannot be directly compared due to different sizing and parameters of the PV inverter, it is clear that the grid voltage feedforward decreases the magnitude of the admittance at frequencies higher than the PLL crossover frequency. Thus, the emulator setup correctly replicates this effect.
Based on the frequency response measurements, the power-hardware-in-the-loop can be effectively used to emulate the most important features of inverter admittance, including the effect of current control, phase-locked-loop and grid-voltage feedforward. Therefore, the PHIL setup is an attractive approach for stability and power quality analysis of future power systems with ever-increasing complexity, such as the AC microgrids. The steps to configure a voltage amplifier to emulate the small-signal impedance of a grid-connected converter can be summarized as:
  • Characterize the internal small-signal dynamics of the amplifier, i.e., the transfer function from reference voltages to the actual voltages, and transform the measured frequency responses as frd-type data vectors as in Equation (4).
  • Select and appropriate L or LCL-type AC filter to necessitate current control and to decouple the voltage amplifier from the rest of the AC system, i.e., to prevent hazardous over currents during turn-on.
  • Include the measured frequency responses G dd j ω , G qd j ω , G qq j ω and G dq j ω in the state space representation in Equation (5) and solve numerically the open-loop transfer functions as in Equation (7).
  • Tune the PI-controllers to regulate AC current d- and q-component to have the intended phase margin and crossover frequency using Equations (8) and (9).
  • Tune the phase-locked-loop based on the loop gain transfer function in Equation (10).
  • Verify the dynamic step response and output admittance of the emulator setup corresponds to the admittance given by the admittance model in Equation (19), as in Figure 12, Figure 13, Figure 14, Figure 15, Figure 16 and Figure 17.

5. Conclusions

AC microgrids are becoming more common to energize local loads due to increased availability of distributed generation. AC microgrids conceptually comprise several grid-forming and grid-following power converters, renewable sources, energy storages and local loads. Power-hardware-in-the-loop (PHIL)-based studies have gained a lot of interest recently since they allow effortless dynamic tests of AC microgrids with full penetration of renewable energy generation. In a PHIL setup, different components of the microgrid exist as real devices or electrical emulators, or can be simulated using real-time simulators. An example of a PHIL-based simulator is an electrical photovoltaic emulator based on a linear amplifier or switching DC-DC converter. For accurate, reliable and repeatable results, the PHIL-setup should be able to represent the dynamics of the microgrid loads and sources as accurately as possible. Several studies have shown how electrical machines, dynamic RLC loads, battery storages and photovoltaic and wind generators should be emulated in a PHIL setup. However, there are no studies showing how a three-phase grid-following power converter with its internal control functions should be emulated. One could naturally use a real inverter prototype to represent such dynamic load. However, practical implementation of a real three-phase converter is much more challenging and requires special knowledge on, e.g., the characteristics of the semiconductor switches, signal conditioning, over-current and over-voltage protection and auxiliary power circuitry design. Therefore, this paper shows how a commercial laboratory voltage amplifier can be turned into a three-phase power converter, requiring only a passive AC filter and real-time simulator. Thus, researchers without special knowledge on design of inverters can study the dynamics caused by grid-following inverter-type loads in AC microgrids.
This paper discusses the control design and implementation of a power-hardware-in-the-loop (PHIL) setup based on a four-quadrant voltage amplifier to emulate the small-signal behavior of three-phase converter. It is shown by frequency domain measurements that the admittance of the PHIL-emulator follows precisely the expected impedance value within the current control bandwidth. Therefore, the PHIL setup can be applied to study stability and power quality problems in an AC microgrid. The effect of various control functions on the impedance, such as current control, grid synchronization and grid voltage feedforward, are successfully demonstrated.

Author Contributions

Conceptualization, T.M., T.R. and Y.S.; Methodology, T.M. and R.L.; Software, T.R., R.L., R.S. and A.F.; Validation, R.L., T.M. and R.S.; Formal Analysis, T.M. and R.L.; Resources, E.d.J.; Writing—Original Draft, T.M.; Writing—Review and Editing, P.M. and T.C.; Visualization, T.M.; Supervision, T.M. and E.d.J.; Project Administration, T.M. and E.d.J.; and Funding Acquisition, T.M., T.R. and E.d.J.

Funding

This research was funded by the European Research Infrastructure (ERIGrid, grant number 654113) and the Academy of Finland (Mitigation of harmonic resonances in three-phase renewable energy systems, grant number 297054). The implementation and measurements were carried out within a two-week research period hosted by DNV-GL in Arnhem, The Netherlands.

Acknowledgments

The authors would like to express their gratitude to rest of the staff of DNV-GL. Especially, for the friendly atmosphere and all the ideas and conversations, that helped to formulate the research topic and main outcomes. Moreover, the staff at the Padova University not mentioned in the text deserve warm thanks for lively discussions around the topic of this paper.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

V 1 = 0 ω s L I d + r L I q + V q 2 0 ω s L I q r L I d V d 2 = 0 31 0 336
V 2 = 0 V q 2 0 V 2 d = 0 0 0 325
I o = 0 I q 0 I d = 0 2 0 50

References

  1. Khooban, M.H.; Dragicevic, T.; Blaabjerg, F.; Delimar, M. Shipboard microgrids: A novel approach to load frequency control. IEEE Trans. Sustain. Energy 2018, 9, 843–852. [Google Scholar] [CrossRef]
  2. Roboam, X.; Sareni, B.; Andrade, A.D. More electricity in the air: Toward optimized electrical networks embedded in more-electrical aircraft. IEEE Ind. Electron. Mag. 2012, 6, 6–17. [Google Scholar] [CrossRef]
  3. Pan, P.; Hu, H.; Yang, X.; Blaabjerg, F.; Wang, X.; He, Z. Impedance measurement of traction network and electric train for stability analysis in high-speed railways. IEEE Trans. Power Electron. 2018, 33, 10086–10100. [Google Scholar] [CrossRef]
  4. Wang, X.; Blaabjerg, F. Harmonic stability in power electronic based power systems: Concept, modeling, and analysis. IEEE Trans. Smart Grid 2018. [Google Scholar] [CrossRef]
  5. Maniatopoulos, M.; Lagos, D.; Kotsampopoulos, P.; Hatziargyriou, N. Combined control and power hardware in-the-loop simulation for testing smart grid control algorithms. IET Gener. Transm. Distrib. 2017, 11, 3009–3018. [Google Scholar] [CrossRef]
  6. Li, C. Unstable operation of photovoltaic inverter from field experiences. IEEE Trans. Power Deliv. 2018, 33, 1013–1015. [Google Scholar] [CrossRef]
  7. Buchhagen, C.; Rauscher, C.; Menze, A.; Jung, J. BorWin1—First Experiences with harmonic interactions in converter dominated grids. In Proceedings of the International ETG Congress 2015: Die Energiewende—Blueprints for the New Energy Age, Bonn, Germany, 17–18 November 2015. [Google Scholar]
  8. Luhtala, R.; Roinila, T.; Messo, T. Implementation of real-time impedance-based stability assessment of grid-connected systems using MIMO-identification techniques. IEEE Trans. Ind. Appl. 2018, 54, 5054–5063. [Google Scholar] [CrossRef]
  9. Aapro, A.; Messo, T.; Roinila, T.; Suntio, T. Effect of active damping on output impedance of three-phase grid-connected converter. IEEE Trans. Ind. Electron. 2017, 64, 7532–7541. [Google Scholar] [CrossRef]
  10. Wang, X.; Harnefors, L.; Blaabjerg, F. Unified impedance model of grid-connected voltage-source converters. IEEE Trans. Power Electron. 2018, 33, 1775–1787. [Google Scholar] [CrossRef]
  11. Wen, B.; Boroyevich, D.; Burgos, R.; Mattavelli, P.; Shen, Z. Small-signal stability analysis of three-phase AC systems in the presence of constant power loads based on measured d-q frame impedances. IEEE Trans. Power Electron. 2015, 30, 5952–5963. [Google Scholar] [CrossRef]
  12. Berg, M.; Messo, T.; Suntio, T. Frequency response analysis of load effect on dynamics of grid-forming inverter. In Proceedings of the International Power Electronics Conference, IPEC-ECCE Asia, Niigata, Japan, 20–24 May 2018. [Google Scholar]
  13. Kadam, A.H.; Menon, R.; Williamson, S.S. Traction inverter performance testing using mathematical and real-time controller-in-the-loop permanent magnet synchronous motor emulator. In Proceedings of the IECON 2016—42nd Annual Conference of the IEEE Industrial Electronics Society, Florence, Italy, 23–26 October 2016. [Google Scholar]
  14. McKinney, M.H.; Fox, J.C.; Collins, E.R.; Bulgakov, K.; Salem, T.E. Design, development, and commissioning of a multimegawatt test facility for renewable energy research. IEEE Trans. Ind. Appl. 2016, 52, 11–17. [Google Scholar] [CrossRef]
  15. Kotsampopoulos, P.C.; Lehfuss, F.; Lauss, G.F.; Bletterie, B.; Hatziargyriou, N.D. The limitations of digital simulation and the advantages of PHIL testing in studying distributed generation provision of ancillary services. IEEE Trans. Ind. Electron. 2015, 62, 5502–5515. [Google Scholar] [CrossRef]
  16. Jessen, L.; Günter, S.; Fuchs, F.W.; Gottschalk, M.; Hinrichs, H.J. Measurement results and performance analysis of the grid impedance in different low voltage grids for a wide frequency band to support grid integration of renewables. In Proceedings of the 2015 IEEE Energy Conversion Congress and Exposition (ECCE), Montreal, QC, Canada, 20–24 September 2015. [Google Scholar]
  17. Masadeh, M.A.; Pillay, P. Power electronic converter-based three-phase induction motor emulator. In Proceedings of the 2016 IEEE International Conference on Power Electronics, Drives and Energy Systems (PEDES), Trivandrum, India, 14–17 December 2016. [Google Scholar]
  18. Masadeh, M.A.; Amitkumar, K.S.; Pillay, P. Power electronic converter-based induction motor emulator including main and leakage flux saturation. IEEE Trans. Transp. Electrif. 2018, 4, 483–493. [Google Scholar] [CrossRef]
  19. Vodyakho, O.; Steurer, M.; Edrington, C.S.; Fleming, F. An induction machine emulator for high-power applications utilizing advanced simulation tools with graphical user interfaces. IEEE Trans. Energy Convers. 2012, 27, 160–172. [Google Scholar] [CrossRef]
  20. Meissner, M.; Gensior, A.; Merk, P.; Reincke-Collon, C. Load emulation in an inverter-dominated medium voltage island grid. In Proceedings of the 2014 IEEE 15th Workshop on Control and Modeling for Power Electronics (COMPEL), Santander, Spain, 22–25 June 2014. [Google Scholar]
  21. Wang, J.; Yang, L.; Ma, Y.; Wang, J.; Tolbert, L.M.; Wang, F.F.; Tomsovic, K. Static and dynamic power system load emulation in a converter-based reconfigurable power grid emulator. IEEE Trans. Power Electron. 2016, 31, 3239–3251. [Google Scholar] [CrossRef]
  22. Kanaan, H.Y.; Caron, M.; Al-Haddad, K. Design and implementation of a two-stage grid-connected high efficiency power load emulator. IEEE Trans. Power Electron. 2014, 29, 3997–4006. [Google Scholar] [CrossRef]
  23. Rao, Y.S.; Chandorkar, M. Electrical load emulator for unbalanced loads and with power regeneration. In Proceedings of the 2012 IEEE International Symposium on Industrial Electronics, Hangzhou, China, 28–31 May 2012. [Google Scholar]
  24. Hogan, D.J.; Gonzalez-Espin, F.; Hayes, J.G.; Foley, R.; Lightbody, G.; Egan, M.G. Load and source electronic emulation using resonant current control for testing in a microgrid laboratory. In Proceedings of the 2014 IEEE 5th International Symposium on Power Electronics for Distributed Generation Systems (PEDG), Galway, Ireland, 24–27 June 2014. [Google Scholar]
  25. Caldognetto, T.; Dalla Santa, L.; Magnone, P.; Mattavelli, P. Power electronics based active load for unintentional islanding testbenches. IEEE Trans. Ind. Appl. 2017, 53, 3831–3839. [Google Scholar] [CrossRef]
  26. Suntio, T.; Messo, T.; Puukko, J. Power Electronic Converters: Dynamics and Control in Conventional and Renewable Energy Applications; Wiley-VCH: Weinheim, Germany, 2017; pp. 633–661. ISBN 978-3-527-34022-4. [Google Scholar]
  27. Messo, T.; Jokipii, J.; Makinen, A.; Suntio, T. Modeling the grid synchronization induced negative-resistor-like behavior in the output impedance of a three-phase photovoltaic inverter. In Proceedings of the 2013 4th IEEE International Symposium on Power Electronics for Distributed Generation Systems (PEDG), Rogers, AR, USA, 8–11 July 2013. [Google Scholar]
  28. Messo, T.; Aapro, A.; Suntio, T. Generalized multivariable small-signal model of three-phase grid-connected inverter in DQ-domain. In Proceedings of the 2015 IEEE 16th Workshop on Control and Modeling for Power Electronics (COMPEL), Vancouver, BC, Canada, 12–15 July 2015; pp. 1–8. [Google Scholar]
  29. Messo, T.; Luhtala, R.; Aapro, A.; Roinila, T. Accurate impedance model of grid-connected inverter for small-signal stability assessment in high-impedance grids. In Proceedings of the 2018 International Power Electronics Conference (IPEC-Niigata 2018-ECCE Asia), Niigata, Japan, 20–24 May 2018; pp. 3156–3163. [Google Scholar]
Figure 1. An AC microgrid in which dynamics are dominated by power electronics converters.
Figure 1. An AC microgrid in which dynamics are dominated by power electronics converters.
Energies 12 00379 g001
Figure 2. Six output channels of the power amplifier configured as two groups.
Figure 2. Six output channels of the power amplifier configured as two groups.
Energies 12 00379 g002
Figure 3. Test setup to measure closed-loop frequency response of the voltage amplifier under loaded condition.
Figure 3. Test setup to measure closed-loop frequency response of the voltage amplifier under loaded condition.
Energies 12 00379 g003
Figure 4. Measured frequency response of amplifier in internal voltage control mode when it is loaded by 50 A peak AC current.
Figure 4. Measured frequency response of amplifier in internal voltage control mode when it is loaded by 50 A peak AC current.
Energies 12 00379 g004
Figure 5. Test setup to verify the emulated impedance.
Figure 5. Test setup to verify the emulated impedance.
Energies 12 00379 g005
Figure 6. Current control dynamics.
Figure 6. Current control dynamics.
Energies 12 00379 g006
Figure 7. Modeled (solid) and measured (dotted) loop gain of d-current control for two different parameter settings.
Figure 7. Modeled (solid) and measured (dotted) loop gain of d-current control for two different parameter settings.
Energies 12 00379 g007
Figure 8. Modeled (solid) and measured (dotted) loop gain of the phase-locked-loop.
Figure 8. Modeled (solid) and measured (dotted) loop gain of the phase-locked-loop.
Energies 12 00379 g008
Figure 9. AC waveforms during a sudden symmetrical voltage dip of 25 percent with well-designed current control.
Figure 9. AC waveforms during a sudden symmetrical voltage dip of 25 percent with well-designed current control.
Energies 12 00379 g009
Figure 10. Step response of currents in dq-domain with well-designed (upper) and poorly designed (lower) current control.
Figure 10. Step response of currents in dq-domain with well-designed (upper) and poorly designed (lower) current control.
Energies 12 00379 g010
Figure 11. Equivalent small-signal circuit with control system.
Figure 11. Equivalent small-signal circuit with control system.
Energies 12 00379 g011
Figure 12. Comparison of expected and measured admittance.
Figure 12. Comparison of expected and measured admittance.
Energies 12 00379 g012
Figure 13. Admittance q-component with different phase-locked-loop crossover frequencies.
Figure 13. Admittance q-component with different phase-locked-loop crossover frequencies.
Energies 12 00379 g013
Figure 14. Admittance q-component measured from emulator and 2.7 kW PV inverter prototype.
Figure 14. Admittance q-component measured from emulator and 2.7 kW PV inverter prototype.
Energies 12 00379 g014
Figure 15. Admittance d-component with different current control crossover frequencies.
Figure 15. Admittance d-component with different current control crossover frequencies.
Energies 12 00379 g015
Figure 16. Admittance d-component with different gains for grid voltage feedforward.
Figure 16. Admittance d-component with different gains for grid voltage feedforward.
Energies 12 00379 g016
Figure 17. Admittance q-component with different gains for grid voltage feedforward.
Figure 17. Admittance q-component with different gains for grid voltage feedforward.
Energies 12 00379 g017
Figure 18. Admittance q-component with and without the grid voltage feedforward: from the proposed emulator (left); and from PV inverter prototype (right).
Figure 18. Admittance q-component with and without the grid voltage feedforward: from the proposed emulator (left); and from PV inverter prototype (right).
Energies 12 00379 g018
Table 1. Parameters.
Table 1. Parameters.
V ac 230 V K P cc 6.4 K ffd 0 ... 1.0
P ac 25 kW K I cc 2018 K ffq 0 ... 1.0
ω s 2 π · 50 Hz K P pll 0.35L2 mH
f sample 20 kHz K I pll 21.9 r L 200 m Ω

Share and Cite

MDPI and ACS Style

Messo, T.; Luhtala, R.; Roinila, T.; de Jong, E.; Scharrenberg, R.; Caldognetto, T.; Mattavelli, P.; Sun, Y.; Fabian, A. Using High-Bandwidth Voltage Amplifier to Emulate Grid-Following Inverter for AC Microgrid Dynamics Studies. Energies 2019, 12, 379. https://doi.org/10.3390/en12030379

AMA Style

Messo T, Luhtala R, Roinila T, de Jong E, Scharrenberg R, Caldognetto T, Mattavelli P, Sun Y, Fabian A. Using High-Bandwidth Voltage Amplifier to Emulate Grid-Following Inverter for AC Microgrid Dynamics Studies. Energies. 2019; 12(3):379. https://doi.org/10.3390/en12030379

Chicago/Turabian Style

Messo, Tuomas, Roni Luhtala, Tomi Roinila, Erik de Jong, Rick Scharrenberg, Tommaso Caldognetto, Paolo Mattavelli, Yin Sun, and Alejandra Fabian. 2019. "Using High-Bandwidth Voltage Amplifier to Emulate Grid-Following Inverter for AC Microgrid Dynamics Studies" Energies 12, no. 3: 379. https://doi.org/10.3390/en12030379

APA Style

Messo, T., Luhtala, R., Roinila, T., de Jong, E., Scharrenberg, R., Caldognetto, T., Mattavelli, P., Sun, Y., & Fabian, A. (2019). Using High-Bandwidth Voltage Amplifier to Emulate Grid-Following Inverter for AC Microgrid Dynamics Studies. Energies, 12(3), 379. https://doi.org/10.3390/en12030379

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop