View Single Post
  #2   Spotlight this post!  
Unread 27-12-2012, 22:22
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Dealing with low resolution data for speed PID

The first thing I would explore is ways to get a higher resolution speed signal. I am not all that familiar with the Vex controller so I can't speak to the ease of the following approach, but one way to solve this problem in general would be to measure the time between successive encoder pulses rather than counting pulses and dividing by unit time. Most timers have resolutions that far exceed the resolution that you are showing here.