Professional Documents
Culture Documents
8, AUGUST 2012
Abstract—A DSP-based probabilistic fuzzy neural network such as the constant-current (CC charging), constant-voltage
(PFNN) controller to control a two-stage ac–dc charger is pro- (CV) charging, CC–CV charging, pulse charging, and reflex
posed in this study. The charger is composed of an ac–dc boost charging [2], [3]. The CC charging method is based on a fixed
converter with power factor correction and a phase-shift full-
bridge dc–dc converter. Moreover, the designed charger adopts a charging current to the batteries. The charging method is simple
constant-current and constant-voltage (CC–CV) charging strategy and easily implemented and the charging currents are equal for
to charge lithium-ion battery packs. To improve the transient of each battery in serial connection [3]. However, the main dis-
voltage regulation during load variation, a PFNN controller is pro- advantage of CC charging method is that its difficult to get a
posed to replace the traditional proportional–integral controller. precise sensing mechanism for detecting 100% state of charge
Furthermore, the discontinuous charging voltage and current dur-
ing the transition between the CC and CV charging modes can (SOC). Thus, undercharge and overcharge of secondary battery
also be reduced significantly using the proposed PFNN controller. will occur in the CC charging strategy which will shorten the
The network structure and the online learning algorithms of the performance [4]. On the other hand, the CV charging method
PFNN controller are introduced in detail. In addition, the control simply uses a constant voltage to provide charge to battery. A
performances of the proposed PFNN control system for CC–CV limitation of charging current is needed for the CV method to
charging are evaluated by experimental results.
avoid overload current, which may reduce the battery life by
increasing of the temperature [3]. Currently, the combination
Index Terms—Constant-current (CC) charging, constant- of CC and CV charging method for batteries has become the
voltage (CV) charging DSP, phase-shift full-bridge (PSFB), power mainstream approach. The CC is first applied for low SOC until
factor correction (PFC), probabilistic fuzzy neural network
(PFNN). the voltage approaches the preset value, which is determined by
the characteristics of battery. Then, a constant voltage is held
for further charging to allow the battery to be fully charged.
I. INTRODUCTION This strategy can effectively increase the charging speed, avoid
overcharge, and achieve a nearly 100% charging for a Li-ion
UE to environmental requirements, electric vehicles (EVs)
D and hybrid EVs (HEVs) have become key R&D issues in
recent years. Secondary batteries are one of the high-efficiency
battery [4].
As is generally recognized, a full-bridge converter with proper
design can possess higher power density by increasing the
energy storages used for HEVs and EVs. The lithium-ion (Li-
carrier frequency of power transistors. However, the energy
ion) battery which offers many advantages like high power
conversion efficiency is reduced due to the switching loss of
and energy density, high charging and discharging rate, low
higher switching frequency, worsening the thermal and elec-
self-discharge, less memory effect, etc. [1], has been widely
tromagnetic interference effects. In order to solve these prob-
applied in EV to replace NiCd, NiMH, and lead–acid bat-
lems, the phase-shift full-bridge (PSFB) converter with zero-
teries. A good battery charger with suitable charging meth-
voltage switching (ZVS) [5]–[7] is proposed. However, it is
ods will provide safe charging, time efficiency, and prolonged
well known that switching dc–dc converters are highly nonlin-
life for secondary batteries. To match the secondary battery’s
ear systems with parameter uncertainties and variable operating
characters, a charger may provide the following functions:
conditions. As a result, the conventional control method based
1) delivering charge to battery; 2) optimizing charging rate; and
on the averaging and linearization techniques will provide poor
3) terminating charging process. The charge can be delivered to
dynamic performance and even instable system [8], [9]. On the
battery through different charging schemes based on the battery
other hand, intelligent controllers, such as fuzzy neural network
chemistry. Many battery-charge methods have been proposed,
(FNN) are capable of both fuzzy reasoning in handling uncer-
tain information and artificial neural networks for learning from
processes [10]. Furthermore, FNNs do not require mathemat-
Manuscript received August 2, 2011; revised October 24, 2011; accepted Jan-
uary 29, 2012. Date of current version April 20, 2012. This work was supported ical models and have the ability to approximate nonlinearity
by the National Science Council of Taiwan, under Grant NSC 99-2218-E-008- and uncertainties in systems [11], [12]. Thus, there has been
003. Recommended for publication by Associate Editor D. Xu. much research focused on using FNNs to represent complex
F.-J. Lin, H.-C. Tsai, and C.-H. Kuan are with the Department of Electri-
cal Engineering, National Central University, Chungli 320, Taiwan (e-mail: plants and construct advanced controllers [13], [14] based on
linfj@ee.ncu.edu.tw; 985201009@cc.ncu.edu.tw; disgust9@hotmail.com). the back-propagation (BP) algorithm. In addition, the proba-
M.-S. Huang and P.-Y. Yeh are with the Department of Electrical Engineer- bilistic neural network (PNN) is a feedforward neural network,
ing, National Taipei University of Technology, Taipei 106, Taiwan (e-mail:
simonh@ntut.edu.tw; t8319008@ntut.edu.tw). and its structure is the neural network implementation of Parzen
Digital Object Identifier 10.1109/TPEL.2012.2187073 nonparametric probability density function estimation and
Bayes classification rule [15]. The PNNs can handle the un- TABLE I
SPECIFICATIONS OF BATTERY CHARGER
certainties in industrial applications effectively and have been
widely used in pattern classification [16], nonlinear mapping
[17], and fault detection and classification [18]. According to the
aforementioned advantages of FNNs and PNNs, the probabilis-
tic FNN (PFNN), which combines the characteristics of FNN
(degree of truth) and the characteristics of PNN (probability of
truth), has been applied in some areas such as modeling and con-
trol problems [19] and stochastic modeling [20]; however, the
aforementioned references only provide the simulated results.
Additionally, there are two parts in the inference operation of
PFNN: the Mamdani inference for the fuzzy information and the
Bayesian inference for the probabilistic information [19]; there-
fore, the PFNN can enhance the fuzzy systems applicability by
bridging the gap between fuzziness and probability.
A DSP-based PFNN is proposed in this study to control a two-
stage ac–dc charger. The active power factor correction (PFC)
front-end stage can effectively increase the power factor and
lower the harmonic interference from the other electrical facili-
ties. The PSFB dc–dc converter power stage is insulated electri- II. CIRCUITS DESCRIPTION AND MODELING
cally to charge the Li-ion battery packs using CC–CV charging The proposed battery charger shown in Fig. 1 consists of two
modes. However, it may cause problems at the switchover point stages including a single-phase ac–dc converter with PFC in
if the CC and CV modes work separately [21]. After the CC the front-end stage and a PSFB dc–dc converter in the power
mode quits operating, the current rate is related to the internal stage. Two LiMn2O4 battery packs are adopted as the load of the
resistance of the battery in the CV mode. If the internal re- charger. The specifications of the proposed charger are listed in
sistance is small, the current rate at the switchover point may Table I. All the control schemes of converters are implemented
be larger than the one in the CC mode. Moreover, since the in a DSP-based control system using TMS320F28035.
battery has been almost fully charged in the CC mode, the dis-
continuous charging voltage and current during the transition
between the CC and CV charging modes may push it into the A. PFC AC–DC Converter
dangerous region [21]. Therefore, the key technology for CC– The objective of the PFC ac–dc converter shown in Fig. 1 is to
CV charger is how to transit from the current to the voltage provide both a stable dc-link voltage Vdc 200 V and less power
sources smoothly and properly [22]. In this study, the discontin- line disturbances on utility to meet the total demand distortion
uous charging voltage and current during the transition between (TDD) of <5% specified in IEEE Std 519-1992 for the input
the CC and CV charging modes can be reduced significantly us- current [23]. In Fig. 1, vac is the grid voltage, iac is the input cur-
ing the proposed PFNN controller. Furthermore, the proposed rent, vin is the rectified voltage, RA , RB , and RC are the divider
PFNN controller can improve the transient of voltage regula- resistors, LPFC is the boost inductor, CPFC is the boost capac-
tion during load variation. In addition, in order to lower the itor, and DPFC is the boost diode. The control scheme of the
cost and the interference between different power switches, the PFC ac–dc converter is shown in Fig. 2 [24]–[26]. In Fig. 2, the
proposed control system is implemented using a single DSP control block consists of a zero cross detection circuit, a sine
TMS320F28035 to control the two-stage charger. Finally, the ef- wave lookup table, the proportional–integral (PI) current and
fectiveness of the proposed PFNN control system is verified by voltage controllers, and a pulsewidth modulation (PWM) gener-
experimentation. ator. The reference current is designed as i∗L = Icm d | sin ωt|. Its
3784 IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 27, NO. 8, AUGUST 2012
Fig. 6. Probabilistic fuzzy neural network (PFNN). (a) Structure of PFNN. (b) Triangular functions in membership layer of PFNN. (c) Triangular functions in
probabilistic layer of PFNN.
(layer 3), the rule layer (layer 4), and the output layer (layer 5) 1) Layer 1 (Input Layer): In the input layer, the node input
with two inputs and one output is shown in Fig. 6(a). Moreover, and the node output are represented as follows:
the signal propagation and the basic function of each layer are
introduced in the following. xn (N ) = en (N ), n = 1, 2 (6)
LIN et al.: DSP-BASED PROBABILISTIC FUZZY NEURAL NETWORK CONTROL FOR LI-ION BATTERY CHARGER 3787
where xn represents the nth input to the input layer, and N where μIl and PlI are the input of rule layer, wj l is the connective
represents the Nth iteration. In this study, the inputs of the PFNN weight between the membership layer and the rule layer which is
are e1 (N ) = e and e2 (N ) = ė, which are the tracking error set to be 1, wk l is the connective weight between the probabilistic
and its derivative, respectively. It must be noted that e = ev = layer and the rule layer, which is also set to be 1, and μO l is the
vo∗ − vo when the battery pack is charging at CV mode, and output of the rule layer.
e = ei = i∗o − io when the battery pack is charging at CC mode. 5) Layer 5 (Output Layer): In the output layer, the node
2) Layer 2 (Membership Layer): In the membership layer, output is represented as follows:
the receptive field function is usually a Gaussian function in
FNN. In order to reduce the computational requirements in a
9
Fig. 7. Block diagram of DSP-based control system and flow charts. (a) Block diagram of DSP-based control. (b) Flow chart of main program, 20 μs ISR and
40 μs ISR.
Applying the chain rule, the update laws of center and center’s ∂E ∂E ∂y(N ) ∂μol ∂μIl ∂μj
width of the triangle are as follows: Δσj = −η3 = −η3
∂σj ∂y(N ) ∂μol ∂μIl ∂μj ∂σj
⎧
⎪ mj − xn
⎪
⎨ η3 δj (σ )2 , if mj − σj < xn ≤ mj
∂E ∂E ∂y(N ) ∂μol ∂μIl ∂μj j
Δmj = −η2 = −η2 =
xn − mj
(20)
∂mj ∂y(N ) ∂μol ∂μIl ∂μj ∂mj ⎪
⎪
⎩ η3 δj , if mj < xn ≤ mj + σj
⎧ (σj )2
⎪ 1
⎪
⎨ −η2 δj σ , if mj − σj < xn ≤ mj
j
= (19)
⎪
⎪ 1 where the factors η2 and η3 are the learning rates. The center of
⎩ η2 δj , if mj < xn ≤ mj + σj the triangle mj and center’s width of the triangle σj are updated
σj
LIN et al.: DSP-BASED PROBABILISTIC FUZZY NEURAL NETWORK CONTROL FOR LI-ION BATTERY CHARGER 3789
C. Convergence Analyses of PFNN Fig. 8. Experimental results using PI voltage controller at rated load 800 W
of the two-stage converter. (a) Grid voltage and input current v a c and ia c . (b)
The selection of the values of the learning rate parame- DC-link voltage ripples and the output voltage ripples ΔV d c and Δv o .
ters of the PFNN has a significant effect on the network per-
formance. Therefore, in order to train the PFNN effectively,
the varied learning rates [29]–[31], which guarantee the con-
vergence of the tracking errors based on the analysis of a flow charts of the main program and two ISRs with interrupt in-
discrete-type Lyapunov function, are derived in the Appendix. tervals 20 and 40 μs, respectively, are shown in Fig. 7(b). Param-
Moreover, the convergence of the tracking errors can guar- eters and I/O initialization, peripheral function setting, interrupt
antee the perfect tracking of the output voltage and current setting, enabling interrupts ISRs, and main loop are included in
commands. the main program. In the 20 μs ISR, the functions of reading
feedback signals from analog-to-digital converters, using en-
IV. EXPERIMENTAL RESULTS hanced capture (eCAP) function to capture the phase of grid volt-
age signal and processing sine wave lookup table, calculating the
The adopted Li-ion battery pack is composed of 42 cells with current command, processing digital-to-analog converters out-
7 cells in series as a unit and six units in parallel. The type of put using serial peripheral interface module, and executing PI
Li-ion cell used is SANYO UR18650Y. The nominal capacity current controller of front-end stage are included. Furthermore,
and nominal voltage of the battery pack are 11.4 Ah and 25.9 V, the CC–CV charging control using the PFNN controller for the
respectively and the recommended charging voltage is 29.2 V. PSFB dc–dc converter and the online training of the PFNN are
Moreover, it is strongly recommended by the producer that the processed in the 40 μs ISR. In addition, the PI voltage con-
charging current must not exceed 11.4 A, otherwise the high trol loop in the front-end stage is executed every 160 μs in this
temperature due to high charging current will endanger the cycle ISR.
life of the battery pack. Moreover, to test the performance of The experimentation is divided into two parts. In the first
the PSFB converter, an electronic load is also adopted. The type part, the experimental results of the two-stage converter with
of electronic load is Chroma DC Load 63112 with 1200 W, the PSFB operated as a dc–dc converter using electronic load
0–240 A, 0–80 V, and 6.25 mΩ–25 Ω. are discussed. In the second part, the experimental results of the
The PI controllers and PFNN controllers are implemented in two-stage converter with the PSFB operated as a charger using
the Texas Instruments DSP TMS320F28035 shown in Fig. 7(a). battery packs as the load are discussed.
Moreover, all the control algorithms for the proposed battery
charging system are realized in the DSP using the Assembly
A. Experimental Results of the Two-Stage Converter
languages. The methodology proposed for the implementation
of the CC–CV battery charging system using PFNN consists of Fig. 8(a) shows the grid voltage vac and input current iac and
a main program and two interrupt service routines (ISRs). The Fig. 8(b) shows the dc-link voltage ripples ΔVdc and the output
3790 IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 27, NO. 8, AUGUST 2012
Fig. 11. Efficiency curves of two-stage converter. (a) PFC ac–dc converter.
(b) PSFB dc–dc converter.
Fig. 12. CC–CV control transient responses with resistive load. (a) Using CC
and CV two PI controllers. (b) Using PFNN controller. Fig. 13. CC–CV control transient responses with battery load. (a) Using CC
and CV two PI controllers. (b) Using PFNN controller.
APPENDIX
The purpose of the convergence analyses is to derive specific
Fig. 14. CC–CV control complete charging curves for battery packs. (a) Using learning rate coefficients for network parameters to assure the
CC and CV two PI controllers. (b) Using PFNN controller. convergence of the tracking error. Considering the energy func-
tion in (13) as a discrete-type Lyapunov function, the change in
the Lyapunov function can be written as follows:
∂E(N )
≈ E(N ) + Δwl
∂wl
l=1
6
∂E(N ) ∂E(N )
+ Δmj + Δσj
j =1
∂mj ∂σj
9
2
1 ∂E(N ) ∂y(N )
Fig. 15. Efficiency curve of two-stage charger during a full charge cycle. = E(N ) − η1
3 ∂y(N ) ∂wl
l=1
6
2
1 ∂E(N ) ∂y(N ) ∂μj
+ E(N ) − η2
of the two-stage charger during a full charge cycle is shown 3 j =1
∂y(N ) ∂μj ∂mj
in Fig. 15.
6
2
1 ∂E(N ) ∂y(N ) ∂μj
+ E(N ) − η3 (25)
3 j =1
∂y(N ) ∂μj ∂σj
V. CONCLUSION
A TMS320F28035 DSP-based PFNN controller has been suc- where Δwl , Δmj , and Δσj represent the change of weight
cessfully developed in this study to control a two-stage ac–dc in the output layer, and the change of the center and center’s
charger. In the two-stage ac–dc charger, the active PFC front- width of the triangle in the membership layer, respectively.
end stage can increase the input power factor and the PSFB If the learning rate parameters of the PFNN are designed as
LIN et al.: DSP-BASED PROBABILISTIC FUZZY NEURAL NETWORK CONTROL FOR LI-ION BATTERY CHARGER 3793
Faa-Jeng Lin (M’93–SM’99) received the B.S. and Po-Yi Yeh received the M.S. degree in electrical
M.S. degrees in electrical engineering from the Na- engineering from the National Taipei University of
tional Cheng Kung University, Tainan, Taiwan, in Technology, Taipei, Taiwan, in 2007. He is currently
1983 and 1985, respectively, and the Ph.D. degree in working toward the Ph.D. degree in electrical engi-
electrical engineering from the National Tsing Hua neering at the National Taipei University of Technol-
University, Hsinchu, Taiwan, in 1993. ogy, Taipei.
From 1993 to 2001, he was an Associate Profes- From 2007 to 2009, he was a Research Engineer
sor and then a Professor in the Department of Elec- with Allis Electric Co., Ltd. His research interests
trical Engineering, Chung Yuan Christian University, include modeling, design, and digital power control
Chung Li, Taiwan. From 2001 to 2003, he was Chair- of converters especially in bidirectional power flow
person and a Professor in the Department of Electrical control.
Engineering, National Dong Hwa University, Hualien, Taiwan, where he was
also the Dean of Research and Development from 2003 to 2005 and Dean of
Academic Affairs from 2006 to 2007. Currently, he is a Chair Professor in the
Department of Electrical Engineering, National Central University, Chung Li,
Taiwan. His research interests include fuzzy and neural network control theories,
nonlinear control theories, ac and ultrasonic motor drives, DSP-based computer
control systems, power electronics, and micromechatronics.
Prof. Lin received the Crompton Premium Best Paper Award from the Insti-
tution of Electrical Engineers, U.K., in 2002, the Outstanding Research Award
from the National Science Council, Taiwan, in 2004 and 2010, the Outstanding Han-Chang Tsai was born in Taoyuan, Taiwan, in
Research Professor Award from the National Dong Hwa University in 2004, 1986. He received the B.S. degree in electrical en-
and the Outstanding Professor of Electrical Engineering Award in 2005 from gineering from the Fu Jen Catholic University, New
the Chinese Electrical Engineering Association, Taiwan. Moreover, he was the Taipei, Taiwan, in 2009, and the M.S. degree in elec-
recipient of the Distinguished Professor Award and Chair Professor Award from trical engineering from the National Central Univer-
National Central University in 2008 and 2010. He was the Chair of Power En- sity, Chungli, Taiwan in 2011. He is currently fulfill-
gineering Division, National Science Council, Taiwan, and the Chair of IEEE ing his mandatory military service, Taoyuan, Taiwan.
IE/PELS Taipei Chapter from 2007 to 2009. He is currently a member of the His research interests include DSP-based control
Fuzzy Systems Technical Committee of Computational Intelligence Society system, power electronics, battery management sys-
(CIS) and Chair of IEEE CIS Taipei Chapter. Furthermore, he is a Fellow of the tem, and intelligence control theories.
Institution of Engineering and Technology (IET).