0

Below is a triac control circuit used in on-off mode:

enter image description here

The mains freq. is 50Hz. The micro-controller PWM frequancy is set to 5Hz in this simulation. Optotriac is triggering the triac. By playing with the duty cycle is the load current through R2 is enveloped between each pulse width on time.

But if I increase the PWM lets say 100Hz or over the triac is always on and there is no on-off control.

Why is that? Is there an optimum PWM frequency in this case?

user16307
  • 12,049
  • 52
  • 184
  • 320
  • 1
    TRIACs only turn off when the current goes through zero (give or take some advanced details). If you trigger it many more times per second than the mains frequency crosses zero, it obviously can hardly turn off before you turn it back on. – Asmyldof May 09 '16 at 23:23
  • what would you set the optimum pwm freq od the uC for 50Hz mains? – user16307 May 09 '16 at 23:26
  • and what would happen if the optriac wouldnt have zero crossing detecctor bult in? – user16307 May 09 '16 at 23:27
  • 1
  • *I* would not be using PWM with any TRIAC, because it's nonsense. 2. You are using a TRIAC. That's it. Nothing to do with your opto. Look them up. The only difference in zero crossing is that with it you're not getting the misfires, humming and broken TRIACs you would get otherwise.
  • – Asmyldof May 09 '16 at 23:30
  • What is wrong with this use: http://www.modsbyus.com/wp-content/uploads/2013/12/Triac_Schematic.gif – user16307 May 09 '16 at 23:38
  • There's nothing wrong with it other than it's a dimmer and doesn't use zero-cross so it will generate more EMI than a zero-cross circuit would. – Transistor May 10 '16 at 05:56
  • @Asmyldof: I may have caused some confusion in my response to the OP's earlier question where I used the term PWM in this context. See my answer below. – Transistor May 10 '16 at 05:57
  • @user16307: You seem to be struggling with something that is very simple concept. Please explain your application and we'll try and help. – Transistor May 10 '16 at 05:59