Skip to content

Applied electricity

Course notes of Applied electricity by Lecturer 林冠中.

Course information

  • Lecturer: 林冠中 (calculus365(at)yahoo.com.tw)
  • Time: Fri. ABCD
  • Location: EE1-201 Lab
  • Office hour (please make a reservation by email):
  • Mon. 5 pm
  • Tue. evening
  • Fri. after class

TL;DR

  • SI units for electrical circuits:
  • time(t): second
  • current(i): Ampere
  • voltage(v): Volt
  • resistance(r): Ohm
  • power(p): Watt

  • SI prefixes

  • Directionality matters. Negative sign = opposite direction
  • Minus to plus: voltage gain; plus to minus voltage drop
  • Ohm's Law: V = IR
  • Kirchhoff's circuit laws
  • KCL : Σiin=Σiout (on a node)
  • KVL : ΣVdrop=ΣVsupply (around a loop)
  • Power: P=IV

Current

  • Flow of positive charge versus time: i(t)=dqdt
  • 1 Ampere = 1 Coulomb per second

Voltage

  • Change in energy (in Joules) from moving 1 Coulomb of charge
  • 1 Volt = 1 Joule change per Coulomb: V=QC
  • Change in electrical potential (φAφB)
  • Ground: V = 0 (manually set)
  • Vab=VaVb
  • Power supplier (source): pointing from minus (-) to plus (+)
  • Power receiver (load): pointing from plus (+) to minus (-)

Dependent sources

Find where the depending parameter is and note the units. Wikipedia

Power balance

Rule of thumb: supply = load. Beware directionality of both current and voltage across a device.

Resistive circuits, Nodal and mesh analysis

  • Conductance G = 1/R, Unit: Siemens (S)
  • Short circuit: V = 0, R = 0
  • Open circuit: I = 0, G = 0
  • Passive component: R >= 0
  • Parallel circuit: same voltage
  • Serial circuit: same current

Nodal analysis

  • Use Kirchhoff's current laws (current in = current out)
  • Grounding (set V = 0) on one of the node.
  • Super-node (Voltage source): direct voltage difference between nodes, reducing the need to find currents

Loop (mesh) analysis

  • Use Kirchhoff's voltage laws (voltage supplied = voltage consumed)
  • Note that currents add up in common sides of the loops.
  • Super-mesh (Current source): direct current inference in the loop.

Series / parallel circuits

  • Serial: one common point. Rs=R1+R2
  • Parallel: two common points. Rp=R1R2R1+R2
  • Analysis: combining resistors bottom-up.
  • Voltage divider: series resistors
  • Current divider: parallel resistors

Resistor tolerance

  • Last colored ring on the resistor.
  • Need to design some room for the components according to the tolerance (min and max values)

Y-Δ transformation

https://en.wikipedia.org/wiki/Y-%CE%94_transform

  • Δ -> Y: denominator = sum of the three; numerator = product of the twos next to the node
  • Y -> Δ: denominator = the opposite one; numerator = sum of products of two
  • Electric bridge balance: products of the opposite sides are the same
  • central current = 0 => equivalent to open circuit

Question

What is the difference between node and loop analysis?

The principle of superposition

  • Effects of multiple sources could be added (superposition) individually.
  • Remove voltage source = short circuit
  • Remove current source = open circuit

Thevenin and Norton equivalent circuits

Thévenin's theorem

  • Simplifying circuit in a black box from the principle of superposition
  • Find equivalent resistance (RTH) after source removal.
  • Find equivalent open circuit voltage (source) for Thevenin's theorem
  • Or, find equivalent short circuit current (source) for Norton's theorem

For dependent sources

  • Pure dependent sources cannot self-start: VTH = 0
  • Finding RTH requires a probe source: RTH=Vp/Ip
  • I_p : short circuit current with a probe source
  • Like one would do in a an circuit experiment

Maximum power transfer

When RLoad=RTH, the power is maximum $P = V_{TH}^2 / (4R_{TH}) $

Norton's theorem

  • RTH the same as Thevenin
  • ISC : short circuit current instead of open circuit voltage
  • ISC=VOC/RTH

Capacitors and Capacitance

  • i=CdVdt
  • Smooth voltage change
  • At t=0 and uncharged: short-circuit
  • DC steady-state: open-circuit
  • Energy stored: 0.5CV2
  • Series / Parallel: opposite to resistors

Inductors and Inductance

  • v=Ldidt
  • Smooth current change
  • At t=0 and no mag. flux: open-circuit
  • DC steady-state: short-circuit
  • Energy stored: 0.5Li2
  • Series / Parallel: the same as resistors

AC steady-state analysis

  • Periodic signal: x(t)=x(t+nT)
  • Sinusoidal waveform: x(t)=Acos(ωt+ϕ)
  • ω=2πf
  • f=1/T
  • 2π rad = 360 degrees

RMS (Root mean square), effective value

  • Peak = 2 RMS value for sinusoidal current and voltage.

Phase lead / lag

  • Leads by 45 degrees: x(t)=Acos(ωt+45o)
  • Lags by 45 degrees: x(t)=Acos(ωt45o)
  • Pure capacitor + AC circuit: current leads voltage by 90 degrees
  • Pure inductor + AC circuit: current lags voltage by 90 degrees

Complex algebra

  • Euler's formula: ejθ=cos(θ)+sin(θ)
  • Frequency term (ejωt) is usually omitted in favor of angle notation.
  • Multiplication: angle addition; division: angle subtraction for waveforms of the same freq.

Impedance

  • Generalization to resistance in the complex domain
  • The same way in calculations as that in the case of resistance
  • Admittance: Generalization to conductance (reciprocal of impedance)
  • Inductor: ZL=jωL
  • Capacitor: ZC=1/(jωC)
  • Impedance is frequency-dependent. Higher freq: higher impedance from inductors; lower freq: higher impedance from capacitors

Filter

  • Proved from impedance analysis
  • Frequency response: transfer function = gain function
  • Low pass filter: the RC circuit
  • Bode plot: x: input frequency (log scale), y: response (amplitude)

RC, RL, and RLC circuits

  • First, convert it to the equivalent circuit (Thevenin) for further analysis
  • Time constants may be different in charging / discharging due to different circuits

RC transients

  • Voltage is continuous, while current is not.
  • For uncharged capacitor, initial voltage across the capacitor is zero (i.e. short circuit)
  • when charging, it approaches applied voltage. The steady-state is open circuit.
  • Discharging: positive voltage and negative current.
  • Time scale τC=RC
  • Charging transient: vC=EiCR, iC=ERet/τC
  • Discharging transient: vC=V0et/τC, iC=vC/R
  • t/τC>5: > 99% completed charging / discharging

RL transient

  • Current is continuous, while voltage is not.
  • For uncharged inductor, initial current is zero (open circuit); then approaches terminal current upon charging. The steady-state is short circuit.
  • Discharging: positive current and negative voltage (Lenz's law).
  • Time scale τL=L/R
  • Charging transient: vL=Eet/τL, iL=(EvL)/R
  • Discharging transient: vL=I0Ret/τL, iL=I0et/τL

RLC transients

  • Solving series RLC circuit by KVL: VR+VL+VC=E
  • d2Idt2+RLdIdt+ILC=0, due to E is constant (DC)
  • Let I=eλt, λ=R2L\plusmn(R2L)21LC
  • Resonant frequency: ω02=1LC
  • Solving parallel RLC circuit by KCL: the same resonant frequency: ω02=1LC

Damping

  • Overdamping: (R2L)21LC>0
  • Critical damping: (R2L)21LC=0 (decaying faster than overdamping)
  • Underdamping: (R2L)21LC<0, oscillation (+)

Quality factor

Bandwidth

Wikipedia

  • At resonance: ZC and ZL cancel each other out
  • Q=fr/BW
  • BW: Bandwidth
  • Series RLC: Q=1RLC
  • Parallel RLC: Q=R1CL

Steady state power analysis

  • Note and specify the difference between peak values (IM, VM) and the effective (RMS) values.
  • $ p = \frac{V_M I_M}{2}(cos(\theta_v - \theta_i) + cos(2\omega t + \theta_v + \theta_i))$
  • Twice the frequency: 2ωt compared to current and voltage
  • Average power: $V_M I_M cos(\theta_v - \theta_i)/2 = V_{rms} I_{rms} cos(\theta_v - \theta_i) = P_{app} \cdot pf $
    • Apparent power: Papp=VMIM/2=VrmsIrms
    • Power factor: pf=cos(θvθi). The phase difference between voltage and current
    • Purely resistive: p=VMIM/2=VrmsIrms. pf = 1
    • Purely capacitive / inductive: p=pf=0. Does not absorb power on average.
    • For average power, one could calculate the resistive part only.

Maximum power transfer

When ZL=ZTH , Im(ΣZ)= 0,
PL,max=0.5|VOC| 24RTH (Since P=0.5VMIM)

Power factor and complex power

  • p=VMIMcos(θvθi)/2=Papppf. Unit:VA
  • Phase difference = 0 (purely resistive), pf = 1
  • Phase difference = -90 (purely capacitive) or 90 (purely inductive), pf = 0

Active power vs reactive power

S=Pappcos(θvθi)+jPappsin(θvθi)
* Former: active power (P); latter: reactive power (Q)
* |S|=P2+Q2=Papp=VrmsIrms
* P=|S|pf
* For capacitive circuit: Q < 0; inductive circuit: Q > 0

Safety considerations

  • 100 mA to the heart: Ventricular tachycardia and could be fatal
  • Grounding: increase safety by shunt the current away from the user in case of fault
  • Ground fault interrupter(GFI):
    GFI
  • No fault: In current = out current, do nothing
  • Fault: If current is not the same as out, it induces current in the sensing coil and breaks the circuit.
  • Accidental grounding: new path for currents, new hazard.

Magnetically coupled circuits

Mutual inductance

  • Open circuit v2=L21di1dt
  • Two current sources: self inductance plus mutual inductance
  • v1=L1di1dt+L12di2dt
  • v2=L21di1dt+L2di2dt
  • Beware the dot (current direction of the input and output): turn them into standard circuit
  • The linear model states L21=L12=M
  • Mutual inductance in series inductors: Leq=L1+L2±2M
  • Mutual inductance in parallel inductors: Leq=L1L2M2L1+L22M

Energy analysis

  • w=0.5L1I12+0.5L2I22±MI1I2
  • ML1L2, the geometric mean of L1 and L2
  • k=ML1L2, coupling coefficient (0 to 1)

Transformers

  • Iron core, air core, composite core
  • Ideal transformers: no energy loss (Pin = Pout)
  • V1V2=N1N2
  • i1i2=N2N1
  • Z1Z2=(N1N2)2

  • Analysis of simple transformer circuits (PhD qualification exam)

  • Application: AC -> transformer -> rectifier -> filter -> regulator -> DC
  • Practical transformers
  • Leakage of magnetic flux
  • Winding resistance: copper loss
  • Core loss: eddy current, hysteresis
  • efficiency: η=PoutPin

Frequency response

  • Resistive circuit: freq-independent |ZR| = const, θ = 0
  • Inductive |ZL|f, θ = 90
  • Capacitive |ZC|1/f, θ = -90

Series RLC

Zeq=R+jωL+1jωC

|Zeq|=(ωRC)2+(1ω2LC)2ωC

  • Minimal |Zeq| when ω=ω0=1LC (resonant frequency) and Im(Zeq)=0

Bode plot

Wikipedia

  • x-axis: freq (log(f) )
  • y-axis: magnitude (20*log(M), in dB) / phase (in degrees)
  • dB is for power amplification / attenuation
  • dBm = 10logp1mW

Multistage system

  • Amplitude: product of all systems
  • dB: sum of all dB gains

Network transfer function

H(s)=Xout(s)Yin(s)

Thevenin equivalence theorem for finding the gain.

Bandwidth

Dependent on reactive elements (usually RC circuits, inductors are more difficult to handle)

Cutoff frequency: -3dB (0.707x) voltage magnitude (half power)

Quality factor and effective bandwidth

Series RLC: Q=ω0LR=1RLC

Bandwidth (BW) = ω0 / Q = ωhiωlo

ωhiωlo=ω02

Poles and Zeros

Let s=jω (Laplace transform)

For series RLC:
Zeq=R+sL+1sC=s2LC+sRC+1sC

H(s)=K0(sz1)(sz2)...(sp1)(sp2)...

  • K0 : DC term
  • zeros: H(s) = 0
  • poles: H(s) diverges

Filters

  • Low-pass <-> high pass by an RC circuit
  • Band-pass <-> band reject (notch filter) by an RLC circuit or a combination of a low-pass and a high-pass filter

OP-Amp

OP-Amp on Wikipedia

Ideal OP-Amp

Circuit analysis in Ideal OP-Amp

  • VV+
  • i+0
  • Make sure Vout is in the range of supplied voltages.

The rest is Ohm's law and circuit analysis.

More OP-Amp circuits

Multiple input voltages

Principle of superposition. One voltage source at a time.

With energy-storing devices

  • Differentiator
  • Integrator
  • Antoniou Inductance Simulation Circuit

L=C4R1R3R5/R2

Semiconductors

Materials

  • Group IV: Si, Ge
  • Group III + V: GaN, GaAs(P)

Why semi-conductivity

  • Band gap energy difference Eg = Ec - Ev
  • Insulators: > 5 eV
  • Semiconductors: smaller gap, a small amount of electrons escape from valence band to the conduction band
  • Conductors (metal, graphite): overlap (no gap)
  • Direct (III+V) vs indirect (IV) band gaps
  • Direct: could emit photons (LED, photo detector)
  • Indirect: emit a phonon in the crystal
  • The tetrahedral covalent bond crystalline structure for extrinsic (doped) semiconductors

Carriers

  • Electrons (e-) in the conduction band as well as the vacancies in the valence band (holes, h+)
  • For intrinsic semiconductors, motility factor μ: GaN (GaAs) >Ge > Si, parallel with conductivity
  • Enriched by doping (increase both μ and conductivity): making extrinsic semiconductors
  • Doping group V elements (donor impurities): electrons are major carriers (N-type)
  • Doping group III elements (acceptor impurities): holes are major carriers (P-type)
  • N-type semiconductors have higher μ than P-type since electrons have lower effective mass than holes. Thus, N-type is better for high-freq applications. But P-type has dual role, being both resistors and semiconductor switches.

P-N junctions and diodes

P-N junction

Depletion zone

  • Diffusion of major carriers generate an electric field across the boundary
  • A zone with little carriers, high resistance
  • Process a barrier voltage

Applying voltage

  • Forward bias: shrinking depletion zone, high conductivity
  • Reverse bias: widening depletion zone, very low conductivity (essentially open circuit until breakdown)

Shockley equation

ID=IS(exp(V/VT)1),

where VT=kTq=RTF=26mV (Thermal voltage)

  • Forward bias: shrinking depletion zone
  • Reverse bias: widening depletion zone, very low conductivity (essentially open circuit until breakdown)

Three representations of diodes

Assuming there are internal resistance (RD), threshold voltage (VD).
* For VVD, open circuit.
* For VVD, equivalent to a reverse voltage source of VD.

  1. Ideal diodes: RD=0, VD=0. Forward bias: short circuit. Reverse bias: open circuit.
  2. With barrier voltage (Si = 0.6~0.7 V; Ge = 0.2~0.3V): RD=0, VD0.
  3. Practical diodes: RD0, VD0

Diode circuits

Transform diodes into equivalent components.

Source

Rectifiers

Only half wave rectification was covered.

Limiters (cutters)

Filters

When the load resistance is infinite (open circuit): peak detector

When the load resistance is finite:
The more discharging time scale ( τ=RC ), the less ripple voltage. ( VrVpfCR when VrVp )

Voltage regulator using Zener diodes

Zener diode on Wikipedia

  • First unplug the Zener diode and solve the voltage across it.
  • Normally operates in reverse bias. ( VZ = 4-6 V )
  • When applied voltage > VZ: Acts as a voltage source of VZ. Open circuit otherwise.
  • When in forward bias: similar to regular diodes ( VZ = 0.7 V )
  • When breakdown VZ is independent of loading resistance.

BJT

Bipolar junction transistor on Wikipedia

Current control devices.

Symbol

NPN BJT (more common)

PNP BJT (less common nowadays)

  • B: Base
  • C: Collector
  • E: Emitter

Math

  • IC=βIB, β1 (typically 80-180)
  • IE=IC+IB=(1+β)IB
  • BArrier voltage: VBE0.7 Volt for Si BJT. 1.1 V for GaN BJT.
  • ICsatVCC0.2RC+RE
  • βIB=ICICsat

The rest is regular circuit analysis (KCL, KVL).

One could use the fact that IB is very small (μA) compared to other currents (mA).

MOSFET

MOSFET on wikipedia

Voltage control devices.

  • Gate voltage VGS is greater than threshold (Vt): low resistance, (ideally) short circuit.
  • Otherwise, high resistance, (ideally) open circuit.

Comments