ELX120 Electronic Devices and Circuits

Electronic Devices and CircuitsUnit 1011 min read

Oscillators & Power Supplies: Design, Analysis & Applications

Unit 10 of Electronic Devices and Circuits covers oscillator circuits (LC, RC, crystal) and power supplies (transformers, rectifiers, filters, regulators), explaining their working principles, design equations, and real-world applications in computing, telecom, and embedded systems.

TAKEAWAYS:

  • Oscillators generate periodic waveforms (sine, square, triangular) using positive feedback and frequency-determining elements (L, C, R).
  • Power supplies convert AC to regulated DC via transformers, rectifiers, filters, and voltage regulators (linear vs. switching).
  • LC oscillators (e.g., Colpitts, Hartley) use inductors/capacitors for high-frequency stability; RC oscillators (e.g., phase-shift) are simpler for audio ranges.
  • Regulated power supplies (e.g., 7805, LM317) ensure stable output despite input/load variations, critical for sensitive circuits like microcontrollers.
  • Switching regulators (buck/boost) improve efficiency (90%+) compared to linear regulators (~50%).
  • Exam focus: Circuit analysis (frequency, gain), component selection, and troubleshooting (e.g., why an oscillator fails to start).

1. Oscillators: Generating Periodic Signals

Oscillators produce AC waveforms (sine, square, triangular) without external input. They rely on:

  • Positive feedback (amplifier + feedback network).
  • Frequency-determining elements (L, C, R).
  • Sustained oscillations (amplitude stabilization via nonlinear elements like diodes or transistors).

1.1 Types of Oscillators

Oscillators are classified by their frequency-determining components and waveform output:

Type Frequency-Determining Elements Waveform Applications Example Circuits
LC Oscillator Inductor (L), Capacitor (C) Sine, Square RF transmitters, clocks, radios Colpitts, Hartley, Clapp
RC Oscillator Resistor (R), Capacitor (C) Sine, Square, Triangular Audio generators, function generators Phase-shift, Wien bridge
Crystal Oscillator Piezoelectric crystal (quartz) Sine (high stability) Microcontrollers, watches, radios Pierce, Colpitts with crystal

Why LC over RC?

  • LC oscillators achieve higher frequencies (MHz–GHz) with better stability.
  • RC oscillators are simpler and cheaper for low-frequency (<1 MHz) applications.

1.2 Key Oscillator Circuits

A. LC Oscillators

Colpitts Oscillator (most common LC oscillator):

  • Uses a capacitive voltage divider for feedback.
  • Frequency: where .
flowchart LR
    A["Transistor Amplifier"] -->|"Feedback"| B["LC Tank Circuit\n(L, C1, C2)"]
    B -->|"Voltage Divider"| C["Base of Transistor"]
    C --> A

Worked Example: Design a Colpitts oscillator at 1 MHz

  • Let . Find and such that .
  • Choose , (equal values for simplicity).
  • Verify:
B. RC Oscillators

Wien Bridge Oscillator (generates sine waves):

  • Uses RC networks for frequency selection and positive feedback.
  • Frequency:
  • Amplitude stabilization: A thermistor or JFET maintains constant amplitude.
flowchart LR
    A["Op-Amp Amplifier"] -->|"Feedback"| B["RC Network\n(R1, C1, R2, C2)"]
    B -->|"Phase-Shift"| C["Noninverting Input"]
    C --> A
    D["Thermistor\n(Amplitude Control)"] --> A

Worked Example: Wien Bridge at 1 kHz

  • Let . Find :
  • Use and .
C. Crystal Oscillators
  • Piezoelectric effect: Quartz crystal vibrates at a precise frequency when voltage is applied.
  • High stability (±0.005% accuracy).
  • Used in clocks, microcontrollers (e.g., Arduino’s 16 MHz crystal).

1.3 Oscillator Start-Up and Stability

  • Start-up condition: The loop gain (Barkhausen criterion).
  • Stability issues:
    • Parasitic capacitance shifts frequency.
    • Temperature drift (critical in LC oscillators).
    • Solution: Use temperature-compensated crystals (TCXO) or oven-controlled oscillators (OCXO).

Exam Tip: Always check if the oscillator meets Barkhausen’s criterion () and whether the feedback is positive (180° phase shift for inverting amplifiers).


2. Power Supplies: Converting AC to Regulated DC

Power supplies convert mains AC (230V, 50 Hz in Nepal) to stable DC for electronic circuits. Key stages:

  1. Transformation (step-up/down AC voltage).
  2. Rectification (convert AC to pulsating DC).
  3. Filtering (smooth pulsating DC).
  4. Regulation (stabilize output voltage).

2.1 Transformers

  • Purpose: Step up/down AC voltage.
  • Types:
    • Step-down: Reduces 230V AC to 12V/5V (e.g., for laptops).
    • Step-up: Increases voltage (rare in power supplies).
  • Turns ratio:

2.2 Rectifiers

Convert AC to pulsating DC using diodes.

Type Circuit Output Applications
Half-Wave Rectifier Single diode Pulsating DC (one half-cycle) Low-power, simple circuits
Full-Wave Rectifier Bridge rectifier (4 diodes) Pulsating DC (both half-cycles) Most power supplies
Center-Tapped Rectifier Two diodes + center-tapped transformer Full-wave but less efficient Legacy designs

Worked Example: Full-Wave Rectifier Output

  • Input: , .
  • Output (before filtering): Pulsating DC with peak .

2.3 Filters

Smooth pulsating DC into steady DC using:

  • Capacitor filter: Charges during peaks, discharges slowly.
  • Inductor filter: Blocks high-frequency ripples.
  • LC filter: Combines both for better smoothing.

Ripple voltage (for capacitor filter): where = load current, = rectifier frequency (100 Hz for full-wave).

Worked Example: Calculate ripple in a 5V supply

  • , , .
  • (too high! Use larger or LC filter).

2.4 Voltage Regulators

Stabilize output voltage despite input variations or load changes.

Type Efficiency Output Range Applications
Linear Regulator 30–50% Fixed (e.g., 5V, 12V) Simple circuits, low power
Switching Regulator 80–95% Adjustable (e.g., buck/boost) Laptops, phones, high-power
A. Linear Regulators (e.g., 7805, LM317)
  • How it works: Adjusts pass transistor’s resistance to maintain .
  • Disadvantage: Inefficient (dissipates excess voltage as heat).
B. Switching Regulators (Buck, Boost, Buck-Boost)
  • How it works: Uses switching (on/off) and inductors to step up/down voltage efficiently.
  • Types:
    • Buck: Steps down (e.g., 12V → 5V).
    • Boost: Steps up (e.g., 5V → 12V).
    • Buck-Boost: Both (e.g., 3.7V battery → 5V).
flowchart LR
    A["Input Voltage"] --> B["Switch\n(Transistor)"]
    B --> C["Inductor\n(Stores Energy)"]
    C --> D["Diode\n(Rectifies)"]
    D --> E["Output Capacitor\n(Smooths)"]
    E --> F["Regulated Output"]

Worked Example: Buck Converter Efficiency

  • Input: 12V, Output: 5V, .
  • Ideal efficiency: (real-world: 85–95%).

In the Real World

  1. eSewa & Khalti (Nepal)

    • Power supplies: Both apps run on regulated 5V/3.3V from switching regulators (e.g., buck converters) in their servers’ power units to ensure stable operation.
    • Oscillators: The 16 MHz crystal oscillator in their payment servers’ microcontrollers (e.g., Raspberry Pi, Arduino) keeps time for transaction processing.
  2. Ncell & NTC (Telecom Infrastructure)

    • Base stations use switching power supplies (e.g., 48V → 5V/3.3V) for efficiency in remote towers where power is scarce.
    • RF oscillators (LC or crystal-based) generate carrier frequencies (e.g., 900 MHz for 4G) in their transmitters.
  3. Daraz & Pathao (Logistics & Delivery)

    • Delivery drones (e.g., Pathao’s experimental drones) use lithium battery management circuits with buck-boost regulators to convert 3.7V (battery) to 5V (microcontroller) efficiently.
    • Traffic light controllers (in Kathmandu) rely on 555 timer IC oscillators (RC-based) to cycle through red/green/yellow phases precisely.
  4. NEPSE (Stock Exchange)

    • Server clocks use atomic clocks (via GPS-disciplined oscillators) for millisecond-accurate timestamping of trades.
    • Power supplies in trading terminals use linear regulators for noise-sensitive financial software.
  5. Your Laptop/Phone Charger

    • A switching power supply (e.g., 230V AC → 19V DC) with PWM control charges your battery efficiently.
    • The 555 timer IC inside might be used for battery monitoring circuits (e.g., low-battery warning beep).

3. Practical Design Example: 5V Power Supply for a Microcontroller

Requirements: 5V, 1A output from 230V AC mains.

Step 1: Transformer

  • Choose a 12V, 1A step-down transformer (safety margin).
  • Secondary voltage: , .

Step 2: Rectifier

  • Use a bridge rectifier (e.g., 1N4007 diodes).
  • Output: Pulsating DC with .

Step 3: Filter

  • Choose .
  • Ripple voltage:

Step 4: Regulation

  • Use an LM7805 (linear regulator).
  • Heat sink required: .

Alternative (Efficient): Replace LM7805 with a buck converter (e.g., LM2596) for 90%+ efficiency.


Exam Tip

  1. Oscillators:

    • Always verify Barkhausen’s criterion ().
    • For LC oscillators, derive frequency using .
    • Crystal oscillators are asked in exams for stability—mention Pierce circuit if applicable.
  2. Power Supplies:

    • Transformer turns ratio is a common calculation. Remember:
    • Ripple voltage in capacitor filters:
    • Regulator choice:
      • Linear for low power, simplicity.
      • Switching for high efficiency, adjustable output.
  3. Common Pitfalls:

    • Forgetting diode drops in rectifiers (0.7V for Si diodes).
    • Ignoring heat sinks in linear regulators (overheating fails exams!).
    • Misapplying positive vs. negative feedback in oscillators.
  4. Diagrams:

    • Draw the full circuit (transformer → rectifier → filter → regulator) in exams.
    • Label all components (diodes, capacitors, inductors, ICs).

Final Note: Oscillators and power supplies are the heartbeat of electronics. Master their design equations, component roles, and real-world trade-offs (e.g., efficiency vs. cost), and you’ll ace this unit!

Based on the PU BE Computer (PU) syllabus for Electronic Devices and Circuits (ELX120), unit 10.

Discussion

Loading…