How to inspect PWM signals on boards with an oscilloscope
Learn how to capture and analyze pulse width using an oscilloscope to validate switching power supplies and motor controls on the bench.
Summary
- The PWM signal modulates the electrical pulse width to control power applied to loads without energy waste.
- The probe with a tenfold attenuator reduces electromagnetic interference during high-frequency measurements.
- DC coupling on the oscilloscope is essential to reveal hidden direct current voltage levels in the signal.
- Analyzing duty cycle and rise times prevents overheating in high-power switching transistors.
- Proper tracking of noise and ripple complements the diagnosis of switching power supplies and motor drives.
What is a PWM signal and why inspect it on the workbench?
The acronym PWM stands for Pulse Width Modulation. In practice, it is an intelligent technique to control the amount of energy delivered to a component, such as a conveyor motor or a switching power supply winding, by turning electricity on and off hundreds or thousands of times per second. Instead of wasting energy generating heat with common resistors, the electronic circuit delivers rapid pulses. To validate whether this system works without burning expensive components, technicians must use an oscilloscope, a device that draws voltage graphs over time on a screen.
When working on the workbench with power electronics, relying solely on a standard multimeter is a dangerous mistake. A multimeter shows an average value that can mask dangerous oscillations, unwanted voltage spikes, or timing failures that destroy field-effect transistors, known as MOSFETs. By inspecting the PWM signal directly on the board, we can see the real behavior of the square wave, verify distortions, and ensure the command circuit is sending clean instructions. Before performing complex measurements, it is worth reviewing fundamentals on signal integrity, as discussed when tracking high-frequency ripple and noise on the bench.
Preparing the workbench and setting up the oscilloscope
Before connecting probes to an energized board, basic precautions prevent irreversible damage to your measuring equipment. Most bench oscilloscopes have the probe's ground terminal connected directly to the electrical grid earth ground of your workspace. If you connect this ground to a floating high-voltage point inside a switching power supply, you will cause a catastrophic short circuit that can blow traces and fry the oscilloscope channel. Therefore, always set the probe to the correct attenuation, usually ten times, to protect the input circuit and minimize parasitic capacitance that distorts square wave corners.
Another essential adjustment when configuring the instrument involves input channel coupling. Direct current coupling, known as DC mode, is mandatory to visualize the complete PWM signal because it preserves the reference voltage level relative to the board ground. If you switch to alternating current coupling, the AC mode, the oscilloscope will block the DC component and distort the duty cycle reading, leading to completely wrong conclusions about the control circuit behavior. Also set the trigger synchronization to edge mode on the pulse rising edge to stabilize the image on the screen for detailed analysis.
Capturing and measuring pulse width in motor controls
Speed control for direct current and stepper motors in industrial equipment or appliances strictly depends on variations in the electrical pulse width. When the pulse becomes wide, the motor receives more energy and speeds up; when the pulse shrinks, energy decreases and the motor slows down. To analyze this dynamics on the oscilloscope, place the probe tip on the gate terminal of the transistor driving the motor and adjust the time base to view several complete cycles on the screen. Measure the total wave period and the exact duration the signal stays high to calculate the actual duty cycle.
During this capture, closely watch the rise and fall times of the square wave generated by the driver integrated circuit. If these times are too long, the transistor will spend too much time in the linear region, dissipating a huge amount of heat as thermal energy that can destroy the component through thermal overload. Intermittent issues in this power stage often relate to structural board faults, requiring careful attention and soldering procedures covered when we find cold solder joints and fix intermittent board faults.
If you notice pulse width instabilities during motor operation, check for electromagnetic noise coupled into the control signal lines coming from the microcontroller. A locked microcontroller or one suffering interference from magnetic fields emitted by the motor itself can corrupt the PWM signal, generating mechanical jitter and torque loss. Using shielded cables and placing the probe ground clip as close as possible to the measurement point helps eliminate false readings caused by parasitic induction in the workbench environment.
Validating the operation of switching power supplies
In modern switched-mode power supplies, the PWM signal controls the main transformer to convert alternating grid voltage into stable direct current voltages for powering sensitive circuits. Inspecting the PWM signal in the primary circuit of these power supplies requires extreme caution due to high voltages present. Connect the probe with proper attenuation to the power transistor drain and observe the waveform. The typical shape features a rectangular pulse followed by a voltage spike generated by transformer leakage inductance, which must be contained by a snubber protection network.
Detailed analysis of this pulse reveals whether the power supply operates at the correct frequency and how the control integrated circuit reacts to load variations. If the pulse width oscillates wildly without apparent load, the feedback loop may be corrupted by issues in filter capacitors or defective optocouplers in the feedback loop. On denser boards or those with complex maintenance histories, integrity failures may require meticulous structural repairs, a topic we explore when we repair broken traces on high-density circuit boards.
Final considerations on PWM signal inspection
Mastering PWM signal inspection with an oscilloscope transforms the workbench routine, replacing trial and error with fast diagnostics grounded in circuit physics. Understanding the relationship between pulse width, duty cycle, and thermal component behavior allows anticipating catastrophic failures in motors and switching power supplies before equipment returns to clients. Constant practice, combined with correct probe use and coupling modes, ensures safety and precision in any power electronics challenge.
In short, the key to good diagnosis lies in combining technical preparation, operational safety, and correct interpretation of waveforms displayed on screen. By keeping equipment calibrated and paying attention to subtle transition times and parasitic noise, you drastically elevate maintenance quality and ensure the long-lasting reliability of electronic systems passing through your workbench.