Enhancing AI-Inspired Analog Circuit Design: Optimizing Component Sizes with the Firefly Algorithm and Binary Firefly Algorithm

Authors

DOI:

https://doi.org/10.4108/eetinis.v12i2.7859

Keywords:

Firefly Algorithm, Binary Firefly Algorithm, simulation-based optimization method, two-stage op-amp

Abstract

This paper explores the use of the Firefly Algorithm (FA) and its binary variant (BFA) in optimizing analog circuit component sizing, specifically as a case study for a two-stage operational amplifier (op-amp) designed with a 65nm CMOS process. Recognizing the limitations of traditional optimization approaches in handling complex analog design requirements, this study implements both FA and BFA to enhance convergence speed and accuracy within multi-dimensional search spaces. The Python-Spectre framework in this paper
facilitates automatic, iterative simulation and data collection, driving the optimization process. Through extensive benchmarking, the BFA outperformed traditional FA, balancing exploration and exploitation while achieving superior design outcomes across key parameters such as voltage gain, phase margin, and unity-gain bandwidth. Comparative analysis with existing optimization methods, including Particle Swarm Optimization (PSO) and Genetic Algorithm (GA), underscores the efficiency and accuracy of BFA in optimizing circuit metrics, particularly in power-constrained environments. This study demonstrates the potential of swarm intelligence in advancing automatic analog design and establishes a foundation for future enhancements in analog circuit automation.

Downloads

Download data is not yet available.

References

[1] Lberni, A., Marktani, M.A., Ahaitouf, A. and Ahaitouf, A. (2024) Analog circuit sizing based on evolutionary algorithms and deep learning. Expert Systems with Applications 237: 121480. doi:10.1016/j.eswa.2023.121480.

[2] Girardi, A., De-Oliveira, T., Ghissoni, S., Aguirre, P.C. and Compassi-Severo, L. (2022) A comprehensive review on automation-based sizing techniques for analog ic design. Journal of Integrated Circuits and Systems 17: 1–14. doi:10.29292/jics.v17i3.642.

[3] Liu, B., Wang, Y., Yu, Z., Liu, L., Li, M., Wang, Z., Lu, J. et al. (2009) Analog circuit optimization system based on hybrid evolutionary algorithms. Integration 42(2): 137–148. doi:10.1016/j.vlsi.2008.04.003.

[4] Nguyen, H.T. and Hoang, T. (2023) A novel framework of genetic algorithm and spectre to optimize delay and power consumption in designing dynamic comparators. Electronics 12(16). doi:10.3390/electronics12163392.

[5] Lahoz-Beltra, R. (2016) Quantum genetic algorithms for computer scientists. Computers 5(4).

[6] Liu, Z., Li, X., Jiang, J. and Wang, S. (2016) A novel improved quantum genetic algorithm for robot coalition problem. In 2016 IEEE International Conference on Information and Automation (ICIA): 2061–2064. doi:10.1109/ICInfA.2016.7832159.

[7] Prajapati, P.P. and Shah, M.V. (2015) Two stage cmos operational amplifier design using particle swarm optimization algorithm. In 2015 IEEE UP Section Conference on Electrical Computer and Electronics (UPCON): 1–5. doi:10.1109/UPCON.2015.7456700.

[8] Rashid, R. and Nambath, N. (2022) Area optimisation of two stage miller compensated op-amp in 65 nm using hybrid pso. IEEE Transactions on Circuits and Systems II: Express Briefs 69(1): 199–203. doi:10.1109/TCSII.2021.3089937.

[9] Hoang, T., Quoc, T.N., Zhang, L. and Duong, T.Q. (2023) Novel methods for improved particle swarm optimization in designing the bandgap reference circuit. IEEE Access 11: 139964–139978. doi:10.1109/ACCESS.2023.3341492.

[10] Barra, S., Dendouga, A., Kouda, S. and Bouguechal, N.E. (2012) Multi-objective genetic algorithm optimization of cmos operational amplifiers. In 2012 24th International Conference on Microelectronics (ICM): 1–4. doi:10.1109/ICM.2012.6471451.

[11] Jafari, A., Zekri, M., Sadri, S. and Mallahzadeh, A. (2010) Design of analog integrated circuits by using genetic algorithm. In 2010 Second International Conference on Computer Engineering and Applications, 1: 578–581. doi:10.1109/ICCEA.2010.118.

[12] Hoang, T., Thang, N. and Phan-Tran-Minh, H. (2024) Novel ga-ocean framework for automatically designing the charge-pump circuit. IEEJ Transactions on Electrical and Electronic Engineering 19. doi:10.1002/tee.24129.

[13] Wolpert, D. and Macready, W. (1997) No free lunch theorems for optimization. IEEE Transactions on Evolutionary Computation 1(1): 67–82. doi:10.1109/4235.585893.

[14] Fister, I., Fister, I., Yang, X.S. and Brest, J. (2013) A comprehensive review of firefly algorithms. Swarm and Evolutionary Computation 13: 34–46. doi:https://doi.org/10.1016/j.swevo.2013.06.001.

[15] Yang, X.S. (2010) Nature-Inspired Metaheuristic Algorithms (Luniver Press).

[16] Yang, X. (2018) Optimization Techniques and Applications with Examples (Wiley).

[17] Li, Y., Wang, Y., Li, Y., Zhou, R. and Lin, Z. (2020) An artificial neural network assisted optimization system for analog design space exploration. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 39(10): 2640–2653. doi:10.1109/TCAD.2019.2961322.

[18] Budak, A., Bhansali, P., Liu, B., Sun, N., Pan, D. and Kashyap, C. (2021) Dnn-opt: An rl inspired optimization for analog circuit sizing using deep neural networks. In 58th Design Automation Conference (DAC 2021). doi:10.48550/arXiv.2110.00211.

[19] Yoshizawa, H. (2015) An improved figure-of-merit equation for op-amp evaluation. IEICE Electron. Express 12: 20150533.

[20] Razavi, B. (2017) Design of Analog CMOS Integrated Circuits (New York: McGraw-Hill), 2nd ed

Downloads

Published

08-01-2025

How to Cite

Hoang, T. (2025). Enhancing AI-Inspired Analog Circuit Design: Optimizing Component Sizes with the Firefly Algorithm and Binary Firefly Algorithm. EAI Endorsed Transactions on Industrial Networks and Intelligent Systems, 12(2). https://doi.org/10.4108/eetinis.v12i2.7859