Abstract
A photovoltaic array simulator is designed based on a Buck DC converter with a fuzzy PID control algorithm to account for current feedback. The conventional PID controller cannot self-tune the parameters, therefore the new algorithm uses a fuzzy controller to solve the problem. The difference between the reference current and the real-time feedback current of the Buck converter and its rate of change are regarded as two input variables of the fuzzy controller. The fuzzy controller outputs the adjustment quantities, which are then used to adjust the PID parameters. Next, the duty cycle of the electronic power switch is adjusted by a closed-loop fuzzy PID algorithm to make the output current of the simulator work at the anticipated point of the photovoltaic array on the I-V characteristic curve and realize the simulation of photovoltaic characteristics. Results of the simulation and experiment indicate that the proposed fuzzy PID control simulator can not only accurately simulate the static output characteristics of a photovoltaic cell, but can also rapidly realize the dynamic characteristics when the load or the external environment changes. The approximate error was less than 3.6% , the overshoot was less than 3.5% , the ripple coefficient was less than 3% , and the tracking time was approximately 0.3s. The fuzzy PID control simulator can work well as PV array experiment equipment for the research and development of photovoltaic systems.
Keywords
Introduction
In general, a photovoltaic (PV) power generation system (PVPGS) is primarily composed of PV cells, controllers, power converters and batteries. Utilizing the PV cells to conduct PVPGS experiments is often restricted by seasons and weather, especially at night, as when the environment changes the PV cells cannot maintain a stable output test. Moreover, the PV cells greatly increase the cost of testing. Therefore, using PV cells to test the performance of PVPGS induces major inconvenience. As a consequence, the PV simulator [4, 11] is an ideal solution to simulate PV cell output I-V characteristics under different temperatures and illumination conditions, free from climate change influence, and provide favorable conditions for the performance test of PVPGS. Currently, depending on the different types of simulators, it may be an analog simulator, digital simulator or a mixed simulator. A digital simulator [7, 9] combines the power electronics technology and real-time control technology, presents high precision and controllable output characteristics, and simulates a large-capacity power system. Therefore, a digital simulator is well suited to the research and development of the PVPGS, and has been extensively studied [14]. Digital simulators use algorithms such as the secant method, numerical iteration method and point by point approximation (PPA) method. Among these, the secant method requires much computation, as it requires the solving of complex transcendental equations. The numerical iteration method and PPA are closely related to the step size; the system will produce greater oscillation if the step size used is too large. To achieve a stable output, the step size must be small, but will then induce a slow dynamic response.
Fuzzy logic [1, 16] plays an important role in accounting for uncertainty when making decisions in control systems. Until 2013, all studies on fuzzy derivative, fuzzy integral and fuzzy differential equations had been conducted based on type-1 fuzzy sets (T1FSs). Mehran Mazandareni define type-2 fuzzy fractional derivatives and present type-2 fuzzy fractional differential equations (T2FFDEs) [12, 13]. Housheng Zhang designed a simulator using a dual-loop control with a PI regulator [8], which can enhance the system performance. However, in case of a controlled system that is strongly time-varying and nonlinear, a pre-set PI parameter cannot meet its requirements. As a consequence, this paper presents a fuzzy PID control algorithm with a BUCK circuit used as a power converter. In the proposed method, the output current i and voltage u of the BUCK circuit are sampled in real-time. The voltage sampling value is substituted into the PV cell engineering mathematical model to generate a reference current iref. The diffrence e = iref-i and its rate of change
A fuzzy PID PV simulator consists of a BUCK converter and a controller based on TMS320F2812. The controller generates a PWM control signal to control the converter according to the PV cell I–V curve. Simulation and experiment results indicate that the simulator possesses a fast dynamic response and stable output characteristic under different conditions, with an overshoot less than 3.5% , a steady-state error less than 3.6% , a ripple factor less than 3% , and tracking time less than 0.3s.
Output characteristic of PV cell
The I–V output characteristics [15] of a PV cell are nonlinear, and are affected by the illumination intensity and condition temperature, as shown in Fig. 2. The current-voltage curve of a PV cell at 25°C and 50°C are respectively shown in Fig. 2(a) and (b).
Simplified mathematical models to describe the output characteristics of PV cells generally use the short-circuit current
When the illumination intensity
Replacing
Control objective of the simulator
When the illumination intensity and temperature remain constant, the PV cell demonstrates a unique I-Vcharacteristic curve. Corresponding to a determined load
Design of fuzzy PID controller
Due to its nonlinearity, it is very difficult to describe the characteristics of PV cells using an accurate mathematical model. As the PV generation system has strong uncertainty, a fuzzy PID control is used to resolve these problems and realize the tracking of the output current. The structure diagram of a two-dimensional fuzzy PID controller is shown in Fig. 4. In Fig. 4(a),
Fuzzy algorithm design
The universal ranges of input and output variables are restricted to {3, 2, 1, 0, 1, 2, 3}; fuzzy subsets {NB, NM, NS, ZO, PS, PM, PB} correspond to negative big, negative middle, negative small, zero, positive small, positive middle, and positive big, respectively. The membership functions of input E, EC and output
In addition, in order to ensure the input linguistic variance E and EC in its universal range, the quantitative factors Ke and Kec are used respectively before the E and EC are inputted to the fuzzy controller. The process of determining the fuzzy quantization factors is detailed below.
As shown in Fig. 4, the following equation can be obtained
Which can simplify to:
Since VB > VA, a minimum value 1v of each voltage variation is set in the program. Thus, (VB > VA) min = 1, the maximum value of VB is approximately equal to the open circuit voltage VOC, and the following equation can be obtained from Formula (12):
Take Kec = 3/ ec(n)max:
According to the output characteristics of the PV cell and the control objective of the simulator, self-tuning rules of Kp, Ki and Kd follow three basic principles: When the error E is large, in order to accelerate the response speed of system and prevent system loss of control due to the large deviation, system should adopt the larger Kp and smaller Kd. In order to protect the system from a large overshoot, the value of the Ki also should be smaller. When the error E and error change rate EC is medium, in order to reduce overshoot of the system and ensure an ideal dynamic response speed, Kp and Kd should be smaller; the value of the Ki is appropriate. When the error E is small, in order to provide a good steady-state performance, the values of Kp and Kishould increase. Simultaneously, in order to avoid oscillation of the output response and consider the anti-jamming performance of the system, Kd should be appropriate. When the EC is small, Kd takes on a larger value; when EC is large, Kd should be smaller. The fuzzy rules of the controller are concluded as shown in Tables 1 through 3.
Finally, using the gravity method of defuzzication, the precise controlled quantity is obtained.
The basic circuit diagram and experimental platform are shown in Fig. 6. The main circuit of the system is composed of a step-down rectifier circuit, detection circuit, power supply, control circuit and PWM driving circuit. The output voltage of the rectifier circuit is 62∼67 V. The controller uses TMS320F2812 as its core. The parameters of the PV cell at 25°C and an irradiation of 1000 W/m2 are listed in Table 4. The parameters of the fuzzy PID controller are as follows: Ka = 0.1, Kb = 1, Kc = 1, Kp = 0.1; Ki = 50; Kd = 100; Ke and Kec are detailed in Section 3.3.
Analysis and discussion of simulation and experiment results
Analysis of simulation results
Simulation experiments are conducted using the proposed fuzzy PID algorithm. Figure 7 depicts the tracking waveforms during the system startup process and the load mutation. Figures 8 and 9 depict the tracking performance during illumination intensity change and temperature altering, respectively. In each figure, the load current is shown by a dotted line and the theory current is shown by a solid line.
Tracking performances during the system startup process and load mutation
To study the tracking performance of the simulator during the startup process and the load mutation, a simulation under standard test conditions was initically conducted. Figure 7(a) shows the waveforms during the system startup from the initial operating point, at which the load R = 10
Figure 3 depicts the I-V characteristic curve of the PV cell. If the load R of the simulator is small, the working point is located at a point with higher voltage and lower current. On the contrary, if the load R of the simulator is large, the working point will be a point with higher current and lower voltage. According to the working principle, the dynamic performance of the simulator is related to the difference between the load current and the target point current; a greater difference requires a longer settling time.
Figure 7(a) shows the current tracking waveform for the startup with a small load; the settling time of the startup process is 0.07s, and its tracking time is 0.04s when the load changes from 10
Simulation under varying illumination intensity
The ambient temperature T = 30°C, load R = 10
Simulation under varying temperature
The ambient temperature
Analysis of experiment results
The experiments were conducted on the experimental platform shown in Fig. 6. In this section, three kinds of experiments are proposed and analyzed: (1) System startup process; (2) Dynamic performance with load mutation; (3) Dynamic performance with illumination mutation.
Tracking features during the system startup process
Figure 10 shows the waveforms during the startup process of simulations under the following conditions: ambient illumination
According to Fig. 10(a), the tracking time of the proposed fuzzy PID is approximately 200 ms, the steady-state error is approximately 2% and the ripple coefficient is 2.8% . The tracking time of the traditional method is approximately 260 ms, the steady-state error is approximately 3% and the ripple coefficient is 3% , as shown in Fig. 10(b). As a consequence, the fuzzy PID algorithm demonstrates better rapidity and steady-state performance.
Dynamic tracking performance with load change
In this section, the dynamic response performance is analyzed when the load changes under the following conditions: ambient illumination
Based on Fig. 11(a), the response time of the fuzzy PID is nearly 180 ms when the load changes from 8
Dynamic tracking performance with illumination change
This experiment verifies the dynamic response performance when the illumination intensity changes from 1200 W/m2 to 800 W/m2 under the following conditions: ambient temperature T = 30°, load R = 11
Dynamic performance with environment temperature change
This experiment verifies the dynamic tracking performance when the environment temperature changes from 30°C to 70°C under the following conditions: ambient illumination
Static characteristics of simulator during experiments under different conditions
To test the ability of the simulator to simulate the PV cell I-V characteristic curve, three experiments are conducted under the folloing weather conditions: (1)
During the experiment, the load resistance changed gradually from 0
Conclusion
A fuzzy PID control PV array simulator based on current feedback is designed and investigated. The fuzzy controller outputs the adjusted quantities, which are used to adjust the PID parameters. Then, the duty cycle of the electronic power switch is adjusted by a closed-loop fuzzy PID algorithm. Simulation and experimental results indicate that the approximate error is 3.6% , the overshoot is less than 3.5% , the ripple coefficient is less than 3% , and the tracking time approximately 0.3s. The proposed algorithm can not only accurately simulate the static output characteristics of PV cells, but can also rapidly realize the dynamic characteristics when the load or the external environment changes. The fuzzy PID control simulator can work well as PV array experimental equipment for the research and development of photovoltaic systems.
