HAIT Journal of Science and Engineering B, Volume 2, Issues 3-4, pp. 476-495 Copyright C ° 2005 Holon Academic Institute of Technology Electronic circuit simulation with ideal switches Van˘ co Litovski, Milan Savi´c and ˘ Zeljko Mr ˘ carica Laboratory for Electronic Design Automation, Faculty of Electronic Engineering, University of Ni ˘ s, Beogradska 14, Ni ˘ s 18000, Serbia and Montenegro Corresponding author: msavic@elfak.ni.ac.yu Received 1 March 2005, accepted 5 July 2005 Abstract A recent model of an internally or externally controlled ideal switch is described. General nonperiodical switching is considered. No lim- itations regarding the circuit structure and complexity are imposed. Application to variety of electronic circuits is demonstrated. Special attention is paid to electronic power circuits such as switched power supplies and converters. Keywords: Electronics, power circuits, communication circuits, sim- ulation, switches. 1 Introduction Power electronic components (transistors, thyristors, and diodes) for con- venience are often modeled as switches. Instances of such models may be found in switched capacitor or switched-current networks, switched power supplies, mixed signal circuits such as A/D converters [1], etc. The ad- vantage of using ideal switches in circuit simulation is explained in [2]. To simplify, if nonideal models are used in a SPICE-like simulation, simulation of the resulting stisystem demands long simulation times. When switches are modeled as ideal, simulation for the switch transition is performed in one time instant, rather then as a step transition of voltages and currents. It 476