How to Connect Grounds in an Isolated Power Supply PCB Layout
Most designers that work with a bench-top power supply are likely using an isolated regulated (switching) PSU that plugs into the wall. Everything needed to provide stable power at a specific DC or AC level, and with relatively low noise is built into the unit, and you as the designer don’t really have to do anything except connect some leads to the board. Unfortunately, real systems with integrated power sections, or even just power regulator modules you want to integrate into a larger system, aren’t so simple and need some custom design to ensure they operate correctly.
One important aspect of integrating a power supply into your system is setting up and connecting grounds correctly, even for isolated power supplies. If you’re integrating an isolated power supply onto a board with the rest of your major circuitry, you’ll still need to connect grounds in your system. These rules even apply in a PCB for an isolated DC charger or a DC power adapter as the design may need to be connected back to earth, depending on the application and safety concerns. Because bad ground connections can create noise problems, or even a safety hazard, let’s look at the best practices for creating ground connections in your power regulation section when converting AC to DC on your board.
Ground Construction in an Isolated Power Supply
Suppose you’re designing a system that needs to perform power conversion (AC to DC), regulation, and delivery to your circuits in your design. If you think about the practical construction of this system, there are three different possible choices to use for ground:
- Earth ground: This is a literal electrical connection back to earth, which is present as the safety line (PE) on 3-wire AC lines.
- Chassis ground: This applies in an enclosure with metal elements, where metal in the enclosure is used to create a ground connection.
- Signal ground: This is sometimes incorrectly delineated as analog ground and digital ground (don’t split your grounds like this). A signal ground generally refers to anything that is not earth or chassis.
Power supplies built with transformer coupling, such as AC-DC converters, DC-DC switching converters, or combinations of these two systems, will be built with a transformer bridging these gaps in the PCB layout. The reason for this is simple: unless you’re only operating at low voltage and low current, you typically want isolation in the design to protect users from safety hazards.
These ground systems are not always over a single ground plane for a variety of reasons. This is true of switching power supplies, particularly more complex supplies like LLC resonant converters. The reason ground is so important is that it defines the voltage that a component measures when it operates in a system. When I write “voltage a component measures”, it means a 5 V signal defined over one ground region in a system may not be measured at 5V when measured over some other ground region in a system.
This problem in an isolated switching power supply, known as “ground offset,” will create problems with noise. This is quite important because the ground offset in your system could be a fraction of the voltage you want to reliably supply in your transformer-coupled power supply.
Tying Grounds with Capacitors Maintains DC Isolation
Fortunately, there is a simple solution: tie together the planes with capacitors. Y-rated capacitors are a good choice here for higher voltage/current designs. You can do this easily in your schematics: just locate the component you need for your capacitor, and then bridge the ground nets with a direct connection. The typical place to do this in the PCB layout is close to the transformer.
A more complex method, although still valid in AC-DC conversion, is to use a capacitor between the power rail and the AC side of the system. The ground offset between each side is removed by drawing and discharging some displacement current.
Note that this only applies to two ground regions on the board. We haven’t considered the chassis or earth just yet. However, there are some basic steps you can take to ensure the enclosure, board, and earth are properly tied together. Unfortunately, this is not so simple and requires thinking about how noise and currents play a role in the system, as well as whether they will create a safety hazard. Here are some resources for further reading to help you decide the best way to connect grounds while maintaining isolation.
- All About Grounding in Electronics Design and PCB Layout
- Isolated vs Non-Isolated Power Supplies: The Right Choice Without Fail
- Defining Power Supply Ground: System, Chassis, and Earth in Your PCB
How to Route Across the Ground Plane Gap
If you want to implement a control algorithm for your power system, you will need to allow for feedback from the output back to the input so that the output power can be sensed. This means you need to physically run a line from the output of the side of the regulator back to the input side that contains the switching elements. The question is: what is the best way to provide if your output side is DC, but you want to maintain isolation?
The answer is to use an optocoupler. Placing a trace over the gap is not appropriate as the trace can receive external noise, and switching power supplies can produce a lot of noise. Transformer coupling is also unusable because you’re regulating DC. In the schematic below, the optocoupler is straddling the separation between the ground plane, so we’ve maintained the isolation we want in this supply.
Once you’ve placed your optocoupler, you can route the output to your supply controller. A microcontroller with a PWM output is a good choice for a custom power controller, although some companies make MOSFET gate driver controllers that have a feedback input and are configurable with some external resistors. If you’re designing very precise power regulation or you’re experimenting with control algorithms, this is a simple solution to implement output sensing. You can then use a standard control algorithm to adjust the frequency of your PWM controller to ensure maximum efficiency or to specifically track the desired power output.
When you need to create a PCB layout with connected grounds for your isolated power supply, use the complete set of layout and routing features in CircuitMaker. Users can build detailed schematics for power supplies and large digital circuits, and data can be instantly transferred into a new PCB layout. All CircuitMaker users also have access to a personal workspace on the Altium 365 platform, where they can upload and store design data in the cloud, and easily view projects via a web browser in a secure platform.