PDA

View Full Version : My new LED headlight and USB dynamo circuit.



n4zou
02-20-08, 04:49 PM
http://i143.photobucket.com/albums/r154/n4zou/DynamoUSB.jpg

This is the schematic of my new bicycle dynamo circuit.
Presently I am using a Bottle type tire driven dynamo. This circuit is suitable for use with hub dynamos as well. Circuit description is as follows.
Dynamo: 6-volt AC, 3-Watt standard bicycle dynamo. May be hub or tire driven types.
Bridge rectifier circuit consists of 4 1N5818 Schottky type. This type of rectifier diode has lower voltage drop across the junction making them a little more efficient than standard rectifier diodes.
Headlight: I used a Seoul Z-power U-BIN high power LED in a Luxeon 10X30 optic holder and lens. This produces a beam pattern much like a vehicle headlight. The 470mF capacitor filters rippled DC for the LED giving a little more light output and reducing low speed flashing. The capacitor should be rated for at least 16 volts. The Seoul Z-power U-BIN can be driven with up to 1 amp without damage. This allows direct connection to the bridge rectifier with no harm done as most dynamos produce about 500mA at speed. The Pioneer E-generator is capable of 770mA, which is still safe for use with a Seoul or Cree high power LED.
S1: Switches dynamo power for either the headlight or the USB circuit. You can’t power USB devices like a cell phone or GPS unit and the headlight at the same time. S1 allows switching between one and the other or center off if your using a hub dynamo. With this circuit you can leave a USB powered device connected to the USB connector and batteries allowing you to power and or recharge the device until they become discharged while using the headlight. This allows switching the headlight on while traveling through a tunnel without needing to disconnect a USB device from the USB connector.
Ni-MH batteries regulate both voltage and current providing safe filtered power for any device plugged into the USB connector. The batteries must be solder tab types with no possibility of loose connections.
Recharging: If the circuit batteries become discharged they may be rapid recharged at full current from the dynamo. Simply disconnect any Devices connected to the USB connector. You’ll need to calculate how much time is required to recharge your batteries. This information should be available on the battery package. If using typical AA rechargeable batteries you will need to recharge them about 3 hours at 500mA. The chances of you being able to maintain speed with no stops are very low. Trying to keep up with recharging time is also hard to do even with a watch. Just let your cycle computer take care of that for you using the trip time function. It stops and starts timing as you stop and start cycling. Just reset the trip time and stop rapid recharging with the trip time reaches 3 hours or your batteries require. Recharging most USB devices is very easy as most have a battery level meter. Simply unplug it from the USB connector and check the level.
Some of you will note the absence of a taillight. Considering how cheap blinkies are and batteries run for 200+ hours I simply did not feel the need to try and power one along with the headlight.

Hydrated
02-21-08, 07:18 AM
n4zou...

You da man! I love those things that make the bike useful for multiple purposes... and this application really makes a dynamo hub useful for something during those times when you don't need that headlight on.

Great job!

ModoVincere
02-21-08, 08:30 AM
thanks!
Planning on ordering the LED and lense soon. This will give me a nice little project to work on for a weekend.

n4zou
02-21-08, 09:32 AM
thanks!
Planning on ordering the LED and lense soon. This will give me a nice little project to work on for a weekend.
LED: http://www.dealextreme.com/details.dx/sku.1445
http://www.dealextreme.com/productimages/sku_1342_1_small.jpg

10X30 lens and holder: http://www.luxeonstar.com/item.php?id=462&link_str=121::125&partno=FHS-HEB1-LL01-H
http://www.electronics-supply.com/admin/images/fhs-heb1-ll01-h-l.jpg

Heat sink, LED, and holder/lens fits perfectly in a 1" PVC pipe coupler from the hardware store for less than $1.
http://i143.photobucket.com/albums/r154/n4zou/Hpim0312.jpg

www.mouser.com has the diodes, capacitor, and terminal strips you need. Here is a photo of the 4 diodes soldered to a terminal strip attached to the front reflector mount and rack support.
http://i143.photobucket.com/albums/r154/n4zou/Hpim0330.jpg

astronomerroyal
04-24-08, 09:16 AM
Some of you will note the absence of a taillight. Considering how cheap blinkies are and batteries run for 200+ hours I simply did not feel the need to try and power one along with the headlight.

I've been waiting for a post like this for a while. First, please accept my hearty congratulations. Let me say that I've built something similar for my bicycle trailer, but I've been wanting to ask the opinion of someone knowledgeable in this area.

Background: My power source is 12v dynamo + rectifier/smoothed + voltage regulator-> ~10.4v DC. I have a little box of electronics that has a voltage meter (for fun) and a voltage regulator that outputs 5v for USB devices and my 1W LED headlight (ebay thing, it has a built in current regulator on the heatsink). The original 10.4v is also fed back to some rear LED lights I made. But as per your allusion, I can't run both rear and front lights in parallel. I assume it's some sort of gross impedance mismatch.

Q1). I don't know if there's a standard solution, but do you think if I made a 555 timer 'switching circuit' that switched between rear and front lights at an imperceptibly high rate, this would be be a 'good electronic engineering solution'? If I added an adjustable switching rate I could make it act as a flasher too.

Q2). I've never been sure exactly how to rate NiMH voltages, but under load they're usually about 1.2v (1.4v open circuit, fully charged), so do you find that 4.8v reliably drives USB devices? The iPod, for example, seems to be notoriously picky about the exact pin voltages.

Q3). Ignoring the voltage drop, is there any merit in adding a diode in series with the USB? I imagine most devices have their own protection built in.

I'm sure i have photos of it somewhere.

All the best,
AR.

n4zou
04-24-08, 03:44 PM
I've been waiting for a post like this for a while. First, please accept my hearty congratulations. Let me say that I've built something similar for my bicycle trailer, but I've been wanting to ask the opinion of someone knowledgeable in this area.

Background: My power source is 12v dynamo + rectifier/smoothed + voltage regulator-> ~10.4v DC. I have a little box of electronics that has a voltage meter (for fun) and a voltage regulator that outputs 5v for USB devices and my 1W LED headlight (ebay thing, it has a built in current regulator on the heatsink). The original 10.4v is also fed back to some rear LED lights I made. But as per your allusion, I can't run both rear and front lights in parallel. I assume it's some sort of gross impedance mismatch.

Q1). I don't know if there's a standard solution, but do you think if I made a 555 timer 'switching circuit' that switched between rear and front lights at an imperceptibly high rate, this would be be a 'good electronic engineering solution'? If I added an adjustable switching rate I could make it act as a flasher too.

Q2). I've never been sure exactly how to rate NiMH voltages, but under load they're usually about 1.2v (1.4v open circuit, fully charged), so do you find that 4.8v reliably drives USB devices? The iPod, for example, seems to be notoriously picky about the exact pin voltages.

Q3). Ignoring the voltage drop, is there any merit in adding a diode in series with the USB? I imagine most devices have their own protection built in.

I'm sure i have photos of it somewhere.

All the best,
AR.
Your trying to make it complicated. 4 Ni-MH batteries will regulate the rectified voltage from the dynamo to 5.2 volts. You don't need the electronic voltage regulator at all. The reason this works is due to the design of the dynamo and the increasing impedance of the batteries as voltage exceeds 4.8 volts. At 5.2 volts the batteries present an impedance so high it's impossible for the dynamo to produce more than 5.2 volts. As for a diode between the batteries and the USB device, you can add one if you like but it's not really necessary. All modern USB powered devices use protection and regulation circuits protecting them from the power available at the USB port. The diode would also drop the voltage from the batteries by .86 volts when using the same diodes used in the bridge rectifier. Standard rectifier diodes will drop the voltage 1.2 volts.

As for running a wired taillight, You can remove one of the diodes from the bridge rectifier and replace it with 15 SMD LED's. Another option is to use 4 5mm LED's hooked up as a bridge rectifier circuit and a resistor to control current found experimentally hooked to the AC output of the dynamo. This is all covered at this link.
http://pilom.com/BicycleElectronics/DynamoCircuits.htm

I separated my lighting circuit from the USB circuit so I could switch on the headlight and allow any USB device connected to the USB connector to remain connected as you can not power both lights and USB devices. There is simply not enough power to do both.

astronomerroyal
04-24-08, 10:20 PM
Thanks for the reply, and the link - very interesting. I like the idea of using LEDs in the rectifier. Obviously I don't fully understand how dynamos work. Time to finally think about how they drive a current.

My obsession with voltage regulation stems from the rather restrictive specs of the front LED light I'm using, also the voltage meter I added requires a voltage within a meagre 0.5v tolerance. I wouldn't be surprised if they make it as friable as possible to sucker all the cheapskates like myself.

Given the current status of the light I'll probably just try the embarrassing 555 flasher circuit approach. I do have a left-over 6v dynamo, so I'll perhaps build your circuit or test those on that website.

Cheers.
AR.