Triac Circuit Advice for Zero Crossing

Go To Last Post
28 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi

 

I am planning to develop a PCB, which needs to control power (24V AC 2A(MAX) and 240V 5(MAX)).  The applicance will be 24VAC solenoids and 240V FANS/Motors.

 

Instead of using relays, I would like to try to use a Triac circuit. I aim to place about 8 triacs.

 

Would like to have some advice from anyone who has some experience. 

 

The device needs to controlled by GPIO either from AVR or buffer IC, but from my understanding a Zero Cross might need to be also implemented.

 

If I am correct Zero Crossing is only required if you aim to create some type of dimmer switch?  I have seen some some Triac Drivers come with Zero Cross and others do not.

 

Can Triacs be used for DC controlling?

 

What is the heat dispatation like from a Triac, in comparsion to a relay?

 

Thanks

 

 

 

 

Thanks

Regards

DJ

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Zero cross not needed, but preferred, especially for noise emissions (such as for PWM)...zero crossing lets the current ramp up slowly as the sinewave goes up.  For something that is rarely going on /off (not 500 times a second), is is that less important....if you turn it on every hour, is a surge ok??? You be the judge.

 

Yes, DC is fine, though turnoff is not possible (or difficult).   You can use a triac or SCR as a simple/clever latch (till the current drops really low).

 

A heavy relay has "zero" voltage drop, hence little heat (what is your contact resistance??).

 

An SCR/Triac  has Vdrop, hence losses...dig out your calculator.  If switching every minute, switching losses are minimal (other than perhaps things like motor or lightbulb large surges).

 

A relay provides isolation--perhaps an important consideration.  Triacs make that  a little more complicated, not too bad.

 

 

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

I do zero-cross with relays, too.  Makes the relays happier (for basically the same reasons).  S.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I do zero-cross with relays, too

That's fast---at least coming close. is better than nothing

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

djoshi wrote:
Can Triacs be used for DC controlling?

Yes for turning on, no so much for turning off! devil

 

Scroungre wrote:
I do zero-cross with relays, too

Helps to prevent arc over when the points separate! (i.e. opening at or near the ZC)

 

Jim

 

(Possum Lodge oath) Quando omni flunkus, moritati.

"I thought growing old would take longer"

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

djoshi wrote:
Instead of using relays, I would like to try to use a Triac circuit

Have you considered Solid-State Relays (SSR) ?

 

https://en.wikipedia.org/wiki/Solid-state_relay

 

djoshi wrote:
Can Triacs be used for DC controlling?

What kind of "controlling" ?

 

eg, you could rectify the the controlled AC output of a triac ...

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have had a look at SSR, but aim to use something much smaller like a Triac.

 

The DC device, would be a 12V FAN. 

 

I guess i can avoid using Triac for DC powering and maybe use a relay when required for the DC device.

 

 

 

 

Thanks

Regards

DJ

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I guess i can avoid using Triac for DC powering and maybe use a relay when required for the DC device.

Don't get nutty, use a mosfet...relays are good for severe overloads/environments that might suddenly "blow" a mosfet  

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


or a protected MOSFET; very common for 5V USB, common for 12Vdc, some for 24Vdc automotive.

MIC2514

[top of page 5]

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The protected mosfets are really good....relays are great when there is some super severe things going on & a heavy pair of contacts can take the beating (like a contactor). 

 

Low side protected fets are a good fit many times...take a look at ZXMS6004

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks

 

I normally use the following: TPS27081ADDCR. Which i believe is very similar in functionality. 

 

 

Thanks

Regards

DJ

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I will keep this Triac  PCB purely for AC power.

 

I will also research into the PCB layout side with AC power to ensure that copper thickness on PCB is correct and layout is right. Is there is anything i should keep in mind?

Thanks

Regards

DJ

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 Is there is anything i should keep in mind?

If dealing with line voltage (or possibility of line connection via failure), the triac should be isolated with an optocoupler.

 

Unless you must, use a low side switch instead of a high side...save $$.   Many auto use high side, since the module is bolted to gnd

The hi side does have the advantage, if the V+ out is shorted downstream along the wire, the high side driver will take care of things.

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

Last Edited: Fri. Jul 16, 2021 - 09:32 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Triacs have their own set of requirements. Voltage drop across a triac is around 1-2V. Multiply that by 5A you have a heatsinking requirement. The I2t rating is normally fairly low, so an overload can easily blow a triac. The triac will fail way before the fuse blows (unless you have expensive high speed fuses). Then there’s snubbing required to filter out high voltage transients. A relay is so much simpler. 

As for pcb layout - track sizing is critical. Ensure you have adequate fusing. Creepage distance is also a legal requirement.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

avrcandies wrote:

 Is there is anything i should keep in mind?

If dealing with line voltage (or possibility of line connection via failure), the triac should be isolated with an optocoupler.

 

Unless you must, use a low side switch instead of a high side...save $$.   Many auto use high side, since the module is bolted to gnd

The hi side does have the advantage, if the V+ out is shorted downstream along the wire, the high side driver will take care of things.

 

I am thinking of using something such as

 

https://www.mouser.co.uk/datashe... and

 

https://static6.arrow.com/aropdf...

 

The low side switch you are referring to, i am guessing this is for the mosfet?

 

Thanks

Regards

DJ

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Kartman wrote:

Triacs have their own set of requirements. Voltage drop across a triac is around 1-2V. Multiply that by 5A you have a heatsinking requirement. The I2t rating is normally fairly low, so an overload can easily blow a triac. The triac will fail way before the fuse blows (unless you have expensive high speed fuses). Then there’s snubbing required to filter out high voltage transients. A relay is so much simpler. 

As for pcb layout - track sizing is critical. Ensure you have adequate fusing. Creepage distance is also a legal requirement.

 

Thanks

 

5A is worst case, i am thinking for 240V it would be best to use a Relay, but for 24VAC i can use a triac as i can use less space on a PCB.

 

Do we require a fuse and filters, even for 24VAC? I am to use PCB base transformer. 

 

Triac come in various SMD packages, such as a  SC-73 and  DPAK, i am thinking DPAK would be a better choice as it popular package among multiple companies?

 

 

In regards to the PCB

Thanks

Regards

DJ

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

such as a  SC-73 and  DPAK...

 

DPAK is MUCH beefier than SC-73 , use that, the others are for children.

 

Do we require a fuse and filters, even for 24VAC? ​​​​​​​....

 

is it a 2 amp transformer or 30 amp transformer??   For lower currents try a polyswitch.  Generally, fuse the transformer input.

 

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

djoshi wrote:

5A is worst case, i am thinking for 240V it would be best to use a Relay, but for 24VAC i can use a triac as i can use less space on a PCB.

Do we require a fuse and filters, even for 24VAC? I am to use PCB base transformer. 

Triac come in various SMD packages, such as a  SC-73 and  DPAK, i am thinking DPAK would be a better choice as it popular package among multiple companies?

 

You need to check the thermal numbers. 5A is about 5 watts which is quite a lot of heat to manage and may be above a DPAK.  Generally with Triacs you 'work backwards' based on heat, and that may mean many more amps, to get a cool-able package.

 

To keep 23VAC heat down, you could look at SSR's for the 24VAC, or use MOSFETs to make a SSR.  

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

 

Do you really need 5A? . ...also 5A avg, vs 5A RMS vs 5A peak are all different

 

see last example here (example of 5A & DPAK)

 

https://www.farnell.com/datashee...

 

A very popular 4A RMS Triac   (by convention 4A means 4A RMS)

https://www.ween-semi.com/sites/...

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

Last Edited: Sun. Jul 18, 2021 - 03:09 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks

 

I will read the documents in detail when i get the chance. 

 

I am planning to use Triacs for only the 24VAC and use a individual relays for when i need to use it for 240V. 

 

I can confirm that 24VAC solenoid that will be used will use 250-350mA,worst case is 4 solenoids could be operated at one time, but can request to operate one at at time.

 

I guess due to the heat dissipation and to keep the PCB costing/design simple i should avoid designing some universal style PCB but keep it constraint to what is necessary, which is 250-300mA solenoid need power, instead of trying to design a PCB power 5A.

 

Would i be correct in saying there should not be much heat at 250-350mA @24V?

 

Does it make difference if i was to use a Triac that could be rated to 8A compared to 4A, in terms of heat dissipation or anything else?

For example a 1.2A version is higher in price compared to a 4A, but a 8A version is more a less costs the same as a 4A RMS version. So i am thinking it might be better to use a 8A.

 

I done a quick search for DPAK triac on mouser, i did multiple version for example  Rated Repetitive Off-State Voltage 800V vs 600V, would this make any difference for my requirement?

 

I have not yet gone through all the Datasheets, but would i be correct in saying all DPAK triacs all use the same pin out?

 

In regards to Zero Cross, if there is no Zero Cross, i understand it would introduce some noise emissions, can this effect RF performance in the same design?

 

 

 

 

Thanks

Regards

DJ

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

In regards to Zero Cross, if there is no Zero Cross, i understand it would introduce some noise emissions, can this effect RF performance in the same design?

   not once it is on--no noise

 

Low voltage might be better in terms of other parameters, such a perhaps trigger or maybe surge

 

Does it make difference if i was to use a Triac that could be rated to 8A compared to 4A, in terms of heat dissipation or anything else?

  prob lower die & lead resistance...every milliohm adds up.

 

I run 2A  all  time ...cool as ice on the pcb.

 

get some copper board & knife out a small copper area, say 1 inch square...solder one down & try it with a load.

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

djoshi wrote:

Would i be correct in saying there should not be much heat at 250-350mA @24V?

As a rough calc, you can assume 1V drop across a Triac so there you have 350mW, which is not much heat. 

 

djoshi wrote:

Does it make difference if i was to use a Triac that could be rated to 8A compared to 4A, in terms of heat dissipation or anything else?

For example a 1.2A version is higher in price compared to a 4A, but a 8A version is more a less costs the same as a 4A RMS version. So i am thinking it might be better to use a 8A.

I done a quick search for DPAK triac on mouser, i did multiple version for example  Rated Repetitive Off-State Voltage 800V vs 600V, would this make any difference for my requirement?

More volts and more amps give you more margin.

Triacs are a NPNP junction, so the on voltage is a diode drop plus a saturated transistor, and that offset effect means power loss does not improve as much as moving from a 4A MOSFET to a 8A MOSFET for example.

 

Yes, you can find the lowest price parts are not always the lowest current ones.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

avrcandies wrote:

In regards to Zero Cross, if there is no Zero Cross, i understand it would introduce some noise emissions, can this effect RF performance in the same design?

   not once it is on--no noise

 

So can there be an issue during the time its in process of switching on or off. Maybe as a good practise is it worth using a Optocouplers which includes a Zero Cross? I am thinking maybe something from the SMD4 package, unless there is better option:

https://www.mouser.co.uk/Optoelectronics/Optocouplers-Photocouplers/Triac-SCR-Output-Optocouplers/_/N-6x5jl?P=1z0s3nm

 

Who-me wrote:

More volts and more amps give you more margin.

Triacs are a NPNP junction, so the on voltage is a diode drop plus a saturated transistor, and that offset effect means power loss does not improve as much as moving from a 4A MOSFET to a 8A MOSFET for example.

Yes, you can find the lowest price parts are not always the lowest current ones.

 

I will use a 4A as a minimum , but at the time of purchase i can compare the best option if 8A is also available. 

 

 

 

Thanks

Regards

DJ

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Do you need zero cross to avoid a 20 us noise when you turn on your beer sign once a month?  How much on/off will you have?

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

djoshi wrote:
... Optocouplers which includes a Zero Cross?
and current gain for insensitive thyristors

djoshi wrote:
... unless there is better option:
ZCD in either discrete or monolithic form.

The Art of Electronics 3rd Edition | by Horowitz and Hill

Download a sample chapter

[page 11, middle of right column]

4.6.6 Zero-crossing detector

269

AC/DC Converter IC Support Page | ROHM Semiconductor - ROHM Co., Ltd.

[near bottom]

AC Voltage Zero Cross Detection

Migration from the megaAVR® to AVR® Dx Microcontroller Families (additional peripherals, ZCD)

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

avrcandies wrote:

Do you need zero cross to avoid a 20 us noise when you turn on your beer sign once a month?  How much on/off will you have?

 

If avoid able it would be preferred just to ensure no RF interface happens. Have you had any issue with RF signals?

 

Worst case, on/off could happen few times a day. During testing/design it can happen more often.

Thanks

Regards

DJ

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There are many many many systems where no zero crossing is used (occasional on/off), so my worry would be rather low.

 

If you are PWMMing (such as dimming) or switching something continuously like making a switching supply, then pay more heed.

 

You can also use the ADC to sample & find a close position to the zero cross time, however that is not isolated (unless the entire AVR circuit/user controls are isolated).

There are optoisolators that include zero cross trig.

 

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ok, that fine as there are many design which do not use zero crossing.

 

I am using the following device with a Triac

 

https://www.mouser.co.uk/datasheet/2/427/vot8026ab-1767667.pdf

 

SMD6 package look popular and it includes non Zero dectection in the same device and pricing is low £0.30-£0.40

 

 

Thanks

Regards

DJ