Lead-acid battery activator 0-30V

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Lead-acid battery activator 0-30V

Post by Jan Lichtenbelt »

By means of a PIC16F1847 microchip and Flowcode 7 a pulse of about 100A during 100usec prevents sulphatation of the Lead-acid batteries. The repetition rate is 30 seconds.
A second use of this setup is to measure the quality of each battery in the range from 0-30Volt. The idea is simple, measure the loss on terminal voltage and the current during the current pulse and the internal resistance Ri can be calculated by:
Ri = (V0-Vt)/I, with Vo the terminal voltage without shunt and Vt with shunt (Rshunt=50 mOhm). Knowing the shunt resistance and measure the voltage difference over this shunt will give the current I:
I= (Vhigh-Vlow)/Rshunt and thus Ri= Rshunt x (V0-Vt)/(Vhigh-Vlow)

This has been published these days in Elektor (March/April number 2017, see below [1] and [2].

During the pulse, 3 voltages should be measured, Vt, Vhigh and Vlow. The Flowcode 7 standard macros for these 3 ADC's were to long. A remarkable reducing of time was possible to write the 3 ADC measurements in C. Please find a short, special Flowcode article attached here. The Flowcode attached is only the part of the ADC procedures.
LCD showing Vo, Vt, I, Ri and countdown counter
LCD showing Vo, Vt, I, Ri and countdown counter
P1070116_t2.jpg (56.28 KiB) Viewed 3391 times
With kind regards

Jan Lichtenbelt.
Lead-Acid activator ADC part.fcfx
(17.72 KiB) Downloaded 415 times

1. Login or sell:
https://www.elektormagazine.com/magazine/elektor-201703
https://www.elektormagazine.com/magazin ... 703/40237/
2. Public available short version:
https://www.elektormagazine.nl/labs/act ... ors-160064
Last edited by Jan Lichtenbelt on Fri Feb 17, 2017 12:24 pm, edited 3 times in total.

Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times

Re: Lead-acid battery activator 0-30V

Post by Steve001 »

interesting project jan

Steve
Success always occurs in private and failure in full view.

Post Reply