A novel device is proposed in this paper which can be used in charging or discharging storage battery. The device designed with PWM AC/DC converter has the advantages of bi directional power flow, low AC harmonic and unity power factor. Owing to the electric energy flowing from DC side to AC side,the device has good effect of saving energy.