Network Enabled Battery Health Monitoring System Research Team: Fan Yang Zhengyang Liu Supervisor: Advisor: Hanlei Zhang (PhD Student) Wencong Su (PhD Student) Dr. Mo-Yuen Chow Presentation Outline Project Introduction Demo Circuit Design ZigBee Network Setup Data Packet Re-design LabVIEW GUI Design Test and Validation Summary 1
Project Introduction Demo Circuit Design ZigBee Network Setup Data Packet Re-design LabVIEW GUI Design Test and Validation Summary Project Introduction Demo Circuit Design ZigBee Network Setup Data Packet Re-design LabVIEW GUI Design Test and Validation Summary 2
Project Background Power Plant Transmission Line Municipal Parking Deck Plug-in Hybrid Electric Vehicle (PHEV) Charging Station Problem Large penetration of PHEV causes problem Potential threats & anxiety Grid instabilities and disruptions Number of PHEVs are increasing Stable charging station in need 3
A Solution in Need Network Enabled Battery Health Monitoring Effective control, better solve problem Grid stabilities Can handle more PHEVs No worry about charging anymore The Idea Sensor Microcontroller (MSP430) ZigBee Client Internet Server Charging Station Municipal Parking Deck PHEV (Prius) Sample in-situ measurements Battery Voltage, Load Current, Operating Temperature. Transmit data to client Report to server for further processing State-of-Charging, State-of-Health, Optimal Power Distribution, etc. 4
Project Objective Sensor Network Enabled Battery Health Monitoring System Client Server ZigBee Internet Measurements Temperature Voltage Current Data Packet LabVIEW GUI Input from USB Process, Display, Record Report to Server Data Packet LabVIEW GUI Input from Internet Process, Display, Record Extracted Data Extracted Data Client Disk Server Disk Project Introduction Demo Circuit Design ZigBee Network Setup Data Packet Re-design LabVIEW GUI Design Test and Validation Summary 5
Demo Circuit Discharge PHEV Li-ion battery Use voltage divider PHEV Li-ion Battery Current Sensor Load Temperature Sensor Data Packet Micro- Controller ZigBee Module Voltage Divider Circuit Processor Extra pins on chip allow space for connections PHEV Li-ion Battery Load Current Sensor Temperature Sensor Micro- Controller ZigBee Module Voltage Divider Circuit Processor 6
Temperature Sensor Integrated Temperature Sensor Integrated ADC Module NT-5 Magneto-Resistive Current Sensor Micro- Controller Environment Temperature Sensor Easy to use Offset error can be large Need to be calibrated ADC Module Typical Temperature Sensor Transfer Function Voltage Sensor Integrated Temperature Sensor Integrated ADC Module NT-5 Magneto-Resistive Current Sensor Digital Output Successive Approximation ADC Accuracy High speed Relatively low cost 1.5V Analog Input 7
PHEV Li-ion Battery Load Current Sensor Temperature Sensor Micro- Controller ZigBee Module Voltage Divider Circuit Processor Current Sensor Integrated Temperature Sensor Integrated ADC Module NT-5 Magneto-Resistive Current Sensor The MR Effect Electrical resistance changes when external magnetic field applied Voltage proportional to current Wide measurement range High accuracy Output GND -Vs +Vs Micro-Controller 8
Network Enabled Battery Health Monitoring System Sensor Client Server ZigBee Internet Measurements Temperature Voltage Current Data Packet LabVIEW GUI Input from USB Process, Display, Record Report to Server Data Packet LabVIEW GUI Input from Internet Process, Display, Record Extracted Data Extracted Data Client Disk Server Disk Project Introduction Demo Circuit Design ZigBee Network Setup Data Packet Re-design LabVIEW GUI Design Test and Validation Summary 9
ez430-rf2480 Demo Kit Emulator Board Target Board Battery Board Dongle Battery Node ZigBee Accelerator Sample Application (ZASA) Runs on MSP430, Interfaces to CC2480 device via SPI Makes use of CC2480 device easier Possible to integrate functions Application Hardware Abstraction Layer Monitor-Test Simple Application Programming Interface ZigBee Accelerator Output 10
State Machine PowerUp Initialization ZP Reset Indication Awaiting Button Press 1 Press in 2 secs Attempting to join existing network as a ZR 2 or more Presses in 2 secs Configuration Timer Expires Button Press and Not Max Children ZC Sink Allowing Joins Button Press or Max Children ZR Source Allowing Joins Button Press and Not Max Children Successful Join Button Press or Max Children ZED Source ZC Sink Dis-Allowing Joins ZR Source Dis-Allowing Joins Build ZigBee Network Plug Dongle to USB port, and configurate it as a Coordinator Configurate Battery Node as Router or End Device Different topologies in different situation 11
Insert Dongle to PC, and configurate it as a Coordinator Configurate Battery Node as Router or End Device Different topologies in different situation Insert Dongle to PC, and configurate it as a Coordinator Configurate Battery Node as Router or End Device Different topologies in different situation 12
Project Introduction Demo Circuit Design ZigBee Network Setup Data Packet Re-design LabVIEW GUI Design Test and Validation Summary Data Packet Redesign Data packet is in 16-byte: {control field, data field} Analysis and extraction Control Field 0 1 2 3 4 5 6 7 8 9 FE 0B 46 87 6F 79 01 00 05 00 10 11 12 13 14 15 15 05 09 6C 8B 15 Data Field 13
Data Packet Analysis Different parts of data packet Data precision consideration: 5 effective digits Control Field Carrying data Require Acknowledge IP Addr / Node ID Data Length 0 1 2 3 4 5 6 7 8 9 FE 0B 46 87 6F 79 01 00 05 00 10 11 12 13 14 15 15 05 09 6C 8B 15 Temperature Voltage Current FCS Data Field Useful Data Packet Useful information (unshadowed) Control Field IP Addr / Node ID 0 1 2 3 4 5 6 7 8 9 FE 0B 46 87 6F 79 01 00 05 00 10 11 12 13 14 15 15 05 09 6C 8B 15 Temperature Voltage Current Data Field 14
Sensor Client Server ZigBee Internet Measurements Temperature Voltage Current Data Packet LabVIEWGUI Input from USB Process, Display, Record Report to Server Data Packet LabVIEW GUI Input from Internet Process, Display, Record Extracted Data Extracted Data Client Disk Server Disk Project Introduction Demo Circuit Design ZigBee Network Setup Data Packet Re-design LabVIEW GUI Design Test and Validation Summary 15
Project Introduction Demo Circuit Design ZigBee Network Setup Data Packet Re-design LabVIEW GUI Design Test and Validation Summary Project Introduction Demo Circuit Design ZigBee Network Setup Data Packet Re-design LabVIEW GUI Design Graphic User Interface Data Transmission Data Display Test and Validation Summary 16
Features of LabVIEW Convenient to make graphic display and operation interface Matlab Virtual Instrument between software and hardware VISA Open VISA Read VISA Write Graphic User Interface Direct, Vivid and Multi-Angle expression 17
Graphic User Interface Client Server Project Introduction Demo Circuit Design ZigBee Network Setup Data Packet Re-design LabVIEW GUI Design Graphic User Interface Data Transmission Data Display Test and Validation Summary 18
Project Introduction Demo Circuit Design ZigBee Network Setup Data Packet Re-design LabVIEW GUI Design Graphic User Interface Data Transmission Data Display Test and Validation Summary Data Transmission ZigBee/USB - VISA TCP/IP Sensor Client Server ZigBee Internet Measurements Data Packet LabVIEW GUI Data Packet LabVIEW GUI Extracted Data Extracted Data Client Disk Server Disk 19
ez430 Demo Kit Dongle Battery Node ZigBee - VISA VISA: The Virtual Instrument Software Architecture Read and Write Test Stand Application Programs PC: Develop Environment Instrument Drivers VISA Devices Interface 20
ZigBee - VISA Many Parameters to be Configured Data Packet: Hexadecimal String Data Transmission ZigBee - VISA TCP/IP Sensor Client Server ZigBee Internet Measurements Data Packet LabVIEW GUI Data Packet LabVIEW GUI Extracted Data Client Disk Extracted Data Server Disk 21
TCP/IP Server Client model Passive - Active Connection Oriented Reliable Data Transmission Server Client TCP/IP System Network Application Transportation Network MAC Physical 22
TCP/IP System Network Structure of internet Application Transportation Sending Process Port TCP Protocol UDP Protocol TCP Protocol Receiving Process Port UDP Protocol Network TCP Packet IP Protocol UDP Packet TCP Packet IP Protocol UDP Packet IP Packet IP Packet TCP/IP Unique identification of process in computer IP Address 192.168.0.10 Port Number 2000 Socket 192.168.0.10, 2000 23
Sensor ZigBee Client Internet Serve r Measurements Data Packet LabVIEW GUI Data Packet LabVIEW GUI Extracted Data Extracted Data Client Disk Server Disk Project Introduction Demo Circuit Design ZigBee Network Setup Data Packet Re-design LabVIEW GUI Design Graphic User Interface Data Transmission Data Display Test and Validation Summary 24
Data Display Data Packet Save to File In-situ Data Table Curve Data Display Numerically 25
Data Display Graphically Data Display Save data in document 26
Sensor Client Server ZigBee Internet Measurements Temperature Voltage Current Data Packet LabView GUI Interface Input from USB Process, Display, Record Report to Server Data Packet LabView GUI Interface Input from Internet Process, Display, Record Extracted Data Extracted Data Client Disk Server Disk 2010 Project Introduction Demo Circuit Design ZigBee Network Setup Data Packet Re-design LabVIEW GUI Design Test and Validation Summary 27
Test and Validation Connect Demo Circuit Construct ZigBee Network Run LabVIEW Program Project Introduction Demo Circuit Design ZigBee Network Setup Data Packet Re-design LabVIEW GUI Design Test and Validation Summary 28
Summary Hardware: ez430 Demo Kit & NT-5 Data Transmission: ZigBee & internet Data Display: LabVIEW GUI Features Portability Small and light Convenient for user Easy Expandability 5 available GPIO Pins Two independent cells At most four cells in series Multiplexer 29
Demo Video View a 3-minute demo video http://www.adac.ncsu.edu/project_folder/project_home_page.htm#future Q&A Thank you for your listening! 30
Voltage Output 8/6/2010 Challenges Intersection and non-linearity of current sensor Magneto-Resistive Current Sensor Data Rate VS. Sample Rate TCP/IP 35 30 25 20 15 10 5 0 V-I -10 Input Current y = 0.4954x + 13.638 R² = 0.9999-40.0000-20.0000-5 0.0000 20.0000 40.0000 31