Professional Documents
Culture Documents
Matt DOBBS
1
Course Summary
The course will cover:
DC circuits and networks
Linear circuit elements: R, L, and C
Charging Cs and Ls; energy storage
Sinusoidal voltages and currents; phasors, and complex algebra techniques
Filters: high-pass, low-pass, bandpass
Resonant circuits
Network theorems
Fourier analysis of waveforms; frequency spectra
Fourier transforms; the bandwidth theorem
Semiconductor diodes
3
Matt DOBBS
Contents
1 Course Summary
11
14
17
17
17
20
21
22
24
25
26
27
27
30
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Matt DOBBS
3.6.5
Resistor Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
32
33
33
35
36
39
39
44
47
49
50
51
51
52
54
55
55
57
5 Waterflow Analogy
59
63
63
64
Matt DOBBS
6.2.1
6.2.2
69
and
. . .
. . .
. . .
. . .
Complex Representations 73
. . . . . . . . . . . . . . . . . 73
. . . . . . . . . . . . . . . . . 76
. . . . . . . . . . . . . . . . . 78
. . . . . . . . . . . . . . . . . 79
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
to Nortons Theorem
10 Fourier Analysis
10.1 Time Domain Waveform . . . . . . . . . . . . .
10.1.1 Sine Wave timestream . . . . . . . . . .
10.2 Fourier Theory . . . . . . . . . . . . . . . . . .
10.2.1 Application to Audio . . . . . . . . . . .
10.2.2 the Matlab function powerSpectrum.m
10.2.3 Example: Signal Buried in Noise . . . .
10.3 Example: Spatial Fourier Transform . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
64
66
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
81
82
83
84
85
.
.
.
.
.
.
.
87
87
88
89
92
93
95
97
Matt DOBBS
Circuits . . . . . . . . .
Half-wave Rectifier . . .
Full-wave Rectifier . . .
Diode Clipping Circuits
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
98
99
103
104
105
108
110
113
115
116
119
.
.
.
.
123
136
136
137
140
.
.
.
.
.
143
143
148
150
152
152
Matt DOBBS
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
154
154
162
163
164
165
167
168
.
.
.
.
.
.
.
.
.
.
171
172
174
177
179
180
182
183
183
184
184
14 Op-amps
195
205
9
Matt DOBBS
B Equations
213
C Waterflow Analogy
217
10
2
Introduction to Electronics in Physics and Elsewhere
Left: (source: NASA) The most cited scientific results to date come from WMAP, which measured the consituents of the universe and curvature of space time using observatons of the Cosmic Microwave Background radiation.
11
Matt DOBBS
Right:
(source: M. Dobbs)
The electronic readout system for the South Pole Telescope, built at McGill.
The Phoenix lander arrived on Mars in 2008 and included Canadian instruments. It provided direct confirmation of the existence of water on mars.
(source: http://en.wikipedia.org/wiki/Phoenix_lander)
12
Matt DOBBS
Left: The Edge, guitarist for U2, made the sound from this VOX amp famous (listen to the Joshua Tree).
The characteristic sound comes from the inherent distortion (or non-linearity) of the circuits. For pure
sound, or for a good scientific instrument, this sort of non-linearity is generally not desireable.
Right: A very basic audio amplifier circuit, using an op-amp.
13
Matt DOBBS
2.1
A simple low-pass RC filter implemented with leaded components on a breadboard. Students in this course will build many such
circuits.
(source: http://gasstationwithoutpumps.wordpress.com/2012/06/24/temperature-lab-part-3-voltage-divider/)
14
Matt DOBBS
Circuit board developed at McGill for the CHIME telescope in 2014. The circuit board
is manufactured in Ontario and assembled by robots in Montreal with components that are sourced
internationally.
(source: M. Dobbs)
15
Matt DOBBS
Silicon wafer, manufactured in Korea by Samsung, containing the A5 ARM processor for the Apple IPad2 tablet. This uses a
32 nm feature size.
(source: http://news.softpedia.com/news/Samsung-Proudly-Show-Its-32-nm-Manufacturing-Process-267745.shtml)
16
3
Static Circuits and Networks
3.1
AC vs. DC circuits
static circuits = voltages and currents are constant in time. Usually refered to as Direct Current
(DC), to distinguish them from circuits with time-varying currents, usually in the form of sine waves,
called alternating currents. A standard battery, like an AA cell, provides a static voltage of 1.5 V.
The outlets in your home provide an alternating voltage usually a 120 V sine wave with 60 periods
per second (240V, 55 periods per second in Europe).
17
Matt DOBBS
The SI unit Hertz refers to periods per second, [s1], and is named for Heinrich Hertz who showed
electromagnetic waves exist.
(source: http://en.wikipedia.org/wiki/Alternating_current)
Often, we use the term DC to refer to a slowly varying signal, even though it is not, strictly speaking,
static. We also frequently say DC even when we are talking about voltages.
How do we measure the amplitude of a repetitive signal, like a sine wave? Consider the sine wave
Apsin(2f t)
the peak amplitude is Ap
the peak-to-peak amplitude (total excursion of the waveform) is 2 Ap.
s
2
2
the root-mean-squared amplitude is Ap sin (2f t) = Ap/ 2
A detailed derivation of the RMS 2 factor follows, using the angular frequency = 2f .
18
Matt DOBBS
(source: http://en.wikipedia.org/wiki/Root_mean_square)
19
Matt DOBBS
3.3
Electromagnetic Spectrum
(source: http://en.wikipedia.org/wiki/Em_spectrum)
20
Matt DOBBS
3.4
Linear Systems
x2(t)
with outputs
y1(t) = H[x1(t)],
y2(t) = H[x2(t)]
Matt DOBBS
The distortion effect, commonly used for electric guitars, is non-linear, and artificially creates frequency
mixing.
Linear systems are easy to understand, and easy to calculate the output of. THey are also very easy
to simulate in a computer.
3.5
Current Flow
The flow of electrons through a wire driven by a electric field potential energy difference is called a current,
defined as the rate of charge past a point in a circuit.
I[ampere] =
Q[coulomb]
time[seconds]
V =
EElectric
q
22
Matt DOBBS
(source: http://cnx.org/content/m42324/latest/?collection=col11406/latest)
Electrons will flow from the negative anode of a battery to its positive cathode. If positrons were
common, they would flow in the opposite direction.
23
Matt DOBBS
When we speak of current in a circuit, the arbitrary convention is that we are referring to the direction
of the flow of positive charges.
3.5.1
Batteries
Batteries harness chemical energy potential the cathode is surrounded by postively charged ions, and the
anode by negatively charged ions. Electrons will travel through a circuit from the anode to the cathode,
releasing the stored chemical energy.
The amount of charge stored in a battery is usually specified in amp hours or mA hours. 1 amp hour
is 3600 Coulombs, or about 22.5 zeta-electrons (zeta = 1021).
24
Matt DOBBS
3.6
The current through a conductor is proportional to the potential difference (or voltage) across it. We
define the resistance (actually, the 1/R) as the constant of proportionality and assign it the SI unit of
Ohms ().
I[A] =
V [V ]
R[]
V = IR
R = V /I
A material is characterized by its resistivity
[ m] = R
Area
length
(source: http://en.wikipedia.org/wiki/Electrical_resistivity_and_conductivity)
25
Matt DOBBS
which can be measured by placing an electric field E across the material, and measuring the magnitude
of the current density J (in amperes per square meter, A/m2) that flows.
= E/J
.
The inverse of resistivity is conductivity
= 1/
.
3.6.1
10 V
100
Matt DOBBS
It is dissipated as heat:
P = IV = I IR = I 2 R
For this example, the 100resistor dissipates P = I 2 R = (0.1A)2 100 = 1 Watt.
3.6.2
Voltage Divider
I
V1
80
V2
20
10 V
Resistor Networks
Matt DOBBS
R1
10
R2
20
...
30
RN
40
Rtotal = 10 + 20 + 30 + 40 = 100
Rtotal = R1 + R2 + . . . + RN
28
Matt DOBBS
R1
R2
V = I1R1 = I2R2
Itotal = I1 + I2 =
V =
V
V
+
R1 R2
Itotal
1
1 = Itotal Rtotal
+
R1
R2
1
Rtotal
1
1
+
R1 R2
29
Matt DOBBS
R1
...
R2
RN
1
Rtotal
100
100
25
1
Rtotal
3.6.4
1
1
1
+
+ ... +
R1 R2
RN
25
1
1
1
1
10
+
+
+
=
Rtotal = 10
100 100 25 25 100
Resistor Examples
(source: http://hyperphysics.phy-astr.gsu.edu/hbase/electronic/rescarb.html )
surface mount resistors used on printed circuit boards
30
Matt DOBBS
(source: www.koaspeer.com)
incandescent lightbulb
31
Matt DOBBS
baseboard heater
3.6.5
Resistor Characteristics
Resistors are typically characterized by their resistance, precision (including variations with temperature),
ability to dissipate heat, and size.
The resistivity of a material typically has a temperature coefficient measured in parts per million
(ppm) per degree celsius. A standard resistor has a temperature coefficient of 100 pmm/C. Typically, the
resistance is specified at 20 C.
This means that, if you allow your circuit to run hot or cold, the component values will vary. A
100resistor with 100 ppm/C temperature coefficient that is operating outdoors on the South Pole Telescope on a cold winter day (-80 C) will have a resistance
100 (1 + 100 106ppm/C (80C 20C)) = 99
. In scientific applications, this will be particularly important for filters.
32
4
Capacitors and Inductors
(source: Thanks to Prof. John Crawford for the use of his lecture notes, some of which are incorporated in this chapter.)
Capacitors
The simplest type of capacitor is constructed from two parallel conducting plates separated by either
space, or some dielectric insulator.
33
Matt DOBBS
(source: http://en.wikipedia.org/wiki/File:Capacitor_schematic_with_dielectric.svg)
If a battery of voltage V is connected to the two plates, the charge stored by the capacitor q will
be proportional to the voltage i.e., q = CV , where the constant of proportionality C is called the
capacitance.
The unit of capacitance is the Farad: if an applied voltage of 1 volt causes 1 coulomb of charge to be
stored, the capacitance is 1 Farad.
For the parallel plate capacitor above,
A
C=
d
where A is the plate area and d is the plate separation. The constant is called the dielectric permittivity
and
= 0
where 0 is called the permittivity of space, and is a dimensionless constant that depends on the
34
Matt DOBBS
Capacitor Examples
(source: http://en.wikipedia.org/wiki/Capacitor)
35
Matt DOBBS
4.1.2
Charging a Capacitor
Suppose we charge (i.e., store energy in) a capacitor by connecting it directly to a constant current source:
I
Idt
I is constant. So
dV
I
=
dt
C
and so the voltage simply ramps up at a constant rate.
(source: J. Crawford)
36
Matt DOBBS
The energy stored by the electric field (work done by the battery providing the current) within the
capacitor is
W =
Z t
(power)dt =
Z t
v I dt =
Z t
Z V
dv
Cv dt = C 0 vdv = 12 CV 2
dt
We could have derived this for a voltage source instead of a current source (see http://hyperphysics.
phy-astr.gsu.edu/hbase/electric/capeng2.html)
37
Matt DOBBS
38
Matt DOBBS
4.1.3
RC Circuit
4.1.4
39
Matt DOBBS
4.1.5
Capacitor Networks
V1
V2
C1
C2
C1
C2
...
CN
Ctotal = C1 + C2 + . . . + CN
This is intuitive, because it is equivalent to dividing the plates from one large capactior into many segments.
1F
2F
3F
4F
Ctotal = 1F + 2F + 3F + 4F = 10F
44
Matt DOBBS
I
V1
C1
V2
C2
VTotal = V1 + V2 =
Q1 Q2
+
C1 C2
but Q1 = Q2 because there is no way for electrons to be created or destroyed between the two capacitors,
so
VTotal =
Q
Q
1
1
Q
+
= Q( + ) =
C1 C2
C1 C2
Ctotal
1
Ctotal
1
1
+
C 1 C2
45
Matt DOBBS
C1
100 pF
C2
100 pF
...
25 pF
CN
25 pF
1
Ctotal
1
1
1
+
+.
.
.+
C1 C2
CN
Ctotal
46
1
1
1
1
+
+
+
100 100 25 25
10
100
Ctotal = 10pF
Matt DOBBS
4.2
47
Matt DOBBS
A transformer can be made from two coils of wire wound on a cylinder or toroid. The cylinder can be
made of air or, better, a ferromagnetic material that will serve to better capture the magnetic field lines.
~ with magnetic induction
Current flowing in the primary (input) coil produces a magnetic field B
(units webers/m2), and this field passes through the n2 turns of the secondary (output) coil.
Faraday showed that the rate of change of a quantity called the magnetic flux B (defined as the surface
integral of B across the total area of the coil) is responsible for inducing the voltage across that coil. That
~ which in turn is proportional to I1, the instantaneous current in the primary.
flux is proportional to |B|,
So,
~ I1
B |B|
and using Faradays law of induction |V2| n ddtB ,
|V2|
dI1
.
dt
48
Matt DOBBS
The constant of proportionality is defined as the mutual inductance M (units henry = volt second/amp).
1 henry means a constant of 1 volt across the secondary is induced by a change or 1 amp per second in
the primary.
Thus, for a transformer
dI1
V2 = M
.
dt
The direction of the output current flow I2 depends on the windingsit is easy to build a current
inverter by winding the transformer backwards.
4.2.1
Lenzs Law
Lenzs law: The current I2 induced int he secondary coil produces a field that opposes the change in the
flux B .
In the simple cartoon, when the current in the lower coil is switched on, B will increase in the upper
~ in the
coil. The current in the upper coil tries to oppose the increasing flux by producing one with B
downward direction. This corresponds to the direction of current shown in the upper coil, and that current
would produce a voltage with the direction shown on the resistor.
(The resistor is actually not necessary the voltage will be induced even if the circuit is open.)
49
Matt DOBBS
What happens if there is already a current in the lower coil, and we suddenly switch it off? In that
case, the upper coil will try to keep the field from collapsing, so the current flow in it would be opposite to
the direction shown. The voltage would then be opposite also, with the top wire negative, and the lower
positive.
4.2.2
Transformers in AC circuits
Here we have focused on changes in input current. What if the input I1 is a sine wave? The output
voltage, which is the derivative, will also be a sine wave with a phase offset of 90 degrees (cosine). For
AC circuits, transformers are very simple devices. For an ideal transformer (no loss), power is conserved.
This means:
V1 I1 = V2 I2
later, when we study AC circuits, well find that
V1 I2 n1
= =
V2 I1 n2
where
n1
n2
Matt DOBBS
4.2.3
Transformer Examples
(source:
wiki/File:Polemount-singlephase-closeup.jpg )
4.2.4
Example Applications
Electricity distribution: electricity is normally transported long distances over high voltage likes at
AC with very high (kilovolt) amplitude (why?). It is then transformed down to a few hundred volts
to bring it through city streets, and then transformed down again to the 220 VRMS that enters North
American homes.
DC power supplies for home electronics are built by transforming 110 VRMS from wall outlets to a
lower voltage, rectifying it (taking the absolute value), then integrating it through a low pass filter
(like the RC filter introduced in this class).
51
Matt DOBBS
(source: http://entertainment.howstuffworks.com/electric-guitar1.htm)
Discussion side note: humbucker pickups and the concept of differential cancellation as it applies to
science instruments.
4.3
An inductor is just half of a transformer. It makes use of Lenzs law to store energy, just as a capacitor
does, as opposed to dissipating energy like a resistor.
52
Matt DOBBS
Consider the circuit below, at the moment it is turned on. If the inductor (coil) was replaced with a
short, a current V /R would flow immediately, with all of the voltage drop across the resistance R.
1Z
i=
V dt
L
Matt DOBBS
(source: http://www.calctool.org/CALC/phys/electromagnetism/solenoid)
where l is the solenoid length, A = r2 is its cross-section area, n is the number of turns, and is the
magnetic permeability of the solenoid material (0 = 4 107 for vacuum).
4.3.1
Energy Storage
(source: J. Crawford)
The intercept I0 is the constant of integration, representing a possible initial current in the coil.
54
Matt DOBBS
Power dt =
Z t
V i dt =
di
L i dt = L
dt
Z I
i di = 12 LI 2
Inductor Examples
4.3.3
Inductor Networks
Matt DOBBS
(source: http://en.wikipedia.org/wiki/Inductor)
56
Matt DOBBS
4.3.4
Inductor Applications
with = 2f . There is a frequency, = 1/ LC where the inductor and capacitor cancel, and are
invisible to the circuit. This is the resonant frequency. We see that
the voltage across the Resistor is in phase with the current,
the voltage across the inductor leads the current by 90 degrees,
and the voltage across the capacitor lags by 90 degrees.
57
Matt DOBBS
58
5
Waterflow Analogy
pressure voltage
water volume per second flow current
pump voltage source
pipe constriction resistor
flywheel inductor
elastic membrane capacitor
59
Matt DOBBS
(source: http://hyperphysics.phy-astr.gsu.edu/hbase/electric/watcir.html)
(source: https://ece.uwaterloo.ca/~dwharder/Analogy/)
Matt DOBBS
61
Matt DOBBS
(source: J. Crawford)
62
6
Linear Network Theorems I
Recall some basic properties of L,C:
You can not instantaneously change the voltage across a capacitor.
You can not instantaneously change the current in an inductance.
6.1
Matt DOBBS
operating, the current will be the algebraic sum of all the individual solutions.
Note carefully: switching off voltage sources implies imagining them replaced by a wire (i.e., a short
circuit), and switching off current sources implies replacing them by an open circuit.)
6.2
Kirchoff s Laws
energy conservation: The algebraic sum of the voltages around a closed loop is zero.
charge conservation: The sum of the currents flowing into a node (junction point) is equal to the sum
of the currents leaving it.
6.2.1
(source: J. Crawford)
64
Matt DOBBS
Application of these laws produces a set of simultaneous equations that can be solved for all the currents.
The energy conservation equations are:
+14 1 I1 4 I2 6 1 I3 = 0
+4 I2 2 I5 + 3 I4 = 0
+1 I3 + 6 3 I4 5 I6 = 0
I1 = I2 + I5
I2 = I3 + I4
I4 + I5 = I6
65
Matt DOBBS
6.2.2
(source: J. Crawford)
We have automatically satisfied the current law. The energy conservation equations are:
+14 1 I1 4 (I1 I2) 6 1 (I1 I3) = 0
+4 (I1 I2) 2 I2 + 3 (I3 I2) = 0
1 (I1 I3) + 6 3 (I3 I2) 5 I3 = 0
and can be re-written
6 I1 + 4 I2 + 1 I3 = 8
66
Matt DOBBS
4 I1 9 I2 + 3 I3 = 0
1 I1 + 3 I2 9 I3 = 6
67
Matt DOBBS
68
7
Stepped Voltages with low and high-pass filters
69
Matt DOBBS
Draw the output voltage for the given (blue) input voltage:
70
Matt DOBBS
Answers:
71
Matt DOBBS
72
8
AC Circuits, Sinusoidal Currents and Voltages, and
Complex Representations
8.1
Matt DOBBS
There is an angular frequency, = 1/ LC where the inductor and capacitor cancel, and are invisible
to the circuit. This is the resonant frequency.
The equation can be written in terms of sinusoids only:
V = R Ip sin t + L Ip sin(t + 90) + 1/(C) Ip sin(t 90)
We see that
the voltage across the Resistor is in phase with the current,
the voltage across the inductor leads the current by 90 degrees,
and the voltage across the capacitor lags by 90 degrees.
In this notation, we see that the amplitude of the voltage across each component is:
for resistance
for inductance for capacitance
|RI|
|LI|
|I/(C)|
(in phase with I) (leads I by 90) (lags I by 90)
The impedance magnitude |Z| is just the ratio of the voltage amplitdue to the current amplitude
|V |/|I|
for resistance for inductance for capacitance
|ZR | = R
|ZL| = L |ZC | = 1/(C)
and is easy to calculate for a particular .
74
Matt DOBBS
(source: J. Crawford)
75
(source: J. Crawford)
Matt DOBBS
8.2
A complex number, such as rej = x + jy, is a natural representation for a number that has both an
amplitude and a phase.
(source: http://en.wikipedia.org/wiki/Complex_number)
In math, i (defined by i2 = 1) is normally used for the imaginary unit. Here j will be used, to avoid
confusion with current.
j 2 = 1
x, y are real numbers representing the real and imaginary portion of the vector, respectively.
r
r = x2 + y 2
= arctan
y
x
Matt DOBBS
z1 A1 ej1 A1 j(12)
=
=
e
z2 A2 ej2 A2
In problems involving sinusoidal relationships (e.g., simple harmonic motion in mechanics, or sinusoidal
A.C. in circuit problems), we think of the sine wave as the projection of a rotating vector. Therefore
77
Matt DOBBS
y = A sin t is the y projection of a vector represented by the complex number z = Aejt. We are, in
a way, just ignoring the other projection. Note that in these problems, we rarely draw a picture of the
actual sine wave: all we care about are the amplitudes and relative phases of the sinusoidal quantities in
the problem, and the vector (or the complex number that represents it) contains just this information.
8.3
Z
dI
+ 1/C I dt
dt
this time, the current is represented by I = Ipejt (the imaginary projection gives the original Ip sin t).
V = R Ipejt + jL Ipejt +
78
1
Ipejt
jC
April 11, 2014
Matt DOBBS
1
jC
Examples
79
Matt DOBBS
when L >
1
C
when L =
1
C
when L <
1
C
80
9
Linear Network Theorems II
The Thevenin and Norton Theorems are based on the superposition properties of linear theorems. They
provide a means for converting any circuits sources and impedances to a simple equivalent circuit.
81
Matt DOBBS
9.1
Th
evenins Theorem
(source: http://en.wikipedia.org/wiki/Thevenins_theorem)
82
Matt DOBBS
9.1.1
DC Example
(source: http://en.wikipedia.org/wiki/Thevenins_theorem)
83
Matt DOBBS
9.2
Nortons Theorem
(source: http://en.wikipedia.org/wiki/Thevenins_theorem)
84
Matt DOBBS
9.2.1
Conversion from Th
evenins Theorem to Nortons Theorem
Rth = RNo
Vth = INoRNo
(source: http://en.wikipedia.org/wiki/Thevenins_theorem)
85
Matt DOBBS
86
10
Fourier Analysis
10.1
A time domain waveform or timestream is just a series of data recorded versus time. Examples:
music recorded on an LP or audio cassette
strip-chart from a hospital heart monitor
etc.
If the data is sampled (quantized) at regular time intervals, it is a discrete waveform, and has been
digitized.
music on compact disks and ipod harddrives
87
Matt DOBBS
10.1.1
Lets create a timestream composed of a pure sine-wave. Well sample at the standard audio rate, 44,100
Hz,
Using matlab:
t = [0:1./44100:1];
% 1 second with 44,100 samples.
ts = sin(2.*pi*440.*t); % 440 Hz sine wave (A note)
plot(t,ts,.)
axis([0 0.01 -1 1])
xlabel(Time (seconds))
sound(ts,44100);
% play the sound on the computer speaker.
sound( sin(2.*pi*880.*t) ,44100);
sound( sin(2.*pi*80.*t) ,44100);
Matt DOBBS
The Fourier transform of a sine wave is a Dirac Delta function. It peaks at one specific frequency,
corresponding to the period of the sine wave.
The Fourier transform of a sine wave simply measures its period (or frequency). The amplitude of the
transform corresponds to the amplitude of the sine wave.
The Fourier transform produced a complex output. The complex phase corresponds to the phase of
the sine wave.
10.2
Fourier Theory
We can build up any waveform from a superposition of sine waves. For example, a square wave is just
the sum of a sine wave and its (properly weighted) harmonics.
89
Matt DOBBS
(source: http://www.bores.com/courses/intro/freq/3_ft.htm)
90
Matt DOBBS
A Fourier transform tells us which sine waves we need to add together to build up the waveform we
are analyzing. The sine waves are the basis set (just like the vectors x, y form the basis set for any 2-D
vector).
F (u) =
j2ux
f
(x)e
dx
remember, ej = cos + j sin , so the Fourier transform is really just a convolution with sine and cosine
waves.
It is possible to construct any function as a sum of sine waves of various frequencies. The sine waves
form a basis set.
The Fourier Transform power spectrum is the extent to which a function looks like a sine wave of a
particular frequency.
It is fully reversable (preserves all information content). The inverse Fourier Transform is
f (x) =
j2ux
F
(u)e
du
91
Matt DOBBS
10.2.1
Application to Audio
Record an audio discrete timestream using a program like Audacity, and save it to a .wav file called
test.wav on the desktop. The timestream will be recorded at a rate of 44,100 Hz, the standard rate for
audio recordings such as CDs.
Using matlab:
cd ./Desktop
[ts, sampleRate] = wavread(test.wav);
% read .wav file as a timestream ts
sampleRate
% print the sample rate to the screen
plot( ts(1:1000) )
% display the Fourier content of this timestream
[mag, freq] = powerSpectrum(ts,44100 ) ;
semilogx(freq,mag,-);
axis([10 25000 0 0.01]); xlabel(Frequency (Hz))
92
Matt DOBBS
10.2.2
93
Matt DOBBS
end
94
Matt DOBBS
10.2.3
Using matlab:
t = [0:1./44100:1];
% 1 second with 44,100 samples.
ts = 0.1 * sin(2.*pi*440.*t); % 440 Hz sine wave (A note)
plot(t,ts,.)
axis([0 0.01 -1 1]); xlabel(Time (seconds))
sound(ts,44100);
% play the sound on the computer speaker.
ts_noise = randn(1,44101) ;
plot( t, ts_noise, . );
axis([0 0.01 -1 1])
sound(ts_noise,44100);
% play the sound on the computer speaker.
% Lets hide our A-note in the white noise.
ts = ts + ts_noise;
plot(t,ts,.); axis([0 0.01 -1 1])
sound(ts,44100);
% play the sound on the computer speaker.
% but, in fourier space, this signal is loud and clear
[mag, freq] = powerSpectrum(ts,44100 ) ;
plot(freq,mag,-);
axis([0 1000 0 0.2]); xlabel(Frequency (Hz))
95
Matt DOBBS
Notice that the Fourier Transform of a Gaussian random timestream (random noise) is WHITE (equal
power at all frequencies).
96
Matt DOBBS
10.3
(source: http://lambda.gsfc.nasa.gov/)
97
Matt DOBBS
10.4
Fourier Series
Lets step back now, and look at the mathematics of the Fourier transform.
Joseph Fourier (1768-1830), in his paper On the Propagation of Heat in Solid Bodies demonstrated
an expansion of methematical functions in a series of trigonometric functions.
Essentially, Fourier has realized that Any periodic waveform can be represented as the sum of a
suitably chosen harmonic set of properly phased sine waves. i.e.
y(x) = b0 +
X
1
an sin(nx) +
X
1
bn cos(nx)
This was controversial even his colleagues Laplace and Lagrange were not convinced.
We already have seen one such example, a square wave, and found that even abrupt discontinuities can
be built up from smooth sine waves.
Finding the coefficients is simple: multiply both sides by sin(mx) and cos(mx) and integrate over the
period.
Z 2
sin(mx) sin(nx)dx = 0 for m 6= n, = for m = n.
0
Z 2
(said differently, these sine and cosine waves form an orthogonal set.)
b0 is found by taking the averagevalue of the function over the period. Thus the Fourier Series is:
1 Z 2
an = 0 sin(nx)y(x) dx
1 Z 2
bn = 0 cos(nx)y(x) dx
98
Matt DOBBS
1 Z 2
b0 =
y(x) dx
2 0
10.4.1
(source: J. Crawford)
99
Matt DOBBS
(source: http://en.wikipedia.org/wiki/Fourier_series)
see http://upload.wikimedia.org/wikipedia/commons/2/2b/Fourier_series_and_transform
100
Matt DOBBS
Matt DOBBS
(source: J. Crawford)
This means a device with a finite bandwidth, such as the 50 MHz lab scopes, will have a finite time1
constant = 2f
= 3.2 ns.
102
Matt DOBBS
10.5
103
Matt DOBBS
10.5.1
Single Tone
Consider the timestream for a single tone at angular frequency 0 = 2f0, and using
the complex notation
s(t) = Aej0t
Matt DOBBS
(source: J. Crawford)
Three Tones
Lets add two additional tones, dividing the amplitude by the number of tones (3) and
normalizing by the bandwidth.
105
Matt DOBBS
s(t) =
A j0t
(e
+ ej(0+ 2 )t + ej(0 2 )t
3
s(t) =
A j0t
e (1 + ej 2 t + ej 2 t)
3
A
j0t
1 + 2 cos(
s(t) =
t) e
3
2
we have written this in a way that shows us these three tones are indistinguishable from
the amplitude of the fundamental tone at f0 being modulated.
A
3
1+
2 cos(
2 t)
Matt DOBBS
(source: J. Crawford)
107
2
f
N
f .
Matt DOBBS
10.5.3
Five Tones
s(t) =
A j0t
(e
+ ej(0+ 2 )t + ej(0 2 )t + ej(0+ 4 )t + ej(0 4 )t
5
A j0t
t
j
t
j
t
j
j
2
2
4
s(t) =
e (1 + e
+e
+e
+ e 4 t)
5
j0t
1 + 2 cos(
s(t) =
t) + 2 cos(
t) e
5
2
4
108
Matt DOBBS
(source: J. Crawford)
5
f .
109
Matt DOBBS
10.5.4
N Tones
A pattern is emerging:
packet width is t = 1/f .
N
The modulation period is TM OD = f
If we take N , can we get a one-time only pulse?
(source: J. Crawford)
Define 0 = /N
N
A j0t X2
jn 0 t
0
s(t) =
e
e
N 0
n= N2
110
Matt DOBBS
A j0t Z
j 0 t
0
2
s(t) =
e
2A sin(
t)
sin(
t) j0t
j0 t
2
2
e
= A e )
s(t) =
t
(2t
Matt DOBBS
(source: J. Crawford)
This is a pulse that is not periodic, it happens only once (the modulation period is
infinite!).
The packet width is still t = 1/f = 0.25 s.
112
Matt DOBBS
10.5.5
Bandwidth Theorem
113
Matt DOBBS
Question:
what if you produce a pure sine wave, e.g. at 1 kHz, that lasts for 1 second?
We already learned that the Fourier transform of a sine wave is a delta function doesnt
this have zero width?
Answer:
No!, the function you produced is a sine-wave, convolved with a 1 second long boxcar.
This produces signal at 1 Hz and all its harmonics.
114
Matt DOBBS
10.6
Vout
The system frequency response or transfer function can be characterized mathematically by the function h(t), wherein the output y(t) can be calculated from the input
x(t) timestream by convolving
y(t) = h(t) x(t)
( denotes a convolution) as is often the case, many systems are simpler when working
in Fourier space,
Y (f ) = H(f ) X(f )
vin
x(t)
X()
BlackBox Network
h(t)
H()
vout
y(t)
Y ()
For the R/L low pass filter, the output is a simple voltage divider
R
Vout = Vin
R + jL
115
Matt DOBBS
Knowing the Fourier space transfer function can make it very easy to calculate the
response of the circuit to an input waveform.
Vin
Consider the R/L low-pass filter
Vout
response to a square wave.
116
Matt DOBBS
In Section 10.4.1, the Fourier series representation of a square wave was calculated,
allowing the square-wave timestream to be written as a sum of sine waves:
1
1
Vin = x(t) = A sin 0t + sin 30t + sin 50t + . . .
3
5
using
R
H() = Vout/Vin =
R + jL
the attenuation of each Fourier series coefficient can be calculated.
R
, then plugging 0, 30, 50, into H() to get the attenuation
Lets consider 0 = 2L
factor
R
|H(0)| = |
R | ' 0.89
R + j 2L L
|H(30)| ' 0.55
|H(50)| ' 0.37
So the the filter has removed much of the amplitude from the higher harmonics at 30
and 50, rending the output more like a single tone (more like a sine wave, which is a
Dirac delta function in frequency space).
Similar analyses can be applied to transfer functions for other physical circuits,
117
Matt DOBBS
Here, the vibrational resonances of a structure are characterized by a Fourier space transfer function, and applied to a square wave
input force.
(source: http://en.wikipedia.org/wiki/File:Frequency_response_example.png)
118
Matt DOBBS
10.6.2
The transfer function of a linear, time invariant system is most often displayed in
the form of a Bode Plot.
which
is independent of the input waveform.
A Bode plot provides both the magnitude
and phase of the transfer function H(f ).
The Bode plot for the R/L low-pass filter
The y-axis for the phase plot is normally
presented in degrees or radians. The Bode
Vin
Vout
which has a single pole plot shows that the filter has a || = 45
at f = R/(2L) 100 Hz is
phase shift at the pole frequency. This is a
(source: http://en.wikipedia.org/wiki/File:Bode_Low-Pass.PNG)
119
Matt DOBBS
120
Matt DOBBS
The y-axis for the magnitude plot is most often presented in decibels (dB). This is the
logarithmic ratio of output power to input power, multipled by 10.
Pout
).
Magnitude Ratio[dB] = 10 log10(
Pin
Most often, people choose to work in voltage units rather than power. Since P V 2,
Vout 2
Pout
) = 10 log10(
)
Magnitude Ratio[dB] = 10 log10(
Pin
Vin
Vout
= 20 log10(
).
Vin
(we have used log Ab = b log A).
The decibel scale is logarithmic.
A 20 dB output is 10 times bigger than the input.
A 6 dB output is 2times bigger than the input.
A 3 dB output is 2 times bigger than the input.
121
Matt DOBBS
122
11
Diodes
(source: Adam Gilberts lectures on Diodes.)
(source: Wikipedia)
123
Matt DOBBS
124
Diodes
What is a Diode?
Semi-conductor device
small forward voltage drop typically 0.7V for Silicon, 0.3V for Germanium, 0.4V for Schottky.
reverse breakdown
Diodes come in many sized packages, from devices that require tweezers to pick up to devices that can be bolted in place.
LEDs are special and require much higher forward voltage levels.
The data sheet indicates that a forward voltage of 1.9V is required for 10mA
We now conduct
two times per
sinusoid.
Common
method to
convert from
AC to DC
Matt DOBBS
11.1
Diode Circuits
11.1.1
Half-wave Rectifier
(source: http://www.brighthubengineering.com/consumer-appliances-electronics/96645-efficiency-of-ac-rectifiers/)
Vin
Vout
Matt DOBBS
11.1.2
Full-wave Rectifier
A full-wave rectifier acts like the mathematical operation of applying the absolute value.
Using the building blocks from the previous example, it can be drawn:
Vin
Vout
A full-wave rectifier is the first element in common power supplies, like the bricks
that power most laptop computers.
137
Matt DOBBS
(source: http://www.electronics-tutorials.ws/diode/diode_6.html)
138
Matt DOBBS
A transformer can be added at the input to change the output voltage amplitude.
(source: http://www.brighthubengineering.com/consumer-appliances-electronics/96645-efficiency-of-ac-rectifiers/)
139
Matt DOBBS
11.1.3
(source: http://www.electronic-basics.com/2009/05/diode-limiter.html)
140
Matt DOBBS
(source: http://www.daenotes.com/electronics/digital-electronics/clipper-circuits)
141
Matt DOBBS
142
12
The S-plane and Laplace Transforms
(source: Many examples and ideas for this chapter are taken from John Crawfords lecture notes.)
Warning: this chapter builds on what has been learned about Fourier transforms and
uses that as a foundation. Students should ensure they have a solid understanding of
Fourier transforms before diving in to this chapter.
12.1
We have studied the transfer function for AC signals transmitted through a circuit
network consisting of linear circuit elements (L, C, Rs).
vin
x(t)
X()
BlackBox Network
h(t)
H()
143
vout
y(t)
Y ()
Matt DOBBS
1 ~ jt ~ jt
v = R + jL +
=Ve
Ie
jC
~ j I~ with Z
~ j = V~ /I~
or V~ = Z
Using math jargon, we might say that ejt is an eigenfunction of the operator
1Z
d
~
dt.
Z =R+L +
dt C
If this is the case for sine waves (imaginary exponentials), might it also be true for real
exponentials? (i.e., is i = Iet a solution to our differential equation?)
144
Matt DOBBS
or V = Z I
(the vector notation is not needed above, because there is no phase information). This
means ordinary exponentials are also eigenfunctions. Putting an exponential in, we get
an output that is proportional to the same exponential. can be positive or negative,
denoting exponential growth or decay.
We can combine inputs (2) and (3) into a single complex solution,
~ st = Ie
~ tejt
(4) Complex exponential inputs: i = Ie
1 ~ st ~ st
Ie
v = R + sL +
=Ve
sC
~ sI~
or V~ = Z
where both I~ and s = +j are complex numbers. This solution represents a sinusoidal
function with an amplitude that is exponentially growing or shrinking with time.
145
Matt DOBBS
146
Matt DOBBS
(source: http://www.dsprelated.com/dspbooks/mdft/Comparing_Analog_Digital_
Complex.html)
147
Matt DOBBS
12.1.1
S-plane Example
2H
vin
sC (2 + j4)
ZR = 1
and so the current is
~
~
V
V
~ 1 j2
I~ =
=
=
V
1
10
R + sL + sC
1 + (4 + j8) + 2+j4
8 + j14
(12.1)
2
2
1 +2
5
|I| = V
= 20
= 2.8A
2
2
260
8 + 14
148
Matt DOBBS
~ V~ represents the phase by which the current leads the voltage (using
and the phase of I/
Equation 12.1)
= arctan(2) arctan(14/8) = 123.5.
The final solution for the current is
st
j(123.5 ) 2t j4t
~
i = Ie = 2.8e
e e
149
Matt DOBBS
12.2
The S-plane
1
sC
where = RC.
H(s) = 0 at s = 0, called a zero.
H(s) = at s = 1/ , called a pole.
150
Matt DOBBS
zero at s = 0: this is a DC voltage. With a blocking capacitor, there is no steadystate output voltage, Vout = 0.
pole at s = 1/ : for an input voltage vin = V et/RC the ratio of the output to input
voltage is infinite. This seems non-sensical, but by solving the differential equations
for this input, you would find the output is vout = V (1 t/ )et/RC which gives a
transfer function of vout/vin = (1 t/ ) which grows to to at t = .
151
Matt DOBBS
12.3
The positions of poles and zeros in a circuits transfer function allows us to infer its
behaviour for various inputs.
12.3.1
152
Matt DOBBS
2. draw a vector from each pole and each zero to the signal s of interest. We will
consider only sinusoidal signals s = j here:
3. The transfer function H(j) is the ratio of the zero-vector over the pole vector.
H(s) =
vector(zero s)
vector(pole s)
4. The magnitude |H(j)| is just the ratio of the lengths of these two vectors (recall
that the magnitude of a complex number is equal to the magnitude of the numerator
over the magnitude of the denominator).
The
distance from the zero to s is just , while the distance from the pole to s is
r
2 + 1/ 2, so |H(j)| = 2 2 .
+1/
5. phase(H(j)) Recall that the phase of a complex number is the difference of the
153
Matt DOBBS
The above formalism works for more complicated circuits that have many poles and
zeros. In general, transfer functions can be factorized into polynomials in s and written
in the following form
H(s) = k
154
S-plane Examples
(source: John Crawford Lectures)
1. The Twin-Tee Network
C/2
C/2
R
vo
vi
2R
2R
C
H(s) =
s2 + 0 2
1
2
2 , where 0 =
s + 4 0s + 0
RC
(9)
(s + j 0 )(s j 0 )
(s+.26 0 )(s + 3.73 0 )
(10)
The s-plane therefore has two zeros at j0 and two poles at -.260 and -3.730. If we
want to find the frequency response for input sinusoidal signals, we draw the following
vectors:
j
j0
s
X
3.73 0
X
.26 0
j 0
80
0 .8
40
|H(jw)|
0 .6
Phas e (deg)
Fig. 11 shows the variation of both vo/vi and as a function of . Here the value of 0
has been taken to be 20 rad/s.
0 .4
-40
0 .2
-80
0
0
50
1 00
(rad/s)
1 50
20 0
Fig. 11 Variation of |H(j)| (solid curve) and (vo re vi; dotted curve) as a function of .
3
The circuit is called a "notch filter" because just at the radian frequency 0 it rejects the
input, so that no signal arrives at the output. One of its uses is to reject unwanted signals
(e.g., 60 Hz noise) that would otherwise interfere with some detected signal.
Some of the characteristics of this circuit can be understood from simple considerations.
At very low frequencies the lower resistively coupled branch transfers all of the input
signal to the output. At very high frequencies the upper capacitively coupled network
behaves like a short circuit and similarly passes the whole input signal to the output. At
the notch frequency 0 there is a phase lead (vo re vi) of 90 in the upper branch, and a
phase lag of 90 in the lower branch. At this frequency the magnitudes of the two signals
are the same, so the two cancel.
2. A Series Resonant Circuit
vi
vo
H(s) =
vo
R
R
s
=
=
v i R + sL + 1
L s2 + s R + 1
sC
L LC
(11)
We can factor the denominator and get
R
s
H(s) =
2
L#
R
R
1 &#
R
R2
1 &
%s +
+
(% s +
(
2
2
2L
4L
LC
2L
4L
LC
$
'$
'
If
(12)
R2
1
the root will be imaginary, so we would write
<
4L2 LC
H(s) =
R
s
2 &#
L#
R
1
R
R
1
R2 &
%s +
+j
2 (% s +
j
2(
LC 4L '$ 2L
LC 4L '
$ 2L
(13)
4
What does the pole-zero plot look like? Suppose we have imaginary roots, giving us eq.
13. The numerator tells us that there is a zero of H(s) at the origin, and there are two
R
1
R2
2
poles at s =
2L
LC 4L
The pole-zero plot looks like this:
Fig. 13 Pole-zero plot with one zero at origin and two complex conjugate poles
The poles are at positions on the s-plane that show how the circuit would behave if it
were excited by an impulse: this would produce a ringing signal at the frequency
R
t
1
R2
=
2 and decaying exponentially with the factor e 2L .
LC 4L
To qualitatively see the frequency response for an input sine wave draw a signal point
along the ordinate at position j, and imagine changing by moving the point upward
along the axis. Draw a zero-vector from the origin to the signal, and two pole vectors
from the poles to the signal, like this:
j
Signal
6
A resistive voltage divider is a simple example of a circuit that produces a reduced output
voltage for some input. Often, though circuit capacitances spoil the output they may
for example distort an input pulse. An oscilloscope probe is a good example: often there
is a x10 setting on the probe to reduce the voltage fed to the scope input, but the scopes
input capacitance provides an extra unwanted element like C1 in fig. 15A below:
vi
vi
R2
R2
C2
vo
R1
vo
C1
R1
C1
B
H(s) =
R1
1+ s1
(14)
R1
R2
+
1+ s1 1+ s 2
7
What are the poles and zeros for this circuit? With some algebra we can manipulate eq.
(14) to get an s in the numerator and another in the denominator, like this:
H(s) =
R1 (1+ s 2 )
(R1 + R 2 ) + s(R1 2 + R 2 1 )
This says that there is a single zero at s=1/2 and a single pole at s =
R1 + R 2
R1 2 + R 2 1
1
1
where R|| is the parallel combination of R1 and
=
R C
zero
pole
-1/1
x
-1/||
||
||
Matt DOBBS
12.4
Laplace Transform
Recall: we found that we could represent any physically realistic waveform as an infinite
set of sine waves using the Fourier Transform:
F () =
jt
f
(t)e
dt
This constitutes an integral only along the imaginary axis of the s-plane. We could
construct functions elsewhere in the s-plane, which amounts to allowing for an exponential rise or fall of the signal amplitude.
The Laplace transform allows us to decompose any time domain function as components in the s-plane.
Z
Matt DOBBS
12.4.1
Z
1
+jT
f (t) = L (F (s)) =
lim jT estF (s)ds
2j T
where is a real number chosen such that the contour path of integration is in the region
of convergence of F (s). Often = 0 and we can write
1 Z j=+ st
f (t) =
e F ()d
2j j=
The techniques for calculating the iLT are treated in detail in texts on complex variables.
A large number of practical cases can easily be looked up in tables, which will be the
method we use here.
163
Matt DOBBS
12.4.2
Step Function
A step function,
is perhaps the simplest Laplace transform
F (s) =
0 1
estdt =
1
s
Matt DOBBS
12.5
Like the Fourier Transform, the Laplace transform changes a differential equation such
as
dI(t) 1 Z
V = I(t) R + L
+
I(t) dt
dt
C
into an algebraic equation
1
~ st
Ie i(s)
v(s) = R + sL +
sC
Time Domain Frequency Domain
f (t)
F (s)
df
sF (s) f (0)
dt
Rt
F (s)
f
(t)dt
0
s
Calculating circuits in the s-plane using Laplace transforms
1. Calculate the circuit impedances exactly as you would for a group of resistors operating at DC, (or complex impedances at AC), replacing
ZR = R,
ZC = 1/(sC),
ZL = sL
2. For the signal voltage calculate (or look up) the Laplace transform of the time domain
signal v(t).
165
Matt DOBBS
3. The result will be the Laplace transform of some quantity (e.g. i(s) for the current,
vo(s) for the voltage).
4. Calculate (or look up) the inverse LT to get back to the time domain.
All the usual network techniques, including Thevenins theorem, Nortons theorem,
Kirchoffs laws, and superposition apply.
166
Matt DOBBS
12.5.1
C
vout
vin
Matt DOBBS
12.5.2
C
vout
vin
.
s(s + 1/ )
s
s + 1/
and look-up the iLT for each term
vout(t) = a (1 et/ ).
The result is a differentiated signal vout = RC dv/in dt, that becomes correct after the
intial rise time (dictated by the time constant RC).
168
Matt DOBBS
169
Matt DOBBS
170
13
Transmission Lines
Electromagnetic waves (light!) travels at c ' 3 108 m/s in vacuum. The typical
transmission speed for electrical signals on a wire is about 3/4c. As a rule of thumb, the
propagaton rate is about 1 foot per nanosecond.
171
Matt DOBBS
13.1
Consider a wave of arbitrary shape f (x) that begins is initially (t = 0) at the origin and
is travelling in the +x direction with speed c.
An observer moving along with the wave would describe events using the coordinate
x0 = xct, and would simply observet he unchanged function f (x0). In the (x, t) frame,
the equation of this right-moving wave is
y = f (x ct) or y = f (t x/c)
and a left-moving wave would be described
y = f (x + ct) or y = f (t + x/c).
We are often interested in sinusoids (especially since any function can be expressed as
a sum of sinusoids). A right moving sinusoidal wave is
y = A sin t0 = A sin (t x/c) = A sin(t kx)
(and a left moving sinusoid is y = A sin(t + kx).) Using the complex phasor notation,
the right-moving sinusoidal wave becomes
y = Aej(tkx)
this represents a rotating phasorthe sine wave is the projection of this function onto
the real or imaginary axis.
172
Matt DOBBS
For y = f (x ct),
y
2y
0
00
=
f
= f (x ct) and
(x ct)
2
x
x
with denoting the derivative with respect to (x-ct). Similarly
2y
y
2 00
0
=
c
f (x ct).
= cf (x ct) and
2
t
t
Combining these partial derivatives, we arrive at the wave equation
2y
1 2y
= 2 2
2
x
c t
A system which satisfies this equation describes a wave travelling along the x-axis with
speed or propagation c.
173
Matt DOBBS
13.2
Transmission Lines
Information (in the form of waves) is transmitted from one place to another (such as
across a circuit board or from one instrument to another) on transmission lines.
A transmission line might consist of a simple wire, a coaxial cable, or a more complicated system such as a stripline, twisted pair cable, or optical fibre.
Thus far, we have approximated the wires in our circuits as having zero resistance,
capacitance, and inductance. We have not yet considered the transmission time. These
approximations are far from the reality.
A common transmission line is a coaxial cable, like the RG-59 cables often used in
labs to connect to measurement devices.
(source: RG-59 coaxial cable. A: Plastic outer insulation, B: Copper-clad aluminium braid shield conductor, C: Dielectric, D: Copper-clad steel central conductor.
http://en.wikipedia.org/wiki/File:RG-59.jpg)
174
Matt DOBBS
The space between the conductor and shield forms a tubular capacitor, with a dielectric in between. This creates a capacitance per unit length C 0.
The conductor is surrounded by a magnetic field, creating an inductance per unit
length L0.
We will assume resistance per unit length R0 is small and can be neglected, as is
often the case. This is a loss-less transmission line.
The cable can be modelled as an infinite number of infinitely short sections, each with
capacitance C 0 dx and inductance L0 dx,
Since a current flows in each capacitance, there will be a change in the current from
i to i0 due to C 0, i = C dv
dt .
Since a changing current causes a voltage drop across the inductance L0, so there
di
will be a difference in the voltage from v to v 0, v = L dt
.
175
Matt DOBBS
(13.1)
(13.2)
And similarly,
v
i
0
i (i + dx) = C dx
x
t
differentiating with respect to t
i
0 v
= C
x
t
2
2i
0 v
= C 2
xt
t
Combining equations 13.2 & 13.4, we arrive at the wave equation
(13.3)
(13.4)
2
2v
0 0 v
=LC 2
x2
t
176
Matt DOBBS
Characteristic Impedance
Matt DOBBS
the constant is a DC current and is not relevant for the wave description.
The ratio of the amplitude of a single voltage wave to its current wave is
0
v
u
u
u
u
t
L
v
L0
0
= cL = 0 0 =
= Z0.
0
i
C
LC
This new quantity, the characteristic impedance Z0, has units of ohms and appears
as a pure resistance, which may seem surprizing since our model contained no resistive
elements.
The RG62U cable has Z0 = 93.
Naively, one may have guessed that a transmission line would behave like a simple
parallel plate capacitor (created by the conductor and ground). However, if we send a
pulse down the input end of the line it will not all charge up instantaneously, since the
wave moves down the line at a finite speed. Therefore the current flowing into the input
end will be constant (at least until it is affected by reflections on the line).
For a wave sent through a transmission line, normally we wish to have as much power
as possible is absorbed by the load at the far end of the line and as little power as
possible will be reflected back towards the source. This happens when the transmission
line is matched, meaning the load impedance is equal to Z0.
178
Matt DOBBS
13.2.2
Consider a signal sent down a transmission line (schematically, we could suddenly connect a battery to the end of a transmission line, such that this step function in voltage
sends a pulse down the cable).
The line has characteristic impedance Z0.
The signal propagates at speed c = s L10C 0 , charging the inductances and capacitances
as it moves along the line.
Pictorially, a right-going signal produces a V+, I+ moving together down the line:
179
Matt DOBBS
Since the I+ and I currents are moving in opposite directions, |I+| = |I|.
For right-going waves, V+/I+ = +Z0 (current is moving in the +
x direction)
For left-going waves, V/I = Z0 (current is moving in the
x direction).
If the transmission line is lossless (no resistance along the wires or between the wires),
the Z0 is pure real and the transmission line can be terminated by placing a resistor
RL = |Z0| at the end of the line.
(source: John Crawford)
Since the current to voltage ratio is V /I = |Z0| = RL when the signal reaches the end
of the line, Ohms law is satisfied, and all the current can flow through R0, depositing
the entire signal power there (with no reflected power).
In this scenario, the load is properly matched to the cable impedance. In essence,
the signal behaves as if it is flowing down a lossless transmission line, that is connected
to another identical transmission line of infinite length.
13.2.3
Matt DOBBS
(13.5)
I+ + I = IL
and since I = V/R0
V+ V
VL
R0
=
V+ V = VL
R0 R0 RL
RL
and adding & subtracting the above with Eq. 13.5, the voltages of the incident and
reflected waves can be found
VL
R0
,
1 +
V+ =
2
RL
VL
R0
1
V =
2
RL
I
= V
I+
181
Matt DOBBS
13.2.4
Unterminated Cable
the two waves add coherently to produce double the voltage and no current at the
output. The extra voltage is coming from the charge stored in the inductors L0 being
transmitted to the capacitors C 0.
182
Matt DOBBS
13.2.5
Short-circuited Cable
there is no voltage at the output, as expected, since the voltage is flowing across a short.
13.2.6
Reflections
183
Matt DOBBS
and how a single pulse might look after superimposing several reflections
13.3
Two-port S-parameters
(source: http://en.wikipedia.org/wiki/Scattering_parameters)
13.4
184
Dispersion
BUT: Transmission speed low, ~ 40 characters/minute
And speech transmission over long distances was impossible
The culprit: Dispersion- velocity is frequency dependent
The reason: Line resistances
Equations
v
i
= ( L + Ri )
x
t
i
v
= (C + Gv)
x
t
(1)
( 2)
v
= ( jL + R )i (3)
x
i
= ( j C + G ) v ( 4)
x
Differentiate (3) by x and substitute from (4)
2v
2
=
(
j
L
+
R
)(
j
C
+
G
)
v
=
v where = + jk (5)
2
x
Solution:
v = [ Ae
jkx
+ Be e
jkx
]e
jt
(6)
RG
G2
R2
k = LC 1
+
+
2
2 2
2 2
LC
C
L
4
8
8
(7 )
This says that /k (the velocity) is frequency-dependent The higher waves move faster, messing up the received signal.
Solution: Oliver Heaviside (1887): ADD inductances to the
line to make
L/C=R/G
(8)
The bracketed term then becomes = 1!
Then k = LC
and
Matt DOBBS
194
14
Op-amps
195
Ideally:
Gain Ga is infinitely large
Infinite input impedance - No current flows into the V+ (Vp) or V- (Vn) terminals
Infinite Gain Bandwidth Product Can work well at all frequencies
Non-inverting amplifier
Inverting amplifier
Iin= (Vin 0V ) / R1
Vout = 0V R2 * Iin = - ( R2 / R1) * Vin
Note that Iin must also flow through R2
(1)
(2)
(3)
Matt DOBBS
204
Appendix A
Introduction to Circuit Simulation
In class we will use LTSpice version IV (download from http://www.linear.com/
designtools/software/), which is a repackaging of the open-source circuit simulation
tool called SPICE that was originally developed at UC Berkeley. We choose it because
it is available free, and has versions for mac and windows.
Adam Gilbert has prepared a list of tips for using LTSpice, appended on the following
pages.
205
Labelled nets with useful names makes probing them more intuitive.
Types of Simulation
In this course you will be using the Transient and AC analysis.
Transient analysis
To perform a Transient analysis on the toolbar go to Simulate and then Edit Simulation command.
For Mac users you have to press 'S' and then right click the mouse to find the appropriate tool
Once there, for a transient analysis you should set the settings to the following. You must either tick the
box Start external DC supply voltages at 0V or Skip initial operating point solution. Both ticked is
also fine.
If you do not tick one of these boxes, the simulation tool will calculate the DC bias point before starting
the transient simulation so you may end up seeing a simulation that looks like the following:
i.e you missed all the fun stuff at the start the capacitor was already charged to 5V before any points
are plotted.
After clicking OK on the Edit simulation command window, you must left click the schematic to
place the simulation directive.
Note that for the stop time you can enter times in the format: 1ms , 2us instead of 1e-3, 2e-6
AC analysis
To perform an AC analysis , go to the Edit simulation panel and enter simiar details. Make sure to place
the directive on the schematic. You may only have one type of simulation running at a time so if you
have a transient analysis directive on the schematic make sure you either delete it or that it has a semicolon at the front of it.
In the following image you can see that we are performing an AC analysis and that the previous
transient analysis command has been commented out with a ; . Note that this is automatic on the
windows version of Ltspice.
Note also that for a you must have an AC source for the ac analysis to work. To achieve this you should
right click on the source and put a 1 in the box for AC amplitude.
Note also that you can edit the expression that the LTSpice will plot. An an example, you may wish to
calculate the voltage difference across a single component - by labelling both sides it becomes easy.
The expression would be V(netlabel1) V(netlabel2)
Matt DOBBS
(source: http://cds.linear.com/docs/en/product-info/LTspiceIV_flyer.pdf)
212
Appendix B
Equations
EnergyStored : W = 12 CV 2
ZC = 1/(jC)(Fourier space)
ZC = 1/(sC)(Laplace space)
2
= 2f =
T
P = IV
EElectric
V =
q
Inductor:
1Z
V dt
L
n2 A
L=
l
EnergyStored : W = 12 LI 2
V =L
di
,
dt
i=
ZL = jL(Fourier space)
ZL = sL(Laplace space)
EElectric
q
Transformer:
Transformer : V = M
ZR = R(Fourier space)
dI
dt
V1
I2
n1
=
=
V2
I1
n2
ZR = R(Laplace space)
Complex Numbers:
Capacitors:
C=
A
, = 0
d
rej = x + jy,
1 Z
dV
V =
Idt or I = C
C
dt
Qstored = C V
r=
x2 + y 2 ,
j 2 = 1
= arctan
ej = cos + j sin
213
y
x
Matt DOBBS
Fourier Series:
y(x) = b0 +
an sin(nx) +
bn cos(nx)
1 Z 2
sin(nx)y(x) dx
an =
0
1 Z 2
bn =
cos(nx)y(x) dx
0
1 Z 2
b0 =
y(x) dx
2 0
Fourier Transform:
F (f ) =
2y
1 2y
=
x2
c2 t2
f (t)ej2f t dt
f (t) =
F (f )ej2f t dt
F () =
f (t)ejt dt
f (t) =
v
Z0 = =
i
1 Z
F ()ejt d
2
L0
C0
t ' 2
214
Pout
).
Pin
April 11, 2014
Matt DOBBS
215
Matt DOBBS
216
Appendix C
Waterflow Analogy
John Crawfords notes on the waterflow
analogy to electric circuits.
217
kx
If we apply a force F to this mass, making it move in the x direction, we can calculate its
subsequent motion. We assume that the spring force kx acts in the direction shown, as
does air resistance. Here we assume that this viscous resistance is simply proportional to
velocity x ; the coefficient of viscosity is .
The equation of motion for the mass will then be
mx = F x kx
(1)
An LRC Circuit
L
R
i
C
The relation between voltage and current for this circuit is usually written
di
q
+ Ri +
(2)
dt
C
where i is the current flowing in the circuit, and q is the charge on the condenser.
v=L
dq
:
dt
v = Lq + Rq +
Rearranging (1)
(3)
(1')
We can now compare the 2 equations to pick out the analogous quantities:
vF
Lm
R
C 1/k
This says that a voltage is analogous to a force, and inductance to some massive quantity,
a resistance to a viscosity, and a spring to "inverse k". This last quantity appears
frequently in discussions of elasticity, and is defined as compliance. A very compliant
spring is one with a low value of k; a small force would produce a large spring extension.
This still doesn't look much like a current flow. However, if we think about the elements
of a plumbing 'circuit', we can construct a loop with elements that have mass, viscous
resistance, and springiness. It might look like this:
Flywheel
L
Constriction
R
elastic
membrane
i
C
Pump
Accumulator
Reservoir
The corresponding electrical elements are shown to indicate analogous objects. The pump
provides a pressure (the force quantity), the moving massive element is a flywheel, which
spins as fluid passes it, and the resistive element is a constriction in the pipe. The device
on the right is a cylinder with an elastic membrane stretched across it. This acts as an
energy and fluid storage device; in hydraulic engineering it is referred to as an
accumulator.
vc
To get a feeling for the way that the fluid circuit might behave, imagine that the pump
produces a sudden step of pressure, like this:
P
pressure
t
Initially, the inertia of the flywheel would prevent a sudden current flow in the loopthe
full pressure change would appear in the pipe between the pump and the flywheel.
However, in time the flywheel would start to spin, and pressure would then build up
between the flywheel and the resistance. With current flowing, there would be a pressure
drop across the constriction in the pipe proportional to the speed of the current flow. The
flowing current would distort the membrane in the accumulator, and the pressure in this
part of the pipe would steadily increase. Since the membrane prevents continuous flow
back to the reservoir, in its final state the circuit would simply contain fluid at rest, with
pressure everywhere equal to P. However, before this final equilibrium state, the
behaviour of the current would be oscillatory because of the inertial behaviour of the
flywheel. We might expect to see the pressure in the accumulator act like this:
P
pressure
t
In the electric circuit, the behaviour is very similar. When a voltage step V is applied, the
inductance initially produces a 'back emf' equal to the voltage step; this back emf
gradually decreases as current builds up, and as di/dt begins to decrease. The rising
current produces a voltage drop across the resistor. The current flow begins to charge the
capacitor, and the voltage across the capacitor increases.
Charge still continues to flow into the capacitor even after vc has reached the applied step
voltage V. At this point, the current starts to decrease, but does not reversewith di/dt
now negative, the inductive voltage is in the same direction as the generator voltage, and
current keeps flowing into the capacitor. With low resistance, the maximum voltage will
approach 2V when the instantaneous current i finally drops to zero. The subsequent
behaviour will be a damped oscillation. When this finally stops, the voltage throughout
the circuit will be V, and the current flow will be zero. Note that the capacitor does not
allow any steady DC flow in this final state.
Energies
1 2
kx and the electrostatic energy
2
2
1
1 q
1 q2
2
stored by a charged capacitance is CV = C =
. Here again, the capacitance
2
2 C
2 C
behaves like a stretched spring, with C playing the rle of a compliance.
1
The kinetic energy stored by a mass moving at velocity x is mx 2 , and the magenetic
2
1
1
energy stored by an inductance carrying current i is Li2 , or Lq 2 . So again, L is a
2
2
mass-like quantity.
The potential energy stored in a stretched spring is
There are simple and important energy arguments that tell us how Cs and Ls should act
in circuits. Each of these elements stores some energy W, and that energy cannot be
dW
changed instantaneously. If it were possible to do so,
would be infinite. This would
dt
mean that if we dumped the energy from an L or C instantaneously, its pulse amplitude
would be infinite. If we tried to pump energy into an element in zero time, the power
supply would have to supply energy at an infinite rate. In any real circuit, then, it takes
time to change the energy stored.
In simple and explicit terms:
1. You cant instantaneously change the voltage across a capacitor.
2. You cant instantaneously change the current in an inductance.
We can illustrate the usefulness of rule 1 by considering the behaviour of simple series
and parallel combinations of R and C.
Blocking Capacitors
Here is an RC combination often used to connect successive stages of circuits. We show
it with its fluid equivalent. Imagine that a pulse (of pressure in the fluid case, and of
voltage for the electrical circuit) is applied. What happens to the output pressure po
(voltage vo ) on the resistive element?
In the fluid circuit the pressure change on both sides of the membrane at the instant of the
pulse step will be the same. Since there is now a pressure drop across the resistive
element, current will begin to flow. The membrane will start to stretch, storing elastic
energy. If the pulse is sufficiently long, the current will eventually drop to zero, since the
membrane is not supposed to leak.
po
v
p
vo
Now, if the pressure from the pump suddenly drops to zero, the membrane will try to
return to its relaxed position. As it does this, the pressure po will become negative (i.e.,
lower than the reservoir pressure) and fluid will flow backwards. Depending on the pulse
length, the pressure po will look like one of the curves below:
P P
P
P
P
(a)
(b)
(c)
The form of the pulse depends on the actual accumulator and resistive elements used and
on the pulse length. But note that in all cases both the positive and negative steps of the
output are exactly the same height as the amplitude of the applied pressure step P. The
decay during current flow will be exponential.
We will have exactly the same behaviour in the RC circuit. The output pulse vo will have
a step amplitude V for both the positive and negative transitions our rule 1 requires
that this be true. The decaying part of the curve will be exponential in form with time
constant RC. The curves are identical to the diagram above, with vo replacing po .
The capacitor prevents any constant DC (unidirectional) current flow. We can calculate
v
the current flowing in the resistor at any time: by Ohms law it will simply be o . Since
R
no continuous DC can flow only current change this implies that the area under the
positive portion of the vo curve (which represents the charge flowing) must be equal to
the area under the negative portion.
Because the capacitor blocks DC current flow (hence the name blocking capacitor), it
isolates the DC voltages on its left and right side but allows voltage variations to pass.
The general rule for designing such a blocking capacitor in signal applications is to
choose a time constant RC>>the time for signal variation (e.g., the length of an input
pulse). The output pulse in this situation would look like the picture (c) above.
Often we deal with sinusoidal waveforms (or Fourier superposition of sines). In such
cases, if we want most of the generator voltage to appear across the resistor, we should
choose the capacitive impedance Zc <<R. The capacitor still blocks DC effectively, but
allows the AC signal (i.e., the variation) to pass.
Oscilloscopes are provided with switchable input blocking capacitors. If the scope input
switch is set to DC there is a direct connection from the circuit being probed to the
scopes input amplifier, with some high resistance to ground (ususally ~ 1M).
However, if the input switch is set to AC, a capacitor is connected in series to the input.
This allows you to see variations in the input signal, but it blocks DC voltages.
po
vo
With an input pulse, fluid (charge) fills the accumulator (capacitor), building up pressure
(voltage). Note that rule 1 still tells us what happens to the capacitor: when the input
pulse is applied, the voltage across the C cant change instantaneously, so v c must start at
zero. The initial current flow is therefore limited by the resistor. A solution to the simple
differential equation for this circuit tells us the form of vo after the generator voltage step
V is applied. It is:
t
v o = V 1 e RC
vo
A Bypass Capacitor
In many circuits we see parallel combinations of R and C. Imaging that such a pair is
connected to some constant current generator. This arrangement and its fluid equivalent
are shown below:
Gauge
po
vo
Flow
I
i
Pump
Note that if we want to find the voltage variation vo in response to a step of current I, we
can transform the circuit to its Thvenin equivalent. The circuit would look exactly like
the charging circuit of the previous section, and the output voltage after the initial current
step would just be:
v o = IR 1 e RC
Here, at t=0, the output voltage starts at zero; again rule 1 says that this must be true.
Initially all current flows into the capacitor, and it is only when voltage builds up that the
resistor starts to share some of the current. (In the fluid circuit the accumulator takes all
the initial current flow, and none flows into the restricted branch.) It is only when voltage
has built up to IR that the resistor takes all the current, and the capacitor (which cannot
pass DC) takes none. The initial current in the capacitor in this case bypasses the resistor
hence the name.
If the current generator in this case produces not a voltage step but sinusoidal AC, and the
capacitance is very large, essentially all the current will flow through the capacitive
branch and very little will flow through the resistor. This is the condition corresponding
to Z C = R .