1. Introduction
Recently, remote microgrids (MGs) [
1] have been widely developed, especially for rural and distant areas, where providing electric energy from the main utility grid is costly and has destructive environmental effects. With increasing environmental awareness, renewable generation penetration has increased gradually [
2,
3,
4,
5,
6]. There are several MGs already installed for providing the electricity for rural areas [
7,
8,
9,
10,
11,
12]. However, microgrid control in standalone mood is more difficult than in grid connected mode because they are vulnerable to frequency and voltage deviations as they are isolated power systems that have smaller equivalent inertia, more dynamic complexity, and a weaker grid than conventional utility power grid and furthermore, the distributed energy resources have an intermittent nature. Therefore, if a mismatch between generation and load occurs, deviation of the microgrid frequency and voltage from the standard value is unavoidable. In standalone mode, some microgrid resources should compensate this fluctuation in generation (wind power and solar irradiation) and load.
Several research studies have examined methods to support frequency and voltage control. In [
13], a frequency droop control was applied to photovoltaic (PV) power generation. In [
14], techniques enabling wind power to operate in a manner similar to a conventional power plant were suggested to dispatch power at the operator’s request. However, frequency control strategies using intermittent renewable generation are not economically profitable as these systems are unable to maximize their free energy utilization ability.
Several other researchers [
15,
16,
17] have focused on droop control techniques for frequency and voltage stabilization. Reference [
18] involves an alternative droop control method for synchronous generators operating with voltage source converters (VSCs) by treating generators like VSCs, but the system stability and dynamics are highly affected by the selected droop gains. Furthermore, microgrids can face oscillations and instabilities due to high droop gains to achieve accurate power sharing, whereas, our newly proposed control method can be an economical replacement of the abovementioned droop control techniques used in different forms with diesel generators (DGs) as a droop controller regulates the generator output gains, which makes it unable to operate at maximum efficiency. Also, with droop control we have to neglect maximum power tracking to extract the maximum possible power from renewable sources to stabilize dc link voltages, but in our designed microgrid model, we can stabilize the voltage and frequency even after using maximum power point tracking (MPPT) and DGs at maximum efficiency. Furthermore, as the declining feature of the droop controller has only one regulatory parameter, so more than one control target cannot be reached.
Recently, some researchers have proposed methods to support the frequency and voltage in a multisource microgrid that includes renewable distributed generation and energy storage systems. In [
19], an improved grid-forming control scheme is developed, which can keep the charging voltage of a battery bank under control without physical communication. In [
20,
21], a coordinated control architecture for power management of standalone microgrids is presented in which power control of each generation unit can be achieved with seamless mode changes. However, the results of these studies show that frequency deviation from the nominal value is very high. Moreover, the existing control strategies greatly increase the complexity of microgrid energy management. Therefore, it is necessary to develop an efficient and intelligent stability control approach with high applicability and reliability, where the operation modes and power supply scheduling can be regulated according to power sources, load condition and battery state of charge.
Keeping in mind the aforementioned difficulties, this paper introduces a new control strategy that comprises battery energy storage system (BESS)-based frequency and voltage stabilization along with supercapacitors and a fuzzy logic-based intelligent control system for energy management in generation and load imbalance conditions. The BESS will assist in preventing the system frequency from deviating far from its nominal value. The supercapacitor is used to maintain the DC bus voltage by consuming big current spikes generated due to intermittent nature of renewable sources and maximum power point tracking. Power stored in the supercapacitor is used to charge the BESS when required. The fuzzy logic-based supervisory controller will maintain the frequency and voltage at the nominal value and also control dump loads in a positive way and load shedding scenarios in severe cases to avoid microgrid collapse.
The main architecture of the proposed system is composed of: a PV-based distributed generation, small wind turbine system (WT), synchronous diesel generator (SG), battery energy storage system, DC heat generation system as dump load, fuzzy logic based supervisory control and management system, bidirectional buck-boost converter, super capacitors, inverter between DC and AC (alternating current) bus. The whole system is then connected with the various primary and secondary loads as shown in
Figure 1.
This paper is organized as follows:
Section 2 explains the hybrid AC/DC microgrid model.
Section 3 shows the control strategy for frequency and voltage, respectively.
Section 4 illustrates the detailed simulation results, whereas
Section 5 outlines the conclusions.
2. Hybrid AC/DC Microgrid Model
This paper focuses on a standalone hybrid microgrid based on wind turbine generator, PV system, DG, supercapacitor, BESS, primary and secondary AC loads, DC heat generation system as dump load and a fuzzy logic-based supervisory controller for power management, frequency and voltage stability.
Figure 1 illustrates the proposed hybrid microgrid model. As shown, distributed resources are connected to AC/DC bus by power electronic devices such as AC/DC converters, DC/DC boost converter and DC/DC buck boost converter for the battery energy storage system. The microgrid system design parameters are listed in
Table 1.
Total power generation of distributed resources, for supplying the demand side comprises the output power of the diesel generator, wind turbine, photovoltaic system and battery energy storage system as shown in Equation (1):
The power source on the AC side of the microgrid is a 70 kW diesel generator whereas the AC load is composed of a 116 kW primary load and two secondary loads of 45 kW and 20 kW respectively. Power sources on the DC side of microgrid are a 60 kW PV system, 10 kW wind turbine and a battery energy storage system with a rating of 30 kW. Power management and frequency/voltage stabilization is performed by a fuzzy logic-based supervisory controller. The hybrid microgrid is modelled using Simulink-Matlab to simulate system operations and control. The microgrid operates solely in standalone mode to demonstrate frequency and voltage deviations that result from power imbalance due to fluctuating renewable generation or varying loads.
2.1. Diesel Generator System
A diesel generator (DG) is a reliable backup source in case of an emergency like a power outage to prevent discontinuity of daily work activities. It is a source that can supply power demand up to rated power at constant frequency [
22]. A DG usually is composed of a synchronous generator, excitation system and a diesel engine with governor. A 70 kW synchronous generator with its basic controlling principles is discussed here.
The DG is modeled in Simulink using the SimScape toolbox. A DG is a system that converts mechanical energy obtained from external source into electrical energy. The generator uses mechanical energy to force the electrical charge movement in its windings through some electric circuit. This flow is the reason for the generator’s electric current output. Power produced by a diesel engine is small without any load whereas with load, the machine speed decreases for a short time and the mechanical power input to the generator terminals also decreases.
The system stabilizes itself after a short period of time due to the operation of a speed control system and the power input to the generator stabilizes to the required level. Due to the operation of the excitation system [
23], voltages at the generator terminals are also maintained at the load demand. If the load demand is greater than the generated power, then it eventually results in a decrease in the frequency of the output. In diesel engine governor block, the reference rotor speed is already defined and using a feedback system, the rotor speed of the generator is also input to get the error value between two speeds to perform the function of controlling fuel combustion which results in power with the desired frequency. The internal configuration of a diesel generator governor is shown in
Figure 2.
2.2. Photovoltaic System
The PV array block from the Simulink SimPowerSystems toolbox is used in this work. Photovoltaic module “SPR-305-WHT” of “SunPower Inc.” is used. Technical data per unit for this module is as follows:
Here P
PVModule represents the PV module power, V
MPP and I
MPP represent the PV module voltage and current at maximum power point. The PV system [
24] output power can be varied due to solar irradiation. The total number of PV modules, modules in series and parallel can be calculated using Equations (2)–(4):
where NT represents the total number of modules, NS to be connected in series, NP in parallel, V
nominal is the rated voltage (220 V) and P
pvamax is the PV maximum size w.r.t power according to the irradiation, whereas, corresponding area of PVA can be calculated as:
where S
PVModule represents the PV system single module area.
The PV generation system studied in this section is connected to an inverter through a boost converter, which is commonly used in a multi-source renewable energy systems. A boost converter [
25] is used to regulate the voltages according to the supercapacitor requirements. The boost converter output is controlled by switching the IGBT’s (insulated-gate bipolar transistor) duty cycle.
As for PV maximum power point tracking (MPPT), over the years many MPPT techniques have been developed and implemented to extract the maximum available power from the solar photovoltaic system. These methods [
26,
27] vary in several aspects, including convergence speed, cost, effective range, hardware implementation and complexity. In this PV system, we use the incremental conductance technique to calculate the MPP. In this method, array terminal voltage is always adjusted according to the MPP voltage; it is based on the incremental and instantaneous conductance of the PV array.
2.3. Wind Turbine
Wind turbine is a system that converts wind’s kinetic energy into mechanical and then electrical power by driving machines and electric generators. The wind turbine model used in this study comprises a wind source, turbine aerodynamics model and permanent magnet synchronous generator (PMSG). The considered turbine model is a horizontal-axis turbine with three blades. The output power of a wind turbine can be calculated by Equation (6):
where ρ represents the air density (lb/ft
3), ν
ω represents the wind speed (mph), A is the rotor swept area (ft
2) and C
p is the maximum power coefficient, which ranges from 0.25 to 0.45. Pitch angle for the pitch controller and wind speed are input to this module. The basic internal configuration of the wind turbine governor can be seen in
Figure 3.
For WT maximum power point tracking, efficient and accurate current control technique [
28] is used. This technique takes a reference current point according to system output voltages. Wind turbine generated voltages are directly proportional to wind speed. WTG characteristic curve is used to derive the reference current equation as shown in
Figure 4.
The mathematical equations of this curve is derived by Matlab curve fitting tool. Furthermore, the calculated reference current points with respect to each voltage value are used in highly tuned PID (propotional-integral-derivative) controller to control the current independently.
2.4. Supercapacitor as DC Link
A supercapacitor is a high capacity capacitor with much larger capacitance as compare to other electrolytic capacitors. These capacitors can store almost 100times more energy than usual capacitors, can charge or discharge much faster than batteries and have longer lifetime.
Smooth energy flow can be achieved by using these capacitors with dc link. These capacitors are effective in containing big current spikes and high fluctuations. MPPT plays a vital role in extracting maximum available power from renewable sources but it causes high current fluctuations in intermittent nature of renewable sources. In this research work, supercapacitors are implemented with dc link to operate the designed system on best possible level [
29]. Here, supercapacitors are connected is parallel with the DC-link via a DC/DC buck converter to maintain the DC-link voltage within the specified range while the system is operating at MPPT. The DC/DC buck converter is controlled by a standard PID controller, which is responsible for maintaining the DC-link voltage to 500 V DC. Further increases in voltage will be consumed and stored in current form in the supercapacitors. Stored power in supercapacitors is also used to charge the battery energy storage system.
2.5. Battery Energy Storage System
Li-ion rechargeable batteries are used to store surplus power generated by renewable energy resources and use this stored power in emergencies when the load demand is high or the renewable generation is low. Battery capacity in ampere-hours and battery power in kWhr can be calculated by Equations (7) and (8):
where C
battery is the total capacity in Ah, E
battery is the power to be supplied by the battery, V
battery are the voltages of the battery, Pt is the total power to be supplied by the battery and T is the time in hr. Also the battery power can be calculated using battery terminal voltages and current as shown in Equation (9):
In this equation, V
bat and I
bat are the battery voltages and current, respectively. A 250 V, 120 Ah lithium-ion battery system is used in our proposed system. The battery SOC is limited to 50% as minimum discharging level. The efficient battery charging and discharging mechanism is shown in
Figure 5 and explained below. As shown, a bidirectional buck boost converter is used to regulate the voltages according to the battery charging or discharging requirements. A PID controller is also part of the proposed system to adjust PI (proportional-integral) gains depending on the difference of error magnitude between modes to make the system performance smooth and efficient.
2.5.1. Bidirectional Buck Boost Converter
The purpose of the bidirectional DC-DC converter is to shift the input DC voltage and current to a desired output DC voltage or current such as for a given input voltage and current, the corresponding outputs can be different. In practice, voltage shifts are achieved by turning discrete switches on and off very fast, choppering the input voltages. Specifically if Vi > Vo, the device is working in buck mode and is a step-down converter, and if Vi < Vo then it’s in boost mode and is a step-up converter. In our designed model, the buck converter will work when surplus power is generated and needs to be stored in the battery storage system. We have a high voltage at the input side at that time; the bidirectional converter will work as a buck converter to step-down the voltages to the battery charging voltage level, whereas it will work as a boost converter in battery backup mode where we need to step-up the stored power voltages to synchronize with the DC link voltage level. Two PI controllers are used to control the stored voltage level and current limitation to avoid any damage.
2.5.2. Battery Charging Controller
The battery charger controller is designed to control the battery charging during constant current (CC) and constant voltage (CV) modes [
30] in an effectual, systematic and dynamic way. Buck converter with charging voltages from DC link as input is used for BESS charging in CC-CV mode.
Charging current in CC mode and charging voltages in CV mode are maintained by buck converter. It provides maximum current and battery overcharging protection by shifting the battery from CC to CV mode when the battery voltage reaches to its gassing voltages. In this control system, a PI controller is used to regulate and adjust the PI gains when the battery charging shifts from CC to CV mode for smooth performance.
2.6. Dump Load Controller
A dump load like a heat generation system [
31,
32] is installed in this work to ensure a safe and economic way to disperse surplus power produced by renewable systems to stabilize the system performance.
The dump load controller takes any extra power that needs to be consumed as input from the fuzzy logic-based energy management system as shown in the internal configuration of dump load controller in
Figure 6. After that, this surplus power is consumed by several heater banks in the dump load block to keep the power flow in the system steady and efficient by generating heat.
2.7. Three Phase Inverter and Load Model
A sinusoidal pulse width modulation (SPWM) three phase inverter is used for DC-AC conversion in this system. A 175 kW AC load composed of a primary and two secondary loads is used in the proposed system. Two secondary loads of 45 kW and 20 kW can be turned on or off to assist frequency stabilization in case of emergency (low-frequency) whereas an additional flexible DC dump load (heat generating system) is available to consume power in an over-frequency case.
3. Fuzzy Logic Based Frequency and Voltage Stability Controller
As microgrids operating in standalone mode don’t have a large amount of inertia like utility grids with synchronous rotating machines, renewable power generation or load variations can severely affect the frequency and DC link voltages in a microgrid. The main contribution of this research work is to show that droop control with a diesel generator can be replaced economically by a fuzzy logic and battery storage system to stabilize the system frequency. Droop control is normally used with diesel generators to help change their power references proportionally to frequency deviations from nominal value, but in this case, diesel generator cannot be operated at maximum capacity, whereas in our proposed system, we will supply or consume power causing frequency deviation and system degradation controlled by a fuzzy logic scheme. A flow diagram of the proposed control method is shown in
Figure 7.
3.1. Frequency and Voltage Stabilization
In a standalone situation, if the output power of sources cannot satisfy its load demand, the security of the system might be deteriorated. Frequency and voltage stabilization are crucial in distributed generated system-based standalone microgrids. Active and reactive powers are fundamental factors to consider while designing a stable power distribution system. A slight deviation from the maximum active and reactive power limit will induce frequency and voltage stability issues.
Active power consumption is directly related to the frequency of a diesel generator. If the active power shoots beyond the maximum threshold limit, it increases the induced torque within the generator (T = P/w), which means that induced torque exceeds the rotor torque, causes the generator to slow down and decreases its output frequency. The output frequency must stay within permissible limits for safe operation. Similarly, excessive reactive power extraction causes over-excitation in the alternator of a diesel generator and the excitation voltage drops below the rated value which causes a terminal voltage drop. Therefore, various control schemes have been introduced by researchers to overcome these serious issues leading to degradation of the power grid. Droop control is a very common and old technique used in various configurations. The most common technique is master-slave frequency droop where multiple parallel units with the same droop characteristics can respond to falls in frequency by increasing their active power output. Generally, two or more parallel diesel generators are connected as slaves. A master DG controls the slave output power and commands them to provide a predetermined amount of power for frequency stabilization. In this scenario, slave diesel generators work as standby power sources. This droop technique prevents the slaves from providing maximum power, which reduces the overall efficiency because of higher fuel consumption with respect to the output power of diesel generators.
Droop control methods are not competent in renewable energy-based microgrid systems due to their limited power delivery capability. MPPT is an essential process to extract the peak power from renewable sources, whereas, droop control voltage stabilization restricts the system to a limited output power which causes enormous renewable energy losses. Therefore, a supercapacitor-based voltage and frequency stabilization technique is introduced, which offers MPPT with output voltage and frequency stabilization in hybrid standalone microgrids.
The proposed system consists of a supercapacitor-based DC-link voltage stabilizer and battery energy storage system (BESS)-based frequency stabilizer. Supercapacitors are connected is parallel with the DC-link via a DC/DC buck converter to maintain the DC-link voltage within the specified range while the system is operating at MPPT. The DC/DC buck converter is controlled by a standard PID controller, which is responsible for maintaining the DC-link voltage to 500 V DC. Further voltage increase will be consumed and stored in current form in the supercapacitors. Energy stored in supercapacitors is further used to charge the BESS that is attached to the DC link and supercapacitors via s bidirectional DC/DC buck-boost converter. In case, if the BESS is fully charged and the generated power is still more than the load demand, extra generated power will be supplied to the heat generating system used as dump load. This dump load system will keep consuming the extra power to generate heat until the system scenario changes. In general, any dump load system can be selected to meet the requirement, such as a water pump system, heat generating system, etc. The rest of the system works in normal condition until the DC-link voltage stays within the limits. Another case is an overload scenario, where the diesel generator and renewable energy sources fall short of holding the increased load demand either in form of active power or reactive power. As mentioned earlier, any increase in active power directly affects the frequency and causes a frequency drop, while reactive power drops the output voltage. A fuzzy logic-based supervisory controller is designed for voltage and frequency stabilization. If the active power demand is increased, the diesel generator output frequency will keep dropping below its nominal range. In that case, the fuzzy logic-based controller will detect the frequency drop and generate commands to the bidirectional DC/DC buck-boost converter to provide deficit power. Energy stored in the BESS provides the required power to maintain the output frequency. In the reactive power case, the diesel generator output voltage tends to drop, eventually causing the DC-link voltage to drop too. The fuzzy logic-based supervisory controller will sense this disruption and control the BESS system to provide the required power to maintain the DC-link voltage. If the BESS reaches its minimum capacity as discussed in the next section for a loadshedding case, the secondary loads can be disconnected from the main system to avoid overall system degradation and a complete blackout.
3.2. Fuzzy Logic Based Control System
The supervisory controller is a system which supervises different modes of operation and manages the power flow in a system. Furthermore, this master control system also controls the different components functioning mode in order to ensure efficient optimum operation. By using a fuzzy logic-based control system, frequency and voltage stabilization is performed to maintain the power quality, efficiency and reliability of the hybrid standalone microgrid system.
The fuzzy logic technique [
33] is used as supervisory controller for the frequency control system in our proposed model. Fuzzy logic is a computing approach based on “degrees of truth” rather than the usual “true or false” (1 or 0) Boolean logic on which modern computers are based. Fuzzy logic seems closer to the way our brains work. We aggregate data and form a number of partial truths which we aggregate further into higher truths which in turn, when certain thresholds are exceeded, cause certain further results such as a motor reaction.
Our proposed fuzzy logic-based frequency and voltage stabilization system controls the battery energy storage system and secondary AC loads based on frequency, voltages and state of charge in case of emergency in a much more efficient, reliable and dynamic way.
It also improves the system response as it doesn’t require any separate process for power and other calculations. Frequency from the PLL block and voltages from the DC link along with battery state of charge are the inputs of the fuzzy-based frequency and voltage controller. The fuzzy logic rules used to maintain the system efficiency can be seen in
Table 2. This controller manages the operation of the battery storage system, dump load and secondary loads (load shedding case) as output as shown in
Figure 8.
Fuzzy sets can be represented graphically by membership functions. For any set X, a membership function on X is any function X to the real unit interval [0,1]. Membership function on X represent fuzzy subsets. Here, each element of X is mapped to a value between 0 and 1 called degree of membership. There is a high possibility of multiple membership functions for fuzzification of single numeric value. Membership functions for the input and output variables can be seen in
Figure 9 and
Figure 10. Since the fuzzy system accepts linguistic variables and hence these have to be changed by fuzzification followed by max-min method to set the rules of the controller as expressed by Equation (10), where, α
1 and α
2 are input variables, μ
1 and μ
2 are the corresponding membership value:
Similarly, since hybrid microgrid systems cannot respond directly to the fuzzy controls, the fuzzy control output generated by the fuzzy algorithm has to be changed back by using the defuzzification method. Subsequently, the approximate center of gravity (COG) method, which is supposed to be the most accurate method to get an output as crisp value, has been used and is shown in Equation (11):
The weighted average of membership function of the area bounded by its curve is considered as most crisp value of fuzzy quantity. This equation is used to check the strength of rules. Fuzzy logic rules have been developed keeping in mind the practical aspects of system operation. Triangular and trapezoidal membership functions of inputs and outputs are shown in
Figure 9 and
Figure 10.
Overlapping membership functions are considered to avoid fluctuations and carry out smooth transitions during switching of various controls and shifting between different modes. There are various membership functions for input such as frequency, DC link voltage and SOC whereas output variables are battery charging/discharging control, dump load controller and secondary loads. Fuzzy logic generates output values with respect to input membership functions according to the designed rule base. Operation of the fuzzy logic-based frequency and voltage stabilization system is briefly discussed in
Section 4, where it can be seen working in different scenarios according to current conditions.