Tri-M Systems HE104 technical manual ‘Return to program, Init

Page 30

23 June 2005

HE104MAN-V8 Manual

Let DIOp =D0

‘next bit of command

Pulsout CLK.2

‘Activate the LTC1594

Low CS1

‘Get ready for input from LTC 1594

Input DIO

 

Pulsout CLK.2

‘Dummy statement for delay

Input DIO

‘Sampling requires two clocks

Pulsout CLK.2

 

Let AD = 0

‘Clear old ADC result.

For Adbits = 1 to 13

‘Get null bit + 12 data bits.

Pulsout CLK.2

‘Clock next data bit in.

Let AD = AD*2 +DIOp

‘Shift AD left, add new data bit.

Next Adbits

‘Get next data bit.

High CS1

‘Turn off the ADC

Return

‘Return to program.

‘D1 = 1, D0 = 0 channel 2 input, monitors input voltage of battery regulator ‘D1 = 1, D0 =1 channel 3 input, monitors battery charging current

‘Note: channel 0 is usually jumpered to CN3 term2 for monitoring battery voltage

‘Note: channel 2 tracks main power input when greater than battery voltage

‘Note: channel 2 approx. 0.6V less than battery voltage when main input less than battery voltage.

SYMBOL AD = w1 SYMBOL Chrg Time = w2 SYMBOL Batt_Peak = w3 SYMBOL TCnt =b8 SYMBOL Batt_V = w5 SYMBOL sglDif = 1 SYMBOL msbf = 1 SYMBOL AO1_LVL = 5 SYMBOL BattV_Max = 1100 SYMBOL Chrg_Time_Max =10800

SYMBOL Neg_DeltaV = 8

SYMBOL Trickle_LVL = 0 SYMBOL BattV_Min = 740

Main Loop

Init:

12-bit ADC conversion result

16-bit timer

Peak voltage detected

Single-ended, two-channel mode. Output 0s after data transfer is complete. Maximum current level (50 = 1A 75 = 1.5A) Maximum battery pack charge voltage Maximum battery charging time (10,800 = 3hr.)

AD convertor points for –deltaV (74pt/V IE 0.2V=18pts).

Trickle Charge Level (12 =.25A) See below: Minimum battery voltage (10V)

Low PSU_OnOff

‘Turn PSU on

 

 

 

 

 

 

Tri-M Engineering

 

Tel:

800.665.5600, 604.945.9565

29

1407 Kebet Way, Unit 100

 

Fax:

604.945.9566

 

Port Coquitlam, BC V3C 6L3

E-mail:

info@tri-m.com

 

Canada

 

Web site:

www.tri-m.com

 

Image 30
Contents HE104 TRI-MTechnical Manual PC/104 Vehicle Power Supply TRI-M EngineeringHE104MAN-V8 Manual Preface Introduction General DescriptionFeatures HE104 Dimensions 1000mil=1inSpecifications Model HE104Configuration and Installation IntroductionPower Considerations HE104 ConnectorsOutput Power Connector Installation Onto PC104 Modules Bus Termination OptionalJumper Selection 2 +5VDC Low Q/ Noise Q=quiescent Connector CN5 Pinout Connector CN6 Pinout PC/104 Bus Interrupts OptionalPower Management Controller PM104 optional Interrupt IRQ SelectionLow Input Alarm PM104 Pin Number and I/O Functions10 HE104 Efficiency and Heat Dissipation Calculation Input power protection Switching Regulator, +5VDCTheory of Operation Switching regulator, +12VDC Charge PumpsFilter Capacitors Vp -p L1 ∙ frequencyExample RC1 RC2 RC3 RC4 RC5Appendix 1 HE104, +5V Regulator Block Diagram HE104MAN-V8 Manual Appendix 2 Advantages of Using AC Termination Appendix 3 Installation Hints for the HE104 Power Supply Appendix DescriptionConnections Programming Cable Sample Battery Charging Program Listing ‘Get battery charging voltage BattChrgTerm‘Return to program InitChkPwr NoPower ‘debug nopwr pauseBattTrickle ‘debug trickle gosub ChkPwr let D1 = BattChrgDistributed By