HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  RESOURCE CENTER  |  INDUSTRIES
REGISTER   |   LOGIN   |   HELP
Blogs
Guest Blogs

That Fictitious Force

NO RATINGS
View Comments: Newest First|Oldest First|Threaded View
SparkyWatt
User Rank
Platinum
Re: Careful with the cheap ones
SparkyWatt   1/2/2013 9:30:04 AM
NO RATINGS
I'd be a little careful about saying no.  Often enough, people put constraints on these things that are way beyond what is necessary.  For example, you added the "controlling motors" constraint.  I've done real time adaptive servo position control with a PIC that was also monitoring a half dozen inputs.  It is all in when and how often you do the tasks.  Reading the encoder (a very simple task) has to be very fast, or you will miss counts.  The inner loop of the servo control has to be in the 100 to 1000 Hz range.  The adaptivity can be done in the 1 to 10 Hz range.

Reading a gyro has to be very fast.  Compensation can be slower.  Navigation can be much slower.  A 3D matrix-vector multiply is only 9 multiplies and six additions.  That isn't much, especially if you have some hardware help to do it (which some PICs do).  If you had to do that at 100 kHz, that would be beyond a PIC, but I doubt that you do.

Having said that. the inherent errors in a MEMs gyro will cause them to drift.  You will need other input to compensate for that.  But that is not a processor limitation.  An array of high speed DSPs would have the same problem.

Battar
User Rank
Platinum
Re: Careful with the cheap ones
Battar   1/1/2013 1:55:22 AM
NO RATINGS
The algorithms for 3 dimensional position calculations can be found in application notes, but they involve matrix multiplications and basic controllers like PIC and M0 are not up to the job, not if they are controlling motors at the same time. Factoring in all the errors a MEMS gyro is capable of and you realize it's not really useful for navigation. In practical terms, there is no way you will accurately follow a corkscrew motion with these sensors.

SparkyWatt
User Rank
Platinum
Re: Careful with the cheap ones
SparkyWatt   12/31/2012 1:50:00 PM
NO RATINGS
I doubt that they are beyond the microcontroller.  Most calculations like this break down to very simple expressions when properly discretized.  However, doing that analysis may well be beyond most programmers who are trying to tell the microcontroller what to do.

Scott Orlosky
User Rank
Platinum
Re: Careful with the cheap ones
Scott Orlosky   12/30/2012 11:14:35 PM
NO RATINGS
Gyros, like all instruments come in different grades.  For the short term RC-style stabilization mentioned in the video, noise and bias of a gyro don't make much difference and can be compensated for.  However if you are navigating a plane full of passengers across the country - it's a much more complex requirement as you noted requiring a different grade of instrument.

Nancy Golden
User Rank
Platinum
Re: Initial
Nancy Golden   12/29/2012 1:52:53 AM
NO RATINGS
I agree - it was a fun lesson and very interesting. I have not given much thought to MEMS gyroscopes before this. I enjoyed the video you posted - Cabe. It simplified the concept for me and I can visualize its application more clearly.

Battar
User Rank
Platinum
Careful with the cheap ones
Battar   12/27/2012 9:12:24 AM
NO RATINGS
Be careful with the low cost MEMS gyros. They suffer both from drift and large zero rate outputs. This means that if you continuously take readings when the device is not in motion, the MEMS gyro will say you have turned a full circle after an hour or so. They can be fun used measuring motion on one plane, but for 3 dimensional movement the calculations involved in figuring out where you are are beyond the wit of an embedded micro-controller. (not to mention the capabilities of some engineers - it's not the simple like an accelerometer)

Cabe Atwell
User Rank
Blogger
Initial
Cabe Atwell   12/26/2012 6:27:20 PM
NO RATINGS
Thanks for the lesson. Always fun to read.

A little more in this area:

The first MEMS gyroscope was produced by  Systron Donner Inertial (SDI).

 Below is a short video on how the MEMS Gyroscope works.

 



 

Partner Zone
More Blogs from Guest Blogs
The Last Power project aims to make the EU independent from other developed countries on wide band-gap semiconductors.
The legacy endpoint devices that control our critical infrastructure (utility systems, water treatment plants, military networks, industrial control systems, etc.) are some of the most vulnerable devices on the Internet.
In a switched-capacitor filter, capacitors and switches take the place of resistors and accurately reproduce the characteristics of continuous-time Bessel, Butterworth, and elliptical filters.
How should engineers respond to high-risk technologies?
One option to increase vehicle fuel efficiency is to make battery systems more efficient.
Design News Webinar Series
5/30/2013 11:00 a.m. California / 2:00 p.m. New York / 7:00 p.m. London
5/29/2013 11:00 a.m. California / 2:00 p.m. New York / 7:00 p.m. London
6/25/2013 11:00 a.m. California / 2:00 p.m. New York / 7:00 p.m. London
6/27/2013 11:00 a.m. California / 2:00 p.m. New York / 7:00 p.m. London
Blogs from Our Sponsors
From Dell / Intel®
New Paradigms in Design Work
Scott Hamilton, vertical market strategist for Dell Precision workstations, 5/2/2013    5
Early in my career, I worked as a draftsman and remember the days of drawing on vellum with numbered pencils and Mylar with plastic lead. This was a fun experience in the sense that I ...
From Dell / Intel®
Increased Workstation Performance Is as Easy as 'DPPO'
Trey Morton, Dell, 4/25/2013    2
I've been using workstations for more than 10 years and love finding ways to get more performance from my system. With demanding professional applications that require more power each ...
From Dell / Intel®
Taking Some of the Grit out of Manufacturing
Kirsten Billhardt, Manufacturing Industry Marketing Strategist, Dell, 3/26/2013    5
A lasting memory from my first job as an engineer in an auto assembly plant is standing on hard concrete at six in the morning, vending-machine coffee clutched in hand, listening to ...
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Jun 24 - 28, Design Your Own Android App
SEMESTERS: 1  |  2  |  3


DN Radio
Sponsored by
NEXT UPCOMING BROADCAST
For industrial control applications, or even a simple assembly line, that machine can go almost 24/7 without a break. But what happens when the task is a little more complex? That’s where the “smart” machine would come in. The smart machine is one that has some simple (or complex in some cases) processing capability to be able to adapt to changing conditions. Such machines are suited for a host of applications, including automotive, aerospace, defense, medical, computers and electronics, telecommunications, consumer goods, and so on. This radio show will show what’s possible with smart machines, and what tradeoffs need to be made to implement such a solution.
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
Copyright © 2013 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service