Chicago - Battery Charger module.

Back to VSCP Modules

Current harware version control board: 0.0.1
Current harware version charge board: 0.0.1
Current Firmware version control board: Not yet released   

Download

Got to http://www.grodansparadis.com for up to date info :!:

Firmware

No firmware release yet.

Schematics

DIN Model - Selfcontained

Controller

Charger

About

Controller

:pictures:chicago_b.jpg

Charger

:pictures:chicago_charger_b.jpg

The Chicago module is an intelligent VSCP connected charger built around the Atmel AVR450 application note. It can be used to charge SLA, NiCd, NiMH and Li-on batteries. It has temperature control and can be fully monitored and controlled over VSCP.

Registers

Configuration
Register 0(0x00) - Zone. Read/write.
Register 1(0x01) - Subzone 0. Read/write.
Register 2(0x02) - Battery type. Read/write.
* 0 - SLA
* 1 - NiCd
* 2 - NiMH
* 3 - Li-on
Register 3(0x03) - Battery voltage. Read/write.

Set the battery voltage for the battery pack here.

Control Registers
Register 10(0x0A) - Control Register.  Read/Write

The channel control bits enable disable intelligent channel functionality

  • Bit 0 - Reserved.
  • Bit 1 - Reserved.
  • Bit 2 - Enable high alarm.
  • Bit 3 - Enable low alarm.
  • Bit 4 - Send battery voltage events.
  • Bit 5 - Send charge current events.
  • Bit 6 - Send battery temperature events.
  • Bit 7 - Enable charger.
Report intervals
Register 11(0x0B) - Report interval for battery voltage in seconds. Read/Write
Register 12(0x0C) - Report interval for battery charge curent in seconds. Read/Write
Register 13(0x0D) - Report interval for battery temperature in seconds. Read/Write

Set the time in seconds between which measurement events are sent for each type. Set to zero to disable.

High levels
Register 14(0x0E) - MSB of high current reading. Read/wite.
Register 15(0x0F) - LSB of high current reading. Read/wite.
Register 16(0x10) - MSB of high voltage reading. Read/wite.
Register 17(0x11) - LSB of high voltage reading. Read/wite.
Register 18(0x12) - MSB of high temperature reading. Read/wite.
Register 19(0x13) - LSB of high temperature reading. Read/wite.
Low levels
Register 20(0x14) - MSB of low current reading. Read/wite.
Register 21(0x15) - LSB of low current reading. Read/wite.
Register 22(0x16) - MSB of low voltage reading. Read/wite.
Register 23(0x17) - LSB of low voltage reading. Read/wite.
Register 24(0x18) - MSB of low temperature reading. Read/wite.
Register 25(0x19) - LSB of low temperature reading. Read/wite.
Hysteresis for high/low alarm
Register 26(0x1A) - MSB of hystersis. Read/wite.
Register 27(0x1B) - LSB of hysteresis. Read/wite.
Hysteresis
Register 28(0x1C) - MSB of hystersis. Read/wite.
Register 29(0x1D) - hystersis. Read/wite.
Register 30(0x1E) - hystersis. Read/wite.
Register 31(0x1F) - LSB of hysteresis. Read/wite.
Registers for Decision Matrix
Register 112(0x70) - 127(0x7f) - Decision Matrix ( two elements)

Decision Matrix

The module have a decision matrix with seven entries.

Available Actions

0(0x00) - NOOP, No action.
1(0x01) - Send measurements. Can be used for sync requests. Argument byte tells which one.
          Bit 0 - Charge current.
          Bit 1 - Battery voltage.
          Bit 2 - Battery tempperature.
2(0x02) - Enable charger.
3(0x03) - Disable charger.

Alarm register

  • bit 0 - low alarm.
  • bit 1 - high alarm.

Events

Charge current Event

The charge current is reported as a normalized integer value by this event.

Current is always reported in Amphere.

Class: 0x00A
Type: 0x05
Format:

See below.

Package:
Byte Description
Byte 0 format
Byte 1 0x02 (exponent)
Byte 2 MSB of normalized integer
Byte 3 LSB of normalized integer

format is the measurement data coding format described in the VSCP specification

Bits Description
5,6,7 0x08 - Normalized integer format.
3,4 0x00 – Amphere.
0,1,2 0x00

Battery Voltage Event

The battery voltage is reported as a normalized integer value by this event.

Voltage is always reported in Volts.

Class: 0x00A
Type: 0x10
Format:

See below.

Package:
Byte Description
Byte 0 format
Byte 1 0x02 (exponent)
Byte 2 MSB of normalized integer
Byte 3 LSB of normalized integer

format is the measurement data coding format described in the VSCP specification

Bits Description
5,6,7 0x08 - Normalized integer format.
3,4 0x00 – Volt.
0,1,2 0x00

Battery Temperature Event

canid = 0x80a06xx where xx is node nickname id.

The temperature is reported as a normalized integer value by this event.

Temperature is always reported in degrees Celsius.

Class: 0x00A
Type: 0x06
Format:

See below.

Package:
Byte Description
Byte 0 format
Byte 1 0x02 (exponent)
Byte 2 MSB of normalized integer
Byte 3 LSB of normalized integer

format is the measurement data coding format described in the VSCP specification

Bits Description
5,6,7 0x08 - Normalized integer format.
3,4 0x01 – Celsius.
0,1,2 0x00

Alarm

If enabled the event is sent when a channel is over or under the alarm level.

Class: 0x001 
Type: 0x02

Package:

Byte 0: type
Byte 1: Zone
Byte 2: Subzone

Type = 0 for Charge current, Type = 1 for battery voltage, Type = 2 for battery temperature.

Contact Information

This is open hardware / software that is made by Ake Hedman, eurosource, Sweden. It is free to use for commecial or non commercial use.

Email: vscp@eurosource.se

Company:

eurosource
Brattbergavagen 17
820 50 LOS 
SWEDEN

info@eurosource.se
http://www.eurosource.se

Phone: +46 657 413430
Fax: +46 657 413503

Modules and components are sold at http://www.eurosource.se/catalog

More info about the VSCP and CANAL protocol can be found at http://www.vscp.org

 
modules/chicago.txt · Last modified: 2014/03/27 07:33 (external edit)
[unknown button type]
 
Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki