Professional Documents
Culture Documents
I (S ) CS
G( S )
U i (S ) LCS RCS 1
2
Fig. 5 Principle block diagram of fuzzy PID controller
Considering the delay link, the system transfer function
can be regarded as having delay. T is the lag time. The voltage B. Subprogram flow of fuzzy PID control
and current structures are shown in Figures 3 and 4. Fuzzy PID programming is carried out. In industrial
applications, the parameters of fuzzy adaptive tuning PID can
U g (s) Voltage U i (s) 1 RCS U o (s) be adjusted online. Programming in C language will be very
complicated. According to the design of the fuzzy adaptive
e
regulator L RCS 1
LCS 2
PID control system, the simulation program of the fuzzy
controller can be stored in the memory of the controller. Error
and error rate are used as input to correct the values of Kp, Ki
e T1s and Kd. The system flow chart is shown in Figure 6.
According to the three parameters of fuzzy adaptive output,
Figure 3 Voltage Loop Control Architecture the calculation formula of output control parameters can be
obtained.
I g(s ) I i (s ) I o (s )
Current ᇞu(n)=Kp*[e(n)-e(n-1)]+Ki*e(n)+Kd*[e(n)-2e(n-1)+e(n-2)]
regulator
e (6)
Calculate voltage error HQ XJQXQ
T2 s
e Memory look-up
Calculating Error HFQ HQHQ table
Conversion Rate
Figure 4 Current Loop Control Architecture Calculated
Read current .Sÿǃ.Lÿǃ.Gÿ correction value
Charging control system belongs to the second-order
system with hysteresis. The open-loop transfer function of Calculated corrected .Sÿǃ.Lÿǃ.Gÿ
voltage and current is:
ƸXQ .S
>HQHQ@.L
HQ.G
>HQHQHQ
U O (S ) 1 RCS T S
G( S ) e 1 ˄4˅
U i (S ) LCS RCS 1
2
Fuzzy PID output
I (S ) CS T S End
G( S ) e 2
U i (S ) LCS RCS 1
2
˄5˅ Fig. 6 Fuzzy PID control flow chart
C is the ability of power battery to withstand charging
current, R is the internal resistance of battery, T1 and T2 are IV. SYSTEM SIMULATION BASED ON MATLAB
the delay time.
A. Design of Fuzzy PID Controller Based on MATLAB
III. DESIGN OF FUZZY-PID CONTROL Fuzzy command is run in the MATLAB window, and the
simulation module of the fuzzy controller is called out. The
A. Fuzzy PID controller fuzzy adaptive PID controller is designed by using the fuzzy
Traditional PID control can not meet the requirements, so control toolbox of matlab. Taking the current control link as
the fuzzy PID control algorithm combined with PID and fuzzy an example, the input is the error e of the current and the error
control is adopted. This design takes the current as the core change rate ec, and the output is the three setting values Kp,
control object and designs the current fuzzy controller. The Ki and Kd of the PID. Establish the model as shown in Figure
input is the error e of the current and the error rate ec. The 7.
output is the control parameters Kp, Ki and Kd of PID, so a
Secondly, the fields of error E and error change rate EC
and Kp, Ki and Kd are {6,6} and the corresponding sets of
1986
fuzzy languages are {NB, NM, NS, ZO, PS, PM, PB}. A Figure 11 Ki membership function
simple and efficient trigonometric function is selected as the
output variable. The membership functions of E, EC, Kp, Ki
and Kd are shown in figs. 8 to 14.
Figure 7 Structure of simulation model
Figure 12 Kd membership function
The spatial graph of control rules between Kp, Ki, Kd
and e, EC is shown in Figure 13.
Fig. 13 control rules
Figure 8 E Membership Function
Finally, the ambiguity is solved. The output is the revised
value of the PID parameter, as shown in Figure 14. The fuzzy
rule table of input quantity is established, 49 rules are selected,
and the mo.FIS file is finally generated. Finally, the file is
exported to the workplace workroom for simulation call[7].
Fig. 14 ambiguity resolution
Figure 10 Kp membership function
B. System simulation based on current loop
Taking the current loop as an example, the simulation
model is built on the platform of matlab. As shown in Fig. 11,
the simulation model is divided into two parts, the upper one
is a simulation model with a fuzzy PID controller, and the
lower one is a general PID controller model. The capacitance
is 1000F, the resistance is 0.015 ohm and the inductance is 0.1
hen. T = RC = 0.01; transfer function is:
1987
㸦6㸧
In the simulation, the current is not too large, given the system has good control effect on DC charging process, can
current value of 12A, under the interference of small signal. ensure the smooth charging process, and can prevent battery
The proportion coefficient is 0.01, the differential coefficient damage caused by overshoot.
is 1, the integral coefficient is 0.00001, and the decision-
making factors are 0.15, 0.001 and 0.1. The delay link time ACKNOWLEDGMENT
constant T is 0.01.
The current simulation waveform is shown in Figure 16. This work was supported by key research projects of
From the waveform, the stability and dynamic performance of Science and Technology Research Project of Henan
the fuzzy PID are greatly improved, and the system overshoot Science and Technology Department No.182102210479
is also small. The system has strong anti-jamming and Technical Service Item Number of Sanmenxia
performance. Vocational and Technical College No.SZY-2017-042.
REFERENCES
[1] [1] Song Yonghua, Yang Yuexi. Current situation and development
trend of electric vehicle batteries [J]. Power grid technology, 2011, 35
(4): 1-7
[2] [2] Shi Yingzhi. Research on fast charging system of electric vehicle
based on DSP [D]. Changchun University of Technology, 2018.
[3] [3] Wang Zhenhua, Wang Quanhai, Song Haifei, Song Yiding. Active
Charging Control Strategy for Electric Vehicle Charging Pile [J].
Measurement and Control Technology, 2017, 36 (12): 90-92.
[4] [4] Huang Fangfang. Research on multi-module charger control of
Figure 12 Current loop control waveform electric vehicle based on expert fuzzy PID [D]. Anhui University of
Technology, 2016.
[5] [5] Li Ying. Research on the Rapid Charging System of Lead-acid
V. CONCLUSIONS Batteries for Electric Vehicles [D]. South China University of
Technology, 2011.
The DC charging control system of electric vehicle is
[6] [6] Qin Bo, Shen Yiding. Simulation of Fuzzy PI Control for Charging
studied. Combining with classical empty PID, the charging Voltage of Electric Vehicle [J]. Electronic Design Engineering, 2015, 23
system is controlled by using fuzzy PID control algorithm. (18): 140-143.
The simulation model is established by MATLAB, and the [7] [7] Zheng An-ping, Su Shang. Design of Intelligent Charger for Small
simulation results show that the fuzzy PID control has small and Medium-sized Electric Vehicles [J]. Journal of Zhengzhou Institute
overshoot, adjusting time and fast dynamic response. The of Light Industry (Natural Science Edition), 2015, 30 (Z1): 112-11
1988