View Single Post
  #4   Spotlight this post!  
Unread 05-03-2016, 23:13
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,101
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: High Frequency C++ control loops & Feed Forward

Quote:
Originally Posted by tomer View Post
How about motion profiles for velocity closed loop?
Why do you think you need motion profile to control the speed of your flywheel? Most teams using the SRX built-in PIDF for that application just use simple setpoint commands. If you are concerned about high current draw at initial spinup, just use the voltage ramping or closed-loop rate control of the SRX PIDF.


Quote:
Do you know how can I run high frequency PID loops in c++?
How high is "high frequency" in this context? The PIDF in the SRX runs at 1KHz.

Quote:
...drive distance...
You can use motion profile for that. Use v(t) from the profile as your feedforward input, and x(t) as your setpoint input. i.e. closed-loop position control with velocity feedforward.




Last edited by Ether : 05-03-2016 at 23:17.