Sub topic 10
Dependent Sources in Nodal Analysis
This chapter assumes you can already write KCL equations, build the matrix form G v = i, and handle independent sources. A dependent source adds one step: you rewrite its controlling variable in terms of node voltages before you solve.
What a dependent source changes
A dependent source has a value set by a voltage or current somewhere else in the circuit. There are four types.
| Type | Output | Controlled by | Gain unit |
|---|---|---|---|
| VCCS | current | a voltage | siemens (A/V) |
| CCCS | current | a current | dimensionless |
| VCVS | voltage | a voltage | dimensionless |
| CCVS | voltage | a current | ohm (V/A) |
The rule is the same for all four: express the controlling variable using node voltages, then treat the source like an ordinary source. A dependent current source goes into the KCL equations. A dependent voltage source is handled like an independent one, as a known node voltage if grounded or as a supernode if floating.
Procedure
Worked example: a VCCS
Take the circuit from the earlier chapters. A 2 A source feeds node 1. R1 = 4 Ω runs from node 1 to ground, R2 = 2 Ω from node 1 to node 2, and R3 = 6 Ω from node 2 to ground. Now add a dependent current source that pushes 0.25·V1 amperes into node 2. Its gain is 0.25 S, and V1 is its controlling voltage.
KCL at node 1, with currents leaving the node on the left:
(1/4 + 1/2) V1 − (1/2) V2 = 2
KCL at node 2:
−(1/2) V1 + (1/2 + 1/6) V2 = 0.25 V1
The dependent term 0.25 V1 contains an unknown, so it cannot stay on the right side. Move it left:
−0.75 V1 + (2/3) V2 = 0
The system is now G v = i with a changed matrix:
G = [[0.75, −0.5], [−0.75, 2/3]], i = [2, 0]
import numpy as np
G = np.array([[0.75, -0.5],
[-0.75, 2/3]])
i = np.array([2.0, 0.0])
v = np.linalg.solve(G, i)
print(v) # about [10.6667 12.]So V1 = 32/3 V and V2 = 12 V. Check KCL at node 2. The resistors carry (12 − 10.667)/2 + 12/6 = 0.667 + 2 = 2.667 A away from the node, and the source supplies 0.25 × 10.667 = 2.667 A. The currents balance.
Controlled by a current
If the controlling variable is a branch current, write it with Ohm's law. For example, if Ix flows through R2 from node 1 to node 2, then Ix = (V1 − V2)/R2. Substitute this expression into the source and collect terms as before. A CCVS or VCVS adds a voltage constraint. For a floating one, use a supernode and add its constraint equation, for example V2 − V1 = 5·Ix.
Common errors
- Leaving the controlling variable as a symbol such as Ix. The system then has more unknowns than equations.
- Forgetting to move the dependent term to the left, so the unknown ends up in the i vector.
- Getting the direction wrong. A source that pushes current into a node adds to that node's right side, or subtracts from the left once moved.
- Choosing a gain that makes G singular. If the gain in the example were 0.5 S instead of 0.25 S, the equations would collapse to 0 = 2 and have no solution.
Exercise
Replace the dependent source in the example with a CCCS that pushes 0.5·Ix into node 2, where Ix = (V1 − V2)/2 flows through R2 from node 1 to node 2. The independent 2 A source and the resistors stay the same. Find V1 and V2.
Show answer
KCL at node 2 gives −0.5 V1 + (2/3) V2 = 0.5·(V1 − V2)/2 = 0.25 V1 − 0.25 V2. Moving terms left gives −0.75 V1 + (11/12) V2 = 0, so V2 = (9/11) V1. Node 1 is unchanged: 0.75 V1 − 0.5 V2 = 2. Substituting gives (15/44) V1 = 2, so V1 = 88/15 ≈ 5.87 V and V2 = 72/15 = 4.8 V.