ECE249: Basic Electrical and Electronics Engineering
Unit 1: Fundamentals of Electrical Laws, Semiconductor Devices and its Applications
1. Fundamental Concepts of Electrical Engineering
Electrical engineering studies the behavior, transport, and practical utilization of electrical charge carriers—primarily electrons in conductors and semiconductors. Understanding electrical circuits begins with defining the fundamental physical quantities governing all electrical phenomena: charge, electric potential, current, resistance, energy, and power.
1.1 Fundamental Circuit Quantities
- Electric Charge ():
The intrinsic physical property of matter that causes it to experience an electrostatic force in an electromagnetic field. Quantized in units of the elementary electron charge ():
- Electric Current ():
The rate of flow of electric charge through a specified cross-sectional area per unit time. Measured in Amperes ():
- Direct Current (DC): Unidirectional flow of charge with time-invariant magnitude.
- Alternating Current (AC): Periodic bidirectional sinusoidal or periodic waveform whose magnitude and polarity oscillate cyclically.
- Electric Potential and Voltage ():
The energy or work required to move a unit positive test charge between two distinct spatial points in an electric field. Measured in Volts ():
- Resistance () and Conductance ():
The opposition that a material medium presents to the flow of electric current. For a uniform conductor with length , cross-sectional area , and material resistivity :
where is electrical conductivity measured in Siemens per meter (). Conductance is the reciprocal of resistance:
- Electrical Power () and Energy ():
Power represents the instantaneous rate of energy expenditure or absorption:
Energy is the temporal integral of power:
2. Basic Circuit Laws and Network Reduction
Electrical networks consist of active energy sources (independent and dependent voltage and current sources) interconnected with passive linear circuit elements (resistors, inductors, and capacitors).
2.1 Ohm's Law and Its Physical Limits
Formulated by Georg Simon Ohm in 1827, Ohm's Law states that at constant temperature and physical dimensions, the electric current passing through an ideal conductor is directly proportional to the potential difference across its terminals:
- Linear (Ohmic) Devices: Materials whose characteristic is a straight line through the origin (e.g., metallic resistors, carbon composition resistors).
- Non-Ohmic Devices: Materials exhibiting non-linear relationships where resistance varies with voltage, current, or direction (e.g., P-N junction diodes, vacuum tubes, thyristors, thermistors).
2.2 Kirchhoff's Current Law (KCL)
Kirchhoff's Current Law embodies the Principle of Conservation of Electric Charge. At any electrical node (a junction where two or more circuit branches converge), charge cannot accumulate:
CODEI1 (entering) \ \ *------> I2 (leaving) / (Node) / I3 (entering) Equation: I1 + I3 - I2 = 0 => I1 + I3 = I2
2.3 Kirchhoff's Voltage Law (KVL)
Kirchhoff's Voltage Law embodies the Principle of Conservation of Energy. The algebraic sum of all electric potential differences (voltage drops and voltage rises) around any closed loop or mesh in an electrical network is identically zero:
2.4 Resistors in Series, Parallel, and Voltage/Current Dividers
Series Combination and Voltage Divider Rule (VDR):
When resistors are connected in series, the identical current traverses each element. The equivalent resistance is the arithmetic sum:
By KVL, the total applied voltage divides across each resistor in direct proportion to its individual resistance:
For two series resistors and :
Parallel Combination and Current Divider Rule (CDR):
When resistors are connected across two common nodes, the identical potential difference appears across each branch. The equivalent conductance is additive:
For two resistors in parallel:
The total input current divides between the branches in inverse proportion to branch resistance:
2.5 Systematic Circuit Analysis: Mesh and Nodal Methods
1. Mesh Current Analysis (Planar Networks):
- Assign clockwise loop currents to each independent planar mesh.
- Apply KVL around each mesh, accounting for mutual voltage drops across branches shared by adjacent meshes.
- Formulate the matrix equation:
where diagonal elements represent the sum of all resistances in mesh , and off-diagonal elements represent shared resistances.
2. Nodal Voltage Analysis:
- Select one node as the common system ground or reference node ().
- Assign unknown node potentials to all remaining essential nodes.
- Apply KCL at each non-reference node using Ohm's Law branch currents ().
- Solve the resulting linear system:
3. Physics of Semiconductor Materials
Semiconductor materials occupy a crucial electrical resistivity band between conductors (metals with ) and insulators (dielectrics with ).
3.1 Energy Band Theory
Electrons in isolated atoms occupy discrete quantum energy states. When billions of silicon atoms pack into a diamond cubic crystal lattice, valence electron wavefunctions overlap, broadening discrete levels into continuous energy bands:
- Valence Band (): The highest occupied energy band filled with bonded covalent valence electrons at absolute zero ().
- Conduction Band (): The lowest unoccupied band where electrons possess sufficient thermal energy to break free from covalent bonds and accelerate under an electric field.
- Forbidden Energy Gap (): The energy difference separating and , within which no quantum electron states can exist:
- Insulators: (e.g., Diamond , ).
- Semiconductors: (Silicon: at ; Germanium: ; Gallium Arsenide: ).
- Conductors: Overlapping valence and conduction bands ().
CODEInsulator Semiconductor Conductor +---------------+ +---------------+ +---------------+ | Conduction | | Conduction | | Conduction | | Band | | Band | | Band | +---------------+ +---------------+ | (Overlaps) | +-------+-------+ Eg > 5 eV Eg ~ 1.1 eV | Valence | | Band | +---------------+ +---------------+ +---------------+ | Valence | | Valence | | Band | | Band | +---------------+ +---------------+
3.2 Intrinsic Semiconductors and Thermal Generation
An intrinsic semiconductor is a chemically pure crystal with no significant structural defects or foreign impurity atoms (e.g., pure single-crystal silicon).
- At , all four valence electrons of each silicon atom are locked tightly in covalent bonds. The conduction band is completely empty, and the valence band is completely full. Pure silicon acts as a perfect electrical insulator.
- At room temperature (), ambient thermal energy breaks a fraction of covalent bonds, exciting electrons into the conduction band and leaving behind vacant covalent states called holes.
- Hole Concept: A hole behaves as a mobile entity possessing an effective positive charge () and its own characteristic mobility ().
- Carrier Equivalence in Intrinsic Semiconductors:
where is electron concentration, is hole concentration, and is the intrinsic carrier concentration.
For Silicon at : .
3.3 Extrinsic Semiconductors: Doping Principles
Extrinsic semiconductors are created by deliberately introducing precise concentrations of specific foreign impurity atoms into the silicon lattice—a process known as doping. Doping increases electrical conductivity by orders of magnitude without requiring elevated temperatures.
CODE+-----------------------------------------------------------------------------------------+ | Characteristic | N-Type Semiconductor | P-Type Semiconductor | +-------------------------+---------------------------------+-----------------------------+ | Dopant Type | Pentavalent (Group V) | Trivalent (Group III) | | Common Impurities | Phosphorus (P), Arsenic (As), | Boron (B), Aluminum (Al), | | | Antimony (Sb) | Gallium (Ga), Indium (In) | | Role of Dopant | Donor atoms ($N_D$) | Acceptor atoms ($N_A$) | | Extra Energy Level | Donor level $E_D$ near $E_C$ | Acceptor level $E_A$ near $E_V$ | | Majority Carriers | Electrons ($n \approx N_D$) | Holes ($p \approx N_A$) | | Minority Carriers | Holes ($p = n_i^2 / N_D$) | Electrons ($n = n_i^2 / N_A$)| | Net Electrical Charge | Electrically Neutral overall | Electrically Neutral overall| +-----------------------------------------------------------------------------------------+
Mass-Action Law:
In any non-degenerate semiconductor at thermal equilibrium:
This fundamental relation dictates that increasing majority carrier concentration through doping inevitably suppresses the minority carrier population via accelerated recombination.
4. The P-N Junction Diode
When a p-type semiconductor and an n-type semiconductor are joined metallurgically within a single continuous crystal lattice, a P-N junction is formed.
4.1 Formation of the Depletion Region and Built-In Potential
- Diffusion Current: Due to steep carrier concentration gradients across the metallurgical interface, majority electrons diffuse from the n-side into the p-side, while majority holes diffuse from the p-side into the n-side.
- Uncompensated Space Charge: As electrons depart the n-region, they leave behind unneutralized, positively ionized donor impurity cores () locked in the lattice. Similarly, diffusing holes leave behind unneutralized negatively ionized acceptor cores () on the p-side.
- Depletion Region (Space Charge Layer): A narrow region devoid of mobile charge carriers forms across the metallurgical interface, populated exclusively by fixed ionic charges.
- Built-in Electric Field (): The spatial separation of positive donor ions on the n-side and negative acceptor ions on the p-side creates an internal electric field directed from n to p. This field produces a drift current opposing diffusion.
- Thermal Equilibrium: Equilibrium is reached when the drift current driven by the internal electric field exactly cancels the diffusion current:
The resulting potential barrier across the depletion layer is the Built-in Potential ():
where is the thermal voltage ( at ).- Silicon: to
- Germanium: to
CODEP-Region Depletion Region N-Region +---------------------+-----------------------------+---------------------+ | Holes (Majority) | Fixed Acceptors | Fixed Donors| Electrons (Majority)| | | (-) | (+) | | | p | (-) | (+) | n | | | (-) | (+) | | +---------------------+-----------------------------+---------------------+ <------ Built-in Field E (n to p) Barrier Potential Vbi ~ 0.7 V
4.2 Biasing the P-N Junction Diode
CODEP-N Junction Biasing Schemes | +------------------------+------------------------+ | | Forward Bias Reverse Bias (P connected to +, N connected to -) (P connected to -, N connected to +) - Applied V opposes Vbi - Applied V reinforces Vbi - Depletion width narrows - Depletion width widens - Exponential conduction above 0.7 V - Negligible reverse saturation current Is
- Forward Bias ():
- The positive external terminal connects to the p-type anode and the negative terminal to the n-type cathode.
- The applied external electric field directly opposes the built-in barrier field, lowering the potential barrier to .
- The depletion layer width narrows substantially.
- Once exceeds the threshold or knee voltage ( for Si, for Ge), majority carriers overcome the barrier, resulting in large forward current flow.
- Reverse Bias ():
- The negative terminal connects to the p-side and the positive terminal to the n-side.
- The applied field aids the built-in field, expanding the barrier height to and widening the depletion region.
- Majority carrier diffusion drops to zero.
- A minute reverse saturation current () flows, carried by minority carriers (electrons thermally generated in the p-region and holes in the n-region) swept across the junction by the field. is typically (picoamperes) for silicon and is largely independent of reverse voltage until breakdown.
4.3 The Shockley Diode Equation and Resistance Definitions
The current-voltage relationship of an ideal P-N junction diode under forward and reverse bias is governed by the Shockley Diode Equation:
where:
- = Diode terminal current
- = Reverse saturation current
- = Terminal voltage across the P-N junction
- = Ideality factor ( for Ge; for Si depending on current level)
- = Thermal voltage ( at room temperature)
Diode Resistances:
- DC (Static) Resistance ():
The ratio of DC voltage to DC current at a specified operating point:
- AC (Dynamic) Resistance ():
The reciprocal of the derivative of the characteristic at the Q-point:
5. Diode Applications: Rectifier Circuits and Power Supplies
Rectification is the conversion of bidirectional alternating current (AC) into unidirectional direct current (DC).
CODEAC Mains 230V, 50Hz | v +---------------+ +---------------+ +---------------+ +---------------+ | Step-Down |----->| Diode |----->| Smoothing |----->| Voltage |-----> Stable DC | Transformer | | Rectifier | | Filter (C) | | Regulator (IC)| Output +---------------+ +---------------+ +---------------+ +---------------+
5.1 Half-Wave Rectifier (HWR)
A Half-Wave Rectifier utilizes a single diode connected in series with a load resistor driven by an AC transformer secondary voltage:
CODETransformer || *-----+||+-----[ Diode D1 ]------+ || | 230V || +---+ 50Hz || | | RL V_out || | | *-----+||+-----------------------+ || | GND
Mathematical Analysis of HWR:
- Positive Half-Cycle (): Diode is forward biased (acting as an ideal closed switch). .
- Negative Half-Cycle (): Diode is reverse biased (open switch). .
- DC (Average) Output Voltage ():
- RMS Output Voltage ():
- Rectification Efficiency ():
- Ripple Factor ():
- Peak Inverse Voltage (PIV):
The maximum reverse voltage the diode must withstand during the negative half-cycle:
- Output Fundamental Ripple Frequency:
5.2 Full-Wave Rectifier (FWR)
1. Center-Tapped Full-Wave Rectifier:
Employs a center-tapped transformer secondary winding producing two anti-phase sinusoidal voltages ( and ) and two diodes ( and ).
- Positive half-cycle: conducts; is reverse biased. Current flows downward through .
- Negative half-cycle: conducts; is reverse biased. Current continues flowing downward through .
- Peak Inverse Voltage (PIV):
2. Full-Wave Bridge Rectifier:
Utilizes four diodes () arranged in a bridge loop across a standard secondary winding.
- Positive half-cycle: and conduct in series with , while and are reverse biased.
- Negative half-cycle: and conduct in series with , while and are reverse biased.
- Current traverses the load in the identical direction during both half-cycles.
- Peak Inverse Voltage (PIV):
(Taking non-ideal diode drop into account: ).
CODEBridge Rectifier Circuit +-----------[ D1 ]-----------+ | | *-----+||+--+ +--------------*----[+] || | | | 230V || +---[ D4 ]----+ | 50Hz || | | || | +---+ *-----+||+--+ | | | RL | | | | +---[ D3 ]----+ +---+ | | +-----------[ D2 ]-----------*----[-]
Mathematical Metrics of Full-Wave Rectifiers:
- DC Output Voltage ():
- RMS Output Voltage ():
- Maximum Theoretical Efficiency ():
- Ripple Factor ():
- Output Fundamental Ripple Frequency:
5.3 Comparison of Rectifier Topologies
| Parameter | Half-Wave Rectifier | Center-Tapped FWR | Bridge FWR |
|---|---|---|---|
| Number of Diodes | 1 | 2 | 4 |
| Transformer Requirement | Standard | Center-Tapped Secondary | Standard |
| (Ideal) | |||
| (Ideal) | |||
| Maximum Efficiency () | |||
| Ripple Factor () | |||
| Peak Inverse Voltage (PIV) | |||
| Ripple Frequency | (50 Hz) | (100 Hz) | (100 Hz) |
| Transformer TUF |
5.4 Smoothing Filter Circuits
Unfiltered pulsating DC is unsuitable for powering electronic circuits. Smoothing filters reduce the AC ripple component while preserving the average DC level:
- Shunt Capacitor Filter (-Filter):
A high-value electrolytic capacitor placed in parallel with . The capacitor charges rapidly to during the diode conduction peak and discharges slowly through when diode voltage drops.- Ripple factor for Full-Wave Rectifier with shunt :
- Ripple factor for Full-Wave Rectifier with shunt :
- Series Inductor Filter (-Filter):
An inductor placed in series with the load. By Faraday's Law (), the inductor opposes instantaneous fluctuations in current. Effective for heavy loads (low ). - -Filter (C-L-C Filter):
Combines two shunt capacitors with an intermediate series inductor, achieving extremely low ripple factor ().
6. Special Purpose Semiconductor Diodes
Beyond standard power rectification, specialized dopant engineering produces diodes with tailored physical properties:
CODE+-----------------------------------------------------------------------------------------+ | Diode Type | Symbol / Junction Character | Primary Operational Mechanism | +-------------------+-----------------------------+---------------------------------------+ | Zener Diode | Heavily doped P-N junction | Controlled reverse breakdown | | | | (Zener and Avalanche tunneling) | | LED | Direct bandgap (GaAs, GaP) | Spontaneous radiative recombination | | Photodiode | Reverse-biased P-N junction | Optoelectronic electron-hole | | | | pair generation via photon absorption | | Varactor Diode | Variable reverse bias | Voltage-dependent junction depletion | | | | capacitance $C_j(V_R)$ | +-----------------------------------------------------------------------------------------+
6.1 Zener Diode and Breakdown Mechanisms
A Zener diode is fabricated with exceptionally heavy doping on both p and n sides. Under forward bias, it behaves as a normal silicon diode. Under reverse bias, it operates safely in the breakdown region, maintaining an almost constant voltage across an extensive range of reverse currents ().
Breakdown Mechanisms:
- Zener Breakdown ():
- Due to heavy doping, the depletion width is ultra-narrow ().
- Even a modest reverse voltage generates an intense electric field ().
- This field exerts strong force on valence electrons, ripping them from covalent bonds and causing direct quantum mechanical tunneling into the conduction band.
- Temperature Coefficient: Negative (). Increased temperature narrows the forbidden gap, facilitating tunneling at lower voltages.
- Avalanche Breakdown ():
- Occurs in lightly doped junctions with wider depletion layers.
- Minority carriers traversing the junction are accelerated by the field to high kinetic energies.
- Collisions with lattice atoms knock valence electrons free (impact ionization), which in turn accelerate and produce more carriers, causing an avalanche multiplication of current.
- Temperature Coefficient: Positive (). Thermal lattice vibrations scatter carriers, requiring higher reverse voltages to reach ionization energy.
6.2 Zener Diode as a Shunt Voltage Regulator
The Zener diode maintains a constant output voltage despite variations in source input voltage (Line Regulation) or load current (Load Regulation).
CODERs +-------/\/\/\-------*-------------+-----[+] | | | +|+ | +---+ Vs --- [ Zener ] | | RL Vo = Vz (DC) | [ Vz ] | | -|- | +---+ | | | +--------------------*-------------+-----[-]
Circuit Governing Equations:
- Input loop voltage:
- Kirchhoff's Current Law at output node:
- Load current:
- Design constraints for safe regulation:
- Minimum Zener current to ensure the diode stays in breakdown:
- Maximum Zener current to prevent exceeding maximum power dissipation ():
- Minimum Zener current to ensure the diode stays in breakdown:
6.3 Light-Emitting Diode (LED) and Photodiode
- Light-Emitting Diode (LED):
- Fabricated from direct bandgap semiconductors (such as Gallium Arsenide, GaAs; Gallium Nitride, GaN) where conduction band minima and valence band maxima align in momentum space (-space).
- Under forward bias, injected electrons and holes recombine radiatively across the bandgap, releasing excess energy directly as photons of light:
- (Indirect bandgap semiconductors like silicon and germanium release energy primarily as lattice heat/phonons, making them unsuitable for LEDs).
- Photodiode:
- Operated under reverse bias with an optical window exposing the depletion region.
- Incident photons with energy break covalent bonds, generating electron-hole pairs within the depletion layer.
- The built-in electric field sweeps electrons to the n-side and holes to the p-side, producing a reverse photocurrent directly proportional to optical illumination intensity.
7. Bipolar Junction Transistors (BJT)
The Bipolar Junction Transistor is a three-terminal, three-layer semiconductor device capable of current amplification, signal processing, and high-speed electronic switching.
CODENPN Transistor PNP Transistor Collector (C) Base (B) Collector (C) Base (B) (N) (P) (P) (N) +-----------+--------------------+ +-----------+--------------------+ | Moderate | Ultra-thin, Light | | Moderate | Ultra-thin, Light | +-----------+--------------------+ +-----------+--------------------+ (N) (P) | Heavily | | Heavily | | Doped | | Doped | +-----------+ +-----------+ Emitter (E) Emitter (E)
7.1 Physical Structure and Terminal Doping Profile
- Emitter (E): Heavily doped () to inject a massive density of majority carriers into the base. Moderate physical size.
- Base (B): Lightly doped () and engineered to be physically ultra-thin (, typical width ) so that nearly all injected carriers traverse it without recombining.
- Collector (C): Moderately doped to withstand reverse bias breakdown voltages. Physically the largest region to facilitate thermal heat dissipation generated by high collector-base voltages.
7.2 Transistor Configurations and Current Relations
By Kirchhoff's Current Law:
Common-Base Configuration (CB):
- Input applied across Emitter-Base; output taken across Collector-Base.
- Common-Base Current Gain ():
where is the collector-to-base reverse leakage current with emitter open.
Common-Emitter Configuration (CE):
- Input applied to Base; output taken from Collector. Most widely used configuration providing high current gain and high voltage gain.
- Common-Emitter Current Gain ( or ):
Mathematical relationship between and :
7.3 Common-Emitter (CE) Input and Output Characteristics
CODEOutput Characteristics (IC vs VCE) IC (mA) ^ | Active Region |------------------------ IB = 40 uA |------------------------ IB = 30 uA |------------------------ IB = 20 uA |------------------------ IB = 10 uA |________________________ IB = 0 (Cut-off Region) +---------------------------------------------> VCE (V) |<->| Saturation
Operational Regions of a BJT:
| Region of Operation | Emitter-Base Junction (EBJ) | Collector-Base Junction (CBJ) | Primary Application |
|---|---|---|---|
| Active Region | Forward Biased | Reverse Biased | Linear Signal Amplification |
| Saturation Region | Forward Biased | Forward Biased | Closed Switch ("ON" state) |
| Cut-off Region | Reverse Biased | Reverse Biased | Open Switch ("OFF" state) |
| Inverse Active | Reverse Biased | Forward Biased | Inverted low-gain amplification |
7.4 DC Load Line and Operating Point (Q-Point)
For a common-emitter circuit biased by supply voltage through collector load resistor :
Apply KVL around the output collector loop:
This linear relationship defines the DC Load Line:
- Y-intercept (Saturation limit): Set .
- X-intercept (Cut-off limit): Set .
- Quiescent Point (Q-Point): The intersection of the DC load line with the transistor output characteristic curve for a specific base current . The Q-point coordinates define the steady-state DC operating point. For maximum symmetrical undistorted AC voltage swing, the Q-point should be placed in the center of the active region:
8. Solved Engineering Problems and Analytical Calculations
Problem 1: Unloaded and Loaded Zener Voltage Regulator
Problem Statement:
A 12V Zener diode is used in a shunt voltage regulator circuit. The DC input voltage varies between and . The series resistor is . The Zener knee current is , and the maximum rated power is .
- Calculate the maximum safe Zener current .
- Determine the range of Zener current when no load is connected ().
- If a load resistor is connected across the output, determine , , and at the minimum input voltage . Verify if regulation is maintained.
Analytical Solution:
- Maximum Zener Current ():
- Unloaded Zener Currents ():
- At :
- At :
Since , the Zener operates safely without overheating.
- At :
- Loaded Conditions at with :
- Assuming regulation holds, output voltage is clamped at :
- Total source current:
- Resulting Zener current:
- Verification: Notice that .
Because the resulting Zener current drops below the knee threshold, the diode drops out of the breakdown region. Consequently, full regulation is lost under this worst-case minimum input voltage and heavy load combination. To maintain regulation, must be decreased to supply at least .
- Assuming regulation holds, output voltage is clamped at :
Problem 2: Full-Wave Bridge Rectifier Performance Analysis
Problem Statement:
A bridge rectifier is fed by a 230V, 50Hz AC mains line via a step-down transformer with a turns ratio . The load resistance is . Assume ideal diodes (forward drop ).
Calculate:
- Peak secondary voltage .
- DC output voltage and DC load current .
- RMS output voltage and ripple factor .
- Total DC power delivered to the load and rectification efficiency .
- Minimum required Peak Inverse Voltage (PIV) rating for each diode.
Analytical Solution:
- Transformer Secondary Voltages:
- RMS secondary voltage:
- Peak secondary voltage:
- RMS secondary voltage:
- DC Output Values:
- RMS Output Voltage and Ripple Factor:
- Power and Efficiency:
- Peak Inverse Voltage (PIV):
9. Summary and Revision Guide
- Circuit Theorems: Ohm's Law (), KCL (conservation of charge, at a node), KVL (conservation of energy, around a loop).
- Network Reduction:
- Series resistors: ; Voltage divider: .
- Parallel resistors: ; Current divider: .
- Semiconductor Physics:
- Silicon bandgap , Germanium .
- Intrinsic: . Extrinsic: N-type (Group V donors, electrons majority), P-type (Group III acceptors, holes majority). Mass-action law: .
- P-N Junction: Built-in potential (Si). Forward bias reduces depletion width and enables exponential conduction; reverse bias widens depletion width with minimal leakage current .
- Rectification:
- HWR: , , , .
- FWR (Center-tapped): , , , .
- FWR (Bridge): , , , .
- Zener Diode: Operates in controlled reverse breakdown. Zener breakdown (, quantum tunneling, negative temp coefficient); Avalanche breakdown (, impact ionization, positive temp coefficient). Used as a shunt voltage regulator.
- BJT Operation: . Current gain , , . Operating regions: Active (EBJ forward, CBJ reverse), Saturation (both forward), Cut-off (both reverse).