Beginner's second PCB circuit design: AC to DC












4












$begingroup$


I am designing an AC to DC converter and I just want to make sure that I am so far doing the right thing — placement of components and wiring etc. — as I am a beginner.



Does this look good so far?



enter image description here



enter image description here










share|improve this question











$endgroup$








  • 3




    $begingroup$
    Your primary-secondary isolation clearance is very poor. Also, depending on your output voltage, the 1N4004 might not have sufficient reverse blocking voltage.
    $endgroup$
    – Hearth
    13 hours ago








  • 2




    $begingroup$
    I agree with @Hearth. You could move the fuse to the left of the transformer for better isolation. I would rotate the group of four diodes 90 degrees clockwise and place them to the right of the transformer. You could swap the pin 3 and 4 connections on the transformer, if it makes it easier to route the PCB.
    $endgroup$
    – Peter Karlsen
    13 hours ago






  • 3




    $begingroup$
    If you swap the position of d1 & d2, and d3 & d4 your traces could be shorter and less wiggly
    $endgroup$
    – Colin
    12 hours ago










  • $begingroup$
    Are you planning on capacitors across the diodes, to reduce EMI?
    $endgroup$
    – analogsystemsrf
    12 hours ago
















4












$begingroup$


I am designing an AC to DC converter and I just want to make sure that I am so far doing the right thing — placement of components and wiring etc. — as I am a beginner.



Does this look good so far?



enter image description here



enter image description here










share|improve this question











$endgroup$








  • 3




    $begingroup$
    Your primary-secondary isolation clearance is very poor. Also, depending on your output voltage, the 1N4004 might not have sufficient reverse blocking voltage.
    $endgroup$
    – Hearth
    13 hours ago








  • 2




    $begingroup$
    I agree with @Hearth. You could move the fuse to the left of the transformer for better isolation. I would rotate the group of four diodes 90 degrees clockwise and place them to the right of the transformer. You could swap the pin 3 and 4 connections on the transformer, if it makes it easier to route the PCB.
    $endgroup$
    – Peter Karlsen
    13 hours ago






  • 3




    $begingroup$
    If you swap the position of d1 & d2, and d3 & d4 your traces could be shorter and less wiggly
    $endgroup$
    – Colin
    12 hours ago










  • $begingroup$
    Are you planning on capacitors across the diodes, to reduce EMI?
    $endgroup$
    – analogsystemsrf
    12 hours ago














4












4








4





$begingroup$


I am designing an AC to DC converter and I just want to make sure that I am so far doing the right thing — placement of components and wiring etc. — as I am a beginner.



Does this look good so far?



enter image description here



enter image description here










share|improve this question











$endgroup$




I am designing an AC to DC converter and I just want to make sure that I am so far doing the right thing — placement of components and wiring etc. — as I am a beginner.



Does this look good so far?



enter image description here



enter image description here







power pcb transformer ac dc






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 13 hours ago









JYelton

16.2k2891191




16.2k2891191










asked 13 hours ago









M2T156M2T156

335




335








  • 3




    $begingroup$
    Your primary-secondary isolation clearance is very poor. Also, depending on your output voltage, the 1N4004 might not have sufficient reverse blocking voltage.
    $endgroup$
    – Hearth
    13 hours ago








  • 2




    $begingroup$
    I agree with @Hearth. You could move the fuse to the left of the transformer for better isolation. I would rotate the group of four diodes 90 degrees clockwise and place them to the right of the transformer. You could swap the pin 3 and 4 connections on the transformer, if it makes it easier to route the PCB.
    $endgroup$
    – Peter Karlsen
    13 hours ago






  • 3




    $begingroup$
    If you swap the position of d1 & d2, and d3 & d4 your traces could be shorter and less wiggly
    $endgroup$
    – Colin
    12 hours ago










  • $begingroup$
    Are you planning on capacitors across the diodes, to reduce EMI?
    $endgroup$
    – analogsystemsrf
    12 hours ago














  • 3




    $begingroup$
    Your primary-secondary isolation clearance is very poor. Also, depending on your output voltage, the 1N4004 might not have sufficient reverse blocking voltage.
    $endgroup$
    – Hearth
    13 hours ago








  • 2




    $begingroup$
    I agree with @Hearth. You could move the fuse to the left of the transformer for better isolation. I would rotate the group of four diodes 90 degrees clockwise and place them to the right of the transformer. You could swap the pin 3 and 4 connections on the transformer, if it makes it easier to route the PCB.
    $endgroup$
    – Peter Karlsen
    13 hours ago






  • 3




    $begingroup$
    If you swap the position of d1 & d2, and d3 & d4 your traces could be shorter and less wiggly
    $endgroup$
    – Colin
    12 hours ago










  • $begingroup$
    Are you planning on capacitors across the diodes, to reduce EMI?
    $endgroup$
    – analogsystemsrf
    12 hours ago








3




3




$begingroup$
Your primary-secondary isolation clearance is very poor. Also, depending on your output voltage, the 1N4004 might not have sufficient reverse blocking voltage.
$endgroup$
– Hearth
13 hours ago






$begingroup$
Your primary-secondary isolation clearance is very poor. Also, depending on your output voltage, the 1N4004 might not have sufficient reverse blocking voltage.
$endgroup$
– Hearth
13 hours ago






2




2




$begingroup$
I agree with @Hearth. You could move the fuse to the left of the transformer for better isolation. I would rotate the group of four diodes 90 degrees clockwise and place them to the right of the transformer. You could swap the pin 3 and 4 connections on the transformer, if it makes it easier to route the PCB.
$endgroup$
– Peter Karlsen
13 hours ago




$begingroup$
I agree with @Hearth. You could move the fuse to the left of the transformer for better isolation. I would rotate the group of four diodes 90 degrees clockwise and place them to the right of the transformer. You could swap the pin 3 and 4 connections on the transformer, if it makes it easier to route the PCB.
$endgroup$
– Peter Karlsen
13 hours ago




3




3




$begingroup$
If you swap the position of d1 & d2, and d3 & d4 your traces could be shorter and less wiggly
$endgroup$
– Colin
12 hours ago




$begingroup$
If you swap the position of d1 & d2, and d3 & d4 your traces could be shorter and less wiggly
$endgroup$
– Colin
12 hours ago












$begingroup$
Are you planning on capacitors across the diodes, to reduce EMI?
$endgroup$
– analogsystemsrf
12 hours ago




$begingroup$
Are you planning on capacitors across the diodes, to reduce EMI?
$endgroup$
– analogsystemsrf
12 hours ago










5 Answers
5






active

oldest

votes


















13












$begingroup$

Per IPC spec you need creepage and clearance, even if your not using this in a product (and getting it tested at an ETL).



enter image description here

Source: http://www.ni.com/white-paper/2871/en/



That means if you have AC mains running into your board, you need at least 1.6mm around the conductors that carry that voltage (meaning the hot and neutral lines) and any other conductor. This is for pollution degree 1 which for you means no dirt (stuff that could lower the conductivity of the PCB).



It's generally a good idea to place a large gap between AC and DC sides of the board for good measure. If this is a product it needs to be double insulated or made inaccessible to someone who would service it.






share|improve this answer











$endgroup$









  • 3




    $begingroup$
    Worth adding that this applies equally to live and neutral connections, as far as I know. Industry regulations aside, it's a really good idea regardless.
    $endgroup$
    – Hearth
    13 hours ago






  • 1




    $begingroup$
    It is worth mentioning that there is a second chart, for double insulation, which is what should be used between the primary and the secondary of the transformer. 1.6mm between mains and low voltage is not enough, if it is accessible to the user.
    $endgroup$
    – Elmesito
    12 hours ago










  • $begingroup$
    I forgot about that, I make all my products inaccessible
    $endgroup$
    – laptop2d
    12 hours ago










  • $begingroup$
    Shouldn't it be the high voltage and low voltage sides of the board, not the AC and DC sides? There is low voltage AC between the transformer and the rectifier.
    $endgroup$
    – immibis
    5 hours ago



















7












$begingroup$

The first thing that is really evident, is that you have not left large enough gaps between the Mains AC and the secondary of the transformer.



Here are three documents that can give you more insight.
IPC2221A: Generic Standard on Printed Board Design.



UL61010-1: Electrical Equipment for Laboratory Use. (if you have access to it. Other "sources" might be available)



UL60950-1: Safety of Information Technology Equipment



These documents are a lot to read and understand, so as a general rule, you should keep 2mm gap between traces/pads on the mains side, and 8mm gap between the mains and the low voltage, where you might touch with your hands the conductors.
You can go below these clearances, but you need to know what you are doing, and this is where the three documents listed above, come into place.



As yours is a hobby project, and space is not a big issue, stick to the values I have given you above, or greater, and you will know to be safe, as long as you stay below the 300VAC.






share|improve this answer









$endgroup$





















    3












    $begingroup$

    There is no reason for N$4 to wrap around N$5. If you swap the two transformer pins, the layout becomes much cleaner.



    As above, the net connecting the D1 and D2 cathodes is way too close to the end of the fuse. Also, it is unnecessarily trapped. Getting a trace from there to some other part of the circuit means wandering around the transformer pins. Consider rearranging the diodes such that the two outputs of the bridge are more accessible from the right.






    share|improve this answer









    $endgroup$





















      3












      $begingroup$

      I suggest rotating the transformer 90° CCW and moving the bridge to the upper right of the PCB. As others have said, your clearance primary-secondary is inadequate for the mains. 8mm of creepage would be good for primary-secondary.



      Swap equivalent pins (such as the transformer secondary pins) to make the layout more straightforward. This is of more importance on high voltage and/or high current conductors than on traces that carry only signals.



      You should also be thinking about mounting holes early, they're often a pain to try to fit in later.






      share|improve this answer









      $endgroup$





















        1












        $begingroup$

        Parts placement should be done very different. Distance between primary circuit parts to secondary circuit parts should be as big as possible, also between all primary to all secondary tracks.



        So J1 and F1 at the left side of the board close to the primary transformer pins 1 and 2.



        D1 to D4 on the right side of the board close the secondary transformer pins 3 and 4. Pins 3 and 4 may be swapped when neccessary to avoid crossing tracks.






        share|improve this answer









        $endgroup$













          Your Answer





          StackExchange.ifUsing("editor", function () {
          return StackExchange.using("mathjaxEditing", function () {
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["\$", "\$"]]);
          });
          });
          }, "mathjax-editing");

          StackExchange.ifUsing("editor", function () {
          return StackExchange.using("schematics", function () {
          StackExchange.schematics.init();
          });
          }, "cicuitlab");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "135"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f422114%2fbeginners-second-pcb-circuit-design-ac-to-dc%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          5 Answers
          5






          active

          oldest

          votes








          5 Answers
          5






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          13












          $begingroup$

          Per IPC spec you need creepage and clearance, even if your not using this in a product (and getting it tested at an ETL).



          enter image description here

          Source: http://www.ni.com/white-paper/2871/en/



          That means if you have AC mains running into your board, you need at least 1.6mm around the conductors that carry that voltage (meaning the hot and neutral lines) and any other conductor. This is for pollution degree 1 which for you means no dirt (stuff that could lower the conductivity of the PCB).



          It's generally a good idea to place a large gap between AC and DC sides of the board for good measure. If this is a product it needs to be double insulated or made inaccessible to someone who would service it.






          share|improve this answer











          $endgroup$









          • 3




            $begingroup$
            Worth adding that this applies equally to live and neutral connections, as far as I know. Industry regulations aside, it's a really good idea regardless.
            $endgroup$
            – Hearth
            13 hours ago






          • 1




            $begingroup$
            It is worth mentioning that there is a second chart, for double insulation, which is what should be used between the primary and the secondary of the transformer. 1.6mm between mains and low voltage is not enough, if it is accessible to the user.
            $endgroup$
            – Elmesito
            12 hours ago










          • $begingroup$
            I forgot about that, I make all my products inaccessible
            $endgroup$
            – laptop2d
            12 hours ago










          • $begingroup$
            Shouldn't it be the high voltage and low voltage sides of the board, not the AC and DC sides? There is low voltage AC between the transformer and the rectifier.
            $endgroup$
            – immibis
            5 hours ago
















          13












          $begingroup$

          Per IPC spec you need creepage and clearance, even if your not using this in a product (and getting it tested at an ETL).



          enter image description here

          Source: http://www.ni.com/white-paper/2871/en/



          That means if you have AC mains running into your board, you need at least 1.6mm around the conductors that carry that voltage (meaning the hot and neutral lines) and any other conductor. This is for pollution degree 1 which for you means no dirt (stuff that could lower the conductivity of the PCB).



          It's generally a good idea to place a large gap between AC and DC sides of the board for good measure. If this is a product it needs to be double insulated or made inaccessible to someone who would service it.






          share|improve this answer











          $endgroup$









          • 3




            $begingroup$
            Worth adding that this applies equally to live and neutral connections, as far as I know. Industry regulations aside, it's a really good idea regardless.
            $endgroup$
            – Hearth
            13 hours ago






          • 1




            $begingroup$
            It is worth mentioning that there is a second chart, for double insulation, which is what should be used between the primary and the secondary of the transformer. 1.6mm between mains and low voltage is not enough, if it is accessible to the user.
            $endgroup$
            – Elmesito
            12 hours ago










          • $begingroup$
            I forgot about that, I make all my products inaccessible
            $endgroup$
            – laptop2d
            12 hours ago










          • $begingroup$
            Shouldn't it be the high voltage and low voltage sides of the board, not the AC and DC sides? There is low voltage AC between the transformer and the rectifier.
            $endgroup$
            – immibis
            5 hours ago














          13












          13








          13





          $begingroup$

          Per IPC spec you need creepage and clearance, even if your not using this in a product (and getting it tested at an ETL).



          enter image description here

          Source: http://www.ni.com/white-paper/2871/en/



          That means if you have AC mains running into your board, you need at least 1.6mm around the conductors that carry that voltage (meaning the hot and neutral lines) and any other conductor. This is for pollution degree 1 which for you means no dirt (stuff that could lower the conductivity of the PCB).



          It's generally a good idea to place a large gap between AC and DC sides of the board for good measure. If this is a product it needs to be double insulated or made inaccessible to someone who would service it.






          share|improve this answer











          $endgroup$



          Per IPC spec you need creepage and clearance, even if your not using this in a product (and getting it tested at an ETL).



          enter image description here

          Source: http://www.ni.com/white-paper/2871/en/



          That means if you have AC mains running into your board, you need at least 1.6mm around the conductors that carry that voltage (meaning the hot and neutral lines) and any other conductor. This is for pollution degree 1 which for you means no dirt (stuff that could lower the conductivity of the PCB).



          It's generally a good idea to place a large gap between AC and DC sides of the board for good measure. If this is a product it needs to be double insulated or made inaccessible to someone who would service it.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 12 hours ago

























          answered 13 hours ago









          laptop2dlaptop2d

          25k123278




          25k123278








          • 3




            $begingroup$
            Worth adding that this applies equally to live and neutral connections, as far as I know. Industry regulations aside, it's a really good idea regardless.
            $endgroup$
            – Hearth
            13 hours ago






          • 1




            $begingroup$
            It is worth mentioning that there is a second chart, for double insulation, which is what should be used between the primary and the secondary of the transformer. 1.6mm between mains and low voltage is not enough, if it is accessible to the user.
            $endgroup$
            – Elmesito
            12 hours ago










          • $begingroup$
            I forgot about that, I make all my products inaccessible
            $endgroup$
            – laptop2d
            12 hours ago










          • $begingroup$
            Shouldn't it be the high voltage and low voltage sides of the board, not the AC and DC sides? There is low voltage AC between the transformer and the rectifier.
            $endgroup$
            – immibis
            5 hours ago














          • 3




            $begingroup$
            Worth adding that this applies equally to live and neutral connections, as far as I know. Industry regulations aside, it's a really good idea regardless.
            $endgroup$
            – Hearth
            13 hours ago






          • 1




            $begingroup$
            It is worth mentioning that there is a second chart, for double insulation, which is what should be used between the primary and the secondary of the transformer. 1.6mm between mains and low voltage is not enough, if it is accessible to the user.
            $endgroup$
            – Elmesito
            12 hours ago










          • $begingroup$
            I forgot about that, I make all my products inaccessible
            $endgroup$
            – laptop2d
            12 hours ago










          • $begingroup$
            Shouldn't it be the high voltage and low voltage sides of the board, not the AC and DC sides? There is low voltage AC between the transformer and the rectifier.
            $endgroup$
            – immibis
            5 hours ago








          3




          3




          $begingroup$
          Worth adding that this applies equally to live and neutral connections, as far as I know. Industry regulations aside, it's a really good idea regardless.
          $endgroup$
          – Hearth
          13 hours ago




          $begingroup$
          Worth adding that this applies equally to live and neutral connections, as far as I know. Industry regulations aside, it's a really good idea regardless.
          $endgroup$
          – Hearth
          13 hours ago




          1




          1




          $begingroup$
          It is worth mentioning that there is a second chart, for double insulation, which is what should be used between the primary and the secondary of the transformer. 1.6mm between mains and low voltage is not enough, if it is accessible to the user.
          $endgroup$
          – Elmesito
          12 hours ago




          $begingroup$
          It is worth mentioning that there is a second chart, for double insulation, which is what should be used between the primary and the secondary of the transformer. 1.6mm between mains and low voltage is not enough, if it is accessible to the user.
          $endgroup$
          – Elmesito
          12 hours ago












          $begingroup$
          I forgot about that, I make all my products inaccessible
          $endgroup$
          – laptop2d
          12 hours ago




          $begingroup$
          I forgot about that, I make all my products inaccessible
          $endgroup$
          – laptop2d
          12 hours ago












          $begingroup$
          Shouldn't it be the high voltage and low voltage sides of the board, not the AC and DC sides? There is low voltage AC between the transformer and the rectifier.
          $endgroup$
          – immibis
          5 hours ago




          $begingroup$
          Shouldn't it be the high voltage and low voltage sides of the board, not the AC and DC sides? There is low voltage AC between the transformer and the rectifier.
          $endgroup$
          – immibis
          5 hours ago













          7












          $begingroup$

          The first thing that is really evident, is that you have not left large enough gaps between the Mains AC and the secondary of the transformer.



          Here are three documents that can give you more insight.
          IPC2221A: Generic Standard on Printed Board Design.



          UL61010-1: Electrical Equipment for Laboratory Use. (if you have access to it. Other "sources" might be available)



          UL60950-1: Safety of Information Technology Equipment



          These documents are a lot to read and understand, so as a general rule, you should keep 2mm gap between traces/pads on the mains side, and 8mm gap between the mains and the low voltage, where you might touch with your hands the conductors.
          You can go below these clearances, but you need to know what you are doing, and this is where the three documents listed above, come into place.



          As yours is a hobby project, and space is not a big issue, stick to the values I have given you above, or greater, and you will know to be safe, as long as you stay below the 300VAC.






          share|improve this answer









          $endgroup$


















            7












            $begingroup$

            The first thing that is really evident, is that you have not left large enough gaps between the Mains AC and the secondary of the transformer.



            Here are three documents that can give you more insight.
            IPC2221A: Generic Standard on Printed Board Design.



            UL61010-1: Electrical Equipment for Laboratory Use. (if you have access to it. Other "sources" might be available)



            UL60950-1: Safety of Information Technology Equipment



            These documents are a lot to read and understand, so as a general rule, you should keep 2mm gap between traces/pads on the mains side, and 8mm gap between the mains and the low voltage, where you might touch with your hands the conductors.
            You can go below these clearances, but you need to know what you are doing, and this is where the three documents listed above, come into place.



            As yours is a hobby project, and space is not a big issue, stick to the values I have given you above, or greater, and you will know to be safe, as long as you stay below the 300VAC.






            share|improve this answer









            $endgroup$
















              7












              7








              7





              $begingroup$

              The first thing that is really evident, is that you have not left large enough gaps between the Mains AC and the secondary of the transformer.



              Here are three documents that can give you more insight.
              IPC2221A: Generic Standard on Printed Board Design.



              UL61010-1: Electrical Equipment for Laboratory Use. (if you have access to it. Other "sources" might be available)



              UL60950-1: Safety of Information Technology Equipment



              These documents are a lot to read and understand, so as a general rule, you should keep 2mm gap between traces/pads on the mains side, and 8mm gap between the mains and the low voltage, where you might touch with your hands the conductors.
              You can go below these clearances, but you need to know what you are doing, and this is where the three documents listed above, come into place.



              As yours is a hobby project, and space is not a big issue, stick to the values I have given you above, or greater, and you will know to be safe, as long as you stay below the 300VAC.






              share|improve this answer









              $endgroup$



              The first thing that is really evident, is that you have not left large enough gaps between the Mains AC and the secondary of the transformer.



              Here are three documents that can give you more insight.
              IPC2221A: Generic Standard on Printed Board Design.



              UL61010-1: Electrical Equipment for Laboratory Use. (if you have access to it. Other "sources" might be available)



              UL60950-1: Safety of Information Technology Equipment



              These documents are a lot to read and understand, so as a general rule, you should keep 2mm gap between traces/pads on the mains side, and 8mm gap between the mains and the low voltage, where you might touch with your hands the conductors.
              You can go below these clearances, but you need to know what you are doing, and this is where the three documents listed above, come into place.



              As yours is a hobby project, and space is not a big issue, stick to the values I have given you above, or greater, and you will know to be safe, as long as you stay below the 300VAC.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered 12 hours ago









              ElmesitoElmesito

              1,39929




              1,39929























                  3












                  $begingroup$

                  There is no reason for N$4 to wrap around N$5. If you swap the two transformer pins, the layout becomes much cleaner.



                  As above, the net connecting the D1 and D2 cathodes is way too close to the end of the fuse. Also, it is unnecessarily trapped. Getting a trace from there to some other part of the circuit means wandering around the transformer pins. Consider rearranging the diodes such that the two outputs of the bridge are more accessible from the right.






                  share|improve this answer









                  $endgroup$


















                    3












                    $begingroup$

                    There is no reason for N$4 to wrap around N$5. If you swap the two transformer pins, the layout becomes much cleaner.



                    As above, the net connecting the D1 and D2 cathodes is way too close to the end of the fuse. Also, it is unnecessarily trapped. Getting a trace from there to some other part of the circuit means wandering around the transformer pins. Consider rearranging the diodes such that the two outputs of the bridge are more accessible from the right.






                    share|improve this answer









                    $endgroup$
















                      3












                      3








                      3





                      $begingroup$

                      There is no reason for N$4 to wrap around N$5. If you swap the two transformer pins, the layout becomes much cleaner.



                      As above, the net connecting the D1 and D2 cathodes is way too close to the end of the fuse. Also, it is unnecessarily trapped. Getting a trace from there to some other part of the circuit means wandering around the transformer pins. Consider rearranging the diodes such that the two outputs of the bridge are more accessible from the right.






                      share|improve this answer









                      $endgroup$



                      There is no reason for N$4 to wrap around N$5. If you swap the two transformer pins, the layout becomes much cleaner.



                      As above, the net connecting the D1 and D2 cathodes is way too close to the end of the fuse. Also, it is unnecessarily trapped. Getting a trace from there to some other part of the circuit means wandering around the transformer pins. Consider rearranging the diodes such that the two outputs of the bridge are more accessible from the right.







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered 12 hours ago









                      AnalogKidAnalogKid

                      2,36037




                      2,36037























                          3












                          $begingroup$

                          I suggest rotating the transformer 90° CCW and moving the bridge to the upper right of the PCB. As others have said, your clearance primary-secondary is inadequate for the mains. 8mm of creepage would be good for primary-secondary.



                          Swap equivalent pins (such as the transformer secondary pins) to make the layout more straightforward. This is of more importance on high voltage and/or high current conductors than on traces that carry only signals.



                          You should also be thinking about mounting holes early, they're often a pain to try to fit in later.






                          share|improve this answer









                          $endgroup$


















                            3












                            $begingroup$

                            I suggest rotating the transformer 90° CCW and moving the bridge to the upper right of the PCB. As others have said, your clearance primary-secondary is inadequate for the mains. 8mm of creepage would be good for primary-secondary.



                            Swap equivalent pins (such as the transformer secondary pins) to make the layout more straightforward. This is of more importance on high voltage and/or high current conductors than on traces that carry only signals.



                            You should also be thinking about mounting holes early, they're often a pain to try to fit in later.






                            share|improve this answer









                            $endgroup$
















                              3












                              3








                              3





                              $begingroup$

                              I suggest rotating the transformer 90° CCW and moving the bridge to the upper right of the PCB. As others have said, your clearance primary-secondary is inadequate for the mains. 8mm of creepage would be good for primary-secondary.



                              Swap equivalent pins (such as the transformer secondary pins) to make the layout more straightforward. This is of more importance on high voltage and/or high current conductors than on traces that carry only signals.



                              You should also be thinking about mounting holes early, they're often a pain to try to fit in later.






                              share|improve this answer









                              $endgroup$



                              I suggest rotating the transformer 90° CCW and moving the bridge to the upper right of the PCB. As others have said, your clearance primary-secondary is inadequate for the mains. 8mm of creepage would be good for primary-secondary.



                              Swap equivalent pins (such as the transformer secondary pins) to make the layout more straightforward. This is of more importance on high voltage and/or high current conductors than on traces that carry only signals.



                              You should also be thinking about mounting holes early, they're often a pain to try to fit in later.







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered 10 hours ago









                              Spehro PefhanySpehro Pefhany

                              208k5158417




                              208k5158417























                                  1












                                  $begingroup$

                                  Parts placement should be done very different. Distance between primary circuit parts to secondary circuit parts should be as big as possible, also between all primary to all secondary tracks.



                                  So J1 and F1 at the left side of the board close to the primary transformer pins 1 and 2.



                                  D1 to D4 on the right side of the board close the secondary transformer pins 3 and 4. Pins 3 and 4 may be swapped when neccessary to avoid crossing tracks.






                                  share|improve this answer









                                  $endgroup$


















                                    1












                                    $begingroup$

                                    Parts placement should be done very different. Distance between primary circuit parts to secondary circuit parts should be as big as possible, also between all primary to all secondary tracks.



                                    So J1 and F1 at the left side of the board close to the primary transformer pins 1 and 2.



                                    D1 to D4 on the right side of the board close the secondary transformer pins 3 and 4. Pins 3 and 4 may be swapped when neccessary to avoid crossing tracks.






                                    share|improve this answer









                                    $endgroup$
















                                      1












                                      1








                                      1





                                      $begingroup$

                                      Parts placement should be done very different. Distance between primary circuit parts to secondary circuit parts should be as big as possible, also between all primary to all secondary tracks.



                                      So J1 and F1 at the left side of the board close to the primary transformer pins 1 and 2.



                                      D1 to D4 on the right side of the board close the secondary transformer pins 3 and 4. Pins 3 and 4 may be swapped when neccessary to avoid crossing tracks.






                                      share|improve this answer









                                      $endgroup$



                                      Parts placement should be done very different. Distance between primary circuit parts to secondary circuit parts should be as big as possible, also between all primary to all secondary tracks.



                                      So J1 and F1 at the left side of the board close to the primary transformer pins 1 and 2.



                                      D1 to D4 on the right side of the board close the secondary transformer pins 3 and 4. Pins 3 and 4 may be swapped when neccessary to avoid crossing tracks.







                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered 11 hours ago









                                      UweUwe

                                      60945




                                      60945






























                                          draft saved

                                          draft discarded




















































                                          Thanks for contributing an answer to Electrical Engineering Stack Exchange!


                                          • Please be sure to answer the question. Provide details and share your research!

                                          But avoid



                                          • Asking for help, clarification, or responding to other answers.

                                          • Making statements based on opinion; back them up with references or personal experience.


                                          Use MathJax to format equations. MathJax reference.


                                          To learn more, see our tips on writing great answers.




                                          draft saved


                                          draft discarded














                                          StackExchange.ready(
                                          function () {
                                          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f422114%2fbeginners-second-pcb-circuit-design-ac-to-dc%23new-answer', 'question_page');
                                          }
                                          );

                                          Post as a guest















                                          Required, but never shown





















































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown

































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown







                                          Popular posts from this blog

                                          "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

                                          Alcedinidae

                                          RAC Tourist Trophy