A novel tree-based representation for evolving analog circuits and its application to memristor-based pulse generation circuit

Xinming Shi, Leandro L. Minku, Xin YaoGenet. Program. Evolvable Mach 2022

Abstract

Automated Analog circuit Design (AAD) remains a significant challenge in electrical engineering due to the complexity of balancing topologies with precise component values. This paper introduces a novel tree-based representation for Genetic Programming (GP) that facilitates a direct mapping to industry-standard SPICE netlists. By employing a multi-tree structure and a robust repair mechanism, the proposed framework evolves circuits that are more compact and energy-efficient than those produced by existing methods. The approach is validated through several benchmarks, including a cutting-edge memristor-based pulse generator, demonstrating significant improvements in computational efficiency and design quality.

Introduction: The Challenge of Automated Analog Design

Analog circuit design is often considered a "black art" because it requires human experts to navigate a vast search space of topologies and component parameters. While Evolutionary Algorithms (EAs) offer a path toward automation, they typically struggle with representation gaps, circuit "bloat," and the integration of multi-terminal devices or emerging technologies like memristors.

Traditional knowledge-based methods rely on familiar structures but require extremely high domain expertise and involve high complexity. In contrast, EAs can explore unfamiliar structures with lower initial knowledge requirements, though they introduce their own computational hurdles.

Comparison of Knowledge-based methods and Evolutionary Algorithms (EA) in circuit design.

Methodology

The core innovation is a novel tree-based representation where non-leaf nodes (Function Nodes) represent electrical components and leaf nodes (Terminal Nodes) represent connection points.

Multi-Tree Structure and Mapping

Each component incorporates an internal "Value Tree" to evolve specific parameters (e.g., resistance) independently of the overall topology. A hierarchical mapping rule allows for the intuitive transformation of these trees into SPICE netlists, supporting both two-terminal (resistors, capacitors) and three-terminal devices (transistors).

Robustness via Repair Mechanisms

Rather than penalizing "broken" or infeasible circuits—which often leads to a loss of genetic diversity—the framework employs a Three-Tier Structure Check. This mechanism repairs dangling terminals, ensures input/output connectivity, and enforces depth limits to mitigate the "bloat" problem common in Genetic Programming.

Specialized Evolutionary Operators

The system utilizes "Topology Crossover" to exchange functional sub-circuits and "Value Crossover" to fine-tune component parameters, mimicking the modular way human engineers combine known circuit blocks.

Experimental Benchmarks

The method was evaluated against four distinct challenges:

  1. Voltage Reference Circuit: Targetting a stable 2V output across varying conditions.
  2. Temperature Sensor: Aiming for a linear voltage-temperature response.
  3. Gaussian Function Generator: Producing a bell-curve current output.
  4. Memristor-based Pulse Generator: A neuromorphic circuit utilizing memristors and MOSFETs to generate "spikes."

Key Results and Insights

The proposed method consistently outperformed state-of-the-art benchmarks (Koza, Mattiussi, and Federico):

  • Computational Efficiency: In the Voltage Reference task, the new method reached optimal fitness in just 80,000 evaluations, a massive improvement over the 1.86 million required by previous approaches.
  • Design Compactness: The evolved Voltage Reference used only 15 components, significantly fewer than the 32-70 components found in other automated designs or the 29 components in a standard manual design.
  • Neuromorphic Innovation: The memristive pulse generator achieved high energy efficiency (1.53 nJ/pulse) using zero capacitors and only 10 transistors, compared to 25 transistors in manual designs. This highlights the ability of GP to discover non-obvious configurations for non-linear devices like memristors.

Conclusion and Future Directions

The shift from penalizing infeasible designs to repairing them proved crucial for maintaining population diversity and accelerating evolution. While the results are promising, future work will focus on incorporating "non-ideal" memristor models—accounting for cycle-to-cycle variation and retention—to ensure these evolved designs are ready for physical fabrication. Scaling the framework to handle large-scale, multi-stage systems remains the next frontier for automated analog design.

Summary updated

BibTeX
@article{shi2022novel,
  author = {Xinming Shi and Leandro L. Minku and Xin Yao},
  title = {{A novel tree-based representation for evolving analog circuits and its application to memristor-based pulse generation circuit}},
  journal = {Genet. Program. Evolvable Mach},
  year = {2022},
  doi = {10.1007/s10710-022-09436-w},
}
Figure