design and construction of a single phase three source microcontroller based automatic change over switch