WJET  Vol.5 No.3 , August 2017
Research on Fuzzy PID Charging Control of Battery Pack
Abstract: Battery groups are widely used in production and life. Optimal charging can not only shorten the charge time, but also improve the performance and life of the battery pack. A constant current or constant voltage charging method is commonly used. This type of method cannot adjust the charge capacity in time according to the change of charging capacity of storage battery, and the charge performance is not high. This paper designs a fuzzy PID controller. In the case of variable load and interference, the battery group can still be charged by the optimal charging current. Through the simulation results, the fuzzy PID controller works well and verifies the feasibility of the charging controller.

The mobile power system and the UPS (UBS) are widely used. In the event of a power grid failure, the production equipment can be supplied with electricity to make the production normal. The power supply can be provided to residential communities to make the residents’ lives unaffected. It is used as a backup power for large weapons in combat to ensure reliable power supply for weapons [1] . The battery is an important part of the mobile power supply system and UPS (UBS). The power supply quality of the power supply system is directly determined by the performance of battery charge.

1. The Chemical Reaction of the Battery Pack Charging

The battery pack can supply power from the power supply system and can also provide buffer for the power grid when it is charged. The total electrochemical reaction equation of the most commonly used lead-acid battery during the charging process is [2] :

During the actual charge, the late charging is often accompanied by a lot of water electrolysis reaction. The reaction equation is:

The chemical reaction of the lead-acid battery during the charging process is shown in Figure 1.

2 The Main Parameters That Affect Charging of the Battery Pack

1) Charge acceptance

Charge acceptance refers to the maximum charge current the electrolyte can accept under the premise of producing only a small amount of gas [3] . When the battery charge current for the battery pack is greater than its acceptable maximum charging current, it will have intense electric hydrolysis reaction inside, the pressure increase and the temperature rise will accelerate and there will be serious gassing phenomenon.

2) Temperature

The voltage of the battery cell will drop by about 4 mV for every 1˚C increase in temperature [3] . In order to ensure adequate power, the charging voltage must be adjusted with the temperature coefficient of the battery voltage.

3) Battery capacity

The battery capacity represents the ability of the battery to store electricity. During charging, the charging capacity of the battery can be:

where i is the charging current (A); t is the charging time (h); K is the charging coefficient of the lead-acid battery.

3. Problems with the Traditional PID Charging Control

The working process of the battery pack is non-linear and its characteristics vary with the working time and the environment. When the battery characteristics change, the charging current must be adjusted in order to get a good control effect. The traditional constant current or constant voltage charging does not

Figure 1. Sketch map of charge chemistry of lead-acid battery.

have this “adaptive” capability, and its parameter setting is dependent on the experience of the technician, making it difficult to guarantee timeliness and continuity [4] .

4. Fuzzy PID Charge Control

Battery pack management system is a complex nonlinear time-varying system and can establish a precise mathematical model, making it suitable for fuzzy control [5] . The structure of the fuzzy PID controller is shown in Figure 2. It consists of a fuzzy controller and a traditional PID controller. The input of the fuzzy system is e (the error of the charging voltage) and ec (the error rate of change), the output is the change value of the PID parameter, and the PID parameter is adjusted in real time according to the designed fuzzy control rule to realize the self-tuning of the PID parameters [6] .

1) Fuzzification

Take the subordinating degree function of the input (e, ec) and the output (KP, KI, KD) as the triangular function [7] .

The variation range of e (the input error) and ec (the error rate of change) is defined as the universe of discourse on the fuzzy set:

The variation range of the output is defined as the universe of discourse on the fuzzy set:The variation range of the output is defined as the universe of discourse on the fuzzy set:The variation range of the output is defined as the universe of discourse on the fuzzy set:Suppose the fuzzy subsets of, , and are: {NB, NM, NS, Z, PS, PM, PB}2) Fuzzy rulesThrough repeated experiments and literature review [8] , the fuzzy rules are defined as follows. As shown in Tables 1-3.

Figure 2. PID controller of fuzzy self-tuning system.

Table 1. Fuzzy control principle of KP.

Table 2. Fuzzy control principle of KI.

Table 3. Fuzzy control principle of KD.

3) Fuzzy reasoning

Take KP as an example, as calculated by the fuzzy inference synthesis rule:

Fuzzy relations:

4) Defuzzification

The maximum subordinative degree method is adopted for defuzzification.

5) Simulation results

In the simulation of MATLAB, there are dedicated Fuzzy modules, which can be simulated only by inputting the designed parameters. Chart of Fuzzy rule is shown in Figure 3.

Response comparison during the load response is shown in Figure 4.

When the system load suddenly changes under the fuzzy PID control, the overshoot generated is about 12 V and the system transition time is less than 0.1 s; and when the system load suddenly changes under the traditional PID control,

Figure 3. Chart of fuzzy rule.

Figure 4. (a) Voltage of PID control with interference; (b) Voltage of Fuzzy-PID control with interference.

Figure 5. (a) Output voltage with random interference 1; (b) Output voltage with random interference 2.

the overshoot generated is about 20 V and the system transition time is about 0.25 s. It can be seen from the results that when the load suddenly changes, the fuzzy PID control effect is significantly better than the traditional PID control.

When the interference occurs, the fuzzy PID can make quick adjustment to ensure a stable charging voltage. Comparison of the anti-interference capability is shown in Figure 5.

5. Simulation Results and Analysis

The charging process and charging method of the battery are analyzed in this paper, combined with the latest research results and simulation experiments. A fuzzy PID controller is designed to meet the requirement of battery charging control. The simulation results show that the output of the fuzzy PID controller can be quickly returned to the setting value when the setting value changes. The overshoot of fuzzy PID controller is very small, and oscillation phenomenon is rare. The fuzzy PID controller, which has improve rapidity and effectiveness of battery charging, has better control effect than PID control.

Cite this paper: Xu, X. (2017) Research on Fuzzy PID Charging Control of Battery Pack. World Journal of Engineering and Technology, 5, 421-427. doi: 10.4236/wjet.2017.53036.

[1]   Wan, Y.F. (2015) The Development, Application and Future Prospects of UPS Power Technology. China New Telecommunications, 17, 88-94.

[2]   Chai, S.S. (2014) Lead-Acid Battery Manufacturing Technology. China Machine Press, Beijing.

[3]   Zhu, S.R. (1998) Battery Manual. Tianjin University Press, Tianjin, 37-93.

[4]   Chen, A.Y. (2017) Charging Control Strategy of Lead Acid Battery. Chinese Journal of Power Sources, 41, 654-657.

[5]   Guo, L.F., Dong, X.M. and Jiang, Q.F. (2016) Research Status of Fuzzy Control and Key Points in Engineering Application. Control and Instruments in Chemical Industry, 43, 1-5.

[6]   Yang, H., Liu, L., Yan, Z.A. and Yang, X. (2016) A Fuzzy PID Control Strategy for Buck Converter System of Double Closed Loop Circuits. Journal of Xi’an Jiaotong University, 50, 35-40.

[7]   Huang, W.H. (2012) Fuzzy Control System and Application. Electronic Industry Press, Beijing.

[8]   Guo, Y.W., Li, J. and Geng, L.X. (2014) Fuzzy Rule Extraction Based on Genetic Algorithm. Journal of Computer Applications, 34, 2899-2903.