Mechatronic design of a PM brushless motor-driven gear pump with sensorless control