In this article we discuss a UPS circuit powered from mains supply. The backup power is provided by NimH batteries.  Figure 1 : UPS schematic   The power