macforsale said:
Short leads and wire gage and switch to handle the drive current in that leg of the circuit are not a problem as you are finding. Just a caution because it is part of the feedback circuit and small changes in the signal from addition to the circuit not taken into account by the original design can have the driver doing things outside of specifications. The sense resistor is only a fraction of an ohm and the voltage seen is directly proportional so the gain in the electronics will be high to effectively process the feedback signal.
My experience with current regulation and PWM is in other areas of power control and as it applies to LEDs I am somewhat in the dark. :candle:
Principles will be the same details may vary greatly. Sometimes theory keeps you from doing something that in practice is OK.
Macforsale definitely has a point here: If you read any popular converter datasheet you can see that there are many pages of guidance how to design a good circuit board. Taking such an essential component as sense resistor even few cm away from the circuit board is "bad design" according to datasheets. To minimise problems I have followed these principles:
- Use short and straight wires to switch, no twisting or loops
- Use adequately thick wire
- Use high quality low resistance switch
- Make good hot solder joints
- Do not make wires go through inductor flux
That is how I have got greatly working variable output current converters - to quote Macforsale, maybe theoretically less than perfect but practically very functional designs.
Yellow, your bb nexgen seem to have gone to direct drive because rechargeable li-ion has greater voltage (up to 4,2v) than led forward voltage (typically 3,5v). GD converter suits much better your needs.
One more comment: these converters produce DC with ripple - it is not completely smooth "battery-like" DC. There are very small (approx 0,1 v) and very fast (some 0,2-1 Mhz) changes (pulses) in DC voltage, so it is fast changing, say, between 3,4-3,6 volts, averaging at the led forward voltage 3,5v. These are far from exact figures, but you get the idea. These 0,1 v changes are the AC component around 3,5v DC component. And this high frequency AC is nasty suff running in wires, it wants to react with other wires inductively. That is why it is "bad design" to take sense resistor away from the circuit board.
Finally guys, great to hear that I could help you! I wish you all the best with your mods! :thumbsup:
-N