EMI Prevention of CAN-Bus-Based Communication in … · EMI Prevention of CAN-Bus-Based Communication in Battery Management Systems Chin-Long Wey, Chung-Hsien Hsu*, Kun-Chun …
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
International Journal of Engineering & Computer Science IJECS-IJENS Vol:13 No:05 6
Department of Electrical Engineering, National Chiao Tung University, Hsinchu, Taiwan
*Department of Electrical Engineering, National Central University, Jhongli, Taiwan
Abstract— Controller Area Network (CAN) bus has been
popularly employed in most of vehicles and it will be heavily
involved to the electric vehicle (EV) applications. A vehicle is a
noisy system, with electromagnetic interference (EMI) over a wide
range of frequencies. EMI generated by the inductive loads is the
major cause of performance degradation of CAN bus
communications. In order to enhance and protect the reliability
and robustness of the CAN bus communication and to maintain
safe operation of the battery stack, galvanic isolator is required
for the data transmission. This study compares two different
galvanic isolators, Optocoupler and Digital Isolator, and three
different isolation schemes are evaluated by their protection
capability for various EMI affected signals. The best isolation
scheme has been recommended for EMI prevention of the CAN-
bus-based BMS.
Index Term-- Controller Area Network (CAN), Battery
Management System (BMS), Electromagnetic Interference (EMI),
Galvanic Isolators, Electrical Vehicle.
I. INTRODUCTION
Battery Management System (BMS) is simply battery
monitoring which keeps checking on the key operational
parameters during charging and discharging such as voltages,
currents, and temperatures (internal and ambient). The BMS
normally provides inputs to protection devices which generate
alarms or disconnect the battery from the load or charger when
any of the parameters become out of limits. The major
objectives of BMS are [1,2]: (1) to protect the cells or the
battery from damage; (2) to prolong the life of the battery; and
(3) to maintain the battery in a state in which it can fulfill the
functional requirements of the application for which it was
specified. Thus, the BMS may incorporate one or more of the
following functions: cell protection, charge control, demand
management, state of charge (SOC) determination, state of
health (SOH) determination, cell balancing, communication,
and etc.
The BMS communicates with other system devices or with
external equipment via a data link for performance monitoring,
data logging, diagnostics, or system parameters setting. The
choice of the communication protocol is determined by the
application. The System Management Bus (SMBus) [3] has
been commonly used for the BMSs applied for notebook PC.
Recently, Controller Area Network (CAN) bus has been
popularly employed in most of vehicles and it has been heavily
involved to the Electric Vehicle (EV) application. The CAN bus
is very robust with error detection and fault tolerance, but it
carries significant communications overhead and high materials
cost. While an interface from the battery system to the main
vehicle CAN bus may be desirable, I2C communications can be
advantageous within the battery pack. The BMS system with
CAN bus allows the vehicle system to detect whether the
battery is overloaded through the CAN bus nodes when the
vehicle starts or overloads, and then temporarily disables non-
safety-critical devices, such as air condition, entertainment
systems, and etc., to reduce the battery load to prolong the life
of battery.
The battery stack voltage can be as high as 400 V in many
EV’s, this high voltage is needed to deliver enough power to the
motor. A vehicle is a noisy system, with electromagnetic
interference (EMI) over a wide range of frequencies. EMI
generated by the inductive loads has been found to be the
major cause of performance degradation of CAN bus
communications [4-6].
The ultimate goal of this study is to enhance and protect the
reliability and robustness of the CAN bus communication and
to maintain safe operation of the battery stack for data
transmission from high voltage battery to low voltage
electronics elsewhere in the vehicle. The use of galvanic
isolators [7] can achieve this goal. Therefore, this study will
compare two different galvanic isolators, Optocoupler [8] and
Digital Isolator [9], and evaluate the protection capability of
three different isolation schemes for various EMI affected
signals. Results of this study will demonstrate that the best
isolation scheme is recommended for EMI prevention of the
CAN-bus-based BMS.
In the next section, the CAN-bus-based BMS architectures are briefly reviewed. The effect of EMI is also briefly discussed. Section III compares two different galvanic isolators and evaluates three different isolation schemes using these isolators. A concluding remark is given in Section IV.
International Journal of Engineering & Computer Science IJECS-IJENS Vol:13 No:05 7
This section reviews the architecture of CAN-bus-based BMS and EMI effects to CAN bus.
2.1 CAN-bus-based BMS
In order to improve the conventional rechargeable batteries by
indicating the residual power therein, a smart battery was
jointly developed with the Automotive Research & Test Center
[10], Taiwan, under the collaborative research project “Smart
Battery Management System with Distributed Battery Units”
[11] sponsored by the Ministry of Economic Affairs (MOEA),
Taiwan. The battery implements a residual power monitoring
device, a temperature sensor and other sensors to detect the
variation of the charge-discharge cycle taking place in the
smart battery, so as to prevent the smart battery from
overcharge or over-discharge.
Fig.1(a) shows the developed BMS under the project. The
SOC of each cell in the BMS can be monitored by a BIM
(Battery Interconnect Manager), as shown in Fig. 1(b), where
each BIM is instructed by the BWM (Battery Module
Manager), as shown in Fig. 1(c), to communicate with its next
neighbor BIM through a communication bus. Once
overcharging or over-discharging of a cell occurs, the BIM
reports to its supervised BWM and self-purge to maintain the
safety of the system. The BIM configuration provides very
easy interface with its neighbors and offer the salient feature of
plug-and-play.
Due the insufficient bandwidth of the SMBus and high
battery stacked voltage for vehicle applications, the CAN bus
was employed in our BMS development. The CAN bus is very
robust with error detection and fault tolerance, but it carries
significant communications overhead and high materials cost.
While an interface from the battery system to the main vehicle
CAN bus may be desirable, I2C communications can be
advantageous within the battery pack.
(a)
(b)
(c)
Fig. 1 Developed BMS: (a) Block Diagram; (b) Battery Interconnect Manager (BIM); and (c) Battery Module Manager (BMM).
The CAN bus includes three major components: Host
Controller (HC), CAN-controller (CC), and CAN-Transceiver
(or call bus driver, BD). Fig 2 shows a block diagram of a
CAN-controller, SJA-1000, a product of Philips. The controller
converts the data from the HC, a process chip or PC, to CAN
bus protocol data, and sends to the CAN transceiver, and then to
the CAN bus.
Fig. 2 CAN Bus.
On the other hand, the transceiver transmits the data from the CAN bus to the CAN controller to convert the data and then send to the host controller. The developed BMS [11] takes a simple 8-bit MCU, such as 8051, as the host controller, SJA-1000 as the CAN controller, and PCA82C250 as the CAN-transceiver to form a simple CAN node. Fig. 3 shows a simple BMS, where the battery monitoring data is processed by 8051 and then display at the monitor through a RS-232.
Fig. 3 CAN Bus and CAN Nodes [11].
The TI BQ-29312 AFE protection IC integrates an I
2C
compatible interface to extract battery parameters such as cell voltages and control output status. It provides safety protection
International Journal of Engineering & Computer Science IJECS-IJENS Vol:13 No:05 8
for overcharge, overload, short-circuit, and overvoltage conditions in conjunction with the battery management host. It allows user to program the parameters such as current protection thresholds and delays for overload and short-circuit during charge and discharge. The 8051 maintains an accurate record of available capacity and other critical parameters of the battery pack and reports the information to the system host controller over the RS232.
2.2 EMI Effects on CAN BUS
Fig. 4(a) shows that the electromagnetic interference [4], where the EM field of the power line produces the electric field E to inference the signal on the communication bus. The magnitude of Iinference depends upon the distance between both the power line and the communication bus, and significantly affects the signal-noise ratio (SNR).
Fig. 4(b) shows the waveform of data frames at the bit rate
of 1 Mbps. The amplitude of data frames is 1.8 V. One data
frame lasts from 0.08 ms to 0.019 ms, while the data filed lasts
from 0.1 ms to 0.164 ms. Fig. 4(c) shows the waveform of
EMI, where the voltage peak is 4 V. The length of EMI is
approximately 0.65 ms. Fig. 4(d) shows the waveform of EMI.
On average, every data frame has 6 error bits affected by EMI
[4]. These errors can be detected by CAN, and wrong data
frames can be retransmitted.
(a) (b)
(c)
(d)
Fig. 5 CAN Bus [4]: (a) EMI Principle; (b) Data Frame; (c) EMI
Effect; and (d) Data Frame with EMI.
2.3 Error Effects of CAN BUS
A Data Frame is composed of seven different bit fields:
Start of Frame, Arbitration Filed, Control Field, Data Field,
CRC Field, ACK Field, and End of Frame. A Data Field can be
of length zero. There are five different error types which are not
mutual exclusive [12]: Bit Error; Stuff Error; CRC Error; Form
Error; and Acknowledgment Error.
Every CAN bus controller takes two error counters, REC
(Receiver Error Counter) and TEC (Transmit Error Counter)
and three states, Error Active, Error Passive, and Bus Off, to
distinguish between temporary and permanent failures. The bus
off state is a state in which the unit cannot participate in
communication on the bus. When in this state, the unit is
disabled from all transmit/receive operations.
III. ISOLATORS AND PROTECTABILITY
In order to enhance and protect the reliability robustness of
CAN bus communication and to maintain safe operation of the
battery stack, signal isolator is needed for the data transmission
from high voltage battery to low voltage electronics elsewhere
in the vehicle. This section evaluates the degree of protection
from the isolators. We first introduce the possible isolation
schemes for protection and then discuss the degree of
protection.
3.1 Galvanic Isolators
To maintain safety voltage at the interface and to prevent
transients from being transmitted from the sources, galvanic
isolation is required. Two isolators are considered in the BMS
implementation [13]: Optocouplers [8] and Digital Isolator
[4,9], as shown in Fig. 6.
(a)
(b)
Fig. 6 Galvanic Isolators: (a) Optodecupler [8]; and
(b) Digital Isolator [9].
The optocouplers rely on light emitting diodes to convert the
electrical signals to light signals and on photo detects to
convert the light signals back to electrical signals. On the other
hand, the digital isolator is magnetic coupler based on chip-
scale transformers, as compared with the photodiodes used in
optocoupler. The digital isolator offers higher speed, up to 150
Mbps, and lower power consumption, about 1/10 of the
International Journal of Engineering & Computer Science IJECS-IJENS Vol:13 No:05 9
The CAN bus is very robust with error detection and fault
tolerance. While an interface from the battery system to the
main vehicle CAN bus may be desirable, I2C communications
can be advantageous within the battery pack. The proposed
CAN-bus-based BMS allows the vehicle system to detect
whether the battery is overloaded through the CAN bus nodes
and to temporarily disable the non-safety-critical devices, if the
battery is overloaded, so that the battery can be protected to
prolong the life of battery.
To maintain safety voltage at the interface and to prevent
transients from being transmitted from the sources, the isolators
are added at the connection of the CAN node to the bus so that
the reliability and robustness of the CAN bus can be enhanced
and the safe operation of the battery stack can be properly
maintained.
This paper demonstrates various isolation schemes and
evaluate their protection capability to the CAN bus with the
EMI effects. Results show that Type C has the best protection
capability, even though Type A may be better than Type C
when the sufficiently small EMI signals are affected. However,
with a slight modification of the optocoupler, the circuit will
have the same protection capability as Type A for small EMI
signals.
For highly reliable battery management system, reliability
and safety are very important elements for electric vehicle
applications. Type C has been adapted to the battery
management system which is currently being developed.
ACKNOWLEDGMENT
This work was supported in part by the Taiwan National
Science Council under the project No. 102-2220-E-009-052 and
the project No. 101-3113-P-110-004.
REFERENCES
[1] Electropidia, http://www.mpoweruk.com/bms.htm
[2] K.W.E. Cheng, B.P. Divakar, Hongjie Wu, K. Ding, and H.F. Ho, “Battery-Management System (BMS) and SOC Development for Electrical Vehicles,” IEEE Trans. on Vehicular Technology, Vol. 60 , pp76-88. Jan. 2011.
[4] F. Ren, Y.R. Zheng, Z. Maciei, Effects of Electrimagnetic Interference of on Control Area Network Performance, IEEE Region 5 Technical Conference, 2007.
[5] K.C. Emani, K. Karm, M. Zawodniok, Y.R. Zheng, J. Sarangapani, “Improvement of CAN Bus Performance by Using Error-Correction Codes,” IEEE Region 5 Technical Conf., pp.205-210, April 2007.
[6] F. Simonot, F. Simonot-Lion, Y.Q. Song, “Safety Evaluation of Critical Applications Distributed on TDMA-based Networks” 3rd Taiwanese-French Conference on Information Technology, (TFIF), 2006.
[7] B. Chan, J. Wynne, and R. Kliger, “High Speed Digital Isolator Using Microscale On-Chip Transformers,” Electronik Maganzine, July 2003.
[9] S. Wayne, “iCoupler Digital Isolators Protect RS-232, RS-485, and CAN Buses in Industrial, Instrumentation, and Computer Applications,” Analog Dialogue 39-10, pp. 1-4, October 2005.
[10] Automotive Research and Testing Center (ARTC), http://www.artc.org.tw/index_en.aspx
[11] C.-C. Wang, C.L. Wey, and P.-C. Jui, “Development of Smart Battery Management Systems,” Project Report, Sponsored by Department of Industrial Technology, Ministry of Economic Affairs (MOEA), Taiwan, May 2010.
[12] M.Farsi, K.Ratcliff, and M.Barbosa, ”An Overview of Controller Area Network.” Journal of Computing & Control Engineering , pp.113-120, 1999.
[13] C.-Hsu, K.-C. Chang, C. Ouyang, K.-Y. Liao, and C.L. Wey, “On the Implementation of CAN Buses to Battery Management Systems” Proc. of IEEE International Midwest Symp. on Circuits and Systems, Seoul, Korea, August 2011.