Evaluating LLM-based Workflows for Switched-Mode Power Supply Design
Simon Nau, Jan Krummenauer, André Zimmermann
TL;DR
This work investigates the use of large language models (LLMs) to assist in switched-mode power supply (SMPS) circuit design for PCBs. It proposes a family of LLM-based workflows that combine reasoning, retrieval-augmented generation (RAG), and a custom SPICE-interaction toolkit to simulate circuit modifications and extract feedback. Across two benchmark experiments with 269 tasks, SPICE simulation feedback and LLM reasoning dramatically improve problem-solving capability, achieving up to a 91% solve rate, while topology adaptation remains challenging for complex nets due to text-based netlist limitations. The results suggest that while LLMs can substantially aid SMPS design, especially for parameter tuning, future work should focus on richer circuit representations and hybrid optimization to better explore design spaces and improve topology adaptation.
Abstract
Large language models (LLMs) have great potential to enhance productivity in many disciplines, such as software engineering. However, it is unclear to what extent they can assist in the design process of electronic circuits. This paper focuses on the application of LLMs to switched-mode power supply (SMPS) design for printed circuit boards (PCBs). We present multiple LLM-based workflows that combine reasoning, retrieval-augmented generation (RAG), and a custom toolkit that enables the LLM to interact with SPICE simulations to estimate the impact of circuit modifications. Two benchmark experiments are presented to analyze the performance of LLM-based assistants for different design tasks, including parameter tuning, topology adaption and optimization of SMPS circuits. Experiment results show that SPICE simulation feedback and current LLM advancements, such as reasoning, significantly increase the solve rate on 269 manually created benchmark tasks from 15% to 91%. Furthermore, our analysis reveals that most parameter tuning design tasks can be solved, while limits remain for certain topology adaption tasks. Our experiments offer insights for improving current concepts, for example by adapting text-based circuit representations
