Professional Project

Understanding the UC3842 PWM Controller

The UC3842 is one of the world's most widely used current-mode PWM (Pulse Width Modulation) controller ICs for Switch-Mode Power Supplies (SMPS). It is commonly found in computer power supplies, battery chargers, television power supplies, LED drivers, industrial power supplies and many high-performance DC-DC converters. Unlike self-oscillating drivers such as the IR2153, the UC3842 is designed for closed-loop regulation, allowing accurate output voltage control and excellent protection features.

UC3842 PWM Controller

Project Overview

The UC3842 is a fixed-frequency current-mode PWM controller.

It monitors both the output voltage and the switching current, automatically adjusting the duty cycle to maintain a stable output under varying input voltages and load conditions.

Its integrated error amplifier, current comparator and MOSFET gate driver allow complete switch-mode power supplies to be built using very few external components.

Main Features

  • Current-mode PWM control.
  • Fixed-frequency operation.
  • Adjustable switching frequency.
  • Integrated 5 V precision reference.
  • High-current MOSFET gate driver.
  • Pulse-by-pulse current limiting.
  • Undervoltage Lockout (UVLO).
  • Low start-up current.
  • Supports duty cycles up to nearly 100% (UC3842 variant).

Project Difficulty

ItemValue
Difficulty⭐⭐⭐⭐⭐ Professional
Build Time1–3 Days
Supply Voltage (VCC)10–30 V DC
Typical UVLO16 V ON / 10 V OFF
Maximum FrequencyUp to 500 kHz

Pin Functions (8-Pin DIP/SOIC)

Pin Name Function
1 COMP Error amplifier output and compensation network.
2 VFB Voltage feedback input.
3 ISENSE Current-sense input for current limiting.
4 RT/CT Oscillator timing resistor and capacitor.
5 GND Ground.
6 OUTPUT MOSFET gate-drive output.
7 VCC Supply voltage.
8 VREF Precision 5 V reference output.

How the UC3842 Works

The internal oscillator generates a fixed switching frequency determined by the external RT and CT components.

The PWM comparator continuously compares the current-sense signal with the error amplifier output.

If the output voltage falls, the controller increases the duty cycle to deliver more power. If the output voltage rises, the duty cycle is reduced.

This closed-loop control provides excellent voltage regulation over a wide range of input voltages and load currents.

Typical Applications

Application Description
Flyback Power Supplies Battery chargers and adapters.
Forward Converters Industrial power supplies.
Offline AC-DC SMPS Televisions and monitors.
DC-DC Converters Regulated industrial supplies.
LED Drivers Constant-current LED supplies.
Laboratory Power Supplies High-efficiency regulated supplies.

UC3842 vs IR2153

Feature UC3842 IR2153
Control Method Current-Mode PWM Self-Oscillating Half-Bridge
Voltage Regulation Excellent External Feedback Required
Current Limiting Built-In External Circuit Needed
Applications SMPS, Chargers, LED Drivers Half-Bridge Converters, Ballasts
Complexity Higher Simpler

Advantages

  • Excellent load regulation.
  • Fast transient response.
  • High efficiency.
  • Built-in protection functions.
  • Suitable for many SMPS topologies.
  • Very low external component count.

Applications

  • Laptop chargers.
  • ATX computer power supplies.
  • Battery chargers.
  • LED lighting power supplies.
  • Industrial SMPS.
  • Television power supplies.
  • Laboratory instruments.
  • Audio amplifier SMPS.

Testing

  1. Inspect the PCB for solder bridges.
  2. Verify all component values.
  3. Measure the VCC supply.
  4. Check that the 5 V reference is present.
  5. Observe the OUTPUT pin with an oscilloscope.
  6. Verify correct switching frequency.
  7. Check current limiting using a controlled test load.

Troubleshooting

Problem Possible Cause
No output pulses VCC below UVLO threshold or faulty timing components.
Incorrect frequency Wrong RT or CT values.
MOSFET overheating Incorrect gate drive or transformer design.
Power supply unstable Faulty feedback loop or compensation network.
Current limiting activates continuously Short circuit or incorrect current-sense resistor.

Project Improvements

  • Add soft-start circuitry.
  • Use synchronous rectification.
  • Add over-temperature protection.
  • Improve EMI filtering.
  • Add digital voltage and current monitoring.
  • Design a custom high-frequency transformer.
  • Use an optocoupler with a TL431 for accurate isolated feedback.

Skills Learned

  • Current-mode PWM control.
  • SMPS feedback systems.
  • MOSFET gate driving.
  • Current sensing.
  • High-frequency transformer operation.
  • Switch-mode power supply design.

Safety Notes

  • Offline SMPS circuits contain hazardous mains and high DC voltages.
  • Always test through an isolation transformer where appropriate.
  • Discharge electrolytic capacitors before handling the circuit.
  • Maintain proper PCB creepage and clearance distances.
  • Use correctly rated MOSFETs, transformers and safety-approved components.

Key Points

  • The UC3842 is a professional current-mode PWM controller for regulated SMPS designs.
  • It includes an internal oscillator, precision reference, error amplifier and MOSFET gate driver.
  • Built-in current limiting and undervoltage lockout improve reliability and safety.
  • It is widely used in flyback, forward and other switch-mode converter topologies.
  • The UC3842 remains one of the most popular PWM controller ICs for power electronics.

Next Project

Continue by building a 300 W Flyback SMPS, where you'll use the UC3842 to design a fully regulated switch-mode power supply from the controller to the output stage.

Next Project → 300 W Flyback SMPS