The US Patent and Trademark Office awarded a new patent, US 12,107,509 B1, introducing a novel control method for inverter-based energy storage systems. The inventors are Professor Osama Mohammed, Ahmed Soliman, and S M Sajjad Hossain Rafin. The inventors have created a system that enhances the stability and efficiency of grid-connected converters, especially during load disturbances. This system utilizes Robust Artificial Neural Network Tracking Control (RANNTC) to manage AC grid inputs feeding DC loads effectively. The improvements include a 24% reduction in overshoot, 85% faster settling time, and a 55% reduction in harmonic distortion, making it ideal for microgrid applications. This invention offers an innovative solution for managing the challenges associated with energy storage in modern electrical grids, making renewable energy sources more viable.