This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/CODECOMPOSER: lab 6b overshoot

Part Number: CODECOMPOSER

Tool/software: Code Composer Studio

Hello,

I am encountering a very bizarre phenomena when trying to get lab 6b to implement a simple motion profile. I want it to get my motor to transition between two speeds: 0krpm and .5krpm. I have attached snippets of data I took that shows this strange phenomena. I have attached the adjustments I made to the code as well. I don't understand why it overshoots. Does anyone know what could be causing this strange behavior? Below I have shown the speed_trajectory, estimated speed, acceleration, jerk, and torque. The spike up in speed seems to occur during the spike down in torque.