A Modified Double-Integral-Sliding-Mode-Controller for a Microgrid System With Uncertainty
Swati Sucharita Pradhan and Raseswari Pradhan*
1Dept. of Electrical Engg., VSSUT Burla, Sambalpur, India
E-mail: swati89pradhan@gmail.com; rase1512@gmail.com
*Corresponding Author
Received 20 July 2020; Accepted 29 September 2020; Publication 08 December 2020
Recently infiltration of large scale of microgrid systems into the power grid is recorded. Among these systems, photovoltaic (PV) based microgrid systems are more in demand due to its renewable, pollution free properties and abundantly available fuel. Grid integration of this microgrid system again enhanced its energy efficiency. But, dynamics of this PV based microgrid system is highly nonlinear and uncertain in nature. It suffers from parametric uncertainties. This kind of system can’t be controlled properly by conventional linear controllers. Sliding mode controller (SMC) is capable of controlling this kind of system with ease. However, SMC suffers from its inherent chattering introduction in the system output waveform. To reduce the chattering from the output waveform, there is requirement of some modification in the existing SMC structure dynamics. This paper presents an extended state observer based double integral sliding mode controller (DISMC) for this studied system. By using DISMC, the chattering magnitude is diminished greatly. Parameter uncertainties of the system lead to some unknown control states. These unknown states are identified by the state observer. Therefore, the proposed controller is more efficient in reference tracking, disturbance rejection and robust stability. To test the efficacies of the proposed controller, results of the studied system with this controller are compared with that of H controller.
Keywords: Three-phase microgrid, photovoltaic system, DISMC, H controller, parametric uncertainties.
PV based microgrid systems have emerged as a reliable and efficient source of power generation in recent times. This happened as a result of manufacturing cost reduction of the PV module and the use of more efficient power electronic converters which improves the overall system efficiency and reliability [1]. The PV systems generally are of standalone or grid connected types. The later type of system is again of two types such as single-stage and two-stage types. Although two stage PV systems are more in use conventionally due to its simplicity, it has the demerit of reducing the overall systems efficiency besides increasing the cost [2]. For this reason, the single-stage PV system is preferably in demand now-a-days. Here, the inverter performs dual functions like tracking of maximum power from PV panel and regulation of dc-link voltage. With a suitable filter it is also capable of providing sinusoidal current to the grid [3].
In this system, magnitude and quality of input power depend on environment. Environmental conditions are always stochastic in nature. Therefore, the input power of the system is inherently nonlinear. Further nonlinearity factors are added by the power electronics switches of dc to dc converters and inverters. Thus, the linear controllers like PID-controller are unable to handle this system efficiently. To make them usable, the system needs to be linearized near the desired operating point. However, change in equilibrium point may leads to system failure [4]. Again, this controller needs the system structure data in regular time-span for tuning its gains [5]. These nonlinearities can be cancelled by using feedback linearization techniques. However, these controllers are very sensitive to any change of parameters [6, 7]. It also aggravates the complication in modeling and execution of the inverter [8].
Linear controllers are conventional and ease in usage. Hence, they are widely used in industrial applications. However, they fail in presence of parameter uncertainties [9]. In these situations, a nonlinear controller like H controller can be applied. But, the dynamics of H controller is very complex to design and implement [10]. Since the input to the PV system is highly stochastic in nature and the overall system is also being nonlinear, use of this H controller further enhance complexity without much gain in performance. It is also silent about the stability aspects. Therefore, there is a need of a controller which has the characteristics of robustness and maintains system stability in any condition [11].
SMC is one of the non-linear controllers that is inherently robust and maintain stability in all condition. This controller is easy to implement also [11]. However, one major problem with SMC is the introduction of steady state error in regulation due to its limited switching frequency [12]. To decrease this steady state error, one of the potential solutions is to increase the order of the controller [13]. SMC has been widely used in PV system in both standalone and grid connected system [14]. But the use of higher order SMC in particular the double integral sliding mode controller (DISMC) application has only been limited to that of in MPPT control standalone PV systems [15]. But its implementation in PV system tied with grid has not been investigated in the past. Again, sliding mode-based controllers are dependent on system dynamics and state variables are vital in their formulation. However, in many cases, some or all states of the system are unknown. In that case, observers can be used to estimate the unknown states [16, 17].
The contributions of this paper are as follows. A hybrid extended state observer based DISMC controller is proposed for the regulation of dc link voltage and grid current respectively. DISMC is based on the information of all the states of the studied PV system. The state observer provides information about the unknown control states that are lost due to presence of parameter uncertainties of the system. The results of the studied PV system are compared with that of the SMC and H- controllers.
This paper is organized as follows. Section 2 designates the mathematical modeling of the studied PV system. Problem formulation is done in Section 3. Then Section 4 discusses the structure of the hybrid controller. Further simulation results and corresponding discussion are in Section 5. Finally, the concluding remarks are in Section 6.
The overall layout of the studied PV system is shown in Figure 1. The studied power system consists of following major components (i) PV array, (ii) DC-link, (iii) Voltage Source Inverter (VSI), (iv) Grid filter and (v) Grid. This power system has PV panels as input. The input supply is provided to the ac grid using an intermediate 3- inverter. Here the inverter performs the dual tasks such as maintain the input voltage from solar panel at its maximum level and maintaining required level of active and reactive power by regulating the current injected to the grid.
PV cell is the vital component of a solar power system. Therefore, it is required to use an appropriate model of it. From widely available models, Figure 2 shows the widely accepted one model of a PV cell. Here, V and I are the voltage and current generated from a PV panel model respectively. It also consists of and are the number of parallel and series connected modules to increase the array voltage and current respectively. Thus the overall array current is given as follows.
(1) |
The inverter output voltages which are input to the grid is given as below.
(2) | ||
Let, , , , , , S be the switching signals fed to the inverter and , . Further, the voltage across the inverter is given as follows.
(3) | ||
Analyzing Equations (2) and (3), the following set of equations are generated.
(4) | ||
Here, Equations (4) and (5) represent the overall model of the studied system. Again, voltage () across the dc link capacitor () is formulated as follows.
(5) |
Where the inverter input current
(6) |
It is observed that the model is nonlinear because of the switching signals and and also time variant time in nature. This model is very complex to analyze and control. Therefore, to enhance easiness of the model, it is remodeled in time invariant dqo reference frame rotating at angular frequency () of grid as shown in Equation (7). In this equation, the applied voltage and current terms bears the usual terms of current and voltages in their respective dqo reference frame.
(7) |
Some uncertain and nonlinear factors may be intentionally or unintentionally excluded from the mathematical model of the PV dynamics. This creates remarkable differences between outputs of the real system and the modeled system. To make the modeled system more realistic some of its uncertainty factors need to be added to the modeled system dynamics. Further, system efficiency and stability would be enhanced if controllers are designed referring this dynamic [18].
In the studied PV system, the grid line parameters like inductance, resistance and the capacitance may suffers from various nonlinearities and uncertainties. So, their values are to be approximated near to their actual values. The approximated line parameters are shown as follows.
(8) | ||
(9) | ||
(10) |
Where , and are the nominal values of the respective line parameters as inductance (L), resistance (R), and capacitance (C) respectively. Similarly, and are the possible uncertain and nonlinear factors of introduced to these parameters. Again, the line parameters can be presented in linear fractional transformation (LFT) structure so as to introduce the above uncertainties and nonlinearities to the studied system model [18]. First, the inductor in LFT form is represented as follows
(11) |
Where
(12) |
Similarly, the other parameters in LFT forms are shown as follows.
(13) | ||
(14) |
Where,
(15) |
The block diagram of the studied system with parameters in LFT is shown in Figure 3. Here and are the inputs and outputs from the uncertainty block and respectively.
Assuming all these uncertainty as parameters d1 and d2 for state equation corresponding to id and iq, now Equation (7) can be rewritten as follows.
(16) |
Where,
(17) |
In a three phase system the active power P and the reactive power Q are given by [16].
(18) |
Assuming the three phase grid voltage to be sinusoidal, the grid voltage vector v=0. Hence the active and reactive power
(19) |
Hence the powers, and can be controlled by controlling the currents and respectively. For this the grid current in dq-frame is made to track the reference currents and . Further, the system power factor is required to be maintained unity as it is integrated to utility system. For that the reference given to the controller should be 0.
The detail formulation of the two controllers is as follows.
A nonlinear extended state observer is included to estimate the unknown parameters d1 and d2 [17]. This observer is designed based on hyperbolic tangent function. It is assumed that, due to the presence of uncertainties in the system, the states and are not fully known. Let’s consider one parallel system that is represented by state variables and . Here, and . Give us the estimated values of and by the state observer.
(20) |
For this system, the estimated errors are calculated as follows.
(21) | ||
(22) |
These estimated errors also bounded for bounded input.
The algorithm for the design of DISMC for grid connected PV system is as per the following steps.
Step 1: Estimation of reference current id, from the output of the PI controller and initializing .
Step 2: Designing the sliding surfaces S1 and S2 for regulating current id and iq respectively in the following structures.
(23) |
Where,
(24) | ||
Where and are the coefficients of the sliding surfaces and respectively.
Figure 4 shows the layout of the proposed control set-up. Here, a nonlinear estimated state-observer based on hyperbolic tangent function is presented for estimating disturbance mismatching (d1 and d2). After that the sliding surface of the proposed DISMC is calculated. Then, the required control law is computed.
Step 3: Next step is the design of control inputs, u which satisfies the sliding mode existence law. The control input u drives the state variables to the sliding surface and maintains them on the surface thereafter irrespective of any disturbance.
The control input u is the addition of equivalent control input and nonlinear control input .
Step 4: Calculation of the equivalent control input and obtained by using the invariance condition as follows.
(25) |
solving the above equation, we obtain
(26) |
Similarly, we can obtain
(27) |
Step 5: The nonlinear control inputs can be chosen as
(28) |
Step 6: Hence the control inputs to the inverter are
(29) | ||
(30) |
The detailed controller model of the studied system is shown using Figure 5.
Sunpower SPR-415E-WHT-D PV modules are used in the software simulation. The parameters of the system are shown in Table 1. The proposed three phase system is analyzed and controlled with simulation results. The MATLAB/SIMULINK model of the studied system is shown using Figure 6.
Table 1 Proposed system parameters
Parameters | Values | |
PV | Voltage at MPP(V) | 72.9 |
Current at MPP (A) | 5.69 | |
Np | 100 | |
Ns | 7 | |
Rp (ohms) | 419.78 | |
Rs (ohms) | 0.5371 | |
Grid | Grid voltage (KV) | 25 |
Line inductance L(mH) | 0.4 | |
Line resistance R (ohms) | 0.01 | |
Frequency (Hz) | 50 | |
DC link | Voltage Vdc(V) | 480 |
The simplified input-output block diagram is shown in Figure 7. Here, gain of the block is taken as follows.
(31) |
Where
In this work, the uncertain and nonlinear factors are assumed as follows. , and also . The nominal values of L, R and C are taken as 2 H, 30 and 50F respectively.The studied system with upper LFT is shown in Figure 8.
The PV characteristic of the studied PV modules is shown in Figure 9(a). The voltage at MPP, in our case is around 515Volts. Here, the MPPT is maintaining the array voltage at its peak. The measured array voltage is shown in Figure 9(b). In Figure 9(c), it can be seen that the both voltage and current of the grid are maintained in phase as per our objective. This indicates that the system is functioning at unity power factor and hence the proposed system is fulfilling one of our design objective like keeping voltage and current of utility at unity power factor.
For better explanation of the efficacy of the proposed controller, the output results of the studied PV system with the proposed controller is compared with that of the system with that of the H controller. The reason behind choosing H controller for comparison is due to its capability of handling parameter uncertainty like the proposed controller. The block diagram of the studied system with H controller is shown in Figure 10. For H controller design, -based MATLAB tool-box (hinfsyn function) is used. Here, the weighing functions (W and W) are chosen as follows to reduce control effort over high frequency range.
(32) |
and
(33) |
To get accurate reference tracking and disturbance rejection, the following condition is formulated from Equations (32) and (33) in all frequency ranges.
(34) |
In H controller design, the controller transfer function is obtained as a fourth order dynamics with a value of 1.0005 and a norm between 0.22499 and 0.22521. The controller obtained was found as follows.
(35) |
Further, another factor is introduced to test robustness of the studied system. Robust stability is guaranteed if the upper limit of is less than 1 (). The result showing is shown in Figure 10 (b). From Figure 10(b), it can be seen that for the proposed system value is settling at 0.35. So, the system is stable with the H controller. Figure 11 is shows bode plot of the system for a wide range of solar irradiances from 200 W/m to 1000 W/m with a span of 200 W/m. It is seen that the system remains stable for all cases.
The robustness of the proposed controller is tested by changing the PV irradiance from 1000 G/m to 800 G/m at time t 1 secs and again increased to 1000 W/m at time t 2 secs as shown in Figure 12(a). The grid current of phase a is compared with SMC as shown in Figure 12(b) and 12(c).
Figure 13(a) and (b) show the tracking behaviors of id and iq. Further the active and reactive component of current id and iq respectively are changed to 1A at time t 1 sec and then decreased to 0.8 A at time t 2 secs It can be seen from Figure 13, that the current components id and iq track the respective reference currents and . If this happens then automatically P and Q would be maintained at required levels. This ensures our second objective of the system design that is proper control of active and reactive power components P and Q respectively. Also, it is seen that when the irradiance is decreased from 1000 to 800 at time t 1 sec, the THD of grid current in case of proposed controller is lesser than that of SMC. Hence the current fed will have less distortion and harmonic losses.
For analysis of the tracking performances of current id and iq in the variable irradiance scenario, the results in case of proposed controller are compared with that of SMC controller and H controller. The tracking performances results in case of SMC controller are shown in Figure 14(a) and 14(b). Also, the behavior of current id and iq using the H controller is shown in Figure 15(a) and 15(b). Comparing results of Figures 12–14, it is clear that the tracking is faster in case of the proposed controller (Figure 12). Further, the high frequency chattering is less in case of the proposed controller compared to that of H controller and SMC controller. Therefore, it is seen that the proposed controller efficiently tracks both the reference currents generated in much lesser time than that of SMC and H controller with least chattering. Hence, the system with the proposed controller experiences lesser transient losses.
Again, in Figure 16 the THD of the current fed to grid is also calculated in order to ensure that it is within the permissible limit which is 5 % as recommended by grid codes. The THD was found to be 2.15% which is much lesser than that of the permissible limit.
Table 2 Performance variation with THD and settling-time in case of different parameter selection Of DISMC controller
Parameters | THD in Phase a | Settling Time | Settling Time | |||
Grid Current (%) | of Id (secs) | of iq (secs) | ||||
1 | 1 | 1 | 1 | 4.25 | 0.07sec | No reference tracking |
1 | 1 | 1000 | 10000 | 3.98 | 0.07 sec | 0.8 |
1 | 1 | 10000 | 10000 | 2.74 | 0.07 sec | 1.4 |
1 | 1 | 50000 | 50000 | 2.17 | 0.07 sec | |
10 | 1 | 50000 | 50000 | 2.19 | 1.01 sec | |
12 | 0.1 | 50000 | 50000 | 2.14 | 3.2 msec |
Table 3 Performance variation with change in and in case of different parameter selection of DISMC controller
Parameters | |||||
(secs) | (secs) | ||||
1 | 1 | 1 | 1 | 0.15A | unstable |
1 | 1 | 1000 | 10000 | 0.15A | 0.18 |
1 | 1 | 10000 | 10000 | 0.15 A | 0.32 |
1 | 1 | 50000 | 50000 | 0.15 | 0.09A |
10 | 1 | 50000 | 50000 | 0.1 | 0.09 |
12 | 0.1 | 50000 | 50000 | 0.09 A | 0.09A |
The parameters of the proposed controller are selected so as to obtain the following behaviors such as (i) Minimum THD, (ii) lesser settling time for id and iq and (iii) Smaller chattering.
Tables 2 and 3 shows some of the chosen parameters and their corresponding output responses. The proposed controller is compared with H and SMC controller in terms of its THD, chattering magnitude, Steady state error (SSE) and settling time in Table 4. The steady state error is calculated as follows.
(36) |
Where reference value of current
maximum value of current during steady state
minimum value of current during steady state
Table 4 Overall comparison of simulation results
Parameters | H Controller | SMC | PROPOSED Controller | |
Robust Stability | Not Present | Present | Present | |
Complexity | less | less | More | |
THD in grid current (%) | 1.46 | 2.6 | 2.15 | |
Chattering | Current Iq | 0.1 | 0.15 | 0.09 |
Magnitude (A) | Current Id | 0.05 | 0.11 | 0.09 |
SSE (%) during | Current Iq | 0.4 | 2.5 | 0.5 |
reference tracking of | Current Id | 0.5 | 1 | 0.5 |
Settling time | Current Iq | 1.4 | ||
during change in reference (secs) | Current Id | 1.35 | 4.2 | 3.2 |
This paper proposes the simulation and control of a three phase photovoltaic system using an extended state observer based double integral sliding mode controller. The controller is usually a hybrid combination of two controllers. First one is used to regulate quality of power fed to the grid and maintained its power factor at unity. The second one is to make the PV array operate at its optimum point. Results shows both the active and reactive component of current are tracked efficiently thus maintaining the system at unity power factor. Also the system is tested for change in active and reactive current references Also the proposed controller is compared with a SMC and H controller to test its robustness. It was found that the proposed controller has relatively lesser chattering magnitude, SSE and settling time than other compared controllers. The studied system with the proposed controller is found to be inherently stable. Also, more accurate reference tracking and disturbance rejection can be maintained using this controller compared to SMC and H controllers. It is further verified that the system remains stable in presence of uncertainty and nonlinearity.
[1] Erdem, Z. B. 2010. The contribution of renewable resources in meeting Turkey’s energy-related challenges. Renewable and Sustainable Energy Reviews, 14(9): 2710–2722, doi: 10.1016/j.rser.2010.07.003.
[2] Jana, J., Saha, H., and Bhattacharya, K. D. 2017. A review of inverter topologies for single-phase grid-connected photovoltaic systems. Renewable and Sustainable Energy Reviews, 72: 1256–1270, doi: 10.1016/j.rser.2016.10.049.
[3] Kjaer, S. B., Pedersen, J. K., and Blaabjerg, F. 2005. A review of single-phase grid-connected inverters for photovoltaic modules. IEEE transactions on industry applications, 41(5): 1292–1306, doi: 10.1109/TIA.2005.853371.
[4] Eltawil, M. A., and Zhao, Z. 2010. Grid-connected photovoltaic power systems: Technical and potential problems—A review. Renewable and sustainable energy reviews, 14(1): 112–129, doi: 10.1016/j.rser.2009. 07.015.
[5] Zue, A. O., and Chandra, A. 2009. State feedback linearization control of a grid connected photovoltaic interface with MPPT. In 2009 IEEE Electrical Power & Energy Conference (EPEC): 1–6, doi: 10.1109/EPEC.2009.5420870.
[6] Kim, I. S. 2007. Robust maximum power point tracker using sliding mode controller for the three-phase grid-connected photovoltaic system. Solar Energy, 81(3): 405–414, doi: 10.1016/j.solener.2006.04.005.
[7] Mahmud, M. A., Pota, H. R., Hossain, M. J., and Roy, N. K. 2013. Robust partial feedback linearizing stabilization scheme for three-phase grid-connected photovoltaic systems. IEEE Journal of photovoltaics, 4(1): 423–431, doi: 10.1109/JPHOTOV.2013.2281721.
[8] Hassaine, L., OLias, E., Quintero, J., and Salas, V. 2014. Overview of power inverter topologies and control structures for grid connected photovoltaic systems. Renewable and Sustainable Energy Reviews, 30: 796–807, doi: 10.1016/j.rser.2013.11.005.
[9] Rasool, A., Ahmad, F., & Šabanović, A. 2017. Voltage source converter control under unbalanced grid voltage conditions.XXVI International Conference on Information, Communication and Automation Technologies (ICAT): 1–6, doi: 10.1109/ICAT.2017.8171643.
[10] Tan, S. C., Lai, Y. M., and Chi, K. T. 2008. General design issues of sliding-mode controllers in DC–DC converters. IEEE Transactions on Industrial Electronics, 55(3): 1160–1174, doi: 10.1109/TIE.2007. 909058.
[11] Kim, I. S. 2006. Sliding mode controller for the single-phase grid-connected photovoltaic system. Applied Energy, 83(10): 1101–1115, doi: 10.1016/j.apenergy.2005.11.004.
[12] Hace, A., Jezernik, K., and Sabanovic, A. 2007. SMC with disturbance observer for a linear belt drive. IEEE Transactions on Industrial Electronics, 54(6): 3402–3412, doi: 10.1109/TIE.2007.906130.
[13] Chowdhury, M. A., and Mahmud, M. A. 2014. Characteristics evaluation of a H loop-shaping controller for a single-phase PV system.IEEE PES Asia-Pacific Power and Energy Engineering Conference (APPEEC): 1–6, doi: 10.1109/APPEEC.2014.7066115.
[14] Baranwal, M., Askarian, A., Salapaka, S., and Salapaka, M. 2018. A distributed architecture for robust and optimal control of DC microgrids. IEEE Transactions on Industrial Electronics, 66(4): 3082–3092, doi: 10.1109/TIE.2018.2840506.
[15] Wang, Y., Wu, Q., Yang, R., Tao, G., and Liu, Z. 2018. H current damping control of DFIG based wind farm for sub-synchronous control interaction mitigation. International Journal of Electrical Power & Energy Systems, 98: 509–519, doi. 10.1016/j.ijepes.2017.12.003.
[16] Zhang, X. P., Rehtanz, C., and Pal, B. 2012. Flexible AC transmission systems: modelling and control. Springer Science & Business Media, doi: 10.1007/978-3-642-28241-6.
[17] Toloue, S. F., Kamali, S. H., and Moallem, M. 2019. Multivariable sliding-mode extremum seeking PI tuning for current control of a PMSM. IET Electric Power Applications, 14(3): 348–356, doi: 10.1049/iet-epa.2019.0033.
[18] Pradhan, S. S., R. Pradhan and B.Subudhi. 2019. Design and Analysis of an H Controller for a Single Phase Grid Connected Photovoltaic System with Parametric Uncertainties. Second International Conference on Advanced Computational and Communication Paradigms (ICACCP), doi. 10.1109/ICACCP.2019.8882898.
[19] Pradhan, R. and B. Subudhi. 2012. A new digital double integral sliding mode maximum power point tracker for photovoltaic power generation application. IEEE Third International Conference on Sustainable Energy Technologies (ICSET): 183–188, doi. 10.1109/ICSET.2012.6357395.
Swati Sucharita Pradhan is pursuing her Ph.D. degree in department of EE, VSSUT, Burla under the supervision of Dr. Raseswari Pradhan and Prof. B. Subudhi. She has her educational degrees like B.Tech. from BPUT and M.Tech. from VSSUT, Burla. Her research interests are design and control of renewable energy systems.
Raseswari Pradhan was born in Bargarh, Odisha, India. She got her Ph.D. degree in control system engineering from National Institute of Technology, Rourkela, India in 2014. She got her B.E. and M.E. degrees in electrical engineering from I.G.I.T., Sarang, Utkal University, Odisha and Jadavpur University, Kolkata, respectively. Currently she is serving as an Assistant Professor in the Department of Electrical Engineering, Veer Surendra Sai University of Technology, Burla, India. She has more than ten papers published in various reputed journals like IEEE Transactions on Sustainable Energy, IEEE Transactions on Control Systems Technology, IET, Elsivier etc. In addition to that, she has more than thirty research publications in different conference proceedings. Till the date, she has guided seven M.Tech. and twenty-five B.Tech. research scholars. Now, four Ph.D. scholars, two M.Tech. scholars and seven B.Tech. scholars are working under her guidance. Her research interests include control, renewable energy and microgrid stability and industrial Electronics.
Distributed Generation & Alternative Energy Journal, Vol. 35_1, 19–46.
doi: 10.13052/dgaej2156-3306.3512
© 2020 River Publishers