Yo guys.
I'm fed up with my battery powered lights : the battery is always dead at the wrong time, it's heavy (especially the helmet light one)... I want a light that's always ready no matter what, even below 0°C when batteries give up, or after a few days of camping with no power to charge anything.
My GF got a new bike with a Shimano Hub Dynamo, and a really crappy front white LED which puts out a tiny dim patch of "light" on the road ahead. I replaced that shame with a quick fix from the parts bin (a Seoul P4) which gives a nice usable flood, but of course when stopped she's in the dark. And now I want a dynamo too.
So I've taken on the project of designing the ultimate dynamo light for the bikes... ok ok that may seem a bit overambitious, but why not ?
Anyway I'd like you guys to give me your wishlist so I can make sure I don't forget anything. When it's done, I'd like to make a kit or something, or at least share the design, cause that might be useful.
Here's my wishlist :
I think that sums up my wishes, see if you have more ! Now here's my current work in progress design :
The brain will be a Cypress PowerPSoC, I have an EVM with it on my desk, it's a nifty chip, quite suited for the job.
Dynamo can provide high power at high speed, this is important downhill. Fast downhill (40-50 km/h) can produce more than 10 watts (possibly 15 watts).
A dynamo is an AC generator with harmonics with a big inductor in series. If you add a resistive load it behaves like a current source. However we can do a lot better by using a more funky load impedance like a negative inductor in series with a resistor. Some use a cap as the negative inductor but it only works at a certain frequency. I will put the dynamo in the center of a mosfet H-bridge, measure the current and PWM the voltage across it according to a realtime algorithm which emulates u = Z . i. I created a model of the dynamo which seems to fit quite well, and simulation shows this approach has potential. It also does synchronous rectification. The dynamo inductance behaves kind of like a boost reg, so I get 15-30V out. I'm still polishing this part.
Compared to a simple rectifier, the amount of power extracted becomes usable at much lower speeds and at high speeds it's a powerhouse.
To put all this power to good use : 3 Cree XP-G LEDs. Since power is proportional to wind speed, no cooling problems !
The design of the LED driver is done, it's a simple hysteretic buck switching current source with short and open circuit protection. Good thing PowerPSoC has 4 channel hysteretic switchmode controller on-chip with assorted control DACs and PWM...
Battery : 2 LiIon 18650 cells, charged and used independently. I will also make a small helmet light (or just buy one) so I want to be able to charge the batteries on the bike.
Battery management is done, a bidirectional hysteretic switching converter pushes current into the battery (charge = buck) or from the battery to the main capacitors (discharge = boost). The uC has ADCs and stuff to check the battery voltage and manage the charge.
Anyway, whaddya think ?
I'm fed up with my battery powered lights : the battery is always dead at the wrong time, it's heavy (especially the helmet light one)... I want a light that's always ready no matter what, even below 0°C when batteries give up, or after a few days of camping with no power to charge anything.
My GF got a new bike with a Shimano Hub Dynamo, and a really crappy front white LED which puts out a tiny dim patch of "light" on the road ahead. I replaced that shame with a quick fix from the parts bin (a Seoul P4) which gives a nice usable flood, but of course when stopped she's in the dark. And now I want a dynamo too.
So I've taken on the project of designing the ultimate dynamo light for the bikes... ok ok that may seem a bit overambitious, but why not ?
Anyway I'd like you guys to give me your wishlist so I can make sure I don't forget anything. When it's done, I'd like to make a kit or something, or at least share the design, cause that might be useful.
Here's my wishlist :
- front : powerful white headlight
I've selected Cree XP-G LEDs, very efficient, I have some with optics, nice usable beams. I plan on using 3 LEDs, each at a slightly different orientation, for a better beam. For instance a flood pointing a bit down + a spot pointing almost straight, etc. This is a nice combination and it minimizes the amount of light lost in the sky or blinding drivers on the other side.
- rear : really visible red
I've got a bag of hi-brightness red LEDs from nichia, they're really good. I don't want to use a 1W or 3W LED because it's harder to get a good beam, with many small LEDs I can aim them where needed (rear / sides etc).
- automatic operation
When you ride the bike the lights light, when you stop they stop after a few minutes timeout. Only button necessary should be to force the light to stay on if needed.
day/night sensor : during the day front & rear should flash which is more visible, at night, continuous of course. Auto-switching is needed for things like unlit curvy mountain tunnels, for instance, which are REALLY annoying especially when you hear a car coming behind you and your bike lights are off because it's midday.
- standlight / low power battery mode
For stops, traffic lights, long climbs, setting up the tent, etc : at the very low speeds where the dynamo doesn't give power, you don't need to see very far, so no need for a huge amount of light, 1-2W are enough.
- 5V output
GPS and phone need charging.
- High power / High efficiency
Extract as much power from the dynamo as possible when needed, reduce drag as much as possible when no power is needed.
- Stop lights
Dynamo provides an accurate speedometer so a feature like a car's stop lights comes for free.
- All-weather watertight
Last year I came back home on the bike and the watter bottle was frozen solid. The NiMH froze about halfway through, so I had to do the rest of the trip in complete darkness on an unlit country road. This was a great feeling but not really safe. It should also work under rain, dust, mud, etc.
I think that sums up my wishes, see if you have more ! Now here's my current work in progress design :
The brain will be a Cypress PowerPSoC, I have an EVM with it on my desk, it's a nifty chip, quite suited for the job.
Dynamo can provide high power at high speed, this is important downhill. Fast downhill (40-50 km/h) can produce more than 10 watts (possibly 15 watts).
A dynamo is an AC generator with harmonics with a big inductor in series. If you add a resistive load it behaves like a current source. However we can do a lot better by using a more funky load impedance like a negative inductor in series with a resistor. Some use a cap as the negative inductor but it only works at a certain frequency. I will put the dynamo in the center of a mosfet H-bridge, measure the current and PWM the voltage across it according to a realtime algorithm which emulates u = Z . i. I created a model of the dynamo which seems to fit quite well, and simulation shows this approach has potential. It also does synchronous rectification. The dynamo inductance behaves kind of like a boost reg, so I get 15-30V out. I'm still polishing this part.
Compared to a simple rectifier, the amount of power extracted becomes usable at much lower speeds and at high speeds it's a powerhouse.
To put all this power to good use : 3 Cree XP-G LEDs. Since power is proportional to wind speed, no cooling problems !
The design of the LED driver is done, it's a simple hysteretic buck switching current source with short and open circuit protection. Good thing PowerPSoC has 4 channel hysteretic switchmode controller on-chip with assorted control DACs and PWM...
Battery : 2 LiIon 18650 cells, charged and used independently. I will also make a small helmet light (or just buy one) so I want to be able to charge the batteries on the bike.
Battery management is done, a bidirectional hysteretic switching converter pushes current into the battery (charge = buck) or from the battery to the main capacitors (discharge = boost). The uC has ADCs and stuff to check the battery voltage and manage the charge.
Anyway, whaddya think ?