View Single Post
  #6   Spotlight this post!  
Unread 19-10-2005, 10:38
Chris Hibner's Avatar Unsung FIRST Hero
Chris Hibner Chris Hibner is offline
Eschewing Obfuscation Since 1990
AKA: Lars Kamen's Roadie
FRC #0051 (Wings of Fire)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1997
Location: Canton, MI
Posts: 1,488
Chris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond repute
Re: Mini-Me robot arm controller

Quote:
Originally Posted by Andrew Schuetze
If I understand this method, one sets the PWM motor control based on a percentage of the maximum difference. I.e. If the maximum range of motion on an axis is 180 degrees, when the difference between the mimic control and the robot arm is 180 one sets the motor speed to full, 100%, speed. As it moves into position the motor set point is reduced. When the difference is only 90 degrees, the motor speed would now be only 50% of max speed. If Frictional losses and moments of inertia are favorable, this method may not create oscillations around the setpoint.

APS
What you described here is a 'P' controller (i.e. a PID controller without the I and D).

Simply put, a P (proportional) controller does this: 1) determine the difference between the robot arm and the minime arm; 2) set the PWM proportionally to this difference.
__________________
-
An ounce of perception is worth a pound of obscure.

Last edited by Chris Hibner : 19-10-2005 at 10:40.