Q_NPNBJT

Bipolar junction transistor

Information

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

The model Q_NPNBJT is a NPN bipolar junction transistor model: Modified Gummel-Poon.

The models from the package Semiconductors accesses to the package Internal where all functions,

records and data are stored and modeled that are needed for the semiconductor models.

The package Semiconductors is for user access but not the package Internal.

Parameters (15)

useSubstrateNode

Value: false

Type: Boolean

Description: =true, if SubstrateNode is enabled

TBJT

Value: 1

Type: Real

Description: Type of transistor (NPN=1, PNP=-1)

AREA

Value: 1.0

Type: Real

Description: Area factor

OFF

Value: false

Type: Boolean

Description: Optional initial condition: false - IC not used, true - IC used, not implemented yet

IC_VBE

Value: -1e40

Type: Voltage (V)

Description: Initial condition value (VBC, not implemented yet)

IC_VCE

Value: -1e40

Type: Voltage (V)

Description: Initial condition value (VBE, not implemented yet)

UIC

Value: false

Type: Boolean

Description: Use initial conditions: true, if initial condition is used

TEMP

Value: 27

Type: Temp_C (°C)

Description: Operating temperature of the device

SENS_AREA

Value: false

Type: Boolean

Description: Flag to request sensitivity WRT area, not implemented yet

modelcard

Value:

Type: ModelcardBJT2

Description: BJT modelcard

p

Value: Spice3.Internal.Bjt.bjtRenameParameters(modelcard, TBJT)

Type: BjtModelLineParams

Description: Model line parameters

dev

Value: Spice3.Internal.Bjt.bjtRenameParametersDev(AREA, OFF, IC_VBE, IC_VCE, UIC, SENS_AREA, TEMP)

Type: Bjt

Description: Renamed parameters

p1

Value: Spice3.Internal.Bjt.bjtModelLineInitEquations(p)

Type: BjtModelLineParams

Description: Model line variables

dev1

Value: Spice3.Internal.Bjt.bjtInitEquations(dev, p1)

Type: Bjt

Description: Precalculated parameters

c

Value: Spice3.Internal.Bjt.bjtCalcTempDependencies(dev1, p1)

Type: BjtCalc

Description: Precalculated parameters

Connectors (4)

S

Type: PositivePin

B

Type: PositivePin

Description: Base node

C

Type: PositivePin

Description: Collector node

E

Type: NegativePin

Description: Emitter node

Components (7)

modelcard

Type: ModelcardBJT2

Description: BJT modelcard

p

Type: BjtModelLineParams

Description: Model line parameters

dev

Type: Bjt

Description: Renamed parameters

p1

Type: BjtModelLineParams

Description: Model line variables

dev1

Type: Bjt

Description: Precalculated parameters

c

Type: BjtCalc

Description: Precalculated parameters

cc

Type: CurrentsCapacitances

Used in Examples (3)

Oscillator

Modelica.Electrical.Spice3.Examples

Oscillator circuit

Spice3BenchmarkDifferentialPair

Modelica.Electrical.Spice3.Examples

Simple differential pair

Spice3BenchmarkRtlInverter

Modelica.Electrical.Spice3.Examples

Simple RTL inverter

Used in Components (1)

NAND

Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder

.SUBCKT NAND 1 2 3 4