
SILICON-BASED GYROSCOPES AND THEIR ACCELEROMETER SIBLINGS ARE INCREASINGLY PREVALENT IN CONSUMER-ELECTRONICS EQUIPMENT. HOWEVER, INACCURACY IN REPORTED DATA MAY PRODUCE AN END-USER EXPERIENCE THAT’S WORSE THAN NOT HAVING A MEMS-BASED SYSTEM AT ALL. A SIMPLE CALIBRATION FOR MEMS GYROSCOPES BY MARK LOONEY s ANALOG DEVICES raditionally, gyroscopes were mechanical devices that measured the angular rate of rotation. One common use of gyroscopes has been in navigation systems to pro- vide heading estimation. Installing these types of gyroscopes into systems typically involved a mechanical design mounted to a bulkhead, providing a mechanical set- screw system for frame-alignment calibration. MEMS (microelectromechanical- system)-gyroscope technology now provides this function in a variety of packages that enable integration into PCB (printed-circuit-board)-based systems. MEMS gyroscopes employ tiny micromechanical systems on silicon structures, supporting motion-to-electrical transducer functions. Although MEMS gyroscopes are into valuable bits at the system level. for production-ready processing, it will Tsimpler to integrate into electronic A well-designed calibration takes a speed development cycles and lower systems than their mechanical pre- population of transducer behaviors up-front investment requirements. decessors, many factors still require and produces predictable outputs over consideration, including trade-offs the important conditions for the end MEMS-GYROSCOPE BEHAVIOR among function, performance, and system. Translating MEMS-gyroscope An ideal MEMS gyroscope produces price. For many systems, a key perfor- behaviors into predicable performance a predictable output when you subject mance metric is accuracy. Although at the system level requires you to cul- off-the-shelf products may satisfy some tivate an understanding of the trans- design requirements, a gyroscope that ducer’s performance and behaviors, appears to suit a system design may establish the impact that the sensor’s end up being too inaccurate. Over a behaviors will have on critical system- population of parts, for example, you performance criteria, and develop a can expect sufficient variation in accu- strategy and process for characterizing racy to negatively affect critical system and correcting behaviors that can limit goals. the transducer’s value in the system. Gyroscope calibration offers an For system developers in the ini- option for bridging this gap, enabling tial prototype phase, justifying the the use of an approach that may be investment in accurate motor stages, more favorable due to price, pack- encoders, and stable mechanical struc- Figure 1 A yaw-rate MEMS gyroscope age style, power dissipation, or other tures can be difficult. Although this responds to motion about its predefined attributes. The purpose of calibration approach to calibration will not replace axis of rotation. is to translate transducer behaviors the need to invest in proper equipment 28 EDN EUROPE | JULY 2010 www.edn-europe.com it to a known rate of rotation. It has no noise, perfect linearity, and no offset. Perfection is not typically available on economical manufac- turing processes, however, creating the need for a deeper understanding of MEMS-gyroscope errors. A yaw- rate MEMS gyroscope responds to motion about its predefined axis of rotation (Figure 1). For MEMS gyroscopes, you express the typical unit of measurement for angular rate of rotation in degrees per sec- ond. For analog-output products, scale factors are normally in degrees per second per volt or millivolt. For digital products, scale factors are Figure 2 The root Allan Variance graphs noise impact versus integration time of the normally in degrees per second per ADIS16130 MEMS gyroscope. least-significant bit. The following equation provides a simple behavior model for a MEMS gyroscope: error to the measurement. A common tool for analyzing this impact is the Allan Variance Method, which estab- GYRO=KRATEBIASNOISE lishes the variance for a bias estimate with respect to an 2 3 integration time. For example, the accuracy for a 6-second K2 RATEK3 RATE... integration time is approximately 0.004/sec (Figure 2). Bias, noise, and scale-factor errors, including linearity, Product data sheets typically provide information that have a notable impact on systems that use MEMS gyro- enables estimates for each error term in this equation. scopes for angle-displacement measurements (Figure 3). These estimates enable the second step in this process—to determine the system-level impact and establish perform- ance goals. NEW SYSTEM-LEVEL IMPACT After establishing an understanding of the MEMS gyro- scope’s behaviors and error patterns, you then must deter- mine the impact that they will have on system operation. Setting performance goals that support critical system goals is essential to successful sensor integration. Some systems, such as navigation and platform controls, use the gyroscope full-size outputs to determine relative angle displacement through picture integration. Bias errors add fixed errors to the sensor’s out- put response and can make a device look like it is rotating when it is stationary. The net result is a constant accumula- tion of angle-measurement error that is equal to the prod- uct of the bias error and time accumulation. The following equation shows the mathematical relationship for this drift factor: t1 1 EBIAS=BIASdt=BIASt . 0 Scale-factor errors contribute to displacement-measure- ment errors only when there is motion. The mathematical relationship for the resulting error is as follows: t1 t1 ESCALE=RATEKdt=RATEKdt. 0 0 Noise that is inversely proportional to the integration time associated with the measurement contributes random www.edn-europe.com Figure 3 MEMS-gyroscope errors in variables such as bias, noise, and scale factors impact systems that use them for angle-displacement measurements. These errors directly influence head- approach exists. Assuming bias-error mately 90 of rotation motion. ing estimates in navigation systems, correction, the integration of a MEMS 3. Pivot the gyroscope assembly along with the accuracy of a platform- gyroscope provides another mecha- between each stop point to make control system that uses them as a nism for observing scale factor. In this sure that the rotation is clear and feedback-sensing element. case, the scale-factor error is the ratio smooth motion is possible. of the measured angle to the actual 4. Measure the displacement angle SIMPLE CALIBRATION angle displacement. using an independent sensor. One A common goal for calibration is option for this step would be an to narrow the error distribution of a CALIBRATION EXAMPLE accelerometer-based inclinometer, transducer population and transform Practical steps enable using this such as Analog Devices’ (www.ana- that population into sensor systems approach with a gyroscope. This pro- log.com) ADIS16209, which you that provide a predictable output for cess also works for a system-level fix to the rotating platform. You the measured conditions. This pro- board with a surface-mount MEMS then orient the platform vertically cedure involves characterizing indi- gyroscope. Begin the calibration by and use an inclinometer to measure vidual transducers under known con- considering the physical setup: angular displacement. If the incli- ditions, thereby providing the neces- 1. Select a pivot point and secure it nometer’s accuracy is 0.25 and the sary data for part-specific correction with a machine-screw assembly. rotation span is 90, the error will formulas. The purpose of this process Experiment with the pivot screw’s be less than 0.3%. is to offer a simple calibration for get- torque to provide for secure attach- Once the setup and angle measure- ting started. A linear-compensation ment that still allows for smooth ments are complete, use the following approach, which addresses first-order rotation on the surface. procedure to measure the gyroscope’s bias and scale-factor errors, will suffice 2. Install mechanical stops for two behaviors: for reaching less-than-1% composite angular positions. One idea would 1. Power the gyroscope on and allow errors. be to attach two M2 spacers using it to reach thermal stability. Many Averaging the MEMS-gyroscope M2 machine screws. Set the screws MEMS gyroscopes provide a tem- output while holding the device in a in positions that provide approxi- perature sensor for this purpose. constant position is a simple method 2. Start measuring the output while for estimating bias errors. The Allan AT A GLANCE holding the gyroscope against the Variance Curve for a gyroscope helps The purpose of MEMS first stop position. Continue sam- in analyzing the trade-off between test (microelectromechanical-system)- pling the output for the following time—that is, length of average—and gyroscope calibration is to translate steps. bias accuracy. You typically character- transducer behaviors into valuable 3. Wait 5 seconds and then turn the ize scale-factor errors using a servo- bits at the system level. gyroscope toward the second stop. motor stage, which employs an opti- You must determine the impact Begin with a smooth motion that cal encoder for precise rate control. of the MEMS gyroscope’s behav- takes 3 to 4 seconds to move the In this approach, MEMS gyroscopes iors and error patterns on system 90 span. rotate at known rates while provid- operation. 4. Wait 5 seconds and then rotate the ing output measurements. Although gyro back to the first stop using a this approach is effective and prob- The Allan Variance Curve helps similar motion. in analyzing the trade-off between ably necessary for later stages of devel- 5. Wait 5 seconds and then stop the test time and bias accuracy. opment and production, a simpler measurements. Save the data. 30 EDN EUROPE | JULY 2010 www.edn-europe.com Using the obtained time record, use Like any other bench-top process, sufficient for managing these effects. the following steps to calculate correc- this one requires practice to refine and If not, repeating this process at two tion factors for this MEMS gyroscope improve.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages4 Page
-
File Size-