Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
The Challenge:
Developing a BMS to monitor a battery pack of up to 12 cells, while developing a system to control cell voltage, currents, temperatures, and passive
balancing.
The Solution:
Using the built-in serial peripheral interface (SPI) on the default FPGA personality of the myRIO embedded hardware device, we established
communication with a Linear Technology LTC6804-1 multicell battery monitoring chip. We also used LabVIEW system design software to easily set
the speed, polarity, and clock phase for the BMS.
Author(s):
David Cabezuelo - Mondragon Unibersitatea
Iosu Aizpuru - Mondragon Unibersitatea
Lorea Gorrotxategi - Mondragon Unibersitatea
Unai Iraola - Mondragon Unibersitatea
Lithium Ion (LiOn) electrochemical batteries need to work within a safe voltage and temperature range to avoid irreparable damage. Therefore, these
batteries require continuous range control. However, taking all necessary measurements with a BMS while maintaining exhaustive control of the batteries
and stable global communication is difficult when there are many cells in place. This is where the versatility and user friendliness of myRIO has been a
key factor.
Mondragn Goi Estola Politeknikoa (MGEP) has a laboratory in the Garaia innovation pole equipped to perform different tests on the LiOn cells using
these components:
BaSyTec XCTS Battery Test System
Prebatem ovens and heaters
Voltage sources
Electronic charges
Spectroscopic impedance meters
Application Overview
The BMS consists of the LTC6804-1 multicell battery monitoring chip and the myRIO control tool. These communicate via a serial peripheral interface
(SPI) communication protocol, where myRIO acts as master and the LTC6804-1 as a slave. The myRIO has an FPGA that is integrated with a processor
that executes a real-time OS. It also incorporates multiple digital and analogue inputs and outputs through which the SPI and the LTC6804-1
communicate.
With NI assistance and myRIO examples, programming the SPI communication protocol is simple. LabVIEW offers SPI blocks for myRIO that make
configuring speed, polarity, and clock phase easy. We can also painlessly configure the number of bits sent and received per segment. With these
configuration options, it is nearly effortless to set up SPI communication for any device. Also, using the spare I/O in myRIO, we can take additional voltage
measurements and implement additional security measures.
For this BMS application, myRIO collects all voltage and temperature data that the LTC6804-1 sends via SPI, controls the voltage via the LTC6804
balancing system, and manages the batterys temperature by controlling a forced ventilation system. Also, LabVIEW helped us easily create a fast and
intuitive graphical interface and data storage system.
1/3
www.ni.com
Other Applications
Using myRIO to develop a BMS opened a wide array of possibilities for developing projects or prototypes that are easy to implement. An electrical vehicle
control and telemetry, small renewable energy systems, and robotic applications are possible, thanks to myRIO.
Conclusion
Using myRIO and LabVIEW graphical programming, we implemented a BMS for the LiOn cells in a short time because LabVIEW simplified the
programming experience and seamlessly paired with embedded hardware that was easily adapted for this application. myRIO versatility also helped in the
general design. Additionally, with the LabVIEW front panel, we can view different parameters in real time, giving us constant control over the alarms.
2/3
www.ni.com
3/3
www.ni.com