I would like to design a duty cycle measurement logic for one of our customer with a adjustable cutoff.
i.e. 50% duty cycle is best desired sate to be in. anything more than that or less than that is an error. If this error goes below certain threshold let's say less than 30% duty cycle or greater than 70% then we need to trigger an alarm.
PWM pulses are of 5V signals. Frequency will be fixed. 482Hz in our case.
I can do it with microcontroller easily however, we like user to configure the threshold level them selves (using potentiometer may be) and would like to make it independent from timers because there will be many of such signals all at the same time. Which could be heavy pulse detection code for my controller.