TheWiggman said:
I have a genuine FOTEK 40A and ripoff 25A with a new one in the mail.
http://www.fotek.com.hk/solid/SSR-1.htm
Still struggling with the idea that the Chinese are ripping off their already low quality products.
Lol, yeah it's a little ridiculous. Still, there are a lot of businesses in China and some good stuff - so lots of business opportunity I guess.
Looks like a <10ms response time to turn on. This should actually be the time for the LED in the photocoupler to turn on, and the photoresistor (or whatever) tu pick this up and send voltage to the AC zero switching circuit.
At 50Hz, a half wave is 10ms. So as long as your PID signal it holding ON when the signal gets to the zero crossing detection, it will turn on the element. If it's then OFF within the half wave, it will only turn off at the next zero crossing, so a period of 10ms. That's zero switching and 50Hz, not really an SSR spec.
So really, if you have a 10ms on signal and an 8s response time, even if it gets the signal early it should still be responding (8ms passed), on (from the input) and going past a zero crossing, so the element turns on.
So what if the input signal is less than 10ms, say 8s? Is the response time were 6s, you've got 2s of overlap to get that zero crossing in and 10ms of element time. But you could also miss it completely - with your input off before the zero crossing.
So, really, your minimum input time should be something like 12ms. How's do you do this? Probably a few things to consider:
-you can keep the PIDoutputlimits to (0,255) (doubles) and recognise that for certain outputs it won't turn on the SSR
-You could set the outputs to (1,255), and the slice/window to be whatever 1/255 would be to equal 12ms (3s would benefit appropriate)
-you could multiply the output by 2.5 to normalise the 0-255 to 0-100, but I would recommend rolling the gain back to 400-500.
There are probably some other things too - but basically any output at the moment that is less than 10ms probably won't do anything.