Author Topic: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!  (Read 12275 times)

0 Members and 1 Guest are viewing this topic.

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 38498
  • Country: au
    • EEVblog
EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« on: March 28, 2023, 11:28:18 pm »
Is the AI Machine Learning based DeepPCB autorouter better than Dave at routing a simple double sided PCB? Let's try it! TLDR; It sucks.


 

Offline golden_labels

  • Super Contributor
  • ***
  • Posts: 1330
  • Country: pl
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #1 on: March 29, 2023, 05:19:18 am »
The beauty of buzzwords. Terms devoid of meaning so much, that you can call anything “AI” or “deep”! After all the user can’t verify it.

My initial guess was, that this is just a “traditional” autorouter. But it seems the company does some research in machine learning, which suggests that the router may contain this technology. The questions remain: how much of it? How it is used? Does it even have any real impact on the solutions?

From the video two things may be guessed. Some kind of a recursive optimization approach is used. The program clearly has some initial guesses and tries to make them better, quickly getting trapped in a local extremum. This doesn’t leave much space for ML algorithms. Secondly, the model it uses is based on 2-dimensional cartesian planes, not a graph describing the solution. This is a much weaker guess, but the number of weirdly shaped traces seems way too big for the latter.

Which is sad, because it’s just “throw a smortnet against the wall and see if it sticks”. Instead of trying to solve the problem using the most appropriate mathematical abstraction and using ML to improve or avoid the hardest steps. :(
People imagine AI as T1000. What we got so far is glorified T9.
 
The following users thanked this post: EEVblog

Offline thinkfat

  • Supporter
  • ****
  • Posts: 2155
  • Country: de
  • This is just a hobby I spend too much time on.
    • Matthias' Hackerstübchen
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #2 on: March 29, 2023, 05:48:01 am »
So, they have not progressed in all since I tested them last time. I had better results using "Freerouting", and almost usable results after setting up cost functions, net classes and proper constraints.
Everybody likes gadgets. Until they try to make them.
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 10202
  • Country: nz
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #3 on: March 29, 2023, 06:38:32 am »
I feel pretty confident that a good auto-router should be possible with current AI technology.
There's probably just no-one willing to put in 10 million to develop it.

But with ChatGPT/OpenAI now a thing it's probably that building a good auto-router AI is much cheaper now.
« Last Edit: March 29, 2023, 12:42:23 pm by Psi »
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline thinkfat

  • Supporter
  • ****
  • Posts: 2155
  • Country: de
  • This is just a hobby I spend too much time on.
    • Matthias' Hackerstübchen
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #4 on: March 29, 2023, 07:07:48 am »
I feel pretty confident that a good auto-router should be possible with current AI technology.
There's probably just no-one willing to put in 10 billion to develop it.

But with ChatGPT/OpenAI now a thing it's probably that building a good auto-router AI is much cheaper now.

Nah, come on. The price tag on an AI autorouter is not 10 billion ;)
Everybody likes gadgets. Until they try to make them.
 

Offline voltsandjolts

  • Supporter
  • ****
  • Posts: 2413
  • Country: gb
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #5 on: March 29, 2023, 07:41:52 am »
TLDR; It sucks.

Thank goodness  :) ...for now  :-\
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 10202
  • Country: nz
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #6 on: March 29, 2023, 12:43:28 pm »
I feel pretty confident that a good auto-router should be possible with current AI technology.
There's probably just no-one willing to put in 10 billion to develop it.

But with ChatGPT/OpenAI now a thing it's probably that building a good auto-router AI is much cheaper now.

Nah, come on. The price tag on an AI autorouter is not 10 billion ;)

ops. I mean to write million. haha
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline igendel

  • Frequent Contributor
  • **
  • Posts: 365
  • Country: il
    • It's Every Bit For Itself (Programming & MCU blog)
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #7 on: March 29, 2023, 01:34:58 pm »
It's... odd to call an auto/AI-routed design a "Fail"* just because it's routed differently from how a human would have done it. Did anyone claim that his autoRouter produces aesthetically superior results? Or stated that it works just like a human designer?

*The word "Fail" is currently in the YouTube video title.

Personally, I appreciate a visually pleasing PCB as much as anyone, but that probably shouldn't be the point here. Assuming the autoRouter produces a complete solution, I believe the reasonable questions should be:
- Will the circuit work to spec?
- Is it more prone to production/mechanical/electronic faults than a human design?
- Will it be easier to bodge, when the need arises?
- Is it, all things considered, cheaper and/or faster to design?


Maker projects, tutorials etc. on my Youtube channel: https://www.youtube.com/user/idogendel/
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13953
  • Country: gb
    • Mike's Electric Stuff
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #8 on: March 29, 2023, 01:42:10 pm »
I wonder if it would be more viable if the input was the  process of a human designer working, instead of the finished result. 
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline thinkfat

  • Supporter
  • ****
  • Posts: 2155
  • Country: de
  • This is just a hobby I spend too much time on.
    • Matthias' Hackerstübchen
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #9 on: March 29, 2023, 02:05:39 pm »
It's... odd to call an auto/AI-routed design a "Fail"* just because it's routed differently from how a human would have done it. Did anyone claim that his autoRouter produces aesthetically superior results? Or stated that it works just like a human designer?

*The word "Fail" is currently in the YouTube video title.

Personally, I appreciate a visually pleasing PCB as much as anyone, but that probably shouldn't be the point here. Assuming the autoRouter produces a complete solution, I believe the reasonable questions should be:
- Will the circuit work to spec?
- Is it more prone to production/mechanical/electronic faults than a human design?
- Will it be easier to bodge, when the need arises?
- Is it, all things considered, cheaper and/or faster to design?

The thing is - it didn't produce a complete solution. Hence the title "FAIL" is appropriate.
Also:
- didn't produce a complete solution
- wasn't faster than a human
- got itself stuck in a corner and the result was FUBAR.
- performed worse than a traditional autorouter solution.
Everybody likes gadgets. Until they try to make them.
 

Offline igendel

  • Frequent Contributor
  • **
  • Posts: 365
  • Country: il
    • It's Every Bit For Itself (Programming & MCU blog)
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #10 on: March 29, 2023, 02:16:01 pm »
The thing is - it didn't produce a complete solution. Hence the title "FAIL" is appropriate.

As far as that one specific test was concerned, true.
But that's not what Dave talked about for over 90% of the video (also, if I remember correctly, a solution was found after a very short time, the service just decided to keep on going and then messed it up).
Maker projects, tutorials etc. on my Youtube channel: https://www.youtube.com/user/idogendel/
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13953
  • Country: gb
    • Mike's Electric Stuff
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #11 on: March 29, 2023, 02:23:24 pm »
I think the main "fail" was that it was making dumb mistakes that would have been trivial to avoid with some very simple rules.

Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 
The following users thanked this post: karpouzi9

Offline bbrand67

  • Newbie
  • Posts: 4
  • Country: de
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #12 on: March 29, 2023, 02:57:34 pm »
Dave, could you make the DSN file available?
I'd like to compare with the result of Freerouting - I think it can hardly be worse :)
 

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 14696
  • Country: de
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #13 on: March 29, 2023, 03:54:40 pm »
Not completing the job is a fail. Routing in the more traditional way without strong directional restrictions is a tough problem and it is not a surprise to have it fail. The altium auto-router also did fail, though it got a little further - still both solutions are far from complete. Even just 1 missing link would not be working PCP. 
I did not see traces relatively close togther and this may indicate that it got some more stringent design rule that could make a solution impossible.

With a 2 layer baord a rather stupid autorouter could produce a sulution with brute force separation of horizontal and vertical. It would be an ugly solution with maybe thousands of vias, but changes are high it would work for the board shown.

I would not make too much of some of the odd corners and silly looking details.  A reasonable routing process is usually first to get a valid solution and than have some optimization and clean up step. The AI based router may still have that and just never reached that stage.  It could even be a combination of a classic try and error router for the first step and the AI only in the clean up and optimize stage that it never reached. If this would work, I would not mind.
 

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15208
  • Country: fr
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #14 on: March 29, 2023, 10:53:24 pm »
Dave, could you make the DSN file available?
I'd like to compare with the result of Freerouting - I think it can hardly be worse :)

Oh really?
Freerouting is actually not half bad for an autorouter. I've definitely seen way worse.
 

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 38498
  • Country: au
    • EEVblog
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #15 on: March 29, 2023, 10:55:06 pm »
I wonder if it would be more viable if the input was the  process of a human designer working, instead of the finished result.

Yes, it would surely greatly benefit from live training.
 

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 38498
  • Country: au
    • EEVblog
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #16 on: March 29, 2023, 10:56:16 pm »
Deep PCB replied:

Quote
Hi Dave,
We are glad that DeepPCB got your interest, some team members even follow your blog and YouTube channel! I am Nabil, Product Manager for DeepPCB.

We looked at the board you submitted and found a web issue on our end. We pushed the run back to your account and you can check it out now.

We routed your board using our more advanced, unreleased version of DeepPCB to get you better results. Your board is fully routed with 163 vias, after 7 hours. There is some minor tidy-up to be done.

Unfortunately, we waited to get better results before sending you this email and your video was already out. We appreciate your feedback and after watching the video, here are the answers to some of your questions:

The beta version is limited to 150 pairs. A pair is an airwire or a ratsnest. Your board has 238 of these, which exceeds the capability of our beta version. However, we don’t block runs that exceed this limit and your board could go through.

When we released DeepPCB, we only sent a solution after 24 hours (the best solution) but users were skeptical and suspected boards to be manually routed. We then decided to let the users see the intermediate solutions that the AI found.

Our router uses reinforcement learning. The algorithm is about learning from trial and error. This explains the quality of the first solutions that you saw.

Your board has a circular pin component and some non-45 degrees pins. Our AI has never seen these, which is why it needed more time to find reasonable solutions.

We expect our AI agent to find good solutions by itself. This means discovering routing patterns. For instance, we have some boards in which the AI uses one layer with horizontal connections only, and the other one for vertical connections. We can share with you some boards having this property.

DeepPCB also supports planes. We maximize their area and make sure they don’t get cut. As we’ve seen that your manually routed board has a plane defined, we’re happy to try another run with it.

We support multi-width clearance definitions for the nets as well. We expect high voltage to be thicker and we can include this in future runs if needed.

It seems that the information on netclasses and the plane didn’t get through when Altium was used.

Finally, we would like to mention that we’re still in startup mode and we’re doing our best to innovate around Place & Route for PCB. The beta version you recently tested is not meant to be a sold product. We need a few more improvements but we’re getting there step by step!

We’re happy to get on a call with you to give more details and answer any questions you may have.
Regards
Nabil
 
The following users thanked this post: thm_w

Offline temperance

  • Frequent Contributor
  • **
  • Posts: 577
  • Country: 00
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #17 on: March 29, 2023, 11:42:16 pm »
Quote
We expect our AI agent to find good solutions by itself. This means discovering routing patterns. For instance, we have some boards in which the AI uses one layer with horizontal connections only, and the other one for vertical connections. We can share with you some boards having this property.

 :-DD

Back to I don't remember which year. Soon this AI will decide to provide you some tape and decals delivered to you by someone on a horse. But maybe I'm not qualified to comment on this because long ago some member of this board told me that a board I routed looked as if it was done by a schizophrenic because it used two different routing strategies. Of course we got along fine.
« Last Edit: March 29, 2023, 11:53:53 pm by temperance »
 

Offline srb1954

  • Super Contributor
  • ***
  • Posts: 1110
  • Country: nz
  • Retired Electronics Design Engineer
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #18 on: March 30, 2023, 12:58:00 am »
I feel pretty confident that a good auto-router should be possible with current AI technology.
There's probably just no-one willing to put in 10 billion to develop it.

But with ChatGPT/OpenAI now a thing it's probably that building a good auto-router AI is much cheaper now.

Nah, come on. The price tag on an AI autorouter is not 10 billion ;)

ops. I mean to write million. haha
You were probably more correct with your original post.

S/W projects do tend to significantly overrun their initial budgets.
 

Online thm_w

  • Super Contributor
  • ***
  • Posts: 7030
  • Country: ca
  • Non-expert
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #19 on: March 30, 2023, 04:50:23 am »
Altium marketing are absolute fools for not giving you a free permanent license.


Deep PCB replied:

Quote
We routed your board using our more advanced, unreleased version of DeepPCB to get you better results. Your board is fully routed with 163 vias, after 7 hours. There is some minor tidy-up to be done.

LOL 7 hours with nvidia and cloud processing.

Quote
Our router uses reinforcement learning. The algorithm is about learning from trial and error. This explains the quality of the first solutions that you saw.

aka brute forces the solution, which is why it took 7 hours.

Quote
We expect our AI agent to find good solutions by itself. This means discovering routing patterns. For instance, we have some boards in which the AI uses one layer with horizontal connections only, and the other one for vertical connections. We can share with you some boards having this property.

That sounds like bs, it would maybe make more sense to have an option: "top layer - auto/vertical/horizontal/none", which is what the Altium autorouter has.
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 38498
  • Country: au
    • EEVblog
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #20 on: March 30, 2023, 11:26:20 am »
Altium marketing are absolute fools for not giving you a free permanent license.

They did every year for quite a few years, but someone who handled the renewal every year seems gone, and now no one else seems interested.
 

Offline hamdi.tn

  • Frequent Contributor
  • **
  • Posts: 624
  • Country: tn
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #21 on: March 30, 2023, 11:42:29 am »
The company is called InstaDeep, DeepPCB is one of theirproduct. It's a Tunisian company and i had a talk with their developers, they were trying to promote the thing and i said to them exactly what Dave said, and heavily criticized even the routing example they showed in their presentation, it was a simple pcb yet horribly routed.

To their defense, they are not in anyway related to pcb design business and what they end up saying in their presentation that the tool is mostly part of "decision making" algorithms that they are developing.

Useless.

Hamdi
 
The following users thanked this post: SiliconWizard

Offline Psi

  • Super Contributor
  • ***
  • Posts: 10202
  • Country: nz
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #22 on: March 30, 2023, 11:53:52 am »
Altium marketing are absolute fools for not giving you a free permanent license.

They did every year for quite a few years, but someone who handled the renewal every year seems gone, and now no one else seems interested.

Sounds like you need to make a video and mention they've decided to stop supporting the eevblog.
And talk about your plans to make more educational videos about kicad/diptrace/etc...

There's nothing like publicity and fear of losing future customers to get them into gear.   :popcorn:
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline kripton2035

  • Super Contributor
  • ***
  • Posts: 2675
  • Country: fr
    • kripton2035 schematics repository
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #23 on: March 30, 2023, 12:24:37 pm »
Dave, could you make the DSN file available?
I'd like to compare with the result of Freerouting - I think it can hardly be worse :)

+1
would like to compare it with Topor...
 

Offline bbrand67

  • Newbie
  • Posts: 4
  • Country: de
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #24 on: March 30, 2023, 02:28:27 pm »
Oh really?
Freerouting is actually not half bad for an autorouter. I've definitely seen way worse.

I think you misunderstood me. I tried Freerouting a couple of times and was pleasantly surprised.
What I wanted to express was that I think the results of Freerouting will likely be better (or at least not worse) than those of DeepPCB.
 

Online thm_w

  • Super Contributor
  • ***
  • Posts: 7030
  • Country: ca
  • Non-expert
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #25 on: March 30, 2023, 08:55:05 pm »
This was linked in the previous thread years ago, to demonstrate what Dave said about saving time on point to point routing:


But slightly misleading as the trace space design rules are not the same.
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 
The following users thanked this post: EEVblog, karpouzi9

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15208
  • Country: fr
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #26 on: March 30, 2023, 11:01:27 pm »
Oh really?
Freerouting is actually not half bad for an autorouter. I've definitely seen way worse.

I think you misunderstood me. I tried Freerouting a couple of times and was pleasantly surprised.
What I wanted to express was that I think the results of Freerouting will likely be better (or at least not worse) than those of DeepPCB.

Yep your sentence looked ambiguous as to which one would be worse. Thus my answer.

That said, 3 general points regarding autorouting even with Freerouting:

1. Autorouting 1- or 2-layer PCBs is almost always atrocious unless it's a dead-simple circuit. Especially the routing of power supplies and grounds.
2. You should never let an autorouter route 100% of your PCB from scratch. The few times I have used Freerouting (on large boards with a lot of non-critical digital signals), I have routed all power supplies and bypass capacitors manually, then let the autorouter finish the job. Then hand-corrected a few traces.
3. Related to 1, if you can use 4-layer or more, define your power planes beforehand (for Freerouting, there's a documented way of doing it so that the autorouter knows about your power planes). In this case, you can do without hand-routing power supplies in most cases (except for routing switching power supplies, which can be disastrous with an autorouter). Also define net classes. Preparing a PCB for autorouting takes a while, don't expect it to be a 2-second point & click affair.

« Last Edit: March 30, 2023, 11:03:01 pm by SiliconWizard »
 

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 38498
  • Country: au
    • EEVblog
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #27 on: March 30, 2023, 11:24:09 pm »
 

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 38498
  • Country: au
    • EEVblog
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #28 on: March 30, 2023, 11:34:19 pm »
This was linked in the previous thread years ago, to demonstrate what Dave said about saving time on point to point routing:


But slightly misleading as the trace space design rules are not the same.

I don't recall seeing that, but I think Altium did contact me for the file.
Yes, that's a just a grouped version of auto routing a single connection which you can also do, and is very handle for those "last mile" traces if would be a PITA to route yourself at the end of a project. Group selected routing works well becasue the human is selecting what's likely to route and what isn't. Essentially a manual priority based pre-conditional setup for the routing.
 

Offline golden_labels

  • Super Contributor
  • ***
  • Posts: 1330
  • Country: pl
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #29 on: March 31, 2023, 01:27:18 am »
Personally, I appreciate a visually pleasing PCB as much as anyone, but that probably shouldn't be the point here. Assuming the autoRouter produces a complete solution, I believe the reasonable questions should be:
- Will the circuit work to spec?
- Is it more prone to production/mechanical/electronic faults than a human design?
- Will it be easier to bodge, when the need arises?
- Is it, all things considered, cheaper and/or faster to design?
Readability of the traces is also a goal, isn’t it?

However, in this case it may be considered a fail. Not because it’s not aesthetically pleasing. Not even due to not finishing the routing and still this taking more than a human would need. It is a fail, because the mistakes it made indicate it has serious trouble with following basic heuristics and making no-cost simplifications. It generates traces and makes choices, which will get in its own way with more complicated designs.
People imagine AI as T1000. What we got so far is glorified T9.
 

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15208
  • Country: fr
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #30 on: March 31, 2023, 03:25:03 am »
 

Offline thinkfat

  • Supporter
  • ****
  • Posts: 2155
  • Country: de
  • This is just a hobby I spend too much time on.
    • Matthias' Hackerstübchen
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #31 on: March 31, 2023, 07:35:23 am »
I decided to put DeepPCB to a test myself, giving them the same PCB I used a few years back. It completed after about 2 hours but didn't produce a complete solution.

Then I ran the same PCB through freerouting, it produced a complete solution in 10 minutes. Using less Vias than DeepPCB (49 vs. 77).

Both were working under the same constraints, using netclasses and manufacturing constraints I had set up in KiCad.

I've attached both results. I've also attached the human-routed PCB. Note that it used more Vias (88), but many of them were for stitching planes together.
Everybody likes gadgets. Until they try to make them.
 
The following users thanked this post: SiliconWizard

Offline igendel

  • Frequent Contributor
  • **
  • Posts: 365
  • Country: il
    • It's Every Bit For Itself (Programming & MCU blog)
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #32 on: April 01, 2023, 03:41:02 pm »
Personally, I appreciate a visually pleasing PCB as much as anyone, but that probably shouldn't be the point here. Assuming the autoRouter produces a complete solution, I believe the reasonable questions should be: [...]
Readability of the traces is also a goal, isn’t it?

First of all, given the further information that was provided here since my previous post, I guess I'll have to redact most of what I wrote  :D

But as a general question, under the umbrella of "Can computers route traces"? I doubt readability is a goal, certainly in the long term, because the whole point is to take humans out of the loop as much as possible, and only humans need it "readable".

Perhaps a good comparison would be to the famous google.com page source code. We humans really love readable code, but the goal there is simply function and performance.
Maker projects, tutorials etc. on my Youtube channel: https://www.youtube.com/user/idogendel/
 

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 14696
  • Country: de
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #33 on: April 01, 2023, 04:27:29 pm »
The the auto-router failed alread the the much simpler example is a bit embarassing for the AI. This one looks really simple and freerouting had not problem with this.
Dave's example was already a bit on the difficult side, as the auto-router of Altium also failed on the that job.

There is usually no real need to have a PCB layout readable. There are more other constraints or secondary targets, like keeping am intact ground plane, minimizing cross talk or emissions or the number of vias that matter.  I don't think the current exampled did care about this. If a computer would produce a well working layout that looks uggly, this would be OK. The main point is getting a layout that gets all connections done - a partial solution is pretty useless (maybe OK for a 1 off with using an extra bodge wire).
 

Offline Damperhead

  • Contributor
  • Posts: 23
  • Country: fi
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #34 on: April 01, 2023, 07:55:38 pm »
It is very interesting to follow the development of autorouter. However, it must be stated that not much real development has taken place during the last decades. In the blog example, the connection was quite simple. Maybe a few major rules that should be followed. What if the autorouter was given the task of wiring a DC/DC (buck) converter, where certain things that strongly affect the operation must be taken into account, such as the ground loop between input and output. What about considerably more complex integrated circuits such as PLL Synthesizers, ADCs etc. All of these have many special features that must be taken into account in the PCB layout, which is ultimately a compromise from the reference design provided by the IC vendor. And I haven't mentioned RF circuits yet, where the design rules and practices differ a lot compared to the DC world.
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 27752
  • Country: nl
    • NCT Developments
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #35 on: April 03, 2023, 05:26:22 pm »
It is very interesting to follow the development of autorouter. However, it must be stated that not much real development has taken place during the last decades. In the blog example, the connection was quite simple. Maybe a few major rules that should be followed. What if the autorouter was given the task of wiring a DC/DC (buck) converter, where certain things that strongly affect the operation must be taken into account, such as the ground loop between input and output. What about considerably more complex integrated circuits such as PLL Synthesizers, ADCs etc. All of these have many special features that must be taken into account in the PCB layout, which is ultimately a compromise from the reference design provided by the IC vendor. And I haven't mentioned RF circuits yet, where the design rules and practices differ a lot compared to the DC world.
Maybe a DC-DC converter is a bad choice, but I've seen Altium's autorouter do a good job on DDR memory interfaces where length and phase matching (including internal delays in the packages) needs to be taken into account. It is pretty tedious to do this manually. It all comes down to setting up the constraints properly.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Online thm_w

  • Super Contributor
  • ***
  • Posts: 7030
  • Country: ca
  • Non-expert
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #36 on: April 03, 2023, 09:20:40 pm »
It is very interesting to follow the development of autorouter. However, it must be stated that not much real development has taken place during the last decades. In the blog example, the connection was quite simple. Maybe a few major rules that should be followed. What if the autorouter was given the task of wiring a DC/DC (buck) converter, where certain things that strongly affect the operation must be taken into account, such as the ground loop between input and output. What about considerably more complex integrated circuits such as PLL Synthesizers, ADCs etc. All of these have many special features that must be taken into account in the PCB layout, which is ultimately a compromise from the reference design provided by the IC vendor. And I haven't mentioned RF circuits yet, where the design rules and practices differ a lot compared to the DC world.
Maybe a DC-DC converter is a bad choice, but I've seen Altium's autorouter do a good job on DDR memory interfaces where length and phase matching (including internal delays in the packages) needs to be taken into account. It is pretty tedious to do this manually. It all comes down to setting up the constraints properly.

Yeah but just in general they could make the constraint setup much more user friendly, and visual, if they actually wanted to expand auto router use.

eg: click on a trace/net in the schematic, type in its minimum current: 5A, now it shows above the trace. Click on the DC/DC feedback trace, select "route shortest possible". Something like that.

Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15208
  • Country: fr
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #37 on: April 04, 2023, 02:04:30 am »
It is very interesting to follow the development of autorouter. However, it must be stated that not much real development has taken place during the last decades. In the blog example, the connection was quite simple. Maybe a few major rules that should be followed. What if the autorouter was given the task of wiring a DC/DC (buck) converter, where certain things that strongly affect the operation must be taken into account, such as the ground loop between input and output. What about considerably more complex integrated circuits such as PLL Synthesizers, ADCs etc. All of these have many special features that must be taken into account in the PCB layout, which is ultimately a compromise from the reference design provided by the IC vendor. And I haven't mentioned RF circuits yet, where the design rules and practices differ a lot compared to the DC world.
Maybe a DC-DC converter is a bad choice, but I've seen Altium's autorouter do a good job on DDR memory interfaces where length and phase matching (including internal delays in the packages) needs to be taken into account. It is pretty tedious to do this manually. It all comes down to setting up the constraints properly.

That's the kind of use cases that I think make autorouters useful.

But placement is the critical part, and can be very tedious. I would definitely favor a good autoplacer over any autorouter.
 
The following users thanked this post: thinkfat

Offline thinkfat

  • Supporter
  • ****
  • Posts: 2155
  • Country: de
  • This is just a hobby I spend too much time on.
    • Matthias' Hackerstübchen
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #38 on: April 04, 2023, 06:24:30 am »
It is very interesting to follow the development of autorouter. However, it must be stated that not much real development has taken place during the last decades. In the blog example, the connection was quite simple. Maybe a few major rules that should be followed. What if the autorouter was given the task of wiring a DC/DC (buck) converter, where certain things that strongly affect the operation must be taken into account, such as the ground loop between input and output. What about considerably more complex integrated circuits such as PLL Synthesizers, ADCs etc. All of these have many special features that must be taken into account in the PCB layout, which is ultimately a compromise from the reference design provided by the IC vendor. And I haven't mentioned RF circuits yet, where the design rules and practices differ a lot compared to the DC world.
Maybe a DC-DC converter is a bad choice, but I've seen Altium's autorouter do a good job on DDR memory interfaces where length and phase matching (including internal delays in the packages) needs to be taken into account. It is pretty tedious to do this manually. It all comes down to setting up the constraints properly.

That's the kind of use cases that I think make autorouters useful.

But placement is the critical part, and can be very tedious. I would definitely favor a good autoplacer over any autorouter.

Absolutely. Even something that grouped parts together based on the "length" and count of crossings of ratsnest lines would be a big help for initial placement. Maybe if one considered ratsnest lines as rubber bands? There are visualization tools able to work out clusters that way.
Everybody likes gadgets. Until they try to make them.
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 27752
  • Country: nl
    • NCT Developments
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #39 on: April 04, 2023, 12:57:28 pm »
It is very interesting to follow the development of autorouter. However, it must be stated that not much real development has taken place during the last decades. In the blog example, the connection was quite simple. Maybe a few major rules that should be followed. What if the autorouter was given the task of wiring a DC/DC (buck) converter, where certain things that strongly affect the operation must be taken into account, such as the ground loop between input and output. What about considerably more complex integrated circuits such as PLL Synthesizers, ADCs etc. All of these have many special features that must be taken into account in the PCB layout, which is ultimately a compromise from the reference design provided by the IC vendor. And I haven't mentioned RF circuits yet, where the design rules and practices differ a lot compared to the DC world.
Maybe a DC-DC converter is a bad choice, but I've seen Altium's autorouter do a good job on DDR memory interfaces where length and phase matching (including internal delays in the packages) needs to be taken into account. It is pretty tedious to do this manually. It all comes down to setting up the constraints properly.

That's the kind of use cases that I think make autorouters useful.

But placement is the critical part, and can be very tedious. I would definitely favor a good autoplacer over any autorouter.
You have a very good point here. In many cases I spend more time on placement than routing.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 14696
  • Country: de
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #40 on: April 04, 2023, 01:46:58 pm »
Of cause it depends on the PCB, but in many cases the placement and rounting are not really separate.  It is quite common to move / rotate parts while doing the routing. In some cases this can even include changing the case / pinout of some parts. Some SMD parts like OP-amps come with different versions to ease on the layout.
Another classic is swapping equivalent pins on some parts (e.g. the data lines on RAM chips).

Doing lenght matched buses is defintely something to let some comupter do. This is usually also one of the easier parts for the computer.

The point where autorouters are a bit weak is when it comes to the topological decisions, so the question of going left or right way around - especially if the leads to a solution where no individual connection gets the direct way on its own, but all have to compromise.
 

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 38498
  • Country: au
    • EEVblog
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #41 on: April 10, 2023, 12:17:32 am »
The the auto-router failed alread the the much simpler example is a bit embarassing for the AI. This one looks really simple and freerouting had not problem with this.
Dave's example was already a bit on the difficult side, as the auto-router of Altium also failed on the that job.

To be fair to Altium, that video of Altium doing selective autorouting is excellent.
It's not a stretch to expect magical AI to at least figure out some selective way to route local location based group nets like that.
 
The following users thanked this post: nctnico

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 38498
  • Country: au
    • EEVblog
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #42 on: April 10, 2023, 10:28:19 am »
Chris interviewed another AI PCB company I hadn't heard of last week, Quilter. Haven't listened to it yet:
https://theamphour.com/626-intelligent-routing-with-sergiy-nesterenko/
https://www.quilter.ai/
« Last Edit: April 10, 2023, 10:32:11 am by EEVblog »
 

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 38498
  • Country: au
    • EEVblog
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #43 on: April 10, 2023, 10:29:53 am »
I feel like I'm missing something.
1) DeepPCB has been "out" for over three years as a product and has amazed approximately 0% of users. It has not been continuously improved and seems to be basically stale/unmaintained code: In other words, a zombie living on AWS.

A zombie that made bank. DeepPCB was part of Instadeep that got acquired.
https://techcrunch.com/2023/01/10/biontech-acquires-tunisian-born-and-u-k-based-ai-startup-instadeep-for-562m/
 

Online thm_w

  • Super Contributor
  • ***
  • Posts: 7030
  • Country: ca
  • Non-expert
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #44 on: April 10, 2023, 09:26:40 pm »
Yeah, doesn't matter if they sat around doing nothing of value, if investors were impressed.

Chris interviewed another AI PCB company I hadn't heard of last week, Quilter. Haven't listened to it yet:
https://theamphour.com/626-intelligent-routing-with-sergiy-nesterenko/
https://www.quilter.ai/

Here is one of their example boards on the site.
The use of any-angled traces could work well in some situations. But it also means a human going in a selectively re-routing is going to have a painful experience.

Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 
The following users thanked this post: EEVblog

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 38498
  • Country: au
    • EEVblog
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #45 on: April 11, 2023, 05:54:29 am »
Here is one of their example boards on the site.
The use of any-angled traces could work well in some situations. But it also means a human going in a selectively re-routing is going to have a painful experience.

Seriously? The released that as an example?  :palm:
 

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15208
  • Country: fr
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #46 on: April 11, 2023, 07:52:54 pm »
Yeah, doesn't matter if they sat around doing nothing of value, if investors were impressed.

Chris interviewed another AI PCB company I hadn't heard of last week, Quilter. Haven't listened to it yet:
https://theamphour.com/626-intelligent-routing-with-sergiy-nesterenko/
https://www.quilter.ai/

Here is one of their example boards on the site.
The use of any-angled traces could work well in some situations. But it also means a human going in a selectively re-routing is going to have a painful experience.
(...)

Very nice!! :-DD
 

Online thm_w

  • Super Contributor
  • ***
  • Posts: 7030
  • Country: ca
  • Non-expert
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #47 on: April 11, 2023, 09:03:19 pm »
I should use any-angle traces more often...

Its useful on single sided boards with limited space. But don't start the layout until everything is placed, push and shove with these traces doesn't work well (altium).
Rounded traces are another fun one to do.

On a rectangular board like this with tons of space it makes no sense.
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 
The following users thanked this post: karpouzi9

Offline golden_labels

  • Super Contributor
  • ***
  • Posts: 1330
  • Country: pl
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #48 on: April 12, 2023, 12:08:31 am »
it definitely screams "solve by greedy algorithm on a graph".
Hey, they at least used a graph! Appreciate that!
People imagine AI as T1000. What we got so far is glorified T9.
 

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 38498
  • Country: au
    • EEVblog
Re: EEVblog 1535 - DeepPCB AI AutoRouting TESTED!
« Reply #49 on: April 12, 2023, 11:07:04 am »
FYI, Altium contacted me and said they'll give a me pro license again  :-+
 
The following users thanked this post: thm_w


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf