Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

66%
+2 −0
Q&A Using arc trace routing instead of 45 degree trace routing

The best route is a straight connection between the two points being connected. Of course that's not always possible due to other objects being in the way, or to be able to route other connections...

posted 2y ago by Olin Lathrop‭

Answer
#1: Initial revision by user avatar Olin Lathrop‭ · 2023-03-10T12:35:48Z (almost 2 years ago)
The best route is a straight connection between the two points being connected.  Of course that's not always possible due to other objects being in the way, or to be able to route other connections.

I think most auto-routing software uses 45&deg; bends because that's a reasonable tradeoff between electrically good enough and keeping the software simple.  I use Eagle, and that's what its auto-router does even when a direct path between points is available.

45&deg; corners are shallow enough so that there isn't much inductance due to the corner, nor possibility to trap chemicals.  Remember that inductance goes with the square of the number of turns.  45&deg; is half the "turns" of 90&deg;, so &frac14; the inductance due to the bend.  Since even 90&deg; isn't a problem in most cases, 45&deg; is "good enough" for the vast majority.  The increase over a straight line isn't that much.

Routers are one of the few remaining pieces of software that take significant time on a human scale, even on today's computers.  It can take over 10 minutes to route a decent size board on a reasonably modern machine.  Therefore algorithm efficiency is still important.  I'm not privy to the internals of any auto-router, but it's easy to imagine that having only 7 possible directions to go from any existing end simplifies things considerably compared to being able to head off in any direction, let alone in a curve.

The fixed grid architecture of most existing routers isn't well suited to arbitrary angles and curves.  The overall grid size goes up with the square of the fineness, and of course the algorithm has more grids to look at, so gets slower too.