# Electronic – arduino – Switching frequency of a solid state relay

arduinopower electronicsrelaysolid-state-relay

I bought a SainSmart 4 channel solid state relay recently. I am planning to use an Arduino to control some Christmas lights I've put up around my home. My question is: How fast can you switch SSR's on and off? For example, what if I want to have a string of lights flash, what would be an appropriate flash rate so the relay won't get damaged?

This is the relay module I am using: http://www.sainsmart.com/sainsmart-4-channel-5v-solid-state-relay-module-board-omron-ssr-avr-dsp-arduino.html

On specs it says: OUTPUT EACH CHANNEL: Load voltage range: 75 to 264VAC (50/60Hz)

But the 50/60Hz isn't stating the max switching frequency, is it?

Thanks for any help.

According to the datasheet, the G3MB-202P is a discontinued zero-crossing switched AC SSR.

So, when it is commanded to turn on, it will delay by up to 1/2 of an AC cycle until the next zero crossing. So, at 50/60Hz it can delay by as much as 10msec or 8.33msec

When it is commanded to turn off, it cannot turn off until the current crosses zero. This can be as much as 10msec or 8.33 msec again, but not necessarily in phase with the voltage.

For a resistive load you if you commanded it on for a bit more than 10msec it would be guaranteed to turn on, and commanded it off for a bit more than 10msec it would be guaranteed to turn off. Using say 10.5 msec for each, that's 21msec or about 47Hz. In reality you would get beating between commands and response frequencies with wildly varying amounts of power, so perhaps 1/10 of that frequency or about 5 or 6Hz is more reasonable as a maximum, but even that is a bit high.

If you want to get 'even' and fairly-beat free power (for example for a PWM heater control), normally 0.5Hz is about right (gives you 200 half cycles per period at least).

Nothing you can do by commanding the relay will damage it with a simple load like lights, but you may get undesirable (or perhaps interesting) variations in light if you cycle it too fast. Some will probably appear as smooth pulsations in brightness, which might be quite okay. The life of the lights might be shortened a bit if they're incandescent, but they're only Christmas lights.