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

0 Members and 1 Guest are viewing this topic.

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 37740
  • 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: 1209
  • 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: 2152
  • 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: 9951
  • 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: 2152
  • 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: 2300
  • 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: 9951
  • 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: 359
  • 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/
 

Online mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13748
  • 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: 2152
  • 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: 359
  • 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/
 

Online mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13748
  • 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 :)
 

Online Kleinstein

  • Super Contributor
  • ***
  • Posts: 14201
  • 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.
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14476
  • 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: 37740
  • 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: 37740
  • 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: 446
  • 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 »
Some species start the day by screaming their lungs out. Something which doesn't make sense at first. But as you get older it all starts to make sense.
 

Offline srb1954

  • Super Contributor
  • ***
  • Posts: 1091
  • 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.
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 6384
  • 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: 37740
  • 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.
 

Online hamdi.tn

  • Frequent Contributor
  • **
  • Posts: 623
  • 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: 9951
  • 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: 2587
  • 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.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf