Hi Ronsimpson, after doing u number of simulations with this I discovered that if you wait long enough eventually the output will always trigger. The time needed will of course depend on the actual duty cycle.
But this is not exactly what I need: no matter how long the time lapsed, when the duty cycle remains above a certain value the output should never be triggered; but as soon as the duty cycle drops below a certain value, then and only then should the output be triggered. It does not matter how long it takes for this output to trigger.
Example: suppose the duty cycle should never drop below 60% (60 on and 40 off), then as long as the duty cycle remains above that value nothin should happen. However, when the duty cycle drops to below 60%, then I need the trigger. When the duty cycle recovers to above 60%+hysteresis then trigger should be back off again.