Hacker News new | ask | show | jobs
by mikeayles 85 days ago
The space is definitely heating up.

Flux.ai being the incumbent Silixon based out of the UK have been showing demos Quilter and DeepPCB for layout The recent OpenAI demo...

I went the other way and pre-designed sub circuits with a set of rules that allows simple merge assembly, unfortunately I didn't have the time or budget to continue with it, but I took the constrained approach as with hardware, things can't be 99%.

The one thing I will say, is that my experience of hardware engineers is very gatekeepy.

Any questions about the use of AI for any form of automation on forums/Reddit get shot down instantly and the OP's told 'skill issue' more or less. In my opinion, just as with software, most work is simple and should be automated, there will always be a need for the real engineering when it comes to high specification work, high volume optimisation and hardware debug (although Claude code is pretty handy at driving a Jlink)

2 comments

> The one thing I will say, is that my experience of hardware engineers is very gatekeepy.

Stay away from Reddit and forums if you want to see where the open minded people are looking. There are a lot of communities where EEs are experimenting with newer technologies and sharing their results, with realistic appraisals of what can be done.

You also need to understand the history of autorouting technology for PCBs. Autorouters with auto layout have been around in many forms for years. Their output never compares to a skilled EE doing it manually. The gap between autorouter output and skilled operator output is even bigger than the gap between a good developer and average AI codegen slop.

I’m interested in this space, but even the Fable/Astra or dedicated tools like Quilter, Flux, and others have a very, very long way to go for boards more complex than simple hobby boards.

I do think this is going to be good for hobby people doing simple PCBs though

> Stay away from Reddit and forums if you want to see where the open minded people are looking. There are a lot of communities where EEs are experimenting with newer technologies and sharing their results, with realistic appraisals of what can be done.

Where are these communities?

NP-hard problems are still NP-hard even with magical LLM pixie sprinkles. =3
If the magic LLM pixie sprinkles can brute force their way to a solution using viable heuristics and their training data, I will use them.
NP-Hard is NP-hard... "heuristics" in this case is just a euphemism for a fantasy cost-function to scam shareholders.

It is a named problem, and can't be misappropriated like the $9Tn worth of FOSS code "AI" scraped and compacted for isomorphic plagiarism tokens. =3

The best solution might be NP-hard. However we don't need the best, we need one that is good enough, and that is more doable.
> NP-Hard is NP-hard... "heuristics" in this case is just a euphemism for a fantasy cost-function to scam shareholders.

I don’t know why you’re trying to make this so hard.

The problem is NP hard whether I do it or a machine does it.

I can still do a good job despite being NP hard. I believe a machine with enough compute will be able to, too.

Copying millions of other peoples work for a similar looking result excludes the design compromises every engineer must make during the process.

LLM don't think because it is not real "AI", and simply conflates every isomorphic vector search proximity output.

Auto-routers have existed for decades, and they do work in the trivial design cases... but are almost always a liability where design choices matter.

Best of luck =3

So, then how are today's pcb layout techs solving these Np-hard problems in your mind, armed only with Altium?
Simple: we aren't.

We can find local optima, but there's no real way to prove a given design is the best of all possible designs. We can only find designs which work and meet the given criteria.

One can prove that a design is correct, but it requires the same class of compute as an LLM to properly simulate. Circuit boards are hellishly complicated once you start simulating EM and RF responses.

As for how a good engineer does this, it's the same way pilots can fly helicopters: intuition. It's a skill built up from lots of reading the rules and theory, and lots of practice. One gets a feel for how the various fields and energies are moving.

Which, when you think about it, is just about how neural nets learn, isn't that neat?

I think the real answer here is that machine learning is absolutely capable of producing satisfactorily correct circuit boards. In principle. But I think the problem space is far too large for today's ML techniques and verification/iteration is just way too expensive. Maybe in another few years, I just don't think we have enough compute for it yet.

Only decades of standards compliance, workmanship training, and experience. Human beings are very good at spotting patterns in noisy jungles, and making rational design tradeoffs.

Auto-routers have been around far longer than even smartphones. Somewhat functional in the trivial problem domains, and always useless where design choices mattered.

Best of luck solving a named problem. =3

They're also NP-hard for the humans doing the majority of the work currently, meaning that good enough heuristics dominate as it is.
Every trace on a PCB is a traveling salesman problem with ballooning complexity.

https://en.wikipedia.org/wiki/Travelling_salesman_problem

While physics informed models do exist, they are still going to burn a lot of compute to generate failure modes people didn't know were possible. =3

https://www.youtube.com/watch?v=T4Upf_B9RLQ

Well, no, it's not.

If anything, it's closer to the bin packing problem. The cost function isn't expressed in terms of lowest cost between nodes, but instead fitting all of the traces with the lowest board layer count while still meeting stuff like EMI crosstalk guidelines. Then there'll be some traces that are very constrained (think DRAM or SERDES links) that have to be length matched, but those are pretty much invariably point to point links that already are heavily automated.

Traces being, say 20% longer than they need to be for an optimal solution doesn't really change the performance of the board in the vast majority of cases since they'll be some of the lowest resistance components of the netlist anyway, as well as the fact that the PCB is normally oversized for the number of traces needed as it fulfills structural/mechanical needs as well as the netlist needs.

And on top of that, because the optimal solution probably is NP-hard, once again, the industry doesn't look for optimal, only good enough. If layout techs in Altium were regularly solving NP-hard problems, computer science would be a different place. The only goal I see is to meet that bar without hiring layout techs.

>Traces being, say 20% longer than they need to be doesn't really change the performance of the board

Impedance matching requires you know what you are doing, and Altium will only take you so far. For the price, Altium/Protel has always been a poor deal for what you get software wise.

Even free Qspice (a more modern Analog Devices LTSpice) is a far better option:

https://www.qorvo.com/design-hub/calculators-simulation/qspi...

>the industry doesn't look for optimal, only good enough

Indeed, that is why your iPhone still weighs 3.7 kg. =3

Magical LLM pixie sprinkles ... is that where magic smoke comes from?
Magic smoke is important, as it indicates a design parameter was exceeded.

I often recommend folks get a mini thermal camera for their phone... as inspecting for issues in electrical, hydraulic, or mechanical systems gets a fair bit easier/safer. =3

My experience with hardware engineers, at least IRL, is very different. They love to talk about their work. However, I used to be an EE so that probably helps.

As for Reddit, there's a lot of "bury head in sand and problem will go away" behavior when it comes to AI. People are understandably worried about their jobs, but they're certainly not doing themselves any favors by downplaying AI or looking for "tech niches where AI isn't yet."

Copperhead is very interesting. I do some embedded systems consulting on the side, but I've never enjoyed PCB layout very much. I briefly investigated using AI for it the last time I had to do a board, but it wasn't very helpful.

Thing is, what can they realistically do? Any work that does not involve a social component is on the way out. All work that remains will be more like "service" than like "work" the way we see it today ("service" as in "civil service", not as in "held in service or labor", i hope).