Modelling of Automatic Voltage Regulator