Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 8th June 2007, 12:14 AM   (permalink)
Default tracking changes in roll, pitch and yaw?

I have been reading for days about this and see people using many different methods to do this. So I thought I'd ask for some advice before I start wasting money on parts that I don't need.

I want to track rotational changes in roll, pitch and yaw with reasonable accuracy. And I want to do this with minimal components. As I have never really used accelerometers or gyroscopes or magnetometers before I am not sure of what I can do with the data I get from them. Is a 3 axis accelerometer, or a 3 axis magnetometer or a gyroscope enough to do this on their own? Or do I need combinations of these? Which would be best?

Any advice will be greatly appreciated.
Chris_P is offline  
Old 8th June 2007, 02:05 AM   (permalink)
Default

What are you trying to do with it?

When you say yaw, say I'm pitched forward 45°, is the yaw still about the vertical axis or 45° to vertical. Likewise with yaw and roll. Because of these ambiguities, it's rather complex. You may want to google quaternions and spacial rotation.

A simpler method would use a 2 axis accelerometer to act as an inclinometer and so provide pitch and roll relative to earth and a compass to give yaw. However, once you go much above 30° from vertical you will start to get problems.

Mike.
Pommie is offline  
Old 8th June 2007, 03:15 AM   (permalink)
Default

Quote:
Originally Posted by Pommie
What are you trying to do with it?

When you say yaw, say I'm pitched forward 45°, is the yaw still about the vertical axis or 45° to vertical. Likewise with yaw and roll. Because of these ambiguities, it's rather complex. You may want to google quaternions and spacial rotation.

A simpler method would use a 2 axis accelerometer to act as an inclinometer and so provide pitch and roll relative to earth and a compass to give yaw. However, once you go much above 30° from vertical you will start to get problems.

Mike.
I plan on using it for a couple of game controller applications. If I tilt the device forward the yaw would need to be about the vertical axis. Roll isn't as critical at this stage, I'll start with pitch and yaw. I guess getting compass readings when the compass is tilted will be the difficult bit.
Chris_P is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Tracking help ashfsk Electronic Projects Design/Ideas/Reviews 1 12th March 2007 01:41 PM
Tracking ashfsk Electronic Projects Design/Ideas/Reviews 1 7th March 2007 04:15 PM



All times are GMT. The time now is 05:15 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker