Implement PWM Decoding


I work a lot with switch mode power supplies and probing PWM signals is often required. I've often wanted a handy way to turn a time-varying PWM signal into an analogish representation 0-1 with one equivalent sample per period.


Activity Newest / Oldest



Dustin Jul 11, 2018
I wrote a PWM analyzer you can find here: github.com/dustin/logic-pwm

Let me know if there's anything it should do that it doesn't.

Joris Jul 11, 2018
Should be moved to protocol analyzers

Guest Jul 11, 2018
This would be a must to corrolate motor control signals and sensor input. In the actual state of the software, you must gaze at the multiple PWM line and find some kind of little change and place a marker. It would be a lot more easy with the addition of a "virtual channel" that would represent the duty as a analog signal.

An example of this kind of display can be found here: imgur.com/AS4KKNF
Note that it display the analog value of all of the digital line.