Analog Electronics (Electronics)
Diodes, transistors, amplifiers, op-amps, filters.
Analog Electronics (Electronics) — Overview
Diodes, transistors, amplifiers, op-amps, filters.
Analog electronics is where raw alternating current becomes the clean, amplified, stable signals that power every device from your smartphone charger to a radio receiver — and RRB JE, diploma, and GATE exams test these circuits precisely.
Definition: A diode is a two-terminal semiconductor device that allows current to flow primarily in one direction (forward bias); it acts as a one-way valve for electric current.
Definition: A transistor is a three-terminal semiconductor device used to amplify or switch electronic signals; a small input current or voltage controls a much larger output current.
Definition: An operational amplifier (op-amp) is a high-gain, differential-input voltage amplifier used as a fundamental building block for analog signal processing.
Diodes — The One-Way Gate
A p-n junction diode is formed by joining p-type and n-type semiconductors. At the junction, a depletion region forms. Under:
- Forward bias (positive to p, negative to n): depletion region narrows, current flows freely above the threshold voltage (~0.6–0.7 V for silicon, ~0.2–0.3 V for germanium).
- Reverse bias: depletion region widens, very little current flows until breakdown voltage is reached.
Special diodes:
| Diode | Key property | Application |
|---|---|---|
| Zener diode | Operates in controlled reverse breakdown at V_Z | Voltage regulation |
| LED (Light Emitting Diode) | Emits photons when forward biased | Displays, indicators |
| Photodiode | Generates reverse current proportional to light intensity | Light sensors, optical communication |
| Schottky diode | Very low forward voltage drop (~0.2 V), very fast switching | High-frequency rectifiers |
| Varactor (Varicap) | Junction capacitance varies with reverse voltage | Tuning circuits |
Rectifiers — AC to DC Conversion
Half-wave rectifier: one diode conducts on positive half-cycle only. Output: pulsating DC with frequency = input frequency. Efficiency ≈ 40.6%. Ripple factor = 1.21.
Full-wave rectifier (centre-tap): two diodes alternately conduct. Output frequency = 2 × input frequency. Efficiency ≈ 81.2%. Ripple factor = 0.48.
Bridge rectifier (most common): four diodes arranged in a bridge. No centre-tap transformer needed. Output frequency = 2 × input. Same efficiency as full-wave centre-tap. Ripple factor = 0.48.
Capacitor filter: a large capacitor in parallel with the load smooths pulsating DC by storing charge during peaks and releasing during troughs. The ripple voltage V_r ≈ V_m/(2fRC) for a full-wave rectifier.
Voltage regulators: 78xx series (positive: 7805 = +5 V, 7812 = +12 V); 79xx series (negative). These IC regulators maintain constant output despite load or input variation.
Real-world example: Your mobile charger contains exactly this chain — transformer steps 230 V AC down to about 12 V, bridge rectifier converts to pulsating DC, capacitor smooths it, and a regulator IC (or switching circuit) holds it at 5 V for USB charging.
Bipolar Junction Transistors (BJT)
A BJT has three terminals: Emitter (E), Base (B), Collector (C). Two types: NPN and PNP. In NPN, electrons are majority carriers; current flows Collector → Emitter when base is forward biased.
Operating regions:
- Active region: B-E junction forward biased, B-C junction reverse biased. Used for amplification.
- Saturation region: both junctions forward biased. Transistor is fully "ON" (like a closed switch).
- Cutoff region: both junctions reverse biased. Transistor is fully "OFF" (like an open switch).
Current relationships:
- I_E = I_B + I_C
- β (hFE) = I_C / I_B (common-emitter current gain, typically 50–300)
- α (hFB) = I_C / I_E (common-base current gain, typically 0.95–0.99)
- Relation: β = α/(1−α) and α = β/(β+1)
:::compare BJT Configurations
| Configuration | Input | Output | Voltage gain | Current gain | Power gain | Phase shift | Use |
|---|---|---|---|---|---|---|---|
| Common Emitter (CE) | Base | Collector | High (moderate) | High | Highest | 180° | General amplifier |
| Common Base (CB) | Emitter | Collector | High | < 1 | Moderate | 0° | HF amplifier |
| Common Collector (CC) / Emitter follower | Base | Emitter | ≈ 1 | High | Moderate | 0° | Buffer, impedance matching |
| ::: |
Common misconception: A transistor does not "create" power when it amplifies. A small base current controls a larger collector current drawn from the power supply (V_CC). The transistor is like a valve that steers energy from the supply — energy comes from V_CC, not from the input signal.
Field Effect Transistors (FET)
FETs are voltage-controlled devices (unlike BJTs which are current-controlled). Very high input impedance (MΩ to GΩ) — ideal for op-amp inputs and sensor interfaces.
- JFET (Junction FET): gate-channel junction is reverse biased; gate voltage controls channel width.
- MOSFET (Metal-Oxide-Semiconductor FET):
- Depletion type: channel exists at zero gate voltage; gate can deplete or enhance it.
- Enhancement type: no channel at zero gate bias; positive gate voltage creates channel (normally OFF).
- MOSFETs are the building blocks of all digital ICs (billions in a single microprocessor).
Terminals: Gate (G), Drain (D), Source (S) — analogous to Base, Collector, Emitter in BJT.
Amplifiers
Amplifier gain: expressed as voltage gain Av = V_out/V_in, current gain Ai = I_out/I_in, or power gain Ap = P_out/P_in. In decibels: A_dB = 20 log(V_out/V_in).
Common-Emitter amplifier circuit: most widely used. Voltage gain Av ≈ −R_C/r_e where r_e = 26mV/I_C (small signal emitter resistance). Negative sign = 180° phase inversion.
Amplifier classes (by biasing/conduction angle):
:::compare Amplifier Classes
| Class | Conduction angle | Efficiency | Linearity | Use |
|---|---|---|---|---|
| A | 360° (full cycle) | ≤ 25% | Excellent | Audio preamplifiers |
| B | 180° (half cycle) | ≤ 78.5% | Poor (crossover distortion) | Push-pull output stages |
| AB | 180°–360° | Moderate | Good | Practical audio amplifiers |
| C | < 180° | > 78.5% | Poor | RF power amplifiers |
| D (switching) | Switches ON/OFF | >90% | Needs filtering | Switch-mode power supplies |
| ::: |
Operational Amplifiers (Op-Amps)
An ideal op-amp has:
- Open-loop gain A_OL = ∞ (real: 10⁵ to 10⁷)
- Input impedance = ∞ (real: MΩ to GΩ)
- Output impedance = 0 (real: 10–100 Ω)
- Bandwidth = ∞ (real: limited by gain-bandwidth product)
Golden rules for ideal op-amp analysis (with negative feedback):
- The two input terminals are at the same voltage (virtual short: V⁺ = V⁻).
- No current flows into either input terminal (infinite input impedance).
Inverting amplifier: Input through R_in to inverting (−) input; R_f from output to inverting input; non-inverting (+) grounded.
Gain = −R_f / R_in (negative = 180° phase inversion)
Non-inverting amplifier: Input directly to non-inverting (+) input; voltage divider R_in and R_f from output to inverting input.
Gain = 1 + R_f / R_in (positive, in-phase)
Unity gain buffer (voltage follower): R_f = 0, R_in = ∞. Gain = 1. Used for impedance matching.
Summing amplifier (inverting): V_out = −R_f(V₁/R₁ + V₂/R₂ + ...). Used in DAC circuits.
Integrator: V_out = −(1/RC) ∫V_in dt. Capacitor replaces R_f. Used in waveform generation.
Differentiator: V_out = −RC(dV_in/dt). Capacitor replaces R_in. Used in edge detection.
Comparator: op-amp without negative feedback (open loop). Output is +V_sat or −V_sat depending on which input is larger. Schmitt trigger adds positive feedback (hysteresis), preventing noise-induced oscillation at threshold.
Filters
Filters select which frequencies pass through and which are blocked.
:::compare Filter Types
| Filter | Passes | Blocks | Key parameter |
|---|---|---|---|
| Low-pass | Low frequencies (< f_c) | High frequencies | Cut-off frequency f_c = 1/(2πRC) |
| High-pass | High frequencies (> f_c) | Low frequencies | Same formula |
| Band-pass | Frequencies near f_0 | Others | Centre frequency, bandwidth |
| Band-stop (Notch) | All except near f_0 | Frequencies near f_0 | Notch frequency |
| ::: |
Active filters (using op-amps) allow gain + filtering with no inductors. Sallen-Key is a common second-order active filter topology. Second-order filter: −40 dB/decade roll-off vs −20 dB/decade for first-order.
Real-world example: The noise-cancelling microphone in Indian Railways station PA systems uses a notch filter to cut the 50 Hz mains hum while passing speech frequencies (300 Hz–3.4 kHz).
Oscillators
An oscillator generates a continuous periodic signal without an external AC input — it takes DC power and converts it to AC.
Barkhausen criterion: for sustained oscillation, the loop gain must equal 1 and the total phase shift around the feedback loop must equal 0° (or 360°).
:::compare Oscillator Types
| Type | Frequency | Stability | Application |
|---|---|---|---|
| RC phase-shift | Audio (up to ~1 MHz) | Moderate | Audio test signals |
| Wien bridge | Audio | Good | Audio oscillators, function generators |
| Hartley LC | RF | Good | Radio transmitters |
| Colpitts LC | RF | Good | Local oscillators, RF |
| Crystal | 1 kHz – 100 MHz | Excellent (±0.001%) | Clocks, frequency references |
| ::: |
Crystal oscillators use the piezoelectric resonance of a quartz crystal — the most stable frequency source at low cost.
:::keypoints Key points
- p-n junction conducts in forward bias; Zener uses reverse breakdown for regulation.
- BJT current gain β = I_C/I_B; three configs: CE (high gain, 180°), CB (HF), CC (buffer).
- α = β/(β+1) and β = α/(1−α).
- Op-amp golden rules: V⁺ = V⁻, zero input current (with negative feedback).
- Inverting gain = −R_f/R_in; non-inverting gain = 1 + R_f/R_in.
- Rectifier efficiency: half-wave 40.6%, full-wave/bridge 81.2%.
- Crystal oscillators are most stable; LC oscillators (Hartley, Colpitts) for RF.
- Barkhausen criterion: loop gain = 1, total phase shift = 0°.
:::
:::memory
"BACE for BJT regions: Both Active, Both Cutoff, Both Emitter/Saturation": Active = BE forward, BC reverse; Cutoff = both reverse; Saturation = both forward. Op-amp gains: "Inverting MINUS, Non-inverting PLUS ONE" — Av = −Rf/Rin vs 1 + Rf/Rin.
:::
:::recap
- Bridge rectifier: 4 diodes, output frequency = 2 × input, ripple factor = 0.48.
- A transistor controls power from the supply — it steers, not generates, energy.
- CE configuration inverts phase (180°); CC and CB do not.
- Op-amp: use virtual short (V⁺ = V⁻) to analyse any negative-feedback circuit.
- Filters: low-pass and high-pass both have f_c = 1/(2πRC).
- Class A is most linear but least efficient; Class AB is the practical audio standard.
:::