Determining Rate Of Accelleration

More
11 months 2 weeks ago #338190 by TurboStreetCar
Hello, i have a project im working on (Not a CNC machine, but i believe a Mesa card is good capable hardware for this application) where im trying to determine the rate of acceleration of an externally driven spindle using an encoder. 

There doesn't seem to be any built in components for this that i can find.

The use case, is to feed the rate of acceleration into a PID loop to control the output of a stepper/servo that regulates the spindles speed.

Is there a relatively easy way to measure/determine rate of acceleration accurately?

Please Log in to join the conversation.

More
11 months 2 weeks ago #338192 by PCW
You can get acceleration by taking  the derivative of the encoder velocity pin with the HAL ddt component.

Please Log in to join the conversation.

More
11 months 2 weeks ago #338309 by TurboStreetCar
Aha! I knew there had to be a relatively easy way. Thanks!

Please Log in to join the conversation.

Time to create page: 0.074 seconds
Powered by Kunena Forum