View Single Post
  #1   Spotlight this post!  
Unread 06-09-2006, 12:41
yoyodyne yoyodyne is offline
Registered User
AKA: Greg Smith
FRC #0116 (Epsilon Delta)
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Reston, VA
Posts: 61
yoyodyne is a splendid one to beholdyoyodyne is a splendid one to beholdyoyodyne is a splendid one to beholdyoyodyne is a splendid one to beholdyoyodyne is a splendid one to beholdyoyodyne is a splendid one to beholdyoyodyne is a splendid one to behold
vEx PWM Motor Response

Last night I measured the VEX motor speed vs. PWM setting to build a linearization look-up table. I basically got the non-linear response I expected but what I didn't expect was that the maximum motor output actually occurs at around 220 for "forward" and 15 for "reverse". Has anyone else noticed that the motor output drops off slightly at PWM settings of 255 or 0 relative to 220 and 15 for instance? The attached plot shows the test results. The right and left robot motors were each set to a PWM value. After 500ms, the number of VEX encoder ticks over the next second was recorded. The program walked the PWM setting from 127 to 255 and then back down to 0 so there are a double set of points on the scatter plot from 127 to 255. There was some load on the motors from the driving the wheels via a chain and the shaft encoders themselves via a second chain but not a lot of load. Any additional experience in the area of linearizing the PWM to motor speed/power would be appreciated.

Thanks,

Greg
Attached Thumbnails
Click image for larger version

Name:	vEx_PWM_to_MOTOR_RPM.jpg
Views:	203
Size:	54.4 KB
ID:	4592