Sub topic 18
Where Dependent Sources Appear: Amplifier and Transistor Models
This chapter assumes you can classify the four controlled source types (VCVS, VCCS, CCVS, CCCS) and write nodal equations. It shows where those sources occur in real models and how SPICE netlists describe them.
Dependent sources in device models
Amplifiers and transistors are not simple two-terminal parts. Their output depends on a voltage or current somewhere else in the circuit, so circuit models represent them with dependent sources.
- Op-amp: A simple linear model is a VCVS. The output is
A * (v+ - v-), with A often 100,000 or more. Placing a finite input resistor on the input side and a series output resistor makes the model more realistic. - BJT small-signal model: The collector current is modeled as a VCCS,
gm * vbe, in parallel with an output resistance. The same current can be written as a CCCS,beta * ib. Both forms describe the same device. They differ only in the controlling variable. - MOSFET small-signal model: The drain current is a VCCS,
gm * vgs. The gate draws no current, so there is no input branch. - Transresistance amplifier: A CCVS,
rm * i, models an amplifier that turns an input current into an output voltage.
The source does not supply energy by itself. In a real device, the bias supply provides the power. The dependent source only captures the relationship between the controlling quantity and the output.
Describing sources in SPICE netlists
Each SPICE element begins with a letter that gives its type. Node order sets the polarity.
| Element | Meaning | Line format |
|---|---|---|
| `V` | Independent voltage source | `V1 n+ n- DC value` |
| `I` | Independent current source | `I1 from to DC value` |
| `E` | VCVS | `E1 out+ out- ctrl+ ctrl- gain` |
| `G` | VCCS | `G1 from to ctrl+ ctrl- gm` |
| `H` | CCVS | `H1 out+ out- Vname rm` |
| `F` | CCCS | `F1 from to Vname gain` |
For I, G and F, the positive current flows from the first node, through the source, to the second node. A VCCS small-signal transistor model could therefore be G1 c e b e 40m, which gives gm = 40 mS.
The first example is a VCVS with gain 5. The simulation reports v(out) = 5 V, because v(in) = 1 V.
* Voltage-controlled voltage source (VCVS) with gain 5
V1 in 0 DC 1
R1 in 0 1k
E1 out 0 in 0 5
RL out 0 1k
.op
.endCurrent-controlled sources (F and H) cannot sense a current directly. They need the name of a voltage source that the current passes through. If no such source exists in the circuit, insert a 0 V source, as Vsense does below.
* Current-controlled current source (CCCS) with gain 3
V1 in 0 DC 1
Vsense in n1 DC 0
R1 n1 0 1k
F1 0 out Vsense 3
RL out 0 1k
.op
.endBy hand, I(R1) = 1 V / 1 kΩ = 1 mA. The source pushes 3 mA into out, so v(out) = 3 mA × 1 kΩ = 3 V. Compare this value with the simulation. A mismatch usually means the node order or the sense direction is wrong.
Exercise
Write the netlist line for a VCCS that draws current gm * v(in) out of node out and into ground, with gm = 2 mS and v(in) measured against ground.
Show answer
G1 out 0 in 0 2m. Positive current flows from the first node (out), through the source, to the second node (0), so the source pulls current out of out.