A New Coordinated Fuzzy-PID Controller for Power System Considering Electric Vehicles


With penetration growing of renewable energy sources which integrated into power system have caused problems on grid stability. Electric Vehicles (EV) are one of the renewable energy sources that can bring significant impacts to power system during their charging and discharging operations. This article established a model of single machine infinite bus (SMIB) power system considering EV as a case study of load disturbance for power system oscillation. The objective of this research is to enhance stability and overcome the drawbacks of traditional control algorithms such as power system stabilizer (PSS), PID controller and fuzzy logic controller (FLC). The implementation’s effect of FLC parallel with PID controller (Fuzzy-PID) has been shown in this paper. The speed deviation (?ω) and electrical power (Pe) are the important factors to be taken into consideration without EV (only change in mechanical torque), EV with change in the mechanical torque and sudden plug-in EV. The obtained result by nonlinear simulation using Matlab/Simulink of a SMIB power system with EV has shown the effectiveness of using (Fuzzy-PID) against all disturbances.

Share and Cite:

Magdy, G. , Shabib, G. , Elbaset, A. , Kerdphol, T. , Qudaih, Y. and Mitani, Y. (2017) A New Coordinated Fuzzy-PID Controller for Power System Considering Electric Vehicles. Energy and Power Engineering, 9, 425-435. doi: 10.4236/epe.2017.94B048.

1. Introduction

Power system operation is characterized by the random variation of the load condition, continuous change in generation schedule and network interconnection. Moreover, Power systems have usually more disturbances such as actions of different controllers, switching of lines or increasing loads in the system [1]. Electric Vehicles (EVs) have electric motor instead of engine which gained much concern as the next generation vehicles. Vehicle-to-Grid has two operating modes, a charging operation of EV absorbs power from the grid which caused frequency regulation down but discharging process power flow back to grid and caused frequency regulation up. Then, charging operation of EV uses as a load disturbance on power system [2] [3]. Such disturbances will lead to bringing low frequency oscillation in power system, which should be consequently endangering the overall stability of the system [4]. The stability of power systems is one of the most important subject which has challenged electrical engineering, therefore it is considered the first recognize as an important problem in power system operation since the 1920s [5].

In the late 1950’s most of electric power systems used Automatic Voltage Regulators (AVR) for damping the power system oscillations and maintain the overall stability of the power system [4] [6]. Nowadays convention Power System Stabilizer (CPSS) is one of the most important controllers in modern electric power systems for enhancing system stability and damping the low frequency oscillations. Demello and Concordia [7] were the first to utilize the principle of phase compensation in the frequency domain to make a thorough analysis of a lead-lag compensator to give a supplemental signal in the machine excitation system. The conventional power system stabilizer (CPSS) mostly used to obtain damping to the system using speed deviation (Δω) [8] [10].

In a previous work, a conventional controller such as power system stabilizer (PSS) [11], different structures of proportional-integral-derivative controller (PID) and fuzzy logic controller [12] [13] and [14] have been employed for improving the stability of a SMIB. To further enhance stability and overcome the drawbacks of convention controllers. However, considering electric vehicles (EV) as a case study of load disturbance beside the change in mechanical torque for power system oscillation. A coordinated Fuzzy-PID controller as power system stabilizer have been used.

Recently, fuzzy logic controller (FLC) showed up as robust tool in control of complex power system. However, it has more merits than other controllers such as simplicity, low cost and its robustness and effectiveness [15]. In this paper, our contribution has been developed of a new coordinated Fuzzy-PID controller for a SMIB power system with EV as load disturbance beside the change in mechanical torque. To show the robustness and effectiveness of this coordinate under all disturbance cases than other convention controllers for all study cases.

This paper is organized as follows. In Section (2) presents the system configuration that consists of two subsections, which are driving the power system considering EV model and explains the conventional controller models (PSS and PID). Design of fuzzy-PID controller is considered in Section (3). Simulation results and analysis are presented in Section (4). Finally, the conclusion is given in Section (5).

2. System Configuration

2.1. The Power System Model

Figure 1 show the studied system which is a Single Machine Infinite Bus (SMIB) (Kundur 1993) [4]. The model used for representing the synchronous generator connected through transmission line to a very large power network approximated by an infinite bus. The synchronous generator is driven by a turbine with a governor and excited by an external excitation system [13]. However, the plug-in EV has been considered as a load disturbance for power system oscillation and modeled as a first order system as shown in Figure 2 [16]. The Plug-in EV power control against deviation of frequency is shown in Figure 3 [2] [3], which V1G is the one-way charging power control from grid to vehicles.

Parameters K1, K2, ・・・, K6 are the constant of linearized model of synchronous machine. From the blocks diagram shown in Figure 1 and Figure 2 the following fifth order linearized single machine infinite bus system considering EV which can be given in state space form as follows:

Figure 1.Block diagram of SMIB.

Figure 2.EV model.

Figure 3.PEV power control against frequency deviation.

The speed deviation is assumed to be measured as the output of the system. The constants of the generation system and EV which are connected to power system used for study are given in Appendix I [4].

The damping coefficient (Damp) is included in the swing equation. The eigenvalues of the matrix A should lie in LHP in the S-plane for the system to be stable. It is to be noted that the elements of matrix A are depended on the operating condition. The values of K1, K2, ・・・, K6 in the matrix A are to be calculated according to the operating conditions of the generation system and connected power System [4]. Details of these constants are given in Appendix II.

2.2. Conventional Controller Models

2.2.1. Power System Stabilizer Model (PSS)

PSS is widely used in the power system to improve the damping oscillations of the power system; sometime it is called the damping controller. The PSS is considered as comprising two cascade connected blocks, commonly lead-lag structure [1]. The PSS structure is illustrated in Figure 4.

The gain determine the amount of damping and it is chosen by trial and error method and The washout stage is used to prevent a steady-state voltage shift, then the washout time constant is chosen in between 0 to 20 sec.;, , and are time constants of the lead-lag type [10].

2.2.2. PID Controller

The proportional integral and derivative (PID) controller is a one of the earliest industrial controllers. It has many advantages: Its cost is economic, simple easy to be tuned and robust [17] [18] [19]. The practical PID structure is illustrated in Figure 5.

In the parallel form of the PID controller, there are three simple gains, and are used in the decoupled branches of the PID controller which tuned by using PID tuner in Simulink model. The term acts as an effective low-pass filter on the D regulator to attenuate noise in the derivative block [18].

3. Design of Fuzzy-PID Controller

The proposed coordinated of Fuzzy-PID controller block diagram is given in Figure 6. Speed deviation and acceleration have been selected as controller inputs, and the output of the coordination (Fuzzy-PID) is injected into voltage summing point.

All inputs and output variable of (FLC) are seven linguistic fuzzy which are defined as NB, NM, NS, ZO, PS, PM and PB means Negative Big, Negative Medium, Negative Small, Zero, Positive Small, Positive Medium and Positive Big [20]. The performance of FLC depends on the membership fuctions which are triangular is this paper.

Figure 4. Structure of PSS.

Figure 5. Structure of PID.

Figure 6. Structure of Fuzzy-PID.

Inputs and output values which are speed deviation, acceleration inputs and reference voltage output lies between [−1:1] and we adjust inputs factors Ku1, Ku2 to normalize inputs and then we change Ku3 to obtain optimal result [20].

Designing the coordinated of (Fuzzy-PID) depends on designing FLC and PID, tuning PID controller by using PID tuner in Matlab/Simulink model. However, FLC needs the definition of control rules, we have used the algorithm [20] developed to generate them. The speed deviation and acceleration results in 49 rules for this model, these rules shows in Table 1.

4. Simulation Results and Analysis

The dynamic performance of SMIB considering EV has been analyzed with the proposed coordinated (Fuzzy-PID) controller, PSS and PID. The speed deviation (∆ω) and electrical power (Pe) are studied for three cases are considered:

Case 1: in this case, nominal parameters of the system are considered and the system is examined in the absence of EV disturbance as shown in Figure 7 and Figure 8. From figures, it is clear that, the coordinated Fuzzy-PID obtain a robustness performance which given the least value of overshoot than others controllers and it reaches to steady state at small time.

Case 2: in this case, plug-in electric vehicles as a load disturbance integrated to SMIB. Figure 9 and Figure 10 show the dynamic responses for speed deviation, and electric power for (Fuzzy-PID, PSS, and PID) controllers. From these figures, it notices that the effect of plug-in EVs absorb power and make undershoot in the first cycle. However, the proposed coordinated give a good result under studying of this case

Case 3: in this case, suddenly plug-in electric vehicles as a load disturbance integrated to SMIB from (4:7) sec. Figure 11 show the dynamic responses for speed deviation for (Fuzzy-PID, PSS, and PID) controllers which the effect of plug- in EVs appears at 4 secs and making undershoot. However, the proposed coordinate (Fuzzy-PID) given effectiveness performance and produces smaller overshoot than other. It is cleared that from simulation result as shown in Figure 12, EVs absorb power when plugged into SMIB at 4 secs and the steady state power become 0.8 Pu which the proposed coordinate reach to it throw 1.3 sec.

Table 1. Fuzzy rule bases.

Figure 7. Dynamic responses of speed deviation.

Figure 8. Dynamic responses of electric power.

(Fuzzy-PID) coordination produce some undershoot than other but it has a good performance.

4.1. Conclusion

In this study, the coordination (Fuzzy-PID) controller is applied to SMIB power

Figure 9. Dynamic responses of speed deviation at plugging EV.

Figure 10. Dynamic responses of electric powerat plugging EV.

Figure 11. Dynamic responses of speed deviationat plugging EV from (4 - 7) sec.

system considering EVs which used as a case study as load disturbance for stability enhancement. A comparison study of the proposed coordinated (Fuzzy-PID) is

Figure 12. Dynamic responses of electric powerat plugging EV from (4 - 7) sec.

carried out with conventional controllers such as PID and PSS. The result observed by simulation showed that the coordination (Fuzzy-PID) obtained a robustness performance for all the cases study.

Appendix I

・ Generator parameters:

Exciter parameters:


・ The K’s:

, , , , ,.

・ Transmission line:


・ Operating point:

, ,.

・ Electric Vehicles

・ TEV = 0.1, PEV = 0.2 Pu

・ PSS Parameter

K = 50, T1 = 10, T2 = 0.25, T3 = 0.03, T4 = 0.05, T5 = 0.15

Appendix II

, ,




Conflicts of Interest

The authors declare no conflicts of interest.


[1] Anderson, P.M. and Fouad, A.A. (1977) Power System Control and Stability. Iowa State University Press, Ames, Iowa, 1.
[2] Saiteja, K. and Krishnarayalu, M. S. (2015) Load Frequency Control of Two-Area Smart Grid. In-ternational Journal of Computer Applications (0975 – 8887), 117. https://doi.org/10.5120/20619-3323
[3] Shimizu, Masuta, Ota, Liyanage, Yokoyama.(2010) System Frequency Controller using Electric Vehicles in Power System with Large Penetration of Renewable energy sources. ICEE2010.
[4] Kundur, P. (1994) Power System Stability and Control. New York: Tata McGraw- Hill.
[5] Pavan, P., Rbabu, M. and Swathi, S. (2012) Dynamic analysis of Single Machine Infinite Bus System Using Single Input and Dual Input PSS. IEEJ, 3, 632-641.
[6] Larsen, E.V. and Swann, D. A. (1981) Applying Power System Stabilizers, Part I, II, III.IEEE Trans. on Power Apparatus and Systems, 100, 3017-3041. https://doi.org/10.1109/TPAS.1981.316355
[7] Demello, F. P. and Concordia, C. (1969) Concepts of Synchronous Machine Stability as affected by Excitation Control. IEEE Trans. on Power Apparatus System, 189-202.https://doi.org/10.1109/tpas.1969.292452
[8] Hiyama, T. and Nakano, T. (1988) Application of Fuzzy Control Scheme for Stabilization of Electrical Power System. Proceeding of International Workshop on Fuzzy System Applications, 102-103.
[9] Sambariya, D. K., Gupta, R. and Sharma, A. K.(2009) Fuzzy Applications to Single Machine Power System Stabilizers. Journal of Theoretical and Applied Information Technology, 5, 317-324.
[10] Shabib, G. (2012) Digital Design of a Power System Stabilizer for Power System Based on Plant-Input Mapping. International Journal of Electrical Power & Energy Systems (IJEPES), 49, 40–46. https://doi.org/10.1016/j.ijepes.2012.12.010
[11] Shabib, G., Esam, H. and Abd-Elhameed, G. Magdy. (2014) A New Approach to the Digital Implementation of Analog Controllers for a Power System Control. International Journal of Scientific & Engineering Research (IJSER), 5, 419-427.
[12] Shabib, G., EL Dein, A. Z. and Magdy, G. (2014) Digital Redesign of a PI Controller for a Power System Based on PIM Method. 16th International Middle East Power Systems Conference (MEPCON'14), Ain Shams University, Egypt, December, 23-25, 2014.
[13] Hiyama, T. and Nakano, T. (1988) Application of Fuzzy Control Scheme for Stabilization of Electrical Power System. Proceeding of International Workshop on Fuzzy System Applications, 102-103.
[14] Shabib, G., Esam, H. and Abd-Elhameed, G. Magdy. (2015) Plant Input Mapping Digital Redesign of a PID Controller for a Power System Damping. 3rd International Conference on Energy Systems and Technologies, Cairo, Egypt, February 16-19, 2015.
[15] Swati R., Bhola, J., Manoj, K.P. and Bibhuti, B.R. (2016) Load Frequency Control of a Renewable Hybrid Power System with Simple Fuzzy logic Controller. International Conference on Computing Communication and Automation(ICCCA2016), 918-923
[16] Ali, R., Mohamed, T.H., Qudaih, Y.S. and Mitani. (2013) A new Load Frequency Control Approach in an Isolated Power Systems Using Coefficient Diagram Method. International Journal of Electrical Power & Energy Systems (IJEPES), 49, 111–116.
[17] Ang, K.H., Chong, G. and Li, Y. (2005) PID Control System Analysis, Design, and Technology. IEEE Trans. on Control Systems Technology, 13.
[18] Astrom, K.J. and Hägglund, T. (1995) PID Controllers: Theory, Design, and Tuning. Research Triangle Park, NC: Instrument Soc. Amer.
[19] Magdy, G. (2016) Digital Redesign of Analog Controllers for Power Systems Using PIM. LAP LAMERT-Academic Publishing, paperback, 164 Pages, 2016.
[20] El-Hawary, M.E. (1998) Electric Power Applications of Fuzzy System. IEEE Press. https://doi.org/10.1109/9780470544457

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.