Cmos Inverter Cicuit Using Pspice
Cmos Inverter Cicuit Using Pspice
Cmos Inverter Cicuit Using Pspice
The MOSFET models are located in the breakout.slb library, under the names Mbreakn (NMOS) and Mbreakp (PMOS). We now need to define the parameters of the MOSFETS: highlight the NMOS transistor and select Edit Model:
and enter appropriate values for the parameters. Here we have kn = 100 A/V2, Vt = 1.5 V, L = 1.5 m, and W = 2 m. Do the same for the PMOS transistor. Now we will do a DC sweep rather than an AC sweep. Choose Analysis Setup, then select DC Sweep. Sweep source V2 from 0V to 5V at 0.01V increments:
In the Graph window, choose Trace Add Trace, and add V(R1:1), the voltage at the load resistor:
and we have the voltage transfer function for the inverter. Lets look at the rise and fall times of the circuit. Change the input voltage source to a VPWL (piece-wise linear source). Double-click on the source, and enter the shape of the source voltage:
Have the source change from 0 V at 99.9 ns to 5 V at 100 ns, then from 5 V at 200 ns to 0 V at 200.1 ns. This will give a pulse input with a 0.1 ns rise time. Under Analysis Setup, choose Transient, and simulate the circuit. In the graph window plot V(R1:1):
and we can see the rise and fall times of the CMOS inverter.