Standlight circuits (Will this circuit work?)

nicknoxx

Newly Enlightened
Joined
Mar 10, 2011
Messages
22
Re: Will this circuit work?

Thanks for taking so much time to explain things to a newbie. Here's a couple more possible numpty questions.
Would it be possible to dump all the circuitry going into Stdn and put the switch between the battery and ground instead?
What made you choose a capacitor over a battery?
Re the switch; instead of a 10 minute timer, would it be possible to use a very low power transistor to switch it off when Vcc went below 0.8v. It would probably need some sort of logic where it went off if the dynamo was off and the standlight was off, then it goes off, and only when the dynamo starts, does it comes back to life. (not really thought this through yet). Might there still be a tiny drain on the battery?

Nick
 
Last edited:

Steve K

Flashlight Enthusiast
Joined
Jun 10, 2002
Messages
2,786
Location
Peoria, IL
Re: Will this circuit work?

Thanks for taking so much time to explain things to a newbie. Here's a couple more possible numpty questions.
Would it be possible to dump all the circuitry going into Stdn and put the switch between the battery and ground instead?

It would be possible, but I'm not sure that it'll work out well. You'll be draining the battery at the same time that you're charging it. If you have a lot of stops, such as in city riding, it might not be possible to keep charge in the battery. Also, if it's cold, it's harder to charge the battery. I commute in temperatures down to about 2F, so this is important to me.

What made you choose a capacitor over a battery?
you mean a battery over a cap? The rationale is in the thread on standlights, but the short story is that it gave me a much longer run time, which I liked. I tried a moderately sized supercap, and it was just awful by comparison. The supercap was a bit larger than the AA nicad.


Re the switch; instead of a 10 minute timer, would it be possible to use a very low power transistor to switch it off when Vcc went below 0.8v. It would probably need some sort of logic where it went off if the dynamo was off and the standlight was off, then it goes off, and only when the dynamo starts, does it comes back to life. (not really thought this through yet). Might there still be a tiny drain on the battery?

Nick

Everything uses power. It's just a matter of how much! Even the Zetex is using some power in shutdown mode, but since it's CMOS circuitry, it's only a few uA. It's a lot less than the nicad's self discharge current, so it's not a problem. The other trick is making a circuit that works down to 0.8v. You can't buy a discrete mosfet that turns on with a Vgs of 0.8v or less. You could use BJT's, but they'll use a lot of current. Maybe use a CMOS comparator?

I think I'd rather try the timer circuit scheme. It turns out that it's Linear Technology that has the family of handy timers.
http://www.linear.com/products/timerblox
You might be able to build a low power 10 minute timer with this stuff. The LTC6991 oscillator can be set up with a period of 9 hours, so it can do a 10 minute pulse with no problem. Unfortunately, it needs 2.25v to run. Maybe charge a large ceramic cap with the forward voltage from one of the LEDs, and use that to power it? Lots of possibilities....

regards,

Steve K.
 

Savvas

Enlightened
Joined
Jun 11, 2010
Messages
222
Steve mentions his Zetex based circuit which continues to look intriguing. When he first described it I wrote to Zetex (or whatever the company is called here in Australia) and they kindly sent me a few of the tiny things to try out. I still haven't done anything with them - I think their small size and my fumbly fingers deters me!

But for those wanting a relatively simple but effective light, I'd like to put in another plug for FrontRanger's design. I am so pleased with it! I have now built 3 twin-LED lights using cheap DX parts and this circuit and they all work well. Using a 150ohm resistor and a 1F 'button' supercap the circuit keeps the 2nd LED running at a decent brightness for 3-4 minutes at least. If you stick to cheap DX parts and a simple build you can get a great light for very little money. I just use simple circuit board with straight line copper strips.

I'm about to build my 4th light, another twin but this time using 40mm 'U' channel and the Ledil Rocket smooth spot lenses. My aim is for the whole lense column on the standlight side to be illuminated and visible from the sides. The electronics will be housed inside a bit of sealed celluloid 'chip holder' tube that most recycling places have plenty of and will be sheltered form the weather by the light's simple handle-bar bracket which is made from light alloy angle. I'll post some pictures if someone can explain to me how to do it - I've tried a couple of times without success!

Last week my Mr-11 triple dyno light developed a leak in the rain and started working intermittently. So I figured it was time to bite the bullet and install an e-delux that I'd had as a 'spare' on the shelf for a while. I'd bought it quite cheaply as although it was new it had a very short cord and no one seemed to want it. I'd forgotten what a bright beam it has! There's a darkish tunnel I ride through on the way to work. While the MR11 triple is pretty bright at night, it's a fairly diffuse beam and hardly shows in this tunnel where there's still ambient light from each end. The e-delux by comparison put a bright spot on the ground as soon as I was in the entrance. Which is handy as people leave all sorts of rubbish lying around inside!

Sam P.
 

nicknoxx

Newly Enlightened
Joined
Mar 10, 2011
Messages
22
I've been looking further into the ZXSC310. To calculate the value of the sense resistor you divide the sense voltage by your chosen peak current. The trouble is that while the typical sense voltage is 19mV the tolerance allows it to be anywhere between 14 and 24mV which basically means you have to built it, measure it and adjust the resistor depending on the tolerances in your particular circuit. If you've built and tested a circuit and wanted to re-make it with surface mount components you'd have to start over.
 

BrianMc

Enlightened
Joined
Nov 4, 2009
Messages
940
Steve, I read the old battery charging thread with some fascination. Thinking this might be for my next dyno build.

From the Flickr Circuit diagram: "I thought it was all self-explanatory?? Other than the "missing pulse detector" part, of course. I have to sketch out the waveforms to keep track of what's supposed to happen. Fortunately, it works, so I can forget all about it again. :)
Maybe I can add some comment blocks here on Flickr to explain the functional blocks?"

I vote 'Yes' Steve. The block info would be good to bridge for us with a lack of electronics background. (For those of us who have rudimentary knowledge of component function and can solder bits, but don't understand circuit design and are oscilloscope-less.) A lot to learn here or relearn. :) No need in both places. Just post here when/if you do it with the link repeated. Thanks.
 

Steve K

Flashlight Enthusiast
Joined
Jun 10, 2002
Messages
2,786
Location
Peoria, IL
the schematic on my Flickr page has been updated with comments about the various functional blocks. The comments on the "missing pulse detector" block are more or less adequate, but it's not a bad idea to dig out the datasheet for the dual on-shot IC and make sure that it all makes sense.

Everything else seems pretty straight forward (to me).

The comment about the 'scope-less folks does remind me that a scope can be essential when trying to figure out why things aren't working quite right. As the various versions of my schematic indicate, I was having some trouble with the fairly simple task of shorting out two LEDs at low speeds. The scope let me see that there was some weird oscillation going on that was messing up the operation at some speeds. I never did understand the oscillation, but decided to just simplify the mosfet driver.

The scope is also very useful in making you realize that, despite how much you may think that the circuit ought to behave a certain way, the circuit doesn't care what you think! A scope is a great way to discover what is really going on in a circuit.

regards,

Steve K.
 

Steve K

Flashlight Enthusiast
Joined
Jun 10, 2002
Messages
2,786
Location
Peoria, IL
regarding tolerances in the ZXSC310: the tolerance issue isn't unique to this little switching converter. An essential part of good engineering is to keep track of all tolerances (and there are a lot!) and know what the effect is on the circuit's operation. Honestly, if you look at the ZXSC310 datasheet, you'll see that the output varies quite a bit as the input voltage changes. It's not much of a regulator at all, but it's still pretty handy for a standlight. The eye isn't good at detecting small changes in light, so it shouldn't make much difference to the perceived brightness.

regards,

Steve K.
 

BrianMc

Enlightened
Joined
Nov 4, 2009
Messages
940
Thanks for the info, Steve.

Looks like I should have bought and built that Heathkit 'scope decades ago! If you can measure it, then it is science and engineering; if you are conjecturing it, then it is wishful thinking. I guess with interest compounded, the money I saved would buy many better ones, now. :) Some tools are essential to some tasks so you either ante up or fold. Plus a SON hub for the Mercian. Have enough on the bike light plate at the moment, but it helps me plan a strategy for the future.

BTW I think you said AA 700 mAhr NiMH. I have AAA's of 700 and 1000 mAhr. So why a AA not a AAA if they are the same capacity?
 

nicknoxx

Newly Enlightened
Joined
Mar 10, 2011
Messages
22
Steve, using the component values you have, what speed do the extra two LEDs kick in?
 

Steve K

Flashlight Enthusiast
Joined
Jun 10, 2002
Messages
2,786
Location
Peoria, IL
I'm using a portable Tektronix scope that probably dates from the ... mid to late 80's? It's a good, basic analog scope with 2 channels. Bought it used 7 or 8 years ago for $200. Not a bad investment, although I don't use it all that much.

The battery is a AA nicad, not NiMH. The nicad is more tolerant of abuse and temperature extremes than NiMH. An AAA nicad would probably be fine too, since the AA keeps the standlight running for 30 minutes or more. It might even be interesting to try a cell from a 9v nicad, although those are getting much harder to find nowadays.

Steve K.
 

Steve K

Flashlight Enthusiast
Joined
Jun 10, 2002
Messages
2,786
Location
Peoria, IL
umm... I don't know what speed it is that the two extra LEDs are switched in <insert sheepish face here>.
I've just been manually spinning my front wheel in a trueing stand to test the circuit, so I couldn't tell the speed.

I think I did try the circuit with the bike in the workstand.. but I don't know what the speedometer said then. Besides, it spins down so fast that any speedometer reading would be suspect.

My goal is to have the threshold around 12mph or so, just so I can avoid blinding people on the trails and stuff. I also picked the current values such that I didn't see the LEDs dim when the extra pair was switched in.

My plan is to retrofit the circuit into the light starting around May or so, figuring that that'll be when I quit needing the lights on my commute. Hopefully I'll have it done before the days start getting short again. :)

Steve K.
 

nicknoxx

Newly Enlightened
Joined
Mar 10, 2011
Messages
22
You can get 280mAh NiCd 1.2V button shape cells on ebay for peanuts or tiny ones (15mm x 6mm) with 70mAh.
 

Savvas

Enlightened
Joined
Jun 11, 2010
Messages
222
Not quite a standlight question but... Tonight, having been banished to the bike shed, I was rummaging around in the parts box(es) and discovered an old Niterider 19-led tail light from a 12V halogen (I think) system from a few years ago. I never possessed the headlights or battery and only have the tail light because I found it on sale for a few dollars in a dusty bike shop in Adelaide. I think I liked the sealed case it was in and thought I might be able to turn it into something a dynamo could run. I recall taking it apart with this in mind but gave up on discovering it was all tiny surface mount stuff with lots of tiny resistors etc. I presumed at the time that the, given the plethora of resistors, all of the leds were running in parallel.
Anyway I had my SON dynamo wheel set up in a fork on the bench and thought 'why not'... Connected it up and gave the wheel a spin and presto, very bright tail light!
So apart from the fact that it's probably only running on half-wave, is there any real reason why I shouldn't connect it up permanently on one of my 'dynamo powered' bikes? Would things be appreciably brighter if I used a proper full wave rectifier? Anyone ever figure out how these leds are arranged?
thanks,
Sam P.
 

Steve K

Flashlight Enthusiast
Joined
Jun 10, 2002
Messages
2,786
Location
Peoria, IL
is there any way that you can apply a limited DC current to the light and measure the voltage across the light? That should tell you (roughly) how it is wired.

If the taillight was designed to work with a 12v light, then it's unlikely to be a good match for a dynamo system. If you can figure out how the board is wired, you *might* be able to cut a few traces and install a few jumpers in order to make it work with the dynamo. The trick will be making it do this while not impacting the current that is delivered to the headlight.

My personal solution to this issue was to wire the taillight in series with the headlight, and build the taillight as a number of red LEDs wired in parallel. As long as you don't mind the loss of some slow speed performance, it works quite well. It's especially well suited for use with an LED headlight that provides good light at low speeds.

regards,

Steve K.
 

eärendil

Newly Enlightened
Joined
Sep 28, 2009
Messages
2
Re: Will this circuit work?

I was thinking that you could simplify this circuit by replacing LM317 with an LM7805 5 volt linear regulator. The capacitor could only charge to 5 v, but it eliminates the issue with matching resistors, or even having the reference resistors at all, and avoids mixing and matching clamping diodes. Any reason why this wouldn't work? Could it be spimplified further by removing the transistor and just having the 150 Ohm resistor (like the first circuit suggestion)?

It's been a pleasure reading this forum, thanks for all the work that you've all shared.

2ent76a.jpg
 

Steve K

Flashlight Enthusiast
Joined
Jun 10, 2002
Messages
2,786
Location
Peoria, IL
Re: Will this circuit work?

I don't see any reason that a 7805 couldn't be used instead of the LM317.
I don't recall the issue of clamping diodes, or the mixing and matching thereof, at least with regards to this circuit.

The transistor switch could be removed too, with some reduction of the run time of the standlight... or is it just that the supercap will take longer to charge? Maybe the latter.

Looking at the circuit again, I'm wondering about the headroom voltage required by the LM317 (or 7805) and the Vf of the LEDs. I normally assume a Vf of 3.5v, which allows 2v of headroom for a 5v regulator. No problem there. However, I was looking at the datasheet for a Cree XP-G, which is around 3.1v at 500mA, and this would only create 6.2v at the 7805 input. That might not be enough to produce 5v at the output. I'm guessing that it might be close enough, since the current passing through the regulator as the supercap reaches full charge will be small (13mA, with the 150 ohms between the supercap and LED).

All in all, it seems like it should be okay. While I have a preference for somewhat complicated circuits, there's a lot to be said for simplicity, especially when the person assembling it has limited experience. Every additional component is another opportunity for a bad solder joint, wiring failure, etc.

regards,

Steve K.
 

eärendil

Newly Enlightened
Joined
Sep 28, 2009
Messages
2
Re: Will this circuit work?

The transistor switch could be removed too, with some reduction of the run time of the standlight... or is it just that the supercap will take longer to charge? Maybe the latter.
I'm thinking I should keep the transistor now, and the main reason for having it in my mind is the increased efficiency from cutting off the current path through the regulator and resistor, which allows the use of a lower current limiting resistor and a brighter standlight. Here's my new question: Can we elimminate this resistor altogether and just rely on the transistor's current gain to control current through the LED? If there's a gain of around 30, you could let 3 mA through the base with a 1.7 kΩ resistor and (theoretically) get 100mA through the emitter, tailing off from there. Am I making incorrect assumptions because I'm new to this?

Looking at the circuit again, I'm wondering about the headroom voltage required by the LM317 (or 7805) and the Vf of the LEDs. I normally assume a Vf of 3.5v, which allows 2v of headroom for a 5v regulator. No problem there. However, I was looking at the datasheet for a Cree XP-G, which is around 3.1v at 500mA, and this would only create 6.2v at the 7805 input. That might not be enough to produce 5v at the output. I'm guessing that it might be close enough, since the current passing through the regulator as the supercap reaches full charge will be small (13mA, with the 150 ohms between the supercap and LED).
-looks like you need another LED in your headlight! I'm thinking of wiring a taillight in series with the two headlights, which should give me more than enough headroom.


Thanks for all your help and great ideas!
-Andrew
 

Steve K

Flashlight Enthusiast
Joined
Jun 10, 2002
Messages
2,786
Location
Peoria, IL
Re: Will this circuit work?

.... Here's my new question: Can we elimminate this resistor altogether and just rely on the transistor's current gain to control current through the LED? If there's a gain of around 30, you could let 3 mA through the base with a 1.7 kΩ resistor and (theoretically) get 100mA through the emitter, tailing off from there. Am I making incorrect assumptions because I'm new to this?
-Andrew

Using the transistor in the linear mode might be adequate. I think the downsides would be that the gain might vary over temperature, and the base current will change as the supercap discharges. The resistor should provide more predictable behavior, but there's no harm in experimenting with it. I don't think there's any way that you could damage anything (he said optimistically. :) )

regards,
Steve K.
 

Savvas

Enlightened
Joined
Jun 11, 2010
Messages
222
Re: Will this circuit work?

Not that I'm trying to revive anything here but I thought this little addition to this thread might be worthwhile. It's the schematic for the B&M Standlight Plus. I guess the relevance is that this circuit is probably the most widely used rear standlight in existence and is probably used repeatedly across many ubiquitous brandnames in Europe. I cribbed it from a German website a few years ago. I've often wondered how I might adapt it to run, say 8-10 rear leds with maybe 2 as the standlight. The B&M is designed to run in parallel with a front light, each light having its own bridge rectifier. Anyway, here's the circuit and a parts list:
Toplight%252520Schematic.jpg

R1 220 Ohm R2 100 Ohm
C1 1 F, 5.5V
D1, D2, D3 1N4001 etc

Rectifier B80 1500R etc

[FONT=&quot]LED1, LED2, LED3 superbright LED, 3000 mcd, 5 mm, ca. 1.6v, 20 mA[/FONT]

Any ideas about developing this further into, say, a 'Super Toplight' will be read avidly!

Sam.
 
Last edited:

Steve K

Flashlight Enthusiast
Joined
Jun 10, 2002
Messages
2,786
Location
Peoria, IL
Re: Will this circuit work?

I've got something I sketched out quick... I'll post the image later, but it's pretty simple. I just replaced R1 with a simple two-transistor current regulator and another LED. This improves the amount of light produced with no increase in power consumed.
...it's later, so I'm adding the link for the schematic...
http://www.flickr.com/photos/kurtsj00/5845659946/in/photostream

What sort of improvement were you looking for, and what are you willing to give up in order to get it?

regards,
Steve K.
 
Last edited:

Latest posts

Top