An input voltage Vc to a bridge circuit is made variable by making a switching element, which is on a lower side among a plurality of switching elements constituting the bridge circuit, a coil and a capacitor, which constitute a filter, operate as an active filters at the time of charging the battery.