A high performance DSP based system for ro­botics drives