Ideas Test

13 VOTE

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.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Aug 2 2018
  • Planned
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    August 2, 2018 17:44

    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.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    August 2, 2018 17:44

    Should be moved to protocol analyzers

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    August 2, 2018 17:44

    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.