Almost all vehicles have their own on-board batteries charging systems, while some do allow the charging of their batteries using off-board batteries charging systems, such as public charging stations. This charging system is an AC-DC power circuit that needs to be managed to respect the nominal characteristics of the vehicle's batteries and prolong their lifespan. It should also keep an eye on the batteries while they run to guard against harm caused by charging or discharging. The ACDC power circuit can be constructed using a variety of topologies depending on the desired system characteristics. There are two different types of architectures—direct and indirect architectures—that can be used to link EVs to the grid. The EV and the grid system operator only have one communication channel to use under the direct architecture. On the other hand, the indirect architecture calls for communication between a grid operator and a middle system.