InvertersApartRecord

Two inverters where transistor models use different modelcard instances

Diagram

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

An inverter is an electrical circuit that consists of a PMOS and a NMOS. Its task is to turn the input voltage from high potential to low potential or the other way round. This circuit InverterApartModel contains two inverters. The input voltage of the first inverter is nearly equal to the output voltage of the second inverter. Capacities cause some differences.

To see the typical behavior of the circuit the input voltages and the output voltages should be plotted. Besides that it can be interesting to watch the output voltage of the first inverter. Simulated until t=5s.

Input voltages: vin.p.v and v.p.v

Output voltage of the first inverter: mn1.D.v

Output voltage of the second Inverter: mn2.D.v

This example shows one possibility to make the record of the technology parameters available for more than one transistor. For each transistor in the circuit a record with the technology parameters is made available as an instance of the record modelcardMOS. In this circuit we need two different records for technology parameters, one for PMOS (MPmos) and one for NMOS (MNmos). This instances of the record for the technology parameters were made available for every transistor as one of theirs parameters (Spice3.Repository.MOS mn1(mtype=0, modelcard=MNmos).

Parameters (2)

MPmos

Value:

Type: ModelcardMOS

Description: Specified modelcardMOS for MPmos

MNmos

Value:

Type: ModelcardMOS

Description: Specified modelcardMOS for MNmos

Components (11)

ground

Type: Ground

MPmos

Type: ModelcardMOS

Description: Specified modelcardMOS for MPmos

MNmos

Type: ModelcardMOS

Description: Specified modelcardMOS for MNmos

mp1

Type: M_PMOS

mn1

Type: M_NMOS

mp2

Type: M_PMOS

mn2

Type: M_NMOS

c1

Type: C_Capacitor

c2

Type: C_Capacitor

vin

Type: V_pulse

v

Type: V_pulse