View Single Post
  #8   Spotlight this post!  
Unread 13-02-2015, 12:37
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,043
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: Encoders and rpm


Let's say you want to go from position P=0 to P=Pf in autonomous

Ideally, you'd want your control algorithm to do something like this:

1) ramp the speed up vs time (to limit acceleration to an acceptable level to avoid wheel slip or excessive rocking of the vehicle) until the desired top speed is reached, then hold that speed until you are within distance L of the desired stopping point (i.e. P=Pf-L).

2) then ramp the speed down as a function of L (to avoid excessive deceleration), so that speed=0 when L=0 (i.e P=Pf).

3) all the while keeping the encoder counts synchronized between the left and right motors


Reply With Quote