Text this: Chaos control of brushless direct current motor using sliding mode control with a low cost hardware-in-loop validation