Next Article in Journal
Reduction of the Electromagnetic Torque Oscillation during the Direct on Line (DOL) Starting of a 6 kV Motor by Means of a Controlled Vacuum Circuit-Breaker
Previous Article in Journal
Immobilization of Alcohol Dehydrogenase, Acetaldehyde Lyase, and NADH Oxidase for Cascade Enzymatic Conversion of Ethanol to Acetoin
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Modified Master–Slave Controller for Stable Power Supply of Energy Storage Based Microgrid

by
Byoung-chang Jeong
Realtech Co., Ltd., Youngin 17043, Gyeonggi, Korea
Energies 2022, 15(12), 4245; https://doi.org/10.3390/en15124245
Submission received: 21 March 2022 / Revised: 21 May 2022 / Accepted: 6 June 2022 / Published: 9 June 2022

Abstract

:
This paper presents a method for supplying stable electricity using renewable energy sources and energy storage systems (ESSs) in a small-scale microgrid (MG) such as an island. Traditional control methods, such as master–slave control and droop control, have focused on equalizing power sharing among a small number of generators and do not deal well with emergencies such as unplanned generator failures. This paper proposes a control method that can stably maintain the frequency of the MG in various situations by combining the advantages of master–slave control and droop control and complementing the disadvantages. Simulations were performed under various conditions to verify the proposed control method.

1. Introduction

When it is difficult to connect directly to a large system, such as on an island or in a mountainous area, an MG that supplies electricity with a diesel generator is built to supply electricity. In Korea, diesel generators supply electricity to 57 islands managed by KEPCO (Korea Electric Power Corporation) and some islands managed by local governments. In some cases, one diesel generator is used on islands managed by local governments, but at least three diesel generators are installed on islands managed by KEPCO and two or more diesel generators operate simultaneously. According to data from KEPCO, 57 islands managed by KEPCO consumed 77,710 kiloliters of diesel for power generation in 2019, while 73,489 kiloliters were consumed in 2020 when the number of tourists decreased due to the COVID-19 pandemic [1]. In order to reduce the use of fossil fuels, Korea has made several attempts to supply electricity to the MG using renewable energy and ESS since 2012. On Gasa island, in one of several trials, diesel consumption decreased by about 75% compared to before the installation of renewable energy and ESSs [2]. However, most attempts to replace diesel generators with renewable energy and ESSs in Korea have been unsuccessful. There is one ESS used for charging or discharging, and, for economic reasons, a diesel generator plays an important role [3].
When one ESS operates at a constant frequency, it has the advantage that the frequency of the MG remains constant at the nominal frequency. However, if renewable energy and load are distributed over a wide area, the voltage of each part of the MG will fluctuate according to the amount of renewable energy generation and load even if the ESS regulates the voltage as constant at the connection point. Moreover, if a failure occurs in the ESS, a power outage occurs in the MG, which reduces the reliability of the power supply. Considering an increase in power demand over a long period of time, the initial investment cost is excessive, because it is necessary to install an ESS with an excessively larger capacity than the full load from the beginning. In addition, since the ESS cannot be operated at the optimal operating point, the efficiency of the entire MG is also lowered.
Considering the stability and scalability of the MG, multiple ESSs whose unit capacity is smaller than the maximum power demand of the MG must be installed and operated in parallel. In order to maximize the efficiency of the entire MG, it is necessary to determine the operation and stop of each ESS, as well as the operational reference value. When it is necessary to expand the ESS according to the increase in power demand, it is possible to easily respond to the increase in power demand by adding an ESS with a capacity corresponding to the increased power demand. Finally, the frequency must be stable even if some of the operating ESSs fail.
The ESS supplies power to the grid or absorbs power from the grid through a power converter. Various control methods have been proposed to share power among multiple power converters [4,5,6,7,8,9,10,11,12,13,14,15,16]. Most of the research has aimed at equally distributing power between power converters operating in parallel, and some studies have considered dropouts of power converters operating in parallel or sudden changes in load. The method for operating multiple power converters in parallel can be broadly divided into the master–slave control method and the droop control method.
In the master–slave control method, one set of generators, designated as master devices, outputs a constant frequency voltage [5]. Other devices are designated as slave devices and operate in synchronization, with the voltage and frequency generated by the master device. Slave devices control active and reactive power according to commands from the central controller [5,6,8]. Basically, the master–slave control method requires a high-speed communication scheme, but a control method using a low-speed communication scheme has also been studied. The master device receives the maximum and minimum power data that can be generated from the distributed generators and transmits the transmission factor to all the slave devices to control the voltage of the microgrid so that it does not exceed the allowable range [9]. In addition, the microgrid is divided into a DC part and an AC part, and using wireless communication, the information from devices located in each part is collected, and the amount of power generated is controlled to control the power flowing from utility to ‘0’ [10]. Since the master device retains a constant frequency, the frequency supplied to the load has the advantage of being constant. However, if the load fluctuation range is large or other power generation devices are separated due to failure, etc., the master device bears the increased or decreased active power and reactive power. In this process, the master device becomes overloaded, and the master device controller determines that it is an overload failure and can disconnect itself from the grid. In order to prevent the master device from being disconnected due to an overload fault, either the master device is designed to exceed the actual required capacity, or the central controller must command a new power reference value to the slave devices within several milliseconds to several tens of milliseconds. In the laboratory, it is possible to command the power reference value at a high speed, but in an island MG environment, where various distributed power sources are distributed in a wide area, it is impossible to command the power reference value at a high communication speed.
In the droop control method, all controllable devices contribute to maintaining the frequency [5,6,7,11]. The generating devices operate according to each power reference value, and when the frequency or voltage deviates from the set value, they increase or decrease the active power or reactive power in proportion to the difference from the set value [5,6,7,11,12]. Since all devices contribute to maintaining the frequency, there is an advantage that all devices share the transient state, even if the load changes rapidly or the power of the generator changes rapidly. However, if fewer than four or five devices operate with droop control, there are the following problems. In the case where the droop compensation is set to operate slowly, if a failure occurs in one ESS in operation, before the frequency is restored to normal, the normal ESS may be separated from the grid as a low-frequency or high-frequency failure. Conversely, when droop compensation is set to act quickly, it can react sensitively to small power changes in the load or other generators, resulting in continuous ripples in frequency or voltage [12]. A typical droop control method does not require a central controller. However, it is necessary to use an MG central controller to keep the frequency and voltage constant in a situation where the load constantly fluctuates. One case demonstrated the effect of the communication speed between the central controller and the distributed power source [13]. When the central controller collected information on each part of the MG at a 1 ms cycle, the voltage and frequency recovered quickly and smoothly, but when the information collection cycle increased to 500 ms and 1 s, it took several seconds or more to follow the frequency. In an actual MG, information is collected every several hundred milliseconds or longer, so if an ESS fails in a parallel situation, before the frequency is restored to normal, ESSs in normal operation may also be separated from the MGs due to frequency failure. Other studies have shown that it took more than a second to stabilize to the newly formed reactive power sharing point when the load changed rapidly [12]. There was also a study considering the separation of the power converter in parallel operation from the MG [16]. The harmonic filter parameter of the power converter used in the simulation of this study was 6 to 10 times larger than that of the actual power converter. If the harmonic filter parameter was too large compared to the actual one, the voltage and current did not fluctuate rapidly in the transient state. That is, the current of the power converter in operation changed slowly and returned to its normal state before detecting a fault. However, because the parameters were abnormally large, if implemented in practice, the product price would also be abnormally high.
Previous research has used very fast communication with a communication cycle of several milliseconds or less or evenly distributed power between power converters. However, the ESS installed in the MG must be charged or discharged with different reference values according to the situation of each device, and it is difficult to keep the communication cycle as short as several milliseconds, because the distance between each ESS can be several kilometers.
To ensure the reliability to stably maintain an MG and the scalability according to the increase in power demand, this paper proposes a new control that combines the advantages of the master–slave control method and the droop control method. The new control allows the frequency of the MG to be varied within the allowable range depending on the situation, and droop control is applied to the slave device. Moreover, when the master device is disconnected from the MG, the slave device changes to the master device to keep the frequency constant. When the proposed control is applied, each ESS actively responds to changes in voltage and frequency even if there is a large deviation in power supply and demand in the MG and quickly switches to a stable state after a short transient state. To verify the proposed control method, a simulation model based on an actual ESS was developed, and simulations were performed under various conditions.
This paper is organized as follows. Section 2 summarizes the microgrid configuration and traditional control methods. Section 3 describes the proposed control method. In Section 4, the simulation model to validate the proposed control method is arranged. Section 5 compares the proposed control method with the traditional control method. Finally, Section 6 concludes the paper.

2. Conventional MG Control

An MG based on renewable energy and ESS should be configured as shown in Figure 1. The MG central controller communicates with individual distributed power supplies at intervals of hundreds of milliseconds to several seconds to command an operating reference or output limit and collects the operating information of the MG. Multiple ESSs are used, and electricity is supplied from renewable energies such as wind power and solar power. Each ESS performs output control according to the instructions of the MG central controller. Solar power generation and wind power generation using a power converter can limit the power generation through communication from the MG central controller. Diesel generators operate when renewable energy generation is insufficient or when there is a serious problem with the ESS.
Various droop control methods and master–slave control methods have been developed to keep the frequency constant in the MG composed of various power devices. This section briefly summarizes the representative methods.

2.1. Droop Control Method

In order to keep the voltage and frequency constant in the large-scale grid, a large-scale generator, such as thermal power or nuclear power, operates with constant power reference from a central controller. It also controls the voltage at the point where the generator is connected. Basically, the frequency of the grid remains constant around the nominal frequency. However, if the demand for power exceeds the supply due to sudden load fluctuations or some generators drop out from the grid, the frequency of the grid gradually decreases. When the frequency that was kept constant decreases, the rotational speed of the generator decreases in proportion to the frequency. At this time, some of the rotational energy of the rotor is converted into electrical energy and supplied to the grid, and the frequency drop is slowed. In this situation, the controller that manages the entire power grid keeps the frequency constant around the nominal frequency by instructing the generators to respond to the demand with a new active power reference value. Conversely, when the frequency is higher than the nominal frequency, a part of the energy supplied to the grid is used to increase the rotation speed of the generator, and the active power supplied to the grid is reduced, so that the frequency increases slowly. The larger the inertia of the generator, the more active power is supplied or absorbed according to the frequency change.
The droop control method works similarly to the generator control of the large grid in the MG. Each generating device is controlled by the active power reference setting. Similar to how the rotor inertia of a large generator slows down the frequency change, when the frequency of the MG deviates from the set value, it increases or decreases the active power of the generating device in proportion to the frequency change [11,13,14,15].
To summarize from the point of active power, P DG , the sum of the active power of all distributed power sources connected to the grid, is the same as P Line , the sum of the loss in the grid line, and P load , the active power consumed by the total load.
P DG = P Line + P load
The active power of each distributed power supply can be set to P DG / n or set to a different value according to the rated capacity and situation of each power source. In addition, if the frequency measured by each power source is outside the allowable range, the active power compensation value is calculated in proportion to the frequency deviation. Figure 2 shows the concept of frequency-active power droop. The frequency tolerance for droop can be divided into Δ f max when the frequency is high and Δ f min when the frequency is low, and the tolerance can be set to ‘0’. If it is outside the allowable range, the compensation value is calculated in proportion to the deviation. The proportional factor can be set differently for each power source. When the frequency is lowered, more active power is supplied to the grid than the set value or less active power is supplied from the grid.
If the allowable frequency range is set to ‘0’, the active power reference P ref , n of the n-th power source is calculated as follows:
P ref , n = P ref , set , n + K active ( f nom f m ) P nom , n
where P ref , set , n is the active power setpoint of the n-th power source, K active is the frequency-active power droop coefficient, f m is the measured frequency, f nom is the nominal frequency, and P nom , n is the nominal active power of the n-th power source.
Similar to the frequency-active power droop, there is also a voltage-reactive power droop. The voltage reference value is set for each power source, and the reactive power compensation value is calculated when the measured voltage deviates from the voltage reference value [14].
When the droop control method is applied, all distributed generation devices participate to balance the supply and demand of active and reactive power in the grid, so that the load is not concentrated on a specific device in a transient state. Moreover, since no communication is required, it is advantageous to extend the MG to geographically distant places.
However, in the case of fewer devices participating in grid forming, if one of the participating devices is disconnected from the MG, the frequency or voltage will be outside the allowable range, which may lead to a power outage of the entire MG. To enable the droop control to respond quickly to events outside the device, a large droop coefficient can be set. However, if the droop coefficient is too large, it responds sensitively to small changes in power generation or load, resulting in continuous ripples in frequency or voltage.
Droop control does not require a central controller, but in some cases, such as MGs on islands, a central controller is used to change the set value of active power and reactive power and drop coefficient, depending on the situation [5,13].
Various modifications have been proposed to improve the shortcomings of such droop control [5,6].

2.2. Master–Slave Control Method

In the case of an independent operation method in which one device supplies all electricity, one device controls the voltage and frequency at a constant value, and the load operates according to the voltage and frequency generated by the power device. A variable voltage fixed frequency method is also possible, which constantly controls the terminal voltage that fluctuates according to the size of the load. In the case of an MG consisting of a small number of generating devices, there is also a method in which one device synthesizes a voltage of a constant frequency, similar to an independent operation. Other devices share the voltage control by controlling the active and reactive power in synchronization with the frequency generated by one device [8]. This method is master–slave control. The master device operates at a constant frequency, and the slave devices operate with active/reactive power control.
In the case of the master–slave method, a central controller is required, and the slave devices receive the active power set value P ref , set , n and reactive power set value Q ref , set , n from the central controller. The active power of the master device, P master , is determined as follows:
P master = P slave P load P Line
where P slave is the total active power of the slave devices.
Since the active power of the master device is determined according to the demand and supply of active power in the grid, the active power of the master device continuously fluctuates according to the active power fluctuation of other distributed power devices or load fluctuations.
Similar to active power, the reactive power of the master device is also determined by supply and demand in the grid. If the output voltage of the master device is changed to keep the grid voltage constant, the reactive power of the master device is also changed.
In the master–slave control method, the central controller consists of a simple algorithm because the master device balances the supply and demand of active and reactive power. In addition, there is an advantage in that the master device maintains a constant frequency even if the amount of power generation or load changes.
However, the master unit must withstand a transient state until the central controller instructs a new reference value to the slave devices [5]. In the worst case, power greater than nominal power may be applied to the master device. This is a disadvantage of the master–slave method. In addition, when the power generation or load changes rapidly, a fast communication system is required to instruct the reference value to the slave device; thus, if each device is distributed over a long distance, the system cost increases and the scalability decreases.
Various modifications have been proposed to improve the shortcomings of the master–slave control method [5,6].

3. Proposal for an MG Control Method

The advantages and disadvantages of droop control and master–slave control, summarized above, are as follows. Droop control does not concentrate the burden on one generating device even in a transient state, but there is a problem in that the frequency continuously fluctuates when the amount of power generation or the fluctuation range of the load is large. Conversely, the master–slave method can keep the frequency constant, but, in a transient state, an overload can be applied to the master device, and a fast communication system is required.
By combining the advantages of droop control and master–slave control, this paper proposes a control method to stably maintain the frequency of an MG even if some of the ESSs in operation fail in an MG composed of renewable energy sources and a small number of ESSs.
The proposed method is as follows: (1) It operates as a master–slave control method. (2) In order to prevent overload in the master device, the proposed method changes the frequency of the MG within the allowable range when an overload is applied to the master device and applies frequency-active power droop to the slave device. (3) If the master device is disconnected from the MG, the proposed method changes the higher priority slave device to the master device. (4) The proposed method only applies to ESSs but not to wind power or solar power. Except when the ESS can no longer be charged, wind or solar power runs with maximum power point tracking control.

3.1. Configuration of Control System

The MG control system proposed in this paper consisted of a central controller and an ESS controller. The overall operation sequence is shown in Figure 3.
The central controller is similar to the general master–slave controller, and the function of determining the priority between slave devices and changing the higher priority slave device to the master device when the master device has difficulty operating normally has been added. When the master device is disconnected from the grid, the frequency of the MG may be outside the allowable range or stabilized at a new frequency close to the nominal frequency depending on the ratio of active power borne by the master device and the setting of the droop coefficient. If the frequency is outside the allowable range, the slave device with a higher priority changes itself to the master device. However, if a stable state is maintained at a frequency close to the nominal frequency, the central controller instructs the higher priority slave device to change to the master device and gives other slave devices a new priority. The central controller may limit the maximum output of distributed generation devices other than ESSs.
As shown in Figure 4, the ESS controller consists of a master device mode and a slave device mode. The ESS controller operates in master device mode or slave device mode, according to the command of the central controller, and when the master device is disconnected from the grid, the higher priority slave device controller decides to change to the master mode. The operation mode of the ESS controller is described in detail below.

3.2. Master Mode Controller

The master mode controller was configured as shown in Figure 4a and controls the output voltage magnitude and frequency of the ESS. Three-phase voltage and three-phase current were converted into stationary coordinate system variables I α , I β , V α , and V β , and active and reactive power were calculated from stationary coordinate system variables. A conventional master mode controller constantly increases the phase angle θ to keep the frequency constant. However, the master mode controller proposed in this paper adds the calculation of the phase angle compensation value Δ θ from the magnitude of the active power in order to change the frequency according to the situation. Moreover, from V α and V β , the actual magnitude V a m p of the voltage output by the master mode device is calculated. The actual magnitude of the calculated voltage is input to the voltage controller (Vq control). Finally, the voltage synthesized in the converter is determined by the d-axis voltage reference value V d and the q-axis voltage reference value V p of the synchronous coordinate system. In the master mode controller, V d is fixed as ‘0’.

3.2.1. AC Voltage Control

One of the controls by the master mode controller is V q , the magnitude of the AC voltage output by the master device. At the output terminal of the ESS, the magnitude reference value V a m p of the AC voltage can be received by communication from the central controller, or a value set by the controller itself can be used. The magnitude of the AC voltage output by the master device is calculated as follows:
V q = V a m p + K p ( V a m p V a m p ) + K i ( V a m p V a m p ) d t
where K p is the proportional control gain, K i is the integral control gain, V a m p is the voltage measured at the output terminal of the master device, and V a m p is the voltage reference value of the master device. The d-axis voltage reference value V d of the master device is controlled as ‘0’.

3.2.2. MG Frequency Shift in Case of Overload

In non-overload conditions, the master unit maintains the output frequency at the nominal frequency f n o m . However, in the event of a sudden change in power generation or load in master–slave control, the master device is responsible for the transient state. During the transient state, active power exceeding nominal power P E S S , n o m may be applied to the master device. If the condition of exceeding the nominal power continues, the master unit will recognize it as a failure and disconnect it from the grid.
To prevent this situation, this paper proposes a method of shifting the frequency of the MG to reduce the magnitude of the overload borne by the master device and the duration in the transient state.
In steady state, the master device controller increases the phase angle of the output voltage to a constant size, and the frequency remains constant. However, when the absolute value of the master device active power P m a s t e r becomes higher than the nominal power, the phase angle compensation value Δ θ is calculated as follows:
Δ θ = { i f   | P m a s t e r | < P E S S , n o m ,   t h e n   0   i f   | P m a s t e r | P E S S , n o m ,   t h e n   s · K θ ( | P m a s t e r | P E S S , n o m ) d t
where s is the sign of the active power of the master device. When the active power is supplied from the ESS to the MG, the sign is (−); when the active power is supplied from the MG to the ESS, the sign is (+), and K θ is the coefficient for calculating the phase angle compensation value. In order to limit the frequency variable range, the maximum and minimum values of the phase angle compensation values, calculated as in Equation (5), are limited.
The phase angle θ t of the voltage output from the master device is calculated as follows:
θ t = θ t 1 + θ s + Δ θ
where θ t 1 is the phase angle in the previous period, and θ s is the amount of phase angle change during one sampling period of the master device controller. The amount of phase angle change is calculated as follows:
θ s = 2 π f n o m / f s a m p l i n g
where f s a m p l i n g is the sampling frequency of the master device controller.
If the phase angle compensation value is ‘0′, the voltage phase angle increases by θ s every sampling period to become a nominal frequency. If the sign of the phase angle compensation value is (+), the phase angle increases faster, and the frequency becomes higher than the nominal frequency. Conversely, if the sign of the phase angle compensation value is (−), the phase angle increases more slowly, and the frequency becomes lower than the nominal frequency.
When the master device shifts the frequency to a value different from the nominal frequency, the frequency-active power droop operates in the slave device controller, and the slave devices share the active power of the master device that exceeds the nominal power. After that, if the central controller sends a new active power reference value to the slave device by reflecting the overload of the master device, the frequency of the MG is restored to the nominal value.

3.3. Slave Mode Controller

In this paper, in order to alleviate the overload of the master device, droop control was introduced in the slave device, and when the master device was disconnected from the MG, the control of the slave device to change its mode to the master device was proposed. The proposed slave mode controller was configured as shown in Figure 4b.
The slave mode controller controls the active power and reactive power according to the command of the central controller, and the frequency-active power droop and voltage-reactive power droop operate depending on the frequency and voltage size of the power grid to assist the active power and reactive power controller. The same as the master mode controller, three-phase voltage and three-phase current were converted into stationary coordinate system variables I α , I β , V α , and V β , and active power P , reactive power Q , and the magnitude V a m p of the grid voltage were calculated. A phase lock loop (PLL) uses V α and V β to calculate the voltage phase angle θ and frequency f of the PCC. f and V a m p are input to f-P droop and V-Q droop, respectively, to calculate the active power compensation value and reactive power compensation value. The active power and reactive power compensation values are input to the active power controller and reactive power controller, respectively, to calculate the q-axis current reference value I q and the d-axis current reference value I d of the synchronous coordinate system. I q and I d are input to each current controller to calculate the q-axis voltage reference value V p and the d-axis voltage reference value V d of the synchronous coordinate system to be synthesized in the converter.
Moreover, although not shown in Figure 4b, the slave mode controller checks the status of the master device through frequency. When the frequency of the MG is outside the allowable range, the slave device with a higher priority judges that the master device is disconnected from the MG and changes itself to the master device to keep the frequency constant.

3.3.1. Droop Control of Active and Reactive Power

When active power is supplied from the slave device to the grid, i.e., when the active power is supplied to the grid by discharging the battery, the sign of active power is (+). The MG central controller commands the active power reference value to each slave device in consideration of the amount of power generated by the distributed generator, the power demand of the load, and the battery charge status of the ESSs.
When the MG central controller commands the active power reference value, the slave device controller controls the active power by adding the active power reference value sent from the central controller and the droop, according to the frequency of the grid. The active power controller of the slave device controls the active power of the slave device according to the reference value P calculated as shown in the following equation:
P = { P c e n t r a l + K a c t i v e ( f m ( f n o m Δ f m i n ) ) × P E S S , n o m ,   i f   f m < f n o m Δ f m i n P c e n t r a l ,   i f   f m < f n o m Δ f m i n < f m < f n o m + Δ f m a x   P c e n t r a l + K a c t i v e ( f m ( f n o m + Δ f m a x ) ) × P E S S , n o m ,   i f   f m > f n o m + Δ f m a x
where P c e n t r a l is the active power reference value from the central controller, K a c t i v e is the frequency-active power droop coefficient, and f m is the measured grid frequency. If the frequency is higher than the set range, that is, at a frequency higher than ( f n o m + Δ f m a x ) , the slave device operates in the direction of decreasing the active power sent to the grid or increasing the active power taken from the grid. Conversely, at frequencies lower than ( f n o m Δ f m i n ) , it operates in the direction of increasing the active power sent to the grid or decreasing the active power taken from the grid. When the active power reference value is determined, the q-axis current reference value I q is calculated.
Under normal conditions, the frequency of the grid is kept constant at the nominal frequency, because the master unit keeps the frequency constant. However, the frequency fluctuates in three cases. First, when the active power of a load or a generating unit changes rapidly, the frequency measured by the slave device is different from the nominal frequency for a short time. In this case, the frequency of the grid is restored to the nominal frequency before the controller of the slave device reacts. Second, as described in the master mode, when the master device has to bear excessive power exceeding the nominal power due to a sudden change in the active power of the generating devices or load, the master device controller operates to decrease or increase the frequency within a limited range. Third, if the master device is disconnected from the grid by accident, the frequency fluctuates.
The central controller commands the reactive power reference value to each slave device in consideration of the load and the voltage of each part. The slave device controller controls the reactive power with a reference value that is the sum of the reactive power reference value sent from the central controller and the compensation value set by the voltage-reactive power droop. The reactive power controller of the slave device controls the reactive power of the slave device according to the reference value Q calculated as shown in the following equation:
Q = Q c e n t r a l + K r e a c t i v e ( V n o m V m ) × P E S S , n o m
where Q c e n t r a l is the reactive power reference value sent from the central controller, K r e a c t i v e is the voltage-reactive power droop coefficient, V n o m is the nominal voltage of the grid, and V m is the measured voltage amplitude. As with the frequency-active power droop, the voltage-reactive power droop operates only when the measured voltage is outside the set range. If the voltage is higher than the set value, the voltage-reactive power droop operates and moves the reactive power reference value in the inductive direction, rather than the command value of the central controller. Conversely, if the voltage is lower than the set value, the reactive power reference value is moved in the capacitive direction rather than the command value of the central controller.

3.3.2. Change Master Mode of Slave Device

Another function of the slave mode controller is to measure the frequency of the grid to confirm that the master device is operating normally. As described in the previous section, if the master unit is connected to the grid and is operating, the frequency remains within a certain range of the nominal frequency. However, when the master device is disconnected from the grid, the frequency varies depending on the situation.
If the active power borne by the master device is not large, and the droop controller of the slave device compensates sufficiently, the frequency of the grid remains within the allowable range, and the slave device may not be able to determine that the master device is separated from the grid. In this case, the central controller commands the higher priority slave device to change to the master device through communication.
If the active power borne by the master device is large or the droop controller of the slave device does not compensate sufficiently, the grid frequency is outside the allowable range. In this case, the slave device determines that the master device is disconnected from the grid, and the slave device with a higher priority decides to change to the master device by itself.
Figure 5 shows the frequency relationship in the master mode and slave mode controllers. If the master device is connected to the MG, then the measured frequencies from the slave devices stay in the range above f nom Δ f master _ low and below f nom + Δ f master _ high , which is grayed out. The slave device operates frequency-active power droop control at frequencies lower than f nom Δ f min or higher than f nom + Δ f max . If the frequency is lower than f nom Δ f low or higher than f nom + Δ f high , even when the droop control is operating, it is determined that the master device is disconnected from the grid, and the slave device with higher priority is changed to the master device to maintain a constant frequency. The precision of the clock element used by each ESS controller, Δ f low , is set lower than Δ f master _ low by 0.1 Hz or more. Likewise, we set Δ f high to be 0.1 Hz or more higher than Δ f master _ high .

4. Simulation

4.1. MG Circuit

An MG simulation model was developed to verify the proposed control method. The circuit of the MG used in the simulation is shown in Figure 6.
In order to shorten the simulation time, the simulation model did not include a diesel generator, solar power, or wind power. The devices that controlled the power in connection with the grid were similar to a current source, and a set of three-phase constant current source Ics was used in the simulation model.
The ESS used three sets of 100 kW classes, and they were marked as ESS1, ESS2, and ESS3 in order. ESS1 was designated as the master device and was disconnected from the grid 2.8 s after starting the operation. ESS2 and ESS3 were slave devices, and ESS2 had a higher priority.
The loads were simplified into pure resistive loads and rectifying loads. Two sets of single-phase loads and one set of three-phase loads were used for rectifying loads, and five sets of three-phase resistive loads were used. The load was connected to or disconnected from the grid at a preset time.
The nominal voltage of the ESS was 380 V, and the nominal voltage of the distribution network was 6.46 kV. The leakage impedance of the transformer was 6.5%. In the distribution line, the resistance component predominated.

4.2. Simulation Model

The simulation model to verify the proposed control method is shown in Figure 7. The configuration of the simulation model was the same as in Figure 6. The distributed power source consisted of three ESSs (ESS1, ESS2, and ESS3), and the constant current source was indicated by the CS. The ESS controller was implemented as a DLL file, the sampling frequency was 10 kHz, and the PWM frequency was 5 kHz.
The central controller of the MG was not implemented separately, and the active power reference value was designated as a pattern for each device. In addition, the reactive power was set to ‘0’.
Figure 8 shows the initial startup of the simulation model.
The active power supplied from the three ESSs to the MG was labeled PESS1, PESS2, and PESS3, respectively, the active power supplied from the constant current source was PCS, the active power of the load that consumed the power converted into DC from the rectifier was labeled Prect1, Prect2, and Prect3, and the resistance loads that consumed the AC power were labeled PRd1, PRd2, PRd3, PRd4, and PRd5, respectively.
The master unit ESS1 started working and supplied the voltage Vab_ESS1 to the MG. Even when the master device supplied a constant frequency, the frequency varied slightly as soon as the load or power generation fluctuated in each device. The currents (Ia_ESS1, Ia_ESS2, Ia_ESS3) supplied from each ESS to the MG varied depending on the load of the MG and the operation of each system. Although the current of the slave device was determined according to their active power and reactive power references, the current Ia_ESS1 of the master device was determined according to the demand and supply of active power and reactive power, respectively; thus, it fluctuated rapidly when the load changed or the generating power changed. The current (IDL1, IDL2) flowing through the two sets of distribution impedances of the MG was determined by the state of the ESSs and the loads.

5. Proposed Controller Verification

To validate the proposed control method, the simulation was performed in two stages.
In the first step, a simulation was conducted on the frequency shift of the master device. The simulations compared keeping the frequency at the nominal frequency versus shifting the frequency under an overloaded master unit.
In the second step, the simulation compared the case where the higher priority slave unit did not change to the master unit and the case where the higher priority slave unit did change to the master unit, when the master unit was disconnected from the grid.

5.1. Frequency Shift Effect Analysis

Figure 9 shows different simulation results with or without the frequency shift function. Figure 9a is the case in which the nominal frequency was maintained even when an overload was applied to the master device, and Figure 9b is the case in which the frequency was shifted when an overload was applied to the master device. Setting the low frequency trip level to 57 Hz, the lower limit of the frequency Δ f m i n at which the slave device started droop control was 0.1 Hz, and the lower frequency limit Δ f master _ low of the master device was set to 59.1 Hz. When the nominal frequency was maintained, the active power of the master unit before the resistive load Rd5 was disconnected after 3.2 s was approximately 145 kW. When the frequency was shifted, the active power of the master device before the resistive load Rd5 was disconnected was approximately 128.5 kW. In other words, it can be confirmed that the overload of the master device was improved by the frequency shift. When the lower frequency limit value was lowered or the droop coefficient of the slave device was increased, the active power borne by the slave device was increased, and the overload of the master device was further improved. When the load decreased or the active power increased by commanding a new power reference value from the central controller to the slave device, the overload condition of the master device was resolved, and the frequency was restored to the nominal frequency.

5.2. Analysis of Mode Change

After the master device was disconnected from the MG, the simulations compared the case where the slave device changed to the master device versus the case where it did not. The simulation was performed under the following conditions: (1) when the master device (ESS1) was separated from the grid, the active power of the slave device (ESS2) had higher priority, (2) setting the drop coefficient of the slave devices (ESS2 and ESS3), and (3) whether to change to the master device of ESS2. The simulation conditions and results are summarized in Table 1.
After the master device ESS1 was disconnected from the MG, when the higher priority slave device ESS2 maintained droop control, a transient ripple or blackout occurred depending on the size of the droop coefficient. However, the proposed control method operated stably in most cases, and a transient ripple occurred in some cases where the droop coefficient of the slave device was high. In other words, when the proposed method uses a low droop coefficient, the frequency can be kept stable.

5.2.1. Case 1 and Case 2

Figure 10 shows the simulation results for case 1 and case 2. Case 1 was a case where the droop coefficient was low, ESS1 was disconnected from the grid in a situation where ESS2 was discharging 60 kW, and ESS2 maintained droop control. Case 2 was the case where ESS2 changed to the master device according to the proposed control method.
Figure 10a shows the result of case 1. When ESS1 was disconnected from the grid at 2.8 s, the frequency was lowered, and the droop control of ESS2 and ESS3 operated to increase the active power output. The frequency stabilized at about 59.2 Hz before three seconds and 58.2 Hz after the load Rd4 was connected to the grid at three seconds. In order to restore the frequency to the nominal frequency, the active power reference value sent from the central controller to ESS2 and ESS3 was increased.
Figure 10b shows the result of case 2. Similar to case 1, when ESS1 was disconnected from the grid at 2.8 s, the frequency was lowered, and the droop control of ESS2 and ESS3 operated to increase the active power output. However, when the load Rd4 connected to the grid at three seconds, and the frequency dropped below 59 Hz, the ESS2 changed to the master unit to keep the frequency at the nominal frequency. However, since the ESS2 became overloaded after changing to the master device, the frequency of the MG was moved to 59.1 Hz to alleviate the overload condition.

5.2.2. Case 3 and Case 4

Figure 11 shows the simulation results for cases 3 and 4. The droop coefficient was high, and ESS1 disconnected from the grid in a situation where ESS2 was discharging 60 kW. Case 3 is the case where ESS2 maintained droop control. Case 4 is the case where ESS2 changed to the master device according to the proposed control method.
When ESS1 was disconnected from the grid at 2.8 s, the frequency was lowered, and the droop control of ESS2 and ESS3 increased the active power output. Because the droop coefficient was high, the frequency drop width was lower than in case 1, but a transient ripple occurred. Even when Rd4 was connected at three seconds, the frequency remained above 59.4 Hz; thus, ESS2 did not determine that the master device was disconnected from the MG and remained in slave mode. In this case, the central controller had to instruct ESS2 to change to master mode.

5.2.3. Case 5 and Case 6

Figure 12 shows the simulation results for case 5 and case 6. Case 5 was a case where the droop coefficient was low, ESS1 was disconnected from the grid in a situation where ESS2 was discharging 10 kW, and ESS2 continued to maintain droop control. Case 6 was the case of changing to the master device according to the proposed control method.
Figure 12a shows the result of case 5. When ESS1 was disconnected from the grid at 2.8 s, the frequency was lowered, and the droop control of ESS2 and ESS3 was activated. However, because ESS2 and ESS3 with low droop coefficients could not react quickly, the frequency or voltage was out of tolerance, and ESS2 and ESS3 stopped with voltage fail or frequency fail. In other words, the MG was in a state of power failure. The frequency seemed to recover to 60 Hz again due to the operation of the ESS2 and ESS3 controller PLLs, after stopping with the trip.
Figure 12b shows the result of case 6. When ESS1 was disconnected from the grid at 2.8 s, the frequency was lowered, and the droop control of ESS2 and ESS3 was activated. However, the frequency continued to decrease, and ESS2, which determined that ESS1 was disconnected from the grid, changed to the master device. When ESS2 changed to the master, each part of the MG was quickly stabilized, because the frequency was controlled with the nominal value. When Rd4 connected to the grid after three seconds, ESS2 shifted the frequency because the output of ESS2 was instantaneously higher than the nominal power.

5.2.4. Case 10

Figure 13 shows the simulation result for case 10. In Case 10, the proposed control method was applied, the droop coefficient was low, and ESS1 was disconnected from the grid when ESS2 was charging 60 kW. When ESS1 was disconnected from the grid at 2.8 s, the frequency was lowered, and the droop control of ESS2 and ESS3 was activated, reducing the charge of ESS2 and increasing the amount of discharge of ESS3. However, the frequency kept dropping and eventually moved outside of the allowable range, and the ESS2 changed to the master unit. When ESS2 changed to the master, ESS2 automatically changed from charging to discharging and controlled the frequencies with nominal value. Because ESS2 was charging, the frequency drop was larger than in other cases.

6. Conclusions

In this paper, a control method that can stably supply electricity using renewable energy and ESS in a small-scale MG such as an island area was proposed. The proposed control method is a modified master–slave control method—including droop control in a slave device and frequency shift in a master device—which combines the advantages of the master–slave control method and the droop control method.
By using multiple ESSs, the voltage and frequency of the MG can be kept constant, and even if some ESSs fail, the voltage and frequency quickly return to the normal range after an instantaneous transient state. An MG simulation model was developed to verify the performance of the proposed control method.
Since the proposed control method operates multiple ESSs, if the power consumption increases compared to the time of installation, it is possible to easily increase the capacity of the ESS by adding a small-capacity ESS. In addition, since the ESSs distributed throughout the MG are freely operated or stopped, it is possible to control the loss of the whole MG, minimizing it by adjusting the quantity of operating ESSs and operating reference values.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Statistics of Electric Power in KOREA; Korea Electric Power Corporation: Naju-si, Korea, 2020.
  2. Seongho, L. Optimization Study of Microgrid for Energy Self-Sufficient Islands. Ph.D. Thesis, Sejong University, Seoul, Korea, 2018. [Google Scholar]
  3. Kim, S.-H.; Chung, I.-Y.; Lee, H.-J.; Chae, W.-K. Voltage and Frequency Control Method Using Battery Energy Storage System for a Stand-alone Microgrid. Trans. Korean Inst. Electr. Eng. 2015, 64, 1168–1179. [Google Scholar] [CrossRef] [Green Version]
  4. Engler, A. Control of parallel operating battery inverters. In Proceedings of the Photovoltaic Hybrid Power Systems Conference, Aix en Provence, France, 7–8 September 2000. [Google Scholar]
  5. Vandoorn, T.L.; De Kooning, J.D.M.; Meersman, B.; Vandevelde, L. Review of primary control strategies for islanded microgrids with power-electronic interfaces. Renew. Sustain. Energy Rev. 2013, 19, 613–628. [Google Scholar] [CrossRef]
  6. Chand, A.A.; Prasad, K.A.; Islam, F.R.; Mamun, K.A.; Kumar, N.M.; Prakash, K. An Overview of Various Control and Stability Techniques for Power-Sharing in Microgrids. In Proceedings of the International Conference on Emerging Trends and Advances in Electrical Engineering and Renewable Energy, ETAEERE 2020, Bhubaneswar, India, 5–6 March 2020. [Google Scholar]
  7. Chung, I.-Y.; Won, D.-J.; Moon, S.-I. Power Control Methods for Microgrid with Multiple Distributed Generators. Trans. Korean Inst. Electr. Eng. 2008, 57, 582–588. [Google Scholar]
  8. Ramos, R.; Biel, D.; Guinjoan, F.; Fossas, E. Master–slave sliding-mode control design in parallel-connected inverters. Autom. J. Control Meas. Electron. Comput. Commun. 2001, 42, 37–44. [Google Scholar]
  9. Cavraro, G.; Caldognetto, T.; Carli, R.; Tenti, P. A Master/Slave Approach to Power Flow and Overvoltage Control in Low-Voltage Microgrids. Energies 2019, 12, 2760. [Google Scholar] [CrossRef] [Green Version]
  10. Hosseinzadeh, M.; Schenato, L.; Garone, E. A distributed optimal power management system for microgrids with plug & play capabilities. Adv. Control Appl. Eng. Ind. Syst. 2021, 3, e65. [Google Scholar]
  11. Vandoorn, T.L.; Meersman, B.; De Kooning, J.D.M.; Vandevelde, L. Transition from Islanded to Grid-Connected Mode of Microgrids with Voltage-Based Droop Control. IEEE Trans. Power Syst. 2013, 28, 2545–2553. [Google Scholar] [CrossRef] [Green Version]
  12. Majumder, R.; Chaudhuri, B.; Ghosh, A.; Majumder, R.; Ledwich, G.; Zare, F. Improvement of stability and load sharing in an autonomous microgrid using supplementary droop control loop. IEEE Trans. Power Syst. 2010, 25, 796–808. [Google Scholar] [CrossRef] [Green Version]
  13. Meng, L.; Savaghebi, M.; Andrade, F.; Vasquez, J.C.; Guerrero, J.M.; Graells, M. Microgrid central controller development and hierarchical control implementation in the intelligent microgrid lab of Aalborg University. In Proceedings of the 2015 IEEE Applied Power Electronics Conference and Exposition (APEC), Charlotte, NC, USA, 15–19 March 2015. [Google Scholar]
  14. Issa, W.; Sharkh, S.; Mallick, T.; Abusara, M. Improved Reactive Power Sharing for Parallel-operated Inverters in Islanded Microgrids. J. Power Electron. 2016, 16, 1152–1162. [Google Scholar] [CrossRef] [Green Version]
  15. Yao, G.; Lu, Y.; Tang, T.; Benbouzid, M.; Zheng, Y.; Wang, T. A central control strategy of parallel inverters in AC microgrid. In Proceedings of the 39th Annual Conference of IEEE Industrial Electronics Society, Vienna, Austria, 10–13 November 2013. [Google Scholar]
  16. Bevrani, H.; Shokoohi, S. An Intelligent Droop Control for Simultaneous Voltage and Frequency Regulation in Islanded Microgrids. IEEE Trans. Smart Grid 2013, 4, 1505–1513. [Google Scholar] [CrossRef]
Figure 1. An MG based on renewables and an ESS with a central controller.
Figure 1. An MG based on renewables and an ESS with a central controller.
Energies 15 04245 g001
Figure 2. Frequency-active power droop.
Figure 2. Frequency-active power droop.
Energies 15 04245 g002
Figure 3. Control sequence of the proposed control method.
Figure 3. Control sequence of the proposed control method.
Energies 15 04245 g003
Figure 4. Block diagram of ESS PCS: (a) master mode; (b) slave.
Figure 4. Block diagram of ESS PCS: (a) master mode; (b) slave.
Energies 15 04245 g004
Figure 5. Relationship between frequency settings.
Figure 5. Relationship between frequency settings.
Energies 15 04245 g005
Figure 6. MG circuit for the proposed control method simulation.
Figure 6. MG circuit for the proposed control method simulation.
Energies 15 04245 g006
Figure 7. PSIM simulation model: MG circuit.
Figure 7. PSIM simulation model: MG circuit.
Energies 15 04245 g007
Figure 8. Simulation result—startup.
Figure 8. Simulation result—startup.
Energies 15 04245 g008
Figure 9. Simulation results (frequency shift)—(a) constant frequency; (b) variable frequency.
Figure 9. Simulation results (frequency shift)—(a) constant frequency; (b) variable frequency.
Energies 15 04245 g009
Figure 10. Simulation results (case 1 and case 2)—(a) case 1; (b) case 2.
Figure 10. Simulation results (case 1 and case 2)—(a) case 1; (b) case 2.
Energies 15 04245 g010
Figure 11. Simulation results—case 3 and case 4.
Figure 11. Simulation results—case 3 and case 4.
Energies 15 04245 g011
Figure 12. Simulation results (case 5 and case 6)—(a) case 5; (b) case 6.
Figure 12. Simulation results (case 5 and case 6)—(a) case 5; (b) case 6.
Energies 15 04245 g012
Figure 13. Simulation result—case 10.
Figure 13. Simulation result—case 10.
Energies 15 04245 g013
Table 1. Simulation conditions and results.
Table 1. Simulation conditions and results.
ESS2CoefficientControlCaseTransient
60 kW
discharge
LowDroopCase 1Stable
ProposedCase 2Stable
HighDroopCase 3With ripple
ProposedCase 4With ripple
10 kW
discharge
LowDroopCase 5Blackout
ProposedCase 6Stable
HighDroopCase 7With ripple
ProposedCase 8Stable
60 kW
charge
LowDroopCase 9Blackout
ProposedCase 10Stable
HighDroopCase 11Blackout
ProposedCase 12Stable
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Jeong, B.-c. Modified Master–Slave Controller for Stable Power Supply of Energy Storage Based Microgrid. Energies 2022, 15, 4245. https://doi.org/10.3390/en15124245

AMA Style

Jeong B-c. Modified Master–Slave Controller for Stable Power Supply of Energy Storage Based Microgrid. Energies. 2022; 15(12):4245. https://doi.org/10.3390/en15124245

Chicago/Turabian Style

Jeong, Byoung-chang. 2022. "Modified Master–Slave Controller for Stable Power Supply of Energy Storage Based Microgrid" Energies 15, no. 12: 4245. https://doi.org/10.3390/en15124245

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