This paper presents a novel method for controlling the flow of electricity in both directions in an intelligent grid-interactive solar photovoltaic (PV) water pumping system. The water pump in the system is driven by a brushless DC (BLDC) motor without utilizing phase current sensors. This design makes it possible to run constantly at maximum capacity for a full day, no matter what the weather is like. Additionally, excess energy can be routed back into a single-phase electrical system when it's not in use. By using this system, users can optimize the use of the motor pump and the PV array, which increases the pumping system's dependability. A single-phase voltage source converter with a unit vector template generating technique facilitates bidirectional power flow regulation. This converter manages the power flow between the grid and the DC bus of the voltage source inverter (VSI), which powers the BLDC motor. PWM_ON_PWM switching is used by the voltage source inverter (VSI) to reduce torque fluctuations in the BLDC drive. Notably, in order to reduce switching losses, the VSI runs at the fundamental frequency. Furthermore, the system incorporates power factor correction, a reduction in the grid's total harmonic distortion, and the PV array's maximum power point operation, all of which enhance power quality. The effectiveness and dependability of the suggested system are illustrated by means of comprehensive MATLAB/Simulink. This work presents a comprehensive approach that offers major improvements in terms of operational flexibility, energy consumption, and power quality enhancement for bidirectional power flow management in solar PV-fed water pumping systems.