Motor Model Derivation and Control System Sim.