GlossaryAutorouting
Autorouting
Autorouting is the use of software to choose traces, vias and layers that complete a circuit board's netlist under a set of design rules, instead of drawing every connection by hand. The tool that does it is an autorouter.
How it works
An autorouter starts from a placed board. Its inputs are the netlist (which pins connect), the stackup (which layers exist and what they carry), the design rules (widths, gaps, via sizes, net classes) and any keep-outs or routes that are already locked. Its output is copper that connects every net it can without breaking a rule.
Most routers work in stages. A global pass assigns each net to coarse channels or regions of the board. A detailed pass places the actual tracks, clearances and vias inside those regions. When a net cannot be finished, the router rips up routes that block it and tries again in a different order or along a different path, called rip-up and reroute. Many routers use negotiated congestion: nets compete for crowded regions, the cost of using a crowded region rises with each pass, and nets gradually move to other paths until every net fits.
Autorouting can be done inside a layout tool or by an external router. KiCad, for example, does not ship a full-board autorouter, though its interactive router can finish selected connections automatically. Its PCB editor exports the board in the DSN exchange format for an external router and imports the routed session file back.
Autorouting vs manual routing
Manual routing gives the designer full control over every trace. It is slow, but it captures intent no rule describes, such as keeping a sensitive trace away from a noisy part or routing a power path along the shortest line. Autorouting is fast and consistent, and it only knows what the rules tell it. Most teams mix the two: they route critical nets by hand, lock them, and autoroute the rest.
Why it matters
A dense board has thousands of connections, and routing them by hand takes days of skilled work on each revision. Fast, rule-correct routing shortens every revision. The catch is that routing is only as good as its inputs. A router that is not told about pairs, current or return paths connects nets that then fail on the bench, which costs more time than it saved.
Routing quality also decides cost. A router that needs more layers or smaller vias to finish raises the price of every board.
How to get it right
- Give the router a complete problem. Load the netlist, the stackup, every net class, and the rules for pairs, length and spacing. A missing rule is routed as if it did not exist.
- Route critical nets first. Handle the fanout, differential pairs, clocks and high-current paths by hand or with strict rules, and lock them.
- Watch length and pair rules. If the interface needs length matching, give the router the groups, targets and tolerances, then review the output.
- Review everything it produced. Run a full design rule check, then review dense areas, return paths and current-carrying widths by eye. A report of full completion is not the end of the job.
Autorouting in robotics and drone hardware
Robotics hardware changes often. Each new prototype mechanism brings a new board or a revised one, and routing time sits directly on the schedule. Boards for these products also mix fine-pitch processors, fast camera lanes and high-current motor paths, which is exactly where a router that ignores intent produces a board that connects but does not work.
The practical pattern on these boards is to route the motor power, the sensor pairs and the processor escape with explicit rules, lock them, and use the router for the general signals between modules. That keeps the speed and protects the parts of the board that decide whether the robot moves.