Electrical – Measuring pwm output from low side FET with oscilloscope

low-sidemosfetoscilloscopepwm

I have a n channel MOSFET controlling a high current LED panel. The FET is driven by a FET driver, which is itself driven by a MCU pin. I am using PWM to control the LED brightness.

I want to double check the PWM with my scope, to ensure the duty cycle is correct. I can check all along the circuit, and I get proper readings from my scope. If I check the outputs from my FET, I get a garbage reading.

This is because, I believe, when the FET is off, the ground clip is disconnected from the ground reference, and it is left floating.

How can I check the FET output with my scope, since whenever the pulse is low, the ground reference is no longer connected?

EDIT: PWM should be 0-12vdc square wave, 5khz, 10% duty cycle. Also, when I use with the LED, it dims properly as would be expected with PWM, so I'm almost positive it is outputting correctly.

img 1
Scope probe is at 12v, grd clip is at OUT_LED_GND

img 2
Scope output

img 3
Scope connections, output LED

Best Answer

For the record, your LED (D2) is connected backwards. But...

  1. Place a resistor to Vdd instead of the LED. That would provide you with a +12V square signal driven by the FET.
  2. Connect the ground of your oscilloscope to the ground of your circuit (it is likely to already be connected, BTW).

I believe you already have a resistor in that position, so the most likely reason for the waveform you are seeing, is that the oscilloscope is shorting the FET. That is you are connecting one side to ground, when the oscilloscope itself is connected to ground. If the oscilloscope was floating, you should be able to see the signal on the resistor.