The integration of an electric vehicle charging station (EVCS) with a low-voltage distribution network is enabled by bidirectional power converters (BPCs), which may function in EV-to-grid and grid-to-EV modes. The use of the least mean square (LMS) control approach is examined in this article for enhancement of power quality with nonlinear loads while facilitating bidirectional power flow. In case of AC-DC conversion, the DC bus voltage is controlled; conversely, in case of DC-DC conversion, the battery's charging/discharging current. The introduced LMS algorithm uses instantaneous load current, EVCS charging/discharging current, and DC bus voltage to generate control signals for the grid-tied BPC. The system is tested under multiple scenarios of nonlinear and unbalanced loads, and charging/discharging currents during both transitional and stable circumstances. The system's functionality is verified with extensive numerical simulations with MATLAB Simulink ® SimPowerSystems library.