I'm designing a new controller for myself and just wanted to see if anyone else may be interested in it. If there are, I will make it available.
Controller will have an RS485 communication port and be driven by a Freescale S08 micro. The micro will directly drive 24 channels. I am planning on having the SSRs built right into the controller - but they could also be made external.
The cpu will have a clock frequency of 40 Mhz and an internal bus frequency of 20Mhz - or an instruction time of 50 nsecs.
Each channel will consume 11 cpu cycles.
A dimming window of 30 usecs allows a range of 255 intensity values. This 30 usecs windows equates to 600 cpu cycles.
An SCI interrupt (RS 485 character) will consume approx 46 cycles.
So - (24 * 11) + 46 = 310 cycles ... about half of the time available in the dimming window to process a RS485 character and update 24 dim-able channels. Lots of time to spare so timing is far from critical.
Communication Protocol frame size less than 30 chars (includes a unique ID per controller) at 115200 baud means you can have 30 similar controllers on a single RS485 bus with all updates occurring within a single dimming window.
If you drop the baud rate in half - you will also cut the number of controllers on the bus in half.
I'm in board layout now - I will have my first prototype in a month or two.
If you are interested, and are of a software type, Freescale makes their Code Warrior development tool available for free. Free is any thing written in assembler or 8K of C.
Micro price at Digikey is less than $3.
I will be doing the firmware in Assembler - will include a RS485 bootloader for field upgrade ability.
What advantages does this controller have over other designs here?
You may want to look at increasing the resolution to 10 or 12-bit to allow for better dimming curves - not sure if you have enough room for that but something to think about...
If you're asking if you should give up what you have - NO.
It may end up being cheaper because it will use only 1 micro compared to using multiple micros in many of the other designs.
Cpu bandwidth will be around 50% compared to 85 to 95% in many of the other designs. This means future expansion or features could be added without a cpu performance concern.
Dimming utilizes Zero Crossing PWM - so works with LEDS. - not to say the others don't.
This board is designed for bus operations - not message passing that is associated with RS232 designs.
got anything like schematics ? to show yet.. or is all still in design stages ?
