Shop OBEX P1 Docs P2 Docs Learn Events
A Solid State Relay, a heater, PWM, and Zero Cross — Parallax Forums

A Solid State Relay, a heater, PWM, and Zero Cross

TCTC Posts: 1,019
edited 2014-03-31 03:14 in Propeller 1
Hello all.

I was designing a board for a TRIAC circuit, that controls 2 heating elements today. The circuit has a Zero Cross circuit that tells the prop when the AC line is at 0. I got a quote from OSHpark, and the price was a little higher than I thought. It is cheaper to get 2 SSR's from ebay (about $8USD).

I have never worked with SSR's and PWM together. So I was wondering, would it be best to use my Zero Cross circuit? Or is there a better idea?

What are your thoughts?

Thanks
TC
«1

Comments

  • jmgjmg Posts: 15,173
    edited 2014-03-27 20:18
    Check your SSR details, but most are Zero cross internally.

    That said, supply networks still like you to switch an even number of mains half cycles, (ie whole cycles) and to do that,some means to check whole cycles is needed.

    You cannot PWM faster than the mains, and again supply networks prefer slower PWM over faster (chattering) PWM

    Usually you would choose the slowest PWM scheme that the thermal inertia and system precision can support, and the best temp controls are using proportional control (think of a low-level triangle wave, superimposed on the Analog feedback.)
    The slicing of that sets your slower PWM
  • FranklinFranklin Posts: 4,747
    edited 2014-03-27 21:34
    TC what kind of thermal mass are we talking? If the mass is large enough compaired to the heater you may not need to switch more than once every 10 seconds or so for good control.
  • kwinnkwinn Posts: 8,697
    edited 2014-03-27 23:17
    As Franklin pointed out you do not need high frequency pwm for controlling so you can turn the power on for a number of cycles. This reduces the need for ensuring that power is on for the full AC cycle every time. You can do a pretty reasonable job of synchronizing the on/off transitions to the AC line by using the system counter. Use waitcnt to make sure the ssr is turned on/off on a multiple of 16,666uSeconds. That will ensure that the ssr is on and off for full AC cycles.

    If you want to synchronize the on/off to the AC zero crossing you can do this without making a board. The optoisolator circuit can be built by soldering the required resistors and wires directly to the opto chip and potting the assembly in epoxy.

    Another way would be to use the secondary voltage from the power supply transformer and a high value resistor (100K or more for 12VAC) to one of the prop pins for detecting the zero crossing. For extra protection use clamping diodes to ground and 3.3V on the input.
  • TCTC Posts: 1,019
    edited 2014-03-28 03:56
    jmg wrote: »
    Check your SSR details, but most are Zero cross internally.

    The SSR I am going to buy is the "SSR-25DA" it is one of the most common SSR's on eBay. From the listings, it says it is Zero Crossing.
    Franklin wrote: »
    TC what kind of thermal mass are we talking? If the mass is large enough compaired to the heater you may not need to switch more than once every 10 seconds or so for good control.

    I have had great luck with each cycle being 1 second. With a scale of 1% to 100%. I am using the code that JonnyMac posted.
    kwinn wrote: »
    If you want to synchronize the on/off to the AC zero crossing you can do this without making a board. The optoisolator circuit can be built by soldering the required resistors and wires directly to the opto chip and potting the assembly in epoxy.

    That is exactly what I was thinking I could do. I was thinking, "I have the hardware from testing and proof-of-concept why not continue using it". I figured it would be better for the prop to know when the AC line goes to 0, instead of guessing where the AC line is at.
  • Duane C. JohnsonDuane C. Johnson Posts: 955
    edited 2014-03-28 08:01
    Hi TC;
    TC wrote: »
    Hello all.

    I was designing a board for a TRIAC circuit, that controls 2 heating elements today. The circuit has a Zero Cross circuit that tells the prop when the AC line is at 0. I got a quote from OSHpark, and the price was a little higher than I thought. It is cheaper to get 2 SSR's from ebay (about $8USD).

    I have never worked with SSR's and PWM together. So I was wondering, would it be best to use my Zero Cross circuit? Or is there a better idea?

    What are your thoughts?

    Thanks
    TC
    Since your driving a heater you don't really need to do true PWM. It sounded like you wanted to use "phase control" of the AC waveform. While this can be done with SSRs it does generate a considerable amount of noise.

    Heaters tend to have relatively long thermal time constants. This means you can implement something similar to PWM by switching whole cycles.
    The crude way would be to go from 0 to 60 cycles every second. This is a resolution of about 1.7%. Or better resolution if the time is increased.

    Another is implemented using "Rate Multiplier" techniques. A hardware method is to use CD4089B Binary or CD4527B Decimal Rate Multiplier chips.

    However, we have the advantage of using a Prop and can do this in software.

    Here is a code snippet that shows how to implement a Rate Multiplier in software.
    NEW
    10  PRINT "FemtoBasic Test Example of"
    20  PRINT " a Rate Multiplier Type of DtoA"
    30  PRINT "  specifically designed to be used"
    40  PRINT "   with SSR Heater controls"
    70  N = 60 : REM Cycles per Loop
    80  A = 20 : REM Hits   per Loop
    90  U =  0
    100 Q = KEYCODE [0] : IF Q = -1 THEN GOTO 210
    110 INPUT "A cycles, out off N cycles ?" ; A , N
    210 X = 0
    220 C = 0
    310 FOR T = 1 TO N
    320   U = ( U + A ) // N : REM This Line does the calculation
    400     REM Test the Calculation and Print a 0 or 1
    410     IF ( U - X) >= A THEN PRINT "0 ";
    420     IF ( U - X) <  A THEN PRINT "1 ";
    430     IF ( U - X) <  A THEN C = C + 1 : REM Count the 1s
    510   X = U              : REM Remember the Last Calculation
    610 NEXT T
    710 PRINT ""
    720 PRINT C ; " Hits out of " ; N ; " Cycles " ; C * 100 / N ; "%"
    910 GOTO 100
    RUN
    
    0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1
    0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1
    20 Hits out of 60 Cycles 33%
    
    The advantage of Rate Multiplier Type DtoA techniques is the short term effective time constant is much shorter than simple Duty Cycle control.

    Duane J
  • jmgjmg Posts: 15,173
    edited 2014-03-28 14:29
    The advantage of Rate Multiplier Type DtoA techniques is the short term effective time constant is much shorter than simple Duty Cycle control.

    Rate multipliers are very good for filtered D to A, but less ideal for power control as the supply companies can 'see' all those switching edges.
    As mentioned above supply companies prefer whole cycles, and longer time-frames on switching.
    I'd suggest extending the time-frame to whatever thermal swings can be tolerated.
  • Duane C. JohnsonDuane C. Johnson Posts: 955
    edited 2014-03-28 16:14
    Hi jmg;
    jmg wrote: »
    Rate multipliers are very good for filtered D to A, but less ideal for power control as the supply companies can 'see' all those switching edges.
    As mentioned above supply companies prefer whole cycles, and longer time-frames on switching.
    I'd suggest extending the time-frame to whatever thermal swings can be tolerated.
    There would be no switching edges if the Rate Multiplier was synchronized with the zero crossing times of the AC waveform.
    In my example program I was assuming 60 levels of heat by activating the Zero Crossing SSR on each full cycle for a total of 60 events totaling 1 second.

    Of course, one could have each event encompass 10 full cycles for a total of 10 seconds.

    In actuality, when using Zero Crossing SSRs, you wouldn't actually need to synchronize with the AC waveform, especially if each event was 10 full cycles. The SSR should take care of the synchronizing.

    The example program, in FemtoBasic, allows one to experiment with different power percentages and total events.

    Duane J
  • TCTC Posts: 1,019
    edited 2014-03-28 18:33
    Thank you Duane for the Rate Multiplier idea, but I am a little lost on how I would use it. I don't really understand your code completely, outside of PBASIC, and SPIN I have no programing experience. I have never used any other language.

    The code I have had great luck with my TRIACS came from JonnyMac. The "ZC" is coming from a H11AA1 opto. It allows detection of zero-cross going positive-to-negative, and negative-to-positive.
    pri triac_ctrl(zc, triac, p_ctrl) | mask, level                 ' launch with congnew
    
      outa[triac] := 0                                              ' make triac pin output
      dira[triac] := 1
    
      repeat
        repeat level from 100 to 1
          waitpeq(1 << zc, 1 << zc, 0)                              ' wait for zero-cross
          if (byte[p_ctrl] => level)                                ' on now?
            outa[triac] := 1
          waitcnt(cnt + (clkfreq / 500))                            ' 2ms delay
          outa[triac] := 0                                          ' kill triac output
    

    I just don't know if I would over work, or screw up the SSR's. I've used SSR's before, but it was always with a simple on/off setup. I never had to worry about pulsing the SSR on/off like I would be doing.
  • Duane C. JohnsonDuane C. Johnson Posts: 955
    edited 2014-03-28 20:25
    Hi TC;
    TC wrote: »
    I just don't know if I would over work, or screw up the SSR's. I've used SSR's before, but it was always with a simple on/off setup. I never had to worry about pulsing the SSR on/off like I would be doing.
    There is nothing you can do to damage the SSR with control signals.
    Of course, you need to stay within the control voltage limits and power ratings of the output.
    You might want to wire in a small filament lamp for the load as it is easy to see how much power is being dissipated for teststing.

    I looked at Fotek SSR-25-DA spec but they don't give much in the way of control pulse timing.
    This may also be useful Fotek SSR Series.

    In reading JonnyMac's code it appears the 2mS pulse allows 1/2 cycle control which can essentially apply a DC component to the AC line under some circumstances.
    I believe one should always strive for full cycle control to eliminate the DC component.
    This should be easy to do by extending the pulse width to 12.5mS for 60Hz or 15mS for 50Hz. Actually 12.5mS should work for both 50Hz and 60Hz.

    BTW, what kind and power level heater are you using? What's it for?

    Duane J
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-03-28 20:41
    I say get rid of the H11AA1 zero-cross trigger. You don't need it. If your PWM cycle length is several seconds, it doesn't matter when you turn it on or off relative to the AC cycle. The SSR always acts -- on or off -- at the next zero crossing after a change of input state. Remember: a heater acts like an extreme lowpass filter if you plot the heat output versus the on/off-modulated input current. So a high PWM frequency buys you nothing except unnecessary complexity.

    -Phil
  • kwinnkwinn Posts: 8,697
    edited 2014-03-28 21:25
    I say get rid of the H11AA1 zero-cross trigger. You don't need it. If your PWM cycle length is several seconds, it doesn't matter when you turn it on or off relative to the AC cycle. The SSR always acts -- on or off -- at the next zero crossing after a change of input state. Remember: a heater acts like an extreme lowpass filter if you plot the heat output versus the on/off-modulated input current. So a high PWM frequency buys you nothing except unnecessary complexity.

    -Phil

    Absolutely right!

    As I posted previously "You can do a pretty reasonable job of synchronizing the on/off transitions to the AC line by using the system counter. Use waitcnt to make sure the ssr is turned on/off on a multiple of 16,666uSeconds. That will ensure that the ssr is on and off for full AC cycles."

    A zero crossing ssr will only turn on and off at the zero crossing point even if the on or off signal comes somewhere else in the ac cycle. That means that as long as the on and off time is a multiple of 1/60th of a second (16,666 usec) the ac power will always be applied for a whole number of cycles and then off for a whole number of cycles. Of course this works only when used with a zero crossing ssr.
  • kwinnkwinn Posts: 8,697
    edited 2014-03-28 21:39
    By using 8 bits (x of 256 ac cycles on) as the basis of the pwm control you can set the power to the heater in increments of slightly less than 1/4% (0.390625%). Makes for precise control of temperature and relatively simple control software.
  • jmgjmg Posts: 15,173
    edited 2014-03-28 22:50
    Hi jmg;
    There would be no switching edges if the Rate Multiplier was synchronized with the zero crossing times of the AC waveform.

    I was not meaning phase control edges, I was meaning the extra edges that a rate Multiplier has, over a more usual PWM.
    ie there are more on/off's in a rate Multiplier frame, than in a PWM frame

    It is those rapid, and not necessary, on-offs that make Rate Multipliers a poor choice for mains power control.
  • jmgjmg Posts: 15,173
    edited 2014-03-28 23:02
    kwinn wrote: »
    ... Use waitcnt to make sure the ssr is turned on/off on a multiple of 16,666uSeconds. That will ensure that the ssr is on and off for full AC cycles

    Unless your mains is 50Hz.... ;)
    kwinn wrote: »
    A zero crossing ssr will only turn on and off at the zero crossing point even if the on or off signal comes somewhere else in the ac cycle. That means that as long as the on and off time is a multiple of 1/60th of a second (16,666 usec) the ac power will always be applied for a whole number of cycles and then off for a whole number of cycles. Of course this works only when used with a zero crossing ssr.

    That is only 'mostly true', as short term phase jitter, and asymmetry in SSR triggering can cause uncertainties when the edges are close to phase aligned with Zero crossing. That will happen as the phases drift over time.

    A leading edge may, or may not be seen, and a trailing edge may, or may not trigger an extra half cycle.

    The ideal is to phase-lock your On/of decisions, to be comfortably clear of the zero crossing points,
    eg you can apply ON at 90' and remove ON at 90' (whole cycle based)

    Really accurate zero cross sense is not needed, you just need to not drift over time, so quite low cost ZCD can be used.
    eg a cheap AC opto coupler + rated resistor or a DC opto coupler, and Diode + rated resistor

    This approach is also mains frequency variation tolerant.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-03-29 08:50
    I'm presuming there's some sort of temperature feedback to complete the loop and that the system's thermal response to a current impulse (as I pointed out above) decays slowly in the extreme. So it seems to me that missing a cycle here or there is unimportant -- along, therefore, with knowledge of the AC phase. Moreover, I see no reason to insist on full cycles when a heater warms just as well when the phase is negative as when it's positive; so a small DC bias will not affect it in any way. Besides, any deterministic phase bias can be eliminated by adding a little random jitter to the pulse width.

    IOW, let's not make the app more complicated than it has to be.

    -Phil
  • jmgjmg Posts: 15,173
    edited 2014-03-29 16:15
    Moreover, I see no reason to insist on full cycles when a heater warms just as well when the phase is negative as when it's positive; so a small DC bias will not affect it in any way.

    There is no thermal reason for whole cycles, that is a 'be nice to the supply company' requirement.
    DC thru transformers is a larger pain, and any electronic commercial system should really have whole-cycle control because it is so easy to do.
    A hobbyist may cut corners, but why not do it properly, as the added effort is minimal.
  • kwinnkwinn Posts: 8,697
    edited 2014-03-29 16:52
    jmg wrote: »
    Unless your mains is 50Hz.... ;)



    That is only 'mostly true', as short term phase jitter, and asymmetry in SSR triggering can cause uncertainties when the edges are close to phase aligned with Zero crossing. That will happen as the phases drift over time.

    A leading edge may, or may not be seen, and a trailing edge may, or may not trigger an extra half cycle.

    The ideal is to phase-lock your On/of decisions, to be comfortably clear of the zero crossing points,
    eg you can apply ON at 90' and remove ON at 90' (whole cycle based)

    Really accurate zero cross sense is not needed, you just need to not drift over time, so quite low cost ZCD can be used.
    eg a cheap AC opto coupler + rated resistor or a DC opto coupler, and Diode + rated resistor

    This approach is also mains frequency variation tolerant.

    Both valid points, however TC is in the US, so 60Hz. As for the drift/jitter, as you pointed out this is not a requirement of the project, just being nice to the power provider. In any case such drift or jitter would only result in an extra half cycle once out of many whole cycles.
  • Duane C. JohnsonDuane C. Johnson Posts: 955
    edited 2014-03-29 17:47
    Hi jmg;
    jmg wrote: »
    There is no thermal reason for whole cycles, that is a 'be nice to the supply company' requirement.
    DC thru transformers is a larger pain, and any electronic commercial system should really have whole-cycle control because it is so easy to do.
    A hobbyist may cut corners, but why not do it properly, as the added effort is minimal.
    Exactly!!!
    There have been numerous examples of power distribution transformers being destroyed and some catching fire when heater controls have malfunctioned and running in half cycle mode.

    I also don't see a reason to not use full cycle control as it is so easy to do.

    We don't know what the specifications of TC's heater, but he is using a 25A SSR. This would imply a capability of 5500W.
    Even if TC's heater is much smaller others might benefit from this discussion.

    Even small systems can get into trouble. Say the heater is powered through a small step down transformer. Half cycling can cause the core to saturate and over heat. This is the primary reason full wave rectification is superior to half wave rectification.

    Duane J
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-03-29 19:09
    I don't see how, if the PWM period is on the order of seconds, an occasional odd number of half cycles will affect any transformer. I do not doubt that the caveat holds for higher-frequency pulsing, where the DC bias could be significant. But for slow on/off cycling? Color me skeptical; I think the caution is overblown.

    -Phil
  • kwinnkwinn Posts: 8,697
    edited 2014-03-29 20:30
    I don't see how, if the PWM period is on the order of seconds, an occasional odd number of half cycles will affect any transformer. I do not doubt that the caveat holds for higher-frequency pulsing, where the DC bias could be significant. But for slow on/off cycling? Color me skeptical; I think the caution is overblown.

    -Phil

    +1

    There are a lot of power supplies and other circuits out there that only use one half of the ac cycle and they do not seem to cause a problem for the power providers. Individually this may seem to be a problem but on average it tends to cancel out. Don't forget that power to homes and most businesses is provided as 220V with neutral as the center tap. even if everyone tapped the positive (or negative) half cycle the current draw on each half cycle would tend to even out.
  • TCTC Posts: 1,019
    edited 2014-03-30 05:18
    I am so sorry I have not had the chance to chime in.

    For the heaters;
    they are in a $15 Farberware (Wal-Mart) toaster oven. the top heater is rated at 120V/650W, the bottom one is rated at 120V/450W. The internal sizes are about 10" x 10" x 6".

    I am making a DIY reflow oven. I want to try to have a 2% to 5% accuracy (LOT harder that I thought). I want to have the top, and bottom heater independent of each other. It would be nice to be able to shrink heat shrink, without the chance of "toasting" parts. For that example, I would be using the drip tray that came with the oven, and only use the bottom heater. Having independent heaters allows me to control the temperatures above and below the board.

    The TRAIC circuit I was using came from a Treasure Chest crane machine. Here is my schematic that I copied from the motherboard of the crane machine
    HeaterBoard.jpg
    .

    The H11A1M H11AA1M was not on the motherboard, JonnyMac provided it in this post.

    The temperature measurements are coming from 2 Maxim Thermocouple modules. My PID outputs a value from 0 to 100.
    1024 x 561 - 43K
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2014-03-30 08:17
    TC wrote: »
    The H11A1M was not on the motherboard, JonnyMac provided it in this post.

    Put me down as the third here to question the need for phase control technique with regard to managing heaters in this context.
  • JonnyMacJonnyMac Posts: 9,107
    edited 2014-03-30 08:49
    For the record, I didn't suggest phase control as it seems over-kill on a system with such a slow response. What I suggested -- because I had considered it for a project I never got to -- was using the ZC input to count half-cycles in order to get simple control (see code suggestion in post #9). Want 50%? 50 cycles on, 50 cycles off. By monitoring and switching on the ZC, noise could be mitigated as well (if he's using plain triacs versus packaged SSRs).

    Maybe this is overkill, too -- but we'll never know unless somebody tries it. The negative technical speculation dripping with condescension really is making a mess of these forums....
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2014-03-30 09:58
    There's been no condescension.
    Some people have taken an opposing point of view.

    A ZC triac driver would eliminate any turn-on noise and the rest is just "positive" technical speculation - in my opinion (if that's allowed.)
  • jmgjmg Posts: 15,173
    edited 2014-03-30 15:20
    TC wrote: »

    The H11A1M was not on the motherboard, JonnyMac provided it in this post.

    You have made a slip up there - look carefully at the original post and it has a H11AA1 , which has back to back LEDS.

    If you use a single opto, (cheaper and easier to find) you will need an external diode for reverse protection.

    It is then not a classic Zero cross, but in this usage, that does not really matter.
    The simpler Full cycle sense at the opto, also gives you the technically better full cycle switching.

    ( If you do want Zero cross, and std opto, then a Bridge is needed.)

    You can also increase the resistor values for a signal used only for phase sync, to drop power losses.
    Even 10x those values would still work fine for (whole) cycle counting and trigger decisions.

    You actually do not want the decisions to be too close to voltage crossing anyway, and if you do not plan to use a schmitt, then a liberal noise filter in SW would ensure only one sense per mains cycle.

    eg wait until ZCD has been low for 2~3ms, then make Count/PwM Frame decisions
  • kwinnkwinn Posts: 8,697
    edited 2014-03-30 18:15
    JonnyMac wrote: »
    For the record, I didn't suggest phase control as it seems over-kill on a system with such a slow response. What I suggested -- because I had considered it for a project I never got to -- was using the ZC input to count half-cycles in order to get simple control (see code suggestion in post #9). Want 50%? 50 cycles on, 50 cycles off. By monitoring and switching on the ZC, noise could be mitigated as well (if he's using plain triacs versus packaged SSRs).

    Maybe this is overkill, too -- but we'll never know unless somebody tries it. The negative technical speculation dripping with condescension really is making a mess of these forums....

    As far as I can see from re-reading the posts so far no one (including TC, and TC, please correct me if I am wrong) suggested phase control. The choice of a zero crossing ssr rules out phase control in any case. I think it was the mention of zero crossing that mislead some of us into assuming that it would be using phase control. Detecting zero crossing does allow control signals to synchronize with the ac line and makes the software controlling the power to the heaters a little bit simpler .
  • TCTC Posts: 1,019
    edited 2014-03-30 18:55
    jmg wrote: »
    You have made a slip up there - look carefully at the original post and it has a H11AA1 , which has back to back LEDS.

    That was just a typo, I have corrected the post. Here is the opto I bought
    If you use a single opto, (cheaper and easier to find) you will need an external diode for reverse protection.

    It is then not a classic Zero cross, but in this usage, that does not really matter.
    The simpler Full cycle sense at the opto, also gives you the technically better full cycle switching.

    ( If you do want Zero cross, and std opto, then a Bridge is needed.)

    You can also increase the resistor values for a signal used only for phase sync, to drop power losses.
    Even 10x those values would still work fine for (whole) cycle counting and trigger decisions.

    You actually do not want the decisions to be too close to voltage crossing anyway, and if you do not plan to use a schmitt, then a liberal noise filter in SW would ensure only one sense per mains cycle.

    eg wait until ZCD has been low for 2~3ms, then make Count/PwM Frame decisions

    I have had the H11AA1 for a couple months now. What benefits would it be to buy a new part, change the working code I have right now, and start all over again?
    kwinn wrote: »
    As far as I can see from re-reading the posts so far no one (including TC, and TC, please correct me if I am wrong) suggested phase control. The choice of a zero crossing ssr rules out phase control in any case. I think it was the mention of zero crossing that mislead some of us into assuming that it would be using phase control. Detecting zero crossing does allow control signals to synchronize with the ac line and makes the software controlling the power to the heaters a little bit simpler .

    I never said anything about phase control. If I was driving a light, or a motor, phase control would be good.

    I am sorry if I have confused everyone on what I was asking for help with. I was only asking, could I change my current hardware and programing over to work with SSR's, and still keep it simple?
  • jmgjmg Posts: 15,173
    edited 2014-03-30 19:16
    TC wrote: »
    I have had the H11AA1 for a couple months now. What benefits would it be to buy a new part, change the working code I have right now, and start all over again?

    If you already have the Dual-Led Opto part, simply apply 'if it ain't broke, don't fix it', and stick with what works :)

    I found some more notes on power control, some mention a flicker avoidance upper limit of 2Hz on any switching rates
    (which is why rate multiplier is less than ideal here), and another I found mentioned even half cycles of ON (ie whole cycles) and odd half cycles of OFF.

    The latter idea I've not seen before, but it would alternate the leading power 'edge', which could make sense with a lot of these, which is what a proper/commercial heater thermostat design needs to consider.
  • kwinnkwinn Posts: 8,697
    edited 2014-03-30 21:53
    jmg wrote: »
    If you already have the Dual-Led Opto part, simply apply 'if it ain't broke, don't fix it', and stick with what works :)

    Have to agree 100% with that. A zero crossing pulse is nice to have even if it is not absolutely needed for this.
    I found some more notes on power control, some mention a flicker avoidance upper limit of 2Hz on any switching rates(which is why rate multiplier is less than ideal here),

    Understandable. Turning a 600W load on and off will make the lights in most houses flicker a bit, never mind doing the same for a 1000W - 1200W load.
    and another I found mentioned even half cycles of ON (ie whole cycles) and odd half cycles of OFF.

    The latter idea I've not seen before, but it would alternate the leading power 'edge', which could make sense with a lot of these, which is what a proper/commercial heater thermostat design needs to consider.

    Never heard of this before. Do you have a link to where you found it? Could this simply be their way of saying that whole cycles should be switched on or off?
  • jmgjmg Posts: 15,173
    edited 2014-03-31 03:14
    kwinn wrote: »
    Never heard of this before. Do you have a link to where you found it? Could this simply be their way of saying that whole cycles should be switched on or off?
    I forget exactly where, but google found some comments on this.

    It's a little more subtle than whole cycles for both ON and OFF, as OFF for odd half cycles, will alternate the phase of the next ON burst (which will be whole cycles).
    I can see for something like an oven-top simmerstat, that could help, as you want to avoid all loads turning on on the same half cycle.
    Avoiding a single precise frame time would also wander the phase of many controllers.
Sign In or Register to comment.