Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 101
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
All today's birthdays', congrats!
Download (31)
ScottH (37)


Next birthdays
11/02 Download (31)
11/02 ScottH (37)
11/03 Electroguy (94)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: General Science and Electronics
« Previous topic | Next topic »   

clever led driver

 1 2 3 
Move Thread LAN_403
jonny5
Thu Jun 18 2009, 06:56PM
jonny5 Registered Member #1807 Joined: Tue Nov 11 2008, 07:36AM
Location: San Luis Obispo, California
Posts: 19
The exact inductance isn't critical. More inductance reduces the current ripple, less inductance allows the use of physically smaller inductors. Less inductance (Buck inductor) increases the magnitude of the rate of current ramp (V = L * di/dt). Due to the constant off-time control, the circuit switches at a higher frequency for a smaller Buck inductance! Here's a sim of a 33uH inductor with 9 VDC IN.

SmallerInductorsmall

Just a heads up: I have never built this circuit! The little experience I have had in electronics has taught me to be wary of simulations...they can't tell you everything. Real life is full of surprises...which makes it so much more interesting!

If you do build a variation of the 555-comparator circuit, let us know how it works! cheesey

Before I forget, the inductor shouldn't be allowed to saturate! The toroid power supply cores work nicely. Just remember that they decrease in inductance as the inductor current increases.
Back to top
polop
Thu Jun 18 2009, 07:07PM
polop Registered Member #1537 Joined: Thu Jun 12 2008, 06:44PM
Location:
Posts: 51
does the inductor need to take the full current of the led? if smaller inductance is better, and large is ok, can i use an arbetry amount there fore 20 or so 0.8mm diameter windings on the ~1cm toriod, a reasonable MOSFET, a reasonable schokkty diode, would that be a reasonable set of components?
. the other componants are non-changable and i have them already.
what components are the ones that sets the current output?
Back to top
ConKbot of Doom
Thu Jun 18 2009, 07:21PM
ConKbot of Doom Registered Member #509 Joined: Sat Feb 10 2007, 07:02AM
Location:
Posts: 329
I have 5 of these badboys sitting next to me at the moment. I'm contemplating putting them into a maglight or something similar.(not all of them, though that would be awesome) I'd like to make my own driver, and I was too busy looking around at fancy switchmode converters and the like to think about a simple inductor and chopper circuit.

Given the fixed load of the circuit an inductor/chopper should be able to get a fairly high efficiency, correct?

I cant see the images here at work, but I'll come back to this at home, and maybe I can start messing with a driver circuit for one of these again.
Back to top
jonny5
Thu Jun 18 2009, 07:29PM
jonny5 Registered Member #1807 Joined: Tue Nov 11 2008, 07:36AM
Location: San Luis Obispo, California
Posts: 19
Indeed, the inductor carries the full LED current. As for using an arbitrary inductor...depends on how risky you wish to be! More turns on the core will increase inductance and simultaneously lower the peak saturation current. After all, only so much energy can be stored in the core before it saturates.
Since the 555 can't drive the PFET very hard, make sure that the PFET gate charge isn't too high! Otherwise, the switching losses may be significant.
The LED current is set by the reference voltage into the comparator and the voltage dropped across the current sense resistor. BY adjusting the voltage into the noninverting comparator input, the LED current can be changed. Good luck!
Back to top
polop
Thu Jun 18 2009, 08:25PM
polop Registered Member #1537 Joined: Thu Jun 12 2008, 06:44PM
Location:
Posts: 51
ok ill go to maplin tommorow buy me a schottky diode and a decent mosfet. ill try this over the weekend

edit: that is a 50 milli ohm resistor yes, not a Megohm

and thats a 10uF electrolytic cap (there is no sign but large capacitance)
Back to top
polop
Tue Jun 23 2009, 08:30PM
polop Registered Member #1537 Joined: Thu Jun 12 2008, 06:44PM
Location:
Posts: 51
hello there
i have put the circuit together now but i cannot change the current, it is always 1 amp. i am varying the referance voltage from 0 to .5 and nothing changes.

test notes: if i take out the shottky diode it continues to work the same

inductor is 100uH, current is flowing through it to the led.

as far as i can se the circuit is wired as diagramed.


one thought, if the trig on the 555 is triggered by a low voltage, my comparitor when saturated low is still roughly 1.5 volts out, is that low engh?.

Back to top
jonny5
Tue Jun 23 2009, 09:20PM
jonny5 Registered Member #1807 Joined: Tue Nov 11 2008, 07:36AM
Location: San Luis Obispo, California
Posts: 19
The 1.5V minimum comparator voltage is probably OK. The following sim circuit

MinComparatorVsmall

suggested that the 1.5V trigger voltage did indeed activate the 555 one-shot. Below is the simulated LED current at 9 VIN.

MinCompWaveformsmall

Unfortunately, the Schottky is an integral part of the Buck topology. As the P-FET turns OFF, the Schottly diode turns ON, allowing the inductor current to "free-wheel" during the switch OFF-time. Without the free-wheeling diode, the inductor current has no where to go! As such, the P-FET will experience a massive negative voltage spike! Unless the PFET is exceptionally rugged (dissipating the stored inductor energy via avalanche breakdown), the switch will fail. The following sim shows voltage peaking around -550V...which one would never see across an actual low-voltage PFET...yet one more example of simulation limitations. mistrust

NoBuckDiodesmall

Good luck!
Back to top
polop
Tue Jun 23 2009, 10:10PM
polop Registered Member #1537 Joined: Thu Jun 12 2008, 06:44PM
Location:
Posts: 51
well i tested the mosfet it hafnt blow, i dont think it has turned off so there fore would not blow as current is just running through it and the inductor. therfore it is the current sencing that is not interuptinging th flow of current. pulling the trigger low with a wire turns the led off.

is there any simplifications that can be made to the circuit, like a simple transistor version or somthing
Back to top
jonny5
Wed Jun 24 2009, 07:07AM
jonny5 Registered Member #1807 Joined: Tue Nov 11 2008, 07:36AM
Location: San Luis Obispo, California
Posts: 19
Hi polop!

Simpler is almost always better. Here's an idea that uses a single comparator and the control loop phase-shifts to make a high powered LED driver:

SimpleDriverSmall

The buck topology keeps relatively constant current through the high-powered LED (simulated by two smaller LEDs in parallel)by comparing the voltage dropped across the current-sense resistor to a regulated reference voltage. Since the rail-to-rail comparator output cannot drive the PFET gate directly, the totem-pole 2n3904/2n3906 pair source and sink the necessary gate currents to turn the switch on and off very quickly. Be careful with the phase shifts adding up around the control loop - the buck inductor, "output" 4.7uF capacitor, and low-pass filter off of the current-sense resistor all contribute to the total phase shifts. You might want to play around with a dummy load before risking the awesome LEDs!

Here's the simulated LED current:

SimpleDriverSimSmall

I'm excited to try this circuit (have to find good LED's first)!
Back to top
polop
Wed Jun 24 2009, 04:48PM
polop Registered Member #1537 Joined: Thu Jun 12 2008, 06:44PM
Location:
Posts: 51
is there a chip that youguys would reccomend that does all the timing and things for me, ie the only components are the chip the inductor and the diode, that will regulate anywere between 0 and 3amps ? these solutions although they inerest me more, get me so fustrated because i do not have any equipment to dest them (apart from a hardly working ddm)
Back to top
 1 2 3 

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.