TITLE KiCad Design Guide Table of Contents 1. Introduction to KiCad 1.1 Features and benefits 1.2 Installing KiCad 1.3 Sierra Circuits’ KiCad Quote Plugin 1.3.1 Plugin features 1.3.2 How to install and configure Sierra Circuits' KiCad Quote Plugin 2. Designing a schematic with Eeschema 02 05 05 05 07 07 07 12 2.1 Add a new project in the schematic editor 13 2.2 Explore different icons in the Eeschema 13 2.3 Create a new symbol library 15 2.4 Create and include a new symbol to the library 17 2.5 Add pins to the new symbol 20 2.6 Place symbols from KiCad libraries 22 2.7 Connect the component symbols 23 2.8 Add power and ground symbols 24 2.9 Label the nets 25 2.10 Run electrical rules check 27 2.11 Export the BOM file 29 2.12 Generate netlist from the schematic 30 2.13 Optimizing a high-speed PCB schematic design 31 2.14 KiCad version 9 updates for Eeschema 34 3. Creating footprints for components 37 3.1 Create a new footprint library 37 3.2 Add a new footprint to the library 39 3.3 Create pads for the component footprint 40 3.4 Create a component outline 43 3.5 Place the component outline on silkscreen and courtyard layer 44 3.6 Assign a 3D file to the footprint 46 Copyright Sierra Circuits Inc., 2024 4. Setting up board parameters and rules 4.1 Set the constraints 48 4.2 Specify custom dimensions for traces and vias 50 4.3 Add teardrops for tracks and pads 51 4.4 Perform length tuning for traces 54 4.5 Group the nets using net classes 55 4.6 Define custom rules 56 4.7 Assign violation severity 58 5. Placing components in the layout editor 03 48 59 5.1 Open the layout file 59 5.2 Import your schematic into the PCB layout 60 5.3 Define the board stack-up 62 5.4 Draw the board outline 63 5.5 Set grid and drill/place file origins 65 5.6 Add mounting holes 65 5.7 Place connectors and key components 67 5.8 Position components based on functionality 68 5.9 Place decoupling capacitors and crystals 70 6. Routing a circuit in Pcbnew 73 6.1 Add a ground pour 73 6.2 Implement power routing 79 6.3 Route a differential pair 86 6.4 Lenght tune the differential pair 87 6.5 Match skew between traces 93 6.6 Execute orthogonal routing 96 6.7 Route crystal oscillators 99 6.8 Add ground pours on the outer layers 101 6.9 Adjust reference text placement and size 102 6.10 Generate a design rule check report 103 6.11 KiCad version 9 updates for Pcbnew 104 www.protoexpress.com 04 7. Exporting production files: IPC-2581 and Gerber 106 7.1 Files required for PCB manufacturing 106 7.2 Export IPC-2581 file in KiCad 107 7.3 Export Gerber files in KiCad 109 7.4 Generate drill files 112 7.5 Save the pick and placement files 115 7.6 Download the netlist from the PCB layout editor 117 7.7 Export the BOM file 118 7.8 Download the plot file (PDF) 119 7.9 Generate fabrication details (PDF) 122 7.10 Verify the production files using the Gerber Viewer 124 8. Commonly used keyboard shortcuts 129 8.1 Schematic editor (Eeschema) shortcuts 129 8.2 PCB layout editor (Pcbnew) shortcuts 129 9. Getting an online quote using Sierra Circuits’ KiCad Quote Plugin 131 9.1 Launch the plugin and log into your account 131 9.2 Validate the board parameters 132 9.3 Verify the quote summary and place the order without assembly 138 9.4 Verify the quote summary and place the order with assembly 144 10. About Sierra Circuits 153 10.1 Why Sierra Circuits? 154 10.2 PCB manufacturing capabilities overview 154 10.3 PCB assembly services 156 10.4 PCB design services 157 10.5 Advanced PCB design tools 158 10.6 Sierra Circuits’ PCB certifications 158 Copyright Sierra Circuits Inc., 2024 1. Introduction to KiCad KiCad is an open-source software for designing PCBs. It is an industry-standard EDA tool that allows both hobbyists and professionals to design high-quality circuit boards. Using this tool, you can create schematics, convert them into layouts, route traces and vias. It supports multi-layer designs and offers tools for checking the electrical integrity of circuits. 1.1 Features and benefits 1. Schematic capture: KiCad’s Eeschema tool allows you to create circuit diagrams, place components, and interconnect them. It supports hierarchical design, enabling you to break complex designs into manageable blocks. 2. Component library management: KiCad offers extensive component and footprint libraries. You can easily import custom libraries or create your own. 3. PCB layout: In the Pcbnew tool, you can route tracks, define copper layers, and perform design rule checks (DRC). You can create an actual PCB layout and ensure the layout complies with manufacturing constraints. 4. 3D viewer: KiCad has an integrated 3D viewer, allowing you to visualize your board and components in a virtual environment. This aids in verifying component placement and design aesthetics. 5. Open-source and free: One of KiCad’s main benefits is that it’s free and open-source. This eliminates licensing fees, making it accessible to everyone, from individual makers to startups. 6. Cross-platform compatibility: KiCad runs on Windows, macOS, and Linux, making it versatile for users on different platforms. 1.12 Installing KiCad Installing KiCad is a straightforward process. The tool is available for Windows, macOS, Linux, and Docker operating systems. 05 www.protoexpress.com 06 Operating systems supported by KiCad. Image credit: KiCad For Windows: Visit the KiCad website and download the Windows installer package. You’ll find a version suitable for your system. Double-click the downloaded .exe file to start the installation process. The setup wizard will guide you through the installation. Accept the license agreement, choose the installation directory, and select the components you wish to install. It’s recommended to install all components for a complete setup. Click Install to begin the installation. Once finished, select the checkboxes and hit Finish. Find KiCad in your Start menu or desktop shortcut and open it. You may be prompted to configure initial settings or update libraries. For macOS: Go to the KiCad download page and download the macOS installer package. Double-click the .dmg file and open the installer window. Drag the KiCad icon to the Applications folder to install it. This process will copy KiCad to your Applications directory. Open Finder, go to the Applications folder and double-click the KiCad icon to launch the application. Copyright Sierra Circuits Inc., 2024 On the first launch, you need to grant permissions or configure initial settings. Follow the prompts to complete the setup. If you encounter any issues, you can refer to the KiCad documentation or seek help from the KiCad community forums. 1.3 Sierra Circuits’ KiCad Quote Plugin Get instant PCB fab and assembly cost estimation for your designs through Sierra Circuits' KiCad Quote Plugin. You can quote within the KiCad UI and eliminate the need for external quoting tools, thus reducing your product's time-to-market. 1.3.1 Plugin features A. Instant quoting: Provides real-time price estimates for manufacturing your PCB design. B. Seamless integration: Directly integrates with KiCad for a smooth user experience. C. Easy design data transfer: Automatically imports the design data from KiCad to Sierra Circuits’ quote page. D. Customized packages: Choose between PCB fabrication only or a comprehensive package that includes PCB fabrication and assembly. 1.3.2 How to install and configure Sierra Circuits' KiCad Quote Plugin Steps to download the plugin from the Sierra Circuits' website: 0- Go to KiCad Quote Plugin. 1- Enter the signup details. 07 www.protoexpress.com 08 Sierra Circuits' signup page to download the KiCad Quote Plugin. 3. Click Download KiCad Plugin. A zip file named create_quote_v4.2 will be downloaded. If you need the instructions manual, hit Download Manual. Click Download KiCad Plugin to download the zip file. Copyright Sierra Circuits Inc., 2024 4. Extract the zip file to the KiCad directory, i.e., KiCad --> latest version of KiCad--> scripting --> plugins. 5. Access the plugin by clicking Tools --> External Plugin --> Sierra Circuits Quote. Steps to access the quote plugin in KiCad 6. To create a shortcut on the toolbar, go to Preferences --> Preferences --> PCB editor --> Action Plugins, check off the show button and hit OK. 09 Steps to add the plugin icon to the KiCad toolbar. www.protoexpress.com This brings up the plugin icon at the top of the toolbar, as shown in the image below. KiCad design software with the Sierra Circuits Quote Plugin icon. Steps to download the plugin from the KiCad PCM repository 1. Open the KiCad tool and select Plugin and Content Manager (PCM) on the home page. Steps to install the plugin directly from KiCad Plugin and Content Manager. Copyright Sierra Circuits Inc., 2024 10 2. Search for Sierra Quote Plugin under the repository section. Here, you can select the latest version of the plugin and click on Install, followed by Apply Pending Changes. 3. Access the plugin by clicking Tools --> External Plugin -->Sierra Circuits Quote. Steps to access the Sierra Circuits' KiCad Quote Plugin . KiCad's Plugin and Content Manager repository. 11 www.protoexpress.com 2. Designing a schematic with Eeschema 12 Creating a PCB schematic is a core part of your design journey. In KiCad, with options to create custom symbol libraries, it helps you easily draw schematics specific to your design. All the components used in a schematic are described in component libraries. Several libraries provide reasonably simple component management by grouping them by functions or manufacturers. The component library contains a large variety of preinstalled libraries. The Library Manager menu helps you modify libraries, such as building new ones by adding and deleting components. For this tutorial, let us create a power circuitry schematic similar to the image below. Schematic of a power regulator in KiCad. Here, we need to create a new symbol in the component library for the regulator, import capacitors from the KiCad libraries, and provide ground/voltage connections. Standard components like capacitors and resistors can be found in the KiCad internal library. However, if certain component symbols like regulators ICs are unavailable, you can create them using their part numbers. Copyright Sierra Circuits Inc., 2024 2.1 Add a new project in the schematic editor To create a new project in KiCad, click File, select New Project, provide a project name, and save it in a folder of your choice. Steps to create a new schematic project in KiCad. The side panel now displays a new project. Click on the schematic file to open the schematic editor. 2.2 Explore different icons in the Eeschema In the KiCad's schematic editor, several main editing options help you create and modify schematics. Apart from the select, move, rotate, mirror, and delete options, here are the 10 primary editing tools that can come in handy while creating a schematic. 13 www.protoexpress.com 14 Editing tools in KiCad schematic editor. 1. Symbol: Used to add electronic components (symbols) to the schematic. You can select from a library of symbols representing various electrical components. 2. Wire: Allows you to draw wires (connections) between components, essential for defining the circuit paths in the schematic. 3. Bus: Used to draw a bus, a group of wires that share a common function, such as an address bus or data bus in a digital circuit. 4. Power port: Adds power and ground symbols to the schematic. These symbols represent power sources like VCC, GND, or other voltage levels. 5. Power port: Labels wires and nets. They are used to identify connections in the schematic. 6. Global label: This is similar to regular labels but used for connections that need to be recognized across different sheets in a multi-sheet schematic. 7. No Connect: Marks a pin on a component as intentionally unconnected. This is useful for avoiding errors during electrical rule check. 8. Junction: Adds a junction point where wires meet. It indicates an electrical connection between intersecting wires. Copyright Sierra Circuits Inc., 2024 9. Sheet: Using this option, you can create multiple schematic sheets for drawing complex circuits. All the sheets will be aligned hierarchically. 10. Text: Allows you to place text annotations on the schematic. This can be useful for adding notes or instructions. All these options can also be found under the Place tab at the top left corner of the schematic editor. 2.3 Create a new symbol library To create a new symbol, you need the component package information, which will be present in the datasheet. We are considering a power regulator IC from Texas Instruments with the part number LP2985-33DBVR for this demo. The package type is SOT-23, and the drawing is DBV package. This IC has 5 pins, as shown in the image below. The pin configurations are: Pin 1- Voltage input Pin 2- Ground Pin 3- ON/OFF Pin 4- Bypass Pin 5- Output voltage Datasheet of a DBV regulator IC. Image credit: Texas Instruments 15 www.protoexpress.com Datasheets can have multiple packages. Search for the correct package using the part number. To create a new symbol for this IC, select the schematic symbol editor option (on the editor screen) and click on New Library. Symbol Editor in KiCad. New symbol library in KiCad. Copyright Sierra Circuits Inc., 2024 16 You have two options: Global or Project. If you are using this library specifically for your current project, you can select Project. If you choose Global, this library will be added to the predefined libraries. Now, save it in the folder of your choice. KiCad library table. 2.4 Create and include a new symbol to the library To create a new symbol, right-click on the created library and select New Symbol. 17 Adding new symbol in KiCad schematic editor. www.protoexpress.com Name the symbol and provide a reference designator. For example, 'R' for resistors. Configuration of a new symbol in KiCad. Since we are creating an IC, the default designator will be U. Add the number of units present in the package. After entering all the symbol requirements, click OK. Now, you will see the reference designator U on the symbol editor. Copyright Sierra Circuits Inc., 2024 18 Reference designator on the schematic editor Before creating a symbol, ensure the grid settings are configured. For this, right-click on the screen and select Grid. Set the value to more than 50 mil for a clear view of the connections. Grid configuration in KiCad. To draw the symbol, click the rectangle on the right-hand side and draw a rectangle. This will be the outline of your symbol. 19 www.protoexpress.com 20 Adding outline of a symbol in KiCad schematic editor. 2.5 Add pins to the new symbol Click on Add Pin on the right-hand side. Adding a pin to a symbol in KiCad. Enter the pin name, number, electrical type (output, input, passive, etc), and graphic style. As we are creating pin 1, we have named it VIN. We have chosen power input as its electrical type. Copyright Sierra Circuits Inc., 2024 Configuring symbol pins in KiCad. Place pin 1 on the symbol outline. Similarly, create and add all the remaining 4 pins. Next, hit Save and close the symbol editor. Placing the pins on the outline of a symbol. In the schematic editor, click the Add Symbol on the right-hand side to place the newly created symbol. Select the library you have created, choose the symbol, and click OK to place it. 21 www.protoexpress.com 2.6 Place symbols from KiCad libraries As per the datasheet, we must add decoupling capacitors at VIN, VOUT, and BYPASS pins. We can add the capacitors from the KiCad in-built library. Click on the Add Symbol and search for capacitors. Select the type of capacitors (polarized, unpolarized, ceramic) you're looking for, hit OK, and place them on the schematic editor. Adding symbols from KiCad inbuilt library. Click on the symbol (C for capacitors) to edit its value. Changing the symbol value in the KiCad schematic editor. Similarly, you can search for inductors, resistors, and other components required for your design. You can use the copy-and-paste option to place 3 capacitors. Then, edit the capacitance values according to the datasheet. Copyright Sierra Circuits Inc., 2024 22 2.7 Connect the component symbols Choose Add Wire to connect the circuit. Here, Pin 3 is an on-off switch. The device will turn on when connected to a high and turn off when connected to the ground. Click on Add Wire to connect the component symbols. We will short VIN and pin 3 for this circuit to turn on automatically when the input power is supplied. And connect all the capacitors to their respective pins. Connecting circuits with a wire. The dot formed in the connection represents the two lines that are connected. If the dot is not present, then the lines are not connected but overlapping. If needed, you can use the Add Junction option to connect the overlapped line. 23 www.protoexpress.com 24 Click on Add Junction to connect the overlapped lines. 2.8 Add power and ground symbols To ground the IC and capacitors, click Add Power. Search for the ground symbol in the pop-up window and add it to the circuit. Click Add Power to add power/ground in the KiCad schematic editor. Using Add Power, connect VIN to +5V and VOUT to +3.3V. Copyright Sierra Circuits Inc., 2024 Adding power input to a schematic. Circuit with ground and power connections. 2.9 Label the nets Each net has a name. For example, if you click on the pin 4 net, the connection is named Net-(U1-BYPASS) as default. 25 www.protoexpress.com 26 Net names on connections. In complex circuits, giving custom names to nets will help identify the connections and their functions. To name a net, select Add Label. In the Label Properties, name it BYPASS and place the label onto the wire. Label properties in KiCad. Additionally, you can add connectors from the symbol library to represent the external input and output connections. Make sure you connect the second terminal to the ground. Here is the final schematic of the power supply regulator circuitry. Copyright Sierra Circuits Inc., 2024 Completed schematic of the power regulator circuit. 2.10 Run electrical rules check A. Before running the electrical rules checker, you need to configure its settings. To do this, select Schematic Setup at the top left corner. Schematic setup in the KiCad schematic editor. 27 www.protoexpress.com B. To run ERC go to Inspect and select Electrical Rules Checker. Electrical rules checker in KiCad C. Click Run to start the check. The tool will analyze the schematic for electrical issues like unconnected pins, incorrect connections, or other potential errors. D. Once the check is complete, review the results listed in the ERC report. Errors and warnings will be displayed as shown below. Errors shown in electrical rule check. E. Address any issues found by ERC by editing the schematic. Click on the errors to locate them directly in the schematic view. F. After making corrections, re-run the ERC to ensure all issues have been resolved. Copyright Sierra Circuits Inc., 2024 28 G. Save your schematic and close the ERC dialog once all errors are fixed. 2.11 Export the BOM file Before creating the bill of material, configure the properties of each symbol. You can do this using the Symbol Fields Table present in the top right corner of the schematic editor. Symbol field table in KiCad. You can add fields like reference designator, value, quantity, DNP, MNP, description, and manufacturer name here. These are a few prominent fields that are essential in a BOM file. To export the material list, click Generate Bill of Materials. 29 Click Generate Bill of Materials to export the BOM file. www.protoexpress.com Before exporting, check if the headers and columns have all the required information. Then, choose a folder location to store the bill of materials file. You can also change the file format at this stage. After configuring the settings, click Export to create a BOM. Validate your exported bill of material using the BOM checker tool. Creating custom symbol libraries enables you to tailor your designs specific to your requirements. Whether you are designing simple circuits or intricate multi-sheet projects, KiCad offers an extensive set of features. 2.12 Generate netlist from the schematic A netlist describes the connectivity of electronic components within a circuit. To download a netlist in KiCad, follow these steps: In Eeschema, go to the top menu and click on File, Export, and select Netlist. Exporting netlist in the KiCad. In the Netlist Generation window, choose the format for the netlist (typically "KiCad" or "Spice", depending on your needs). Copyright Sierra Circuits Inc., 2024 30 Configure any additional options if necessary and click Export Netlist. Choose a folder to save the netlist with an extension .net and hit Save. The netlist will be generated and saved to the specified location. 2.13 Optimizing high-speed PCB schematic design When designing high-speed circuits in KiCad, you need to first configure grids, set up design rules, and select appropriate components to handle high-frequency signals. A. Configuring grid settings: The grid settings determine the precision with which you can place components and route traces. For high-speed designs, use a fine grid, typically 1 mil (0.0254 mm), to ensure that traces are precisely aligned and spaced according to the design requirements. This precision is necessary to manage impedance control, minimize crosstalk, and ensure consistent trace lengths for differential pairs. B. Setting design rules for high-speed layouts: To maintain good signal integrity, the trace width should be calculated based on the impedance requirements. Generally, it is 50 Ω for single-ended and 100 Ω for differential pairs. Additionally, clearances between traces and other elements should be set to minimize crosstalk and ensure adequate isolation. KiCad allows you to define these rules in the Electrical Rules under Schematic Setup. Here, you can specify constraints for different layers and net classes, ensuring that high-speed signals are routed as desired. 31 Setting electrical rules in schematic setup. www.protoexpress.com C. Selecting components for high-speed circuits: Choosing the right components is crucial for high-speed circuit designs. Not all components can handle the demands of high-frequency signals, so selecting parts with appropriate specifications is essential. For instance, when selecting capacitors for decoupling, it’s important to use low-ESR (equivalent series resistance) capacit ors with high self-resonant frequencies, as these components are more effective at filtering high-frequency noise. The choice of ICs, connectors, and passive components should be based on their ability to operate reliably at the intended signal frequencies. FPGAs, microcontrollers, and memory devices must be chosen based on their maximum operating frequency, signal rise time, and input/output impedance. Consider the packaging of these components, smaller packages like QFN or BGA can reduce inductance and capacitance in the signal path, improving overall performance. D. Placing the components efficiently: When placing components inKiCad, attention must be given to proximity. Critical components like decoupling capacitors should be placed as close as possible to the power pins of ICs to reduce parasitic inductance. Similarly, components involved in high-speed data paths, such as crystals or oscillators, should be placed near their associated ICs to minimize trace lengths and potential signal degradation. Crystal placement near microcontroller pin. Copyright Sierra Circuits Inc., 2024 32 Proper termination resistors should also be used at the end of signal lines to match the trace impedance and absorb any reflected signals, thereby preventing them from causing noise or errors. E. Creating a robust power distribution network: Effective power distribution is vital for high-speed circuit performance. Noise on power lines can lead to voltage fluctuations, causing timing issues and data corruption. Decoupling and bypass capacitors are critical in stabilizing the power supply and filtering noise. Decoupling capacitors should be placed as close as possible to the power pins of ICs to reduce the inductive effects of the PCB traces. A combination of capacitors with different values filters out a broad range of noise frequencies. For example, in the below image, capacitance with a lower value of 10 nF is used to filter high-frequency noise. 10 nF capacitor used for filtering noise at pin 4. Bypass capacitors are similarly important for providing a local charge reservoir near high-speed ICs, helping maintain a stable voltage during sudden changes in current demand. 33 www.protoexpress.com F. Routing differential pair: Due to their high immunity to noise, differential pairs are ideal for sensitive signals like USB, HDMI, or high-speed clock lines. 34 In KiCad, differential pairs are defined by assigning them as pairs in the schematic and then routed using the differential pair routing tool in Pcbnew. When routing differential pairs, it’s crucial to keep the two traces close together and ensure they have matched lengths. KiCad’s differential pair tool helps maintain consistent spacing and length matching which is essential for preserving signal integrity. Length matching is particularly important for differential pairs because any difference in trace length can result in skew, where one signal arrives slightly later than the other, causing timing issues. Additionally, differential pairs should be routed with a consistent impedance, typically 100 ohms, to prevent reflections and maintain signal quality. 2.14 KiCad version 9 updates for Eeschema Here are 3 important updates to the schematic editor in the upcoming KiCad version 9. A. Sheet pin and hierarchical label synchronization This tool will simplify the management of hierarchical designs by automatically syncing pins and labels, reducing the risk of errors and inconsistencies when working with complex multi-sheet projects. Sheet pin/hierarchical label synchronization tool in KiCad version 9. Copyright Sierra Circuits Inc., 2024 B. Sheet pin and hierarchical label synchronization This feature will enable you to draw shapes in the schematic editor to which net class directives can be attached. This update establishes precise control over applying electrical rules. It will ensure that different schematic areas are governed by different sets of rules based on their specific requirements. Schematic rule areas allows you draw a shape to which net class directives can be attached. Further, it is more useful in designs with mixed-signal or power-sensitive sections. C. Managing component population at the sheet level In KiCad V9, the schematic sheet level do not populate (DNP) feature allows you to control the component population for hierarchical sheet symbols. By marking a sheet as DNP, all components within that sheet are excluded from the BOM and PCB assembly, which is ideal for managing optional sections or variants in your design. This simplifies handling complex projects with multiple configurations 35 www.protoexpress.com 36 Schematic sheet level do not populate (DNP). For the complete list, visit the Sierra Circuits blog page. Copyright Sierra Circuits Inc., 2024 3. Creating component footprints Creating an accurate footprint is essential to ensure the components fit seamlessly on your PCB. Before starting the footprint design, gather the necessary specifications of the chosen component. You need the following details, most of which will be available in the datasheet: A. Package type: Identify the package type, such as SMD (surface mount device) or through-hole. Let us consider C0603 SMD capacitor as an example. B. Dimensions: Length, width, height, and pad dimensions. (L 1.60 ±10 X W 0.80 ±10 x H 0.80 ±10 mm) C. Pad/lead pitch: Distance between the capacitor’s leads or pads. (2 mm) D. Tolerance: Any manufacturing tolerances that might affect the footprint. E. Pad size and shape: Depending on the type of capacitor, pads may be rectangular, oval, or circular. (1 x 1.2 mm and rectangular) F. Solder mask and paste mask: Solder mask expansion and paste mask coverage if required. (0 mm) G. Reference designator: The label (e.g., C0603) that identifies the capacitor on the PCB. Next, if you want to assign the 3D model to the footprint, download the STEP file from the manufacturer's or supplier’s website. 3.1 Create a new footprint library Let us create a footprint for a capacitor (C0603C332K2RACTU) from KEMET. Open the KiCAD tool and select Footprint Editor from the KiCad home page. 37 www.protoexpress.com 38 Footprint editor in KiCad Go to File and New Library. You'll be prompted with two options: Global or Project. 1. Global: Select this if you want the footprint you're creating to be accessible in all your projects. 2. Project: Choose this option if you want the footprint to be available only in your current project. Next, a window appears where you can browse the location of this new library and name it. Make sure the file has a .pretty extension and save it. Copyright Sierra Circuits Inc., 2024 Creating a new library and assigning it to the global directory. 3.2 Add a new footprint to the library To create a new footprint, find the newly saved library in the libraries section, right click on your library, and click on New Footprint. Next, add the footprint name and type, and hit OK. This newly created footprint will be saved in the library folder you created in the previous step. 39 Adding new footprint to the library. www.protoexpress.com Keep these things in mind before you create the footprints: A. When creating footprints, some designers convert component dimensions from millimeters to mil. This increases the risk of pitch measurement errors. Always keep the pitch dimensions in the same units as specified by the manufacturer. B. Pitch measurement is critical for accurate component placement. Changing the units for pitch can lead to significant problems, especially with components having multiple pads in a straight line, such as connectors. C. Before you place a pad, click mm to change the dimension from mils to mm, as shown below. Change the dimension from mils to mm before creating the footprints. 3.3 Create pads for the component footprint Go to Place in the toolbar and select Add Pad. Place the pad as per your requirement, right click on the pad, and hit properties, or double-click to open the pad properties window. Copyright Sierra Circuits Inc., 2024 40 Creating pads for the component footprint Here, choose the type of pad (SMD in this case). Pad number, i.e., 1, pad shape is rectangular, pad size X: 1 mm and Y: 1.2 mm. 41 Creating pads for the component footprint www.protoexpress.com Pad positioning methods: There are two ways to place pads for accurate positioning: Method 1: 1. Click on Grids in the toolbar. 2. Choose 1 mm grid. The component pitch is 2 mm, and the spacing between the origin and the pad should be 1 mm. Creating pads for the component footprint 3. Click and drag the selected pad to the desired location on the grid. 4. Ensure that the pad is positioned at the center point of the grid for optimal alignment. Pad placement on a 1 mm grid Copyright Sierra Circuits Inc., 2024 42 Method 2: Double click on the pad and input the position parameters in the pad properties dialog. In our case, X is -1, and Y is 0 for pad 1, and then click OK. The pad will automatically snap to the required position. Repeat the same procedure for pad 2. Here, X will be 1, and Y will be 0. Defining position parameters for pad 1 in property dialog box. 3.4 Create a component outline The next step is to draw an outline of the component body. First, select the F.Fab layer from the appearance section. To draw the outline, go to the right-hand side menu and select Add Rectangle option). Draw the rectangle over the pads and right-click and edit the properties. Input the start and end point positions. For this capacitor,, the values are: start point X: -0.805, Y: -0.405. Endpoint X: 0.805, Y: 0.405. Once you enter these values, hit OK. The rectangle automatically positions itself based on the input parameters. 43 www.protoexpress.com 44 Placing component outline on F.Fab layer. 3.5 Place the component outline on a silkscreen and courtyard layer For placing component outline on silkscreen and courtyard, change the units to mil and follow these steps: 1. Select the F.Silkscreen layer from the appearance section. 2. Add a grid layer of 5 mil. 3. Go to Place –> Line (or go to the right-hand side menu and select Add line), draw the silkscreen outlines, right-click, and Edit to change the line width to 5 mils. 4. You can draw the whole outline, but a small outline is sufficient for representation and ensures a minimum clearance of 5 mil from the outermost pad. Copyright Sierra Circuits Inc., 2024 Placing component outline on F.Silkcreen layer Next, with the same 5 mil grid setting, select the F .Courtyard layer from the appearance section. Draw the outline and ensure a minimum clearance of 15 mil from the pads' outline. 45 Placing component outline on F.Silkcreen layer. www.protoexpress.com Once you arrange your reference designator, the final finished PCB footprint is shown below. Finished footprint in KiCad. 3.6 Assign a 3D file to the footprint 1. Go to File –> Footprint Properties and then click on 3D Models. 2. Upload the STEP file of the component and check the show box. 3. Verify if your 3D model is in the same orientation as your footprint and click OK. Copyright Sierra Circuits Inc., 2024 46 Assigning a 3D file to PCB footprint. 4. Go to View and click on 3D Viewer to access 3D view of the PCB footprint. 3D view of finished PCB footprint. 47 www.protoexpress.com 4. Setting up board parameters and rules Configuring design rules in KiCad A. Go to File. B. Select Board Setup. C. Choose Design Rules to access the complete list of design rules. You can now configure the design rules according to your project requirements. Steps to access design rules in KiCad. 4.1 Set the constraints Constraints allow you to establish clearance rules such as minimum clearance, track width, and annular width. To access the constraints section, click on Constraints under Design Rules. Copyright Sierra Circuits Inc., 2024 48 Constraint settings in KiCad. The constraints section is divided into 7 segments, each allowing you to set various parameters. Below are the segments and their corresponding parameters: A. Copper: Minimum clearance, track width, connection width, annular width, via diameter, copper-to-hole clearance, and copper-to-edge clearance. B. Holes: Minimum through-hole diameter and hole-to-hole clearance C. Microvias: Minimum microvia diameter (finished) and minimum microvia hole. D. Silkscreen: Minimum item clearance, text height, and text thickness. E. Arc circle approximated by segments: Maximum allowed error in line segments. F. Zone fill strategy: Minimum acceptable number of thermal relief spokes connecting a pad to a zone. G. Length tuning: Stack-up height in track length calculations. When utilizing a via during length matching, select this option to automatically consider the via height. 49 To import settings from an existing board design, click on Import Settings from Another Board and select the design file. Next, choose the settings you want to import and click on Import Settings. www.protoexpress.com 50 Importing settings from an existing design. 4.2 Specify custom dimensions for traces and vias In the pre-defined Sizes section, you can establish a library of pre-defined tracks and vias. This feature is essential for maintaining consistency and ensuring that frequently used sizes are readily available. This reduces the manual input each time you create a new track or via. Pre-defined sizes for tracks, vias, and diff pairs in KiCad. Copyright Sierra Circuits Inc., 2024 To add a new track, via, or a differential pair, click on the + button. 4.3 Add teardrops for tracks and pads Teardrops significantly enhance PCBs' reliability by reinforcing the connection between pads, traces, and vias. They act as stress relievers, reducing the risk of cracking and trace detachment due to mechanical stress or thermal expansion. KiCad version 8 allows for custom teardrop design for circular and rectangular pads, as well as between tracks themselves, providing flexibility in PCB design. Adding teardrops for round, rectangular, and track-to-track teardrops in KiCad. In this section, you can set the following characteristics of teardrops: A. Best length (L): The ideal teardrop length. It's based on the width of the connected pad or trace. B. Maximum length: Maximum allowed teardrop length. 51 www.protoexpress.com C. Best width (W): The ideal teardrop width based on the size of the connected component or trace. 52 D. Maximum width: Maximum allowed teardrop width. E. Maximum track width: The teardrops are only generated when the connected track is narrower than a specified percentage of the pad width. F. Prefer zone connection: If enabled, a teardrop won’t be created if both the pad and the track are already connected to a zone (like a ground or power plane) G. Edges: These radio buttons specify whether the teardrop edges need to be straight line or curved. H. Curve points: Number of points in a curve; more points make the curve smoother. H.Allow teardrops to span 2 track segments: If selected, the teardrop extends into a second track segment if the first segment is too short for a full teardrop. You can also add teardrops to existing connections quickly. To do this, go to Edit and click on Edit teardrops. Applying teardrops to existing traces or pads. Copyright Sierra Circuits Inc., 2024 A dialog box appears with the following sections: A. Scope: Here, you can define the types of objects affected, such as PTH pads, SMD pads, vias, or track-to-track connections. B. Filter items: This allows filtering by criteria like net, net class, and layer. You can also apply filters based on round pads, pre-existing teardrops, or selected objects. C. Action: You can remove or add teardrops based on your size and shape requirements. If a teardrop already exists, it will update with the new settings. To add teardrops for individual vias and pads, double-click the pad or right-click on the pad and select Pad Properties. A dialog appears as shown below. Adding teardrops on individual pads in KiCad. Now, go to Connections and enter the dimensions as per your requirements. 53 www.protoexpress.com 4.4 Perform length tuning for traces In the Length-tuning Patterns section, you can tune the length of single tracks and differential pairs by adding serpentines to your traces. This is one of the new updates in KiCad version 8. Length tuning single tracks, differential pairs in KiCad. This section 3 segments: A. Single-track length tuning: Adds serpentine shapes to increase the length of a single track to the target value. B. Differential pair length tuning: Similar to single-track tuning, it adds serpentine shapes to a differential pair to adjust the length of both tracks in a differential pair to meet the target value. C. Differential pair skew tuning: Adds length to the shorter track in a differential pair to eliminate skew (phase difference) between the positive and negative sides. Copyright Sierra Circuits Inc., 2024 54 When setting up tuning patterns, you need to adjust the following parameters: A. Maximum/minimum amplitude (A): Set the maximum and minimum amplitude for the tuning pattern. B. Spacing(s): Specify the spacing between meanders. C. Corner style: Choose between filleted (rounded) or chamfered corners. D. Radius(r): Enter the serpentine's radius as a percentage of the spacing and amplitude. E. Single-sided pattern: Configure the tuning pattern to be single-sided, restricting it to one side of the baseline instead of the default style that positions meanders on both sides. 4.5 Group the nets using net classes In the net classes section, you can create a hierarchical structure library for organizing multiple nets. Grouping the nets within a net class ensures uniform application of design rules to the entire group. Every net in KiCad is assigned to a specific net class. If a net is not added to a specific class, it will automatically be included in the default class. To add a new net class, you click on the + button and enter the following details: A. Name of the net class B. Clearance C. Track width D. Via size E. Via hole F. Microvia size G. Microvia hole H. Differential pair width 55 I. Differential gap www.protoexpress.com 56 Creating net classes in KiCad. Here, we have created net classes with the names Group1, Group2, and POWER. 4.6 Define custom rules This segment allows you to set custom design rules for your design. Creating custom design rules in KiCad. Copyright Sierra Circuits Inc., 2024 Here's a template to define a custom rule: (version <number>) (rule rule_name> <rule_cause>…) (constraint <constraint_type>…) (condition “<expression>” (layer "<layer name>") (severity <severity_name>) A. Version: Here, you just have to enter a number. The rules will be assessed based on the version. The latest version number will be considered for DRC. B. Rule name: Choose a descriptive name for your rule that accurately reflects its purpose. Enclose this name within quotation marks. (rule <rule_name> <rule_clause>…) C. Constraint: This clause defines the actions to be taken when the rule is triggered. You can include multiple constraint clauses to impose various constraints, such as clearance and track width, on objects that meet the same conditions. D. Condition: It specifies which objects the rule applies to. It uses expressions to detail the conditions. E. Layer: This defines the board layers to which the rule applies. You can use specific layer names or shortcuts like outer (for front and back copper layers) and inner (for internal copper layers). If no layer is specified, the rule applies to all layers. F. Severity: Define the severity level for a rule violation. This defines how violations should be handled—whether as errors, warnings, exclusions, or ignored. Let's look at an example from the syntax help dialog in KiCad. This rule sets a minimum clearance between vias of different nets. 57 www.protoexpress.com ( rule "Distance between Vias of different Nets" (constraint hole_to_hole (min 0.254 mm)) (condition "A.Type == 'Via' && B.Type == 'Via' && A.Net != B.Net") ) In this example, A. Rule name: Distance between Vias of different Nets B. Constraint: Minimum hole-to-hole clearance of 0.254 mm (10 mils) C. Condition: Applies to vias (A and B) that belong to different nets By following this structure, you can create and customize rules to ensure your PCB design meets all necessary requirements. Be sure to consult the syntax help dialog for precise instructions and thoroughly test your custom rules to ensure they function as intended. 4.7 Assign violation severity The Violation Severity segment lets you assign the level of DRC violation when the rule is not followed. Assigning violation severity for design rules in KiCad. You can set the severity for electrical, design for manufacturing, and schematic parity segments using the radio buttons. After providing your input, click OK. Copyright Sierra Circuits Inc., 2024 58 5. Placing components in the layout editor Component placement is the key to creating a functional and reliable PCB. It influences the ease of routing, the electrical performance, and the manufacturability of your design. KiCad facilitates component placement by importing schematics directly from the editor, 3D visualization, and auto-routing. 5.1 Open the layout file Before placing the component, ensure your KiCad project has a schematic ready for conversion to a PCB layout. When you create a KiCad project, a default layout file will be automatically created. This will be an empty file ready for you to import the schematic (netlist). Layout file automatically created in Kicad. 59 Please note that all the components in the schematics must be assigned with footprints. www.protoexpress.com 5.2 Import your schematic into the PCB layout Next, you need to translate your schematic into a layout with effective component arrangement. For these steps: A. Click Update PCB from Schematic under Tools. Steps to update layout from schematics without downloading a netlist. B. Review the import options and ensure to check all the below options. Link Footprints: Ensures that components in the PCB layout are linked to their respective footprints. Delete Footprints with No Symbols: Removes any footprints not present in the schematic. Replace Footprints: Updates footprints if changes were made in the schematic. Copyright Sierra Circuits Inc., 2024 60 Update PCB from Schematic option in Kicad. B. Ensure that all components have been imported correctly. C. Address any warnings or errors that may have appeared during the import process. D. Click Update PCB to complete the import of the designed schematic. 61 Components and nets imported from schematics. www.protoexpress.com 5.3 Define the board stack-up Before placing components, you must define the board’s physical dimensions and layer stack-up. This setup ensures that your board has the correct size and layer configuration for your design. Board Setup option in Pcbnew. A. Open Board Setup by selecting File and Board Setup. B. Under the Physical Stackup, you can choose the number of copper layers. C. For example, select a 4-layer board if your design requires it. You can have up to 32 copper layers in KiCad. D. According to your stack up requirements, configure the thickness and material details. Example of stack-up created for designing the board. Copyright Sierra Circuits Inc., 2024 62 E. Next, enter layer details under the Board Editor Layers. Specify each layer’s function: signal, power, or ground. F. Click OK to save your board stack-up settings. Board Editor Layer option to configure the stack-up. 5.4 Draw the board outline For this KiCad tutorial, we are drawing a 2 ½ inch board outline. Before outlining, configure the grid setting as per your project requirement. Here, we have set the grid size to 500 mils (or 1/2 inch) for better precision. 63 www.protoexpress.com 64 Grid configuration drawing the layout creation. To draw the outline, select Edge.Cuts in the Appearance panel on the right-hand side. Use the Draw Line Tool to define the corners and edges of your PCB. Complete the outline and ensure it is closed and matches your design specifications. Edge.Cuts and Draw Line tool options in KiCad layout editor. Copyright Sierra Circuits Inc., 2024 5.5 Set grid and drill/place file origins To place the grid origin, go to Place, select Grid Origin and click at the bottom-left corner of your board outline. For adding drill/place origin for your drill files, select Drill/Place File Origin from the Place tab and place it on the same bottom-left corner of the outline. Grid Origin and Drill/Place File under the Place tab. 5.6 Add mounting holes Follow these steps to add mounting holes on your board: A. Change the grid settings to 50 mil. This provides finer precision for placing small components. B. From the imported components of the schematics, drag the mounting holes and place them at the four corners of the board outline. 65 www.protoexpress.com C. Ensure there is sufficient space around mounting holes to prevent issues during assembly. Keep a minimum of 25 mil board-to-hole edge clearance. D. Use the origin as the reference point to calculate dimensions. Placing the mounting holes on the corners of the board outline. E. Select all four holes to lock the mounting hole in place, right-click, and choose Lock. This will prevent accidental movement. F. Verify that the holes are locked by checking the object panel. Locking the mounting holes in place. Copyright Sierra Circuits Inc., 2024 66 5.7 Place connectors and key components A. First place major connectors like USB ports, power jacks, and other critical components. B. Turn on the Footprint Text in the Object tab on the right-hand side panel to identify and place components correctly. Footprint Text option under the Objects tab. C. Plan and place the connectors at the board's edge according to their specifications. For instance, here, the USB connector is a right-angle connector. It has a marking that needs to coincide with the board edge. D. Place the connector accurately. Change the grid setting for a clearer view. 67 E. You can check the component placement by using 3D visualization. For this, go to View and select 3D Viewer. Ensure the component is placed in the right position. www.protoexpress.com 68 Component placement review in the 3D viewer. 5.8 Position components based on the function 1. Arrange components logically by placing them to minimize routing complexity. 2. Isolate digital, power, and analog circuits to minimize interference. 3. For instance, group power connectors and related circuitry. Position signal ICs and their associated components close together. 4. Ensure that connectors align with their respective nets for efficient routing. 5. Place the ICs and keep the connections as short as possible. Ensure there’s enough space for traces and critical components are not too close to the edges. 6. Adjust components to simplify routing paths and minimize crisscrossing connections by rotating the components. Copyright Sierra Circuits Inc., 2024 Placement of microcontrollers, ICs and their connectors. 7. Make sure the connectors and other component courtyards are not overlapped. 8. Refer to the schematic regularly to minimize errors. 9. To facilitate the routing process, you can start to fan out the components at this stage. You also can avoid making adjustments to component placement for adding new vias in the later stage. 69 Fanning out components using via. www.protoexpress.com 10. Use the bottom side of the board for component placement to make the routing more efficient instead of cluttering the board. Here, the comparator IC is placed backside of the regulatory IC for efficient placement. Placing components on the backside of circuit board. 5.9 Place decoupling capacitors and crystals When designing a PCB in KiCad, placing capacitors and crystals is crucial for ensuring optimal circuit performance. Diode, regulator IC and decoupling capacitor placement. Copyright Sierra Circuits Inc., 2024 70 Capacitors, particularly decoupling capacitors, should be placed as close to the power pins of integrated circuits (ICs) to minimize noise and improve power stability. The close placement reduces the inductive effects of the PCB traces, allowing the capacitor to filter out high-frequency noise effectively. Always place the decoupling capacitor with the lower capacitance value closer to the power pin or output. In comparison, the capacitor with the higher capacitance value can be placed slightly farther away. In the example below, the lower value capacitor is placed closer to the ground and voltage input pin. Capacitor placement proximity with IC based on their functions. This arrangement ensures that the lower-value capacitor can effectively filter out high-frequency noise, while the higher-value capacitor handles lower-frequency noise and bulk energy storage. Crystals, often used with microcontrollers or oscillators, also require careful placement. Crystals should be positioned close to the ICs they are paired with to minimize the trace length between them. This proximity helps reduce potential signal degradation or noise, which can lead to timing errors. Additionally, the traces connecting the crystal to the IC should be kept short and direct, with minimal routing complexity, to avoid introducing 71 www.protoexpress.com 72 Click Generate Bill of Materials to export the BOM file. It's also important to consider the grounding strategy. Both capacitors and crystals should be connected to a solid ground plane to ensure a low-impedance path and reduce the noise coupling risk into the circuit. Careful placement and routing in KiCad will help ensure your PCB functions reliably, with minimal interference from external or internal noise sources. Copyright Sierra Circuits Inc., 2024 6. Routing a circuit in Pcbnew 6.1 Add a ground pour Follow these steps to add a ground pour in your layout: A. Select the ground layer: First, ensure you're working on the correct layer. In this layout, layer 3 is a ground layer. To select the ground layer, click GND.Cu in the Layers tab under the Appearance section. Selection of ground layer in KiCad. B. Add a filled zone: Click Add Filled Zones in the vertical toolbar or navigate to Place --> Add Filled Zones in the top menu. 73 www.protoexpress.com 74 Select Add Filled Zone from the right selection panel in KiCad. C. Define the zone area: Before placing the zone, set the grid spacing to help you precisely place and align components and tracks on your layout. To define the grid spacing, use the drop-down panel and set it to 5 mil. Grid spacing selected as 5 mil in KiCad. Copyright Sierra Circuits Inc., 2024 Maintain at least 20 mil spacing between the board's edge and the zone. Measure 20 mils from the X and Y axes at the board's edge and click to begin defining the zone. Start adding the zone 20 mil away from the board's edge (X and Y axes(. D. Configure copper zone properties: To place the zone, click on your screen. The Copper Zone Properties window will appear. 75 Copper zone properties window for defining ground pour in KiCad. www.protoexpress.com Here’s what you need to configure: 0- Layer: Ensure that GND.Cu is selected. 1- Net: Choose GND. 2- Zone name: Optionally, you can name the zone. This can be useful if you set specific rules for this zone in the custom rules section. 3- Electrical properties: Clearance: 15 mil. Minimum width: 10 mil. Pad connections: Choose Solid for the pad connection, as we're not using thermal reliefs. 5. Fill type: Select Solid fill for a complete pour. Hatch fill is typically used for flex PCBs, but for a rigid PCB, solid fill is preferable. 6. Shape: Outline display: Select Hatched for the zone outline display. Corner smoothing: Set this to Chamfer for smoother edges. 7. Remove islands: Enable this option as Always to remove any isolated copper areas after the pour automatically. E. Apply and fill the zone: After configuring these settings, click OK. Next, select the area you want the ground pour to cover. Once the area is selected, right click and choose Close Outline. Then, right click again and select Cancel from the same menu. Copyright Sierra Circuits Inc., 2024 76 Select Close Outline and Cancel to apply ground zone settings. Click on the ground pour outline you've drawn on the PCB layout, select Zones followed by Fill All Zones to complete the ground pour. 77 Select Zones and choose Fill All Zones to complete the ground pour. www.protoexpress.com F. Review the ground plane: After zone filling, review the third layer. You'll see that the entire third layer is now covered by the copper ground pour. The third layer is covered with ground fill. All ground vias will automatically be connected to this layer. Ground vias are automatically connected to the ground layer. This completes the process of adding a ground plane in KiCAD. Copyright Sierra Circuits Inc., 2024 78 6.2 Implement power routing The first crucial step in PCB routing is to plan the power distribution. A. Plan your power layers: Determine which layers of the stack-up will be dedicated to power distribution. Select POWER.Cu for power routing. Selecting the power layer in KiCad. B. Create polygons for VIN, 3.3V, and 5V power nets: 3.3V net: Place a polygon for 3.3V on POWER.Cu (layer 2), ensuring that it covers the necessary components. To create the polygon, follow the steps to add filled zones explained in the above section. You need to choose POWER.Cu in the layer section and +3V3 in the net section. 79 www.protoexpress.com 80 Copper zone properties for 3.3V net. If the 3.3V polygon on layer 2 blocks the path for VIN, it’s better to route it on the bottom layer. This way, you avoid interference between power nets and ensure that each has sufficient space. After routing 3.3V on layer 2 and VIN on the bottom layer, the two nets can safely overlap without conflicts. Copyright Sierra Circuits Inc., 2024 Copper zone properties for VIN net. 5V net: Once the 3.3V and VIN polygons are placed, you can focus on the 5V net. The 5V net will most likely be routed on the power layer (layer 2) in most designs. Use a polygon on the same power layer to connect all the 5V points, leaving space for the ground around the board's edges to help with noise suppression. 81 www.protoexpress.com 82 Polygon created for 5V net in the power layer. Maintain a 45-degree angle when you draw the polygon edges as a clean design practice. Further, you must maintain proper clearances and ensure the trace fits within the designated space. C. Route the power nets: Route PWR IN and VIN nets on both TOP.Cu (top layer) and POWER.Cu (layer 2) to increase the current-carrying capacity of the traces. The bottom layer is not used for power routing VIN, as the current requirements (1.5 to 3 amps) are adequately managed by layers 1 and 2. Copyright Sierra Circuits Inc., 2024 PWR IN and VIN net routed on layer 1 and layer 2. You can also add teardrops to existing connections quickly. To do this, go to Edit and click on Edit teardrops. To ensure your trace width can handle the expected current, use an online current calculator, taking into account the copper thickness and the current that will flow through the traces. D. Connect power to components: Next, consider the 5V net, one of the board's primary power lines. This net, represented by red lines in the design, is routed to multiple components, including the main controller. Route the 5V net on the top layer and extend this using vias to POWER.Cu (layer 2), similar to the PWR IN and VIN strategy. 83 www.protoexpress.com 84 5V net is routed on the top layer. E. Handle lower power nets: For lower power nets like the 3.3V rail, which is generated from the 5V supply, place the voltage regulator close to the source to minimize the routing length. Route the 3.3V output from the regulator directly to the op-amp located at the bottom of the board. Since this connection involves low current due to the high impedance of the inverting input, a polygon pour is not required. Instead, use a simple trace on the bottom layer. Copyright Sierra Circuits Inc., 2024 Trace from the op-amp's inverted pin to 3.3V via. To route this, select Route Tracks from the right-hand toolbar in KiCad. Click on the starting point of your trace on the layout and drag to position it. If you need to adjust the trace width, press W while routing and set the width to your desired value (15-20 mils in this case(. Continue routing until you connect the trace directly to the 3.3V via. F. Ensure proper clearance and ground stitching: As you complete your power routing, always maintain sufficient clearance between adjacent power polygons, especially on the power layers. This allows you to place ground between them which is crucial for reducing noise and ensuring stable operation. Finally, make sure the board's edges are covered with ground polygons. Use vias to stitch the ground plane across different layers, especially along the board’s edges, to create a robust, noise-resistant design. By following these steps, you can ensure that your PCB's power routing is efficient and capable of handling the necessary current loads. 85 www.protoexpress.com 6.3 Routing a differential pair in KiCad The most critical tracks in routing are the differential pair lines. Both wires in a differential pair should have identical length and width. It's essential to route them carefully, ensuring they are isolated from any other high-frequency signals. If there are multiple differential pairs, they should be spaced at least 5W apart, where 5W represents five times the width of the differential pair. A. Choose the layer: Before routing the differential pair, confirm that you're on the correct layer. To route on the bottom layer, select Bottom.Cu in the layer selector. Selecting the bottom layer for differential pair routing. B. Select the differential pair tool: Navigate to Route --> Route Differential Pair from the menu. Navigate to Route Differential Pair in KiCad. Copyright Sierra Circuits Inc., 2024 86 C. Route the pair: Select the starting point of the pair, typically from a pad or via, and click to start routing. Guide the traces along the desired path. KiCad will automatically maintain the specified gap between the two traces. Start routing differential pair in KiCad. D. Check the skew: Ensure the skew between the two lines of the differential pair does not exceed your set tolerance, typically around 5 mil. This can be adjusted in the rule settings, which we have discussed below. For the final connection, you can use a single trace to make it easier to complete the routing. 6.4 Differential pair length tuning in KiCad To ensure accurate signal timing and integrity in high-speed PCB designs, length matching of differential pairs is crucial. Follow these steps to length-match differential pairs using KiCad. A. Set up length-matching rules: Before tuning, you need to define the length-matching parameters in Board Setup. To access the Board Setup dialog, click the Board Setup icon in the top toolbar or navigate through File --> Board Setup. 87 www.protoexpress.com 88 Navigate through the menu to Board Setup. In the Board Setup, click on the Length-Tuning Patterns section. Set the parameters for single-track, differential pairs, and differential pair skews. Define the amplitude, the spacing for serpentine patterns (ideally 3W), and the corner style (e.g., Fillet). Setting up length matching rules in KiCad. Copyright Sierra Circuits Inc., 2024 Ensure that for differential pairs, the spacing is calculated from edge-to-edge of the traces rather than center-to-center to achieve the desired 3W spacing accurately. B. Create and assign a differential pair class: Create a new net class for your differential pairs and set the trace width and clearance according to your design requirements. Further, configure the differential pair width and gap (clearance between the traces). Go to the Net classes section in the Board Setup and assign this class to the differential pairs. Assign the newly created class to the differential pairs. Ensure your minimum track width in the constraint manager is less than or equal to the differential pair width. If this is not set correctly, KiCad may not apply the rules as expected, leading to routing errors. 89 www.protoexpress.com 90 The minimum track width in the constraint manager should be less than or equal to the differential pair width. C. Calculate and set length matching tolerances: After routing the traces, check the routed length for each trace. Identify the longest trace in your differential pair. The longest trace length in the differential pair. www.protoexpress.com Use its length as a reference to set custom rules under Design Rules in Board Setup. Custom rules are set for differential pairs in KiCad. For example, if the longest trace is 1661.25 mil, set the maximum length to 1662 mil and allow a tolerance of ±10 mil. This means the minimum length should be set to 1652 mil. All traces within this class will be evaluated against these minimum and maximum length limits, and any trace falling outside this range will trigger an error. 91 Copyright Sierra Circuits Inc., 2024 92 D. Perform length tuning: Selection of length tuning tool for differential pair. Once the rules are set, use the length tuning tool to adjust the shorter trace. Go to Route --> Tune Length of a Differential Pair from the menu. The current length of the differential pair is displayed. The tool will display the current length, and as you drag to adjust, it will update the length to meet the minimum and maximum requirements you've set. www.protoexpress.com Drag to adjust the differential pair length to meet the minimum requirement. When the length falls within the specified range, click to finalize the tuning. E. Verify and adjust: After tuning, verify that all differential pairs meet the length-matching criteria. If the traces don’t match the required length, KiCad will flag them, allowing you to make further adjustments. 6.5 Match skew between traces Skew matching is an essential step when working with differential pairs. It ensures that the signals on the pair's positive (P) and negative (N) traces remain synchronized. KiCad provides tools and custom rules to help achieve precise skew matching. A. Access the board setup: Navigate to File > Board Setup or click Board Setup in the top toolbar. Board Setup icon. B. Define skew matching rules: In the Board Setup dialog, go to Design Rules –> Custom Rules. Set the skew constraint rule. This rule is specifically for skew matching within differential pairs. 93 Copyright Sierra Circuits Inc., 2024 For example, set the minimum skew as -5 mil and the maximum skew as +5 mil. This configuration means that the length difference between the P and N traces should not exceed 5 mil in either direction. Custom rules for skew matching in KiCad. If the longest trace in the pair is 100 mil, the shorter trace must be between 95 mil and 100 mil. The rule checks each trace in the pair individually, ensuring that neither exceeds the defined skew limits. Ensure that the skew rule is only applied to coupled differential pairs. In the Custom Rules section, specify that the rule applies to traces that belong to the same differential pair. C. Tuning skew of differential pair After setting up the skew constraint, you can proceed with tuning the skew. Click on Route --> Tune Skew of ` Differential Pair. This tool allows you to adjust the trace lengths within your skew tolerance. www.protoexpress.com 94 Navigate to the tune skew of a differential pair tool. Click on the differential pair to verify the current skew. Differential pair skew matching. If the skew exceeds the set limit, adjust the trace by pulling it to reduce the length difference and match it more closely with the other trace. 95 Copyright Sierra Circuits Inc., 2024 6.6 Execute orthogonal routing 96 Orthogonal routing involves setting one layer for horizontal traces and the adjacent layer for vertical traces. This method reduces the chances of trace intersections and eliminates the need for additional vias, keeping your design clean and efficient. Here’s how to do orthogonal routing in KiCad. A. Select the layer for routing: On the right selection pane, choose the TOP.Cu if you want to route on the top layer of the PCB. Ensure only the layers you are working with are visible to avoid screen clutter. Selecting the top layer in KiCad. B. Start the interactive router: To activate the interactive routing tool, press X or select Route Tracks from the toolbar. Select 'Route Tracks' from the toolbar. www.protoexpress.com C. Select track/via width: Begin routing by clicking on the starting pad or via. Right-click to bring up the context menu, then choose Select Track/Via Width. Click Tracj netclass width to use the predefined width based on the net class settings you configured earlier. This ensures consistent trace widths across your design. Track netclass width in KiCad. D. Route the traces: Click on the pad or via where the trace will start, usually a component pad. Move your cursor in the direction you want to route the trace. If you need to change directions, simply move the mouse to the new direction; KiCad will adjust the trace accordingly. 97 Orthogonal routing in KiCad 8. Copyright Sierra Circuits Inc., 2024 Complete the trace by clicking on the pad or via where it ends. If you need to cross over another trace, consider adding a via to route the trace to the opposite side of the board. To route vertical traces, switch Bottom.Cu (bottom layer). This keeps your routing clean and organized. Selecting the bottom layer in KiCad. In the layout below, the top layer showcases horizontal routing highlighted in red, while the bottom layer displays vertical routing, represented in blue. Orthogonal routing on the top and bottom layer in KiCad. www.protoexpress.com 98 6.7 Route crystal oscillators Another crucial part of Kicad PCB routing is crystal placement. A crystal is a continuously varying signal required for any microcontroller to operate and used as a reference signal. This should be very close to the microcontroller, and its track should be as short as possible. Crystal routing in KiCad. Follow these steps to route a crystal. A. Place the crystal close to the IC pins: Position the crystal as close as possible to the relevant IC pins. This reduces the trace length and helps maintain signal integrity. While placing the crystal, connect it directly to the IC pins using the interactive routing tool (X key) to ensure the shortest route. B. Position load capacitors near the crystal: Place the load capacitors close to the crystal, preferably on the same layer. If space constraints make this difficult, place them on the bottom layer directly beneath the crystal to keep them close. 99 Copyright Sierra Circuits Inc., 2024 100 Place load capacitors close to the crystal. Connect the load capacitors to the ground plane through a ground via. To place a via: 1. Begin routing a track by selecting the Route Tracks (or shortcut key X). 2. While routing, press the V key on your keyboard. This automatically places a via at the current cursor position and switches the routing to the next layer in the stack. 3. Move the cursor to continue routing on the new layer. The via will connect the trace from the current layer to the newly selected layer. 4. To stop routing, right-click and choose Cancel or press the Esc key. The aim is to keep the crystal and its load capacitors close to each other and the IC pins to minimize signal degradation. C. Fan out critical power traces: Before finalizing the crystal placement, ensure critical power traces, such as 5V, are properly fanned out with vias. Place vias to connect power traces to other layers, ensuring power distribution is handled before placing the crystal too close to the IC pins. www.protoexpress.com Fanout 5V before finalizing crystal placement. D. Optimize the crystal placement: Once the power traces are fanned out, finalize the crystal's position. Ensure it is close to the IC pins while maintaining enough clearance from power vias. Always prioritize the placement and routing of crystals and bypass capacitors to ensure stable operation. After completing the PCB routing, check that the designators do not overlap with the differential pairs. It’s acceptable if they overlap with the tracks but not the pairs. 6.8 Add ground pours on the outer layers After routing, you must add ground pours on the outer layers. This is essential for providing a low-impedance return path for your signals and improving overall electromagnetic compatibility. Start by pouring copper on the desired portion of the top and bottom layers. Ensure all pours are complete and consistent. Maintain sufficient clearance between polygons and traces to avoid unintended interactions, especially around critical impedance traces. Keep a clearance of 15 mil between polygons and 10 mil between polygons and traces. 101 Copyright Sierra Circuits Inc., 2024 For high-impedance traces, use a clearance of 5W (five times the trace width) to avoid signal distortion. 102 Clearance of 5W between impedance traces and polygon. If maintaining a 5W clearance isn’t feasible, you can reduce it to 3W but avoid going any lower to prevent impedance issues. If maintaining the required clearance isn’t possible and the copper pours significantly impact the trace impedance, it’s better to avoid pouring copper in those areas altogether. 6.9 Adjust reference text placement and size To move the ref text, place the cursor on it, select it, and find a suitable place. Select a proper place so the distance from the ref text is at least 6 mil from the pads. Click Edit --> Edit Text & Graphic Properties from the menu to change the size. Choose the layer as F.Silkscreen and adjust all the required properties, then click OK. Edit text and graphic properties dialog box. www.protoexpress.com It is okay to place your ref text over your vias if they are tented. Always keep ref text away from the pads and the vias. If it is impossible to keep it away from your vias, then tent your vias. 6.10 Generate a design rule check report A. Navigate to the Inspect. B. Choose Design Rules Checker and click on DRC. Running DRC in KiCad. C. If your design has any discrepancies, it will be displayed as shown above. D. The top section of the DRC Control window comprises a set of options that are responsible for regulating the behavior of the design rule checker: Refill all zones before performing DRC: When this feature is enabled, zones will be automatically refilled each time the design rule checker is initiated. Disabling this option could lead to inaccurate DRC outcomes if zones haven't been manually refilled. 103 Report all errors for each track: This option reports all clearance errors per track segment. If disabled, it only reports the first error. This option may slow down the design rule checker. Copyright Sierra Circuits Inc., 2024 Test for parity between PCB and schematic: When enabled, the design rule checker checks both PCB design rules and discrepancies between the schematic and PCB. 6.11 KiCad version 9 updates for Pcbnew Here are the two major updates expected in the layout editor for KiCad version 9: A. Zone manager enhancements: One of the key improvements in KiCad V9 will be the introduction of the new Zone Manager feature. It will allow you to easily preview and adjust zone priorities, making it simpler to manage complex PCB layouts. The zone manager aims to provide a better interface for handling copper pours on multi-layer PCBs, ensuring your designs meet the specifications without complications. The new zone manager feature allows easy preview and adjustment of zone priorities and other settings. www.protoexpress.com 104 B. Via tenting control: KiCad version 9 will introduce better control over via tenting by allowing you to specify tenting options on both the top and bottom sides of a board, with per-via overrides. This feature will replace the previous "tent vias" checkbox in the Plot dialog box, offering a more flexible way to handle via tenting. Via tenting board setup in KiCad 9. Track and via properties settings in KiCad version 9. 105 Copyright Sierra Circuits Inc., 2024 7. Exporting production files: IPC-2581 and Gerber 106 7.1 Files required for PCB manufacturing After completing the design, the next step is to generate production files for the manufacturer. The set of files that are required for the production of PCBs are as mentioned below: IPC-2581: It is a unified design data format, enabling seamless data exchange between designers and fab houses. By using IPC-2581, you eliminate the need to generate separate files for Gerber, drill, and netlist, streamlining the design and manufacturing processes. Gerber files: These are the files containing production information for each layer of a PCB. 1. Top etch 2. Bottom etch 3. Middle layer etch 4. Top and bottom silkscreen 5. Top and bottom paste mask 6. Top and bottom solder mask 7. Top and bottom assembly 8. Fab details 9. Board outline 10. NC drill 11. Component placement file 12. IPC 356 netlist 13. PDF 14. Schematic 15. Stack-up report 16. Bill of material www.protoexpress.com 7.2 Export IPC-2581 file in KiCad A. Go to File --> Fabrication Outputs --> IPC2581 File (.xml). Export IPC-2581 dialogue box will appear. Path to open the Export IPC-2581 dialogue box in KiCAD. B. Choose the destination folder and enter the output file name. 107 Destination folder and output file name in KiCAD. Copyright Sierra Circuits Inc., 2024 C. Choose the desired measurement units, precision, and IPC-2581 version. The details in the Export IPC-2581 window of KiCAD. D. Click Export to get started with the IPC-2581 file generation. Click on export to download the IPC-2581 file. The unified file is then shared with the fabricators. They import the smart design data file using CAM systems to produce PCBs based on the design data provided by designers. www.protoexpress.com 108 7.3 Export Gerber files in KiCad Generating Gerber files in KiCad is a straightforward process. Follow these steps to export your PCB design for manufacturing. A. Click on Plot in the top toolbar. Plot icon in KiCad for exporting Gerber files. Navigate to open Plot in KiCad for exporting Gerber files. Alternatively, you can go to File and select Plot from the menu bar. This will open the Plot dialog window, where you can configure the Gerber file settings. 109 Copyright Sierra Circuits Inc., 2024 B. Configure the Gerber settings. Settings in the Plot dialogue box in KiCad for exporting Gerber files. C. Choose Gerber as the output format from the Plot format dropdown menu. D. Specify the directory where you want to save the Gerber files. It's a good idea to create a separate folder named "Gerber" within your project files to keep everything organized. E. Under the Include Layers section, select all the layers you need for the Gerber files. For a 4-layer PCB, select all four layers. Additionally, select: 1. F.Paste (front paste) 2. B.Paste (bottom paste) 3. F.Silkscreen (front silkscreen) 4. B.Silkscreen (bottom silkscreen) 5. F.Mask (front soldermask) 6. B.Mask (bottom soldermask) www.protoexpress.com 110 7. Edge.Cuts (defines the actual boundary of the PCB) 8. F.Fab (front fab) 9. B.Fab (bottom fab) 10. User.Drawings (fabrication and stack-up details) F. Select the Edge.Cuts and User.Drawings layers options under Plot on All Layers. This will ensure the board outline and fabrication details are visible on all layers. G. Under General Options, make the following selections: Deselect Plot footprint values as component values are typically not plotted on the PCB. Check Plot reference designators, Plot footprint text, Sketch pads on fabrication layers, and Use drill/place file origin. Select Tent vias to cover vias with soldermask. H. Enable Subtract soldermask from silkscreen under Gerber Options to automatically remove any overlapping silkscreen from solder mask openings. While fab houses usually handle this, you can also configure it in KiCad. I. Check Use extended X2 format if supported by your fabrication house. If your manufacturer doesn’t support X2, uncheck the option to use the standard format. J. Once all settings are configured, click Plot to generate the Gerber files. The files will be saved in the directory you specified. 111 Copyright Sierra Circuits Inc., 2024 112 The Output Messages section gives the path where the generated Gerber files are saved. After the files are generated, check the Output Messages section in the Plot dialog to confirm that all files were successfully created. Now, let us see how to generate the drill files. 7.4 Generate drill files A. After generating the Gerber files, in the Plot dialog, click Generate Drill Files. www.protoexpress.com Settings to generate drill files in KiCad. A new Generate Drill Files window will appear. B. Configure the settings in the Generate Drill Files window. 113 Generating drill file in KiCad. Copyright Sierra Circuits Inc., 2024 • Select the Output folder where you want to save the file. Save the drill file in a separate drill folder. • Make sure you have selected PTH and NPTH in a single file. • Choose Gerber X2 as the drill file format only if your fab house supports it. Select the Drill origin as Drill/place file origin. • Select the Drill units as Inches. • Under Map File Format, choose PostScript. C. Click Generate Drill File to create the drill file. D. To create a map file that shows the dimensions of the holes in the drill chart, click on Generate Map File. Select Gerber X2 as the preferable map file format before generating the file. Generate map file in KiCad. www.protoexpress.com 114 E. Save the map file in the same location as your Gerber files. After saving, you will receive a notification in the Messages box confirming that the files have been saved. 7.5 Save pick and placement files A. Go to File –> Fabrication Outputs –> Component Placement (.pos, .gbr). Navigate to Component Placement (.pos, .gbr). B. The Generate Placement Files window will appear. Choose the settings to generate the position file. 115 Generate Placement Files window in KiCad Copyright Sierra Circuits Inc., 2024 116 Select the Output directory where you want to save the file. Under Format, select CSV, which will generate the position file in an Excel format. Select the Units as Inches. Under Files, if you select Single file for board, all the top and bottom components will be in a single file. To generate two different files for the top and bottom layers, select Separate files for the front, back. C. Click Generate Position File Generating component placement file in KiCad. This saves the placement file in Excel format in the selected folder. After the file is saved, you will receive a notification about the saved file location in the Output Messages box. www.protoexpress.com Placement file in Excel format. 7.6 Download the netlist from PCB layout editor A. Go to File –> Fabrication Outputs –> IPC-D-356 Netlist File. 117 Navigate to IPC - B - 356 netlist file. Copyright Sierra Circuits Inc., 2024 B. Choose the location to save the file. Enter the file name and save it. The netlist file will be exported to this location. Saving the IPC-D-356 netlist file. 7.7 Export the BOM file A. Go to File –> Fabrication Outputs –> Bill of materials. www.protoexpress.com 118 Navigate to BOM from Fabrication outputs in KiCad. Here, we need to follow the steps similar to the ones we used for netlist generation. 7.8 Download the plot file (PDF) The steps to generate PDFs are similar to the ones we used while generating Gerber files, requiring minor changes in plot settings. A. Click on Plot. B. In the Plot window, under Plot format, select PDF. 119 Copyright Sierra Circuits Inc., 2024 120 Select PDF as the Plot format in KiCad. C. Configure the following settings to generate PDF. Settings in the Plot window to generate PDF in KiCad. www.protoexpress.com 1. Select the Output directory where you want to save the file. 2. Under Include Layers, select F.Fab (front fab) and B.Fab (bottom fab). 3. Under Plot on All Layers, select Edge.Cuts. 4. In General Options, select: a. Plot footprint values b. Plot reference designators c. Plot footprint text d. Force plotting of invisible values/refs e. Sketch pads on fabrication layers 5. Deselect Check zone fills before plotting. 6. Deselect Use drill/place file origin. After selecting the desired options, click on Save. D. Click on Plot to generate the top and bottom pdf files. The top section will include your assembly information, showing the placement of your components. 121 Top PCB section in PDF format generated in KiCad. Copyright Sierra Circuits Inc., 2024 The bottom of the PDF will display all the outlines and various designators. 122 The bottom PCB section in PDF format generated in KiCad 7.9 Generate fabrication details (PDF) A. Open the Plot dialog by clicking on the Plot icon in the toolbar. B. Configure the settings for the PDF output. Under Plot format, select PDF from the dropdown. Under the Output directory, choose where you want to save the PDF. C. In the Plot window, under the Include Layers section, select User.Drawings layer. Uncheck all the other layer options. D. Under Plot on All Layers, select Edge.Cuts. Retain all the other settings in the Plot window. www.protoexpress.com Settings for User.Drawings layer for generating fab details in pdf format. E. Click Plot to generate the PDF for the User.Drawings layer. This PDF will contain all relevant fabrication details, such as the board outline, dimensions, characteristics, and stack-up information. Fabrication details generated in PDF format using KiCad. 123 Copyright Sierra Circuits Inc., 2024 7.10 Verify the production files using the Gerber Viewer 124 Gerber Viewer is a powerful tool that allows you to view and verify Gerber files, which are used to describe the layers of a printed circuit board. A. Click Gerber Viewer in the KiCad project manager window with various tools listed. Click on the Gerber Viewer icon. B. To load Gerber files into Gerber Viewer, click on File –> Open Gerber Plot Files(s). www.protoexpress.com Load Gerber files into Gerber View. C. Select all the Gerber files and hit Open. 125 All Gerber files in Gerber Viewer. Copyright Sierra Circuits Inc., 2024 You can load multiple Gerber files at once, each representing different layers of your PCB (e.g., top copper, bottom copper, solder mask, etc.) A. To load drill files (usually with extensions like .drl) in Gerber Viewer, click File –> Open Excellon Drill File(s). Drill file in Gerber View. Then browse and select your drill file from the location where it was saved and click Open. B. To view and verify the drill map, click on its layer file in the Layer Manager. www.protoexpress.com 126 View and verify the drill map in Gerber Viewer. The drill map file typically has a .gpr extension. It contains detailed information about all the drill holes in your PCB. To ensure everything matches the drill map, click on both layers (drill file and drill map) in the Layer Manager. Cross-check that all the drills are correctly aligned and overlapped. Cross-check that all the drills are correctly aligned in Gerber Viewer. 127 F. View and analyze the Gerber Files on the right side of the Gerber Viewer window. You’ll see a list of loaded layers. Copyright Sierra Circuits Inc., 2024 You can select each layer from the Gerber Viewer by checking or unchecking the boxes next to the layer names to check whether all the files in the board follow the layout design. You can also select several layers at a time for an overlapping view. The power copper layer is selected in Gerber Viewer. Once your files are verified, you can send the files for manufacturing. Submit the files in a single zipped compressed file format. This will ensure that there are no errors during the transmission of the files. You need to check and verify each of your layers and the edge cuts carefully. If you find errors in Gerber Viewer, you'll need to go back, fix the errors in your layout, and then re-generate Gerber files using the plot tool. www.protoexpress.com 128 8. Commonly used keyboard shortcuts Keyboard shortcuts can significantly speed up your workflow in KiCad, making design tasks more efficient. Here’s a list of helpful keyboard shortcuts in KiCad. Ctrl + E: Open the schematic editor (Eeschema) Ctrl + B: Open the PCB layout editor (Pcbnew) 8.1 Schematic Editor (Eeschema) shortcuts A: Place a component W: Place a wire G: Drag a component or wire M: Move a component or wire R: Rotate a component Y: Flip a component vertically X: Flip a component horizontally P: Place a power symbol L: Place a label C: Copy a component or selection U: Place a hierarchical sheet Q: Increase the grid size Shift + Q: Decrease the grid size Ctrl + D: Duplicate a component or selection Ctrl + R: Show electrical rules check (ERC) report 8.2 PCB Layout Editor (Pcbnew) shortcuts V: Place a via X: Start routing a track B: Update the filled zones (re-pour) 129 Copyright Sierra Circuits Inc., 2024 M: Move a footprint or track D: Drag a track segment or component R: Rotate a component E: Edit properties of a component or track Ctrl + M: Measure the distance between two points Alt + 3: Switch to 3D viewer Ctrl + G: Toggle grid display Ctrl + L: Lock or unlock a component Ctrl + Shift + R: Reset the layer visibility Ctrl + E: Edit the properties of selected items Ctrl + +: Zoom in Ctrl + -: Zoom out www.protoexpress.com 130 9. How to get an online quote using the KiCad plugin Get instant PCB fab and assembly cost estimation for your designs through Sierra Circuits' KiCad quote plugin. You can quote within the KiCad UI and eliminate the need for external quoting tools, thus reducing your product's timeto-market. Download the plugin hereHere are the steps to generate real-time circuit board quotes: 9.1 Launch the plugin and log into your account Once the design process is complete, click the plugin icon. You have three options to proceed: A. Log in with your credentials: Access your account using your username and password. If you already have a Sierra Circuits account, you can go to step 2. B. Create a new account: If this is your first time using the plugin, sign up for a new account by following the registration process. C. Continue as a guest: Access the plugin without creating an account, allowing for limited functionality without registering. Here, you can proceed by just entering your email ID. 131 Login interface of Sierra Circuits online quote. Copyright Sierra Circuits Inc., 2024 You need to complete the New User Registration form to create a new account. New user registration form of the quote plugin. After registration, a confirmation email will be sent to your registered mail ID, as shown below. User registration mail confirmation. 9.2 Validate the board parameters Once you log into the quote plugin, you will be navigated to the home page as shown in the image below. www.protoexpress.com 132 Sierra Circuits' KiCad Quote Plugin home page. This page displays 5 tabs: board geometry, board clearances, holes, surface, and finalize. The significance of these tabs is explained below. A. Board geometry In this section, you need to input: 1. Dimensions: Defines the exact dimensions of the PCB. This data is automatically populated from the design file. 2. Quantities: Here, specify the total number of boards as per your requirement, with a minimum order quantity of 3. 3. Number of layers: Indicates the number of layers in your stack-up. 4. ITAR compliance: By default, ITAR compliance is set to "No." To place an ITAR-compliant order, please visit our Sierra Circuits website for further instructions. 133 5. Overall thickness: This shows the overall thickness of the board. Copyright Sierra Circuits Inc., 2024 134 Board geometry tab on the KiCad quote plugin. B. Board clearances Board clearances tab on the KiCad quote plugin. www.protoexpress.com This tab displays the minimum trace width and spacing on your board's inner and outer layers. This data is automatically extracted from the design file. C. Holes Hole tab on the KiCad quote plugin. The holes tab has 2 sections: 1. Drill hole: It displays drill characteristics such as count, density, minimum size, and minimum annular ring. 2. Slots and cutouts: Here, you can see the slots and cutouts' count and plating status. You can also set the plating status using the dropdown. These values are automatically populated from the PCB design file. 135 Copyright Sierra Circuits Inc., 2024 136 D. Surface Surface tab on the KiCad quote plugin. Here, you need to define 3 parameters: 1. Silkscreen: Specify which layer(s) the silkscreen should be present on (top, bottom, both, or none). Additionally, you can select the material and color of the silkscreen. 2. Soldermask: Mention the layer(s) on which the soldermask should be present. You can also choose the color, finish, and type of the soldermask required. 3. Surface ûnish: The type of PCB surface finish and the thickness of the outer and inner copper layers should be set here. E. Finalize In the finalize tab, electrical netlist testing can be selected. This test is mandatory for boards with more than 6 layers. www.protoexpress.com Finalize tab on the KiCad quote plugin. Once all the requirements are defined, click Validate to authenticate the provided information. If the provided data has discrepancies, the plugin will display a warning message, as shown below. 137 Warning message on Sierra Circuits online quote plugin for non-critical issues. Copyright Sierra Circuits Inc., 2024 The errors are categorized into critical and non-critical. You will get the quote even if there are non-critical errors. However, the critical errors should be fixed before quoting. Next, click Get Quote to view the cost estimate. Here's a sample quote. An example of Sierra Circuits online PCB quote. The total price depends on the quantity of the board and the turnaround time. Select the desired quote and hit OK. This takes you to the Sierra order webpage. If you want to quote for fabrication and assembly, go to step 4. Else, continue with step 3. 9.3 Verify the quote summary and place the order without assembly Here, we will see the steps to get an online PCB quote without assembly. www.protoexpress.com 138 Sierra Circuits' order page. After choosing the required quote, you will be redirected to the order page. You can tweak the requirements concerning board quantity, turnaround time, and electrical testing here. Once you modify, hit Re-calculate to reflect the changes in the final quote. Next, click on Login to Continue to fill in the order details. Here, fill in the order details such as shipping, billing, designer address, promo code, if any, payment info, and tax and resale info. You can also choose your preferred shipping partner in this section. You can record any specific comments related to shipping and handling here. 139 Copyright Sierra Circuits Inc., 2024 140 Sierra Circuits' order detail page. www.protoexpress.com If you're not authorized to make the payment, you can still place your order by providing details of the purchasing person. Once you place the order, the system sends a payment link directly to your purchasing person via email, enabling them to complete the transaction. Adding the purchasing person's information. After filling all the required data, click Review order to verify the details. Once done, Hit Place my order. 141 Copyright Sierra Circuits Inc., 2024 142 Sierra Circuits' order review page. After placing the order, you can set the notification preferences per your needs on the order confirmation page. www.protoexpress.com Order confirmation page. 143 Copyright Sierra Circuits Inc., 2024 9.4 Verify the quote summary and place the order with assembly Sierra Circuits' order page. On the Sierra quote page, select Yes beside Add assembly to this quote? Next, hit Continue. A screen opens with two options: Generate BOM and Login to Checkout. BOM generation to place an assembly order. www.protoexpress.com 144 Click on Generate BOM to view the auto-generated component list. You can continue with the order without assembly by clicking on PCB Checkout. Sierra Circuits' auto-generated BOM. You may not find some of the components in the BOM in our database. You can view this information for each component under the Status column. If you want to tag a component as do not install select the component using the respective check box (on the left) and click on the DNI. Similarly, if you want to delete any components, you can select that component and hit Delete. Click on New Item to add any new component to the BOM. It is mandatory to resolve all the line items before placing an order. Choose do not install to exclude those particular components from the quote. You need to replace the components with an alternative to fix these issues. You can look for different components by performing value, MPN/VPN, and description searches. To fix the component line item, click on Fix. The search assist window appears as shown below. 145 Copyright Sierra Circuits Inc., 2024 146 Search assist window. A. Value search Fix the BOM issues using the value search tab. The value search tab helps you find components based component's value, quantity needed, footprint, reference designator, and tolerance. The system looks for matching components based on these details. www.protoexpress.com B. MPN/VPN search Fix the BOM issues using the MPN/VPN search tab. In this tab, you can search for the components by providing the item number, quantity, reference designators, MPN (manufacturer part number), and VPN (vendor part number). The system displays the search results in a table format with various component attributes. B. Description search Fix the BOM issues using the description search tab. Users can search by entering component values, MPNs, VPNs, or descriptions. The search results display component details, including image, MPN, manufacturer, VPN, description, tolerance, RoHS compliance, source, and availability. 147 After fixing all the errors, the BOM page will display "Your BOM is ready!". Click continue to proceed further. Copyright Sierra Circuits Inc., 2024 148 An example of a custom BOM. If you want to upload a customized material list, click Upload Custom BOM. Once you upload the file, the plugin automatically maps the line items. BOM column mapping. www.protoexpress.com If there are any discrepancies in mapping, you can rectify them manually using the respective drop-downs. Click on Proceed if the line items are mapped accurately. A window pops up, confirming the uploaded custom file is ready. Once you hit Continue, a window pops up, confirming the validation of your BOM file as shown below. Quote generation after BOM validation. After BOM validation, Click on Generate Quote to proceed with the order. Here, you will have an option to tweak your requirements, as we saw earlier. 149 Sierra Circuits' order details page. Copyright Sierra Circuits Inc., 2024 After verifying the data, click Login to continue to proceed with the order and provide the required information. Sierra Circuits' quote summary page. www.protoexpress.com 150 After filling out all the required data, click Review order to validate the provided information. Next, hit Place my order. Place your order after validating the quote summary. Once you place the order, you can set the notification preferences as per your needs on the order confirmation page. 151 Copyright Sierra Circuits Inc., 2024 152 Sierra Circuits' order confirmation page. www.protoexpress.com 10. About Sierra Circuits Sierra Circuits has been serving PCB designers and engineers with the latest technologies since 1986 and has worked with over 20,000 customers since then. We specialize in manufacturing, assembly, and HDI technology. We handle all aspects of circuit board production. We provide our customers with DFM and DFA support, which helps produce unprecedented board quality with high reliability. By choosing us, you can eliminate miscommunication between multiple vendors and delays since we provide a single point of support. Talk to our experts Sierra Circuits helps PCB designers plan it right! Our engineering staff has been trained in controlled impedance and can analyze the design from a holistic point of view. Our engineering support and our stack-up team provide valuable suggestions with their knowledge of controlled impedance for high-speed designs, analog/digital, high-density board manufacturing design rules, and design for assembly guidelines. Upload your data and receive a free consultation and review of your design. Services include system-level design, schematic capture, circuit board layout, and PCB/PCBA DFM. 153 Our facility Copyright Sierra Circuits Inc., 2024 154 10.1 Why Sierra Circuits? Customer-oriented approach: We collaborate closely with you and tailor our solutions to meet your unique design requirements. Rapid high-tech innovation: We work in a fast-paced environment and implement cutting-edge technologies to bring your design ideas to life. Integrated systems: Integrated turnkey world-class team that includes design, engineering, manufacturing, support services, and supply chain that engage at the beginning of all of our partnerships. Focus ready: We focus on complex products for defense and aerospace that require high reliability and repeatability to support mission-critical systems on time. 10.2 PCB manufacturing capabilities overview 10.2.1 Rigid PCBs PCB highlights Fabrication highlights Up to 30 layers Routed arrays Board thickness: .005"-.250" Edge plating Max panel sizd:21"x29" Bevels MIL-PRF-31032/1 Min trace and space: .002! Heat sinks MIL-PRF-31032/2 Quality management systems PCB classiûcation AS9100D IPC 6012, class 1,2 and 3 ISO 9001:2015 MIL-PRF-55110 ISO 13485:2016 Solder mask feature tolerance: .001" Blind and buried vias 10.2.2 HDI and microelectronics High tech in small form Features Special stack-up help/NPI review Down to 1.5-mil trace space, 2-mil holes Up to 30 layers Blind vias, buried vias, and other microvia techniques Files evaluated by engineers Quote sent by email within a few hours Up to 5 sequential lamination cyles Laser direct imaging Via-in-pad technology www.protoexpress.com Certiûed for your industry: Mil-spec Automotive Aerospace and defense Medical devices 10.2.3 Flex and rigid-üex PCBs Surface ûnishes HASL Lead-free HASL OSP (Shikoku F2 and Entek) ENIG Immersion silver Immersion white tin Tin nickel Selective gold Standard üex material Fabrication highlights 0.5 mil to 5 mil thick polymide material Lead-free HASL 1 mil to 5 mil thick copper clad base material Flame retardant laminate UL and RoHS compliant Routed array PCB classiûcation Edge plating IPC 6012, Class 1, 2 and 3 ISO: 9001:2015 Edge castellation ISO 13485: 2015 V score Countersink Bevel Milling 10.2.4 Aerospace and defense PCBs Capabilites Layer count: Up to 30 Minimum board thickness: 10 mil Thickness tolerance: 10% Minimum trace and space width: 3 mil Minimum drill-to-copper clearance: 6 mil Maximum panel size: 21!x29! Controlled impedance Stacked vias 155 Documents we provide Certificate of conformance Material specifications Reflow profile copy (included wit first article) Photo requirements First article inspection report Record of calibrated tools used during manufacturing FPT, AOI, ionic cleanliness report Copyright Sierra Circuits Inc., 2024 Ideal for DOD product designers developing systems for mission critical functions Contract manufacturers who need fast, predictable lead times Purchasing teams who require pricing and supply-chain transparency Aerospace engineers looking to shore-up their supply chain troubles 156 10.2.5 RF and microwave PCBs Capabilites Certiûcations Operating frequency: 10 MHz to 30 GHz IPC Manufactures Qualification Profile(MQP) IPAC-A-600 Sodium etch hole treatment process IPC-6012 standards ISO 9001:2015 Full-body gold plating up to 120μ" NADCAP Soft gold without nickel or ENEPIG surface finishes for enhanced board protection NADCAP ITAR registered Compliant witg RoHS/REACH standards Design assistance 10.3 PCB assembly services We offer a diverse range of PCB assembly services tailored to meet your unique requirements. Whether you need a full turnkey assembly, consigned or partially consigned assembly, we got you covered. Full turnkey PCB Design review Bare board fabrication Component procurement Testing Quick turnaround time Partially consigned assembly Consigned assembly Some parts provided by the designer Components are provided by the PCB designer We will source the rest Sierra Circuits will fully assembly your PCBs and ship them to you Supply chain resilient Quick turnaround time Quick turn times Fully transparent pricing Assembly capabilities BGA, micro-BGA, QFN, CSP, lead less devices up to 0.35mm pitch, press fit components DFA RoHS, leaded, indium, clean and no clean chemistry Component sizes: 0201, 01005, 08004 Paste in-hole www.protoexpress.com To help you overcome the challenges involved in component procurement, Sierra Circuits has introduced customer owned inventory service (COIN. It’s a personalized component sourcing and stocking program. We procure and store parts for your PCBAs. This can help you significantly reduce your product development time. 10.4 PCB design services Whether you’re beginning with a new design or enhancing an existing one, our design experts provide the assistance you need. Our PCB design services include stack-up design, signal integrity analysis, circuit board layout optimization, schematic capture, and reverse engineering. Our capabilities include: 1. High-speed digital designs, analog designs, mixed designs, power designs, and RF designs. 2. Controlled impedance with a tolerance of ±5%. 3. Mechanical-constrained boards and enclosures. 4. Flex, rigid, and rigid-flex designs. 5. PCB designs for mobile phones. 6. HDI designs with via-in-pad, blind via, buried via, microvias, via stacking, and staggering technology. 7. Fine-pitch BGAs of 0.4 mm and 0.5 mm. 8. Designs with high-pin count full matrix BGAs 0.4 mm pitch, PoP package, with 2 mil/ 2 mil tracks/spacings. 9. Design for ROHS compliance. 10. Optimum impedance calculation for single-ended, differential, and coplanar-waveguide models. 157 Copyright Sierra Circuits Inc., 2024 10.5 Advanced PCB design tools From material selection to impedance calculation, streamline your design process by using our comprehensive suite of cutting-edge PCB design tools. These web applications enable you to expedite your design process and make the right decisions to ensure signal integrity and reliability in your circuit board. 10.6 Sierra Circuits’ PCB certiûcation and registration IPC certiûed for quality standards in PCB fabrication and assembly IPC Manufacturers Qualification Profile (MQP) for Sierra Circuits, Sunnyvale, California IPC-A-600 inspectors ISO certiûed for military, aerospace, and medical device PCB fabrication and assembly ISO 9001:2015 certificate AS9100D - military and aerospace ISO 13485:2016 certificate - medical devices Mil-Spec certiûed and DLA approved MIL-PRF-31032/3 flex certificate Acc 2020 CVI VQE 035113 JCP certification approval letter ITAR Registered ITAR registration letter Underwriters Laboratory certiûed Flex and rigid flex PCBs Rigid PCBs www.protoexpress.com 158 Exceptional material compliance and reporting RoHS / REACH compliance material composition declaration Conflict minerals reporting template Certiûed minority supplier by NMSDC Minority business certification 159 Copyright Sierra Circuits Inc., 2024 160 The Designer’s Toolkit Stackup Designer Impedance Calculator Bandwidth, Rise Time and Critical Length Calculator Maximum Via Stub Length Calculator Trace Width, Current Capacity and Temperature Rise Calculator Signal Layer Estimator Material Selector Transmission Line Reflection Calculator + ÷ ×= RLC Resonant Frequency & Impedance Calculator Via Current Capacity and Temperature Rise Calculator BOM Checker Better DFM T2 Er_3 Er_2 Er_1 Via Impedance Calculator Conductor Spacing and Voltage Calculator Try Tools www.protoexpress.com H2 H1
0
You can add this document to your study collection(s)
Sign in Available only to authorized usersYou can add this document to your saved list
Sign in Available only to authorized users(For complaints, use another form )