Design of a DSP-Based Adaptive Controller for Real Time Dynamic Conrol of AMI Robot