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.

  • maximus
  • Jul 11 2018
  • Planned
  • Dustin commented
    July 11, 2018 21:10

    I wrote a PWM analyzer you can find here: https://github.com/dustin/logic-pwm

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

  • Joris commented
    July 11, 2018 21:10

    Should be moved to protocol analyzers

  • Guest commented
    July 11, 2018 21:10

    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: https://imgur.com/AS4KKNF
    Note that it display the analog value of all of the digital line.