Marcio Cunha

How to test PWM circuit with an oscilloscope on the bench

Learn the practical methodology for analyzing pulse-width modulation signals in switched-mode power supplies using a bench oscilloscope.

Marcio Cunha•5 min
Also available in:PortuguêsEspañol
Summary
  • Pulse-width modulation controls average power by varying the duration the signal remains active.
  • The oscilloscope reveals distortions, noise, and failures invisible to standard digital multimeters.
  • Proper time and amplitude adjustments prevent false readings during switching signal analysis.
  • Attenuated probes reduce high-voltage spikes and protect the equipment against severe overloads.
  • Analyzing the duty cycle helps diagnose thermal overloads and voltage regulator failures.

What is pulse-width modulation and why test it

In modern electronics, precise energy control is the key to operating virtually any device, from a computer power supply to your phone charger. This is where pulse-width modulation, widely known as PWM, comes into play. In practice, this means rapidly turning an electrical voltage on and off in repetitive cycles, varying the time the signal stays 'on' compared to the time it stays 'off'. By doing this intelligently, we manage to control how much energy reaches a motor, an LED, or a processor without wasting electricity as heat.

When these switching circuits fail, the equipment simply stops working or exhibits chronic instabilities that seem impossible to track down. It is common for novice technicians to try solving these problems with a standard multimeter, but a multimeter only reads an average and frequently masks severe waveform issues. To deeply understand the system's behavior, we need a visual tool capable of seeing time and voltage simultaneously. If you want to master board-level analysis, it is also worth checking out our guide on how to test motherboard clock circuit with an oscilloscope to expand your view on dynamic troubleshooting.

Preparing the workbench and setting up the oscilloscope

Before touching any probe to an energized circuit, the safety of your workbench and equipment must be guaranteed. The oscilloscope is a window into the invisible world of fast electrical signals, but configuring it incorrectly can yield completely misleading readings or even damage the input channel. The first fundamental step is to set the probe switch to the ten-to-one (10x) attenuation position, which protects the circuit against interference and increases the instrument's input impedance. Additionally, make sure the oscilloscope's ground is properly connected, especially when dealing with switched-mode power supplies tied directly to the mains electricity.

Next, connect the probe's ground clip exactly to the common reference ground of the circuit you will measure, avoiding long wires that act as antennas and pick up unwanted electromagnetic interference. Adjust the time base (time/div) to visualize a few complete pulse cycles and set the trigger to edge trigger mode to stabilize the image on the screen. If the signal is shaking or jumping, the trigger is your best ally to freeze the motion. For those working in advanced hardware maintenance, understanding these measurement fundamentals is just as crucial as mastering related concepts like how to test the motherboard charging circuit on the bench.

Identifying essential signal parameters

With a stable waveform on the oscilloscope screen, the time has come to decipher what the signal is saying about the health of the PWM circuit. The first parameter we observe is the peak-to-peak amplitude, which should correspond exactly to the expected supply voltage for driving the component, such as a MOSFET gate. If this voltage is too low, the transistor will not fully open, generating excessive heat and a loss of energy efficiency. Another critical point is the signal frequency, which defines how many times per second the switching cycle repeats, usually measured in kilohertz or megahertz.

The most important concept in PWM analysis is the duty cycle. It represents the percentage of time the signal remains active within a complete period. If the pulse stays active for half the time and off for the other half, we have a fifty percent duty cycle. In switched-mode supplies, this value varies dynamically according to the load demanded by the system: the heavier the work, the wider the pulse to supply the necessary current. Observing how this duty cycle reacts to load variations is the secret to diagnosing faulty voltage regulators.

To perform an accurate and safe measurement of the PWM circuit on the bench, follow this practical verification sequence:

  1. Connect the probe ground to the circuit's common reference point and set the probe attenuation to 10x on both the physical switch and channel settings.
  2. Set the channel coupling to DC to ensure you can visualize both the continuous component and the alternating switching signal.
  3. Place the probe tip on the control terminal, such as the switching transistor gate, and adjust the time base to display two to four complete cycles.
  4. Turn the trigger control until the image on the screen becomes perfectly static, allowing a clear visual reading of high and low logic levels.
  5. Measure the pulse width and calculate the duty cycle to verify if the control circuit is responding adequately to load demands.

Interpreting anomalies and noise in the waveform

A well-adjusted oscilloscope does not just show perfect waves; it also reveals imperfections that denounce hidden defects in surrounding components. When analyzing the PWM signal, pay close attention to the corners of the square wave: the rise time and fall time transitions should be extremely fast and clean. If you notice that the wave edges are rounded or sluggish, this generally indicates excessive parasitic capacitance, a faulty gate driver circuit, or degraded semiconductor components that need immediate replacement.

Another common problem appearing on screen is high-frequency noise or unwanted voltage spikes. These spikes occur due to the abrupt opening and closing of high currents in inductors and transformers, and while small-scale ones are normal, exaggerated spikes can destroy the integrated controller circuit. Excessive ringing at the top of the pulse usually points to problems with decoupling capacitors or failures in the power supply's feedback loop. Identifying these symptoms precisely avoids the unnecessary replacement of expensive components and guarantees a definitive repair. To explore these architectural concepts further in production, see our related technical analysis on How to optimize WebP images in Frontend to eliminate bottlenecks.

Final considerations on oscilloscope diagnostics

Mastering the use of the oscilloscope to test PWM circuits transforms how you view electronic faults, replacing guesswork with diagnoses based on clear visual evidence. Although it requires patience to calibrate probes and interpret complex waveforms, this skill differentiates the average professional from the one who can solve the most challenging bench problems. Always remember to prioritize safety when working with switched-mode supplies and high-voltage circuits, using proper isolation when necessary. With constant practice, reading PWM signals will become second nature in your daily maintenance and electronic engineering workflow.