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
  • 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 184 subscribers
  • Views 16782 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…
Parents
  • anishkgt
    0 anishkgt over 9 years ago

    Thanks rachaelp for the suggested layout. I think i would go with the first one. i had to catch a plane earlier hence short replies and delay.

     

    Thanks guys for pointing out about R11, i've corrected it now.

    So as suggested by Rachel and the other have these in my cart now. What more would i need, i mean i have all working but the decouplers were something new.

    Ceramic Disc & Plate Capacitor, CC Series, 0.1 µF, ± 10%, Y5P, 50 V, Radial Leaded http://www.newark.com/on-semiconductor/1n5908g/tvs-diode-5w-5v-unidirectional/dp/42K2954

    TVS Diode, MOSORB Series, Unidirectional, 5 V, 8.5 V, Axial Leaded, 2 Pins http://www.newark.com/nxp/bt139-600-127/triac-sensitive-gate-16a-to-220ab/dp/70R3252

    Triac, 600 V, 70 mA, 5 W, 1.5 V, TO-220AB, 155 A

    COVER, PCB FUSE HOLDER, HTC
    FUSE HOLDER, 5X20MM, HTC, PCB

     

    So i read someone mentioning about EMI filters, how necessary would these be for my design ? limited space on the board so trying to keep the overall components less.

    • 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:

     

    Thanks rachaelp for the suggested layout. I think i would go with the first one. i had to catch a plane earlier hence short replies and delay.

    I actually think the latest one works better in some ways and it does give more options on connector type as it can cope with horizontal entry. You could even go for screw terminal type connectors right on the board so there weren't any removable connector plugs which for this, which I assume will be mounted inside a chassis, I think would be preferable.

    George Thomas wrote:

     

    So i read someone mentioning about EMI filters, how necessary would these be for my design ? limited space on the board so trying to keep the overall components less.

    Again assuming you have this in a chassis then you could have a filtered mains inlet IEC connector.

     

    More important than EMI filtering though is circuit protection from surges. I'd at the very least put a bi-directional TVS with a suitable standoff voltage across the AC input. Then if there is a surge on the line (surges can be many kVolts) this will clamp the voltage at a the specified clamp voltage and absorb energy until your inline fuse (in your inlet IEC connector or mains plug) blows from the increased current (which it will increase sharply once the TVS clamps).

     

    Take a look here for a range of possible devices: http://www.littelfuse.com/products/tvs-diodes/leaded.aspx

     

    Best Regards,

     

    Rachael

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

    My idea for the connector was this. I haven't decided on the enclosure yet. Not very experienced with selecting the TVS, actually heard oh them but haven't used them. Are these placed at the primary or the secondary winding of the transformer or after the 7805 ?

    • 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:

     

    My idea for the connector was this.

    Yes that connector looks fine to me.

     

    George Thomas wrote:

     

    Not very experienced with selecting the TVS, actually heard oh them but haven't used them. Are these placed at the primary or the secondary winding of the transformer or after the 7805 ?

    The TVS goes on the primary side. It needs to be bidirectional and rated for greater than the peak voltage of the AC input so in the case of 240V mains it needs to be somewhere around 375V. In the link I provided the different types indicate what there intended usage is, there are several that say AC line.

     

    Best Regards,


    Rachael

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

    How is this from newark ?

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

    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.

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

    Hi George,

     

    George Thomas wrote:

     

    How is this from newark ?

     

    That's the right sort of part in general but in my opinion its peak current is too low. I'm not sure what inline fuse you are having, but I think the TVS should have a peak current rating significantly above what is needed to blow that fuse. Maybe something like this: http://www.digikey.co.uk/product-detail/en/stmicroelectronics/1.5KE440CA/497-12742-1-ND/2873806

     

    Best Regards,

     

    Rachael

    • 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:

     

    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
  • 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
Reply
  • 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
Children
No Data
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