> On Mon, 26 May 2003 18:43:43 +0200, Stef <.....s.mientkiKILLspam.....MAILBOX.KUN.NL>
> wrote:
>
>> Anyone build the "reflex charging" algorithm in a PIC ?
>
>
> Me, with a 16F876. It is still on the protoboard, hope this week can
> design
> the PCB :-)
And Diego, will you share the code with us ??
cheers,
Stef
-It is written in C for the HT-PIC compiler (I use float math for the A/D
filtering).
-It is pretty simple, just some delays for the pulse widths, no PWM nor
interrupts at all. The only thing it was difficult for me was measuring the
batt. voltage and calculating the derivate, after each charge-rest-reflex-
rest pulse it is not very stable. But at last I do it. Very good for the
NiCD, but the NiMH gets a bit hot at the end (40~50:C). I have to said I
charge both chemistries from 1 to 6 cells and works ok. (A temp sensor
could be added).
-Has a lot of code commented out because it is not the final version.
-The comments are in spanish :-)
-Need some more code for the trickle and topping charge.
-What if I build some chargers and buy them ?
... so, still interested ?
On the other hand, the code and electronics could be improved if given to
the list :-)
> On Mon, 26 May 2003 20:42:50 +0200, Stef <RemoveMEs.mientkiTakeThisOuTMAILBOX.KUN.NL>
> wrote:
>
>> And Diego, will you share the code with us ??
>
>
> Why not, but if I tell you ...
>
> -It is written in C for the HT-PIC compiler (I use float math for the A/D
> filtering).
well it's better to have something ...
and many years ago I used C too.
>
> -It is pretty simple, just some delays for the pulse widths, no PWM nor
> interrupts at all. The only thing it was difficult for me was
> measuring the
> batt. voltage and calculating the derivate, after each
> charge-rest-reflex-
> rest pulse it is not very stable.
Are you doing multiple AD readings, in 1 rest period, to get a more
stable result ?
> But at last I do it. Very good for the
> NiCD, but the NiMH gets a bit hot at the end (40~50:C). I have to said I
> charge both chemistries from 1 to 6 cells and works ok. (A temp sensor
> could be added).
> -Has a lot of code commented out because it is not the final version.
Doesn't matter I can't read Spanish ;-)
>
> -The comments are in spanish :-)
> -Need some more code for the trickle and topping charge.
> -What if I build some chargers and buy them ?
Well I already have one (with an orginal ICS1702, more then 10 years old),
but as I'm an environement freak, ...
I'ld love to see more (hobbyists) using this kind of charger,
It's great !!
and very good for the environement !!
Probably the battery companies don't like this kind of charger ;-)
>
>
> ... so, still interested ?
Yes !!
>
>
> On the other hand, the code and electronics could be improved if given to
> the list :-)
Indeed, I'ld like to see the 12F675 used, smaller and cheaper ;-)