Go to Post there should be a continuous cascade of knowledge spilling over to the less experienced team members and and continuous upward flow of members gaining experience. - ebarker [more]
Home
Go Back   Chief Delphi > Technical > Programming
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
  #16   Spotlight this post!  
Unread 19-02-2006, 14:18
Rick TYler Rick TYler is offline
A VEX GUy WIth A STicky SHift KEy
VRC #0010 (Exothermic Robotics)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Redmond, Washington
Posts: 2,000
Rick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond repute
Re: How Can I aim at the Vision Target Faster but without overshooting?

Just checking in to give Alan a chance to post his testing results...
__________________
Exothermic Robotics Club, Venturing Crew 2036
VRC 10A, 10B, 10D, 10Q, 10V, 10X, 10Z, and 575
  #17   Spotlight this post!  
Unread 17-02-2007, 23:44
Ianuser Ianuser is offline
Registered User
FRC #0570
 
Join Date: Feb 2007
Location: new york
Posts: 64
Ianuser is an unknown quantity at this point
Re: How Can I aim at the Vision Target Faster but without overshooting?

WAIT! Does that mean all of my pwm values centers are 132 and not 127? That makes thigns very different!
  #18   Spotlight this post!  
Unread 18-02-2007, 01:17
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: How Can I aim at the Vision Target Faster but without overshooting?

Yes, I verified a year ago that the "neutral" of a factory-calibrated Victor is rather higher than the theoretical 127. I reverified it last week, finding that the yellow light is on from about 124 to 139. I just now changed a bit of code to put the neutral at 131, and it seemed to be running a wee bit smoother than it did before. (I then totally blew away the tuning parameters in the process of trying something new, so I wasn't able to prove that it worked better.)
  #19   Spotlight this post!  
Unread 18-02-2007, 11:37
Ianuser Ianuser is offline
Registered User
FRC #0570
 
Join Date: Feb 2007
Location: new york
Posts: 64
Ianuser is an unknown quantity at this point
Re: How Can I aim at the Vision Target Faster but without overshooting?

OK, my camera STOPPED WORKING!! Why? I checked my wires over and over again, I recharged the backup battery. The LEDS on the camera turn on when I turn on the robot and the camera moves to a set location, slightly up and right of the center. But it stays there! There is no light for the camera to track, and just yesterday it was working fine! I added nothing to the code, and this is kinda freaking me out. All I did today was mount the camera to the robot and I rewired some stuff. The sensor board for the camera is mounted upside down, power is on, everything worked yesterday. Any suggestions?
  #20   Spotlight this post!  
Unread 18-02-2007, 21:17
Ken Streeter's Avatar
Ken Streeter Ken Streeter is offline
Let the MAYHEM begin!
FRC #1519 (Mechanical Mayhem)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Team: Milford, NH; Me: Bedford, NH
Posts: 470
Ken Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond repute
Re: How Can I aim at the Vision Target Faster but without overshooting?

Quote:
Originally Posted by Alan Anderson View Post
Wow. I've been going from the official IFI documentation which says the Victor deadband is 117-137. I never gave it a second thought. But that would perfectly explain the asymmetric PID response I wrestled with a week ago.
Add our voice of experience to testify that the "true neutral" we have seen on the Victors is at 132, rather than 127. We repeated this test with many Victors from the last three years and have found all of them to have a true neutral of 132 rather than 127. Similarly, the "deadband" range is actually 125 to 138 (an average of ~132) rather than 117-137 as described by IFI's documentation.

For PID control, the difference in a "center point" of 132 vs. 127 makes a huge difference. We have confirmed this with many victors from the last few years. For software control, we are certain that you do NOT want to run the IFI "calibration" procedure, but instead should simply use a center point of 132, with a "deadband" of 6-7 units.

A past thread from Mike Betts which provides a graph of some detailed tests he ran to confirm this is in this post from 2005.

We don't know whether the source of the error (132 vs 127) is due to the PWM signals being generated that way by the RC, or if the problem is in the Victor itself. We don't have an oscilloscope to track down the source of the issue, but our empirical studies are quite conclusive that 132 is the appropriate center point for PID control loops.

--ken
__________________
Ken Streeter - Team 1519 - Mechanical Mayhem (Milford Area Youth Homeschoolers Enriching Minds)
2015 NE District Winners with 195 & 2067, 125 & 1786, 230 & 4908, and 95 & 1307
2013 World Finalists & Archimedes Division Winners with 33 & 469
2013 & 2012 North Carolina Regional Winners with teams 435 & 4828 and 1311 & 2642
2011, 2010, 2006 Granite State Regional Winners with teams 175 & 176, 1073 & 1058, and 1276 & 133
Team 1519 Video Gallery - including Chairman's Video, and the infamous "Speed Racer!"

Last edited by Ken Streeter : 18-02-2007 at 21:18. Reason: Fixed typos...
  #21   Spotlight this post!  
Unread 19-02-2007, 21:00
Ianuser Ianuser is offline
Registered User
FRC #0570
 
Join Date: Feb 2007
Location: new york
Posts: 64
Ianuser is an unknown quantity at this point
Re: How Can I aim at the Vision Target Faster but without overshooting?

Ok, about encoders. They are physical Things? Or is it just code? I think an encoder would suit me very well since I am usnig a forkilft apparatus and I want to stop the forklift at 4 positions. 3 for the different layers of the SPIDER and one for starting position. I think I could write the code for it, but is an encoder an actual thing that I have to put on the motor? Does it come with the kitofparts?

might be a silly question, but I'm running outta time and i would like to know since my metallic sensor doesn't function.

If all else fails I can use a limit switch (I have two I think) for the bottom and top positions, but I dont think i'd be able to use more for the other 2 positions of the forklift since theres no place to but them...maybe...I think encoder would be easier...right? Thanks
  #22   Spotlight this post!  
Unread 20-02-2007, 11:26
kaszeta's Avatar
kaszeta kaszeta is offline
Registered User
FRC #0095 (Grasshoppers)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Lebanon, NH
Posts: 334
kaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of light
Re: How Can I aim at the Vision Target Faster but without overshooting?

Quote:
Originally Posted by Ianuser View Post
Ok, about encoders. They are physical Things?
Physical things (usually little rotary things that generate pulses as they spin). See http://www.kevin.org/frc/encoder/ for a discussion of encoders and FRC code.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Durability of Vision Target geeknerd99 General Forum 13 11-02-2006 14:15
Vision Target Assembly platt Kit & Additional Hardware 4 26-01-2006 17:34
Vision Target power supply AUWarEagle#1 Electrical 3 18-01-2006 22:17
Question concerning vision target Otrobotics General Forum 17 15-01-2006 15:59


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

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