In electrical engineering, a protective relay is a relay device designed to trip a circuit breaker when a fault is detected.