Professional Documents
Culture Documents
Review All PDF
Review All PDF
CIRCUIT BASICS
Electrical quantities
Current: I =
dq
dt
dq
Power: P = dw = dw = VI
dt
dq dt
[Units: J/s = Watts (W)]
T
avg power: P = 1 I (t )V (t )dt
T 0
Voltage: V = dw
dq
Current Source
Circuit definitions
Node point where 2 or more circuit elements are connected
Series elements same current flows through all elements
Parallel elements same voltage across all elements
Series resistors:
Req =
Req = R1 + R2
Rk
Parallel resistors:
k =1
Req = R1 || R 2 =
R1 R 2
R1 + R 2
n
1
1
=
Req k =1 R k
1
1
1
1
=
+
+
Req R1 R 2 R3
Voltage divider
V2 =
R2
VS
R1 + R 2
V3 =
R3
VS
R1 + R 2 + R3
Current divider
I2 =
R1
IS
R1 + R2
1
I3 =
R1
+ 1
R3
R2
+ 1
IS
R3
Nodal Analysis finds unknown node voltages in a circuit; once all node voltages are known,
currents can be found through IV relationships of circuit elements (e.g., Ohms Law)
1. Choose a reference node (ground)
2. Define unknown voltages (those not fixed by voltage sources)
3. Write KCL at each unknown node, expressing current in terms of node voltages
- use IV relationships of the circuit elements (e.g., I=V/R for resistors)
4. Solve the set of independent equations (N eqns for N unknown node voltages)
Supernode for a floating voltage source (where both terminals are unknown voltages), define
a supernode around the source, write KCL at supernode, and use the voltage source equation
V
I1 + I 2 = x
R1
V
+ y
R2
VF = V y Vx
Superposition In any linear circuit containing multiple independent sources, any I or V in the
circuit can be calculated as the sum of the individual contributions of each source acting alone
o Linear circuit circuit with only independent sources and linear elements (linear RLC,
linear dependent sources). Linear elements have linear IV characteristics.
1. Leave one source on and turn off all other sources
replace voltage source with short circuit (V=0)
replace current source with open circuit (I=0)
2. Find the contribution from the on source
3. Repeat for each independent source.
4. Sum the individual contributions from each source to obtain the final result
Note: Superposition doesnt work for power, since power is nonlinear (P=I2R=V2/R)
V
R th = test
I test
Load-line Analysis graphical method solving circuits with 1 nonlinear circuit element
graph the IV curves for the nonlinear circuit element and the Thevenin/Norton equivalent of
the rest of the circuit on the same axes; the operating point is where the two curves intersect
IV relationship:
ic = C
2
dvc
dt
note polarity!
Energy stored: Ec = CV
voltage across capacitor vc cannot change instantaneously: vc(0-)=vc(0+)
in steady-state, capacitor is an open circuit (dvc/dt=0ic=0)
low freq: open circuit; high freq: short-circuit
n
Parallel capacitors: Ceq = Ck
Series capacitors: 1 = n 1
Ceq
k =1
V2 =
C1
VS
C1 + C 2
V3 =
C1
+ 1
C3
C2
+ 1
VS
C3
IV relationship:
vL = L
2
k =1 Ck
diL
dt
note polarity!
Energy stored: EL = LI
current through inductor iL cannot change instantaneously: iL(0-)=iL(0+)
in steady-state, inductor is a short circuit (diL/dt=0vL=0)
low freq: short circuit; high freq: open-circuit
n
Series inductors: Leq = Lk
Parallel inductors: 1 = n 1
Leq
k =1
k =1 Lk
IV relationship
Energy storage
Continuity
Steady-state
Series
Parallel
i=C
dv
dt
Ec = CV2
Voltage: vc(0-)=vc(0+)
Open circuit (I=0)
n
1
1
=
Ceq k =1Ck
Ceq =
Ck
k =1
Inductor
v=L
di
dt
EL = LI2
Current: iL(0-)=iL(0+)
Short circuit (V=0)
Leq =
Lk
k =1
n
1
1
=
Leq k =1 Lk
V. FIRST-ORDER CIRCUITS
RC
dvc (t )
+ vc (t ) = vi (t )
dt
RC
RL Circuits
dvc (t )
+ vc (t ) = ii (t ) R
dt
Time constant: = RC
v (t )
L di L (t )
+ i L (t ) = i
R
R dt
L diL (t )
+ iL (t ) = ii (t )
R dt
4. Combine the homogeneous and particular solutions to get the complete solution: X(t) =
Xh(t)+Xp(t). Use the initial conditions to find the missing variables (i.e., the K in Xh(t)).
Example: Find vc(t>0) for RC circuit w/ vi(t)=VDD, vc(0-)=0V.
dv (t )
t
t
2) vc,h(t) = Ke-t/ RC K e + Ke = 0 = RC
1) RC c + vc (t ) = vi (t )
dt
3) Since vi(t) is a constant, guess vc,p(t)=A. Plugging into the ODE, A=VDD=vc,p(t).
4) vc(t) = vc,h(t) + vc,p(t) = Ke-t/ + VDD. vc(0-)=vc(0+) by capacitor voltage continuity.
vc(0)=0=K+VDD K=-VDD. So, vc(t) = VDD-VDDe-t/.
Note: Xh(t) represents the transient response of the circuit and should decay to 0 as time
passes. Xp(t) represents the steady-state response of the circuit which persists after the
transients have died away and which takes the form of the input.
Time constant amount of time for the transient exponential response e-t/ to decay by 63%
(e-1 = 0.63). In 5 time constants, the response decays by 99%. Faster circuits have smaller .
(t t o )
X (t ) = X f + X (t o ) X f e
(X is any voltage or current in the circuit)
Xf = final value, to = time voltage/current step occurred
(1) Find initial value X(to+) and final value Xf. Use continuity (x(0-)=x(0+)) and steady-state
rules (open/short) for cap/ind. (2) Calculate (=RC for RC circuit, =L/R for LR circuit). R
is the Thevenin equivalent resistance seen by the cap/ind.
dx(t )
+ o 2 x(t ) = f (t )
2
dt
dt
= damping coefficient, o = undamped natural freq (AKA resonant freq)
= /o = damping ratio, f(t) = forcing function (related to the input)
defined.
+ 2
1 R
2 L
1
o =
LC
d 2 i (t )
dt
R di (t )
1
1 dvi (t)
+
i(t ) =
L dt
LC
L dt
d 2 v(t )
dt
1 dv(t ) 1
1 dii (t )
v(t ) =
+
RC dt
LC
C dt
st
( 2 o )t
overdamped:
> o , > 1
X h (t ) = K1e
critically damped:
= o , = 1
X h (t ) = K1e t + K 2te t
underdamped:
< o , < 1
+ K 2e
(Note: The value of K1 and K2 cannot be found until the complete solution is found.)
4. Find the particular solution Xp(t). Remember the output follows the form of the input:
input function
constant
exponential
Sinusoid
particular solution
A
Ae-t + Bte-t Acos(wt)+Bsin(wt)
Guess the form of the solution and solve the ODE to find any arbitrary constants.
(Note: For sinusoidal inputs, the particular solution can be found more easily using complex impedance.)
5. Combine the homogeneous and particular solutions to get the complete solution: X(t) =
Xh(t)+Xp(t). Use the initial conditions to find the missing variables (i.e., K1, K2 in Xh(t)).
Phasors vectors (i.e., complex numbers) that represent sinusoids. Since all V,I in the circuit
are sinusoids with the same frequency, only magnitude & phase are needed to describe any V,I.
sinusoids: v(t) = Vcos(t+) = Re[Vej(t+)] = Re[Vejet] phasor: Vej = V
v(t) = Vsin(t+) = Vcos(t+-/2) phasor: V(-/2)
For convenience, define phasors in terms of cosine (i.e., the real part of a complex exponential)
d
dt
dt
2j
Ex: d e j (t + ) = je j (t + )
1
j
dt
Capacitor Impedance:
Inductor Impedance: Z L = jL
ELI Voltage (EMF) LEADS Current (I) by 90
Complex Impedance/Generalized Ohms Law: Z = V
ZC =
1
jC
allows for easy nodal analysis (no differential equations); series/parallel resistor laws apply
Maximum Average Power Transfer Theorem
power transferred to load impedance ZL
is maximized when ZL=Zth*
Decibel (dB) unit of measure for ratios of power, voltage, and current levels (often used to
express gain). Power: 1dB=10log10(P1/P2); V,I: 1dB=20log10(V1/V2)=20log10(I1/I2)
Frequency Response systems inputoutput transfer function vs. frequency (given
sinusoidal input). Both magnitude and phase plots are needed (output freq = input freq)
General transfer function can be written as a product of poles and zeroes
Error! Bookmark not defined.
H ( ) = Ae
p1
Aej
1/j
+ 20 dB
20 dB
dec
A
0dB
dec
0dB
1
H ( j )
p2
Break point frequency BP poles and zeros are break point freqs
at a zero frequency, the magnitude is +3dB (=2) and the phase is +45
at a pole frequency, the magnitude is -3dB (=1/2) and the phase is -45
Bode Plot logarithmic plots for frequency response
H ( j )
H ( j )
+
1 +
z1 1of
z 2numerator
zeroes
roots
the
( j )n
j
of the
poles
roots
denominator
j
1 +
1 +
40 dB
20 dB
0dB
1
+
1/(1+j/p)
+ 20 dB
dec
z z 10 z
10
10 p 10 p
0dB
20 dB
40 dB
20 dB
(1+j/z)
z z 10 z
10
to draw Bode plot for general transfer function, add individual pole and zero plots
dec
10 p 10 p
Filters
Lowpass Filter (LPF) VC in RC circuit / VR in RL circuit / VC and RLC circuit
(for current output, switch from series to parallel and switch L and C)
H () =
Vout
Vin
1
1+ jL R
H ( ) =
Vout
Vin
1
1+ jRC
H ( ) =
Vout
Vin
1
2
1+ jRC + ( j ) LC
H ( ) =
Vout
jL R
=
Vin
1+ jL R
H ( ) =
Vout
jRC
=
Vin
1+ jRC
H ( ) =
Vout
Vin
( j )
LC
2
1+ jRC + ( j ) LC
H ( ) =
Vout
jRC
=
2
Vin
1+ jRC + ( j ) LC
Z C = j1C
dominates
Resonant Frequency o = 1
LC
= 1
series RLC: Q =
Zo
=
R
LC
R
parallel RLC: Q = R =
Zo
R
LC
VIII. DIODES
Passive devices that only pass current in one direction
Rectifier Circuit
IX. MOSFET
For a MOSFET, the gate controls the current flow between source and drain.
For an n-channel MOSFET (NMOS), a positive gate voltage produces current flow
For a p-channel MOSFET (PMOS), a negative gate voltage produces current flow
Circuit Symbols:
NMOS
PMOS
analog
digital
triode/linear
saturation
IDS = Kn(VGS-VTn-VDS/2)VDS(1+nVDS)
IDS = Kn(VGS-VTn)2(1+nVDS)
Notation:
Small-signal Analysis find small-signal gain, Rin, Rout (use a linearized circuit model for the MOSFET)
small-signal circuit model is a linearized model for the MOSFET, only valid for small
signals near a given DC operating point (AKA quiescent point)
Small-signal
allows for linear circuit theory (superposition, phasor analysis)
Circuit Model
transconductance: g m = DS
vGS Q
1
output resistance: ro = 1 =
g ds
i DS
v DS Q
triode/linear
KVDS(1+VDS)
saturation
K(VGS-VT)(1+VDS)
1/[K(VGS-VT)2]
Large Signal
Small Signal
Av=vout/vin = -gm(ro || RD)
Rin =
Rout = ro || RD
XI. OP-AMPS
Operational amplifier high-gain voltage amplifier with differential inputs and single output
Circuit Symbol
Circuit Model
Input/Output Characteristic
Vo = A(Vp-Vn), Vo = [VSS,VDD] Note: Vo cannot exceed the power supply rails VDD and VSS
A = Gain, Rin = input resistance, Rout = output resistance
Ideal op-amp: A , Rin , Rout 0
Negative Feedback since its hard to make the op-amp gain stable over all operating
conditions (the gain fluctuates with temperature, process variation, and power supply noise),
negative feedback is used to stabilize the op-amp output
negative feedback usually occurs when the output is connected to the negative input terminal
Op-amp Circuits
Inverting Amplifier
Vout
Vin
Noninverting Amplifier
R2
R1
Adder
Vout
Vin
Unity-gain Buffer
= 1+
R1
R2
Vout
Vin
=1
Subtractor
R
R
Vout = 3 V1 + 3 V2
R2
R1
Vout =
R2
(V V2 )
R1 1
Integrators
Vout
= j1RC
Vin
Vout
= 1
Vin
j L R
Vout
Vin
( j )
LC
Differentiators
Vout
= jRC
Vin
Vout
Vin
= j L R
Vout
Vin
= ( j )2 LC
Cascading Op-amp Circuits Find gain of each stage and multiply them together to get total gain
A + (B + C) = (A + B) + C
A+B=B+A
A + (B C) = (A + B) (A + C)
A+1=1
A+0=A
A (B C) = (A B) C
AB=BA
A (B + C) = (A B) + (A C)
A0=0
A1=A
A + A= 1
A+A=A
A + (A B) = A
A A= 0
AA=A
A (A + B) = A
A + ( A B) = A + B
A ( A + B) = A B
(1) A B = A + B
(2) A + B = A B
Truth Tables list output value for each input combination (2n entries for n inputs)
Sum of Products Form write output logic expression as sum (OR) of
products (ANDs), where each product corresponds to each 1 entry in the truth table
Ex: Out = A B C + A B C + A B C
A
0
0
0
0
1
1
1
1
B
0
0
1
1
0
0
1
1
C
0
1
0
1
0
1
0
1
Out
1
0
1
0
1
0
0
0
Switch-Resistor Model
Noise Margins
Voltage Output High/Low:
VOH=F(VOL), VOL=F(VOH)
Voltage Input High/Low (VIH, VIL):
where voltage transfer curve slope=-1
Loadline Analysis:
CMOS Inverter
Voltage-Transfer Characteristic:
Loadline
Analysis:
NMOS Pass Strong 0, Weak 1 For Vin=VDD: Since VGSVTn for NMOS on and
VGS=VDDVOUT, VDDVoutVTn, VoutVDDVTn NMOS cant pass strong 1
CMOS Inverter Propagation Delay delay from input to output due to output load capacitance
tpHL=0.69RnCL
tpLH=0.69RpCL