This reference offers insight into problems of coding control algorithms on a DSP platform. The text bridges the gap between theoretical control analysis and industrial practice. Coverage includes basic speed and position control structures as well as motion control topics like nonlinear position control, control of mechanical structures with flexible couplings, electric shaft problems, compliance and mechanical resonance problems and anti-resonant solutions. A set of Simulink(R) simulation files and exercises follows each chapter. Having read the book and done the exercises, the reader should acquire a reasonable ability to design and deal with the real-world speed and position controllers and trajectory generators.