1. Why not using a digital POT?
2. Also, in the schema above, there should be a resistor parallel to C1 cap.
--------------------------------
1. Why not using a digital POT?
2. Also, in the schema above, there should be a resistor parallel to C1 cap.
--------------------------------
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Hi Sayzer,
To me, HPWM looks simple. But, as you say, why not another way?
Never used a Digital pot before. What "resolution" (roughtly voltage step) will I get?
Any suggestion of values I should use in this case and what the schema would then look like?
If I stick to the HPWM, what value should I use for the resistor to be put parallel to the cap?
Thank you in advance
Roger
I think that the PIC is in danger by that connection. If your supply is 12V and the output around 2, the rest 10 volts should be between regulators ground pin and ground. So the output of the PIC is at high voltage point through the resistor.
What exactly are the specs? What do you want to produce at the output?
My suggestion could be something like this:
1. PIC HPWM to a filter.
2. Filter to an Opamp for DC voltage amplifying.
3. Power output Transistor to give the appropriate current to the load.
You can produce a 0-12 output that way.
If you want controlled Current source then the Pass transistor could be at the feed back loop of the opamp. I'll try to scetch and scan if needed.
Ioannis
Hi Ioannis,
I am making a lead-batteries charger.
In my opinion, it is not necessary to control the full voltage range of the batteries that need to be charged.
Important is to control the charging voltage (2,35V/element), the floating voltage (2,26V/element) and, of course, the timing (n hours for charging -depending on battery capacity- and then go to "float" or "trickle" mode).
So, if you have i.e. a 12V lead-battery (= 6 elements), the charging voltage will be 6x2,35V=14,1V and the floating voltage will be 6x2,26V=13,56V.
Roughtly, the voltage range to control is quite narrow: less than 1 volt. Thus. this should avoid the use of an OP-Amp. The current is limited by the transformer's capacity.
So this is what I would like to achieve now. It could look like this:
<img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=1806&stc=1&d=118293647 1">
Roger
On the schematic you have to power with more that 15Volts. 2950-5 needs at least 0.45 volts at the input above from 5V. If your battery is discharged and request more current, the transformer might drop the voltage bellow 15V.
The circuit is quite economical but I am afraid that is quite a compromise too.
I have attached my idea in a hand schetch (sorry, no CAD here!).
Ioannis
CAD is not necessary - your drawing is well done
You're right, the Zener is going to be an 8,7V since I don't have another under my hand...
Maybe I'll go for your solution.
Have to make some trials.
Thanks a lot.
Roger
Bookmarks