This study describes how to regulate the frequency and terminal voltage of a freestanding wind energy conversion system using an Enhanced Phase Locked Loop (EPLL)-based strategy to supply power to varied loads regardless of wind speed. In a standalone wind turbine energy conversion system, the EPLL control scheme extracts the reference source currents (SWECS). The control algorithm employs two proportional-integral (PI) controllers to create the active and reactive power components of the consumers' load currents, estimate reference source currents, and connect the zigzag transformer to PCC with VSC for neutral current compensation. To obtain optimal PI controller gains and most-suited settings to apply to SWECS, optimization approaches are used. The control algorithm is the most significant aspect of the system, and the speed with which it calculates, evaluates, and guesstimates determines the generation of source currents based on the algorithm's ideal controller PI gains. By properly estimating source currents, the EPLL control method improves dynamics and power quality issues, and the optimization technique is employed to acquire the gains of PI controllers. The proposed system employs the EPLL algorithm on a three-phase, four-wire system with changing loads to achieve ideal total harmonic distortion of source currents and voltages on the PCC, as defined by IEEE-519 standards. A battery energy storage device coupled to the VSC dc link keeps the load's necessary power constant. If the generator output exceeds the consumer demand, the excess power is delivered to BESS for temporary storage. When consumer demand exceeds generated power, a BESS delivers deficit power to the load, which adjusts and the frequency under various load conditions. The suggested system simulated results were tested with 3-phase 4-wire for harmonics reduction, load balancing, neutral wire current compensation, frequency and voltage control using MATLAB / Simulink.