Tri-M Systems HE104 BattTrickle ‘debug trickle gosub ChkPwr let D1 =, NoPower ‘debug nopwr pause

Page 31

23 June 2005

HE104MAN-V8 Manual

Let Bat1_chrg = 0 Main_Batt1:

Low PSU_OnOff

If Bat1_Chrg = 1 then Batt_Trickle Goto Bat_Chrg

Batt_Trickle: ‘debug “trickle” gosub Chk_Pwr let D1 = 0

let D0 =0 gosub Convert let Batt_V =AD

PWM Chrg_Limit, Trickle_LVL, 1000 Low Chrg_Limit

Goto Main_Batt1

Chk_Pwr:

Let D1 = 1

Let D0 = 0 Gosub Convert ‘debug AD, Batt_V

if AD < Batt_V then No_ Power return

No_Power: ‘debug “no_pwr” pause 50

let Bat1_Chrg = 0 PWM Chrg_Limit, 0.50 Goto Main_Batt1

Battery Charger Program

Batt_Chrg:

Let Chrg_Time = 0

Chrg_Lp: Gosub Chk_Pwr For TCnt= 0 to 1

PWM Chrg_Limit,A01_LVL,1000

‘Just making sure PSU stays on! ‘is battery already charged?

‘Get battery charging voltage

‘Turn on Trickle current ‘Trickle to minimum current

‘Get battery charging voltage

‘Indicate battery has been discharged ‘turn off charge current

‘Initialize charge timer (counts in sec.)

‘first apply charge current then ‘check for charge termination

Tri-M Engineering

Tel:

800.665.5600, 604.945.9565

30

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 31
Contents HE104 TRI-MTechnical Manual TRI-M Engineering PC/104 Vehicle Power SupplyHE104MAN-V8 Manual Preface General Description IntroductionHE104 Dimensions 1000mil=1in FeaturesModel HE104 SpecificationsIntroduction Configuration and InstallationHE104 Connectors Power ConsiderationsOutput Power Connector Bus Termination Optional Installation Onto PC104 ModulesJumper Selection 2 +5VDC Low Q/ Noise Q=quiescent PC/104 Bus Interrupts Optional Connector CN5 Pinout Connector CN6 PinoutInterrupt IRQ Selection Power Management Controller PM104 optionalPM104 Pin Number and I/O Functions Low Input Alarm10 HE104 Efficiency and Heat Dissipation Calculation Switching Regulator, +5VDC Input power protectionTheory of Operation Charge Pumps Switching regulator, +12VDCVp -p L1 ∙ frequency Filter CapacitorsRC1 RC2 RC3 RC4 RC5 ExampleAppendix 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 Description AppendixConnections Programming Cable Sample Battery Charging Program Listing BattChrgTerm ‘Get battery charging voltageInit ‘Return to programBattChrg NoPower ‘debug nopwr pauseBattTrickle ‘debug trickle gosub ChkPwr let D1 = ChkPwrDistributed By