Electrical & Electronics Engineering Laboratory

Chapter 7
Semiconductor Devices and Basic Electronic Circuits

Bachelors Program in Electrical Engineering
Electrical & Electronics Engineering Laboratory   •   Bachelor

Semiconductor Devices and Basic Electronic Circuits

Introduction

Semiconductor devices are the foundation of modern electrical and electronic systems. Diodes provide controlled conduction and rectification; Zener diodes provide voltage regulation; bipolar junction transistors (BJTs) and metal–oxide–semiconductor field-effect transistors (MOSFETs) provide amplification and switching; and optoelectronic devices provide electrical-to-optical or optical-to-electrical conversion. In the laboratory, theoretical models must be compared with measured behavior because real devices exhibit temperature dependence, parameter variation, leakage, contact resistance, measurement loading, and breakdown limitations.

This chapter develops the principles and laboratory methods required to measure device characteristics and construct rectifiers, regulators, bias networks, switches, and transistor amplifiers. Safety is essential: semiconductor devices can be permanently damaged by excessive current, reverse voltage, electrostatic discharge, or incorrect instrument connections.

Learning Objectives

By the end of this chapter, students should be able to:

  1. Explain the operation and terminal characteristics of diodes, Zener diodes, BJTs, MOSFETs, LEDs, and photodiodes.
  2. Select suitable meters, power supplies, oscilloscopes, resistors, and protective components for semiconductor experiments.
  3. Measure forward, reverse, transfer, and output characteristics while controlling current and voltage limits.
  4. Construct and evaluate half-wave, full-wave, bridge-rectifier, Zener-regulator, transistor-switch, and amplifier circuits.
  5. Calculate expected operating points and compare them with experimental results.
  6. Identify measurement error, device variation, thermal effects, and unsafe operating conditions.

1. Semiconductor and Measurement Foundations

A semiconductor has electrical conductivity between that of a conductor and an insulator. Its conductivity can be controlled by temperature, light, electric field, and intentional impurity addition. In an n-type semiconductor, donor impurities provide majority electrons; in a p-type semiconductor, acceptor impurities create majority holes. A p–n junction forms a depletion region and an internal electric field. Forward bias reduces the potential barrier and permits substantial current; reverse bias widens the depletion region and normally permits only small leakage current until breakdown.

The ideal diode model treats the device as an open circuit for reverse voltage and a short circuit for forward voltage. The constant-voltage model approximates a silicon diode by a fixed forward drop, commonly about 0.7 V at moderate current, but this is not a universal constant. The exponential model is more accurate:

ID = IS [exp(VD/(nVT)) − 1]

Here, ID is diode current in amperes, IS is reverse saturation current, VD is diode voltage, n is the ideality factor, and VT = kT/q is thermal voltage. k is Boltzmann’s constant, T is absolute temperature in kelvin, and q is electron charge. At approximately 300 K, VT is about 25.9 mV. The equation applies to a junction in a region where recombination, high-level injection, series resistance, and breakdown effects do not dominate.

The small-signal or dynamic resistance at a specified operating point is

rd = dVD/dID ≈ nVT/ID

This approximation applies to the exponential forward region. It is a local slope, not the total ratio VD/ID.

Laboratory measurement practice

Use a current-limiting resistor whenever a supply is connected to a diode or transistor junction. Begin with the supply at zero and increase it gradually. Verify polarity before energizing the circuit. A digital multimeter in current mode must be connected in series; connecting it across a supply can cause a short circuit. An oscilloscope probe normally measures voltage in parallel and may introduce capacitance or a ground connection that affects the circuit. Record instrument resolution, supply settings, device identification, ambient temperature, and uncertainty.

For a characteristic curve, vary one independent variable in controlled steps, wait for readings to stabilize, and record voltage and current with consistent sign conventions. Plot the results and compare slopes and intercepts with the selected model rather than forcing every point to fit an ideal equation.

2. Diode Characteristics and Applications

2.1 Forward and reverse characteristics

In a forward-bias test, connect a series resistor RS and measure diode voltage and circuit current. If the supply voltage is VS, Kirchhoff’s voltage law gives

ID = (VS − VD)/RS

where all voltages are in volts, current is in amperes, and resistance is in ohms. The resistor power is PR = ID2RS, and diode power is PD = VDID. Neither must exceed its rated value.

In reverse bias, use a supply and resistor whose maximum voltage and current are appropriate for the diode. Ordinary rectifier diodes may suffer avalanche or junction damage if their peak inverse voltage is exceeded. The reverse current is generally much smaller than forward current and may be close to the meter’s resolution.

2.2 Rectifiers

A half-wave rectifier conducts during one half-cycle of an alternating input. For an ideal sinusoidal input with peak value Vm and frequency f, the ideal average output is

VDC = Vm/π

For a single silicon diode, a rough practical estimate replaces the conducting portion by Vm − VF, although this is less accurate near the conduction threshold. A capacitor filter charges near the input peak and discharges through the load between peaks. For a full-wave rectifier, the ripple frequency is twice the input frequency, and an approximate capacitor-input ripple is

Vr(pp) ≈ IL/(fr C)

where IL is load current, C is capacitance, and fr is ripple frequency: fr=f for half-wave and fr=2f for full-wave operation. This approximation assumes relatively small ripple and nearly constant load current.

A bridge rectifier uses two conducting diodes in each half-cycle, so its peak output is approximately the source peak minus two forward drops. It has better transformer utilization and lower ripple than a half-wave circuit, but its conduction path contains two diode drops.

Worked example: bridge rectifier

An ideal 12 V rms secondary feeds a bridge rectifier and a capacitor-input filter. The peak secondary voltage is

Vm = √2 × 12 = 16.97 V

Assuming two diode drops of 0.7 V, the approximate no-load capacitor voltage is 16.97 − 1.4 = 15.57 V. If the load current is 50 mA, the ripple frequency is 100 Hz for a 50 Hz supply. With C = 1000 μF,

Vr(pp) ≈ 0.05/(100 × 0.001) = 0.50 V

The actual output will be lower because of transformer resistance, diode resistance, capacitor equivalent series resistance, load variation, and conduction-angle effects.

3. Zener Diodes and Voltage Regulation

A Zener diode is designed to operate in reverse breakdown at a specified voltage. A practical shunt regulator places a series resistor between the unregulated source and the output, with the Zener diode and load in parallel. The resistor current is

IR = (Vin − VZ)/RS

and it divides between load and Zener currents:

IR = IL + IZ

Regulation requires IZ to remain above the minimum knee current and below the maximum permitted Zener current. The series-resistor power is PR=IR2RS, while the Zener power is PZ=VZIZ.

Design example

Design a nominal 5.1 V regulator for an input varying from 9 V to 12 V and a load current of 10 mA. Suppose the chosen Zener requires at least 5 mA for regulation and is rated for 500 mW. At minimum input, the resistor current must be at least 15 mA:

RS ≤ (9 − 5.1)/0.015 = 260 Ω

Choose a standard value of 240 Ω. At 12 V and minimum load, the maximum current is approximately

IZ(max) = (12 − 5.1)/240 = 28.75 mA

and the Zener power is approximately 5.1 × 0.02875 = 0.147 W, below 0.5 W. At maximum load, the Zener current is approximately 18.75 mA, still above the assumed knee current. In practice, tolerance, temperature coefficient, dynamic resistance, and worst-case supply conditions must be included.

A Zener is not an ideal voltage source. Its output changes with current according to its dynamic resistance, approximately rZ = ΔVZ/ΔIZ over a local operating range. It also dissipates heat, so ventilation and power ratings matter.

4. Bipolar Junction Transistors

A BJT has emitter, base, and collector terminals. In an npn transistor, a small base current controls a larger collector current in the active region. The common-emitter current gain is

β = IC/IB

and emitter current satisfies

IE = IC + IB

The gain varies substantially between devices and with current, temperature, and collector voltage; it should not be treated as an exact design constant.

The three principal operating regions are cutoff, active, and saturation. In cutoff, both junctions are effectively nonconducting. In active operation, the base–emitter junction is forward biased and the base–collector junction is reverse biased. In saturation, both junctions are forward biased and collector current is limited by the external circuit.

For a common-emitter circuit with emitter grounded, a first estimate is VBE ≈ 0.7 V for a silicon transistor, but measured values may differ. A collector resistor gives

VC = VCC − ICRC

The transistor power is approximately PQ = VCEIC. The device must remain within its safe operating area.

Voltage-divider bias

A voltage-divider network establishes a base voltage more reliably than a single base resistor. If the divider current is sufficiently larger than base current, its Thevenin equivalent is

VTH = VCC R2/(R1 + R2)
RTH = R1 || R2 = R1R2/(R1+R2)

With emitter resistor RE, an approximate base-current expression is

IB = (VTH − VBE)/(RTH + (β+1)RE)

Then IC ≈ βIB, IE ≈ (β+1)IB, and VE=IERE. This model assumes forward-active operation and a roughly constant VBE. A more robust design checks the result against saturation and uses the measured or worst-case gain range.

BJT as a switch

For switching, the transistor is driven between cutoff and saturation. A load connected in the collector circuit should include a flyback diode if it is inductive. In forced-beta design, choose a base current satisfying

IB ≥ IC/βforced

where βforced is deliberately chosen lower than the transistor’s typical active-region gain. This improves saturation reliability but increases base-drive current.

Common-emitter amplifier

A small AC signal superimposed on a DC bias point is amplified if the transistor remains in the active region throughout the signal cycle. With an unbypassed emitter resistor, an approximate midband voltage gain is

Av ≈ −gm(RC || RL)/(1 + gmRE)

where gm = IC/VT, RL is load resistance, and the negative sign indicates phase inversion. This hybrid approximation assumes small signal operation, midband frequency, negligible transistor output resistance, and a bias point away from cutoff and saturation. Coupling capacitors and transistor capacitances determine low- and high-frequency limits.

5. MOSFET Characteristics and Circuits

A MOSFET uses an insulated gate to control a channel. In an enhancement n-channel MOSFET, gate voltage above the threshold voltage creates a conducting inversion channel. Ideally, gate current is zero in steady state, although real devices have leakage and require transient charging current because of gate capacitance.

For a long-channel enhancement MOSFET in saturation, the simplified equation is

ID = (1/2)kn(VGS − VTH)2

where kn is a process and geometry parameter, VGS is gate-to-source voltage, and VTH is threshold voltage. Saturation requires approximately VDS ≥ VGS − VTH. In the ohmic or triode region, a common model is

ID = kn[(VGS−VTH)VDS − VDS2/2]

These equations neglect channel-length modulation, body effect, mobility variation, temperature effects, and device-to-device spread. Manufacturer data and measured curves are required for accurate design.

The transfer characteristic plots ID against VGS at a specified VDS. The output characteristic plots ID against VDS for several fixed VGS values. Use a gate resistor or discharge path to prevent a floating gate, and observe electrostatic-discharge precautions.

A MOSFET switch is usually driven between cutoff and a low-resistance on-state. Its conduction loss is approximately

Pon ≈ ID2RDS(on)

where RDS(on) is specified at a particular gate voltage and temperature. It increases with temperature and may be much larger than expected if the gate is not driven adequately.

6. Optoelectronic Devices

An LED is a forward-biased p–n junction that emits light. Its wavelength depends principally on semiconductor band gap. Always use a series resistor:

R = (VS − VF)/IF

where VS is supply voltage, VF is LED forward voltage, and IF is desired forward current. For a 5 V supply, a red LED with VF=2.0 V at 10 mA requires R=300 Ω; a standard 330 Ω value gives approximately 9.1 mA under the assumed conditions.

A photodiode converts incident light into photocurrent. In photovoltaic mode it may generate voltage; in photoconductive mode it is reverse biased for improved speed and linearity. Ambient light, distance, angle, optical alignment, reverse voltage, and temperature affect measurements. An optocoupler transfers a signal across electrical isolation. Its current-transfer ratio is

CTR = (IC/IF) × 100%

where IF is LED current and IC is phototransistor collector current. CTR varies with current, temperature, aging, and device type, so designs should use guaranteed minimum values rather than typical values.

7. Integrated Laboratory Experiments

Experiment A: diode and Zener characterization

Measure forward voltage at several current values, beginning at a low current. Plot VD versus ID and estimate the local slope. Repeat for reverse bias only within the rated range. For the Zener, measure output voltage and current across the intended operating region. Calculate diode and resistor power at every extreme point.

Experiment B: rectifier comparison

Construct half-wave, center-tapped full-wave if available, and bridge rectifiers. Observe the transformer secondary and rectified waveform on an oscilloscope. Measure DC output with and without a capacitor, then measure ripple peak-to-peak voltage. Compare the observed ripple frequency with the predicted input or twice-input frequency. Do not connect oscilloscope grounds across isolated points unless the grounding arrangement is known to be safe.

Experiment C: BJT bias and switch

Build a voltage-divider biased common-emitter circuit. Measure VB, VE, VC, IB, and IC. Estimate β from measured currents and compare it with the data-sheet range. Apply a digital input through a suitable base resistor and observe cutoff and saturation. For a relay or motor, add a correctly oriented flyback diode.

Experiment D: MOSFET and optoelectronic response

Record MOSFET output curves for several gate voltages, ensuring the drain supply is current limited. Determine the approximate threshold by a stated measurement criterion; threshold is not a single universal operating voltage. Drive an LED through a resistor and measure brightness qualitatively or optical output quantitatively if a sensor is available. Characterize a photodiode or optocoupler while controlling light level and electrical load.

8. Applied Case: Isolated Sensor Interface

Background

This illustrative case concerns a microcontroller that must detect whether a 24 V industrial signal is present while protecting its 5 V logic circuitry.

Problem

Direct connection could expose the microcontroller to excessive voltage and remove galvanic isolation. The interface must tolerate reasonable signal variation and provide a clean logic transition.

Analysis and solution

A resistor-limited LED input to an optocoupler is connected to the 24 V signal. If the LED drop is approximately 1.2 V and the desired current is 8 mA, an initial resistor estimate is

R = (24 − 1.2)/0.008 = 2.85 kΩ

A 3.0 kΩ resistor gives approximately 7.6 mA at 24 V. Its power is approximately I2R = (0.0076)2×3000 = 0.173 W, so a suitable power rating and tolerance are selected. The optocoupler output uses a pull-up resistor and may feed a Schmitt-trigger input. The design is checked at minimum input voltage using the optocoupler’s guaranteed minimum CTR, not its typical value. If the output transistor cannot sink sufficient current, a second transistor or comparator is added.

Outcome and learning points

The circuit provides isolation, limits LED current, and converts the industrial signal into a logic-compatible waveform. The case demonstrates that semiconductor selection requires worst-case analysis, power calculations, noise consideration, and measurement verification. A working prototype is not sufficient evidence of reliable operation unless component tolerances, temperature, fault conditions, and isolation requirements are evaluated.

9. Error Analysis, Safety, and Professional Practice

Common discrepancies between theory and experiment include resistor tolerance, uncertain supply voltage, meter burden voltage, oscilloscope loading, transistor gain variation, diode temperature, wiring resistance, contact resistance, and inaccurate assumptions about forward voltage. Report measured values with appropriate significant figures. A useful percentage error is

% error = |measured − predicted|/|predicted| × 100%

This comparison is meaningful only when the predicted quantity is nonzero and the model’s assumptions are stated.

Never exceed a device’s maximum forward current, reverse voltage, gate voltage, collector power, drain power, or junction temperature. Use current-limited supplies, insulated leads, correct polarity, proper grounding, and discharge resistors for capacitors. High-voltage rectifier experiments require barriers and institutional laboratory procedures. LEDs and laser-related sources must be assessed for eye safety. Dispose of damaged components and batteries according to applicable regulations.

Contemporary laboratories increasingly use automated source-measure units, computer-based acquisition, thermal cameras, and programmable loads. Automation improves repeatability but does not replace engineering judgment. AI-assisted curve fitting can identify parameters, but students must inspect raw data, validate units, detect outliers, and avoid treating a fitted model as proof of physical correctness.

Chapter Summary

Diodes conduct asymmetrically and are modeled from ideal approximations through the exponential junction equation. Rectifiers convert AC to pulsating or filtered DC, while ripple depends on load current, capacitance, and ripple frequency. Zener diodes operate in controlled reverse breakdown and require current and power limits.

BJTs are current-controlled devices whose cutoff, active, and saturation regions support switching and amplification. Voltage-divider bias improves operating-point stability, while emitter resistance provides feedback. MOSFETs are voltage-controlled devices with very low steady-state gate current; their threshold, transfer curve, on-resistance, and gate-drive voltage must be interpreted carefully. LEDs, photodiodes, and optocouplers demonstrate semiconductor interaction with light and enable indication, sensing, and isolation.

Reliable laboratory work combines models, controlled measurement, power calculations, uncertainty analysis, safe construction, and comparison against data-sheet limits. The most useful result is not merely a numerical value, but an explanation of why measured behavior differs from an ideal model and whether the circuit remains safe and functional under realistic conditions.

Key Terms

Semiconductor: Material whose conductivity can be controlled by doping, temperature, light, or electric field.

p–n junction: Boundary between p-type and n-type semiconductor regions.

Forward bias: Bias that reduces the junction barrier and promotes conduction.

Reverse bias: Bias that widens the depletion region and restricts normal conduction.

Reverse saturation current: Small reverse current parameter in the diode equation.

Rectifier: Circuit that converts alternating voltage or current into unidirectional output.

Ripple: AC variation superimposed on a rectified DC output.

Zener breakdown: Controlled reverse-bias conduction used for voltage regulation.

Dynamic resistance: Local slope ΔV/ΔI of a device characteristic.

BJT: Three-terminal bipolar transistor controlled primarily by base current.

β: Common-emitter current gain, defined as collector current divided by base current.

Cutoff: Transistor region in which intended conduction is negligible.

Saturation: Switching region in which a BJT is strongly on and voltage across it is low.

MOSFET: Field-effect transistor with an insulated, voltage-controlled gate.

Threshold voltage: Gate-to-source voltage associated with formation of a conducting channel under a specified criterion.

R_DS(on): Effective MOSFET drain-to-source resistance in the on-state.

LED: Light-emitting diode.

Photodiode: Semiconductor device that converts incident light into photocurrent.

Optocoupler: Device that transfers a signal optically while providing electrical isolation.

Safe operating area: Combination of voltage, current, power, and time limits within which a device can operate reliably.

Review Questions

Short Answer Questions

  1. Why is a current-limiting resistor required in a diode measurement circuit?
  2. Distinguish the active and saturation regions of a BJT.
  3. Why does a bridge rectifier have ripple at twice the supply frequency?
  4. What is the function of a MOSFET gate resistor or discharge path?
  5. Why must an LED normally be connected with a series resistor?

Long Answer Questions

  1. Explain the diode equation, define each parameter, and discuss why a constant 0.7 V model is only an approximation.
  2. Describe the operation and design constraints of a Zener shunt regulator.
  3. Explain voltage-divider bias for a common-emitter BJT and derive the approximate base-current equation.
  4. Compare BJT and MOSFET switching, including drive requirements, losses, and protection.
  5. Describe a complete laboratory procedure for measuring a rectifier’s DC output and ripple, including safety and uncertainty considerations.

Analytical / Application Questions

  1. A 12 V rms transformer feeds a bridge rectifier with a 680 μF capacitor and a 40 mA load. Estimate the no-load peak after two 0.7 V diode drops and the approximate ripple at 50 Hz. State the assumptions.
  2. A BJT switch must carry 120 mA. If a forced beta of 10 is selected, calculate the minimum base current and explain why the typical data-sheet beta should not be used directly.
  3. Design a resistor for a 9 V supply driving an LED whose measured forward voltage is 2.1 V at a target current of 12 mA. Select a practical standard value and estimate the resulting current, stating resistor-power requirements.

Multiple Choice Questions with Answers

Question 1

For a 12 V rms sinusoidal source, what is the approximate peak voltage?

A. 8.49 V

B. 12.0 V

C. 16.97 V

D. 24.0 V

Correct Answer: C. 16.97 V

Question 2

In a bridge rectifier, how many diodes normally conduct during each half-cycle?

A. One

B. Two

C. Three

D. Four

Correct Answer: B. Two

Question 3

What condition is essential for a Zener shunt regulator to maintain regulation?

A. Zener current must remain within its specified operating range

B. Zener must always be forward biased

C. Load current must be zero

D. Series-resistor current must be zero

Correct Answer: A. Zener current must remain within its specified operating range

Question 4

If a BJT has collector current 20 mA and base current 0.2 mA, its common-emitter current gain is:

A. 10

B. 40

C. 100

D. 200

Correct Answer: C. 100

Question 5

Which BJT region is normally used for linear voltage amplification?

A. Cutoff

B. Active

C. Saturation

D. Breakdown

Correct Answer: B. Active

Question 6

For a MOSFET switch, conduction loss is approximately represented by which expression?

A. I_D/R_DS(on)

B. I_D R_DS(on)

C. I_D²R_DS(on)

D. V_GS²R_DS(on)

Correct Answer: C. I_D²R_DS(on)

Question 7

A 5 V supply drives an LED with forward voltage 2 V at 10 mA. What resistor value is calculated from the idealized design equation?

A. 30 Ω

B. 100 Ω

C. 300 Ω

D. 500 Ω

Correct Answer: C. 300 Ω

Question 8

What is the principal purpose of an optocoupler?

A. To increase transformer frequency

B. To provide optical signal transfer with electrical isolation

C. To eliminate all LED current

D. To operate a diode in reverse breakdown

Correct Answer: B. To provide optical signal transfer with electrical isolation

Question 9

For a full-wave rectifier supplied by 50 Hz AC, the principal ripple frequency is:

A. 25 Hz

B. 50 Hz

C. 100 Hz

D. 150 Hz

Correct Answer: C. 100 Hz

Question 10

Why is a digital multimeter in current mode connected in series?

A. Its current input is intended to measure voltage in parallel

B. It presents a low-resistance path and must carry the circuit current

C. It increases the diode forward voltage

D. It provides optical isolation

Correct Answer: B. It presents a low-resistance path and must carry the circuit current

Electrical & Electronics Engineering Laboratory
Chapter 7 of 15