According to ANSI Standard C37.1, a protective relay is a device whose function is to detect defective lines or apparatus, or other power system conditions that are abnormal or dangerous, and initiate appropriate control circuit action.