Thursday, July 17, 2008

Rate or Position measurement using Solid State Gyroscope


Hi friends,
here is a circuit to measure rate of a rotating object using solid state gyro ADXRS150 (used here is DIP sized evaluation version). this circuit gives output of -10v to +10v for rate upto 80 deg/sec in both the directions (i.e. -80 to +80 deg/sec). A direction o/p logic signal is also there to feed to microcontroller. Temperature of gyroscope also can be measured with onchip ADC of the microcontroller like ATmega32 (describd in previos post), which can be used for temperature compensation of the gyro o/p.

find the detailed datasheet of ADXRS150 here:
ADXRS150 Datasheet


Shlomo (msj121) said...

I saw your question on the electronic forum about using the gyro for longer period of times as a position measurement. I don't have an account there so I am posting here.

I don't think its possible; or rather easy to do. I would suggest a next step to look into combining an accelerometer and a gyroscope. This way between the two of them they can "correct" each other and get better values. Errors might still build, which makes integrating not fun at all.

Good luck with the project. I personally am looking into using IR detectors for location information as this method seems to complicated for me.


CC Dharmani said...

thanks for the suggestion.
By IR detectors you must be meaning to use rotary encoders or such other encoder for getting position. The method of using gyroscope is somewhat complicated, accepted, but in my project mounting of the sensor is allowed only on the top surface of the rotary platform, no interface between rotor and stator. So I had to go with this method.
Right now I'm trying an accelerometer for another project. I'll surely look for a way to use it along with gyro, as you said, to make corrections in the drift for longer durations.

Anonymous said...

I'm not sure if you have solved this problem but there are some decent leas to answering the drift problem using an accelerometer/gyro combo and integrating the data with a Kalman filter. There are also ready made code packages in C if you're using the Atmel.

Check out this page:


I'm working on something similar right now and the learning curve is steep for me...with very little experience in electronics, but what fun!!


CC Dharmani said...

Hi Aaron,
that's really a very informative link. Thank you. I'd like to give a try balancing the inverted pendulum!!
In my gyroscope problem, I've tested the VCO and other circuits connected for processing the gyro output. VCO was perfect but there were variation in the opamp outputs. So I've replaced them with better ones (more immune to noise).
Also, the gyro PCB is enclosed in metallic casing, which has further reduced the drift. So, for the moment it's within specification.
I'm still working on accelerometers on different project,so got busy there. I'm going to use it with the gyro shortly for my experiments, though I'm afraid of the integration with Kalman filter! :) It looks like lot of mathematics is involved!!


Anonymous said...

Hi Dharmani,
I really like your site. I was a fan of the AT89S52 until recently I started to use the AVR series. AVR rocks! and your website too !

Keep up the good work !

Seemanta (seemanta at g m a i l dot org)

CC Dharmani said...

Hi Seemanta,
Thanks a lot for the comment!

Nitesh said...

recently im working on a robotic arm project which involves use of adxl150 gyro. can u sujjest any place wr i can get this mems device. ive tried analog devices but failed.

CC Dharmani said...

Hi Nitesh,
analog devices has put the ADXRS150 in obsolete list. They've come up with it's replacement ADXRS163, check out here:

Nitesh said...

can u please sujjest some place where i can get adxl150 gyro. ive tried to get it from analog devices but failed.............

CC Dharmani said...

ADXL150 is an accelerometer, not gyro. That one also has got obsolete,
the replacement is ADXL78 accelerometer.
Check out here:

Praneeth said...

Hi sir, this is praneeth from GITAM University... we're working on your paper in the isoi journal i.e.Angular position measurement of a rotating platform using a solid-state gyroscope...
we would be really honored if you could please assist us with the said...

TDEECalculator said...

I love this post. Thanks for starting it. Loved the thought that was put behind writing this. I'm glad. :)


Quickbooks support said...

Quickbooks provides tech assistance services like Quickbooks payroll support, Quickbooks tech support, Quickbooks chat support, etc for your support as in case you need any assistance regarding Quickbooks issues you can contact any of these tech services and ask for Quickbooks assistance

Professional Essay Writers Online said...

Great Content, Just loved the way you presented its Keep up the good work

Do My College Homework For Me said...

I’m really impressed with your writing skills and also with the layout on your weblog. Is this a paid theme or did you customize it yourself? Either way keep up the excellent quality writing, it is rare to see a nice blog like this one today.

JackStone said...

Currently, I'm working on an assignment and I need some quick Assignment Help, your provided information help me a lot to resolve my problem thank you so much for this information.

Martin Luiz said...

Our pay someone to write a research paper essayists generally give copyright infringement free happy which implies we guarantee 100 per cent unique composition by giving Turnitin reports to every single understudy.

Anonymous said...

We have qualified task journalists who first examination about the points profoundly on which they will compose. When they complete their exploration on a theme given by you, they plan and ascertain the Write My Essay for Me Cheap composing structure, arrangement, style and time expected to guarantee top calibre and quick administrations.

Shawn Abi said...

Actually, the calfskin coat is ever-enduring. You can wear it in your 70s, 60s, 50s and surely in your 40s! The Black Real Leather Cafe Racer Vintage Jacket Mens is an extraordinary essential component in your fall/winter closet and can be worn with nearly anything, from pants in easygoing troupes to skirts and dresses in rich looks.