Brushless DC (BLDC) motors are a class of electric motor that has gained popularity in recent years. Unlike traditional brushed motors, BLDC motors employ electronic commutation to control the rotation of the shaft. This reduces the need for physical brushes, which are prone to wear and tear, resulting in a efficient motor. The functionality of a