Power Hardware-In-The-Loop Emulation of a Brushless DC Motor