  Electric vehicles (EV) are an important part of future sustainable
transportation. The increasing integration of EV charging stations (EVCSs) in
the existing power grids require new scaleable control algorithms that maintain
the stability and resilience of the grid. Here, we present such a control
approach using an averaged port-Hamiltonian model. In this approach, the
underlying switching behavior of the power converters is approximated by an
averaged non-linear system. The averaged models are used to derive various
types of stabilizing controllers, including the typically used PI controllers.
The pH modeling is showcased by means of a generic setup of an EVCS, where the
battery of the vehicle is connected to an AC grid via power lines, converters,
and filters. Finally, the control design methods are compared for the averaged
pH system and validated using a simulation model of the switched charging
station.
