Application note for a linear optocoupler circuit is http://www.clare.com/home/pdfs.nsf/www/AN-107.pdf/$file/AN-107.pdf. The problem with using this is that you have to derive a low voltage supply from the pack voltage to run the op amp on the battery side.
NiHaoMike, so the diac discharges the cap through the LED of the opto when the voltage across the cap reaches the diac breakdown voltage ~30vdc? The time taken to charge the cap depends on the battery voltage. Therefore the frequency of the pulses through the opto is relative to the battery voltage.
That is certainly a simple circuit. Do you have a working circuit we can borrow?
|