I need to design a DC fail safe supply system. My main voltage is 24V. When my main voltage fails below 24v (22v and below), a LED will be lighted up and a buzzer will sound. After 3 seconds, the supply will be switch to the standby voltage and the buzzer will go off (using a relay). anyone?