Go to Post By the looks, 1114 has already figured out both #1 and #2. They're still behind 71, who is just about done with their robot for the 2012 season, is getting driver practice for 2011, and is working on their robot designs for the 2013 water game. You're still way behind. - EricH [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 26-01-2017, 10:20
Brian Selle's Avatar
Brian Selle Brian Selle is offline
Mentor
FRC #3310 (Black Hawk Robotics)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Texas
Posts: 170
Brian Selle has a spectacular aura aboutBrian Selle has a spectacular aura aboutBrian Selle has a spectacular aura about
Re: Velocity Control - Battery Compensation Term

Quote:
Originally Posted by Ether View Post
I've seen the .8 number in various places for drivetrains, which include rolling friction, carpet deformation, multi-stage gearboxes, and gears/chains or belts/pulleys.

It would be very interesting to see test data for a quality 2:1 single-stage gearbox (properly assembled and lubed) connected directly to a properly balanced spokeless shooter flywheel, when the flywheel is spinning unloaded (i.e. not firing balls) at its operating speed. Volunteers?


I wrote down some numbers last night from one of our prototypes. The setup is not exactly as we discussed but a data point nonetheless.

(2) 775pros through 4:1 VersaPlanetary gearboxes driving a set of shooter wheels via 24T HTD pulleys (1:1) and belts. The shaft is nicely supported running on Thunderhex bearings. CTR Mag encoder on the VP.

A vbus command of 1.0 yielded roughly 4400-4500 RPM. The battery checked in around 13V before we started the test but I didn't record the exact voltage while it was running.

775pro free speed is 18730, so a perfectly efficient 4:1 gearbox would give 18730/4 = 4683 RPM. The efficiency factor for this free running system is 4400/4683 = 0.94 to 4500/4683 = 0.96

I forgot to check the motor currents but IIRC from the previous night it was on the order of 3-6 amps per motor. With the motor is running at 17600-18000 RPM this roughly matches the motor curve of 6-8.5 amps.

0.95 factor seems like a better number for a free running system. However, in the case of a shooter or intake, using a 0.8 factor may get you closer to your desired vbus because of slippage at the wheel/ball interface. For the prototype mentioned above, we calculated the theoretical RPM required to achieve our desired exit velocity based on a trajectory simulation. We wanted gear ratio to run the motors around 60-65% vbus. The closest fit just under the target was a 4:1 gearbox that put it at 50% vbus. In testing, the motors ran at 60-65% vbus. So 0.5/0.625 = 0.8 magic. A bit sketchy, based on a theoretical trajectory simulation, but my guess is that using a 0.8 factor for shooter/intakes will get you close.
__________________
2016 Curie Quarter-Finalist (5803, 3310, 2168, 5940), Lubbock Regional Winner (3310, 4063, 4301), Arkansas Regional Winner (16, 3310, 6055)
2015 Newton Quarter-Finalist (3130, 2468, 3310, 537), Lubbock Regional Winner (2468, 3310, 4799)
2014 Galileo Quarter-Finalist (2052, 70, 3310, 3360), Colorado Regional Winner (1138, 3310, 2543)
2013 Archimedes Semi-Finalist (126, 3310, 1756), Texas Robot Roundup Winner (3310, 624, 2848), Dallas Regional Winner (148, 3310, 4610)
2012 Dallas West Regional Winner (935, 3310, 4206)
Reply With Quote
  #17   Spotlight this post!  
Unread 05-02-2017, 23:39
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 549
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: Velocity Control - Battery Compensation Term

Quote:
Originally Posted by Tom Line View Post
When doing velocity control with the talon srx's, the velocity you get from your feed-forward term is going to be affected by battery voltage. Has anyone experimented or used a battery offset term to correct for this? Is it worth it?
Quote:
Originally Posted by Paul Copioli View Post
Tom,
The I gain is for things like that. We use I and P for velocity control and as long as you design your gearbox / motor combo with enough headroom then the I and P can compensate...
I totally agree with Paul.

And yet... we just added a form of battery compensation in the last CTRE installer. Check out section 10.8 in the latest Talon SRX Software Reference Manual. When enabled, the output of PIDF represents a portion of a specified voltage, which is compared against the measured battery voltage, yielding a voltage-compensated duty cycle.
Reply With Quote
Reply


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 06:44.

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