This is a good question - in part because the subject is more complex than it may appear. and the "obvious" answers may be less good than they seem.
Short version:
If all is as you say and as it seems then this device is notionally OK to use if employed correctly.
But there are several factors that can make this a bad choice.
Your selected Optocoupler is a "zero crossing triggered type so your PWM may work differently than you expect. Or may not
Depending on factors discussed below, a relaay based solution may be superior for your purpose.
Opto22, the indicated brand, are a very reputable and experienced manufacturer. Their data sheet can be relied on to be correct, with all the normal qualifications. Understanding the data sheet and designing appropriately is essential.
How hard can it be to "design" an SSR hot water control cicruit.
Actually not overly hard BUT get under the minimum limit and bad things happen.
Be CERTAIN that the part is genuine - its well known enough to be counterfeited.
The data sheet says Vout_on_drp is 1.6V worst case.
At 25A dissipation = V x I = 1.6 x 25 = 40 Watts.
Operating temperature = 40 TO 100 C
Thermal resistance Rth is 1.2 C/Watt
Temperature rise = Trisemax Watts x Rth = 40 x 1.2 = 48C Say 50C.
Tmax = 100 C
so heatsink max = Tabsmax - Trisemax = 100 - 50 = 50C.
Assume a max ambient temperature Tamb of 30C. That may be low in some locations.
Heat sink max rise = (Thsmax - Tambmax)/ Rpax = (50-30)/40 = 0.5 C/W.
That's either a very large unblown Al heatsink, or something cold and large creatively used as a HS ot a smaller heatsink with fan.
With fan failure = heap of slag.
The Opto22 claims <= 1.6V max drop at full load.
It probably achieves this.
Clones and fakes may not.
... I have a heat sink from the previous SSR I was using, I was just going to use that same one
Is it rated at 0.5 C/W? :-) :-( . .... !
More horsepower!:
That 'design' assumed Imax is as stated. But that's at nominal 220 VAC (presumably). At Imains = 230 V then current may be 25A x 230/220 =
26A and power in SSR up by about 10% to about 45 W.
It would not be uncommon in many cases for a 220 VAC line to be run at 230V. Or more on occasion.
As per datasheet - ALL Opto22 SSRs have internal zero crossing circuitry.
__________
PWM
TRIAC triggering:
@Transistor gives some details on TRIAC firing.
Once triggered,
. all TRIACs
. when switching AC loads
... (except for special cases that should not apply here)
.... remain on until the end of the load half cycle in progress when the trigger voltage is removed.
So if a TRIAC is conducting and triggered or retriggered at the 0 degrees zero crossing point then if the trigger voltage is removed anywhere in the ~~= 0 to 175 degree range, will turn off at the 180 degree zero crossing.
This applies to a pure resistive load. Inductive or capacitive loads may add complications which should not matter here.
"Zero Crossing" TRIAC designs only fire on or near the load signal zero crossing and then stay on for at least the next half cycle.
Random triggerable / non-zero-crossing types turn on when triggered (more or less) and then remain on for as long as Vtrigger is maintained plus until the period to the next zero crossing point.
SO applying PWM at a rate >> s x line frequency (100 or 120 Hz for 50 & 1\60 Hz mains), will trigger on each PWM pulse but will not turn off until the next mains zero crossing. So a PWM with eg 1 kHz frame rate ans say 1% - 99% duty cycle will permanently turn a TRIAC on. ie PWM frame rate > line frequency does not work.
SUB line frequency PWM frame rate: However, if PWM frame rate is << 2 x line frequency the PWM will work 'somewhat correctly' - ie waveform may be slightly 'distorted' as turnoffs will occur at the next zero crossing and a ZC version will also turn on at zero crossings.
This means that a ZC TRIAC's on times will be quantised in 1/2f time periods and a non ZC TRIAC will have its on periods after the 1st ZC after triggering quantised in 1/2F steps but the first on period MAY be 0 to 1/2f long.
In this case:
The PWM signal runs at a 0.5 Hz frequency with a duty cycle typically ranging between 80% and 100%
I'll assume 50 Hz mains as the arithmetic is (v slightly) tidier.
Half cycle period = 1/(2 x 50) = 10 mS.
So PWM frame period at 0.5 Hz is 2000 ms = 200 x mains half cycles
80% - 90% PWM will be on for 1600 to 1800 ms typically = a variation of 20 half cycles. So ~=5% per step across 80%-90% are available.
In some applications this would be unnacceptably coarse but if this is a brewing application (as a browse through profile suggests it may be :-) )(but, it may not) then the resolution is probably good enough due to thermal time constants.
Affect of PWM frame rate on heating control:
Water has a 'thermal mass' of ~= 4.2 J/cc
ie it kaes ~= 4.2 W of heating to raise 1cc of water by 1 degree C.
Beer or soup of ... will be similar enough for general sanity checking.
Rate of change of temperature of water with energy input is ~=
T change = Watts / cc / 4.2 degrees C/second
or T change ~= kW / litres / 4.2 degress C per second.
In this case at 4.2/5.5 ~= 76% PWM you'd get approx
Tchange = 4.2 kW / litres /4.2
or about 1/litres degree-C / second with no thermal losses.
ie 1 C/second with 1 litre
10 seconds per degree C with 10 litres
100 seconds per degree C with 100 litres
A PWM cycle time of 2 seconds and a 10 litre load will rise ~=0.2C/second at 4.2 kW. 100 litres = 0.02C. Given that the PWM period can be fine tuned in 5% steps, fluctuations of around 0.05C per 2 second PWM frame can probably be achieved with as little as 10 litres of "load".
Switching cycles:
At 0.5 Hz rate that's 1800/hour. A switch rated at 100,000 cycles would last
~- 55 hours. At a 500,000 cycle rating that's 277 hours.
If this is for a water heater in continuous daily use neither is acceptable.
If it's eg a beer brewer then 277 hours before replacement may be acceptable.
A relay will do this job with no heatsinking and minimal heat generation. If a relay is used it MUST be a quality part whose specs are guaranteed correct. There are many possibilities - but OMRON is a good starting point.
OPTO22 also sell SSRs with lower thermal resistances - usually due to having higher rated currents.
finis