Abstract

The combination of artificial intelligence of things (AIoT) and photovoltaic power generation can save energy and reduce carbon emissions and further promote the development of smart cities. In order to obtain the maximum power output from photovoltaic (PV) arrays, we can use optimal maximum power point tracking (MPPT) technique with AIoT sensing to improve system efficiency. The optimal MPPT technique is the finite-time terminal attractor (FTTA) based on the gradient particle swarm optimization (GPSO), which can be applied to track the maximum power of a PV array system. The FTTA not only provides fast finite-time convergence but also attenuates steady-state errors, making it ideal for nonlinear system applications. The GPSO is used to search the control parameters of the FTTA, which is able to find the global best solution. This avoids unmodeled dynamic behavior of the system excited by the quiver, which slows down the control convergence and prematurely traps the system into a local optimum. The MATLAB computer software is used to simulate the proposed PV maximum power point tracking system. The results show that more accurate and better tracking control of the PV array can be produced under partial shading conditions and then improve the steady-state and transient performance.

1. Introduction

With advances in technology, solar energy is becoming the most cost-effective long-term investment [13]. Like any equipment, solar systems must be managed effectively to optimize energy and power production. With solar smart cloud monitoring, users can get real-time information on PV power generation through the Internet and collect environmental information from the site to ensure the efficiency of the PV array system. Therefore, how to maximize the performance of solar cells has been one of the most important development projects in various countries around the world and is also the most important issue in solar energy-related technology. With the aim of attaining PV array systems with maximum power tracking, a DC-DC power converter including maximum power tracking control method modulates the solar cell output to deliver maximum power [47]. There are many research works presenting all kinds of maximum power point tracking (MPPT) alternatives, such as incremental conductivity, perturbation observation, most valuable player methodology, and fuzzy logic [811]. There are couplings among sunlight brightness as well as atmospheric climate and the changes in PV maximum output power. The majority of the MPPT algorithms fails to perform a rigorous evaluation of both convergence and reliability and even cannot preserve stable pursuit of the maximum power point quickly. The sliding mode control (SMC) has simplified architecture, allows effortless design, and gives the system robustness against changes in internal parameters as well as external perturbations [1218]. There are lots of useful SMC publications for controlling PV array systems [1922]. However, photovoltaic array systems controlled by the SMC are subject to uncertainties. The state convergence time of such a system is not limited and quiver arises, thus compromising system performance in the steady-state and transience. The quivering can be particularly problematic in practice, as it not only implies excessive energy consumption but also can provoke unmodeled high-frequency plant dynamics. There have been suggested solutions to ameliorate the quiver problem, such as estimator and adaptive methods. Even though they have improved the quiver problem and also enhanced the transience behavior of the system in the presence of unspecified disturbances, the mathematically complex and computationally time-consuming exist [2325]. With explicit convergence and stability analysis, the finite-time terminal attractor (FTTA) not only provides the design approach for the robustness of the conventional sliding law, but more specifically, it provides a finite system state convergence time, i.e., a finite time for the system trajectory to reach the sliding mode zone in the presence of uncertainties. This methodology further strengthens the dynamical characteristics of the system and minimizes steady-state errors as well as quiver problems [2629]. However, what is more important to note is that even though the FTTA allows the PV system to achieve the desired control effect, PV arrays may be partially shaded by buildings, wood, pollution, etc., degrading power output and leading to energy loss. There will be no regular fluctuation in the PV output power which resides in multiple local extremes. If the conventional MPPT methods described previously (e.g., disturbance observation, incremental conductivity, most valuable player methodology, and fuzzy logic) are used, they will be traced to the local extremes (local maximum power points) rather than the global extremes (global maximum power points). There have been several approaches tried to tackle multiple local extrema, such as the grey wolf optimizer and the brute force algorithm [3032]. The grey wolf optimizer is fast, but it is constrained to local searching and incapable of searching globally. The brute force algorithm gives a superior ability to seek the best solution, but it has the weakness in needing a longer seeking time which stagnates easily on a certain solution. The gradient particle swarm optimization (GPSO) algorithm is based on the concept of gradient mechanism, showing simplified computation and enhanced population diversity that can demonstrate global domain search capability and has been widely used to solve many optimization problems [3337]. It can improve the drawback of traditional PSO algorithm which tends to prematurely converge into local extrema [3842]. The GPSO is therefore used to calculate the voltage reference value of the maximum power point of the PV array in the event of partial shading. In this paper, a GPSO is used to find the global extrema of the PV array under partial shading, and then, a FTTA is employed for its tracking control, providing good control power output to maintain the highest conversion efficiency of the PV array system. As a result, the FTTA based on the GPSO will improve the quiver problem, lessen the steady-state error, shorten the system state convergence time, solve the multipeak phenomenon (local maximum power point), and then render the PV MPPT system to have good steady state and dynamic response at the same time. The proposed controller with simplicity and high speed convergence as well as easy programming permits higher accuracy and stable following control. Computer simulations display that the proposed controller will provide the PV MPPT system to improve steady-state performance and transient tracking speed in the presence of partial shading or under highly uncertainty conditions. The proposed system is also compared with a conservative sliding mode controlled PV MPPT system to show the superior performance and theoretical applicability of the proposed system.

2. Modeling of PV MPPT System

A solar energy system usually consists of a PV array, a DC-DC converter, a DC-AC inverter, and the attached load. With changes in brightness as well as temperature, there will be a reference value for the voltage corresponding to the maximum power point of the PV system. Therefore, an interleaved Boost DC–DC converter (Figure 1) is used to adjust the PV array voltage (for the maximum power point voltage). The dynamic equation of the interleaved Boost DC–DC converter is derived from the state-space averaging method for the PV system as follows: where , is the PV array output voltage, indicates the PV array output current, denotes the output load current, means DC output voltage, symbols control input, and , here and refer to the equivalent series resistance of inductors and , respectively. Let be the voltage reference of the maximum power point calculated by the GPSO algorithm, and in order to make follow , the FTTA closed-loop control technology is necessary to achieve such a result. In other words, in a PV system, the error in the output voltage can be defined as the state variable , which is regulated from the state variable feed current. Our goal is to design the control law properly. If it is well designed, (1) will be stable and the error quickly converges to the balance point. The PV output voltage will be the same as the required reference voltage. Even if the PV MPPT system is partially shaded or malfunctioning or under nonmatching uncertainty, the tracking control can still be fast, accurate, and robust.

Then, a single-phase PWM DC–AC inverter is used to convert the generated DC power into AC power for transmission to the grid. A typical single-phase PWM inverter is shown in Figure 2, where four semiconductor switches, LC filters, and loading (resistive loading or capacitive input rectifier loading) are considered as the plant to be handled. Owing to the diversity of the loading connected to the inverter, it is not possible to develop a general model that is representative of every type of load. In this case, a nominal load is defined to derive a linear model, where load changes and model uncertainties are regarded as disturbances. Furthermore, in view of the assumption that the switching frequency is much higher than the modulation frequency of the inverter, the dynamics of the single-phase PWM DC–AC inverter is mainly handled by its LC filter and the attached load, which can be modeled as a second-order linear system. Based on Kirchhoff’s voltage and current laws, the state equations of the inverter can be described as follows: where is equal to (time-averaging technique), where indicates the duty ratio of switching ranging from negative one to positive one and represents the DC link voltage.

The differential equation is obtained by replacing (3) in (2) in the following.

The state variables are specified and , whereupon (4) can be formulated as the result of the state-space form below:

The design problem of the inverter is equivalent to a typical tracking control issue since the output voltage of the inverter is a sinusoidal waveform. Allow to be the desired sinusoidal waveform that will have to follow. Through the definition of the error state variables and , it is possible to acquire the tracking control error state equation as follows: where , , and and denotes the disturbance, with the variable being a difference measurement between and . The system (6) will become stable where eventually converges to zero with the control signal being completely designed so that the output of the inverter is kept at the same level as the desired . In order to allow the error states converged to zero, the control law can be designed via discrete proportional–integral-differential scheme. The significance of the inverter in the system needs to be specifically pointed out as follows. The inverter is the key equipment of a PV generation system, mainly serving as the interface between the PV arrays as well as the power grid. The absence of an inverter will not create a completely operational and autonomous PV generation system for residential or commercial use. In this system configuration, there are two power-converting stages. The DC-DC converter handles maximum power point tracking (MPPT) as well as adjusts the DC loading voltage. While the grid-connection occurs, the power is produced by PV arrays which are converted by the DC-AC inverter into high-quality AC output. Also, it is worth observing that the sampling rate (1/sampling time) acts as a significant deciding point for the performance of the control. It is advisable to adopt a high sampling rate (which leads to a less total harmonic distortion, even at rectified loads) in order to achieve a superior level of control. It implies the possibility of using a digital control system with the maximum frequency, alternatively an analogue design reflecting the algorithm of control [4345].

3. Control Design

The problem statement for nonlinear systems using the classical TA is briefly summarized, and then, an improved technique is designed. Consider the following classical TA sliding surface as where is the system variable, signifies positive constant, and . An SMC law , can be used, representing , , which is expressed as driven to the sliding mode during finite time. As such, it is possible to control the dynamics of the system as

There is a finite time for getting from the starting state to zero that arises from the following:

In this case, it is revealed that the system state is converged to zero for a finite time duration. Taking into account the Jacobian matrix = , there is a convergence of the system states to zero around the balancing point at finite time. The eigenvalues of the Jacobian matrix are derived to be negatively infinite, as tends to zero. As the speed of the system trajectory towards the balancing point becomes infinite, this causes time reachability to be limited. Yet, the equivalent control section suffers from the issues listed below. In the case of , as well as and , the control law probably gives rise to a singularity. An unknown control signal is generated by this singularity, which induces an unstable feedback system. (ii) For the condition , it is possible to have an imaginary number .

Therefore, the FTTA is proposed to improve the conservative TA, and its sliding function based on the system dynamics (1) is represented as where , , , and . Simultaneously, it is recommended that the sliding mode reaching law, i.e., where , , , and is a smooth sigmoidal function with a positive constant .

Recapitulating (1), the dynamics can be written as ; here, and denote the functions. Then, it is possible to derive the control law of FTTA to be where represents the feedback gain of equivalent control, which creates the desired sliding mode while system uncertainties equal to zero. Equation (12) leads to the system state will be compelled towards , which converges in a finite amount of time. where represents present flying speed, indicates present position, shows individual best position, stands for global best position, and signify learning factor, and are random number amidst zero and one, and denote inertia weight. Then, let the function advance in the direction of its fastest descent, namely, the direction of the negative gradient . It will gradually move towards the optimum so that the negative gradient arises from the condition of generation to generation as follows: where the symbol stands for gradient operator. One may choose carefully, is positive in case is greater than equal to ; otherwise, is negative. The proposed algorithm converges fast as well as the searching of the gradient at the global best position. Because there is a constant or minor variation in its fitness value depending on a prescribed iteration number, the computational burden of the proposed algorithm diminishes [4648]. It is important to note that the voltage, current, and power of the PV array vary with the strength of daylight as well as climate, which impacts both the power output and energy efficiency of the system. As the environmental temperature rises, there will be a reduction in the maximum power of the PV array. However, increasing irradiation levels result in potentially greater maximum PV power. To allow the PV array system to be more efficient, a MPPT function becomes imperative. Once the solar cell module approaches the maximum power point, the derivative of power with respect to voltage becomes zero. Thus, one always operates the PV array at the maximum power point through power converters together with the MPPT algorithm. More precisely, the design of the MPPT controller can be summarized as follows. (i) The overall number of particles and particle locations as well as velocities are initialized and the fitness values can be estimated. (ii) Determine each particle voltage relative to the PV array output power, as well as initialize the group best voltage. (iii) Renew the particles and execute the gradient search in accordance with (13)–(15). (iv) Allow the voltage of all particles in the group to be renewed for one-round iteration ; afterwards, the -th particle voltage should be renewed as well as estimate the output power of the PV array working at such a voltage. (v) Update the best voltages of the particles themselves and the group. (vi) Check whether the convergence criterion has been fulfilled. In case of yes, the best solution can be obtained; otherwise, step (iii) is continued.

Proof. The definition of a Lyapunov candidate gives the following , and based on the dynamical system trajectory along from the control law (10) with the use of the Lyapunov candidate, time derivative of becomes . Because is fractional satisfying , and when , is valid. For , therefore holds. Under the condition , it is proven that the system fulfills the Lyapunov stability condition which allows it to quickly arrive at the sliding surface within a finite time. Yet, there is quiver or steady-state error in the FTTA. This is caused by drastic variations or great nonlinearities in the system load, which prevent the eventual system output from following the reference sine wave, rendering the tracking behavior imprecise. Aiming to acquire the global best solution, the GPSO algorithm can be used. Equations (13) and (14) represent the model of particle evolution, which can then update the velocity and location of each particle as it flies to its target.

4. Results and Discussion

In order to verify the effectiveness of the proposed controller, the system is tested under steady-state response for full resistive loads and rectifier loads and transient response for step load changing. Figure 3 shows the output voltage () of the PV array system with a resistive load for the conservative SMC. It can be seen that the output voltage is very close to a sine wave. Figure 4 shows the output voltage () of the proposed controller for the PV array system with a resistive load . Similarly, the output-voltage waveform is very close to a sine waveform. Figure 5 shows the output voltage of a PV array system controlled by the conservative SMC at a trigger angle, changing from no load to full load (). The figure shows that the transient voltage drop does not recover quickly and the controller is not able to compensate well. Figure 6 shows the output voltage of the PV array system using the proposed controller at trigger angle, changing from no load to full load (). The graph shows that the transient voltage drop is recovered within a very short period of time with excellent compensation capability. Figure 7 shows the output voltage of the PV array system under rectifier-type load with the conservative SMC. It can be seen that the output voltage is a distorted sine waveform with a high %THD value of 12.36%. Figure 8 shows the output waveform of the PV array system controlled by the proposed controller under rectified load. The output-voltage waveform is very close to the required sinusoidal reference voltage (low %THD value of 0.08%). It can be seen that the proposed PV array system has a better performance than the conservative sliding mode controlled PV array system. A comparison is listed in Table 1 of the voltage drops and THD values of the conservative SMC and the proposed controller for transient loading and steady-state loading. The proposed controller reveals small voltage drop and low THD values with the voltage waveforms close to the required sinusoidal reference voltages. However, in the case of rectified loads, the output voltage of the PV array system controlled by the conservative SMC has a distortion rate of more than 5%, while the proposed PV array system has a distortion rate of less than 5%, which is better than the 519 harmonic control standard set by the American Institute of Electrical and Electronics Engineers. The results are compared with existing work hereunder. A SMC is designed for active and reactive power control of the renewable energy generations, while the PSO algorithm allows optimizing the SMC parameters. The system can generate real power within 1% of the required power at a fast time, indicating stable power. Although the proposed method is capable of producing acceptable transience and steady-state actions, the speed of the system state driving to the sliding surface remains to be refined [49]. The single-phase inverter based on the SMC is connected to the grid with the purpose of establishing optimized PV delivery. Meanwhile, the overall circuit structure uses a boost converter with a PSO algorithm optimized fuzzy logic scheme, which yields the MPPT. The presented inverter provides quick dynamic response; nevertheless, the steady state should be investigated under severely nonlinear loading perturbations [50]. A double feedback controller realized by the SMC and proportional-integral control has been applied to the microsource inverter, where a PSO algorithm is employed for the optimization of the control parameters. The sliding-mode reaching law does not precisely strike the requisite sliding manifold, so the resulting waveforms still suffer from considerable distortion [51]. A brushless DC motor actuated water pumping system dependent on the PV supply has been proposed. This system offers several features such as no additional DC-DC converter hardware, sliding mode controller implementing sensorless speed controller, and hybrid whale optimization-perturbation and observation algorithm getting the maximum available power either in partially shaded and normally operating conditions. Because the applied technology fails to remove the chattering effect, there is a steady-state error around the state trajectory [52]. The passive-based control has been developed for grid-connected inverters. The PSO algorithm and Kalman filter observer give the simplification of the passive-based control parameters design and the diminution of sensors number, respectively. It has revealed an improvement in the total harmonic distortion and dynamic behavior both during steady state and transient loading; however, a little oscillation in the output waveform appears due to the potential for premature convergence with conventional PSO [53]. In spite of the fact that the proposed system’s performance does not greatly overtake the THD results from the latest reports, the proposed controller is unsophisticated, straightforward to comprehend, and quick to converge, thus affording better target tracking control. It can be a valuable referral for readers concerned with renewable energy converters as well as AIoT applications.

5. Conclusions

With the proposed controller, it is possible to employ a gradient particle swarm optimization algorithm to detect the global maximum power point of the photovoltaic array in the presence of partial shading while using the unique advantages of the finite-time terminal attractor to offer fast convergence of the system state under uncertain interferences, quiver, and reduction of steady-state errors for tracking control. The simulated operating conditions of the photovoltaic arrays, such as voltage, current, and power, are also stored, collated, monitored, and analysed by the IoT platform to enhance the reliability and integrity of the system. The controller developed in this manner can create the maximum power output from the solar panel and retain the highest energy conversion efficiency in the event of partial shading. The proposed controller has good steady-state and transient response behavior in terms of total harmonic distortion and momentary voltage drop under rectifier loading and step load varying conditions, displaying the waveforms are close to the required sinusoidal reference voltage. However, the output voltage of the conservative SMC of the PV array system suffers from higher than 5% THD and greater voltage drop for the same testing load conditions. As a result, the proposed PV array system actually yields promising performance when subjected to partial shading circumstances. This paper has innovative highlights which can be summarized as follows. (i) The proposed controller can be used not only for interleaved Boost DC–DC converter but also directly for Cuk, Sepic, and Zeta DC-DC converters, which provides the advantage of extended applications. (ii) The proposed controller incorporating AIoT allows the information analysis of the voltage, current, and power in the PV system, which will be the future trend of smart city development. (iii) The proposed controller is capable of yielding high-quality AC supply, which can be fully adopted in the future for various renewable energy sources, such as wind and hydrogen energies.

Conflicts of Interest

The authors declare that there is no conflict of interest regarding the publication of this article.

Acknowledgments

The authors gratefully acknowledge the financial support of the Ministry of Science and Technology of Taiwan, R.O.C., under project number MOST 110-2221-E-214-021.