On a sunny day (Sun, 11 Jan 2009 10:54:15 -0800 (PST)) it happened " snipped-for-privacy@sushi.com" wrote in :
Sure PIC has a watchdog, but I still have to see the first PIC in a loop.
It is actually quite accurate, there is an I calibration pot, I have run it through the current range, comparing the readout with a multimeter. You do not want .001 percent, 1 percent is good enough for this sort of thing. This topic was discussed here some time ago (last year?), and Rds on versus temp and versus I drain is rather constant.
There are fuses in both battery leads, and a thermal fuse as second protection in the charger. Plus current limit, plus voltage regulation.
If it is short, then the thermal fuse will go. If it is open then no current will flow.
I use a slightly lower charge voltage, no problem as I can normally charge for 24 hours. The manufacturer of these gel batteries recommend 14.5 to 14.9 V with a maximum of 24 hours.
I would use a series PNP on a heatsink. You may run into trouble with that when the sun is on the car for a long time. Have you considered fuel cells?
There are 2 circuits, the charge circuit, and the low dropout load regulator. There should always be a current limit. The nice thing about PICs, with all those analog inputs, is that they can monitor everything, and then switch off based on time. In current limit or foldback for 2 seconds? Power down.
I like to refer as much as possible to software, it is easier to change. The fuse is the last resort if all transistors short and nothing works. Polyfuse is only for low power stuff I think?
250 Ah is a lot. My transceiver uses about 20 A at max power, 5 to 6 A at low power, that would give you more then 10 hours transmit time at max power. It is a Ranger RCI-2970DX:Here is an ASCII diagram of a simple low drop out linear regulator I published here some time ago:
PNP power
+10 to + 35 V ---- a diode k ------------------------e c---------------- + 8.3 | | b T1 | | === | | | | 10u --- | | | R3 5k9 tant. | | | | | /// | about +2.4 c c | LM317L-------------- b b----| | | | e e | | R1 150 | | T2 | T3 | | | | |_______| R4 2k4 |---- | | | | === 10u R2 /// R2 150 --- tant. | 150 | | /// /// /// 2 x NPNFor more current you need some extra transistor driving the base of T1. R2 set the current limit, set by the beta of T1 x I R2.