HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  INDUSTRIES  |  FOCUS ON FUNDAMENTALS
  |  REGISTER  |  LOGIN  |  HELP
Comments
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
Latest Analysis
From home enthusiasts to workers on the manufacturing floor, everyone's imagination is captured by the potential of 3D printing. Prototyping, spare parts creation, art delivery, human organ creation, and even mass product production are all being targeted as current and potential uses for the technology.
ABI Research, a firm based in the UK that specializes in analyzing global connectivity and other emerging technologies, estimates there will be 40.9 billion active wirelessly interconnected “things” by 2020. The driving force is the usual suspect: the Internet of Things.
Just in time for Earth Day, chemicals leader Bayer MaterialScience reported from the UTECH Europe 2015 polyurethane show on programs and applications using its materials to help reduce energy usage. The company also gave an update on its CO2-based PU as that eco-friendly material comes closer to production.
Solar and wind energy are becoming more viable as a source of energy on the electric grid. For decades, the major drawback to solar and wind was that they’re temperamental. A cloudy day kills solar and a still day renders the wind turbines useless. Automation tools, however, are providing a path to help these renewables become practical.
In honor of Earth Day, the National Security Agency has launched the STEM Recycling Challenge in Maryland schools to encourage kids to think about where the garbage they throw out every day actually goes. The agency has also introduced “Dunk,” a muscular blue cartoon recycling bin wearing shorts and sneakers.
More:Blogs|News
Design News Webinar Series
3/31/2015 11:00 a.m. California / 2:00 p.m. New York
2/25/2015 11:00 a.m. California / 2:00 p.m. New York
12/11/2014 8:00 a.m. California / 11:00 a.m. New York
5/7/2015 11:00 a.m. California / 2:00 p.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.
Apr 20 - 24, Taking the Internet of Things to the Cloud
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6 |  7


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 Proto Labs
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

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