8 - Placement and Routing
PCB Layout
This last section of the bootcamp is all about bringing the physical PCB design together in Altium Designer. It is highly recommended to view all of the content to speed up your workflow in the ECAD software.
In other words, reading now will save you time later.
Video Tutorial
The video below contains insights on certain features within Altium Designer, but may be missing some of the information contained below. It is recommended to view both resources.
In the previous part of the bootcamp, you validated your schematic and are ready to move on to transferring your schematic onto an actual PCB drawing that can be sent to a manufacturer.
Let’s get started.
Creating a new PCB layout
Click File → New → PCB.
You should get a large black empty square on your screen. This is your empty PCB!
Try pressing 3 to see a 3D view of your board. Press 2 to return to the 2D planning view.
The next step is to define your board stack-up, or the various layers in your design.
Click Design → Layer Stack Manager.
A page similar to the one below should appear. This is where you define the layers of your board. As you can see, there is a top overlay for silkscreen, a top solder mask layer and then your copper and dielectric layers sandwiched between more solder mask and bottom overlay. This is a basic stack-up for a 2 layer board. Clicking Add will allow you to add more layers to your board. Keep in mind that adding more layers to your board increases cost and manufacturing time, so it is best to design a board using as few layers as possible.
The “Overlay” is silkscreen. It is the white text added to a PCB as a final manufacturing step. It will commonly include reference designators, component outlines, pin 1 indicators, logos, and more.
Solder mask is the coating on the outermost layers of a PCB that covers exposed copper. The “Solder” layer determines where openings in the mask should be present in order to expose copper pads, which is where the components will be soldered down.
You can also change the layer thicknesses in the board stack manager. Typically you will want to check with your manufacturer (e.g. JLCPCB) what layer sizes they have and select based on their requirements, but for the purpose of this board its fine to leave the layers thicknesses are they are right now. It is up to you, however, to decide how many layers you will need.
See JLCPCB’s stack-up requirements, common stack-ups, etc., here: https://jlcpcb.com/impedance
See JLCPCB’s common manufacturing capabilities: https://jlcpcb.com/capabilities/pcb-capabilities
There are two approaches for the next step. We can either decide our board shape right now, or we can place our components on the PCB and then define our board shape after. In industry, there is often a target board shape constraint delivered by a mechanical team, but in our case the board shape is not critical, so we can define our board shape after optimizing placement.
Clicking Design -> Update PCB Document… will update any changes you made on the schematic to the PCB document, as well as place all the footprints of your components on the board.
If you later make additional changes in your schematic and want to update your PCB design again, you will want to click Design → Import Changes… from the PCB file side, which will bring all the new netlist changes over from your schematic.
Next is component placement. The photo below is an arbitrary placement example, but you want to drag your components around on the board and place them in the exact configuration you want. Think about the electrical theory from earlier, and try to imagine the user experience of someone handling the completed board.
Some quick shortcuts:
Spacebar to rotate a component by 90 degrees while it is selected
Tab to freeze operation of the current command in place
Right-click → Align components… to line up and space selected components together
E → M → O to rotate a component by a user-specified angle in degrees
For precise placements, use the absolute coordinates in the properties panel
T → X to move a selection of components using an offset value
Make use of the Selection filter in the Properties panel (usually on the right side of the editor) to only select objects that you need – e.g. texts, components, pads, etc.
https://uwarg-docs.atlassian.net/wiki/spaces/EL/pages/2409463815
At this point, you want to be considering critical placement of input capacitors and output capacitors in relation to your LDO IC. Where are you going to put your feedback resistors (if included)? Where should input and output connectors be placed for easiest access to them by a user? Am I going to have large current loops? All of these are questions that you should be asking as you place your components.
After you’ve finished placement, the next step is to connect your nets together with traces, polygons, and vias.
Types of connections
To route a trace that connects a component, select the Interactively Route Connections button at the top.
Shortcut: Ctrl+W
This will allow you to click and start a trace to connect your footprints/pads/components.
The full page that describes all the functionality around routing in Altium Designer can be found here: https://www.altium.com/documentation/altium-designer/interactive-routing-pcb
Altium will not allow you to make a connection between two pads or pieces of copper if they are not assigned to the same net.
You can view the net name on the trace or use the properties panel to ensure the correct net has been set.
To create polygons, select the Place Polygon Plane on the top menu bar. This will allow you to draw out a shape that will be filled in with copper.
Similarly to traces, it is important to define the net that the polygon is associated with. If you make any changes to the shape of the polygon or change a setting in the properties tab, the polygon will show a DRC (design rule check) error in the form of many green circles in a grid. Be sure to select Repour whenever you make a change to a polygon.
Shortcut: T → G → A to repour all polygons in your design. Alternatively, there is a setting in Altium Designer to automatically repour all polygons after a change is made.
Going to Tools → Polygon Pours → Polygon Manager reveals all the polygons in your board. In this menu that you can shelve polygons (temporarily remove them) and reorder the pour priority of each polygon.
For a more detailed overview on polygons, follow the link: https://www.altium.com/documentation/altium-designer/pcb-polygon-pour?version=18.1
In order to place your vias, select the Place Via button on the top menu bar. This will allow you to place vias anywhere you like on the board. Note that vias need a net to be selected in the same way as traces and polygons. Additionally, placing a via on an already poured polygon will require you to repour the polygon.
One thing to be aware of is your via sizes. It is very important to define the Diameter and Hole Size in the Properties tab of the via. These parameters are usually limited by your manufacturer’s capabilities (e.g. JLCPCB), and by the aspect ratio of your via.
See JLCPCB’s minimum manufacturing capabilities here: https://jlcpcb.com/capabilities/pcb-capabilities
The last step is to define your board outline. This can be done by selecting a board outline (mechanical) layer and using the Place Line or Place Rectangle tool at the top menu to create a closed shape as shown below.
Try adding chamfered corners to your rectangle to give your board rounded edges.
Next, select the lines of the shape you created, and select Design → Board Shape → Define Board Shape From Selected Objects.
Select one line and press Tab to automatically select every other line connected to your current selection.
You should be left behind with a board in the shape you defined.
Example layout
A random example board is shown below. It uses a 2-layer stack-up, with the top layer in red and the bottom layer blue. You can see all the pads for each component and green arrows pointing to vias that are used to make connections across the two layers. Note that this is not a recommendation to create a design similar to this.
Design Rule Checks
This section is not complete! Please refer to the video guide or Altium documentation to set up your DRCs correctly.
During the design process, you will run into design rule errors/violations. In Altium Designer, these constraints are set in the Design → Rules… window of the layout editor. When a rule is violated, the offending components and/or copper is highlighted in green circles with an X marked in them. This indicates that according to your project’s rules, the highlighted part of the design is not manufacturable.
In the example above, the green circles show which parts are affected, while the beige symbol and text show the type of constraint that was violated (Short-circuit constraint), and what that rule is currently set to (0.1mm minimum). To fix a DRC error, you may need to modify one of the trace’s nets, move one trace out of the way, or modify your rule.
Before your board is completed, you should be able to run the design rule check and receive zero warnings and zero violations.
3 - Final Review
At this point, you should have completed the WARG EE bootcamp! Your only deliverable is your LDO PCB that you will need to present to an electrical bootcamp reviewer or team lead in Discord. You will be asked about your design (schematic, layout) and the decisions made in your component selection.
Before submitting your board for review, please review this doc: https://uwarg-docs.atlassian.net/wiki/spaces/BOOT/pages/2301689863
Well done for getting this far! After your board has been reviewed and approved, please follow the instructions in this link.
https://uwarg-docs.atlassian.net/wiki/spaces/AD/pages/1697349760