Segmented LED Management Design Approach - Any Advice?
Wondering if anyone has any design advice for the following project.
I want to manage sequenced effects of 96 5mm LEDs - partitioned into six segments of 16 (each needs 2.1V @ 20mA). The goal is to be able to dim/brighten all segments with specific timing.
Other thoughts/details:
-I'd planned on all 96 sharing a common anode and each segment having a stepped cathode back to the board.
-I have 6 prop pins available and could produce 6 PWM signals for controlling the brightness.
-I have a constant current LED driver on-board that can provide a set current under 2A.
-I have very limited board space to work with.
Basically, just trying to learn how to approach considering the above. Certainly open to programming advice too, but I already have code to do most of what I need, and I'm pretty ignorant on what would be the ideal way to supply the necessary power - especially considering what little space I have to work with.
Any experienced advice on the best, or most practical way to achieve this would be most appreciated.
I want to manage sequenced effects of 96 5mm LEDs - partitioned into six segments of 16 (each needs 2.1V @ 20mA). The goal is to be able to dim/brighten all segments with specific timing.
Other thoughts/details:
-I'd planned on all 96 sharing a common anode and each segment having a stepped cathode back to the board.
-I have 6 prop pins available and could produce 6 PWM signals for controlling the brightness.
-I have a constant current LED driver on-board that can provide a set current under 2A.
-I have very limited board space to work with.
Basically, just trying to learn how to approach considering the above. Certainly open to programming advice too, but I already have code to do most of what I need, and I'm pretty ignorant on what would be the ideal way to supply the necessary power - especially considering what little space I have to work with.
Any experienced advice on the best, or most practical way to achieve this would be most appreciated.
Comments
Most LED drivers sink currents.
so just using the single one you mentions above
may not work.
So maybe getting 6 TPS61160
look at the second half of this pdf, first half is more about 115v ac input drivers.
http://www.ti.com/ww/en/analog/led/slyt394a.pdf
The first thought that comes to mind is that if you have 12V available you wire the 16 leds in each segment into 4 parallel columns of 4 leds in series. This minimizes the current draw. Exactly how you do the rest depends on the led driver IC.
Bradharper, here are block diagrams of three approaches.
Circuit A is the simplest and most energy efficient one if you have 36 to 40 volts available. It requires one STCS2 per segment.
Circuit B can be used when a voltage in the range of 10 15 volts is available. Not quite as simple and energy efficient as circuit a. It requires one STCS2 and 4 current balancing resistors per segment.
Circuit C is the most complicated one, and requires 4 resistors and 1 transistor per segment, as well as a ULN2803. If a high side driver was used instead of transistors the ULN would not be needed, but both approaches require 6 drive pins.
Circuit C does have the advantage of requiring only one STCS2 for all 6 segments.
1) I don't understand the circuit A requirement of 36-40V. My grasp of that circuit led me to assume that since the total current required for a segment is 320mA, I simply needed to use the correct current limiting resistor (.3125Ohm), and my input voltage of 6-12V would suffice for 6 parallel segment circuits.
2) I definitely need independent PWM dimming control on each of the six segments, and I'm unclear how circuits B/C would provide that capability. I see how I could turn each segment on/off, but could I have each segment at a different brightness level using only one STCS2?
Circuit C is a multiplexed version of circuit B. Each string would be on for a maximum of 1/6th of the time and the current provided by the STCS2 would be set higher to compensate.The length of time each transistor is turned on would be PWM to control the brightness of it's led string.
For your application Circuit B is probably the best way to go unless the STCS2 chips are very expensive. If you had slightly more than 12V available you could do the same thing using 6 transistors and 12 resistors.