Text this: An enhanced zero crossing based HVAC phase synchronous inverter for electrostatic generator in microgrid systems