I have applied PWM across a DC motor. The voltage measured across the motor is shown above.
I want to count the ripples present in the data. The ripples exist at a different frequency than the PWM frequency. I would like to figure out a way to count the ripples directly from this data or to remove/filter out the PWM cycle completely.
The PWM frequency remains constant at 120 Hz always. The ripple frequency changes based on the duty ratio i.e desired motor speed.
