Skip to main content

How to Autoroute a PCB Layout in KiCad using FreeRouting Plugin

Author Profile img: Mohamed Faheemuddin

By Mohamed Faheemuddin

November 19, 2024 | 0 Comments

how-to-autoroute-a-pcb-layout-in-kicad.jpg

Contents

webinar image
On-demand webinar

How Good is My Shield? An Introduction to Transfer Impedance and Shielding Effectiveness

by Karen Burnham

The autorouting plugin in KiCad automates the PCB routing process by creating optimized signal paths. It allows you to fine-tune the traces as per your requirements. This hybrid approach ensures layout efficiency and precision, making it ideal for complex designs.

KiCad users should be aware of this autorouting tool as it saves time, reduces errors, and enhances the quality of the layouts.

In this KiCad tutorial, you’ll learn how to set up FreeRouting and autoroute your PCB layout.

5 benefits of autorouting in KiCad

    1. Faster design process: Speeds up the design process by automating trace and via routing, saving design time.
    2. Error prevention: Follows predefined design rules and constraints, preventing issues like short circuits and missed connections.
    3. Optimized layouts: Utilizes advanced routing algorithms to route signals in dense or compact designs.
    4. Flexible design iterations: Allows manual re-routing, simplifying design modifications.
    5. Cost-efficient: Reduces the need for iterative prototypes, lowering development costs.

Prerequisite to install the FreeRouting plugin in KiCad

Before installing the FreeRouting plugin, install the Java runtime environment (JRE) in your PC.

Steps to install JRE on Windows

  1. Navigate to Java’s official website.
  2. Choose and download the JRE version that matches your Windows operating system and system architecture.
    downloading-JRE-for-windows-operating-system.jpg
    Steps to download JRE in the Windows operating system.

     

  3. Run the installer once the download is complete, and follow the instructions.

Steps to install JRE on Linux

  1. Navigate to Java’s official website.
  2. Choose and download the JRE version that matches your Linux operating system and system architecture.

    steps-to-download-JRE-for-linux-operating-system.jpg
    Steps to download JRE for the Linux operating system.
  3. Change the directory where you want to install JRE.
  4. Open the jre-8uversion-linux-x64.tar.gz file and follow the instructions.
  5. Unpack the jre-8u431-linux file. The JRE will be installed in the selected directory.

After installing JRE,  you can install the FreeRouting plugin.

How to install the autorouting plugin in KiCad

  1. Open KiCad and navigate to Plugin and Content Manager.
  2. In the search bar, type FreeRouting.
steps-to-install-freerouting-plugin-in-kicad.jpg
Steps to install the FreeRouting plugin in KiCad.
  1. Click on Install and Apply Pending Changes to complete the installation.

To access the FreeRouting plugin, go to Tools 🡪 External Plugins 🡪 FreeRouting in the PCB editor. Once installed, you can use the FreeRouting plugin to auto-route your designs.

 

For step-by-step guidelines on designing a PCB using KiCad, download our eBook.

KiCad Design Guide - Cover Image

KiCad Design Guide

10 Chapters - 161 Pages - 180 Minute Read
What's Inside:
  • Creating a component symbol library
  • Setting up board parameters and rules
  • How to route differential pairs
  • How to place of components

 

Step-by-step procedure for autorouting in KiCad

how-to-autoroute-in-kicad-using-freerouting-plugin.gif
Autorouting in KiCad using FreeRouting plugin.

Step 1: Open a layout file with all the components placed.

Step 2: Go to Tools 🡪 External Plugins 🡪 FreeRouting to start the autorouting process.

autorouting-a-pcb-layout-in-kicad.jpg
Autorouting a PCB layout in KiCad.

The plugin automatically routes your PCB layout.

autorouted-pcb-layout-using-freerouting-plugin.jpg
Autorouted PCB layout in KiCad.

To learn how to manually route a layout, see our tutorial on how to route a PCB in KiCad.

To delete all the autorouted tracks and vias, go to Edit 🡪 Global 🡪 Deletions. Check Track & Vias and hit OK.

steps-to-delete-tracks-and-vias-in-kicad.jpg
Steps to delete tracks and vias in KiCad.

After successfully autorouting your PCB layout, the next step is to secure a production quote.

To receive an instant cost estimate for your PCB design within the KiCad UI, install the KiCad Quote Plugin.

sierra-circuits-kicad-quote-plugin.jpg

 

5 layout tips to optimize autorouting

To leverage the full potential of the FreeRouting plugin, consider these 6 practical tips:

  1. Define design rules and constraints: Before running the autorouter, set up the design rules for trace widths, clearance, and via sizes. These rules ensure the autorouter adheres to your specific design requirements and avoids rule violations.
  2. Efficiently place components: Auto-routing in KiCad results heavily depend on how components are arranged. Plan your layout strategically to minimize unnecessary routing complexity. For PCB component placement rules, see component placement guidelines for PCB design and assembly.
  3. Manually route critical traces: Manually route critical nets that require special attention. For instance, grounding paths should be short and wide. In addition to this, the number of vias in high-speed traces should be less.
  4. Use net classes to prioritize connections: Assign net classes to critical signals like high-speed or high-current traces. The autorouter will treat these nets with priority, ensuring better routing for sensitive signals.
  5. Review and fine-tune the autorouted layout: Review the results for potential improvements. Manual adjustments may still be needed for high-precision layouts, particularly in HDI or high-speed designs.

 

tool-image

PCB DESIGN TOOL

Trace Width, Current Capacity and Temperature Rise Calculator

Calc TRY TOOL

 

The FreeRouting plugin in KiCad is a valuable tool for streamlining the PCB design process. By automating the routing process and optimizing signal paths, it helps you save time and reduce errors. However, manual intervention is still necessary for critical signals and complex designs.

You can achieve high-quality PCB layouts by combining automated and manual routing techniques explained in this KiCad tutorial.

Need help in designing your PCBs? Post your queries on our forum, SierraConnect. Our PCB experts will answer them.

sierra-connect-banner.jpg

post a question

Start the discussion at sierraconnect.protoexpress.com

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Talk to a Sierra Circuits PCB Expert today

24 hours a day, 7 days a week.

Call us: +1 (800) 763-7503
Book a Meeting with a Sales Rep
Email us: through our Customer Care form