Go to Post School cannot teach everything you need to know so they teach you how to learn. - kstl99 [more]
Home
Go Back   Chief Delphi > Old Forum Archives > 2000
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 23-06-2002, 22:13
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Re: control system programming

Posted by Mike Gray.

Engineer on team HOT from Huron Valley Schools sponsored by GM Milford Proving Ground.

Posted on 3/2/2000 8:29 AM MST


In Reply to: control system programming posted by Jimmy Holmes on 3/2/2000 6:26 AM MST:



Suggestions:

1. Eliminate the possibility of mechanical problems, with the motor or with the drivetrain.
2. Check for volt drops across terminations.
3. Check the integrity of the suspect speed controller, per InnovationFIRST instructions.
4. If the first three are fruitless, scale the PWM value to the speed controller:

First, determine the speed error. Declare a new variable which will be scaled to reflect the speed error. The new variable will be a transfer function for the faster motor. Perform a slope and intercept (mX+b) transform on the joystick variable and set the new variable equal to it.

Example:

new_variable=joystick / 2 + 64

This example assumes that you want to scale the variable to half-scale. You must add 64 counts so that 127 counts still represents center-stick. If you want 1/4 speed, simply divide by 4 and add 96.

Unfortunately, this method wil not make full use of the faster motor's potential, but you can't make the slow motor go any faster than 255 counts.

Even after scaling, the motors may launch unevenly due to variation in static friction. If you need to start the motors many times during a match, static friction may cause the linkage to 'warp'. I suggest using the x-axis on that joystick to modify the y-axis variables, so the operator can make small corrections to the linkage on the fly.

Hope this helps.


__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a FIRST Robotics control system kershawrobotics General Forum 3 07-07-2003 09:49
control system worth more than $500 archiver 2001 8 24-06-2002 02:00
New Innovation FIRST control system and the dashboard archiver 2000 0 23-06-2002 22:15
UNFAIR ADVANTAGE for CDI and new control system archiver 2000 6 23-06-2002 22:13
Ok, how much is the control system worth? archiver 2001 6 23-06-2002 22:05


All times are GMT -5. The time now is 21:21.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi