View Single Post
  #8   Spotlight this post!  
Unread 04-02-2012, 10:30
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,089
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: PID drive paramiters?

Quote:
Originally Posted by techkid86 View Post
Quote:
you need to scale the encoder signal so that it corresponds to the setpoint. otherwise the PID cannot form a proper error signal.
ok, how would i find out what that is? I assume that that is the SetDistancePerPulse function?
Yes.

SetDistancePerPulse() so that a call to GetRate() returns +1 when the speed is what you expect to get when setpoint is +1.

As for tuning a speed PID, read this thread:
http://www.chiefdelphi.com/forums/sh...90#post1115090


Last edited by Ether : 04-02-2012 at 10:35.
Reply With Quote