Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronic Content > Electronic Theory


Electronic Theory Basic principles, ideas, concepts, laws, and formulas behind electronics.

Reply
 
Tools
Old 12th August 2008, 11:58 PM   #1
Default LED Switching Regulator

I was bored at work and had an idea so I started playing around in LTSpice and came up with this circuit to power a couple of LEDs from a 12V battery.

I can't believe how simple it is. This is an example of a Schmitt trigger LR oscillator, the only difference is, the current in the inductor is also being used to power some LEDs. It uses a comparator with hysteresis to turn on Q1, causing the current in the inductor to increase, until the voltage across R1 is enough to turn it off, causing the current in the inductor to flow through D3 and the LEDs, until it drops enough to turn the comparator back on again. I'm sure this has been thought of before but I've only seen this type of design in voltage regulators, not current regulators.

You can use any comparator you want, the LM311 will probably do but if you want to drive a MOSFET, you'll want to use a comparator with a push-pull output and a N-channel MOSFET.

This circuit uses a switching frequency of about 160kHz and a huge ripple of 160mA (this is no problem for an LED) and an average current through the LED of 280mA.

This circuit is a simple, cheap and relaiable alternative to using a special LED drive SMPs IC. I haven't built it yet, hence this is why it's in the theory section but it should work very well.
Attached Thumbnails
LED Switching Regulator-led-smps.gif  
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.

Last edited by Hero999; 13th August 2008 at 12:01 AM.
Hero999 is offline  
Old 13th August 2008, 01:25 AM   #2
Default

That is close to what most of them do anyhow.

The piece of crap from Maxim uses a high side current sense and low side NFET to do hysteretic.

The HV9910 uses an NFET and low side drive to implement either constant frequency or constant off time peak current control.

Dan
Ubergeek63 is offline  
Old 13th August 2008, 01:23 PM   #3
Default

Then why bother with a specialised IC when a cheap comparator and transistor will do most of the time?
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.
Hero999 is offline  
Old 14th August 2008, 03:16 AM   #4
Default

Well that depends on what you are trying to do. The HV9910 actually has a lot going for it: it is under $1.25 in single piece qty and has a 450V LDO on chip, linear and PWM dimming inputs, and a multifunction oscillator block.

Now why anyone in their right mind would use a MAX18620 that costs $0.90 in 2500pc reels and are not available any other way.

Dan
Ubergeek63 is offline  
Old 14th August 2008, 12:08 PM   #5
Talking

Quote:
Originally Posted by Hero999 View Post
Then why bother with a specialised IC when a cheap comparator and transistor will do most of the time?
As ubergeek said, depends on what you want to do, what efficiency you need, and what your power supply range is. Of course you did say 'most of the time', which I can agree with.

I'll also agree that SMPS circuits can be very simple..and even simpler if you need to light a couple of white LED's from 1.5v using a switched capacitor circuit...two transistors and a few passives... but efficiency suffers.

Many contain the built in switch with a very low RDS on, improving efficiency, and reducing package size...as well as running at high frequencies, reducing the size of the inductor and therefore reducing the footprint.

A nice 'in between' solution from your simple, but effective switcher, and a specialised chip, is a 8-pin micro, like a PIC. More than enough resources for making a very versatile buck/boost PSU, with goodies like UART/SPI/I2C interface.

Nice circuit though!

Blueteeth
__________________
Inconsistency is the key to flexibility!
Blueteeth is offline  
Old 14th August 2008, 01:55 PM   #6
Default

I forgot one critical detail about the piece of crap from Maxim: The chip blows out if you accidentally short the current sense input to ground!
Ubergeek63 is offline  
Old 14th August 2008, 06:35 PM   #7
Default

As far as efficiency is concerned, if you use a transistor with a high beta, low saturation voltage, a Schottky diode, a low ESR inductor and a low value sense resistor, it shouln't be too hard to get >90% with this simple circuit. I've done a few quick calulations based on the losses in the resistor, transistor and diode and come to a figure of about 94% but it'll probably be slightly worse than this.
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.
Hero999 is offline  
Old 16th August 2008, 07:54 PM   #8
Default

you might actually find it hard to come close to 90%. A common mistake is to assume the diode drop of a schottky is 0.3V, which is already close to 10% of a single white LED drop.

Most schottkys are actually close to 0.5V or more at their rated current. If you are running from a high voltage your duty cycle will be low and the schottky losses will dominate.

If, for instance, you are running a single white from 36V at the rating of the schottky you will have around 0.5V loss 90% of the time, or about a 10% loss due to the diode alone. In this case a synchronous converter can not be beat.

Dan
Ubergeek63 is offline  
Old 17th August 2008, 08:58 AM   #9
Default

Actually, I have considered that. I always try to grossly over rate Schottkys so the voltage loss is really low. My estimate was based on SPICE simulations and was just a rough guess, I didn't do an exact calculations. I jusr looked at the figures spat out by it.

The Schottky I've used in the simulation is rated for 3A and it only passes a maximum of 369mA which is 13.2% of the rated current.

The loss is only 288mV at the peak current draw and 261mV just before the transistor turns on which gives an average of only 275mV; this is <10% of one LED drop and <5% of the total LED drop in this circuit.

The transistor saturation loss is between 83.1mV and 103.2mV giveing an aveage of only 93.15mV.

The duty cycle is 63.5%.

The rise time is 6.7ns.

The fall time is 28.8ns.

The over all period is 6.309µs.

The inductor ESR was just set to 1mΩ which I know is far too low and needs increasing but my guess took account for this. I could do some more accurate calculations but there's no point with SPICE, it's much better to build the circuit.
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.

Last edited by Hero999; 17th August 2008 at 09:07 AM.
Hero999 is offline  
Old 5th September 2008, 10:36 PM   #10
Default

Here's a version made with discrete components, it' isn't as efficient but it's cheaper.
Attached Files
File Type: pdf LED Switched Mode Power Supply.pdf (27.6 KB, 262 views)
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.
Hero999 is offline  
Old 6th September 2008, 05:26 PM   #11
Default Powering other things than LED

Quote:
Originally Posted by Hero999 View Post
Here's a version made with discrete components, it' isn't as efficient but it's cheaper.
Hero999, I'm going to try and build something that will collapse a coil I need in an experiment.

Just Off and On at a frequency does not have to be exact. I just need the coil to give a magnetic field.

Is it possible to use some op isolators with a Triac or something. Using this circuit.

Thanks in Advance. kv
__________________
Truthiness Monkeys : Obedience, Ignorance, Fear.
killivolt is offline  
Old 6th September 2008, 05:50 PM   #12
Default

I don't understand the question or how it relates to this circuit.

What do you mean collapse a coil? A sledgehammer will easily do that.
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.
Hero999 is offline  
Old 6th September 2008, 05:56 PM   #13
Default

Quote:
Originally Posted by Hero999 View Post
I don't understand the question or how it relates to this circuit.

What do you mean collapse a coil? A sledgehammer will easily do that.
Sledgehammers got one it will do I guess.

Thanks. kv

I Like the circuit good job.
__________________
Truthiness Monkeys : Obedience, Ignorance, Fear.

Last edited by killivolt; 6th September 2008 at 05:56 PM.
killivolt is offline  
Old 7th September 2008, 07:21 AM   #14
Default

Hi,

I just googled and came to know that switched mode power supply for LEDs is much efficient than directly hooking them up with powr source and LEDs are much brigher as well. I was looking for switched mode LED driver circuit and saw this thread


I have an LED pannel in an emergency light in which 60 LEDs are connected in parellel, they are driven through a 6 volt 4.5AH battery with one 2ohm 5watt resistor in series. They best operate when 1A current is flowing.

LEDs have forward voltage of 3.4V and current 16ma

If you know any cuircit that could support that number of LEDs and current please tell me, it will be great.


I'm a rookie as far as electronics is concerned, you help will be really appreciated.

Thanks,
Rizwan
RizF1 is offline  
Old 7th September 2008, 10:15 AM   #15
Default

It's possible if you make a couple of modifications, you can either lower the reference voltage or reduce R1. R2 needs reducing to allow enough current to saturate Q1.

Your best option is to use a comparator with a push-pull output and a MOSFET.

If you must go for a BJT then use a good quality one like the ZTX753 or the 2SA1943. It needs to have a low saturation voltage, high beta at 1A and fairly fast Ft >20MHz.
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.
Hero999 is offline  
Reply

Tags
led, regulator, switching

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
Switching regulator for dev board Blueteeth General Electronics Chat 10 5th January 2007 10:31 AM
Two transistor 5V switching regulator William At MyBlueRoom Electronic Projects Design/Ideas/Reviews 5 3rd July 2006 06:01 PM
switching regulator ics manjiri General Electronics Chat 4 30th December 2003 10:52 AM
Switching Regulator Noggin General Electronics Chat 18 23rd October 2003 07:22 PM
Simple Switching voltage regulator need hs_ Electronic Projects Design/Ideas/Reviews 1 18th May 2003 08:29 PM



All times are GMT. The time now is 08:48 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker