Go to Post 254 bends CIM shafts every now and then in the drivetrain. I didn't believe it was possible until I saw it myself. - AustinSchuh [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-01-2016, 18:21
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: Measuring RPM

Quote:
Originally Posted by nandeeka View Post
Another option would be for the speed to be controlled by a dial on the driver's station. You could play with the dial as needed, even during the match, if you are having issues.

Even if you do not decide to use this method in competition, it might be a good way to figure out what speed you want in the first place and then use a Bang-Bang controller or PID loop to control on-field.
You still need a way to control and verify that what your dial is setting, is actually being run on the robot.

We did do something similar in 2012 though. After our camera tracked the target, and fed the shooter a setpoint value, we had 2 buttons on our joystick that would increase the RPM setpoint by 50, or decrease it by 50.
__________________
1771- Programmer, Captain, Drive Team (2009-2012)
4509- Mentor (2013-2015)
1771- Mentor (2015)
  #2   Spotlight this post!  
Unread 17-01-2016, 18:27
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Measuring RPM

In the case that you are unable to create a speed control routine in code, you actually can do a reasonably good job just by accounting for the battery voltage.

The major contributor to speed fluctuations of your wheel will be battery voltage, assuming that your motor and mechanical system don't change. By simply multiplying the amount your drive your shooter wheels by the % of battery voltage you can actually do a reasonably good job of keeping the motor at the same speed.

That said, if you use the "I" value in PiD, you can do a pretty good simple speed controller.
Closed Thread


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 On
HTML code is Off
Forum Jump


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

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