Text this: Non-linear PID control of AC current and DC voltage for a photovoltaic system operating on a microgrid