21 comments

  • stn8188 2 days ago ago

    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.

  • thearn4 2 days ago ago

    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.

    • skew-aberration 2 days ago ago

      Lumped element modelling in scikit-rf is arguably superior for even professional design with full EM or hybrid in OpenEMS only for final verification and tuning. EDIT: got some names wrong

  • amelius 2 days ago ago

    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.

    • yonatan8070 2 days ago ago

      > 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?

      • amelius 2 days ago ago

        Jetson Orin industrial 64GB.

        • ThrowawayTestr a day ago ago

          That's based on the Ampere architecture from 2020 and is quite underpowered as it is.

          • amelius a day ago ago

            Good to know! I should look into this more. Unfortunately, moving to a newer system is quite expensive.

  • leosang 2 days ago ago

    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.

  • threethirtytwo 2 days ago ago

    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?

    • binyu 2 days ago ago

      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.

      • contingencies 2 days ago ago

        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.

        • binyu 2 days ago ago

          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.

          • contingencies 2 days ago ago

            I had to look that up (I don't do that level of electronics). Basically apparently that means "<most lucratively> targeting high speed AI hardware design <sidestepping Cadence>." Not a small task!

            Edit: Oh, I see :) Well regardless, an interesting area. Bon chance. I had a short dalliance with custom transformers for a higher power class PoE termination solution earlier this year, that was eye opening. Seems like once you step outside of ultra expensive branded offerings and mass-market cameras finding tuned magnetics with built-in bias windings suitable for specific applications is nearly impossible and a whole cottage industry of custom magnetics manufacturers exists in China for these device classes.

            • binyu 2 days ago ago

              Well, not really. More like, popularizing PCB and IC design, and making it easier to do with the help of software and AI.

              I should have also been more precise with the use of the term "reverse engineering". I meant more like starting from technical documentation and specifications, rather than actual physical reverse engineering.

    • yonatan8070 2 days ago ago

      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.

      • olalonde 2 days ago ago

        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 that interests you!

      • threethirtytwo 2 days ago ago

        The best way IMO is to get everything down to standard theory and we can run the full simulation in the computer.

  • bfrog a day ago ago

    Hopefully uses not just CUDA for this? Seeing as Nvidia cards are now unobtainium

  • felixmarlowe 2 days ago ago

    [dead]

  • mertleee 2 days ago ago

    [dead]