Coupons
Help
  • FAQ
    browse most common questions
  • Live Chat
    talk with our online service
  • Email
    contact your dedicated sales:

New KiCad Autorouter: PathFinder-Based PCB Routing Explained

What This Video Covers

This video introduces a custom KiCad autorouter developed using the negotiated-congestion PathFinder algorithm, demonstrating how multi-pass routing can resolve PCB layout conflicts more systematically than conventional autorouting tools. Unlike traditional workflows that export Specctra DSN files and import routing sessions, this plugin operates directly within KiCad or through the command line, allowing engineers to route selected nets or an entire PCB.

The demonstration explains how A* search calculates routing paths, how congestion history and present routing costs encourage nets to find alternative paths, and how directional preferences, bend penalties, and via costs influence routing decisions. It also shows real-time routing visualization through heatmaps, browser-based displays, and GIF exports.

For engineers preparing designs for PCB prototyping, understanding routing constraints early can reduce layout revisions before fabrication. Similarly, designers working with multilayer PCBs need to consider layer utilization, via placement, and signal routing priorities. Once the layout is finalized, PCB fabrication requirements should also be considered to ensure the design can be manufactured reliably.

 

Key Highlights

  • PathFinder-Based Multi-Pass Routing: The custom KiCad autorouter uses negotiated congestion to redistribute overlapping nets across multiple routing passes instead of relying on a single shortest-path calculation.
  • A* Search With Adjustable Routing Costs: Routing decisions account for congestion history, existing net usage, layer direction preferences, bend penalties, and via costs.
  • Visual Routing Analysis and Manual Optimization: Engineers can monitor congestion heatmaps, identify unrouted nets, prioritize critical connections, and refine automatically generated tracks before fabrication.

 

How the New KiCad Autorouter Differs from FreeRouting

KiCad users have traditionally relied on external autorouting tools such as FreeRouting to automate PCB trace connections. This workflow typically involves exporting a Specctra DSN file from KiCad, processing the board in the external router, and importing the resulting session file back into the original PCB project.

Although this approach can automate many connections, it has limitations when dealing with complex layouts. Routing patterns may contain excessive bends, dense areas can become difficult to resolve, and some copper connections may require additional inspection. Automatically generated tracks also do not necessarily reflect the designer's priorities for critical signals, power distribution, or routing aesthetics.

The custom autorouter demonstrated in this video takes a different approach by integrating directly into the KiCad workflow. It can be launched through a toolbar button or command line, and engineers can select individual nets or process the entire board. This reduces the need to move repeatedly between separate applications.

Another important difference is routing transparency. Instead of treating autorouting as a black-box operation, the plugin displays the routing process as it happens. Engineers can observe the search wavefront, congestion patterns, tentative tracks, and optimization progress. This makes it easier to understand why particular nets are difficult to route and where layout adjustments may be necessary.

 

Original Source: https://www.youtube.com/watch?v=XbzPrRnQ-lk

Watch the original video on YouTube.

FAQs

Q1: Is the new KiCad autorouter better than FreeRouting?

A1: The custom KiCad autorouter offers a different approach to PCB routing by using a multi-pass PathFinder-based algorithm with negotiated congestion. It also provides routing heatmaps and progress visualization. FreeRouting remains a useful established option, while the custom implementation is still experimental and requires further testing on different board designs.

Q2: Can the KiCad autorouter route an entire PCB automatically?

A2: Yes. The demonstrated plugin supports routing all nets or only selected nets. However, successful completion depends on component placement, routing density, available copper layers, and design constraints. Critical signals may still require manual routing.

Q3: Why does a KiCad autorouter leave some PCB nets unrouted?

A3: Unrouted nets commonly result from insufficient routing space, component placement issues, existing copper obstacles, via restrictions, or competing connections. Reviewing the affected routing area and adjusting placement or routing priorities can help resolve these problems.

Q4: Does automated PCB routing guarantee signal integrity?

A4: No. Autorouting primarily addresses physical connectivity and pathfinding. It does not independently guarantee impedance control, signal integrity, crosstalk performance, or suitable return paths. High-speed and sensitive analog connections require additional engineering analysis and verification.

Q5: Should engineers use autorouting for production PCB designs?

A5: Autorouting can be useful for completing non-critical connections and accelerating PCB layout development. For production designs, engineers should combine automation with manual routing of critical nets, DRC verification, signal integrity checks, and manufacturer-specific DFM review.

AIVON

Leading PCB Manufacturer for PCB Prototype and Mass Production

Get instant quote

2026 AIVON.COM All Rights Reserved
Intellectual Property Rights | Terms of Service | Privacy Policy | Refund Policy