Friday, December 12, 2014
Battery Charger for 12v

Friday, October 31, 2014
By Using transistror Create a 12v battery charger
As the battery voltage rises, the voltage divider made up of the 1k8 and 39k creates a 0.65v between base and emitter of the BC557 and it starts to turn on at approx 14v.
The input voltage required by this charger electronic circuit project must be around 15 volts DC.
Wednesday, October 15, 2014
Build a LT3582 12 DC 5V to 12V DC Converter
Monday, October 13, 2014
2N3055 LM317T power supply regulator 1 2V 20V 3V 6V 9V 12V 3Amp
This is Circuit Power supply regulator Current 3Amp Voltage output : 1.2V-20V and 3V,6V,9V,12V.
Use IC LM317T and 2N3055, Easy to Bulid and normal part low cost too. detail see in circuit image.
Sunday, October 5, 2014
Sealed Lead Acid 12V Battery Charger
There are a cardinal of credibility we allegation to awning about the affliction and use of Sealed Lead Acid batteries.
Firstly, these batteries allegation be charged, absolved and stored actual carefully.
We commonly anticipate batteries can be stored for months (if not years) and they will be accessible for actual use.
This is not the case with SLA batteries.
If you abundance a NEW, abounding answerable SLA array for 6 months or more, you will acquisition it may be absolutely discharged.
You may additionally acquisition you cannot allegation it!! It may be worthless.
Thats how aerial SLA batteries are.
They allegation be answerable on a approved base to anticipate them absolution to a actual low voltage level.
If the terminal voltage of a SLA array is accustomed to go beneath 8v, a action alleged SULPHATION starts to awning the apparent of the plates and prevents the array actuality re-charged. The centralized attrition of the array increases and it becomes useless. See articles Sealed Lead Acid Array Charger on Amazon
Parts List of SLA Array Charger
2 - 1R8 0.5watt resistors
1 - 150R 0.25 watt resistor
1 - 180R
1 - 560R
1 - 1k5
3 - 2k2
1 - 3k3
1 - 4k7
1 - 8k2
1 - 1k mini trim pot
1 - 1n ceramic
2 - 47u 25v electrolytics
1 - 5mm red LED
4 - 1N4148 arresting diodes
1 - 10v 0.25watt zener
1 - BC 547 transistor
2 - BC557 transistors
1 - MCR100-6 SCR
1 - 1m red lead
1 - 1m atramentous lead
2 - alligator clips
1 - 2m actual accomplished solder
1 - SLA Array Charger PCB
Also required:
1 - 12v AC agent (500mA AC)
1 - ability lead
1 - case
Thursday, September 18, 2014
12V Battery Charger
This circuit is a high-performance charger for gelled-electrolyte lead-acid batteries. This charger quickly recharges the battery and shuts off at full charge. Initially, charging current is limited to 2 A. As the battery voltage rises, current to the battery decreases, and when the current has decreased to 150 mA, the charger switches to a lower float voltage, which prevents overcharge.
Circuit diagram :
12V Battery Charger Circuit Diagram
When the start switch is pushed, the output of the charger goes to 14.5 V. As the battery approaches full charge, the charging current decreases and the output voltage is reduced from 14.5 V to about 12.5 V, terminating the charging. Transistor Q 1 then lights the LED as a visual indication of full charge.
Friday, September 12, 2014
Build a 12v to 5v DC high efficiency SMPS buck converter using 34063 IC
The schema for this buck converter is nothing original, basically it is the schema from the 34063 IC datasheet, and all I did was to use an external PFET instead of the external PNP transistor shown in the datasheet. The external PFET allows currents up to a few amps at good efficiency, however I have used hard current limiting at 1.8A for safety and good performance in this prototype.
Energy conversion efficiency is very high due mainly to the choice of external components used with the cheap 34063 SMPS IC.
The prototype was tested in hardware, please excuse the messiness. The layout is far from ideal, I did it this way to allow easy swapping of parts and just to be lazy, to save the effort of making a PCB. However it still works pretty good, and a proper PCB would improve performance a little bit.
PFET choice.
I did not have a lot of PFETs in my parts box so I used a 100v 8A rated part. This was an SMD PFET so I just tacked it on the bottom of the PCB. It is efficient enough to not need a heatsink even at 5v 1.5A continuous output. The PFET I used was not ideal, its "Rds on" value is about 0.3v at 1.5A (0.2 ohms) which is too high and costs efficiency. Going to a 50v >20A PFET with an RDS <0.1 ohms or <0.05 ohms would give a noticable increase in efficiency.
Schottky diode choice.
I used a TO-220 60v dual 10A schottky diode pack (total 20A). This is a no-brainer, although this is overkill these diodes are only $1-$2 and can also be pulled for free from any old PC PSU and most commercial SMPS supplies. Besides the safety of being very large and over-rated, the main benefit is these diodes have a very low forward voltage drop of <0.3v at 1.5A or 2A and this equates to reduced losses (more efficiency).
Inductor choice.
This is just a commercial "3 amp" 24mm total diameter inductor/choke available from hobby suppliers like Altronics Australia. I think it is a 220uH or 330uH value, but sorry I lost the paperwork. A few other powdered-iron toroid inductors were tried and it is not that critical. It has 51 turns of 1.0mm diameter wire if that helps. The inductor measured 0.32mV at exactly 1A DC, so DC resitance was measured at 32 milliohms.
Sorry for the hand-drawn schematic!
34063 SMPS IC.
The 34063 IC does all the clever stuff, mainly it regulates voltage at 1.25v on VFB pin5. Because of the 6k8:2k2 voltage divider on the output, this gives very close to 5v, I actually saw about 5.01v-4.99v Vout in testing, very nice.
Max current limit resistor.
The resistor between Vin and pin7 sets the max inductor current limiting, this was set by me to roughly 0.18 ohms to give 1.8A current limiting. (Imax = 0.32v / R = 0.32v/0.18 = 1.78A). The current limit is best at slightly above the max required current. This gives better safety and also helps stabilise oscillation.
Caps etc.
CT used the datasheet value of 1nF. That gave oscillator value of 26.2kHz measured on pin3 (with no load), however the whole schema usually operated at 29-33kHz because of the way the regulation works in the IC. The filter caps; 680uF on the input and 1000uF on the output were chosen to be "good enough". Output ripple was approx 25-30mV which is fine.
Measured efficiency!
Vin Iin Pin Vout Iout Pout Eff %
12.5v 670mA 8.375W 4.99 1.53A 7.63W 91.1%
12.5v 430mA 5.375W 5.00 1.00A 5.00W 93.0%
12.5v 210mA 2.625W 5.00 0.50A 2.50W 95.2%
Calculating efficiency (at 1.5A output).
The static power losses were seen on the scope and can be calculated;
PFET Rds on period loss = 0.3v / 12.5v = 2.4% loss
DIODE Vf off period loss = 0.28v * 1.53A * 0.56 offduty = 240mW = 2.8% loss
Inductor resistance loss = 1.53A squared * 0.032 ohms = 75mW = 0.9% loss
560 ohm resistor loss = 10.5v squared / 560 * 44% onduty = 87mW = 1.0% loss
Total static losses at 1.53A output = 7.1%
Calculated other (switching) losses = 100% - 91.1% - 7.1% = 1.8%
Scope current L1 inductor (on period) at 5v 1.5 amps.
Above is the on period current through the PFET and L1 inductor. As it is a PFET this is inverted so the pointy bit at the bottom is the max current, the top is zero current. At 1.5A and 32kHz the SMPS is very stable, as switching period is reduced becuase the peaks just hit the 0.32v max current limit set by my choice of 0.18 ohm resistor. (However voltage regulation is still the main regulation).
Duty cycle is about 44%, and current ripple in the inductor is nice and low with inductor current averaging 1.5A (ripple of 0.56A, between 1.22A and 1.78A). The noise spikes I suspect are from from my messy PCB with power and load wires everywhere and scope leads laying around next to the PCB and wiring.
Scope current L1 inductor at 5v 1.0 amps.
Same thing but at 1A. Frequency dropped a bit, closer to the 34063 oscillator freq of 26.2kHz, but still (just) triggering on the max current peaks. Current ripple now larger from approx 0.5A to 1.6A (average output 1A). Timing is still 20uS/hdiv but says 40uS on the Lcd as I had zoomed my h-axis (sorry).
Scope current L1 inductor at 5v 0.5 amps.
Here the L1 current has gone "discontinuous" meaning the L1 current is reduced to zero during the end of the off period, and has to start from 0 amps again during every on period. Typical of the regulation system used in a 34063 IC, the timing will "stutter" as needed to maintain Vout regulation at a steady 5.0v. This does not matter and the 34063 can be quite energy efficiency when "stuttering" in discontinuous mode like this. At less than 0.5 amps the stuttering can become very erratic looking, but this is all normal.
PFET drain/source voltage (main switching waveform).
(The PFET on period is the top of the waveform). Above you can see the PFET turnon (through a 10 ohm resistor) is nice and fast, It was about 0.07uS turnon time. However the turnoff is poor, because the turnoff is from a 560 ohm resistor and is slow at 0.8uS. This costs significant efficiency.
Using an external digital driver (like a 12v CMOS digital buffer/inverter chip?) to drive the PFET would improve turnoff time a lot and increase efficiency, but this was a test of using the simple datasheet example schema with an external PFET (instead of the suggested external PNP) and as proof of concept it still works well enough.
5v DC output showing voltage ripple.
Because it is a switching regulator there will always be some ripple on the DC output voltage. This is shown when running at 5v 1.5A and the ripple is typical and acceptable enough at 30-35mV.
Improving efficiency.
This schema was thrown together very quickly to show how to use a cheap common 34063 IC to get a high efficiency supply from 12v->5v DC at 0-1.5A or so. If you want to invest some effort it can be improved further;
1. My PFET is not a good choice, using a better PFET will give an easy 1% more efficiency, and would be the first choice.
2. The inductor is just an ordinary "off the shelf" type. A properly selected inductor or a good core hand wound for best performance could allow lower operating frequency and less current ripple, and maybe less DC ohms, and maybe pick up another 0.5% efficiency or so. (For lower operating freq CT should also be increased to 1.2nF or 1.5nF etc).
3. The PFET turnoff is too slow. Adding a cheap digital buffer IC could pick up 0.8-1.2% efficiency there from reduced switching losses and reduced loss from the 560 ohm resistor.
4. My PCB has very thin long tracks. Using a well designed PCB with thick short tracks for the main current paths might save 30 milliohms and give maybe 0.5% or more efficiency.
Bill of materials.
* 34063 SMPS 8pin IC (Fairchild/ON Semi/AIS etc, ie MC34063A or NCV34063A).
* 8pin IC socket (optional).
* PFET, rated more than double the input voltage and a few times the desired output current, preferably well under 0.1 ohm Rds on.
* Inductor L1 is a powdered iron toroid of 20-30 mm diameter, with thick wire >1.0mm preferred, 3A rated for a 1.5A capable supply. Value in the 150-470uH range, you may need to try a couple of different types. Ideally current ripple will be <50% at full output current.
* Schottky TO-220 dual 10A or dual 16A diode pack. Choose for low forward voltage, most brands are very good, parts can be found in any old PC PSU.
* 470-1000uF 35v electro cap.
* 1000uF 16-25v electro cap (25v will be larger and generally have a longer life).
* CT 1nF 25-50v ceramic or greencap.
* some 1/4W resistors; 560 ohm, 10 ohm, 6k8, 2k2.
* If you need a test load then a large 10W 4.7 ohm resistor will do.
Modifying the schema for 12v car operation.
This schema was designed for a car battery, generally 13.8v to 12.0v when running. If used in a car the schema needs more protection as the Vin might be >15v at times. I would use a 100 ohm resistor instead of the 10 ohm resistor. Also a 13v zener diode across the 560 ohm resistor will add safety for the PFET. A 12v line filter might also be advised, they can be bought from auto stores.
Modifying the schema for 24v operation.
Use 560 ohms instead of 10 ohms, so it now has two 560 ohm resistors. And again a 13v zener from PFET gate to source pin. With a 24v Vin you should use a higher inductor value and larger inductor core, 470uH and up are recommended.
[b]Modifying the schema for high output currents.[b]
The schema is meant for 5v out, 0-1.8A. It will do ok up to 2.5A just by changing the current limit resistor (at 2.5A the resitor should be 0.12 ohms or so).
Currents up to 5 amps or more should be ok, but use a larger inductor core size rated for more than the max amps you need, and again a larger inductor value helps >470uH is good. The diode pack will be fine, but the PFET should be rated for a few times more current than your max current. If needing 5A output I would use a 40-50v 60A TO-220 PFET which are a common size.
Changing output voltage.
Just change the 6k8 resistor, to change the output voltage to something other than 5.0v. Like most SMPS diagram it works best with roughly 2:1 Vin:Vout ratio, if using different ratios then again increasing the inductor value >470uH will help.
Tuesday, September 9, 2014
Switching inverter for 12v systems circuit diagram
Friday, September 5, 2014
Basic 12V Output To 5V Buck Regulator Wiring diagram Schematic
Sunday, August 31, 2014
Build a Simple 12v to 9v converter
This little schema uses a LM317 variable voltage regulator to adjust the input voltage down to +9 volt, or whatever else you need. Just a solid basic schema without bells and whistles.
You can do with a 10uF capacitor for C1 if your battery is close to this schema. If it is located more than 3 feet increase the value to 100uF or above. Without a coolrib it can easily handle 500mA. If you need more, or the maximum current (1.5A), then a good coolrib is required.
Trimmer potent meter R3 will vary the output voltage. Ceramic capacitor C2 improves frequency/transient response. Can be omitted if not needed for your application. If you want extra protection in case the adjust pin is short schemaed, add an extra 1N4001 diode over the input and the output. Cathode to input. But normally only used if the output is way over 25V.
R1 and R3 determine the output voltage. You can adapt them for your own needs and applications.
Use the following formula: (((R1+R3)/R2)+1)*1.25=V-out which comes to: (((560+1000)/220)+1)*1.25 = 10.11V (assuming V-in is 12V).
Or vice-versa: ((V-out/1.25)-1)*R2=R1+R3 which comes to: ((9/1.25)-1)*220=1364. For 1364, you can make R1=560 and R3=1K, which will give plenty of play.

Saturday, August 23, 2014
12V to 20V DC Converter Circuit
![]() |
| Click to View Larger |
- R1, R2 = 10
- R3, R4, R6, R7 = 1k
- R5 = 22k
- R8 = 4.7k
- R9 = 100k
- C1, C2 = 10000uF
- C3, C6 = 47 u
- C4 = 10U
- C5, C7, C14 = 100n
- C8, C9 = 4700u
- C12 = 1N
- C13 = 2.2u
- U1 = TL494
- U2 = TPS2811P
- Q1, Q2 = FDB045AN
- D1-D4 = 1N5822
- D5 = 1N4148
- FU1 = 10A
- L1 = 10U
- L2 = ferrite BEAD
- RV1 = 2.2k
- RV2 = 24k
- T1 = TRAN-3P3S
Wednesday, August 20, 2014
12V Touch Switch Exciter
12V Touch Switch Exciter Circuit Diagram

