Section 1

Fundamentals of Electrical and Electronic Engineering

Build an unshakeable foundation in electrical theory, core components, circuit laws, and essential measurement tools. This section covers the complete landscape from electron physics to practical breadboard assembly.

Lecture 1

Introduction, Environment Setup & Electronic Components

A foundational overview of the course, lab environment setup, a brief history of electronics from 1899 to today, and a complete introduction to all fundamental electronic components and their schematic symbols.

Brief History of Electronics

Modern electronics traces its origins to 1899 when J. J. Thomson at the University of Cambridge discovered the electron, establishing the physical foundation for all electronic devices. Cathode rays, once thought to be waves, were revealed to be streams of negatively charged particles moving from cathode to anode under high voltage.

Key Historical Milestones

  • 1895–1905: Electron discovery (Thomson), X-rays, radioactivity, and early wireless experiments.
  • 1901: Guglielmo Marconi received the first transatlantic wireless Morse-code signal from Cornwall, England to Newfoundland, Canada — proving radio waves travel beyond the horizon.
  • 1906: Lee De Forest invented the Audion vacuum tube (later the triode): filament (cathode) + plate (anode) + control grid. A tiny grid voltage controlled a much larger current — the birth of amplification.
  • 1906: Greenleaf W. Pickard demonstrated the crystal radio detector using galena and a "cat's whisker" wire — the first hint of semiconductor behavior.
  • 1920: Station KDKA in Pittsburgh launched commercial radio broadcasting.
  • 1946: ENIAC, the world's first large-scale electronic digital computer, was dedicated at the University of Pennsylvania.
  • December 1947: Bardeen, Brattain, and Shockley (Bell Labs) demonstrated the first transistor using germanium. Nobel Prize in Physics 1956.
  • 1958: Jack Kilby (Texas Instruments) and Robert Noyce (Fairchild) independently developed the Integrated Circuit. Nobel Prize in Physics 2000.
  • 1971: Intel introduced the 4004 microprocessor — 2,300 transistors with 10 μm features. Modern Xeon chips exceed 6 billion transistors at under 10 nm.

Analog vs. Digital Electronics

All electronics falls into two fundamental categories that determine how signals are represented and processed.

Digital Electronics

Operates with a limited number of discrete states — almost always just two: LOW (0) and HIGH (1). Voltage ranges define these states:

  • 0 V to 0.4 V → LOW (binary 0)
  • 2.0 V to 5.0 V → HIGH (binary 1)

A digital circuit treats 2 V and 4 V identically because both fall in the HIGH range. Examples: microprocessors, logic gates, counters, memory.

Analog Electronics

Responds to or produces outputs with a continuous range of values. A signal may vary between 0 V and 10 V and could be 1.5 V, 2.8 V, or 7.653 V — theoretically infinitely many possible levels. Examples: amplifiers, filters, oscillators, sensors.

Analog vs Digital Signals — Comparison Table

Property Analog Signal Digital Signal
Value range Continuous (infinite levels) Discrete (usually 0 and 1)
Waveform shape Smooth (sine wave) Square ON/OFF pulses
Noise sensitivity High Low
Processing complexity Can be simpler for physical signals Complex logic, but very powerful
Typical use Audio, RF, sensors, power Computers, phones, data storage
Example Microphone output, thermometer voltage Binary data, clock signal, USB

Schematic & Block Diagrams

Schematic Diagram

Shows every individual component in a circuit and all interconnections using standardized symbols. Required for component-level troubleshooting — isolating and replacing a single defective resistor, capacitor, or IC.

Block Diagram

Shows all functional units of a system and how signals flow between them, without specifying individual components. Used for system-level understanding — for example, a power supply block diagram might show: Transformer → Rectifier → Filter → Regulator → Load.

Analog Circuit Functions

Analog circuits perform named operations on electrical signals (voltages or currents that carry information). A microphone converts voice into a small varying voltage called an audio signal. Each circuit type below is named for the operation it performs.

Circuit Type Function Example Use
AmplifierIncreases signal voltage, current, or powerAudio amplifier, RF amplifier
AttenuatorDecreases signal levelVoltage divider, pad network
RectifierConverts AC to DCPower supply diode bridge
OscillatorConverts DC to AC (self-sustaining)Clock generation, radio carrier
FilterRemoves unwanted frequenciesLow-pass, high-pass, band-pass
ComparatorCompares signal to reference voltageZero-crossing detector, ADC
ModulatorAllows one signal to control another's amplitude/frequency/phaseAM/FM radio transmitter
Demodulator / DetectorRecovers information from a modulated signalAM/FM radio receiver
MixerProduces sum and difference frequencies of two inputsSuperheterodyne radio
RegulatorHolds voltage or current constant despite load changesLM7805 voltage regulator
Sensor/TransducerConverts physical quantity into electrical signalThermistor, microphone, photodiode
TimerControls or measures time intervals555 timer IC
IntegratorSums signal over a time intervalOp-amp integrator circuit
DifferentiatorResponds to rate of signal changeHigh-pass filter, edge detector
MultiplexerRoutes many signal sources to one outputMulti-channel data acquisition
DemultiplexerRoutes one signal to many outputsAddress decoder, bus routing

Resistors

A resistor is a passive electronic component that limits or controls the flow of electric current in a circuit. It is the most fundamental passive component in electronics. The unit of resistance is the Ohm (Ω).

What Resistors Do

  • Reduce current flow (current limiting)
  • Drop voltage across themselves (voltage division)
  • Protect sensitive components (e.g., limiting current into an LED)
  • Control signal levels and set bias points
  • Convert current into measurable voltage (shunt resistors)

Types of Fixed Resistors

Type Construction Key Characteristic Application
Carbon Composition Carbon dust or graphite paste Low cost, high noise Hobby circuits, audio vintage gear
Metal Film Thin metal film on ceramic rod High precision, low noise Precision amplifiers, instrumentation
Metal Oxide Film Metal oxide on ceramic Good temperature stability Power supplies, industrial equipment
Wirewound Resistance wire on ceramic core Very high power handling Power electronics, motor drives
SMD (Surface Mount) Thick/thin film on ceramic chip Tiny, suited for PCB reflow Consumer electronics, mobile devices

Variable Resistors

Potentiometer (3-Terminal)

A potentiometer has three terminals: Terminal 1 (one end of resistive track), Terminal 2 — the movable wiper, and Terminal 3 (other end of resistive track). Turning the wiper changes the ratio of R1 to R2 along the track.

Function: Acts as a voltage divider. Output voltage is proportional to wiper position.

Vout = Vin × R₂ / (R₁ + R₂)

Applications: Audio volume control, brightness/contrast adjustment, calibration circuits, joystick position sensing.

Rheostat (2-Terminal)

A rheostat uses only two of the potentiometer's three terminals — one end and the wiper — making it a simple variable series resistance. Rheostats typically handle higher currents than potentiometers.

Applications: Motor speed control, light dimmers, heating element control.

Capacitors

A capacitor is a passive electronic component that stores electrical energy in an electric field between two metal plates separated by an insulating material called the dielectric. The unit of capacitance is the Farad (F).

What Capacitors Do

  • Store and release energy quickly (energy buffer)
  • Block DC while allowing AC to pass (coupling)
  • Smooth rectified voltage (filter capacitor in power supplies)
  • Form timing circuits with resistors (RC networks)
  • Tune resonant circuits with inductors (LC tanks)
  • Bypass high-frequency noise to ground (decoupling)

Types of Capacitors

Type Key Property Polarity Typical Range
Electrolytic (Aluminum) High capacitance, lower voltage Polarized (+/−) 1 µF – 100,000 µF
Ceramic (MLCC) Small, stable, high frequency Non-polarized 1 pF – 100 µF
Film (Polyester/Polypropylene) Stable, low loss, precision Non-polarized 1 nF – 100 µF
Tantalum Compact, stable, higher cost Polarized (+/−) 0.1 µF – 1000 µF
Variable (Trimmer) Adjustable capacitance Non-polarized 1 pF – 100 pF
Supercapacitor (EDLC) Extremely high capacitance, low voltage Polarized 0.1 F – 3000 F

Key Capacitor Formulas

  • Q = C × V — Charge stored = Capacitance × Voltage
  • E = ½ × C × V² — Energy stored in joules
  • Xc = 1 / (2π × f × C) — Capacitive reactance (opposition to AC)
  • τ = R × C — RC time constant (time to charge to 63.2%)
  • Series: 1/C_total = 1/C₁ + 1/C₂ + …
  • Parallel: C_total = C₁ + C₂ + …

Inductors & Transformers

An inductor is a passive component that stores energy in a magnetic field when current flows through it. Typically a coil of wire, sometimes wound on a ferrite core. The unit of inductance is the Henry (H).

Key Inductor Behavior

  • Opposes sudden changes in current (inductive reactance)
  • When the switch closes: current rises gradually (not instantly)
  • When the switch opens: inductor generates a high-voltage spike to sustain current — called inductive kickback
  • Passes DC, opposes AC (opposite of capacitor behavior)

Inductor Formulas

  • V = L × dI/dt — Voltage across inductor = Inductance × Rate of current change
  • E = ½ × L × I² — Energy stored in magnetic field
  • X_L = 2π × f × L — Inductive reactance (increases with frequency)
  • Series: L_total = L₁ + L₂ + …
  • Parallel: 1/L_total = 1/L₁ + 1/L₂ + …

Transformers

A transformer transfers electrical energy between two circuits using electromagnetic induction. It can step voltage up or down. It works ONLY with AC — alternating current creates the changing magnetic field required.

Parts: Primary coil (input), Secondary coil (output), Magnetic core (iron or ferrite).

Vs / Vp = Ns / Np = Ip / Is

Where V = voltage, N = number of turns, I = current. p = primary, s = secondary.

Types: Step-up (Ns > Np, voltage increases), Step-down (Ns < Np, voltage decreases), Current Transformer (CT — measures high currents safely), Voltage Transformer (VT/PT — measures high voltages safely).

Diodes — Introduction

A diode is an active semiconductor device with two terminals — Anode (A) and Cathode (K). Its primary function is to allow current to flow in only one direction (anode → cathode) while blocking reverse flow.

Types of Diodes

Type Symbol ID Key Feature Application
Rectifier Diode1N4007Converts AC to DC; ~0.7 V dropPower supplies, bridge rectifiers
Schottky Diode1N5819Low forward drop (~0.3 V), fast switchingHigh-frequency, switch-mode supplies
Zener Diode1N4733Operates in reverse breakdown at fixed voltageVoltage regulation, reference circuits
LEDVariousEmits light when forward biasedIndicators, displays, lighting, remote controls
PhotodiodeVariousConverts light into electrical currentOptical sensors, fiber optic receivers
TVS DiodeVariousAbsorbs transient voltage spikesESD protection, surge suppression
Varactor DiodeVariousVoltage-controlled capacitanceVCO tuning circuits, RF

Transistors — Introduction

A transistor is a semiconductor device used to amplify, switch, or control electronic signals. It is the fundamental building block of all modern digital and analog electronics. Invented at Bell Labs in December 1947.

Main Transistor Types

  • BJT (Bipolar Junction Transistor): Terminals — Emitter, Base, Collector. Current-controlled device. NPN (most common) or PNP. Used in amplifiers and switching.
  • MOSFET (Metal-Oxide-Semiconductor FET): Terminals — Source, Drain, Gate. Voltage-controlled device. Extremely common in digital and power electronics.
  • JFET: Junction FET, used in low-noise input stages.
  • IGBT: Combines MOSFET and BJT features. Used in motor drives and inverters.
  • Darlington Pair: Two BJTs cascaded for very high current gain.
  • Phototransistor: Light-controlled transistor for optical applications.

Integrated Circuits — Introduction

An Integrated Circuit (IC) is a miniaturized electronic circuit fabricated on a single semiconductor substrate (usually silicon). It combines transistors, resistors, capacitors, and diodes into one tiny package, dramatically reducing size, cost, and power consumption.

IC Classification

  • Analog ICs: Signal amplification and processing (op-amps, voltage regulators, comparators).
  • Digital ICs: Logic operations (microprocessors, memory, logic gates).
  • Mixed-Signal ICs: Combine analog and digital (ADCs, DACs, microcontrollers with ADC peripherals).

Common applications: Computers, smartphones, communication systems, audio/video equipment, control and automation systems, medical devices, automotive electronics.

Lecture 2

Characteristics of Electricity: Voltage, Current, Resistance, AC & DC, Conductance, Power

A deep dive into the fundamental electrical quantities that govern every circuit. Understanding these characteristics is the prerequisite for all circuit analysis.

What is Electricity?

Electricity is energy carried by moving electric charges. When there is a difference in electric charge between two points, electrons (tiny negatively charged particles) move through a conductor to equalize it. This movement of charge is what we call electric current.

Why Electricity Matters to Engineers

  • Does useful work: Converts to motion (motors), heat (heaters), and light (LEDs, lamps).
  • Efficient transmission: Can travel long distances through wires with minimal loss at high voltage — one power plant supplies entire cities.
  • Enables communication and technology: Computers, phones, radio, radar, medical instruments all rely on controlled electrical signals.

Voltage (Electric Potential)

Voltage (also called electric potential difference, electromotive force, or EMF) is the energy available to move electric charges between two points. Think of it as electrical pressure — the higher the voltage, the stronger the push on electrons.

Voltage Formula

V = W / Q

Where: V = voltage (volts, V) | W = energy/work (joules, J) | Q = electric charge (coulombs, C)

1 Volt = 1 Joule per Coulomb — one volt delivers one joule of energy to every coulomb of charge passing through.

Important Concepts

  • Voltage is always measured between two points — it is a differential quantity, never absolute.
  • We choose a reference point called Ground (0 V) to define all other node voltages.
  • Node voltage: voltage at a point relative to ground (e.g., Va = 10 V, Vb = 5 V).
  • Voltage between two nodes: Vab = Va − Vb = 10 − 5 = 5 V

Electric Field and Voltage

An electric field exists wherever charges create a force on other charges. The field points from positive (high potential) to negative (low potential). Between capacitor plates, the field is uniform. The electric field is the negative gradient of electric potential — stronger fields mean voltage changes more rapidly with distance. Units: V/m (volts per meter) or N/C (newtons per coulomb).

Electric Current

Electric current (I) is the flow of electric charge through a conductor. Current is measured in Amperes (A). 1 ampere equals 1 coulomb of charge passing a point per second.

Current Formula

I = Q / t

Where: I = current (amperes, A) | Q = charge (coulombs, C) | t = time (seconds, s)

One coulomb = 6.238792 × 10¹⁸ electrons.

Conventional Current vs Electron Flow

Type Direction Note
Conventional Current (I) + terminal → − terminal (high to low potential) Used in all circuit analysis and schematics
Electron Flow − terminal → + terminal (low to high potential) Physical reality in metal conductors

The conventional direction was defined before electrons were discovered. Engineers kept it for consistency. Always use conventional current direction in circuit analysis.

Resistance & Conductance

Resistance (R) is a material's opposition to the flow of electric current. All real conductors have some resistance. Unit: Ohm (Ω).

Conductors vs Insulators

  • Conductors (copper, aluminum, gold, silver): One loosely bound valence electron per atom that moves freely — low resistance. Copper is the most widely used conductor in electronics wiring.
  • Insulators (rubber, glass, plastic, air): Tightly bound outer electrons, full valence bands, no free electrons — very high resistance.
  • Semiconductors (silicon, germanium): Resistance between conductors and insulators; can be controlled by doping or electric fields — the basis for diodes and transistors.

Conductance

G = 1 / R

Conductance (G) measures how easily current flows. Unit: Siemens (S) (also called mhos, ℧). High conductance = low resistance = easy current flow.

In parallel circuits, total conductance ADDS: G_total = G₁ + G₂ + G₃…

This makes parallel analysis easier — adding more branches always increases total conductance (lowers total resistance).

Electrical-Mechanical Analogy

Property Electrical Fluid (Hydraulic) Thermal
Driving PotentialVoltage (V)Pressure (Pa)Temperature (°C)
Flowing QuantityCharge (C)Fluid (liquid/gas)Heat energy (J)
Flow RateCurrent (A)Flow rate (L/s)Heat flux (W)
OppositionResistance (Ω)Pipe frictionThermal resistance

AC and DC — Alternating and Direct Current

DC — Direct Current

Current flows in only one direction. Voltage remains constant over time. Sources: batteries, solar cells, rectified power supplies. Uses: mobile phones, laptops, electronic circuits.

AC — Alternating Current

Current periodically reverses direction. Voltage and current follow a sine wave pattern. Generated by power stations. Household electricity (120 V / 60 Hz in North America; 230 V / 50 Hz in Europe).

DC Bias on AC Signals

A DC voltage added to an AC signal causes the entire waveform to shift upward or downward from the 0 V reference — called DC offset or DC bias. Formula:

V(t) = V_DC + V_AC(t)

Positive DC bias: waveform shifts above 0 V axis. Negative DC bias: waveform shifts below 0 V axis. Capacitors are used to remove the DC component and pass only the AC signal (AC coupling).

Electrical Waveforms

Waveform Shape Key Property Applications
Sine WaveSmooth continuous curveFundamental AC form; defined by amplitude, frequency, phasePower grid, audio, RF
Square WaveAlternating high/low50% duty cycle; rich in odd harmonicsDigital clocks, PWM
Rectangular WaveUnequal high/low durationsDuty cycle ≠ 50%; used for PWM power controlMotor speed control, PWM
Triangle WaveLinear ramp up/downSymmetrical ramp; 50% duty cycleFunction generators, VCO
Sawtooth WaveSlow rise, fast fall (or vice versa)Rich in harmonics including even; used in music synthesisOscilloscopes, synthesizers
Pulse / TriggerVery narrow spikeVery short mark-to-space ratio; triggers other circuitsThyristor triggers, timers, counters

Sinusoidal Waveform Formulas

  • v(t) = V_peak × sin(ωt + φ) — General sine wave expression
  • ω = 2πf — Angular frequency (radians/second)
  • f = 1/T — Frequency = 1 / Period
  • T = 1/f — Period (time for one complete cycle)
  • V_RMS = V_peak / √2 ≈ 0.707 × V_peak — RMS voltage (effective value for power)
  • V_avg = 0.637 × V_peak — Average value of a half-wave
  • Duty cycle (square wave) = t_on / T × 100%

Electrical Power & Energy

Power (P) is the rate at which energy is used or transferred. Unit: Watt (W). 1 Watt = 1 Joule per second. Understanding power is essential for component selection, heat management, and energy cost calculations.

Power Formulas

  • P = V × I — Basic power formula
  • P = I² × R — Power from current and resistance (Joule heating)
  • P = V² / R — Power from voltage and resistance
  • W = P × t — Energy = Power × Time (joules)
  • kWh = kW × hours — Electrical energy billing unit
  • Battery life: t = Capacity (Ah) / Current (A)

How Components Interact with Energy

  • Supply: Battery, generator — provides energy to circuit.
  • Store: Capacitor (electric field), Inductor (magnetic field) — temporarily hold energy.
  • Dissipate: Resistor — converts electrical energy to heat (Joule heating).
  • Transform/Transfer: Motor (electrical → mechanical), Transformer (AC to AC at different voltage), Speaker (electrical → sound).

RC Circuits — Coupling and Filtering

RC circuits combine resistors and capacitors for filtering, coupling, and timing. A critical concept is capacitive reactance:

X_C = 1 / (2π × f × C)

At low frequency: X_C is large — capacitor blocks the signal. At high frequency: X_C is small — capacitor passes the signal nearly unimpeded.

Typical RC Circuit Roles

  • R1, R2 — Create a DC voltage divider to bias a transistor or amplifier stage.
  • C1 — Coupling capacitor: passes AC signal into the circuit while blocking the DC bias from the source.
  • C2 — Coupling capacitor: passes AC signal to the output while blocking DC from the stage.
  • R3 — Input resistor limiting signal current.
  • R4 — Load resistor at the output.

Engineering Rule: Resistor = controls current. Capacitor = passes AC, blocks DC.

Lecture 3

Laws of Electricity

Master the mathematical laws that govern all circuit behavior — from Ohm's Law through Kirchhoff's Laws. These are the most frequently tested topics in any electronics course.

Ohm's Law

Ohm's Law is the most fundamental relationship in circuit analysis. It states that voltage across a circuit element is directly proportional to the current flowing through it, with the constant of proportionality being resistance.

Ohm's Law — Three Forms

  • V = I × R — Find voltage given current and resistance
  • I = V / R — Find current given voltage and resistance
  • R = V / I — Find resistance given voltage and current

Implications of Ohm's Law

  • Applying current through a resistance produces a voltage drop: V = IR.
  • Applying voltage across a resistance produces a current flow: I = V/R.
  • Current always flows from the higher potential (+) terminal to the lower potential (−) terminal — the passive sign convention.
  • The higher-voltage side of a resistor is marked (+), lower side (−). Current enters at (+).

Series Circuit Analysis

In a series circuit, all components are connected end-to-end in a single path. Current has only one path through the circuit.

Series Circuit Rules

  • The same current flows through every component: I_total = I₁ = I₂ = I₃
  • Total resistance is the sum: R_total = R₁ + R₂ + R₃ + …
  • Voltage drops across each resistor: V = I × R (proportional to resistance)
  • Voltages add up to supply: V_supply = V₁ + V₂ + V₃ (Kirchhoff's Voltage Law)
  • Total power: P_total = V_supply × I = I² × R_total

Voltage Divider Rule

V_x = V_supply × R_x / R_total

The voltage across any resistor in a series circuit is proportional to its resistance relative to total resistance. A larger resistor gets a larger share of the voltage. If R₁ = R₂, each gets exactly half the supply voltage.

Variable output: Replace one resistor with a potentiometer to create an adjustable voltage divider. Replace with a thermistor or LDR for a sensor-based voltage divider.

Parallel Circuit Analysis

In a parallel circuit, components are connected across the same two nodes — each component has its own separate current path.

Parallel Circuit Rules

  • The same voltage appears across every parallel branch: V_total = V₁ = V₂ = V₃
  • Currents add: I_total = I₁ + I₂ + I₃
  • Total resistance is always LESS than the smallest individual resistor
  • Formulas for total resistance:
    • Two resistors: R_total = (R₁ × R₂) / (R₁ + R₂) (product over sum)
    • General: 1/R_total = 1/R₁ + 1/R₂ + 1/R₃…
    • Equal resistors: R_total = R / n (n = number of resistors)

Current Divider Rule (Two Parallel Resistors)

I₁ = I_total × R₂ / (R₁ + R₂) I₂ = I_total × R₁ / (R₁ + R₂)

The smaller resistor carries MORE current. The larger resistor carries LESS current. This is the opposite of the voltage divider where a larger resistor gets more voltage.

Series-Parallel Circuit Analysis

Real circuits combine series and parallel elements. The strategy is to simplify step by step:

  1. Identify purely series groups — add their resistances.
  2. Identify purely parallel groups — apply the parallel formula.
  3. Redraw the simplified circuit and repeat until one total resistance remains.
  4. Find total current using I = V / R_total.
  5. Work backwards through the circuit to find individual currents and voltages.

Kirchhoff's Current Law (KCL)

Formulated by Gustav Kirchhoff in 1845. KCL states that the algebraic sum of all currents at any node (junction) in a circuit is zero. Based on conservation of charge — charge cannot be created or destroyed at a node.

KCL — Kirchhoff's Current Law

ΣI_in = ΣI_out

Equivalently: The algebraic sum of all currents at a node = 0. Currents entering the node are positive; currents leaving are negative (or vice versa, as long as consistent).

Example: If I₁ = 5 A, I₂ = 7 A enter a node, and I₄ = 4 A, I₅ = 8 A leave it: I₃ = 5 + 7 − 4 − 8 = 0 A. KCL is satisfied.

Using KCL

  • Identify all nodes in the circuit.
  • Write a KCL equation for each node (except one reference node).
  • Solve the system of equations for unknown currents.
  • Verify: check that the algebraic sum is zero at every node.

Kirchhoff's Voltage Law (KVL)

KVL states that the algebraic sum of all voltages around any closed loop in a circuit is zero. Based on conservation of energy — energy provided by sources equals energy consumed by loads.

KVL — Kirchhoff's Voltage Law

ΣV = 0

Sum of all voltage rises = Sum of all voltage drops around any closed loop.

Example: 12 V source in a series circuit with R₁=10 Ω, R₂=20 Ω, R₃=30 Ω. Total R = 60 Ω. I = 12/60 = 0.2 A. V₁ = 2 V, V₂ = 4 V, V₃ = 6 V. Check: 12 − 2 − 4 − 6 = 0. ✓

Applying KVL

  1. Choose a starting point in the loop.
  2. Choose a direction to traverse (clockwise or counterclockwise — be consistent).
  3. Moving through a source from − to +: add the voltage (+V).
  4. Moving through a source from + to −: subtract the voltage (−V).
  5. Moving through a resistor in the direction of current: subtract (−IR) — voltage drop.
  6. Moving through a resistor against the direction of current: add (+IR).
  7. Sum all values and set equal to zero.
Lecture 4

Basic Test Equipment

Every electronics engineer must be proficient with test and measurement instruments. This lecture covers the essential tools for measuring, testing, probing, and building electronic circuits.

Digital Multimeter (DMM)

The Digital Multimeter is the most essential and versatile instrument in electronics. It measures voltage (V), current (A), and resistance (Ω) — and most modern units also measure capacitance, frequency, temperature, continuity, and diode forward voltage.

Key DMM Measurement Modes

Mode Symbol Connection Important Notes
DC Voltage V— or DCV Parallel with component Circuit must be powered ON. Very high input impedance (≥10 MΩ).
AC Voltage V~ or ACV Parallel with component Circuit must be powered ON. Reads RMS value for sine waves.
DC Current A— or DCI Series in circuit (break circuit!) Very low input resistance — DO NOT connect in parallel across voltage.
Resistance Ω Parallel, circuit OFF & component lifted Power must be OFF. Component must be out of circuit for accurate reading.
Continuity ))) or diode symbol Across suspected break Beeps if resistance < ~30 Ω. Great for testing wire connections and fuses.
Diode Test Diode symbol Anode to + lead, cathode to − lead Good silicon diode: ~0.55–0.75 V. LED: 1.8–3.5 V. Short: 0 V. Open: OL.

Oscilloscope

The oscilloscope displays voltage waveforms as a function of time, allowing you to observe signal shapes, measure frequency, amplitude, phase shift, rise time, and identify noise or distortion. It is the most powerful diagnostic tool in electronics.

Key Oscilloscope Controls

  • Volts/Div (vertical scale): Sets how many volts each vertical grid division represents. Example: 2 V/div means a waveform spanning 3 divisions = 6 V peak-to-peak.
  • Time/Div (horizontal scale): Sets the time each horizontal grid division represents. Used to measure period and frequency.
  • Trigger: Stabilizes the waveform display by starting the sweep at a consistent point in the signal cycle.
  • Channel selector: Most oscilloscopes have 2–4 channels for simultaneous waveform comparison.
  • Probe attenuation: Most probes are 10X — multiply the scale reading by 10.

Reading an Oscilloscope

  • V_peak-to-peak = divisions × Volts/Div
  • Period T = divisions × Time/Div
  • Frequency f = 1 / T
  • V_RMS = V_peak / √2 (for sine waves only)

Hand Tools & Workshop Equipment

Tool Primary Function Key Usage Tip
Soldering Station (Temperature-Controlled) Permanently joining electronic components to PCB or wire Use 60/40 or 63/37 tin-lead solder (or lead-free for RoHS). Tin the tip before each use. Ideal temp: 300–370 °C for most work.
Hot Glue Gun Mechanical support, strain relief, insulation of loose wires Allow full cure before applying mechanical stress. Not suitable for high-temperature environments (> 80 °C).
Dremel Rotary Tool Cutting, drilling, sanding, engraving enclosures and PCBs Wear eye protection and a dust mask. Use at appropriate RPM for material — too fast melts plastics.
Precision Screwdriver Set Assembling/disassembling electronics; adjusting trimmers and cores Use non-conductive screwdrivers for adjusting live circuits. Phillips, JIS, slotted, and Torx covers most electronics.
Tweezers (ESD-Safe) Placing and removing tiny SMD components Use ESD-safe (grounded) tweezers when handling CMOS ICs and MOSFETs to prevent static damage.
Third Hand Tool Holding components steady during soldering Prevents burns from holding hot components. Essential for through-hole soldering alone.
Self-Adjusting Wire Stripper/Cutter Stripping insulation from wire without nicking the conductor Use the correct jaw for wire gauge (AWG). Nicked conductors reduce current capacity and can break under vibration.
Function Generator Produces sine, square, triangle, sawtooth waveforms for testing circuits Set frequency and amplitude carefully before connecting to circuit. Use 50 Ω termination when driving matched loads.
Lecture 5

Circuit Boards & Motors

From prototype breadboards to production PCBs, and from simple brush motors to advanced brushless and stepper systems — this lecture covers the physical platforms where circuits come to life.

Circuit Boards: Breadboard, Stripboard, PCB

Property Breadboard Stripboard (Veroboard) Printed Circuit Board (PCB)
Soldering required No (plug-in) Yes Yes
Reusability Fully reusable Limited (can desolder) Not reusable
Reliability Low (intermittent contacts) Medium Very high
Typical use Rapid prototyping, education One-off prototypes, repairs Production, final products
Max frequency Low (~1–10 MHz) Medium Very high (GHz)
Cost Low (reusable) Low Higher (setup + manufacture)
SMD components Not supported With adapters only Full SMD support

Breadboard Layout

A standard breadboard has horizontal power rails (usually marked + and −) running along the long edges, and vertical columns of 5 connected holes in the central area. Each column shares a connection — inserting a component lead and a wire in the same column connects them without soldering. Rows are separated by a central gap (for DIP ICs that straddle the gap).

Electric Motors

An electric motor converts electrical energy into mechanical energy (rotation) by the interaction of a current-carrying conductor with a magnetic field. The force on a conductor is:

F = B × I × l

F = force (Newtons) | B = magnetic flux density (Tesla) | I = current (Amperes) | l = conductor length (meters). Direction given by Fleming's Left Hand Rule: Index finger = B field direction, Middle finger = current direction, Thumb = force (motion) direction.

DC Motor Key Concepts

  • Back EMF (Eb): When the armature rotates in the magnetic field, it generates an opposing voltage (Lenz's Law). Eb = V − (Ia × Ra). Back EMF is the self-regulating mechanism — as load increases, speed drops, Eb falls, more current flows, more torque is produced to handle the load.
  • Voltage equation: V = Eb + Ia × Ra
  • Torque ∝ Ia × Φ (flux)
  • Speed ∝ (V − Ia × Ra) / Φ
Property AC Motor Brush DC Motor Brushless DC (BLDC) Stepper Motor
Power supply AC mains DC DC (with controller) DC (pulsed)
Speed control VFD (Variable Frequency Drive) Simple (voltage/PWM) Electronic controller (ESC) Pulse counting (precise)
Maintenance Low Medium (brush wear) Very low (no brushes) Low
Efficiency High Medium Very high Low–medium
Position control Requires encoder Requires encoder Requires encoder Open-loop (step counting)
Typical applications Industrial pumps, fans, HVAC Toys, automotive starters, small appliances Drones, EVs, computers (fans) 3D printers, CNC, robotics

DC Motor Types (by winding configuration)

  • Shunt Motor: Field and armature in parallel. Constant flux → nearly constant speed. Applications: machine tools, pumps, fans. Called a "constant speed" motor.
  • Series Motor: Field and armature in series. Flux ∝ Ia → Torque ∝ Ia². Very high starting torque. Speed drops sharply with load. Applications: electric trains, cranes, hoists. NEVER run a series motor unloaded — it will overspeed and self-destruct.
  • Compound Motor: Both shunt and series field windings. Combines characteristics of both — good starting torque with controlled speed. Applications: elevators, rolling mills, punches.

Power Supply Systems & Rectification

A power supply converts mains AC (120 V or 230 V, 50/60 Hz) into the regulated DC voltages required by electronic circuits. The linear portion connects directly to the AC line or transformer and uses diodes to rectify AC into DC.

Rectifier Types

  • Half-Wave Rectifier: One diode — passes only positive half-cycles. Output is pulsating DC. Simple but inefficient; large ripple voltage.
  • Full-Wave Rectifier (Center-Tap): Two diodes and a center-tapped transformer. Both half-cycles are used. Requires a center-tapped transformer — not always available.
  • Bridge Rectifier: Four diodes arranged as a bridge. Full-wave rectification without center-tapped transformer. The standard for modern power supplies. Current always flows left-to-right through the load regardless of AC polarity.

After rectification, a large filter capacitor (electrolytic) smooths the pulsating DC into near-constant DC. Then a voltage regulator IC (e.g., LM7805 for 5 V) provides precise regulated output.

Section 2

Analog Electronics

Explore the behavior of semiconductor devices — diodes, transistors, and integrated circuits — that form the building blocks of all analog signal processing systems.

Lecture 6

Semiconductors & Diodes

A detailed examination of semiconductor physics and the practical application of diode types in rectifiers, voltage regulators, protection circuits, and signal detection.

Semiconductor Physics

Semiconductors are materials with electrical conductivity between conductors and insulators. The most important semiconductor material is silicon (Si). Silicon has four valence electrons, forming covalent bonds with four neighboring atoms in a crystal lattice.

Intrinsic vs Extrinsic Semiconductors

  • Intrinsic (Pure): Pure silicon. Very few free carriers at room temperature. Conductivity increases with temperature (unlike metals).
  • Extrinsic (Doped): Impurity atoms added to control conductivity.
    • N-type: Doped with pentavalent atoms (phosphorus, arsenic) — adds extra electrons. Free electrons are majority carriers.
    • P-type: Doped with trivalent atoms (boron, aluminum) — creates holes (missing electrons). Holes are majority carriers (behave as positive charges).

The P-N Junction

When P-type and N-type material are joined, free electrons from N-type diffuse across to fill holes in P-type. This creates a depletion region — a zone depleted of free carriers — and a built-in potential barrier (~0.6–0.7 V for silicon).

Biasing the Junction

  • Forward bias: Positive voltage applied to P-side, negative to N-side. Narrows depletion region → current flows freely once forward voltage exceeds barrier (~0.6 V for Si).
  • Reverse bias: Negative voltage to P-side, positive to N-side. Widens depletion region → almost no current flows (only tiny leakage current). If reverse voltage exceeds breakdown voltage, large current flows — useful in Zener diodes, destructive in rectifier diodes.

Diode Applications & Circuits

Half-Wave and Full-Wave Rectification

Diodes are the fundamental AC-to-DC conversion element. The bridge rectifier (4 diodes) is the industry standard — it rectifies both half-cycles without requiring a center-tapped transformer.

Zener Diode Voltage Regulation

A Zener diode operates in reverse breakdown at a precise voltage (Zener voltage, Vz). By connecting a Zener in reverse across a supply rail with a series resistor, the output voltage is clamped to Vz regardless of load variation or supply fluctuation.

R_series = (V_supply − V_Z) / I_Z(min)

Where I_Z(min) is the minimum Zener current for stable regulation (typically 5–10 mA).

LED Current Limiting

LEDs must always have a current limiting resistor in series. The formula is:

R = (V_supply − V_f) / I_f

Where V_f = LED forward voltage, I_f = desired LED current (typically 10–20 mA).

Example: 5 V supply, red LED (V_f = 2 V, I_f = 15 mA): R = (5 − 2) / 0.015 = 200 Ω → Use 220 Ω (next standard value).

Lecture 7

Transistors

Transistors are the fundamental active elements that make amplification and digital logic possible. This lecture covers BJT and MOSFET operation, biasing, and switching circuits.

Bipolar Junction Transistors (BJT)

A BJT is a current-controlled device with three terminals: Base (B), Collector (C), and Emitter (E). A small base current controls a much larger collector current — the fundamental mechanism of amplification.

NPN vs PNP BJT

Property NPN PNP
StructureN — P — N sandwichP — N — P sandwich
Majority carriersElectronsHoles
Conventional current directionC → E (into base to turn ON)E → C (out of base to turn ON)
Most common typeYes (2N2222, BC547, 2N3904)Less common (2N2907, BC557)
ApplicationSwitch, amplifier (most common)High-side switch, complementary pairs

Key BJT Formulas

  • I_C = β × I_B — Collector current = Current gain × Base current
  • I_E = I_C + I_B — Emitter current = Collector + Base current
  • β (hFE) = I_C / I_B — DC current gain (typically 50–500)
  • V_BE ≈ 0.6–0.7 V — Base-emitter voltage when forward biased (silicon)
  • V_CE(sat) ≈ 0.2 V — Collector-emitter voltage in saturation (fully ON)
  • For switching: I_B(min) = I_C(max) / β — ensure transistor is saturated

BJT Operating Regions

Region VBE VBC State Use
Cutoff< 0.6 VReverse biasedOFF (no current)Digital LOW
Active (Forward Active)≈ 0.7 VReverse biasedAmplifying regionLinear amplifiers
Saturation≈ 0.7 VForward biasedON (maximum current)Digital HIGH / switch
Reverse ActiveReverse biasedForward biasedReverse amplificationRarely used

MOSFETs

A MOSFET (Metal-Oxide-Semiconductor Field-Effect Transistor) is a voltage-controlled device with three terminals: Gate (G), Drain (D), and Source (S). The gate voltage controls the channel conductivity via an electric field through an insulating oxide layer. No gate current flows (theoretically infinite input impedance).

N-Channel vs P-Channel MOSFET

Property N-Channel (NMOS) P-Channel (PMOS)
Turn ON conditionVGS > V_th (threshold, typically 2–4 V)VGS < −V_th
Current flowDrain → SourceSource → Drain
Most commonYes (IRF540, 2N7000)Less common
On-resistance (Rds_on)Lower (better for power)Higher
Typical placementLow-side switchHigh-side switch

Enhancement Mode vs Depletion Mode

  • Enhancement Mode: OFF by default. Applying gate voltage turns it ON. Most common in digital and power circuits.
  • Depletion Mode: ON by default. Applying gate voltage turns it OFF. Used in specialized RF and analog circuits.

BJT vs MOSFET Comparison

Property BJT MOSFET
Control typeCurrent-controlledVoltage-controlled
Input impedanceMedium (kΩ)Very high (GΩ)
Drive requirementContinuous base currentOnly gate voltage; no static current
Switching speedSlower (minority carrier storage)Faster (majority carrier device)
NoiseLower noise floorHigher thermal noise at low frequencies
On-state voltage dropV_CE(sat) ≈ 0.2 VI × Rds(on) (can be <0.1 V for power MOSFETs)
Power handlingMediumExcellent (power MOSFETs handle hundreds of amps)
ESD sensitivityModerateVery sensitive — oxide can be destroyed by static
Preferred useLow-noise amplifiers, audio, linear circuitsDigital logic, switching supplies, motor drives, RF power
Lecture 8

Small-Signal Amplifiers

Analyze amplifier configurations, understand gain, biasing, frequency response, and the practical design of BJT and FET amplifier stages.

Amplifier Fundamentals

An amplifier increases the amplitude of an electrical signal. The ratio of output to input is called gain. Small-signal amplifiers operate in the active (linear) region of the transistor's characteristic curves, where small input variations produce proportionally larger output variations.

Gain Definitions

  • A_v = V_out / V_in — Voltage gain (dimensionless ratio)
  • A_i = I_out / I_in — Current gain
  • A_p = P_out / P_in — Power gain
  • A_v(dB) = 20 × log₁₀(V_out / V_in) — Voltage gain in decibels (dB)
  • A_p(dB) = 10 × log₁₀(P_out / P_in) — Power gain in decibels
  • 3 dB point: gain falls to 0.707 × maximum — defines the bandwidth of the amplifier.

BJT Amplifier Configurations

Configuration Common Emitter (CE) Common Base (CB) Common Collector (CC) / Emitter Follower
Input terminalBaseEmitterBase
Output terminalCollectorCollectorEmitter
Common terminalEmitterBaseCollector
Voltage gainHigh (inverted)High (non-inverted)≈1 (non-inverted)
Current gainHigh<1Very high (β+1)
Power gainHighestMediumMedium
Input impedanceMediumLowHigh
Output impedanceHighHighVery low
Phase shift180° (inverted)0°0°
Primary applicationVoltage amplificationRF/high-frequency, current bufferImpedance matching, buffer stage

DC Biasing — Voltage Divider Bias

The most stable BJT biasing method uses a voltage divider (R1, R2) at the base with an emitter resistor (RE). This provides Q-point stability against transistor parameter variations and temperature changes.

Q-point (Quiescent point): the DC operating point. For linear amplification, the Q-point is set in the middle of the active region so the signal can swing equally in both directions without clipping.

Amplifier Frequency Response & Bandwidth

Amplifiers do not work equally well at all frequencies. The frequency range over which gain is within 3 dB of its midband value is called the bandwidth.

  • Lower cutoff frequency (f_L): Set by coupling and bypass capacitors (C increases X_C at low frequencies, reducing gain).
  • Upper cutoff frequency (f_H): Set by internal transistor capacitances (Miller effect) and stray capacitances.
  • Bandwidth = f_H − f_L
  • Gain-Bandwidth Product (GBW): For many amplifier types, A_v × BW = constant. Increasing gain reduces bandwidth.
f = 1 / (2π × R × C)

This is the cutoff frequency of an RC network. Below this frequency, gain falls at −20 dB/decade (6 dB/octave).

Lecture 9

Operational Amplifiers (Op-Amps)

The operational amplifier is the universal analog building block. Master inverting and non-inverting configurations, comparators, integrators, differentiators, and active filters.

Operational Amplifier Fundamentals

An Operational Amplifier (Op-Amp) is a high-gain, direct-coupled differential amplifier with very high input impedance and very low output impedance. It amplifies the difference between its two input terminals. Named "operational" because it was originally designed to perform mathematical operations (add, subtract, integrate, differentiate) in analog computers.

Op-Amp Terminals

  • Inverting input (−): Signal applied here appears inverted (180°) at output.
  • Non-inverting input (+): Signal applied here appears in phase at output.
  • Output: Single-ended output voltage.
  • Positive supply (V+): Typically +5 V to +18 V.
  • Negative supply (V−): Typically −5 V to −18 V (dual supply), or 0 V for single supply.

Ideal Op-Amp Characteristics

Parameter Ideal Value Typical Real Value (e.g., LM741)
Open-loop voltage gain (A_OL)∞200,000 (106 dB)
Input impedance (Z_in)∞2 MΩ
Output impedance (Z_out)075 Ω
Bandwidth∞1 MHz (Unity Gain Bandwidth)
Input offset voltage0 V1–6 mV
Common Mode Rejection Ratio (CMRR)∞90 dB typical

Golden Rules of Op-Amp Analysis (Negative Feedback)

  1. Rule 1 — Virtual Short: The voltage at the inverting input (V−) ≈ voltage at the non-inverting input (V+). The differential input voltage ≈ 0.
  2. Rule 2 — Zero Input Current: No current flows into either input terminal (Z_in ≈ ∞).

These two rules allow quick analysis of any op-amp circuit with negative feedback.

Op-Amp Circuit Configurations

Configuration Gain Formula Phase Key Feature Application
Inverting Amplifier A_v = −R_f / R_in 180° inversion Virtual ground at (−) input Signal inversion and gain, summing amplifier
Non-Inverting Amplifier A_v = 1 + R_f / R₁ 0° (in phase) Very high input impedance Buffering, sensor interfaces
Voltage Follower (Buffer) A_v = 1 0° Very high Z_in, very low Z_out Impedance isolation, current drive
Summing Amplifier V_out = −Rf × (V₁/R₁ + V₂/R₂ + …) 180° Adds multiple input voltages Audio mixing, DAC output stage
Difference Amplifier V_out = (Rf/R₁) × (V₂ − V₁) Varies Amplifies differential signal, rejects common mode Bridge sensors, instrumentation
Integrator V_out = −1/(RC) ∫ V_in dt −90° Output = integral of input Waveform generation, control systems
Differentiator V_out = −RC × dV_in/dt +90° Output = derivative of input Edge detection, rate-of-change measurement
Comparator N/A (open loop) — Output goes HIGH or LOW based on which input is larger Zero-crossing detection, ADC, threshold detection
Lecture 10

Integrated Circuits

A comprehensive look at integrated circuit categories, analog IC examples, and the practical application of common ICs including timers, voltage regulators, and analog signal processing chips.

IC Categories & Families

An IC contains many electronic components fabricated on a single silicon die using photolithographic manufacturing. Modern ICs achieve feature sizes below 10 nm.

IC Classification by Signal Type

Category Function Common Examples Application Areas
Analog ICs Process continuous signals LM741 (op-amp), LM358, LM386 Audio, sensors, instrumentation
Voltage Regulators Provide stable DC output LM7805, LM317, LM1117 Power supplies, microcontroller power
Timer ICs Generate timing signals, PWM, oscillation NE555, NE556 Timers, oscillators, PWM motor control
Comparator ICs Compare voltages, output digital result LM393, LM339 Zero-crossing, window detection
Digital Logic ICs Boolean logic operations 74HC00 (NAND), 74HC04 (NOT), 74HC08 (AND) Digital circuits, microcontroller glue logic
Microcontrollers Programmable compute + I/O + peripherals ATmega328 (Arduino), STM32, PIC Robotics, IoT, automation, consumer electronics
ADC / DAC Convert between analog and digital signals MCP3204, DAC8563, built-in ADC on MCUs Data acquisition, audio, instrumentation
Mixed-Signal ICs Combine analog and digital on same die Most modern microcontrollers IoT sensors, motor controllers

The 555 Timer IC

The NE555 is one of the most versatile and widely used ICs ever produced. It operates in three modes:

  • Astable mode: Free-running oscillator — output continuously alternates between HIGH and LOW. Frequency and duty cycle set by R1, R2, and C.
    f = 1.44 / ((R₁ + 2×R₂) × C) Duty Cycle = (R₁ + R₂) / (R₁ + 2×R₂) × 100%
  • Monostable mode: One-shot timer — produces a single pulse of defined duration when triggered.
    t = 1.1 × R × C
  • Bistable mode: SR flip-flop — set and reset pins control stable HIGH or LOW output.

LM7805 Voltage Regulator

The LM7805 is a classic 3-terminal linear voltage regulator providing a stable +5 V output from any input voltage between 7–35 V. It requires input and output decoupling capacitors (0.1 µF ceramic, 0.33 µF and 1 µF minimum per datasheet). Maximum output current: 1 A. Dropout voltage: ~2 V minimum between input and output.

IC Packaging & Practical Handling

Common IC Package Types

Package Abbreviation Mounting Type Application
Dual In-line PackageDIPThrough-hole (breadboard-friendly)Prototyping, classic ICs (555, LM741)
Small Outline ICSOICSurface mountProduction circuits
Thin Small Outline PackageTSOPSurface mountMemory ICs
Quad Flat PackageQFPSurface mountMicrocontrollers, DSPs
Ball Grid ArrayBGASurface mount (solder balls underneath)CPUs, high-pin-count devices
Transistor OutlineTO-92, TO-220, TO-247Through-hole (power devices)Transistors, regulators, MOSFETs

Decoupling Best Practices

Every IC power supply pin needs a decoupling capacitor placed as close as possible to the pin. Recommended: 100 nF ceramic (for high-frequency noise) in parallel with 10 µF electrolytic (for lower-frequency fluctuations). Decoupling prevents voltage spikes and digital noise from corrupting analog signals on the same board.

Complete Formula Reference

All essential formulas organized by topic for quick exam review.

Fundamental Electrical Formulas

FormulaMeaningUnits
V = I × ROhm's Law — voltageV, A, Ω
I = V / ROhm's Law — currentA, V, Ω
R = V / IOhm's Law — resistanceΩ, V, A
P = V × IPowerW, V, A
P = I² × RPower (from current)W, A, Ω
P = V² / RPower (from voltage)W, V, Ω
W = P × tEnergy = Power × TimeJ, W, s
Q = I × tCharge = Current × TimeC, A, s
V = W / QVoltage = Energy / ChargeV, J, C
G = 1 / RConductanceS (Siemens)

Circuit Analysis Formulas

FormulaMeaningApplication
R_series = R₁ + R₂ + R₃…Total series resistanceSeries circuits
1/R_parallel = 1/R₁ + 1/R₂…Total parallel resistanceParallel circuits
R_two_parallel = (R₁×R₂)/(R₁+R₂)Two resistors in parallelQuick calculation
V_x = V_s × R_x / R_totalVoltage dividerSeries voltage sharing
I_x = I_total × R_other / (R₁+R₂)Current dividerParallel current sharing
ΣI = 0 at any nodeKCLNode analysis
ΣV = 0 in any loopKVLMesh/loop analysis

Reactive Component Formulas

FormulaMeaningNotes
X_C = 1 / (2πfC)Capacitive reactanceDecreases with frequency. Unit: Ω
X_L = 2πfLInductive reactanceIncreases with frequency. Unit: Ω
τ = RCRC time constantTime to charge to 63.2%
τ = L/RRL time constantTime for current to reach 63.2%
V_L = L × dI/dtInductor voltageOpposes current change
E_C = ½CV²Capacitor stored energyJoules
E_L = ½LI²Inductor stored energyJoules
f_resonance = 1 / (2π√(LC))LC resonant frequencyLC tank circuit

Waveform & AC Formulas

FormulaMeaningNotes
f = 1/TFrequency from periodHz, s
T = 1/fPeriod from frequencys, Hz
ω = 2πfAngular frequencyrad/s
v(t) = V_peak × sin(ωt + φ)Sinusoidal voltageGeneral expression
V_RMS = V_peak / √2 ≈ 0.707 × V_peakRMS voltageSine waves only
Levels = 2ⁿADC quantization levelsn = number of bits

Transistor & Amplifier Formulas

FormulaMeaningNotes
I_C = β × I_BBJT collector currentβ = hFE = DC current gain
I_E = I_C + I_BBJT emitter currentKCL at transistor terminals
A_v(CE) ≈ −R_C / r_eCE amplifier voltage gainr_e = 26mV/I_C (small-signal emitter resistance)
A_v(inverting) = −R_f / R_inInverting op-amp gainNegative = 180° phase shift
A_v(non-inv) = 1 + R_f / R₁Non-inverting op-amp gainAlways ≥ 1
A_v(dB) = 20 × log₁₀(V_out/V_in)Voltage gain in dB3 dB = 0.707 ratio
R_LED = (V_supply − V_f) / I_fLED series resistorAlways required
R_Zener = (V_supply − V_Z) / I_ZZener series resistorVoltage regulation circuit

Comparison Tables

Side-by-side comparisons of frequently confused concepts and components.

AC vs. DC

PropertyDC (Direct Current)AC (Alternating Current)
Current directionOne direction onlyPeriodically reverses
VoltageConstantVaries sinusoidally
SourcesBatteries, rectified supplies, solarPower stations, generators, wall outlets
Frequency0 Hz (no frequency)50 Hz (Europe/Asia) or 60 Hz (Americas)
TransmissionInefficient over long distancesVery efficient at high voltage
TransformationNeeds DC-DC converterSimple transformer steps up or down
ApplicationsElectronics, batteries, EVsPower grid, household appliances, motors

Series vs. Parallel Circuits

PropertySeries CircuitParallel Circuit
CurrentSame through all componentsDifferent through each branch
VoltageDivides across componentsSame across all branches
Total resistanceSum: R = R₁ + R₂ + …Less than smallest: 1/R = 1/R₁ + 1/R₂…
Failure effectBreak in any component stops all currentOther branches continue to operate
Christmas lights analogyOld style — one dead bulb kills allModern style — one dead bulb doesn't affect others
Law used for analysisKVL (voltage law)KCL (current law)

BJT vs. MOSFET

PropertyBJTMOSFET
Control mechanismCurrent (IB controls IC)Voltage (VGS controls channel)
Input impedanceLow–medium (kΩ)Very high (GΩ)
Drive circuit complexityNeeds base current sourceSimple — just voltage; no static current
Switching speedSlower (charge storage in base)Faster (majority carrier device)
Noise performanceBetter at low frequenciesBetter at very high frequencies
Power handlingGoodExcellent (power MOSFETs)
Best forLow-noise audio, precision linear circuitsDigital logic, switching, power electronics

Op-Amp Configurations Summary

ConfigGainPhaseZinBest Use
Inverting−Rf/Rin (can be <1)180°= RinPrecise gain, summing
Non-Inverting1 + Rf/R₁ (always ≥1)0°Very high (GΩ)Sensor interface, buffering
Voltage Follower1 (unity)0°Very high (GΩ)Impedance isolation
Summing−Rf/Rn per input180°= Rn per inputMixing, DAC
Differentiator−jwRC+90°= 1/jwCEdge detection
Integrator−1/jwRC−90°HighWaveform shaping

Safety Hub

Electronics safety is non-negotiable. Review these rules before every lab session.

Electrical Safety Fundamentals

  • Current kills, not voltage — but high voltage can drive lethal current through the body. Mains voltage (120/230 V AC) is lethal. Treat all voltages above 50 V AC or 120 V DC as potentially lethal.
  • Always work with one hand when probing live circuits at dangerous voltages — keep the other hand behind your back or in your pocket to prevent current from flowing through your heart.
  • Always discharge large capacitors before working on a circuit that has been powered — they can hold dangerous voltages for minutes or hours after power removal.
  • Use insulated tools when working on live circuits. Never use bare metal tools.
  • Ensure proper earth (ground) connections on all mains-powered equipment.
  • Use a GFI (Ground Fault Interrupter) or RCD (Residual Current Device) outlet in any wet or outdoor environment.

Component-Specific Safety

  • Capacitors: Discharge before handling. Reverse polarity causes rupture or explosion. Never exceed voltage rating.
  • Inductors/Transformers: Inductive kickback can produce hundreds of volts. Always use flyback diodes on inductive loads.
  • LEDs: Always use series resistor. Direct connection to supply destroys the LED instantly.
  • ICs: ESD (Electrostatic Discharge) destroys CMOS and MOSFET gate oxide. Use ESD wrist strap and mat. Store in anti-static bags.
  • Batteries: Short circuit causes extreme heat, fire, and explosion risk (especially lithium). Never short battery terminals. Do not overcharge. Use correct charger.
  • Soldering: Iron reaches 350 °C — causes immediate severe burns. Use a holder. Work in ventilated area — flux fumes are harmful. Wash hands after using lead solder.
  • Motors: Rotating machinery can cause serious injury. Keep clear of moving parts. DC series motor must never run without load.

Troubleshooting Hub

Systematic fault-finding techniques for common circuit problems.

General Troubleshooting Strategy

  1. Observe: Visual inspection first — look for burned components, bad solder joints, wrong component values or orientation, missing connections.
  2. Measure: Check supply voltages at all IC power pins. No supply voltage = nothing works. Simple but often overlooked.
  3. Divide and conquer: Use the block diagram to isolate the faulty stage. Inject a test signal at the input of each stage and measure the output — the stage with wrong output is the problem area.
  4. Replace and test: Substitute suspected bad components one at a time (never multiple simultaneously — you won't know which fixed it).
  5. Verify: After repair, re-test full functionality. Also test edge cases and stress conditions.

Common Fault Symptoms and Causes

SymptomLikely CauseTest Procedure
No output, no current drawOpen fuse, broken wire, dead supplyMeasure supply voltage first. Continuity test all connections.
Excessive current drawShort circuit, reversed polarity capacitor, wrong componentDisconnect load stages one by one to isolate the short. Check polarity of all polarized components.
Output always high or always low (digital)Stuck output, dead IC, missing pull-up/pull-downMeasure VCC at IC. Try replacing IC. Check all pull-up/pull-down resistors.
Oscillation / buzzing in audioGround loop, poor decoupling, feedbackAdd 100nF decoupling to all IC supply pins. Check ground connections. Check for unintended feedback paths.
Circuit works intermittentlyCold solder joint, damaged component leadPress/wiggle components while circuit runs. Reflow all suspicious solder joints.
Wrong gain in amplifierWrong resistor values, feedback resistor openMeasure actual resistor values in-circuit (power off, lift one leg). Check feedback network.
Transistor hot to touchIncorrect biasing, short circuit, wrong transistor typeMeasure VCE or VDS. Check datasheet for correct bias conditions.

Exam Preparation Notes

Focused review for examination success. These are the highest-priority topics.

Must-Know Items for Every Exam

  • Ohm's Law in all three forms: V = IR, I = V/R, R = V/I.
  • Power formulas: P = VI = I²R = V²/R.
  • KCL: Sum of currents at any node = 0.
  • KVL: Sum of voltages in any closed loop = 0.
  • Voltage divider: Vx = Vs × Rx / Rtotal.
  • Current divider (2 resistors): I₁ = Itotal × R₂ / (R₁+R₂).
  • Series resistors add. Parallel conductances add.
  • Silicon diode Vf ≈ 0.7 V. Schottky ≈ 0.3 V.
  • BJT: IC = β × IB. β = hFE = DC current gain.
  • Inverting op-amp gain: Av = −Rf / Rin.
  • Non-inverting op-amp gain: Av = 1 + Rf / R₁.
  • LED resistor: R = (Vsupply − Vf) / If.
  • f = 1/T (frequency from period). T = 1/f.
  • V_RMS = Vpeak / √2 (sine waves only).
  • Xc = 1/(2πfC) — capacitor is a short at high frequency, open at DC.

Frequently Confused Concepts

Concept AConcept BKey Difference
Conventional current (I)Electron flowI flows + to −; electrons flow − to +. Always use conventional current in analysis.
Voltage (V)Current (I)V is the driving force (pressure). I is the result (flow). V causes I.
Resistance in seriesResistance in parallelSeries: R adds, shared current. Parallel: 1/R adds, shared voltage.
RMS voltagePeak voltageVrms = Vpeak/√2. RMS = effective DC equivalent value for power. Peak = actual waveform maximum.
Op-amp open loopOp-amp with feedbackOpen loop: comparator behavior (saturates). With negative feedback: linear amplifier (controlled gain).
BJT active regionBJT saturationActive = amplifying. Saturation = fully ON switch (VCE ≈ 0.2 V). Use active for amplifiers, saturation for switches.
Period (T)Frequency (f)T = time per cycle. f = cycles per second. f = 1/T. Higher f = shorter T.
Capacitor blocks DCInductor blocks ACXc = 0 at high f (shorts AC). XL = 0 at DC (shorts DC). They are frequency opposites.

Practice Quiz Area

Interactive quizzes will be available here. Use the questions below for self-assessment.

Q1. A resistor of 470 Ω is connected to a 9 V battery. What current flows through it?

Show Answer

Using Ohm's Law: I = V / R = 9 / 470 = 0.0191 A ≈ 19.1 mA

Q2. A 100 Ω resistor has 5 V across it. What power does it dissipate?

Show Answer

P = V² / R = 5² / 100 = 25 / 100 = 0.25 W = 250 mW

Verification: I = V/R = 5/100 = 0.05 A. P = I×V = 0.05 × 5 = 0.25 W ✓

Q3. At a node, currents entering are 4 A and 7 A. One current leaves at 6 A. What is the second leaving current?

Show Answer

By KCL: ΣI_in = ΣI_out → 4 + 7 = 6 + I₂ → I₂ = 11 − 6 = 5 A

Q4. An inverting op-amp has Rin = 2 kΩ and Rf = 20 kΩ. What is the gain? If Vin = 0.5 V, what is Vout?

Show Answer

Av = −Rf / Rin = −20,000 / 2,000 = −10

Vout = Av × Vin = −10 × 0.5 = −5 V (inverted)

Q5. Calculate the series resistor for a blue LED (Vf = 3.2 V, If = 20 mA) powered from 5 V.

Show Answer

R = (Vsupply − Vf) / If = (5 − 3.2) / 0.020 = 1.8 / 0.020 = 90 Ω

Use next standard value: 100 Ω (gives slightly less current — safer for the LED).