View Single Post
  #3   Spotlight this post!  
Unread 21-03-2011, 16:19
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,354
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: pic: FRC1899 Control Board

We did a similar controller this year as well. Although, we only controlled one axis. We made a scale model of our robot's arm geometry. We found that because the rotational axis moved greater than 270 deg. normal potentiometers would not cover the entire range of travel. So, we replaced the standard potentiometers with continuous rotation pots.





Here is the "secret sauce" we used for scaling.
The robot controller supplies +5vdc to an analog input device. The Cypress board only provides +3.6vdc.
So we simple multiplied the sampled voltage from the Cypress by (5/3.6)=1.389.

Here is the logic:
At one end of travel, both pots will give you 0vdc. At the other end, one will give you 5vdc and the other 3.6vdc. Both travel the exact same distance, so scaling is linear, just multiply the lower value by the scaling factor and now they are identical throughout the range of travel.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote