element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
EAGLE User Support (English) AC mains on a PCB ?
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 107 replies
  • Answers 10 answers
  • Subscribers 186 subscribers
  • Views 18206 views
  • Users 0 members are here
Related

AC mains on a PCB ?

anishkgt
anishkgt over 9 years ago

A total newbie to eagle design and PCB fab. So plase bear with on my silly questions, trying to learn.

 

I have pcb that is schematically completed with the layout. Before i start the fabrication process i need some expert advise if the components placed and the wires routed are ok for the ac mains and the others. The load here will be a transformer. The ac mains are 240VAC and all works well as designed in the schematic on a bread broad except for the load for which MOC3023 is yet to arrive from where i've ordered.

 

 

 

Thanks in advance.

 

image

 

image

  • Sign in to reply
  • Cancel

Top Replies

  • rachaelp
    rachaelp over 9 years ago in reply to anishkgt +2
    Hi George, It looks like you're really learning a lot with this design and you've had lots of good advice from people on this thread already and the difference between the initial version you posted and…
  • michaelkellett
    michaelkellett over 9 years ago in reply to rachaelp +1 suggested
    For mains input spike suppression I think you are much better off with this kind of device: http://uk.farnell.com/epcos/b72214s0231k101/varistor-60-0j-230vac/dp/1004389 Farnell 1004389 This one is rated…
  • autodeskguest
    autodeskguest over 9 years ago in reply to anishkgt +1 suggested
    On 11/09/16 12:02, George Thomas wrote: Why two thrustirs to control the load and am trouble witching on yhe Triac. Triacs can suffer commutation problems with certain types of load - highly inductive…
  • rachaelp
    0 rachaelp over 9 years ago in reply to anishkgt

    George Thomas wrote:

     

    So i've nearly placed all the components like in the second layout rachaelp. Would it be ideal to connect all the positive/signals and later add a polygon and name it GND and all the negatives would be connected that way.

     

    Yes that's fine. I actually drew the GND polygon in early to clear away air wires so I had a better idea of how many more nets needed routing. Then once I had sorted the pinout on the MEGA8 to stop unnecessary net crossing it all went in really easily.

     

    Best Regards,

     

    Rachael

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • anishkgt
    0 anishkgt over 9 years ago

    Yea doing GND first would be a better idea like you said it would give a clear view of the other traces to be routed.

     

    Does digikey ship international ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rachaelp
    0 rachaelp over 9 years ago in reply to anishkgt

    George Thomas wrote:

     

    Does digikey ship international ?

    Yes they do :-)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 9 years ago in reply to rachaelp

    For mains input spike suppression I think you are much better off with this kind of device:

     

    http://uk.farnell.com/epcos/b72214s0231k101/varistor-60-0j-230vac/dp/1004389

    B72214S0231K101

    Farnell 1004389

     

    This one is rated at peak current of 4500A.

    Make sure you pick one rated and intended for the mains voltage it will experience.

    This kind of part has  a much larger volume of material to absorb spike energy than a 'transorb' zener diode like device at a similar price point.

     

    Generally speaking you should not expect the transient suppressor to blow fuses.

     

    It is not normal to protect mains powered equipment from continuous application of excessive voltage - but it should be designed to be happy with the maximum allowed in the locale in which it is used. (I would go for nominal +20% if possible - in the UK the mains is supposed to be 230V AC within  -6%, +10% tolerance).

     

     

     

    MK

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • rachaelp
    0 rachaelp over 9 years ago in reply to michaelkellett

    Michael Kellett wrote:

     

    For mains input spike suppression I think you are much better off with this kind of device:

     

    http://uk.farnell.com/epcos/b72214s0231k101/varistor-60-0j-230vac/dp/1004389

    B72214S0231K101

    Farnell 1004389

     

    Yes you are probably right, AC power supplies is a little off my usual area of expertise. It seems some prefer to use a TVS rather than MOV's because MOV's degrade over time every time they see a spike. I was wondering if for this applications, with the AC to the load being switched on and off to a transformer being used for spot welding, whether there would be regular spikes because of that and hence something that can withstand many spikes without degradation may be better?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • anishkgt
    0 anishkgt over 9 years ago

    came across this Spot welder controller from the web and he seem to be using tvs diodes as well. Why two thrustirs to control the load and am trouble witching on yhe Triac.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • autodeskguest
    0 autodeskguest over 9 years ago in reply to anishkgt

    On 11/09/16 12:02, George Thomas wrote:

    Why two thrustirs to control the load and am trouble witching on yhe Triac.

     

    Triacs can suffer commutation problems with certain types of load -

    highly inductive (like a transformer) is one of the problem cases. The

    problem exhibits as a failure to turn off at the end of a half-cycle. I

    think this is more of an issue when PWMing the mains (light dimmer

    style), which is why I asked that question earlier. For that type of

    application a pair of back-to-back thyristors is more robust.

     

    It may not matter for your application if you occasionally get an extra

    half-cycle (10ms) as long as that is all you suffer. If you find that

    you get worse than that, the two-thyristor design is what you need.

     

    http://link.springer.com/chapter/10.1007%2F978-1-4612-9877-9_12 is worth

    reading on this.

     

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • anishkgt
    0 anishkgt over 9 years ago

    So if i understand correct, the triac, when used with an inductive load such as the MOT does not switch off the load at the zero cross but after 10ms on 240VAC 50Hz.

     

    I was reading about commutaion TRAIC and came across this high commutation TRIAC, would this be ok with.

     

    http://www.mouser.com/ds/2/302/BTA216_SERIES_B-353015.pdf

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • autodeskguest
    0 autodeskguest over 9 years ago in reply to anishkgt

    On 12/09/16 14:00, George Thomas wrote:

    So if i understand correct, the triac, when used with an inductive load such as the MOT does not switch off the load at the zero cross but after 10ms on 240VAC 50Hz.

     

    Not quite. The triac turns off at the zero crossing of the current, not

    the voltage. With a resistive load, these occur at the same time. With

    an inductive load, the current lags behind by (up to) one quarter cycle,

    or 5ms on UK (50Hz) mains (~4ms in US).

     

    However, when the triac attempts to turn off this late in the cycle, the

    voltage is at its peak, and the act of turning off causes the voltage

    across the triac to rise extremely rapidly. This high dV/dt can cause

    false triggering of the triac, meaning it fails to turn off at all. At

    minimum, this results in one extra half cycle of conduction. But at the

    end of that half cycle the conditions for a commutation failure are

    repeated, with the risk that it fails to turn off again... and again...

    and again...

     

    I was reading about commutaion TRAIC and came across this high commutation TRIAC, would this be ok with.

     

    http://www.mouser.com/ds/2/302/BTA216_SERIES_B-353015.pdf

     

    I'm sure Rachael would object to the 0.1" pin spacing. I'd certainly

    prefer the wider spacing of a TO3-P too. However, the datasheet does

    give figures that look OK in terms of ratings.

     

     

     

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rachaelp
    0 rachaelp over 9 years ago in reply to autodeskguest

    CadSoft Guest wrote:

    I was reading about commutaion TRAIC and came across this high commutation TRIAC, would this be ok with.

     

    http://www.mouser.com/ds/2/302/BTA216_SERIES_B-353015.pdf

     

    I'm sure Rachael would object to the 0.1" pin spacing. I'd certainly prefer the wider spacing of a TO3-P too. However, the datasheet does give figures that look OK in terms of ratings.

     

     

     

    Yes its figures do look fine in terms of ratings for the normal operation of the design but you are right, I wouldn't be overly happy with the 0.1" pin spacing if this were my design. The need for increased spacing is for improved creepage/clearance. Now, given this is for a spot welder, I assume this may be used in a potentially dusty / damp environment such as a shed or garage, and the environment can play a big part in whether this carries on working reliably even under normal voltage conditions let alone abnormal conditions like voltage surges. In general if the environment is dusty / damp then the required creepage and clearance values are much larger than for equipment used in a nice clean and dry environment.

     

    See this link for a reasonable overview of things that should be considered for high voltage designs: http://www.infineon.com/dgdl/Infineon+-+Application+Note+-+PowerMOSFETs+-+CoolMOS%E2%84%A2+-+Electrical+Safety+and+Isolation+in+high+voltage+Applications.pdf?fileId=db3a30433d1d0bbe013d20e0cbf017fe

     

    Best Regards,

     

    Rachael

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
<>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube