Massive integration of inverter dominated renewable energy systems (RESs), i.e., wind turbines (WTs), reduces the reliance on conventional alternator-based power stations. The system inertia and damping aspects of the power system were significantly decreased by this extensive integration of inverter-based WT system, which impacts on the fault ridethrough (FRT) competence and thus precipitates the frequency instability. Modern grid code instructed to operate the WT system similar like conventional power plants. However, most of the conventional inverter controller failed to fulfil the requirement. To compensate for the issues, an advanced control method of a VSG for variable speed wind turbines with a permanent magnet synchronous generator (VSWT-PMSG) is proposed by this work. The proposed control scheme mimics the behavior of a conventional alternator and includes an active-power frequency control scheme with a governor model accompanied by an automatic voltage regulator (AVR) model, along with a current feedback loop system which enhance the system inertia and consider damping aspects of the system during serious fault conditions, i.e., three line to ground (3LG) fault. The suggested VSG-based inverter controller's functionality has been verified using the simulation model.