thanks but it gives an output voltage when connected to main suply.try changing the switch of the invertor (if your ups has one separately for the invertor).. if it doesnt work check the relay ,,,one that is used for switching..if it doesnt help ... then either your transformer is burned-up or circuit is damaged