Brushless Direct Current (BLDC) motors and their evolution in electric vehicles (EVs) garner attention for their streamlined operation and control methods, enhancing driving range while reducing energy consumption. The primary objective is integrating sliding mode control to enhance BLDC motor capabilities, efficiently regulating speed and torque. The proposed sliding mode (SM) controller mitigates torque ripple and improves dynamic performance amidst fluctuating loads. Speed stabilization and torque control involve comparing reference and predicted speeds, with error feedback integrated into the SM controller. Integrating real-time rules and numerical data with an ANN (Artificial Neural Network)-Fuzzy self-learning algorithm empowers the SM controller to anticipate and mitigate error rates in the BLDC motor, efficaciously modulating motor torque with minimal ripple. Extensive MATLAB/Simulink model-in-loop (MIL) and hardware-in-loop (HIL) simulations demonstrate SM controller superiority over conventional PID, Fuzzy, and PID-Fuzzy controllers, with a rise time of 0.01 s, steady-state error of 0.001 %, settling time of 0.02 s, and peak overshoot of 0.066 %. Moreover, the experiment results show an impressive 29.41 % reduction in torque ripple and the development of efficiency maps to attain the maximum efficiency of 96.12 %. This initiative substantiates that the proposed SM controller to enhance BLDC motor efficiency and EV driving range across real-time conditions.