This project focuses on developing a system to detect synchronization failures in the power grid by monitoring frequency and voltage abnormalities. Utilizing a microcontroller from the 8051 family, the system aims to automatically disconnect faulty supply sources to prevent large-scale power outages. Enhancements for more advanced detection methods using power electronics are also suggested.