Basic Electronic Circuits

Introduction to Semiconductors and Atomic Structure

  • Atomic Structure Definition: Atomic structure refers to the arrangement of an atom comprising a nucleus (center) in which protons (positively charged) and neutrons (neutral) are present.
  • Subatomic Particles:     * Protons: Positively charged particles within the nucleus.     * Neutrons: Neutrally charged particles within the nucleus.     * Electrons: Negatively charged particles that revolve around the nucleus in specific regions.
  • Mass and Charge of an Electron:     * Charge: −1.602×10−19 Coulombs-1.602 \times 10^{-19}\,\text{Coulombs}.     * Mass: 9.109×10−31 kg9.109 \times 10^{-31}\,kg.     * Size: Electrons are tiny particles with negligible mass compared to the nucleus.
  • Atomic Constants:     * Atomic Weight: Number of protons+Number of neutrons\text{Number of protons} + \text{Number of neutrons}.     * Atomic Number: Number of protons\text{Number of protons} or Number of electrons in a neutral atom\text{Number of electrons in a neutral atom}.
  • Energy of an Electron:     * The total energy of an electron consists of two types:         1. Kinetic Energy (KE): Due to its orbital motion.         2. Potential Energy (PE): Due to the charge on the electron.     * Formula: Total Energy=EKE+EPE\text{Total Energy} = E_{KE} + E_{PE}.     * Relation to Distance: The energy of an electron increases as its distance from the nucleus increases. Electrons in the outermost orbits possess much higher energy than those in inner orbits.
  • Orbital Representation: Electrons do not move in fixed circular paths. Instead, they exist in regions of space called atomic orbitals where there is a high probability of finding an electron.
  • Commonly Used Orbitals:     * s orbital: Spherical shape; can hold a maximum of 2e−2e^{-}.     * p orbital: Dumbbell shape; can hold a maximum of 6e−6e^{-}.     * d orbital: Cloverleaf shape; can hold a maximum of 10e−10e^{-}.     * f orbital: Complex shape; can hold a maximum of 14e−14e^{-}.
  • Electron Configuration Examples:     * Silicon (Si, 14): 1s22s22p63s23p21s^{2} 2s^{2} 2p^{6} 3s^{2} 3p^{2}. Valence electrons = 44.     * Germanium (Ge, 32): 1s22s22p63s23p64s23d104p21s^{2} 2s^{2} 2p^{6} 3s^{2} 3p^{6} 4s^{2} 3d^{10} 4p^{2}. Rearranged: 1s22s22p63s23p63d104s24p21s^{2} 2s^{2} 2p^{6} 3s^{2} 3p^{6} 3d^{10} 4s^{2} 4p^{2}. Valence electrons = 44.

Energy Band Description

  • Band Formation: When a large number of atoms combine to form a crystal, the interaction between atomic orbitals leads to the formation of energy bands.
  • Essential Energy Bands:     1. Valence Band (VB): The highest energy band that is completely or nearly filled with electrons at absolute zero temperature (0 K).     2. Conduction Band (CB): The band above the valence band where electrons are free to move and contribute to electrical conduction.     3. Forbidden Energy Gap (Band Gap, EgE_{g}): The energy difference between the conduction band and the valence band. No electron states exist in this region. Eg=Ec−EvE_{g} = E_{c} - E_{v}.
  • Critical Energy Levels:     * EcE_{c}: The lowest energy level of the conduction band where electrons are free to conduct.     * EvE_{v}: The highest energy level of the valence band where electrons are bound.     * Function of EgE_{g}: Determines whether a material behaves as a conductor, semiconductor, or insulator. An electron needs at least EgE_{g} energy to jump from VB to CB.

Classification of Materials Based on Conductivity

  • Conductors:     * Materials that easily conduct electrical current.     * Band Structure: The valence band and conduction band overlap.     * Forbidden Gap: No forbidden energy gap exists (Eg=0E_{g} = 0).     * Properties: CB is filled with free electrons at absolute zero (0 K0\,K). Applying an electric field at room temperature results in a large current.     * Examples: Copper, Gold, Silver.
  • Insulators:     * Materials that do not conduct electrical current under normal conditions.     * Band Structure: Valence electrons are tightly bound to the atoms.     * Forbidden Gap: Large energy gap, typically Eg>5 eVE_{g} > 5\,eV.     * Examples: Paper, Rubber, Glass.
  • Semiconductors:     * Materials with electrical conductivity between that of insulators and conductors.     * Pure State: Neither a good conductor nor a good insulator; has very few free electrons.     * Forbidden Gap: Very small energy gap, typically Eg≈1 eVE_{g} \approx 1\,eV.     * Temperature Effects:         * At 0 K: Electrons lack energy to move from VB to CB; the material behaves as an insulator.         * At Room Temperature: Some electrons acquire sufficient energy to jump the gap to the CB, allowing current conduction.     * Specific Band Gaps: Silicon (Eg=1.1 eVE_{g} = 1.1\,eV), Germanium (Eg=0.67 eVE_{g} = 0.67\,eV), Gallium Arsenide (Eg=1.41 eVE_{g} = 1.41\,eV).

Semiconductor Materials classifications

  • Two General Classifications:     1. Elemental Semiconductors: Composed of single elements like Silicon (Si) and Germanium (Ge).     2. Compound Semiconductors: Composed of two or more elements.         * Binary Compounds: Aluminum Phosphide (AlP), Aluminum Arsenide (AlAs), Gallium Phosphide (GaP), Gallium Arsenide (GaAs), Indium Phosphide (InP).         * Ternary Compounds: Aluminum Gallium Arsenide (AlxGa1−xAsAl_{x}Ga_{1-x}As).
  • Silicon vs. Germanium: Silicon is the most used semiconductor in integrated circuits. Germanium's valence electrons are in the 4th shell, farther from the nucleus than Silicon's (3rd shell). This makes Ge electrons require less energy to escape but also makes Ge more unstable at high temperatures.

Classification of Semiconductors

  • Intrinsic Semiconductors:     * A pure semiconductor without impurities.     * Carrier Generation: At room temperature, thermal energy allows some valence electrons to jump to the CB, leaving behind a vacancy called a "hole" in the VB.     * Electron-Hole Pair: For every electron raised to the CB, one hole is left in the VB.     * Carrier Density: The number of conduction electrons (nn) equals the number of holes (pp).
  • Extrinsic Semiconductors:     * Intrinsic semiconductors modified by adding impurities (doping) to increase conductivity.     * P-type Semiconductor:         * Formed by adding trivalent impurities (Acceptors) like Boron (B), Aluminum (Al), or Indium (In).         * Majority Carriers: Holes; Minority Carriers: Electrons.         * Energy Level: Acceptor energy level (EaE_{a}) lies near the valence band.         * Conduction: Occurs mainly due to hole motion.     * N-type Semiconductor:         * Formed by adding pentavalent impurities (Donors) like Phosphorus (P), Arsenic (As), Antimony (Sb), or Bismuth (Bi).         * Majority Carriers: Electrons; Minority Carriers: Holes.         * Energy Level: Donor energy level (EdE_{d}) lies just below the conduction band.         * Conduction: Occurs mainly due to electron motion.

P-N Junction Diode

  • Definition: A two-terminal electronic device formed by doping a single crystal to create adjacent p-type and n-type regions.
  • PN Junction Formation (Zero Bias):     * Diffusion: Due to the concentration gradient, electrons diffuse from n to p, and holes from p to n, creating a diffusion current.     * Recombination: Near the junction, free electrons and holes recombine, leaving behind immobile ions.         * N-region: Leaves positive donor ions.         * P-region: Leaves negative acceptor ions.     * Depletion Region: The area near the junction depleted of free charge carriers.     * Barrier Potential: Fixed ions create an internal electric field that opposes further diffusion and creates a potential barrier.     * Drift Current: Minority carriers move across the junction due to the internal electric field. Electrons in p-region move to n; holes in n-region move to p.     * Equilibrium: At equilibrium, Diffusion Current=−Drift Current\text{Diffusion Current} = -\text{Drift Current}, resulting in zero net current through the diode (ID=0I_{D} = 0).

Current Densities in Semiconductors

  • Diffusion Current Density:     * Jn,diff=qDndndxJ_{n, diff} = qD_{n} \frac{dn}{dx}     * Jp,diff=−qDpdpdxJ_{p, diff} = -qD_{p} \frac{dp}{dx}     * Jdiff=q(Dndndx−Dpdpdx)J_{diff} = q(D_{n} \frac{dn}{dx} - D_{p} \frac{dp}{dx})
  • Drift Current Density:     * Jn,drift=qnμnEJ_{n, drift} = qn\mu_{n}E     * Jp,drift=qpμpEJ_{p, drift} = qp\mu_{p}E     * Jdrift=q(nμn+pμp)EJ_{drift} = q(n\mu_{n} + p\mu_{p})E
  • Total Current Density (JJ):     * Sum of total electron and total hole current densities: J=Jn+JpJ = J_{n} + J_{p}.     * J=IAJ = \frac{I}{A}, where II is current and AA is cross-sectional area.

Biasing Conditions of the P-N Junction Diode

  1. Unbiased (Zero Bias):     * No external voltage is applied (VA=0 VV_{A} = 0\,V).     * ID=0 mAI_{D} = 0\,mA. Depletion width and barrier remain constant.
  2. Forward Bias:     * Positive terminal connected to P-type (anode) and negative terminal to N-type (cathode).     * Potential Barrier: Applied field opposes the built-in field, decreasing the potential barrier and depletion width/resistance.     * Conduction: At low voltage, current is small. Once applied voltage exceeds the barrier potential (0.7 V0.7\,V for Si, 0.3 V0.3\,V for Ge), large current flows.     * Shockley’s Equation: If=Is(eqVDηKT−1)I_{f} = I_{s} (e^{\frac{qV_{D}}{\eta KT}} - 1).
  3. Reverse Bias:     * Negative terminal to P-type and positive terminal to N-type.     * Potential Barrier: Applied field is in the same direction as the built-in field, increasing depletion width and resistance.     * Conduction: Majority carriers are pulled away from the junction. Only a tiny reverse saturation current (IsI_{s}) flows due to minority carriers.     * Temperature Sensitivity: IsI_{s} approximately doubles for every 10∘C10^{\circ}C rise in temperature.

Diode Approximations and Resistances

  • Ideal Diode:     * Forward Bias: Short circuit (ON switch), VD=0V_{D} = 0.     * Reverse Bias: Open circuit (OFF switch), ID=0I_{D} = 0.
  • Practical Diode:     * Forward Bias: Exhibits a cut-in (barrier) potential (VγV_{\gamma}) and forward resistance (RfR_{f}). VD=Vγ+IfRfV_{D} = V_{\gamma} + I_{f}R_{f}.     * Reverse Bias: Exhibits high reverse resistance (RRR_{R}) and saturation current.
  • Static (DC) Resistance: Rdc=VDIDR_{dc} = \frac{V_{D}}{I_{D}} at a specific operating point.
  • Dynamic (AC) Resistance: rd=ΔVDΔIDr_{d} = \frac{\Delta V_{D}}{\Delta I_{D}}.     * Derived from Shockley Equation: rd=ηVTID≈26 mVIDr_{d} = \frac{\eta V_{T}}{I_{D}} \approx \frac{26\,mV}{I_{D}} at room temperature (T=300 KT = 300\,K).
  • Average AC Resistance: Determined by the slope of a line joining minimum and maximum points on the characteristic curve: ravg=ΔVDΔIDr_{avg} = \frac{\Delta V_{D}}{\Delta I_{D}}.

Diode Applications: Rectifiers

  • Rectification: The process of converting AC to DC.
  • Half Wave Rectifier (HWR):     * Converts one half of the AC cycle into DC.     * Output Voltage: Vdc=VmπV_{dc} = \frac{V_{m}}{\pi}.     * RMS Voltage: Vrms=Vm2V_{rms} = \frac{V_{m}}{2}.     * Efficiency (η\eta): 40.6%40.6\%.     * Ripple Factor (rr): 1.211.21.     * Peak Inverse Voltage (PIV): VmV_{m}.
  • Full Wave Rectifier (FWR) - Center-Tapped:     * Uses a center-tapped transformer and two diodes.     * Output Voltage: Vdc=2VmπV_{dc} = \frac{2V_{m}}{\pi}.     * RMS Voltage: Vrms=Vm2V_{rms} = \frac{V_{m}}{\sqrt{2}}.     * Efficiency (η\eta): 81.2%81.2\%.     * Ripple Factor (rr): 0.4820.482.     * PIV: 2Vm2V_{m}.
  • Bridge Rectifier:     * Uses four diodes in a bridge configuration; no center-tap required.     * PIV: VmV_{m}.
  • Filter (Capacitor Filter): Reduces ripples.     * Ripple Voltage (peak-to-peak): Vr(pp)=IdcfCV_{r(pp)} = \frac{I_{dc}}{fC}.

Diode Applications: Clippers and Clampers

  • Clippers: Circuits used to remove (clip) a portion of an input waveform.     * Types: Series, Parallel, Unbiased, and Biased (Positive/Negative).     * Ideal analysis involves determining if the diode is in Forward Bias (acting as short) or Reverse Bias (acting as open).
  • Clampers: Circuits used to shift an input waveform vertically (up or down) by adding a DC level.     * Negative Clamper: Shifts waveform downward; uses a capacitor, diode, and resistor. Peak output clamped to 0 V0\,V. Output approx −2Vm-2V_{m}.     * Positive Clamper: Shifts waveform upward. Peak output approx +2Vm+2V_{m}.     * Biased Clampers: Shift the waveform to a level other than zero, determined by a DC bias voltage VV.

Zener Diode and Voltage Regulation

  • Definition: A heavily doped p-n junction diode designed to operate in the reverse breakdown region without damage.
  • Zener Voltage (VzV_{z}): The precise voltage at which breakdown occurs.
  • Voltage Regulator: Maintains a constant output voltage despite variations in input voltage or load.
  • Analysis Steps:     1. Determine the state of the Zener by calculating Thevenin voltage: Vth=ViRLRs+RLV_{th} = V_{i} \frac{R_{L}}{R_{s} + R_{L}}.     2. If Vth>VzV_{th} > V_{z}, Zener is "ON" (acts as a constant voltage source VzV_{z}).     3. If Vth<VzV_{th} < V_{z}, Zener is "OFF" (open circuit).
  • Power Dissipation: Pz=VzIzP_{z} = V_{z}I_{z}. Must be less than PZMP_{ZM}.

Bipolar Junction Transistor (BJT)

  • Structure: Three terminals: Emitter (E), Base (B), and Collector (C). Two types: NPN and PNP.
  • Doping/Width:     * Emitter: Heavily doped, moderate width.     * Base: Lightly doped, very thin (to minimize recombination).     * Collector: Moderately doped, widest (to dissipate heat).
  • Operating Regions:     * Cut-off: Both junctions Reverse Biased (RB). Acts as "OFF" switch.     * Active: Emitter-Base Junction (JE) Forward Biased (FB), Collector-Base Junction (JC) Reverse Biased (RB). Acts as Amplifier.     * Saturation: Both junctions FB. Acts as "ON" switch.
  • Current Relations:     * IE=IB+ICI_{E} = I_{B} + I_{C}.     * IC=βIB+ICEOI_{C} = \beta I_{B} + I_{CEO}.     * IC=αIE+ICBOI_{C} = \alpha I_{E} + I_{CBO}.
  • Gain Parameters:     * Alpha (Common Base): α=ICIE\alpha = \frac{I_{C}}{I_{E}} (typically 0.95−0.990.95-0.99).     * Beta (Common Emitter): β=ICIB\beta = \frac{I_{C}}{I_{B}} (typically 50−40050-400).     * Gamma (Common Collector): γ=IEIB\gamma = \frac{I_{E}}{I_{B}} (γ=1+β\gamma = 1 + \beta).     * Relation: β=α1−α\beta = \frac{\alpha}{1-\alpha}, γ=11−α\gamma = \frac{1}{1-\alpha}.

BJT Configurations and Biasing

  • Configurations:     * Common Base (CB): Low input impedance, high output impedance, current gain <1< 1. Used for high frequency.     * Common Emitter (CE): Moderate impedances, high voltage and current gain. 180-degree phase shift. Most commonly used for audio signals.     * Common Collector (CC): High input impedance, low output impedance. Voltage gain ≈1\approx 1. Used for impedance matching.
  • Biasing Circuits:     1. Fixed Bias: Simple but least stable. β\beta sensitive.     2. Self Bias (Emitter Stabilized): More stable than fixed bias due to resistor RER_{E}.     3. Voltage Divider Bias: Most stable; output is relatively insensitive to changes in β\beta.

Operational Amplifiers (Op-Amps)

  • Definitions: High-gain differential amplifier with high input impedance and low output impedance.
  • Ideal Characteristics: Av=∞A_{v} = \infty, Zin=∞Z_{in} = \infty, Zout=0Z_{out} = 0, Bandwidth=∞\text{Bandwidth} = \infty, CMRR=∞\text{CMRR} = \infty, Voffset=0V_{offset} = 0.
  • Parameters:     * CMRR: AdAc\frac{A_{d}}{A_{c}} (Differential gain / Common-mode gain).     * Slew Rate (SR): Maximum rate of change of output voltage per unit time. SR=dVodt ∣maxSR = \frac{dV_{o}}{dt} \,| \text{max}.
  • Configurations:     * Inverting Amplifier: Vo=−(RfR1)ViV_{o} = -(\frac{R_{f}}{R_{1}}) V_{i}.     * Non-Inverting Amplifier: Vo=(1+RfR1)ViV_{o} = (1 + \frac{R_{f}}{R_{1}}) V_{i}.     * Voltage Follower: Vo=ViV_{o} = V_{i} (Av=1A_{v} = 1).     * Differentiator: Vo=−RfCdVidtV_{o} = -R_{f}C \frac{dV_{i}}{dt}.     * Integrator: Vo=−1RC∫VidtV_{o} = -\frac{1}{RC} \int V_{i} dt.     * Differential Amplifier: Vo=RfR1(V2−V1)V_{o} = \frac{R_{f}}{R_{1}} (V_{2} - V_{1}).     * Schmitt Trigger: Inverting comparator with hysteresis. Uses positive feedback. Hysteresis voltage VH=VUT−VLTV_{H} = V_{UT} - V_{LT}.

Oscillators

  • Barkhausen Criterion: For sustained oscillations:     1. Closed loop gain magnitude must be unity: ∣Aβ∣=1|A\beta| = 1.     2. Phase shift around the loop must be 0∘0^{\circ} or 360∘360^{\circ}.
  • RC Phase Shift Oscillator: Uses three RC stages, each providing 60∘60^{\circ}. Frequency fo=12πRC6f_{o} = \frac{1}{2\pi RC\sqrt{6}}. Requires ∣A∣≥29|A| \geq 29.
  • Wien Bridge Oscillator: Frequency fo=12πRCf_{o} = \frac{1}{2\pi RC}.
  • Colpitts Oscillator: LC oscillator using two capacitors. fo=12πLCeqf_{o} = \frac{1}{2\pi \sqrt{LC_{eq}}}, where Ceq=C1C2C1+C2C_{eq} = \frac{C_{1}C_{2}}{C_{1} + C_{2}}.
  • Crystal Oscillator: Uses piezoelectric quartz crystal for very high frequency stability. Resonates at two frequencies (series and parallel).

555 Timer Applications

  • Astable Multivibrator (Free Running):     * Continuously switches between high and low states.     * THigh=0.693(RA+RB)CT_{High} = 0.693(R_{A} + R_{B})C.     * TLow=0.693RBCT_{Low} = 0.693 R_{B} C.     * Frequency f=1.44(RA+2RB)Cf = \frac{1.44}{(R_{A} + 2R_{B})C}.
  • Monostable Multivibrator (One-Shot):     * One stable state (Low) and one quasi-stable state (High).     * Pulse width Tu=1.1RCT_{u} = 1.1 RC.
  • Bistable Multivibrator:     * Two stable states. Toggles state based on Trigger (Pin 2) and Reset (Pin 4) inputs.

Data Converters: Analog to Digital (ADC)

  • Sample and Hold (S/H) Circuit: Samples an analog input and holds it constant using a capacitor. Buffers are used to prevent loading and improve tracking accuracy.
  • Single Slope ADC: Compares input voltage against a linearly increasing ramp voltage. A counter measures the time until the ramp equals the input.
  • Successive Approximation ADC (SAR):     * Refines binary approximation bit-by-bit from MSB to LSB.     * Requires nn clock cycles for an nn-bit conversion.     * Example: 4-bit ADC with Vref=16 VV_{ref} = 16\,V and Vi=11.2 VV_{i} = 11.2\,V results in digital code 10111011.