Go to Post Not everything has to be cashed in or has to have instant recognition. Sometimes being a part of a program of value and opportunity is enough. And, what you put into the program is what you get out of it. - JaneYoung [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 03-02-2013, 00:20
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Sensor for finding out angle?

Any sensor we can use to determine the angle of, say, our launcher?

Gyro seems interesting but we'd have to integrate the rate of change of the launcher angle; any more reasonable method of finding angle?

Thanks.
__________________
FTC Teams 5257, 6568 & FRC Team 3992
Eagles Robotics Xperience
2014 FTC WORLD CHAMPIONS
14 Trophies in 3 Years
  #2   Spotlight this post!  
Unread 03-02-2013, 00:22
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,074
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Sensor for finding out angle?

Quote:
Originally Posted by ksafin View Post
Any sensor we can use to determine the angle of, say, our launcher?

Gyro seems interesting but we'd have to integrate the rate of change of the launcher angle; any more reasonable method of finding angle?

Thanks.
Use a potentiometer.


  #3   Spotlight this post!  
Unread 03-02-2013, 00:23
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Re: Sensor for finding out angle?

In what fashion?

We've never delved into analog devices for use on the robot - so we're pretty blank on how we'd do that.

However, can we actually get angle from the gyro sensor? http://www.wbrobotics.com/javadoc/ed...libj/Gyro.html getAngle() seems to suggest so..
__________________
FTC Teams 5257, 6568 & FRC Team 3992
Eagles Robotics Xperience
2014 FTC WORLD CHAMPIONS
14 Trophies in 3 Years
  #4   Spotlight this post!  
Unread 03-02-2013, 00:52
Mr V's Avatar
Mr V Mr V is offline
FIRST Senior Mentor Washington
FRC #5588 (Reign)
Team Role: Coach
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Maple Valley Wa
Posts: 996
Mr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond repute
Re: Sensor for finding out angle?

A potentiometer is just a voltage divider. One end gets wired to power the other to ground and the middle is your signal that will vary between 0-5v. Attach it to the pivot point and the voltage will correspond to where it is in its travel. No it does not tell you the angle directly but you don't really need that info you want to be able to drive it to a certain position. So you command your motor to run until you get the desired voltage output and then stop.
__________________
All statements made on Chief Delphi by me are my own opinions and are not official FIRST rulings or opinions and should not be construed as such.




https://www.facebook.com/pages/Team-...77508782410839
  #5   Spotlight this post!  
Unread 03-02-2013, 01:09
simpsonboy77 simpsonboy77 is offline
Registered User
AKA: Garrett Dicken
FRC #0041 (RoboWarriors)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2005
Location: New Jersey
Posts: 88
simpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond repute
Re: Sensor for finding out angle?

I would recommend a potentiometer as well. If your launcher always starts at the same location, a quadrature encoder would work as well. You can also use a magnetic encoder, although i don't recommend this.

I do not recommend a gyro as any small amount of drift will greatly affect your shooter's accuracy.
__________________
2017 Shenzhen, China Regional CSA
2013 - Present MAR Control System Adviser and FTAA
2009 - Present Programming an Electrical Mentor Team 41
2007 - 2008 Team 41 Lead Programmer, Electrical
2005 - 2008 Team 41 Member
2008 NYC Regional Winner
  #6   Spotlight this post!  
Unread 03-02-2013, 01:17
PAR_WIG1350's Avatar
PAR_WIG1350 PAR_WIG1350 is offline
Registered User
AKA: Alan Wells
FRC #1350 (Rambots)
Team Role: Alumni
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Rhode Island
Posts: 1,189
PAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond repute
Re: Sensor for finding out angle?

Quote:
Originally Posted by ksafin View Post
In what fashion?

We've never delved into analog devices for use on the robot - so we're pretty blank on how we'd do that.

However, can we actually get angle from the gyro sensor? http://www.wbrobotics.com/javadoc/ed...libj/Gyro.html getAngle() seems to suggest so..
Gyros give yaw-rate information from which angle can be derived. The issue is that it does not give position relative to the robot, it gives position relative to the position it was in when it was last initialized. Depending on the direction your robot is facing, straight ahead could be any angle. Also, the angle tends to drift over time as errors accumulate so accuracy would degrade as the match progressed.

Potentiometers are a much better option since they will give you position relative to the robot with decent repeatability.
__________________
  #7   Spotlight this post!  
Unread 03-02-2013, 01:22
Ankit S.'s Avatar
Ankit S. Ankit S. is offline
Registered User
FRC #2489 (The Insomniacs)
Team Role: College Student
 
Join Date: Mar 2011
Rookie Year: 2011
Location: Fremont, CA
Posts: 205
Ankit S. has a spectacular aura aboutAnkit S. has a spectacular aura about
Re: Sensor for finding out angle?

We were thinking of using an accelerometer for our shooter, but we will hav to see how the vibration effects the reading first.

If that doesn't work out, we may use a potentiometer instead.
__________________
FRC 2489 - The Insomniacs
Alumnus

2489, 3189, & 701 - The Green Alliance - 2013 Sacramento Regional #6 Alliance Captain and Champions!!!
971, 254, & 2489 - 2011 CalGames Champions. Thanks 254 and 971!!!

  #8   Spotlight this post!  
Unread 03-02-2013, 01:29
z_beeblebrox's Avatar
z_beeblebrox z_beeblebrox is offline
Custom User Title
AKA: Cal
FRC #4183 (Bit Buckets)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Cambridge MA
Posts: 811
z_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond repute
Re: Sensor for finding out angle?

Quote:
Originally Posted by BeltSanderRocks View Post
We were thinking of using an accelerometer for our shooter, but we will hav to see how the vibration effects the reading first.

If that doesn't work out, we may use a potentiometer instead.
I don't recommend that. Accelerometer readings can be affected by any small jerks or movement, probably even the vibration of the shooter wheels. Programming would also be more complicated. Potentiometers are more consistent, less noisy and easier to program.
__________________
2012 Utah Regional Rookie All-Star
2013 Phoenix Regional Judge's Award for "design process and prototyping"
2014 Hub City Regional Quality Award, Arizona Regional Excellence in Engineering Award
2015 Arizona East Regional Creativity Award, Winner
2016 Arizona North Regional Finalist, Arizona West Excellence in Engineering Award, Finalist
  #9   Spotlight this post!  
Unread 03-02-2013, 02:05
efoote868 efoote868 is offline
foote stepped in
AKA: E. Foote
FRC #0868
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2005
Location: Noblesville, IN
Posts: 1,404
efoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond repute
Re: Sensor for finding out angle?

Just brainstorming a few ideas. If you don't like the idea of potentiometer, you

Could use a magnet and a 2 axis magnetometer (actually, you might be able to get away with just a single axis if you set it up right).

Could also use a 2 axis accelerometer (mount it to your shooter and measure which way gravity is pointing).

Could also use a rotary encoder.

could probably use your webcam if you set it up properly.

Or you could use a strain gauge if you attach a spring to your shooter.

But most people have reasonable success with a potentiometer.
__________________
Be Healthy. Never Stop Learning. Say It Like It Is. Own It.

Like our values? Flexware Innovation is looking for Automation Engineers. Check us out!
  #10   Spotlight this post!  
Unread 03-02-2013, 02:07
z_beeblebrox's Avatar
z_beeblebrox z_beeblebrox is offline
Custom User Title
AKA: Cal
FRC #4183 (Bit Buckets)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Cambridge MA
Posts: 811
z_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond repute
Re: Sensor for finding out angle?

Another reasonable possibility (that may even work better than a potentiometer) is to use an encoder and limit switches to calibrate the ends of the device's travel
__________________
2012 Utah Regional Rookie All-Star
2013 Phoenix Regional Judge's Award for "design process and prototyping"
2014 Hub City Regional Quality Award, Arizona Regional Excellence in Engineering Award
2015 Arizona East Regional Creativity Award, Winner
2016 Arizona North Regional Finalist, Arizona West Excellence in Engineering Award, Finalist
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 11:22.

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