Download Full-Text PDF Cite this Publication

**Open Access**-
**Total Downloads**: 32 -
**Authors :**Ms. Trupti H.Nagrare , Dr. Ajay A. Gurjar -
**Paper ID :**IJERTV8IS050154 -
**Volume & Issue :**Volume 08, Issue 05 (May 2019) -
**Published (First Online):**11-05-2019 -
**ISSN (Online) :**2278-0181 -
**Publisher Name :**IJERT -
**License:**This work is licensed under a Creative Commons Attribution 4.0 International License

#### Modeling of Electronic Device Using CI Technique for Simulation

Modeling of Electronic Device Using CI Technique for Simulation

Ms. Trupti H.Nagrare

Research scholar, S.S.P.M. College of Engineering & Technology, Amravati, India

Dr. Ajay A. Gurjar Professor, Dept. of Electronics &

Telecommunication, S.S.P.M. College of Engineering & Technology, Amravati, India

Abstract: This paper presents modeling of devices, system, sub-system for any kind of field and providing the finding of developed optimization technique for simulation of bench mark circuits. The modeling can be adapted for any of device and system in general way but for this research work electronic devices and circuits under consideration. As day by day circuit complexity increases, proportionally simulation time will also increase. The proposed method is based on computational intelligence with backbone by artificial intelligence. The simulation is based upon mathematical model, and processing element consume the time for each fetch, decode and execute so if object under simulation process is complex it will took more time to process. In this regard the AI and CI modeling helps to process without going into direct mathematical modeling of the object. Obvious pre processing of data, data analysis and training required in the process. For the design and analysis software tools like C, python and MATLAB are used. The comparison of simulation time result table is shown for various circuits. It is found that CI and AI will help in simulation in future years.

KeywordsSimulation, Modeling, Computational Intelligence, Artificial intelligence, Optimization, Electronic devices.

INTRODUCTION

The circuit simulator is computer program which virtually realize the circuit behavior based on circuit elements mathematical model and there interconnection.

Most popular circuit simulator in earlier days was CANCER and SPICE program written in FORTON. These programs were able to simulate the all required linear and nonlinear circuit elements, poses the three analysis types DC, AC and Transient analysis.

DC analysis gives the dc operating point and it based on equilibrium condition. A matrix will form by applying the KVL and KCL according to elements and there connections, and solve it for the unknown voltage and current.

AC analysis is also called small signal ac analysis, slightly more complicates than dc analysis. AC analysis determines the small-signal solution of the circuit in sinusoidal steady-state. The equations for a linear ac analysis are assembled by the

same method that is used for dc analysis except the course, that the circuit equations are complex for ac analysis. Usually, the value that is assigned to a particular source is different for dc analysis than for ac analysis.

The implementation of ac analysis capabilities in a simulation program is similar to the implementation of the dc analysis, the circuit equations in an analysis are of course complex. However, the same formulation and linear solution algorithm that are used for dc analysis may be used for ac analysis. Moreover no new methods are required to implement the small signal analysis.

Transient analysis determines the time-domain response of the circuit over a specific time interval (0,t).The initially time point arbitrarily is defined as time zero. The initial solution either specified by the user or more conveniently is determined by a dc operating point analysis.

Computer simulation of an electronics circuit involves the numerical analysis mathematical model of the circuit. The solution of these equations, for specified special case, simulates the specified electrical characteristics of the circuit. The number of model parameters for semiconductor devices is gradually increases as technology advances and result in more computation overheads.

The modeling of such complex devices or system can optimize the computation overheads by computational intelligence with backbone of artificial intelligence.

PROPOSED WORK

In circuit, all linear and non linear components are connected in well fashion for particular application. In circuit simulation, the process starts with formalization of circuit matrix based on component interconnection and the type of analysis for which it is going to process. After the normalization of matrix, simulator places the component model parameters into the matrix and according to the working region of device it reformulates the matrix and its equations. This process is continuing until the simulation completed. The simulator solve the matrix based on model parameters and device model equations, this is the normal process in simulator. And day by day the model parameters of the device getting increase in number in its model equations

for more close approximation. Here the propose research work gives the method in which it first formulate the table between input and output of the device under consideration. This table is use in artificial intelligence to train, test and validate the output. The process of training the network or system is an iterative process and need proper setting of network parameters.

The advantage of doing the modeling for the devices in circuit simulation process is that the result of formulated equations which was initially outcome of direct equation solving process which may took large time due to involvement of the number of model parameters and its model equations variations in particular region of operation of that device under its electrical parameters across it. Artificial intelligence completely replaces the direct equation calculation for particular region of operation of the device, so it become fast in natural way than the earlier one.

Again the process of database for table formalization can be optimize using the down sample the values before the training process which farther helps in making fast and light AI model for the device. The AI process is continues and not region based of device which also helps in reduction of cost. The AI process reduces the variables used in the computation process which indirectly save the memory resources as well. The AI also helps in constrain range problem due to predication mechanism.

CIRCUIT SIMULATION

Circuit simulation programs have almost completely replaced the traditional breadboard or fabrication and testing of integrated circuits as means of verifying design acceptability. In fact, a breadboard may give results which have small resemblance to the manufactured circuit performances due to the completely different nature of parasitic components. Fabrication and testing of an integrated circuit for verifying a design is very expensive and time consuming. Moreover, extensive probing is not possible and modification of circuit components to determine a better design is practically unfeasible. On the other hand, circuit simulators such as SPICE [18] and ASTAP [19] give very accurate prediction of circuit performances and provide information impossible to obtain from laboratory measurements. As a measure of the use of circuit simulators we offer the following data:

At a major IC house SPICE is run about 10000 times per month.

At the University of California, Berkeley, SPICE is accessed about 60000 times per year.

At IBM East Fishkill facility during December 1977 more than 150 ASTAP jobs per working day were submitted and about 40 hours per working day of CPU of IBM 370/168 were spent for ASTAP runs.

Even though circuits with hundreds of active devices are commonly simulated, circuitsimulators are too expensive at present to perform the analysis of a complete VLSI circuit containing more than ten thousand devices (at Bell Laboratories a circuit with 3000 active devices has been analyzed on a CRAY computer in 1/3 of an hour). However circuit simulators still find their application in VLSI circuit design when analog voltage levels are important to verify a design of a part of the entire circuit or when tightly coupled feedback loops need to be taken into account.

Basically the simulation is the process of evaluating the model equations which is based on theoretical concept, which later on lead to sequential program which runs on sequential machine, which took some machine cycles to complete its task, and the time need to complete its task is depend on how much complex task is given? While performing such simulations it consumes computer resources, so more complex equations means more computer resources. Hence it is now the need to reduce the use of resources and increase the speed of operation in simulations[3].

SPICE CIRCUIT SIMULATION

In 1972 SPICE circuit simulator was develop by Laurence W. Nagel in Electronics Research Laboratory at University of California, Berkeley. From the development the simulator was so widely used in various universities and in electronics companies. SPICE is a computer program which is used asan electronic circuit simulator. The simulator calculates the quiescent operating point, the time domain response of the circuit, and frequency domain analysis for small circuits. The SPICE program was used by IBM, Honeywell, UNIVAC, RCA and PDP computer systems. The input syntax is a free format style in which it is require to enter data in fixed column format. It need to supply some reasonable circuit parameters and simulation control to get the simulation results.

It also performs a considerable amount of error-checking to ensure that the circuit has been entered correctly. A beginning user needs to specify a minimal number of circuit parameters and simulation controls to obtain reasonable simulation results.

MOSFET MODELING

Circuit simulation using MOSFET device model is done in MATLAB and in SPICE in various circuits. MOSFET is the basic of various devices as well as circuits in IC design so in this work focus is given for the modeling of MOSFET. To model the device it is necessary to understand the characteristics of it.

MOSFET Characteristics

Metal-oxide semiconductor field effect transistors (MOSFETs) normally have high input resistance because of the oxide insulation between the gate and the channel. There are two types of MOSFETs: the enhancement type and the depletion type. In the enhancement type, the channel between the source and drain has to be induced by applying a voltage at the gate. In the depletion-type MOSFET, the structure of the device is such that there exists a channel between the source and drain. Because the enhancement-type MOSFET is widely used, the consideration of MOSFET in this section will be done using the enhancement-type MOSFET.

The voltage needed to create the channel between the source and drain is called the threshold voltage VT. For an n-channel enhancement MOSFET, VT is positive and for a p-channel device, it is negative.

Depending on the voltage applied to MOSFETs, it can operate in three modes: cut-off, triode, and saturation regions. The following is a short description of the three regions of operation.

Cut-off Region:

For an n-channel MOSFET, if the gate-source voltage VGS satisfies the condition

VGS <VT (10)

then the device is cut off. This implies that the drain current is zero for all values of the drain-to-source voltage.

Triode Region:

When VGS, VT and VDS is small, the MOSFET will be in the triode region. In this region, the device behaves as nonlinear voltage-controlled resistance. The drain current ID is related to drain-source voltage VDS by

= [2( ) 2 ](1 + ) (11) provided that

VDS VGS VT (12)

Where

L is the length of the channel W is the width of the channel

X is the channel width modulation factor Saturation Region:

If VGS> VT, a MOSFET operate in the saturation region provided

VDS VGS VT (14)

In the saturation region, the current-voltage characteristics are given as

= ( )2(1 + ) (15)

The transconductance is given as:

(16)

Figure 2- Circuit for obtaining characteristics of MOSFET

and the incremented drain-to-source resistance rDS is given as

(17)

The following example obtains the ID vs. VGS characteristics of a MOSFET shown in figure 4.

MOSFET modeling

MOSFET modeling is done in MATLAB and training is given using ANFIS. To create training data MOSFET model is run in MATLAB and creates data. This data is then used for training of ANFIS.

figure 3 shows the VI characteristics of MOSFET modeling, having different regions of operation depending upon the input VGS

Results shows V-I characteristics of MOSFET with AI in

= =

) (13)

figure 4.

and

2

(

2

Âµn is the surface mobility of electrons

is the permittivity of free space (8.85 x 10-12 F/cm) ox is the dielectric constant of SiO2

tox is the oxide thickness

Figure 3- V-I characteristics of MOSFET

Figure 4- V-I characteristics of MOSFET with ANFIS

To show the benefit of proposed model, we simulate some frequently use circuits in simulator. Comparison of output is done in SPICE for both model.

RESULTS AND DISCUSSION

CMOS inverter:-

CMOS inverter is design using two transistor NMOS and PMOS connected in a complimentary push/ pull configuration. Input is given by connecting gates of both MOSFET and output is taken by connecting drains of both as shown in figure 5.

CMOS model and ANFIS CMOS model shows in the result in figure 6.

Figure 6 – Output comparison of CMOS Inverter model

Nand Gate:-

Once the basic pseudo nMOS inverter is designed, other logic gates can be derived from it. The procedure is the same as that for CMOS, except that it is applied only to nMOS transistors. NAND gates can be implemented using CMOS logic shown if figure 7. It has two inputs and one output. Its code and waveforms given below in figure 8.

Figure 5 CMOS inverter

Simulation of CMOS is done using nmos and pmos implemented model in SPICE. Comparison of actual SPICE

Figure 7: NandGate using CMOS model

.model n1 nmos

.model p1 pmos

vdd 3 0 1v

*vss 0 0 0v

M1 3 2 1 3 p1 w=7.5u l=0.35u pd =13.5u ad=22.5p ps=13.5u as=22.5p

M2 3 4 1 3 p1 w=7.5u l=0.35u pd =13.5u ad=22.5p ps=13.5u as=22.5p

M3 1 2 5 0 n1 w=5u l=0.35u pd=9u ad=9p ps=9u as=9p

M4 5 4 0 0 n1 w=5u l=0.35u pd=9u ad=9p ps=9u as=9p

VA 2 0 pulse(1 0 0 0 0 20ns 40ns)

VB 4 0 pulse(1 0 0 0 0 40ns 80ns)

*cl 1 0 0.1f

*.option acct

*.tran 10ps 80ns

*.print tranv(2) v(4) v(1)

.control

tran 1ps 80ns pre_setstrict_errorhandling unset ngdebug

run display

*set xbrushwidth=1.9

plot v(2)+10 v(4)+8 v(1)+6

wrdatanandgate1_nodeval.txt v(2) v(4) v(1)

acct rusags all > nandgate1_rusags.txt mrdump nandgate1_rhs_matrix.txt mdump nandgate1_lhs_matrix.txt write andgate1_rdata.raw all

.endc

.end

Figure 8: Nand Gate output without CI

Figure 9: Nand Gate output with ANN

Figure 10: Nand Gate output with ANFIS

Nandgate & NOR gate rusage: result of simulation

td>

1332.19MB

Ruses parameters

NAND GATE

NOR GATE

Total elapsed time:

5.039 sec

0.634 sec

Total DRAM available

2012.36MB.

2012.36MB

DRAM currently available

1316.0MB.

Total ngspice program size

14.53MB.

7.39MB

Number of lines in the deck

18

18

Netlist loading time

0

0

Netlist parsing time

-2.24E-19

7.75E-01

Nominal temperature

27

27

Ruses parameters

NAND GATE

NOR GATE

Total elapsed time:

5.039 sec

0.634 sec

Total DRAM available

2012.36MB.

2012.36MB

DRAM currently available

1316.0MB.

1332.19MB

Total ngspice program size

14.53MB.

7.39MB

Number of lines in the deck

18

18

Netlist loading time

0

0

Netlist parsing time

-2.24E-19

7.75E-01

Nominal temperature

27

27

Operating temperature

27

27

Total iterations

220149

16147

Transient iterations

220137

16140

Circuit Equations

9

9

Circuit original non-zeroes

27

29

Circuit fill-in non-zeroes

0

0

Circuit total non-zeroes

27

29

Transient timepoints

80035

80035

Accepted timepoints

80035

80035

Rejected timepoints

0

0

Total analysis time

1.918

0.203

Matrix load time

0.705

0.048

Matrix synchronize time

0

0

Matrix reorder time

-2.60E-17

1.76E-01

Matrix factor time

0.047

-8.53E-01

Matrix solve time

0.048

-8.53E-01

Transient analysis time

1.872

0.171

Transient load time

0.705

0.046

Transient sync time

0

0

Transient factor time

0.047

-8.53E-01

Transient solve time

0.048

-8.53E-01

Transient trunc time

0.156

0.013

Transient iters per point

0

0sS

Operating temperature

27

27

Total iterations

220149

16147

Transient iterations

220137

16140

Circuit Equations

9

9

Circuit original non-zeroes

27

29

Circuit fill-in non-zeroes

0

0

Circuit total non-zeroes

27

29

Transient timepoints

80035

80035

Accepted timepoints

80035

80035

Rejected timepoints

0

0

Total analysis time

1.918

0.203

Matrix load time

0.705

0.048

Matrix synchronize time

0

0

Matrix reorder time

-2.60E-17

1.76E-01

Matrix factor time

0.047

-8.53E-01

Matrix solve time

0.048

-8.53E-01

Transient analysis time

1.872

0.171

Transient load time

0.705

0.046

Transient sync time

0

0

Transient factor time

0.047

-8.53E-01

Transient solve time

0.048

-8.53E-01

Transient trunc time

0.156

0.013

Transient iters per point

0

0sS

The table 1 gives the comparison of time required for simulation in NGSPICE using previous model and new design CI model. Above results show that time required for simulation of circuits using CI model is less as compared to previous models. It also shows error between both outputs which is very less.

250

200

150

100

50

0

10

8

6

4

2

0

Other circuits also were implemented using the same model and their performances were comparing and it is given in table. It shows the number of transistors in the circuit, total elapse time required for circuit simulation.

Table 1- Elapse Time Comparison of output of various electronic 6

circuits 5

Name of circuit

No. of transistor

Total elapse Time without CI

Total elapse Time with CI

MSE

Ai_inv

02

3.370

2.290

0.0062

Nand Gate

04

5.039

3.475

0.0043

Norgate

04

0.624

0.425

0.0048

OR gate

06

5.008

3.255

0.0092

AND-OR

inverter

06

0.234

0.172

0.0122

Decoder

34

1.607

1.044

0.0052

Differential Pair

04

0.780

0.517

0.0034

Full Adder

27

2.090

1.358

0.0078

amux

10

0.954

0.620

0.0062

fsm

126

2.792

1.414

0.0088

AND gate

06

8.187

5.321

0.0076

Adder

232

9.141

5.641

0.0098

Half Adder

14

0.952

0.618

0.0056

Counter

96

1.529

0.893

0.0067

Name of circuit

No. of transistor

Total elapse Time without CI

Total elapse Time with CI

MSE

Ai_inv

02

3.370

2.290

0.0062

Nand Gate

04

5.039

3.475

0.0043

Norgate

04

0.624

0.425

0.0048

OR gate

06

5.008

3.255

0.0092

AND-OR

inverter

06

0.234

0.172

0.0122

Decoder

34

1.607

1.044

0.0052

Differential Pair

04

0.780

0.517

0.0034

Full Adder

27

2.090

1.358

0.0078

amux

10

0.954

0.620

0.0062

fsm

126

2.792

1.414

0.0088

AND gate

06

8.187

5.321

0.0076

Adder

232

9.141

5.641

0.0098

Half Adder

14

0.952

0.618

0.0056

Counter

96

1.529

0.893

0.0067

4

3

2

1

0

8

6

4

2

0

0.014

0.012

0.01

0.008

0.006

0.004

0.002

0

Total elapse Time without CI Total elapse Time with CI

CONCLUSION

can be used in simulation for improving the time complexity and optimization of simulators.

References

Jang J. S. R., ANFIS: Adaptive-network-based fuzzy inference systems, IEEE Trans. on Systems, Man, and Cybernetics, Vol. 23, Issue no. 3, 1993, pp. 665-685.

J.S.R. Jang, C.T. Sun. Neuro-fuzzy modeling and control, Proc. of the IEEE, Vol. 83, Issue no.3, 1995, pp. 378-406.

A.H. Ahmed, Shen J., Al-Hmouz R.,Yan J., Modelling and Simulation of an Adaptive Neuro-Fuzzy Inference System (ANFIS) for Mobile Learning, IEEE Trans. on Learning Technologies, Vol. 5, Issue. No. 3, 2010, pp. 226-237.

Saldana H.J.B., Cardenas C.S., Design and implementation of an adaptive neuro fuzzy inference system on an FPGA used for nonlinear function generation, IEEE ANDESCON, 2010, pp. 1-5.

Saldana H.J.B., Cardenas C.S., A digital architecture for a three input one output zero-order ANFIS, IEEE Third Latin American Symposium on Circuits and Systems (LASCAS), 2012, pp. 1-4.

M. Hayati, M. Seifi, and A. Rezaei, The Computational Intelligence in Simulation of DG MOSFET: Application to the Simulation of the Nanoscale COMS Circuit, ICSE Proc., Johor Bahru, Malaysia, 2008 , pp. 138-142.

S.L. Chiu, Fuzzy Model Identification Based on Cluster Estimation, J.

Intelligent and Fuzzy Systems, vol. 2, 1994, pp. 267-278

P. Mitra, S. Maulik, S.P. Chowdhury, S. Chowdhury, ANFIS Based Automatic Voltage Regulator with Hybrid Learning Algorithm, International Journal of Innovations in Energy Systems and Power, pp. 397-401, 2007.

S. N. Engin, J. Kuvilmaz, V. E. Omurlu. Fuzzy control of an ANFIS model representing a nonlinear liquid-level system, NeuralComputing Applications, no. 13, pp. 202-210, 2004.

J. Zhai, J. Zhou, L. Zhang, J. Zhao, W. Hong. "ANFIS implementation in FPGA for power amplifier linearization with digital predistortion", IEEE Transactions on Microwave and Millimeter Wave Technology, pp. 1474-1476, 2008.

A. Aldair, W. Wang. FPGA Based Adaptive Neuro Fuzzy Inference Controller for Full Vehicle Nonlinear Active Suspension Systems, International Journal of Artificial Intelligence & Applications (IJAIA),

The focus of work in this paper is on modeling and

optimization of simulation by using various parameters of computational intelligence(ANFIS). From study of various works mention in this paper, it is observed that devices can be modeled in various method which gives better simulation in terms of time complexity. This work will give new dimension to the optimization and simulation techniques in any field like electrical, mechanical, civil areas. In this paper emphasis is given on modeling of MOSFET device using ANFIS and SPICE is done, and it is compared in SPICE with neural network. With this study it can be conclude that ANFIS gives excellent simulation results which can be implement in AISPICE simulation. Thus it can be used in various simulators.

In todays world of optimization, it is necessary to work on reducing the overload of circuit simulation. This works shows that the MOSFET model design using computational intelligence (ANFIS) gives same result as with SPICE model but reduces the circuit simulation time. The model which is developed in this work is simple to design, more accurate and also faster. The designed CI model is used in NGSPICE and it is compared with previous simulation model, this comparisons shows that the results of both are nearly same with least error and same accuracy. This result shows that with CI model the simulation time of all circuits were reduced by 40-45% than the regular model. So we can conclude that the CI techniques

Vol.1, No.4, 2010.

S. Aminifar, M. Daneshwar, G. Yosefi, S. Neda, S. Bookani, Bipolar Transistor Modeling with Fuzzy Systems and ANFIS, American Journal of Scientific Research, ISSN 1450-223X Issue 60(2012), pp 29- 38.

H. Aghababa , Behzad, Mehdi , G4-FET modeling for circuit simulation by adaptive neuro-fuzzy training system, IEICE Electronic Express , vol. 9, No. 10, 881-887.

Manuel Laguna & Rafael Marti, Neural network prediction in a system for optimizing simulations, IIE Transactions 2002 34, 273-282.

M. Hayati, A. Rezaei and M. Seifi, CNT-MOSFET Modelling Based on Artificial Neural Network: Application to Simulation of Nanoscale circuits, Solid-State Electronics, Vol.54, No.1, pp.5257, Oct 2010.

Roya Abdollahzadeh Badelbo1, Fardad Farokhi2 and Alireza Kashaniniya, Efficient Parameters Selection for CNTFET Modelling Using Artificial Neural Networks, International Journal of Smart Electrical Engineering, Vol.2, No.4, Fall 2013, pp.217:222, ISSN: 2251-9246

Trupti H Nagrare, AA Gurjar, Adaptive neuro fuzzy inference system for modeling of electronics devices: A review, in Innovations in Power and Advanced Computing Technologies (i-PACT), 2017, pp 1-4

Hanene Ben Hammouda, Mongia Mhiri, ZiÃ¨d Gafsi and Kamel Besbes, Neural-Based Models of Semiconductor Devices for SPICE Simulator, American Journal of Applied Sciences 5 (4): 385-391, 2008

Laurence Nagel, SPICE2-A Computer program to simulate semiconductor circuits, Electronics Research laboratory , University of california, 1975

ThomasQuarles, Analysis of performance and convergence Issues of circuit simulation, Electronics Research laboratory,University of california, 1989

Ngspice user manual, Holger Vogt, Marcel Hendrix, Paolo Nenzi, Dec 2017

Lazaro, M., I. Santamaria, C. Pantaleon, C.Navarro, A et al. 2000. A modular neural network for global modeling of microwave transistors Proc.Int. Joint Conf on Neural Net.4: 389-394.

Jacob Baker, R, 2005. CMOS circuit design, layout, and simulation.

IEEE press Wiley Interscience, pp: 131-161

Neil, H.E. Weste, E. Kamran, 1985. Principles of CMOS VLSI design, a system perspective. Addison-Wesley publishing company

Narayanaswamy, Shankar, SPICE3 Pulse-Voltage-Source modeling, EECS 199 Project Report, U.C. Berkeley, Berkeley, Ca. (anuary 1987).

Statz, Hermann, Newman, Paul, Smith, M W., Pucel, Robert A, and Haus, Hermann A., GaAs FET Device and Circuit Simulation in

SPICE, IEEE Transactions on Electron Devices ED-34, Number 2 pp. 160-169 (February, 1987).

G. D. Hachtel, R. K. Brayton, and F. G. Gustayson, "The Sparse Tableau Approach to Network Analysis and Design," IEEE Trans. on Circuit Theory, vol. CT-18, January 1971, pp. 101-118

F.S. Jenkins, E. R. Lane, W. W. Lattin, and W. S. Richardson, "MOS- Device Modeling for Computer Implementation," IEEE Trans. on Circuit Theory, vol. CT-20, November 1973, pp. 649-658