Charlieplexed SSRs
 
Notifications
Clear all

Charlieplexed SSRs

35 Posts
7 Users
0 Reactions
13.4 K Views
Posts: 577
Topic starter
(@photovor)
Honorable Member
Joined: 19 years ago
[#5331]

Ok, so I had this idea that we could Charliplex SSRs. ( http://en.wikipedia.org/wiki/Charlieplexing ) A minor re-write on the PIC end, and a standard PIC, with 8 control lines could control 30 SSRs. So a REN16 could control 60 SSRs, with only using 2 cat 5 cables, or 12 control lines (2 for +5 and 2 for GND).

Basically, the 8-pin connector would consist of:
1- +5v
2- GND
3-8 - Control Lines

At the end of each cable, you'd have a SSRoz on drugs, with 30 output channels, just from ONE PIC.

Refresh rate would have to be pretty high, but it could definately be done with standard PIC microcontrollers. This may be a good extension of the 'entry level' board that is currently being talked about.

In the attachment, imagine each LED being the diode side of the MOC3023 (for simplicity, I didn't draw all the other connections). It'd be interesting to design that PCB. So basically you'd have a low part count controller, but have the ability to expand into a ton of channels, all the while minimizing cabling from the controller.


34 Replies
Posts: 577
Topic starter
(@photovor)
Honorable Member
Joined: 19 years ago

Just had another thought- could also be used to upgrade Renard Controllers. Just add the new SSRPlex board, flash new firmware, and you'd be rolling.


Reply
Posts: 6728
(@p-short)
Illustrious Member
Joined: 20 years ago

That works OK for discrete LEDs powered from DC, but not very well for lamps driven through opto/triac pairs and syncronized to the AC line. 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, and you will also run into the speed limitations of the opto-couplers and triacs. After taking into account the extra code complexity you would not end up with much improvement over the current situation.

But go for it if you believe in it.


Reply
ErnieHorning
Posts: 4434
(@erniehorning)
Famed Member
Joined: 19 years ago

Something else that’s being missed here is the fact that once you turn a TRIAC on, it stay’s on for the rest of the half cycle. So if you intend to do dimming, you’d have to keep track and turn them on in the order of brightness.

If you ran LED’s on DC and used FET’s, it would work.


Reply
Posts: 577
Topic starter
(@photovor)
Honorable Member
Joined: 19 years ago

You do have a good point with the speed for the Triacs or optocouplers. I could definitely see an issue there as each channel was updated, say through a fade or something.

I've been thinking of doing this on a proto board to see how it works. I'd be interested in seeing how PWM would work over these 30 LEDs first. Interesting concept none-the-less.


Reply
Posts: 2630
(@dynamoben)
Famed Member
Joined: 19 years ago

This is possible with an AC output and SSRs. Its called dimmer doubling look here:

http://www.doityourselfchristmas.com/forums/showpost.php?p=28648&postcount=1

Instead of looking just for a zerocross you have to know which way the sine wave is moving. In addition you need diodes to split the two sides and of course your voltage will be cut in half.


Reply
ErnieHorning
Posts: 4434
(@erniehorning)
Famed Member
Joined: 19 years ago
DynamoBen wrote:Instead of looking just for a zerocross you have to know which way the sine wave is moving.

Same thing, but different. The splitter uses half wave and charlieplexing would be able to use full wave.

DynamoBen wrote:Instead of looking just for a zerocross you have to know which way the sine wave is moving. In addition you need diodes to split the two sides and of course your voltage will be cut in half.

The document shows that it uses SCR’s, though it could be a TRIAC's. The voltage is the same, the RMS value is less because of the pulse width is less.

Edit: The half wave method could be used with half wave LED's without a circuit board change.


Reply
Posts: 577
Topic starter
(@photovor)
Honorable Member
Joined: 19 years ago
ErnieHorning wrote:Same thing, but different. The splitter uses half wave and charlieplexing would be able to use full wave.The document shows that it uses SCR’s, though it could be a TRIAC's. The voltage is the same, the RMS value is less because of the pulse width is less.

Edit: The half wave method could be used with half wave LED's without a circuit board change.

Just trying to follow this correctly. I'm good with electronics, but I've never done really anything with SCR's or TRIACS (other than putting together a renard board). So I'm still learning those concepts. Are we saying that a triac could be used, and would work correctly with half-wave LED strings? Would there have to be software changes for the detection of the wave?


Reply
ErnieHorning
Posts: 4434
(@erniehorning)
Famed Member
Joined: 19 years ago

A TRIAC already works with LED’s on a Renard. The software needs to be assembled with PWM option enabled. LED’s may work with a non-PWM configuration, but you may have mixed results.

An SCR only works in only one polarity. A TRIAC is basically two SCR’s facing opposite directions with the gates tied together. You could replace an SCR with a TRIAC.


Reply
Posts: 577
Topic starter
(@photovor)
Honorable Member
Joined: 19 years ago

That's actually encouraging. This is a neat concept, but 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. I'm beginning to believe that the only benefits to this is just reduced cable count, which still could be attractive to some. Something that I'll have to play with.


Reply
Page 1 / 4
Share: