Abstract

We investigate a specific smart grid system and its nonlinear properties. Lyapunov exponents are derived to prove the existence of chaos and bifurcation and bicoherence contours are investigated to show the parameter dependence and existence of quadratic nonlinearities, respectively. A fractional order model of the smart grid system (FOSG) is then derived and bifurcation of the FOSG system with variation in the commensurate fractional order of the system is investigated to show that largest Lyapunov exponent of the system exists in fractional order. Hence we proposed two different control methods to suppress the chaotic oscillations. In the first method we derive fractional order adaptive sliding mode control (FOASMC) algorithm to control chaotic oscillations and in the second method we used genetically optimized fractional order PID controllers (GAFOPID) for chaos control. Numerical simulations are conducted to show the effectiveness of the controllers and also to prove that GAFOPID controllers are more effective than FOASMC controllers for fractional order systems. The GAFOPID controllers are then realized in FPGA to show that the proposed methodology is hardware realizable.

1. Introduction

Smart grid holds the promise that the power sector can go “green” by taking more aggressive measures to lower the carbon dioxide () emissions through efficient integration of renewable energy sources [1, 2]. Smart grids and its technologies modernize our electric grids ensure safe, secure, cost effective, and reliable power transmission [3, 4]. Nonlinear phenomenon in power systems such as voltage collapse and oscillatory phenomenon can be analyzed using chaos theory [5]. Unpredictability and high sensitivity to initial conditions are the important characters of chaotic systems which led to severe blackouts and power system failures [6].

Control of chaotic systems in science and engineering is an important research area in the control literature [7]. Particularly chaos control methodologies have been of greater use in nonlinearity suppression of electrical systems such as in brushless DC motor [8], bifurcation and chaos control in a permanent magnet synchronous motor [9, 10], and PI controlled induction motor [11]. Uncertainty plays an important role in controlling nonlinearity in power systems. As discussed in literatures, the uncertainty caused by the state changes because of parallel distribution and generation in smart grids are not investigated [12, 13].

Recently many researchers have shown interest in the study of fractional order nonlinear systems [1416]. Methods for simulating fractional order chaotic system were presented by Petras [17] and Matlab solutions for numerical analysis of fractional order chaotic systems were discussed by Trzaska [18]. In chaos control of electrical systems fractional order controllers play an important role as larger Lyapunov exponents occur when fractional orders are close to “1” [1921]. Chaos suppression in fractional order brushless DC motor using sliding mode controllers [19] and fractional order permanent magnet synchronous motor, pi controlled induction motor by extended back stepping control [20], and fractional order PMSM motors with adaptive nonlinear controllers [21] is earlier investigated in the literatures. The stability of fractional order systems using Lyapunov stability theory has been investigated in the literature [22, 23]. A fractional order controller to stabilize the unstable fixed points of an unstable open-loop system was proposed by Tavazoei and Haeri [24]. A delayed feedback control (DFC) based on the act-and-wait concept for nonlinear dynamical systems was proposed by Konishi et al. [25], which reduces the dynamics of DFC systems to that of discrete-time systems. The control and synchronization of an induction motor system were investigated by Jin et al. [26]. Fractional order controller design for brushless DC motors and induction motors were investigated in the literature [19, 20]. FPGA implementation of fractional order systems is first discussed by Rajagopal et al. [27, 28].

Recently many digital implementations of chaotic systems have been proposed and implemented in field programmable gate arrays (FPGA) [2931]. Image crypto systems using chaotic random number generators are implemented in FPGA and are of greater interest because of the robustness and complexity of the chaos encryption systems [32]. FPGA based weak signal detectors using a Duffing oscillator were proposed by Rashtchi and Nourazar [33]. Multiscroll attractors and their digital implementation using FPGA are extensively investigated in recent years [29, 34]. Memristor based chaotic system and its FPGA circuits were proposed by Xu et al. [35].

Motivated by the above discussions, in this paper we propose a chaos control scheme for a fractional order smart grid model with fractional order adaptive sliding mode controllers (FOASMC) and genetically optimized fractional order PID controllers (FOGAPID). Dynamic analyses of the specific smart grid integer order dimensionless model [36] like Lyapunov exponents and bifurcation and bicoherence plots are derived to prove that chaos exists for selective values of the parameters. The fractional order smart grid (FOSG) model is then derived from the integer order smart grid model [36]. Bifurcation analysis of the FOSG system for variations fractional orders is investigated to prove that the largest Lyapunov exponent exists when fractional order is close to “1.” Hence fractional order adaptive sliding mode (FOASM) controllers and genetically optimized fractional order PID controllers are proposed to suppress the chaotic oscillations. By numerical simulations GAFOPID controllers are proven effective compared to the FOASM controllers. The proposed GAFOPID controllers are then implemented in FPGA to show that the proposed control scheme is hardware realizable.

2. Chaotic Dynamics of Smart Grid

In this section we investigate the chaotic dynamics of the specific smart grid system [36]. The dynamics of the system depends on rotator angle , load voltage angle , load voltage , angular rotation , and inverter current . To analyze the chaotic behavior of the smart grid parameters are taken as fixed parameters and is taken as the variable parameter. For simplicity the parameters are assumed as . The dimensionless model of the smart grid system is as given inSystem (1) shows chaotic behavior for the selected initial conditions and . Figure 1 shows the 3D phase portrait of the smart grid system (1).

3. Dynamic Analysis of the Smart Grid System

In this section we investigate the properties of the smart grid system discussed in Section 2. The initial conditions for the analysis are taken as in Section 2.

3.1. Equilibrium Points and Jacobian Matrix

The smart grid system (1) has one unstable equilibrium point . The characteristic equation of system (1) is given as and the eigenvalues are and is the unstable focus.

The Jacobian matrix of the smart grid system (1) at any point is found asand the elements of matrix are the functions defined as

3.2. Lyapunov Exponents and Kaplan-Yorke Dimension

Lyapunov exponents of a nonlinear system define the convergence and divergence of the states. The existence of positive Lyapunov exponents confirms the chaotic behavior of the system [37, 38]. We take the parameters of the smart grid system (1) with initial conditions and parameters as in Section 2; then the Lyapunov exponents of the smart grid system (1) are numerically found as

Since there are positive Lyapunov exponents in (4), it is clear that the smart grid system (1) is chaotic. Figure 2 shows the Lyapunov exponents of the smart grid system. We note that the sum of the Lyapunov exponents of system (1) is negative. In fact,

This shows that the smart grid system (1) is dissipative.

Also, the Kaplan-Yorke dimension of the smart grid system (1) is derived as

3.3. Bifurcation

In order to understand the parameter dependence of the smart grid system, we fix all the other parameters , is varied, and the behavior of the integer order smart grid system (1) is investigated. The bifurcation plot for various states versus the inverter current is given by Figures 3(a), 3(b), 4(a), and 4(b). From the figures, it is clear that, for the values , the system shows denser points confirming the existence of system’s largest positive Lyapunov exponent. Therefore, from the Lyapunov exponents and bifurcation diagrams in these figures, a conclusion can be obtained that chaos exists in smart grid system (1) for a certain range of parameters.

3.4. Bicoherence

The bicoherence or the normalized bispectrum is a measure of the amount of phase coupling that occurs in a signal or between two signals. Both bicoherence and bispectrum are used to find the influence of a nonlinear system on the joint probability distribution of the system input. Phase coupling is the estimate of the proportion of energy in every possible pair of frequency components . Bicoherence analysis is able to detect coherent signals in extremely noisy data, provided that the coherency remains constant for sufficiently long times, since the noise contribution falls off rapidly with increasing number of segments .

The autobispectrum of a chaotic system is given by Pezeshki [39]. He derived the autobispectrum with the Fourier coefficientswhere is the radian frequency and is the Fourier coefficients of the time series. The normalized magnitude spectrum of the bispectrum known as the squared bicoherence is given bywhere and are the power spectrums at and .

The motivation to study the bicoherence is twofold. First, the bicoherence can be used to extract information due to deviations from Gaussianity and suppress additive (colored) Gaussian noise. Second, the bicoherence can be used to detect and characterize asymmetric nonlinearity in signals via quadratic phase coupling or identify systems with quadratic nonlinearity. The bicoherence is the third-order spectrum. Whereas the power spectrum is a second-order statistics, formed from , where is the Fourier transform of , the bispectrum is third-order statistics formed from . The bispectrum is therefore a function of a pair of frequencies . It is also a complex-valued function. The (normalized) square amplitude is called the bicoherence (by analogy with the coherence from the cross-spectrum). The bispectrum is calculated by dividing the time series into segments of length _seg, calculating their Fourier transforms and biperiodogram, then averaging over the ensemble. Although the bicoherence is a function of two frequencies the default output of this function is a one-dimensional output, with the bicoherence refined as a function of only the sum of the two frequencies.

Figures 5 and 6 depict the contours of the bicoherence of the states and for the smart grid system (1). Figure 7 shows the bicoherence contours of all the states together. Shades in yellow represent the multifrequency components contributing to the power spectrum. From Figures 5, 6, and 7, the cross-bicoherence is significantly nonzero, and nonconstant, indicating a nonlinear relationship between the states. In Figures 5 and 6 (autobicoherence) the yellow shades indicate that the nonlinear relationship of the states and is not narrowband processes. The yellow shades and nonsharpness of the peaks, as well as the presence of structure around the origin in Figure 7 (cross-bicoherence), indicate that the nonlinearity between the states is not of the quadratic nonlinearity and hence may be because of nonlinearity of higher dimensions. The most two dominant frequencies () are taken for deriving the contour of bicoherence. The sampling frequency () is taken as the reference frequency. Direct FFT is used to derive the power spectrum for individual frequencies and Hankel operator is used as the frequency mask. Hanning window is used as the FIR filter to separate the frequencies.

4. Fractional Order Current Driven Induction Motor

In this section we will derive the dimensionless fractional order model of the induction motor. The dimensionless integer order model of a PI speed regulated current driven induction motor is given by [36] as follows:

The initial conditions and the parameters are the same as discussed for the integer order model in Section 2. The fractional orders with are kept close to “1” to get the largest Lyapunov exponents. Figure 8 shows the 3D phase portraits of the fractional order smart grid (FOSG) system for .

5. Dynamic Analysis of the FOSG System

5.1. Bifurcation with Fractional Order

Most of the dynamic properties of the integer order system (1) like the Lyapunov exponents and bifurcation with parameters are preserved in the fractional order if , where . The most important analysis of interest when investigating a fractional order system is the bifurcation with fractional orders. Figure 9(a) shows the bifurcation of the FOSG system with commensurate fractional order and Figure 9(b) shows the 3D state portrait ( plane) of the FOSG system for various commensurate fractional orders . The largest positive Lyapunov exponent () of the FOSG system appears when against its largest integer order Lyapunov exponent (). Hence fractional order chaos suppression/control proves efficient compared to the integer order controls as the systems show the largest positive Lyapunov exponent in fractional order close to “.” It can also be seen that, as the fractional order decreases, the FOSG system starts losing its largest positive Lyapunov exponent. When the only positive Lyapunov exponent of the system becomes negative and thus the chaotic oscillations in the system disappear.

5.2. Stability Analysis of FOSG System

Commensurate Order. For commensurate FOSG system of order , the system is stable and exhibits chaotic oscillations if , where is the Jacobian matrix at the equilibrium and are the eigenvalues of the FOSG system, where . As seen from the FOSG system, the eigenvalues should remain in the unstable region and the necessary condition for the FOSG system to be stable is As we know, the eigenvalues of the system are and it is clearly seen that is an unstable focus and hence contributes to the existence of chaotic oscillations in FOSG system.

Incommensurate Order. The necessary condition for the FOSG system to exhibit chaotic oscillations in the incommensurate case is , where is the LCM of the fractional orders. If , , , and , then . The characteristic equation of the system evaluated at the equilibrium is and by substituting the values of and the fractional orders, , the characteristic equation for the equilibrium point is + + + + + + + + + + + + + + + + + + + . The approximated solution of the characteristic equation is , whose argument is zero, which is the minimum argument, and hence the stability necessary condition becomes which solves for Hence, the FOSG system is stable and chaos exists in the incommensurate system.

5.3. Bicoherence of FOSG System

In Section 3.4, we have discussed the bicoherence of integer order smart grid. In this section we will investigate the bicoherence of FOSG system. The commensurate fractional order of the FOSG system is taken as 0.992. As can be seen from Figures 10(a) and 10(b), compared to the integer order bicoherence contours (Figures 5 and 6), the bicoherence of FOSG systems shows multifrequency components contributing to the power spectrum. The multifrequency components can be seen denser in FOSG bicoherence confirming the existence of higher dimension spectrums. Also the same can be observed when investigating the bicoherence contours of all states together as seen from Figure 10(c). When compared with the integer order all state bicoherence (Figure 7), we can see that the fractional order bicoherence shows more yellow shades confirming the cross-bicoherence is significantly nonzero, and nonconstant, indicating a nonlinear relationship between the states. Hence by the above investigations we conclude that the nonlinearities occurring in the fractional order model of the smart grid system are more of the multifrequency nature and thus contributing to greater power spectrums compared to the integer order bicoherence.

6. Adaptive Sliding Mode Control of Nonlinearity in FOSG

The control goal of this paper is to design a suitable adaptive sliding mode controller for suppression of chaotic oscillations in the fractional order smart grid (FOSG) system (9). For deriving the robust ASMC controller for system (9), let us redefine the fractional order system with an adaptive sliding mode controller , ,The initial conditions are the same as in Section 2 and the parameter value is assumed unknown and is estimated with a parameter estimate .

6.1. Controller Design
6.1.1. Problem Statement

In this section we investigate the adaptive fractional order sliding mode control (FOASMC) of a fractional order system. Let us define a generalized fractional order system with FOASMC aswhere is the fractional order of the system and where is the adaptive controller for controlling the chaotic oscillations in the slave system.

Let us define the control error asThe sliding surface for the fractional order integral sliding mode control [40, 41] is defined asThe fractional first derivative of the sliding surface is derived asThe fractional order error dynamics is defined asUsing (11) and (12) in (15)Let us define the adaptive controller aswhere are positive gain values, is parameter estimate fractional order system, and is the sliding surface.

Using (17) in (16), the error dynamics simplifies toThe Lyapunov candidate function to analyze the stability of the controller is defined asThe Lyapunov first derivate is derived asBy definition of fractional calculus [4244],Using (21) in (20),Finding the sign of the Lyapunov first derivative using (22) seems difficult and hence we use the modified fractional order Lyapunov method defined by Rajagopal et al. [19] asUsing (23), (18), and (17) in (20),Let us define the parameter estimate laws asUsing (25) in (24)as and are all positive and is negative definite. Using Barbalat’s lemma [45], we conclude that as .

6.1.2. Adaptive Sliding Mode Control of FOSG System

The main control objective of this paper is to design adaptive sliding mode controllers () such that the chaotic oscillations in the FOSG system are controlled. Sliding mode control methodology is a simple approach to robust control and good at dealing with dynamic uncertainty [40]. The control design procedure consists of two steps: first constructing a sliding surface which presents the desired dynamics [41, 46] and second selecting a switching control law so as to verify sliding condition.

Let us define the integral sliding surface asThe fractional derivate of the sliding surface is given byFor any initial conditions, the problem control of chaotic oscillations in FOSG system is equivalent to that of the states of the FOSG system remaining on the surface for all . When the system operates in the sliding surface, it satisfies and for .

The parameter estimation errors are given byThe fractional derivative of the parameter estimation errors isLet us the define the adaptive sliding mode controllers aswhere , , for are positive constants and the parameter estimate of iswhere is the estimation gain and is always positive.

6.2. Stability Analysis of the Controller

Theorem 1. Considering that adaptive sliding mode control input law in (15) is used to control the FOSG system in (10) with parameter estimate in (32), then the controller (31) is globally asymptotically stable.

Proof. To check the stability of the controlled system, let us consider the following Lyapunov candidate function:The first derivative of the Lyapunov candidate function isBy definition of fractional calculus [4244], we obtain Applying (35) in (34)Thus, it is clear that stability calculations with (36) are very difficult. So, we use modified Lyapunov stability theory as given in [19].
Let be a time continuous and derivable function. As proved in [19], for any time instant , we haveUsing (37) in (34)Using the ASM controllers (31) and parameter estimate (32) in (38),As and are positive for , using Barbalat’s lemma [45], the Lyapunov first derivative (39) is a negative definite function which infers that the controller is stable and is valid for any bounded initial conditions.

7. Numerical Simulations

The FOSG system (10) with the robust adaptive sliding mode controller (31) and parameter estimate (32) with initial conditions as in Section 2 and initial condition for the parameter estimate are numerically analyzed using Matlab. The fractional orders of the FOSG system are chosen as commensurate order . The controller gains are taken as and sliding surface gains are taken as and with .

The state trajectories of the controlled fractional order induction chaotic system (10) are shown in Figure 11(a). Figure 11(b) shows the parameter estimate with controller in action. It can be clearly observed that the state trajectories converge to zero as soon as the controller is introduced which clearly shows that the fractional order system (9) is well-controlled by the adaptive controller with the uncertainty in the inverter current .

8. Chaos Control with Genetically Optimized Fractional Order PID Controllers (GAFOPID)

Fractional order PID (FOPID) controllers described by using fractional calculus are the most common and useful algorithm in control systems engineering. In most cases, feedback loops are controlled using PID algorithms; they are designed to correct error(s) between instant value(s) in a system and chosen set point values. Design of FOPID controller using genetic algorithms (GA) which is a stochastic global search method uses the process of natural evolution. It is one of the methods used for optimization and successfully applied in [47, 48]. GA have to be initialized before the algorithm can proceed. The initialization of the population size, variable bounds, and the evaluation objective functions are required, to evaluate the best gain values of FOPID controller for the system. An objective function could be created to find a FOPID controller that gives a minimal error. The error functions such as sum absolute error (SAE) are used as objective functions in this work.

Let us define the fractional order PID controllers aswhere is the fractional order PID action control, , are the fractional order differential and integral operators [4244], is the error signal given by , and are the proportional, integral, and the derivative gains to suppress the nonlinearity in the FOSG system.

Matlab optimization tool box is used for numerical simulation with the following options:Variable bounds matrix of the proportional, integral, and the derivative gains =, but for the states the values are multiplied to hundred and ten for the difference of variation range.Population size = 100, GA. Generally the bigger the population size, the better the final approximation.Number of generations = 100.Selection function = stochastic uniform.Crossover fraction = 0.8.Mutation function = Gaussian.Stopping criteria = error performance criterion.Length of the chromosome = 12, decimal coding.The objective function is written based on error performance criterion sum absolute error as Table 1 shows the FOPID gain values after running the GA solver from the optimization tool with the options cited above, we get the best solutions tracked over generations for the complete chaos suppression of the FOSG system via fractional order PID controllers using gains values genetically optimized; Figure 12 shows the time history of the FOSG states and Figure 13 shows the time history of parameter estimate.

As seen from Figures 10 and 12, in the fractional order adaptive sliding mode controller (FOASMC) method of control the states converge at  s whereas in the GAFOPID based control, the states converge at  s. The states control in Figures 10 and 12 and the parameter estimation plots shown in Figures 11 and 13 clearly indicate that GAFOPID controllers are efficient compared to the FOASMC controllers. As can be seen from Figures 11 and 13, FOASMC based parameter estimation ( s) is slower than the GAFOPID controllers ( s). This proves that the optimized controllers are better in performance than sliding mode controllers in the case of nonlinearity suppression in fractional order systems.

9. FPGA Implementation of the FOSG System and GAFOPID Controllers

9.1. FPGA Implementation of the FOSG System

In this section we discuss the implementation of the proposed fractional order smart grid system in FPGA [4954] using the Xilinx (Vivado) System Generator toolbox in Simulink. Firstly we configure the available built-in blocks of the System Generator toolbox. The Add/Sub blocks are configured with zero latency and 32/16-bit fixed point settings. The output of the block is configured to rounded quantization in order to reduce the bit latency. For the multiplier block a latency of 3 is configured and the other settings are the same as in Add/Sub block. Next we will have to design the fractional order integrator which is not a readily available block in the System Generator [49]. Hence we implement the integrators using the mathematical relation discussed in [50] and the value of is taken as and the initial conditions are fed into the forward register with fractional order taken as for FOSG system. The sinusoidal functions are implemented using the CORDIC 6.0 blocks and Figures 14, 15, 16(a), and 16(b) show the Xilinx RTL schematics of the FOSG system implemented in Kintex 7 (device = 7k160t; package = fbg484 S) and 3D phase portraits of the FPGA implemented FOSG system, power utilized by the system and power utilized for various fractional orders, respectively. Table 2 shows the resources utilized by the FOSG system including the clock frequency. Increasing the sampling time period in some implementations may lead to a clock frequency mismatch and hence plays a critical role in implementation. Also negative time slack may also create problems while implementing the design and hence choosing constraints may also be critical in cases where the number of logical operations is more. Also avoiding DDR clocks helps in reducing the route delays. For analyzing the power consumed by the controllers, we use the approximation methodology discussed in [53, 54]. It confirms that larger power will be consumed by the system when the FOSG system shows largest Lyapunov exponents (). To utilize the power of FPGA, the computation needs to be divided into several independent blocks of threads that can be executed simultaneously [51]. The performance on FPGA is directly related to the number of threads and its performances decrease when number of branching instructions increases. Hence we designed the system and the GAFOPID controllers as four parallel threads each as shown in Figures 18 and 19. The fractional order operators are implemented as building blocks and the so-called frame delay is not noticeable in the FPGA hardware implementation due to its parallel data structure, unlike a microprocessor-based implementation. While FPGA implementations have a reputation for being difficult to design, with the help of systematic methodology, a system can be put together with less work than is required for more traditional software-based realizations [52].

9.2. FPGA Implementation of GAFOPID Controllers

In this section we implement the proposed fractional order genetically optimized PID controllers (GAFOPID) derived in (15) along with the fractional parameter update law (16). For implementation of the entire control scheme we use Kintex 7 (device = 7k160t; package = fbg484 S). The fractional order of the FOSG system and GAFOPID controllers are kept as . For analyzing the power consumed by the controllers, we use the approximation methodology discussed in [54]. It confirms that larger power will be consumed by the controller when the FOSG system shows the largest Lyapunov exponent. Figure 17 shows the RTL schematics of the GAFOPID controllers implemented in Kintex 7 (device = 7k160t; package = fbg484 S). Figures 18(a) and 18(b) show the power utilization of the controller and power utilization with change in fractional orders, respectively. Table 3 shows the resources utilized by the GAFOPID controllers. Figure 19 shows the time history of the FOSG states controlled with FPGA implemented GAFOPID controllers. Figure 20 shows the time history of parameter estimates. The initial conditions for the numerical analysis are taken as in Section 7.

10. Conclusion

In this work we investigated the nonlinearity in a specific smart grid system. We showed the existence of chaotic oscillations for specific initial conditions and inverter current value. Fractional order smart grid dimensionless model of the smart grid is derived and investigated. Bifurcation of the system with fractional orders is investigated and it is shown that the largest Lyapunov exponent of the system exists in the fractional order. Hence fractional order control schemes for suppression of chaotic oscillations with fractional order adaptive sliding mode control (FOASMC) and genetically optimized fractional order PID control (GAFOPID) are derived. Numerical simulations prove that GAFOPID controllers are effective compared to FOASMC for chaos control in fractional order systems. The proposed GAFOPID controllers are implemented in FPGA to show that the control scheme is hardware realizable. Power utilization for various fractional orders is presented and it is shown that the system uses maximum power when the FOSG system exhibits its largest Lyapunov exponent.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.