A Circuit Simulation System Based on SPICE Secondary Development

Yan-ming YANG, Wan-chun GAO, Yang GAO
2017 DEStech Transactions on Engineering and Technology Research  
A novel scheme that uses the SPICE (Simulation Program with Integrated Circuit Emphasis) simulation program as a behavioral modeling language in designing the simulation system of electronic circuit experiment is presented. In the proposed method, SPICE, being redeveloped by transformation and expansion, is used for simulating model and imbedded in the multimedia interface with DLL (dynamic link libraries) files, which succeeds in solving integration of simulation technology and multimedia
more » ... ology. In the paper, an application example is also given. Test results show that the system achieves excellent performance in designability, arbitrariness of operation and interaction with sense of reality, which makes users operate it with great interest just like doing real experiments and gains good effect in experimental teaching. The Secondary Development of SPICE and Simulation Design The Function Analysis of SPICE SPICE (Simulation Program with Integrated Circuit Emphasis) is a general-purpose circuit simulation program for nonlinear DC, nonlinear transient, and linear AC analyses. Circuits may contain resistors, capacitors, inductors, mutual inductors, independent voltage and current sources, four types of dependent sources, lossless and lossy transmission lines, switches, uniform distributed RC lines, and the five most common semiconductor devices: diodes, BJTs, JFETs, MESFETs, and MOSFETs. As an early open source program, SPICE was widely distributed and used[1]. DC Analysis. The DC analysis portion of SPICE determines the DC operating point of the circuit with inductors shorted and capacitors opened. The DC analysis options are specified on the .DC, .TF, and .OP control lines. A DC analysis is automatically performed prior to a transient analysis to determine the transient initial conditions, and prior to an AC small-signal analysis to determine the linearized, small-signal models for nonlinear devices. If requested, the DC small-signal value of a transfer function, input resistance, and output resistance is also computed as a part of the DC solution. AC Small-Signal Analysis. The AC small-signal portion of SPICE computes the AC output variables as a function of frequency. The program first computes the DC operating point of the circuit and determines linearized, small-signal models for all of the nonlinear devices in the circuit. The
doi:10.12783/dtetr/iceea2016/6654 fatcat:vzrgqkfc2jb3dn6pp4dyvd4ffa