Sensor Toolbox (Part 2): Inertial Sensors

Similar documents
Freescale s Sensors for Low-Power Applications WISH 2011

MMA845x Driver: Quick Start Guide

Table of Contents 1 Typical Applications General Description Block Diagram Pinout System Connections Typical A

Rapid Software Development on 32-Bit Automotive MPC56xx Family of MCUs

Sensor Toolbox for Accelerometer, Pressure and Proximity Sensors. Sensor and Actuator Products

GMA301 ±6g Tri-Axial Digital Accelerometer

Pedometer 3 Click. PID: MIKROE 3259 Weight: 24 g

Stéphane Gervais-Ducouret

Low Power System Techniques

MAG3110 Frequently Asked Questions

AN055. Replacing KX023, KX123, KX124 with KXG07. Introduction

MMA865xFC Sensor Toolbox User s Guide

Kevin Jia Syst & Apps engineer

MMA axis digital accelerometer module

IST8301C 3D Magnetometer Sensor. Datasheet

Fully Integrated Thermal Accelerometer MXC6225XU

± 2g Tri-axis Accelerometer Specifications

± 2g Tri-Axis Accelerometer Specifications

Quick Start Guide for FRDM-KL46Z Rev 1

MMA9550L and MMA9551L Sensor Toolboxes User s Guide

Accel 5 click. PID: MIKROE 3149 Weight: 24 g

PAN502x Capacitive Touch Controller Datasheet

OOB (1) Detection Module, With I 2 C Interface Accelerometer

GSDM110 Three-Axis Digital Magnetometer

ASM330LHH. Automotive 6-axis inertial module: 3D accelerometer and 3D gyroscope. Data brief. Features. Applications. Description

Quick Start Guide for FRDM-KL46Z Rev 1

Quick Start Guide for FRDM-KL05Z

Quick Start Guide for the Freescale Freedom Development Platform FRDM-KL43Z

Smartbook Tablet Reference Design

Using the Xtrinsic FXOS8700CQ Command Line Interface Software

Mask Set Errata for Mask 2N27B

MMA845xQ Sensor Toolbox User s Guide

ILI2303. ILI2303 Capacitive Touch Sensor Controller. Specification

± 2g Tri-axis Digital Accelerometer Specifications

AS Channels Capacitive Touch Sensor IC From Santa Clara, United States of America

FT6x06. Self-Capacitive Touch Panel Controller INTRODUCTION FEATURES

Gyroscope Module 3-Axis L3G4200D (#27911)

MC7010 Virtual 9-Axis Sensor Preliminary Datasheet

Overview of Freescale s Platform

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobilegt, PowerQUICC,

FT6336G. Self-Capacitive Touch Panel Controller INTRODUCTION FEATURES

Xtrinsic Touch Sensing Software 2.0 Add touch. With flexible libraries.

ENT-F0955. Gang Chen System Solution Engineer. August, 2010 Freescale Sensor Algorithm, Operating System Driver and Demo, Eco-System Update

FRDM-KE04Z User s Guide User Guide

Programmable Dual Axis Digital Accelerometer and Impact Sensor ADIS16204

MMC212xMG. Dual-axis Magnetic Sensor, With I 2 C Interface FEATURES. Signal Path X

3-Axis Accelerometer Sensor

Hands-On Workshop: Freescale MQX Drivers and BSP s

CW2013. Low-Cost 1s Fuel Gauge IC with Low-SOC Alert. General Description. Features. Applications. Order Information

Accelerometer with Analog and Digital I/O for StackableUSB USB1600

MEMS motion sensors. June

Mbed Microcontroller SPI. Spring, 2018 Prof. Jungkeun Park

Motivation for an Intelligent Battery Sensor. Introduction to MM912J637 Intelligent Battery Sensor. Competitive Advantages of MM912J637

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC,

MAKEVMA208 3-AXIS DIGITAL ACCELERATION SENSOR MODULE - MMA8452 USER MANUAL

AN-1025 APPLICATION NOTE

Parallax LSM9DS1 9-axis IMU Module (#28065)

± 10g Tri-axis Accelerometer Specifications

FRDM-KL03Z User s Guide

mcube Proprietary APS v1.0 1 / mcube Inc. All rights reserved.

Sensing our world PRODUCT OVERVIEW

QFBR-S01IN001Z. Optical Phase Interrogator. Data Sheet. Description. Features. Applications

PAT9125EL: Optical Tracking Miniature Chip

ILI2511. ILI2511 Single Chip Capacitive Touch Sensor Controller. Specification ILI TECHNOLOGY CORP. Version: V1.4. Date: 2018/7/5

± 2g Tri-axis Accelerometer Specifications

MMA8450Q. Freescale Semiconductor Technical Data An Energy Efficient Solution by Freescale 3-Axis, 8-bit/12-bit Digital Accelerometer

Signal conditioning and filtering. Temperature Sensor. 1 SCK 3 MISO 4 MOSI 7 CSB Sensing element 2. Signal conditioning and filtering

GENERAL DESCRIPTION MC3635 FEATURES

Altimeter / Barometer Module SMD500 ultra low power, low voltage

Data Sheet. QFBR-S01IN001Z Optical Phase Interrogator. Description. Features. Applications

Skill Level: Beginner

SUNSTAR 传感与控制 Freescale Semiconductor TEL: FAX: Document Number: MMA9555L Da

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC,

LPMS-CU2 Quick Start Guide ver. 1.2

Projected Capacitive Touch Solution General Specification

Wai Chee Wong Sr.Member of Technical Staff Freescale Semiconductor. Raghu Binnamangalam Sr.Technical Marketing Engineer Cadence Design Systems

Freescale. TWR-KL25Z Tower Module User Manual TWR-KL25Z-UM Rev. 1.0

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,

MPU-6000/MPU Axis Evaluation Board User Guide

Low Power, Low Profile ±2 g Dual Axis Accelerometer with I 2 C Interface MXC6232xX

DDR Memory controller fundamentals review

LPMS-CU2 Quick Start Guide ver. 1.3

KXCJK AN 039. Getting Started with the KXCJK. Introduction

Analog, Mixed-Signal and Power Management

Color 7 click. PID: MIKROE 3062 Weight: 19 g

1.3inch OLED User Manual

WBI Series Mass flow sensors for gases

Sensing our world PRODUCT OVERVIEW

3-Axis Magnetic Sensor QMC5883L

Product Family Specification

OPTICAL MOUSE SENSOR

± 2g / 4g / 6g / 8g Tri-axis Digital Accelerometer Specifications

Freescale i.mx Applications Processors based on ARM Technology Connected Multimedia

MPU-6500 Product Specification Revision 1.1

XTRINSIC-SENSORS-EVK. Evaluation Kit for Freescale Xtrinsic Sensors

± 2g Tri-axis Accelerometer Specifications

Xtrinsic MMA955xL Intelligent Motion-Sensing Platform

IST8307 Datasheet, Version 2.3

Michael Jennings. June 2011

Software Datapath Acceleration for Stateless Packet Processing

Transcription:

November 2010 Sensor Toolbox (Part 2): Inertial Sensors AMF-ENT-T1118 Michael Steffen MCU & Sensor Field Application Engineer Expert Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink

Session Objectives Learn: How an accelerometer works How to interface an accelerometer to a microcontroller The top customer questions and application challenges Gain Hand-On Experience: Calibration: Resolution, accuracy Tilt: Non-linear effects Motion: Current consumption, signal analysis Fall: Data logging, interpreting results Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink 2

Session Outline 1. What is an accelerometer? 2. How to interface the accelerometer to a microcontroller 3. Top Questions & Application Challenges 4. Using the Sensor Toolbox: Hands-On Labs Cal Lab Tilt Lab Motion Lab Fall Lab Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink 3

1. What is an Accelerometer? Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink

How an Accelerometer Works Accelerometers measure the acceleration of a movable mass. The spring compresses proportionally to acceleration. MASS Mass ACCELEROMETER Dynamic Acceleration Fingers inside measure change in capacitance Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink 5

X Axis X,Y, & Z Axis Movement Y Axis Z Axis Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink

2. How to Interface our Accelerometers to a Microcontroller Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink

Analog and Digital Accelerometers Analog Accelerometer Digital Accelerometer Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink 8

Vout = V DD /2 + Sensitivity x Acceleration What is the output of Accelerometers? Vout=f(g) V DD =3.3V Vout (mv) 3000 2500 2000 1500 1000 500 0-2 -1.5-1 -0.5 0 0.5 1 1.5 2 g Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink 9

MMA8450Q Accelerometer Overview High Pass Filter enables Rapid Gesture Detection and Enhanced Tap Detection Input HPF Output Acceleration Point (3rd Derivative of Displacement) Programmable Threshold Embedded 32 data point FIFO reduces processor cycles, reduces system power, and reduces I 2 C bus congestion. 32 Sample s for each X,Y,Z FIFO Data (Xn-1,Yn-1,Zn-1) Acquisition Data (Xn,Yn,Zn) Within 1 Clock Cycle Read FIFO Read Data Mathematical Functions Compare Average Derivative Filter Features 1.71V to 1.89V supply voltage ±2g/±4g/±8g dynamically selectable full-scale Output data rate (ODR) from 400Hz to 1.563Hz 300µg/ Hz noise at normal mode ODR=400Hz 12-bit digital output I²C digital output interface (operates up to 400KHz Fast Mode) Programmable 2 interrupt pins for 8 interrupt sources Embedded 4 channels of motion detection Freefall or motion detection: 2 channels Pulse detection: 1 channel Transient detection : 1 channel Embedded orientation (Portrait/Landscape) detection with hysteresis Embedded automatic ODR change for auto-wake-up and return-tosleep Embedded 32 sample FIFO simplifies position tracking analysis Embedded self test 10,000g high shock survivability Package 3mm x 3mm DFN, 1.00mm max height -40 C to +85 C Operating Temp RoHS compliant GND n/c AVdd 16 15 14 DVdd 1 13 GND Proton n/c 2 16 pin QFN 12 GND 3mm x 3mm x 1mm n/c 3 11 INT1 (TOP VIEW) SCL 4 10 n/c GND 5 6 7 8 SDA SA0 CS 9 INT2 Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink 10

Features MMA9550L Specification Overview +/-2g, 4g, 8g configurable dynamic ranges available Configurable 8-, 10, 12-, 14-bit resolution Configurable sample rate 0.24 to 1953 sample/s 1.71 1.89V for AVdd and DVdd or single supply 2 ua standby current (I 2 C active) 20 ua operating current at 14-bit, 1 samples/s < 150 ua operating current at 14-bit, 64 samples/s Internal low power oscillator Slave I 2 C and SPI Master I 2 C 32-bit CPU core with multiply accumulator block Full enablement suite of tools Software libraries of sensor algorithms Downloadable software upgrades Package 3x3x1mm LGA package -40 C to 85 C operating temp RoHS compliant Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink 11

MMA9550L has both Master and Slave I 2 C Capability VSSA RGPIO8\PDB_B VDDA Applications Processor 2MBPS Slave I2C 1 2 3 4 5 16 15 14 EVE 6 7 8 Master I2C 13 12 11 10 9 400KBPS VDD BKGD/MS/RGPIO9 RESETB SCL0/GPIO0 VSS SDA0/RGPIO1 RGPIO2\SCL1 RGPIO3\SDA1 RGPIO7/AN1 RGPIO6/AN0 RGPIO5/PDB_A TEST RGPIO4/INT Slave data can be interpreted so the MMA9550L can issue wakeup interrupt to main CPU when motion is detected on chip or when slave device (i.e., pressure sensor, magnetometer, touch sensor) flags that activity occurred. SDA0 and SCL0 Slave I 2 C For system processor to control the MMA9550L SDA1 and SCL1 Master I 2 C For the MMA9550L to master other devices in system Gyro Magnetic Pressure Touch Sensor Other Sensor Peripherals Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink 12

3. Top Customer Questions and Application Challenges Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink

What is Offset and Sensitivity of an Accelerometer? It is crucial to auto-zero the offset voltage ** Parameter Min Typ Max Unit Offset 1485 1650 1815 mv Sensitivity 740 800 860 mv MMA7260Q, T A =25degC, V DD =3.3V Tilt Application (0 45 degrees) causes 21 degrees of error! causes 4 degrees of error ** MMA8450 is has very low OFFSET and good accuracy Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink 14

For Digital Accelerometers, Resolution vs. Accuracy? Is your focus resolution only, or also accuracy? On the MMA8450 the 14-bit ADC system using 3 axes (X,Y, and Z) can achieve: Tilt Resolution of +/- Up to 0.02º Resolution at 1.56Hz (Hi Res mode) Tilt Accuracy of +/-2% 0.244mg (2g range: 4096 counts/g) Ex. 45º ± 0.9º Accuracy determined by all sources of error from the accelerometer A/D resolution limitations Zero-g offset error Sensitivity error Noise error Temperature coefficient offset error Temperature coefficient sensitivity error Cross axis sensitivity error Non-Linearity error Total Error: RMS of all errors Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink 15

3. Calibration, Tilt, Motion, and Freefall Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink

Single axis tilt Tilt Only the X-axis is used to determine tilt. The tilt angle is: The graph here below shows that due to the non-linearity of the arcsine function, the tilt angle resolution degrades significantly as you approach 90 degrees. Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink 17

Variation between readings Motion We compare the current reading to the previous reading and determine motion or shock by the variation between the two: The delta between values will be fairly low for motion (1 to 10) and much higher for shock (10 to 254). Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink 18

MOTION TUTORIAL Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink 19

Linear Fall Freefall This is when the board falls straight down with no spin or rotational component. We will be looking for a condition where all three axes come close to 0g. Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink 20

FREEFALL TUTORIAL Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink 21

DATA LOGGING EXAMPLE TEST YOUR KNOWLEDGE A C B D EVENTS - Freefall - Motion - Shock - Rotation Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink 22

1. Please unpack the Boards. 2. Plug in USB into the touch board and to PC 3. Connect numbered Keypad to touch board 4. Launch Sensor Toolbox ICON on the Desktop LET S GET THE LAB STARTED!!! Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink 23

HANDS-ON LABS USING the MMA8450 and Sensor Toolbox CALIBRATION, TILT, MOTION, AND FREEFALL Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink 24

Thank you! Please complete the FTF survey to receive the new Xtrinsic sensor brand t-shirt! Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink 25