HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  INDUSTRIES  |  FOCUS ON FUNDAMENTALS
  |  REGISTER  |  LOGIN  |  HELP
Blogs
Guest Blogs
That Fictitious Force
12/26/2012

< Previous   Image 2 of 2   

< Previous   Image 2 of 2   

Return to Article

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
Iterative design — the cycle of prototyping, testing, analyzing, and refining a product — existed long before additive manufacturing, but it has never been as efficient and approachable as it is today with 3D printing.
People usually think of a time constant as the time it takes a first order system to change 63% of the way to the steady state value in response to a step change in the input -- it’s basically a measure of the responsiveness of the system. This is true, but in reality, time constants are often not constant. They can change just like system gains change as the environment or the geometry of the system changes.
At its core, sound is a relatively simple natural phenomenon caused by pressure pulsations or vibrations propagating through various mediums in the world around us. Studies have shown that the complete absence of sound can drive a person insane, causing them to experience hallucinations. Likewise, loud and overwhelming sound can have the same effect. This especially holds true in manufacturing and plant environments where loud noises are the norm.
The tech industry is no stranger to crowdsourcing funding for new projects, and the team at element14 are no strangers to crowdsourcing ideas for new projects through its design competitions. But what about crowdsourcing new components?
It has been common wisdom of late that anything you needed to manufacture could be made more cost-effectively on foreign shores. Following World War II, the label “Made in Japan” was as ubiquitous as is the “Made in China” version today and often had very similar -- not always positive -- connotations. Along the way, Korea, Indonesia, Malaysia, and other Pacific-rim nations have each had their turn at being the preferred low-cost alternative to manufacturing here in the US.
Design News Webinar Series
11/19/2014 11:00 a.m. California / 2:00 p.m. New York
11/6/2014 11:00 a.m. California / 2:00 p.m. New York
10/7/2014 8:00 a.m. California / 11:00 a.m. New York
12/11/2014 8:00 a.m. California / 11:00 a.m. New York
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Dec 1 - 5, An Introduction to Embedded Software Architecture and Design
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6


Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.
Last Archived Class
Sponsored by Littelfuse
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

Copyright © 2014 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service