18/09/2003
HESC-UPS Manual
Tri-M Engineering
Tel:
800.665.5600, 604.945.9565
1407 Kebet Way, Unit 100
Fax:
604.945.95
Port Coquitlam, BC, V3C 6L3
E-mail:
Canada
Web
site:
www.tri-m.com
5
Section 1 : HESC Overview
The High Efficiency & Smart Charging (HESC) product line includes the HESC-SER and HESC104. Command, control,
monitoring and datalogging via the SMBus are the same for both the HESC-SER and HESC104. However, the HESC-
SER also has an RS232 serial port and the HESC104 has a PC/104 bus interface. The serial port and PC/104 bus
interface are in most instances connected only to the Host CPU, however other devices may also make use of these
ports. For example, it is possible that a battery pack could be built with an RS232 serial port and it could be connected to
the HESC-SER serial port.
Throughout this manual, use of the term HESC refers to any of the HESC products, while use of the name HESC-SER or
HESC104 refers strictly to a particular product. From the command function point of view, there are few differences
between the HESC-SER and the HESC104 even though they have different Host interfaces (the SMBus is usually thought
of as a battery interface, but it may also interface with a Host CPU or a microcontroller). Whenever there are any
differences in the commands functions for the different HESC models, they will be noted in the command function
description.
The HESC can be set-up to provide up to four stages of charging for standard battery packs. Changing from one cycle to
the next is accomplished by setting the charge termination flags and values. When one of the charge termination
methods is satisfied, the next charging stage values are retrieved from the EEprom. If the current cycle is the last cycle
enabled, then charging will be terminated. Additionally, the Host can directly command the HESC to change charging
cycles.
Section 2 : Start-up and Shut-down settings, delays, and functions
The HESC-UPS firmware power management system works well with advanced operating systems such as Windows,
and Linux. It is imperative with the advanced operating systems that an orderly shutdown of the files be down of the
application program and operating system. Failure to allow for orderly shutdown can cause data loss, intermittent
crashes, or a complete unrecoverable system failure.
The HESC-UPS firmware has three internal modes that control the start up and shut down of the HESC outputs.
1. Debounce
HESC-UPS firmware "debounces" the main power and the IGN input start up and shut down requests by requiring the
cause of the request to remain valid for the debounce interval. There is separate shut down and start up debounce
definitions for both main power and the IGN input. The debounce time can be set from zero to 65535 seconds. The
HESC-UPS provide this debouncing to prevent nuisance shut downs or start-ups.
2. Start-Up
The HESC-UPS firmware sets the Start-Up request flag, and begins the Start-Up mode after receiving a start up
request. (The Start-Up request flag can be read with PowerSupplyStatusCmd.) The Start-Up mode is initiated by
loading the Start-Up timer with the Start-Up interval assigned to the Start-Up request cause. If the HESC is already in
Start-Up mode when a new Start-Up request is received, the Start-Up timer will be loaded with the new Start-Up
interval if it is less than the existing Start-Up timer count. When the Start-Up timer expires, the HESC outputs are
turned on. During Start-Up mode, the CPU LED will blink rapidly (2 Hz). If a Shut-Down request is received while a
Start-Up request is active, the current active Start-Up request will be cancelled.
Start-Up requests are generated by:
o
When the HESC has main power applied.
o
When the IGN input of the HESC-SER is taken to the "On" state. The polarity of the IGN is programmable,
so the state of the input (high or low) will depend on the polarity setting.
o
When the SD input of the HESC104 is taken to the "On" state. The polarity of the SD is programmable, so
the state of the input (high or low) will depend on the polarity setting.
o
When the Pushbutton Shutdown (SD) input is energized, and the HESC-SER is off or is in the shutdown
mode.
o
When the Pushbutton Shutdown (PS) input is pulled to Common, and the HESC104 is off or is in the
shutdown mode.