View Single Post
  #4   Spotlight this post!  
Unread 27-12-2012, 11:48
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,062
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: Questions about Encoders and PIDControllers

Quote:
Originally Posted by Cal578 View Post
Quote:
Originally Posted by apples000
With a positional PID loop, when the setpoint is reached, the pid loop will output a zero command to the motor. ...
No, that's not how PID works. If you set the constant for I (Integral) to an appropriate value, the PID output will be a good value to maintain the setpoint. A zero output is what would happen if you used a Proportional only control.
No, that's not how positional P-only works. With P-only, there would still need to be an output of sufficient magnitude to maintain a position against any external forces. With P-only, this output comes from the steady-state positional error.


Quote:
Controlling speed and position aren't really different, once you get your units of measurement and conversion factors (converting motor input to desired output) right.
Yes, they really are that different. If you are controlling position, then the plant is an integrating plant. If you are controlling speed, then the plant is not an integrating plant. They require different strategies.

http://www.chiefdelphi.com/forums/sh...90&postcount=5




Last edited by Ether : 27-12-2012 at 11:50.
Reply With Quote