Transfer Switch (ATS) is a control device used in power systems to automatically switch the electrical load from the main power supply to a backup generator or alternate source when a power failure is detected. Once the primary source is restored and stable, the ATS returns the load back to the main supply, providing seamless