Go to Post Tragedies happened. We've learned from them, as individuals, as teams, as a community. - Taylor [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 02-03-2004, 20:57
velocipenguin velocipenguin is offline
Registered User
#0246 (Overclocked)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Boston, MA
Posts: 77
velocipenguin is on a distinguished road
Send a message via AIM to velocipenguin
ADXRS150EB questions

We are using an Analog Devices ADXRS150EB angular rate sensor as a component of our inertial navigation system. While testing it with an oscilloscope, I've noticed that its behavior differs from what I expected. It is being powered from a very well-regulated and filtered power supply that is supplying 5 V DC at up to 1 ampere. The 2.5V reference output on the rate sensor board measures 2.5 V, and the rate out pin hovers close to that when the device is not being moved. When moving the device, I've noticed that the output waveform is not steady; rather, it looks very much like a high-frequency triangle wave whose amplitude corresponds to the voltage representative of the device's rate of rotation. Is this behavior normal for the ADXRS150? Should I add additional filtering on the output? I don't want to get weird aliasing errors when sampling this data, and I'd love to know if anyone knows anything about whether this sort of output waveform should be expected with this part. Thanks in advance.
  #2   Spotlight this post!  
Unread 02-03-2004, 21:25
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: ADXRS150EB questions

if you have the eval board version, the output signal is already filtered with a cuttoff around 40Hz.

Question I gotta ask? what sort of angular rate test fixture are you using to produce a steady yaw rate while you monitor the output?

if you are holding the eval board in your hand and twisting your wrist back and forth, then the strange waveform you are seeing is exactly what your wrist is doing.

It would take a pretty expensive test fixture to move the sensor at a steady 75° per second, so that you could see a nice steady signal coming out.

if you try holding it steady in your hand, even that will show a jittery output- thats not sensor noise, thats your shakey hand :c)

I did the same thing with ours - same device - the signal was all over the place when I turned it in my hand.

We mounted it on our bot, closed the loop, and our bot tracks the sensor signal just beautifully - we are adding the signal to an accumulator to create a compass heading, and to steer closed loop we do the same thing with the signal from the X axis of the driver joystick - we divide it by 2, then add it to an accumulator.

This gives us a desired heading (from the accumulated joystick signal) and an actual heading (from the accumulated yaw rate signal)

then we subtracted the one from the other, and use a proportional error signal as our 'commanded' steering (X axis) input to the one joystick equations.

robot steers like its one of the Hitec servos!

Last edited by KenWittlief : 02-03-2004 at 21:31.
  #3   Spotlight this post!  
Unread 02-03-2004, 21:28
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: ADXRS150EB questions

Quote:
Originally Posted by KenWittlief
It would take a pretty expensive test fixture to move the sensor at a steady 75° per second, so that you could see a nice steady signal coming out.
and twisty proof wire lol
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"
  #4   Spotlight this post!  
Unread 02-03-2004, 21:35
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: ADXRS150EB questions

hey I just thought of a relatively easy way to make a smooth test fixture for the yaw rate sensor.

get a fairly heavy weight and make a solid pendulum, maybe a couple feet long, and securely attach the sensor to the pendulum

then when you let it freely swing back and forth, the sensor will have a nice and smooth yaw rate, going positive and negative.

Darn - I wish I would have thought of this when I was showing the students how it works :^)
  #5   Spotlight this post!  
Unread 02-03-2004, 21:56
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,905
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: ADXRS150EB questions

I suppose you could cobbled one to an old clock work sweep second hand (industrial sized clock motor) and make a swivel connector from one of those telephone handset cord detanglers. Then you'd get a very regular 360 degree movement. Just don't pick a clockwork that "ticks" off the seconds.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #6   Spotlight this post!  
Unread 02-03-2004, 21:58
velocipenguin velocipenguin is offline
Registered User
#0246 (Overclocked)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Boston, MA
Posts: 77
velocipenguin is on a distinguished road
Send a message via AIM to velocipenguin
Re: ADXRS150EB questions

Quote:
Originally Posted by KenWittlief
if you have the eval board version, the output signal is already filtered with a cuttoff around 40Hz.
I know that. However, the datasheet for the evaluation board states that "the user may add an external capacitor to further reduce the bandwidth and improve the noise floor." I was just curious as to whether anyone would recommend doing that.

Quote:
Originally Posted by KenWittlief
Question I gotta ask? what sort of angular rate test fixture are you using to produce a steady yaw rate while you monitor the output?

if you are holding the eval board in your hand and twisting your wrist back and forth, then the strange waveform you are seeing is exactly what your wrist is doing.
I was indeed using my hand to rotate the device. However, the waveform generated was more regular and of a higher frequency than anything I suspect my hand would be capable of inducing.

Quote:
Originally Posted by KenWittlief
I did the same thing with ours - same device - the signal was all over the place when I turned it in my hand.
That's very reassuring. That part was expensive enough that the thought of having to replace it was not a pleasant one. I'll try it out with a more stable testbed.

Quote:
Originally Posted by KenWittlief
We mounted it on our bot, closed the loop, and our bot tracks the sensor signal just beautifully - we are adding the signal to an accumulator to create a compass heading, and to steer closed loop we do the same thing with the signal from the X axis of the driver joystick - we divide it by 2, then add it to an accumulator.
That is a remarkably cool idea. We're using a trapezoidal integration algorithm to generate a similar absolute heading value. The data from that is being used concurrently with the second integral of the output of a Motorola MMA1201P accelerometer and a few trigonometric lookup tables to allow us to determine the robot's longitudinal and latitudinal deviation (in feet) from its starting location.
  #7   Spotlight this post!  
Unread 02-03-2004, 21:59
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: ADXRS150EB questions

full scale on the ADXRS150 is +/- 150° per second

the second hand on a clock moves at 6° per second, which wouldnt be much of a signal to look at

an old vinyl record player would be a good choice.

Last edited by KenWittlief : 02-03-2004 at 22:03.
  #8   Spotlight this post!  
Unread 02-03-2004, 22:08
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,905
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: ADXRS150EB questions

Quote:
Originally Posted by KenWittlief

an old vinyl record player would be a good choice.
What d'ya mean "old"? I'm still using my record player!

33rpm is probably a little too fast for the 150. Have to use a 300. That would make a nice demonstration though.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #9   Spotlight this post!  
Unread 02-03-2004, 22:15
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: ADXRS150EB questions

hey, your right

you would have to put it on 17.5 rpm
  #10   Spotlight this post!  
Unread 05-03-2004, 15:18
DougHogg DougHogg is offline
Robot-A-Holic
FRC #0980 (The ThunderBots)
Team Role: Coach
 
Join Date: Jan 2002
Rookie Year: 2002
Location: S. California
Posts: 324
DougHogg has much to be proud ofDougHogg has much to be proud ofDougHogg has much to be proud ofDougHogg has much to be proud ofDougHogg has much to be proud ofDougHogg has much to be proud ofDougHogg has much to be proud ofDougHogg has much to be proud of
Re: ADXRS150EB questions

We finally got a gyro chip (ADXRS150EB) yesterday. They were out of stock at Analog Devices although their web site said otherwise, so we had to get it from Future-Active.

The numbering of the capacitors on the board is different than the numbering on the diagram that came from Analog Devices. Did anyone else observe this? (We are wondering if we got a different version.)
__________________
FIRST Team 980, The ThunderBots
2002: S. California Rookie All Stars
2004: S. California: Regional Champion,
Championship Event: Galileo 2nd seed,
IRI: Competition Winner, Cal Games: Competition Winner
2005: Arizona: 1st seed
Silicon Valley: Regional Champion (Thanks Teams 254 and 22)
S. California: Regional Runners Up (Thanks Teams 22 and 968)
  #11   Spotlight this post!  
Unread 05-03-2004, 16:43
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: ADXRS150EB questions

yeah that freaked me out too - the pin numbers are right on the DIP evale board package though
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
3 Questions!!! (2/20/04) Andy Grady General Forum 20 20-02-2004 17:31
3 Questions!!! (2/5/04) Andy Grady General Forum 11 05-02-2004 21:14
3 Questions!!! (1/5/04) Andy Grady General Forum 8 05-01-2004 16:01
$3500 limit - Who does not have questions Raul Rules/Strategy 5 12-01-2003 11:31
Update 7 - Behind Schedule (or out of questions)? archiver 2000 2 23-06-2002 22:58


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

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