Reducing cable costs is not such a bad idea. Unless you already have the cable or can get a big discount on it, the cable and connectors can be a significant part of the cost. And the fewer the cables, the nicer it looks if the daytime if there isn't snow on the ground.
In my opinion a 2:1 reduction in pins is the low-hanging fruit. Figure 4 in AN234.pdf from microchip shows a way to get this that is easy to design in hardware and fairly easy to program.
Photovor wrote:... the downside is that even though there may be less parts needed for the controller piece, you're still spending the same amount per channel when it comes to the ssrs.
Nope, it would only be a software change. You would just plug in half wave LED’s strings in opposite directions.
BTW, there is no such software available currently, but it could be done. There’s also no guarantee that half wave type will always be available. As more LED strings get sold, the cost differences for manufacturing the two types will become insignificant.
Figure 6 is the Charlieplexing.
You could do this with only 6 pins.
ErnieHorning wrote:You could do this with only 6 pins.
Yeah, with 6 pins, you can control up to 30 different outputs. In my example, I said 8, but those other lines were to carry +5 and GND. Ernie- you definitely have a valid point with the half-wave LEDs. And it's not like they advertise the type on the box. At least in the dimming arena, the lifespan of something like this is definitely limited.
From what I'm understanding, with the right programming changes, this could be made as an add-on for a renard, however, without the dimming, correct? I'd plan to use zero-cross triacs in the design.
Photovor wrote:At least in the dimming arena, the lifespan of something like this is definitely limited.
The lifetime of LED’s, like incandescent’s, is proportional to actual time that they're on. So half wave LED’s should last twice as long as full wave ones.
Photovor wrote:… however, without the dimming, correct?
You still have dimming.
Photovor wrote:I'd plan to use zero-cross triacs in the design.
It’s the opto-couplers that are zerocross, you’ll need random phase ones to allow dimming.
Something to keep in mind with these methods; when you increase the number of lights you can control you also increase your current draw.
I can't count the number of times I spoke with ppl who were dimmer doubling that couldn't figure out why they were tripping breakers; double the lights double the current.
I should clarify what I meant with the lifespan. I mean, with the lifespan of the charliplexed board... if we're going to see half-wave LEDs slowly be replaced by full-wave leds, then as time goes on, it's going to be harder to find compatible sets.
As for the dimming, wasn't it said that you'd have to keep track of the timing in order to know what order to have them turn off in- or something along those lines. Just thought it'd be easier to first implement a non-dimming version.
Photovor wrote:As for the dimming, wasn't it said that you'd have to keep track of the timing in order to know what order to have them turn off in- or something along those lines. Just thought it'd be easier to first implement a non-dimming version.
The dimming comment was meant for the half wave method where you just double the channels. That one should be pretty easy to implement. You just need to control each half cycle separately. This only works with half wave LED strings though all of the full wave stings that I’ve seen could be converted; just replace the bridge diode with a single diode.
P. Short wrote:You will need to run the microcontroller at roughly 30 times the current frequency (well, 30 times 8 MHz) if you want to charlie-plex 30 outputs…
I don’t know the time that it takes to set one output and then set another one, but would it be visible even if the timing spilled over to the next one or two dim positions? My experience with incandescent’s is the difference between two consecutive dim levels is only perceptible if you know it’s changing and are looking specifically for it. I know it wouldn’t matter if the last 5 or so were removed to make room for jitter.
If I had the parts for 30 channels, even to just do on/off and not dimming, I'd be prototyping this tomorrow. This would be especially easy to prototype since you're not having to worry about a ZC, just straight out 100% on. I got 16 MOC3023's from fairchild direct(samples), so that gets me partially there...
