Disclosed is a vehicle-mounted charger compatible with an alternating-current charging pile and a direct-current charging pile. The vehicle-mounted charger comprises an ACDC module, an internal direct-current bus, and a switching module, wherein the ACDC module is used for connecting to an alternating-current charging pile, converting an alternating current into a direct current, and transmitting the direct current to the internal direct-current bus; the switching module is used for connecting to a direct-current charging pile and connecting, according to a switching instruction, a direct current output by the direct-current charging pile to an input end of the ACDC module or to the internal direct-current bus; and the internal direct-current bus is connected to a vehicle load to charge the vehicle load. The present invention is effectively compatible with an alternating-current charging pile and a 500V/750V direct-current charging pile, and also solves the matching problem between the whole vehicle charging voltage range after the voltage of a traction battery is increased and the current charging infrastructures. In the present invention, a power conversion circuit of an existing part on the whole vehicle is rationally shared without needing to add additional independent parts; and various charging infrastructures are effectively compatible, thereby reducing investments in charging infrastructures, and facilitating the rapid introduction of new vehicle models for application to the market.
展开▼