I did something like this with the recent GPU features of OpenEMS, which has been good enough for hobby FPV antennas that have PCB elements carrying RF. Tinkering with the mesh handling like a lot of PDE modelling is the tricky part. I'm at a point where the discrete adjoints are good-enough-for-hobby-work level of precision and good enough for numerical optimization (e.g. tweak a patch antenna design to be optimal for a narrow range of frequencies and fit mass and size constraints). Seems like others are approaching the space for broader PCB design.
EM simulation has been a desired feature in KiCad for a long time, going back probably nearly a decade to the proposed SparseLizard integration. Last year at an industry conference I chatted with one of the leaders on the project and he definitely hinted that simulation capabilities are of great interest to users. I suspect that, with how easy it is to get both EM solver engines as well as setup GUIs using LLMs, it's just a matter of time until the community latches on to whichever solution ends up being the best.
I have been doing this with Claude for a USB hub, using OpenEMS and Palace (from AWS).
These methods are very sensitive to the mesh used, so better spend some time first to get that right. A simple super speed pair of a few cm takes like 30mins to an hour to simulate/extract using a GPU.
I was expecting better performance, especially since Palace has a multigrid solver, but apparently this is where we are.
I know one of the things hindering electronics development via agents is physical testing.
Software and math moves fast because the agent can test and reiterate.
If everything can be simulated can the agent in theory develop boards in the computer? Can it do that already? Of course EM stuff is part of this story.
I think at least on the hobbyist level it can do this?
Yes, author here. This is part of a larger work: a system to reverse engineer any PCB or IC using AI and reproduce it. Part of the process is testing signal integrity, since the purpose is sending the designed boards/artifacts for real production.
The exact purpose of fieldforge is to allow EM simulation and signal integrity analysis on KiCad via openEMS and Palace.
Ambitious project! Good luck. I wonder if you are also using physical interfaces, eg. flying probes, or if you are using X-ray or other non-destructive inspection methods to seed the circuit topology reconstruction before tuning. Maybe a combination. A common problem is IC identification, this can be tedious if they are reworked flat, but good solutions usually rely on synthetic inputs with isolated pin access. I also wonder if you can achieve a good solution here autonomously without lifting pins.
Thank you! Yes, we started looking into PHY specifications, even though modern ones are behind NDA, there are open source examples at larger nodes which fit our purpose. However, these are last frontiers for now.
Edit: Mostly referring to physical interface of hi-speed memory in IC design, open-source RTL/GDSII.
Theoretically you could build something like an elaborate breadboard-style system with a pick-and-place machine over it, where an LLM could command it to pick up components and wire them together.
You could also allow it to plug in test tools like a scope, multimeter, PSU, or debug probe (like UART or ST-Link) to close the loop on firmware developement.
The biggest hurdle would be getting all the components for it in a standardized form-factor, and it would probably get blocked fairly often whenever there's some missing component it needs.
I'm working on something like that (still early stage). I have a gantry that can pick up stuff, a camera, debug probe, etc. All remotely operable via a CLI/API. I was initially thinking of using breadboards but with small scale PCB + pick and place machines, it's probably easier to directly manufacture PCBs. I've used this system to develop an electronic product with AI agents. I will hopefully open alpha access soon. A bit outdated but: https://hardstack.com/pitch. Feel free to reach out if it interests you!
I did something like this with the recent GPU features of OpenEMS, which has been good enough for hobby FPV antennas that have PCB elements carrying RF. Tinkering with the mesh handling like a lot of PDE modelling is the tricky part. I'm at a point where the discrete adjoints are good-enough-for-hobby-work level of precision and good enough for numerical optimization (e.g. tweak a patch antenna design to be optimal for a narrow range of frequencies and fit mass and size constraints). Seems like others are approaching the space for broader PCB design.
EM simulation has been a desired feature in KiCad for a long time, going back probably nearly a decade to the proposed SparseLizard integration. Last year at an industry conference I chatted with one of the leaders on the project and he definitely hinted that simulation capabilities are of great interest to users. I suspect that, with how easy it is to get both EM solver engines as well as setup GUIs using LLMs, it's just a matter of time until the community latches on to whichever solution ends up being the best.
this one leans on openEMS and Palace for a lot of the solving. a lot of the work went into auto meshing and grabbing the board straight from kicad.
I have been doing this with Claude for a USB hub, using OpenEMS and Palace (from AWS).
These methods are very sensitive to the mesh used, so better spend some time first to get that right. A simple super speed pair of a few cm takes like 30mins to an hour to simulate/extract using a GPU.
I was expecting better performance, especially since Palace has a multigrid solver, but apparently this is where we are.
> 30mins to an hour to simulate/extract using a GPU.
Which GPU is this? Are we talking integrated laptop GPU or RTX 5090-class workstation?
I know one of the things hindering electronics development via agents is physical testing. Software and math moves fast because the agent can test and reiterate.
If everything can be simulated can the agent in theory develop boards in the computer? Can it do that already? Of course EM stuff is part of this story.
I think at least on the hobbyist level it can do this?
Yes, author here. This is part of a larger work: a system to reverse engineer any PCB or IC using AI and reproduce it. Part of the process is testing signal integrity, since the purpose is sending the designed boards/artifacts for real production.
The exact purpose of fieldforge is to allow EM simulation and signal integrity analysis on KiCad via openEMS and Palace.
Ambitious project! Good luck. I wonder if you are also using physical interfaces, eg. flying probes, or if you are using X-ray or other non-destructive inspection methods to seed the circuit topology reconstruction before tuning. Maybe a combination. A common problem is IC identification, this can be tedious if they are reworked flat, but good solutions usually rely on synthetic inputs with isolated pin access. I also wonder if you can achieve a good solution here autonomously without lifting pins.
Thank you! Yes, we started looking into PHY specifications, even though modern ones are behind NDA, there are open source examples at larger nodes which fit our purpose. However, these are last frontiers for now.
Edit: Mostly referring to physical interface of hi-speed memory in IC design, open-source RTL/GDSII.
Theoretically you could build something like an elaborate breadboard-style system with a pick-and-place machine over it, where an LLM could command it to pick up components and wire them together.
You could also allow it to plug in test tools like a scope, multimeter, PSU, or debug probe (like UART or ST-Link) to close the loop on firmware developement.
The biggest hurdle would be getting all the components for it in a standardized form-factor, and it would probably get blocked fairly often whenever there's some missing component it needs.
I'm working on something like that (still early stage). I have a gantry that can pick up stuff, a camera, debug probe, etc. All remotely operable via a CLI/API. I was initially thinking of using breadboards but with small scale PCB + pick and place machines, it's probably easier to directly manufacture PCBs. I've used this system to develop an electronic product with AI agents. I will hopefully open alpha access soon. A bit outdated but: https://hardstack.com/pitch. Feel free to reach out if it interests you!