Go to Post Anyone riding a Segway looks cool...ask Andy Baker - Kyle Love [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 06-04-2005, 04:46
nobtiba nobtiba is offline
Registered User
no team
 
Join Date: Aug 2004
Location: VIETNAM
Posts: 14
nobtiba is an unknown quantity at this point
How to measure low velocity

ADXRS150's resolution is 0.004 degree/s but when I rotate the table by hand slow enough (still can observe by eyes) the gyro seems not to reaction. So how can I do?
  #2   Spotlight this post!  
Unread 06-04-2005, 08:11
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,367
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: How to measure low velocity

IF your trying to integrate and track a heading this is a problem. Another solution may be to use a digital compass. They have their problems too. They are slow. < 100 samples per second and can be influenced by hard and soft iron fields. Honeywell and PNI are some sources.
  #3   Spotlight this post!  
Unread 06-04-2005, 08:17
Unsung FIRST Hero
miketwalker miketwalker is offline
Robot Lifeguard
FRC #1902 (Exploding Bacon)
 
Join Date: Dec 2001
Rookie Year: 2002
Location: Orlando, FL
Posts: 878
miketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond repute
Send a message via AIM to miketwalker
Re: How to measure low velocity

If I remember correctly (someone feel free to correct me if I'm wrong), even though it's actual resolution is that small... the values you get on the IFI controller will not be that accurate.

The Analog Inputs work from 0 to 1023. This covers a 5 volt range. Therefore, 1024 possible values / 5 volts = ~205 values per volt. I believe with the actual ADXRS150, it only works with + 1.5 volts around the 2.5 volt center. So a positive 1.5 volt means 150 degree/second rate.

So, that your 205 values per volt * 1.5 volts(at 150 degrees) ~= 308 values over the center (511) of the range. Now, (150 degrees / 308 values) = ~0.49 degrees/sec rate. So, by using the IFI controller, your accuracy is 0.49 degrees/sec. You won't see any change until you get it going at that rate.

I hope this makes sense, and I haven't gotten much sleep... so if I just completly messed up those calculations or put bad values or something, someone please correct me.
__________________
Chopsaw? Chopsaw.
  #4   Spotlight this post!  
Unread 06-04-2005, 08:23
Chris Hibner's Avatar Unsung FIRST Hero
Chris Hibner Chris Hibner is offline
Eschewing Obfuscation Since 1990
AKA: Lars Kamen's Roadie
FRC #0051 (Wings of Fire)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1997
Location: Canton, MI
Posts: 1,488
Chris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond repute
Re: How to measure low velocity

Quote:
Originally Posted by nobtiba
ADXRS150's resolution is 0.004 degree/s but when I rotate the table by hand slow enough (still can observe by eyes) the gyro seems not to reaction. So how can I do?
How are you measuring the signal? Are you using and oscilloscope, or are you using the FIRST controller to integrate a heading?

If you are using the FIRST controller, the resolution is less than said. The ADXRS150 measures approximately +/-150 deg/s, which means it measures a total range of 300 deg/s. The FRC has a 10-bit A/D which means you have 1024 A/D counts. Therefore, your resolution is 300/1024 = 0.293 deg/s.
__________________
-
An ounce of perception is worth a pound of obscure.
  #5   Spotlight this post!  
Unread 06-04-2005, 08:36
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,692
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: How to measure low velocity

Al this sounds about right.... To combat this, what's the feasibility of fabricating/buying a fairly precise amp to spread the voltage range to 0-5V? Possibly greater if you're unlikely to be turning faster than 150deg/s.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #6   Spotlight this post!  
Unread 06-04-2005, 08:52
Unsung FIRST Hero
miketwalker miketwalker is offline
Robot Lifeguard
FRC #1902 (Exploding Bacon)
 
Join Date: Dec 2001
Rookie Year: 2002
Location: Orlando, FL
Posts: 878
miketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond repute
Send a message via AIM to miketwalker
Re: How to measure low velocity

Quote:
Originally Posted by Kevin Sevcik
Al this sounds about right.... To combat this, what's the feasibility of fabricating/buying a fairly precise amp to spread the voltage range to 0-5V? Possibly greater if you're unlikely to be turning faster than 150deg/s.
I don't know about the amp part... but I do know that you probably want to keep it at 150deg/s. Yea, in a normal turn you may never go over 80deg/s and you'll be fine... but say, for example, a robot hits you and it jolts quickly. You now are off by a few degrees if you use a smaller range cause it went over your maximum view. Then with movements over a few feet you can definitly be far enough off from whatever task you are trying to accomplish that it isn't performed properly. However, I guess this can vary depending on how easily the robot is spun. Amplifying it to go from 0-5v could be useful though, but I think in nearly all cases you don't want to make the spectrum wider and have to worry about a jolt turning you further than the sensor measures.
__________________
Chopsaw? Chopsaw.
  #7   Spotlight this post!  
Unread 06-04-2005, 09:29
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,692
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: How to measure low velocity

Since the original poster isn't on a team, I'm unsure how much help our advice is going to be anyways. The 10-bit A/D resolution might not apply to him. At any rate, now that I think about it, 150 deg/s might be a bit slow for our robots turning at full speed. Though if your tracking only matters in autonomous, then you might not have to worry about it and could expand the range further and restrict the turning speed.

Other options more complicated than an op-amp, in order of increasing difficulty would be an off-board 16-bit A/D tied to a serial driver and clocking circuitry to send acceleration readings through the TTL serial port, or an entire off-board processor with better A/Ds to keep track of the heading.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #8   Spotlight this post!  
Unread 06-04-2005, 10:16
nobtiba nobtiba is offline
Registered User
no team
 
Join Date: Aug 2004
Location: VIETNAM
Posts: 14
nobtiba is an unknown quantity at this point
Re: How to measure low velocity

I'm using ADC 10bit of ATMEGA8535. The resolution is 1lsb = 1/1023 corresponding to (1/1023)*5 V = 0.0049V. ADXRS150's sensitivity is 12.5 mV/deg/s so 0.0049V means 0.0049/0.0125=0.392 deg/s =141.12 deg/hour.
That's means if gyro can measure all angular rate from -150 deg/s to +150 deg/s , my ADC can detect the rate at 141.12 deg/hour.
But when I rotate the table faster than that (It takes only about 5 minutes/cycle) the value I get is constant: 480. That is the value at zero point. It shows that ADXRS150 can't detect this slow rate. How to do with this prob?
  #9   Spotlight this post!  
Unread 06-04-2005, 11:22
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 to measure low velocity

Quote:
Originally Posted by nobtiba
...ADXRS150's sensitivity is 12.5 mV/deg/s so 0.0049V means 0.0049/0.0125=0.392 deg/s =141.12 deg/hour...
0.392 degrees per second is 1411 degrees per hour. That's a bit more than 15 minutes per revolution, so your 5 minutes per revolution theoretically should be detected as about 2 or 3 counts.

Looking at it another way, 5 minutes per revolution is a little bit more than 1 degree per second. That's a little bit more than 12.5 millivolts, which again should be read as about 2 or 3 counts.

The people responding in this discussion forum are generally concerned with time frames measured in tens of seconds. I don't think many of us will have given a lot of thought to trying to measure angular rate over more than a minute or two.
  #10   Spotlight this post!  
Unread 06-04-2005, 12:20
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: How to measure low velocity

Id be really surprized if you can turn your robot so slowly that the rate sensor reads zero.

Turning a lazy susan by hand on a table top... ok... how does that relate to anything your robot will do?
  #11   Spotlight this post!  
Unread 06-04-2005, 12:46
Andy A. Andy A. is offline
Getting old
FRC #0095
Team Role: Coach
 
Join Date: Jun 2001
Rookie Year: 2001
Location: New Hampshire
Posts: 1,015
Andy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond repute
Re: How to measure low velocity

Ken-

The posters lack of a team number, and location in Vietnam leads me to belive he isn't using the gyro on a robot, FIRST or otherwise.

At least I don't think there are any teams out of Vietnam.

Maybe with some more information on the application, we could be of more help, nobtiba?

-Andy A.
  #12   Spotlight this post!  
Unread 06-04-2005, 13:08
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
Re: How to measure low velocity

If you need to measure a small rotational velocity then maybe the ADXRS401 is a more suitable part. Its measurement range is +-75 degrees per second.
  #13   Spotlight this post!  
Unread 06-04-2005, 13:32
Chris Hibner's Avatar Unsung FIRST Hero
Chris Hibner Chris Hibner is offline
Eschewing Obfuscation Since 1990
AKA: Lars Kamen's Roadie
FRC #0051 (Wings of Fire)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1997
Location: Canton, MI
Posts: 1,488
Chris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond repute
Re: How to measure low velocity

Quote:
Originally Posted by Kevin Sevcik
Al this sounds about right.... To combat this, what's the feasibility of fabricating/buying a fairly precise amp to spread the voltage range to 0-5V? Possibly greater if you're unlikely to be turning faster than 150deg/s.
That is generally the only difference when you have a manufacturer that sells similar sensors with different output ranges: the measurement cell is usually the same and they just change an amplifier stage on their ASIC.

For a one-off application, this would be an okay thing to do if you need to really optimize your range and you can't buy an off-the-shelf part to fit your needs. For a mass production application, you wouldn't want to do this - not only from a cost standpoint, but the amplifier adds another error source and then it will probably become impossible to meet your performance objectives with the error stack up. For a one-off you're going to calibrate anyway so that shouldn't be an issue.
__________________
-
An ounce of perception is worth a pound of obscure.
  #14   Spotlight this post!  
Unread 07-04-2005, 04:57
nobtiba nobtiba is offline
Registered User
no team
 
Join Date: Aug 2004
Location: VIETNAM
Posts: 14
nobtiba is an unknown quantity at this point
Re: How to measure low velocity

Quote:
Originally Posted by Andy A.
Ken-

The posters lack of a team number, and location in Vietnam leads me to belive he isn't using the gyro on a robot, FIRST or otherwise.

At least I don't think there are any teams out of Vietnam.

Maybe with some more information on the application, we could be of more help, nobtiba?

-Andy A.
Oh, many universities in VietNam won many prizes in ROBOCON (robot contest of ASIA). I'm in Coleage of Technology (Ha Noi) team. If I can use gyro to measure angular exactly I can use it for stabilization. My duty is using ADXRS150 to do this.
ADXRS300 or the others only different in upper level (75, 150, 300 deg/s) but what about their bellow level?
I think if the sensor can't detect low rate it will lead to my following problems (in fact now):
1. Can't measure angular exactly
2. With the same real angular but measure very different values in different times
3. The same value positive and negative but measure different values (that means if you turn it clockwise then turn to starting point it never be zero)
So I wonder any body used ADXRS and measure angular exactly enough can tell me what to do?
  #15   Spotlight this post!  
Unread 07-04-2005, 23:39
nobtiba nobtiba is offline
Registered User
no team
 
Join Date: Aug 2004
Location: VIETNAM
Posts: 14
nobtiba is an unknown quantity at this point
Re: How to measure low velocity

In the datasheet of ADXRS, it says that we can setting bandwidth by changing the external capacitors: f(out)=1/(2*pi*R(out)*C(out)). Do you think it can effect gyro's capacity of detecting low rate? If not, what is the function of setting the bandwidth?
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
Do defensive, low scoring tactics work? haverfordfords Rules/Strategy 37 18-02-2005 12:25
Rotating the motor cage to lock in LOW sanddrag Motors 3 10-03-2004 07:23
How to measure execution time? And code size? gnormhurst Programming 17 17-02-2004 08:06
Bug: Login Problems - Session timeout value too low? DanL CD Forum Support 4 09-01-2004 16:33
Tape measure proboscus tito General Forum 24 29-04-2002 15:56


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

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