Determining Rate Of Accelleration
- TurboStreetCar
- Offline
- Junior Member
-
Less
More
- Posts: 36
- Thank you received: 0
11 Nov 2025 14:48 #338190
by TurboStreetCar
Determining Rate Of Accelleration was created 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?
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 or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 17400
- Thank you received: 5070
11 Nov 2025 15:14 #338192
by PCW
Replied by PCW on topic Determining Rate Of Accelleration
You can get acceleration by taking the derivative of the encoder velocity pin with the HAL ddt component.
Please Log in or Create an account to join the conversation.
Time to create page: 0.076 seconds