Ten Degrees of Freedom Inertial Sensor with Dynamic Orientation Outputs ADIS16480 Data Sheet FEATURES GENERAL DESCRIPTION Dynamic angle outputs Quaternion, Euler, rotation matrix 0.1 (pitch, roll) and 0.3 (yaw) static accuracy Triaxial, digital gyroscope, 450/sec dynamic range 0.05 orthogonal alignment error 6/hr in-run bias stability 0.3/hr angular random walk 0.01% nonlinearity Triaxial, digital accelerometer, 10 g Triaxial, delta angle and delta velocity outputs Triaxial, digital magnetometer, 2.5 gauss Digital pressure sensor, 300 mbar to 1100 mbar Adaptive extended Kalman filter Automatic covariance computation Programmable reference reorientation Programmable sensor disturbance levels Configurable event-driven controls Factory-calibrated sensitivity, bias, and axial alignment Calibration temperature range: -40C to +85C SPI-compatible serial interface Programmable operation and control 4 FIR filter banks, 120 configurable taps Digital I/O: data-ready alarm indicator, external clock Optional external sample clock input: up to 2.4 kHz Single-command self-test Single-supply operation: 3.0 V to 3.6 V 2000 g shock survivability The ADIS16480 iSensor(R) device is a complete inertial system that includes a triaxial gyroscope, a triaxial accelerometer, triaxial magnetometer, pressure sensor, and an extended Kalman filter (EKF) for dynamic orientation sensing. Each inertial sensor in the ADIS16480 combines industry-leading iMEMS(R) technology with signal conditioning that optimizes dynamic performance. The factory calibration characterizes each sensor for sensitivity, bias, alignment, and linear acceleration (gyroscope bias). As a result, each sensor has its own dynamic compensation formulas that provide accurate sensor measurements. The sensors are further correlated and processed in the extended Kalman filter, which provides both automatic adaptive filtering, as well as user-programmable tuning. Thus, in addition to the IMU outputs, the device provides stable quaternion, Euler, and rotation matrix outputs in the local navigation frame. The ADIS16480 provides a simple, cost-effective method for integrating accurate, multiaxis inertial sensing into industrial systems, especially when compared with the complexity and investment associated with discrete designs. All necessary motion testing and calibration are part of the production process at the factory, greatly reducing system integration time. Tight orthogonal alignment simplifies inertial frame alignment in navigation systems. The SPI and register structure provide a simple interface for data collection and configuration control. The ADIS16480 uses the same footprint and connector system as the ADIS16488A, which greatly simplifies the upgrade process. It comes in a module that is approximately 47 mm x 44 mm x 14 mm and has a standard connector interface. The ADIS16480 provides an operating temperature range of -40C to +105C. APPLICATIONS Platform stabilization, control, and pointing Navigation Instrumentation Robotics FUNCTIONAL BLOCK DIAGRAM DIO1 DIO2 DIO3 DIO4 RST SELF-TEST I/O VDD POWER MANAGEMENT ALARMS GND TRIAXIAL GYRO TRIAXIAL ACCEL CONTROLLER TRIAXIAL MAGN CALIBRATION EXTENDED KALMAN FILTER OUTPUT DATA REGISTERS DIGITAL FILTERING SCLK SPI USER CONTROL REGISTERS PRESSURE DIN DOUT CLOCK ADIS16480 VDD VDDRTC 10278-001 TEMP CS Figure 1. Rev. H Document Feedback Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. Specifications subject to change without notice. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Trademarks and registered trademarks are the property of their respective owners. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 (c)2012-2019 Analog Devices, Inc. All rights reserved. Technical Support www.analog.com ADIS16480 Data Sheet TABLE OF CONTENTS Features .............................................................................................. 1 Averaging/Decimation Filter .................................................... 26 Applications ....................................................................................... 1 Magnetometer/Barometer ......................................................... 26 General Description ......................................................................... 1 FIR Filter Banks .......................................................................... 27 Functional Block Diagram .............................................................. 1 Extended Kalman Filter ................................................................. 29 Revision History ............................................................................... 3 Algorithm .................................................................................... 29 Specifications..................................................................................... 4 Covariance Terms....................................................................... 29 Timing Specifications .................................................................. 7 Reference Frame ......................................................................... 30 Absolute Maximum Ratings............................................................ 9 Reference Transformation Matrix ............................................ 30 ESD Caution .................................................................................. 9 Declination .................................................................................. 31 Pin Configuration and Function Descriptions ........................... 10 Adaptive Operation.................................................................... 31 Typical Performance Characteristics ........................................... 11 Calibration ....................................................................................... 33 Basic Operation............................................................................... 12 Gyroscopes .................................................................................. 33 Register Structure ....................................................................... 12 Accelerometers ........................................................................... 34 SPI Communication ................................................................... 13 Magnetometers ........................................................................... 34 Device Configuration ................................................................ 13 Barometers .................................................................................. 36 Reading Sensor Data .................................................................. 13 Restoring Factory Calibration .................................................. 36 User Registers .................................................................................. 14 Point of Percussion Alignment ................................................. 36 Output Data Registers .................................................................... 18 Alarms .............................................................................................. 37 Inertial Sensor Data Format...................................................... 18 Static Alarm Use ......................................................................... 37 Rotation Rate (Gyroscope) ........................................................ 18 Dynamic Alarm Use .................................................................. 37 Acceleration................................................................................. 19 System Controls .............................................................................. 39 Delta Angles ................................................................................ 19 Global Commands ..................................................................... 39 Delta Velocity .............................................................................. 20 Memory Management ............................................................... 39 Magnetometers ........................................................................... 21 General-Purpose I/O ................................................................. 40 Roll, Pitch, Yaw Angles .............................................................. 21 Power Management ................................................................... 40 Initial Conditions ....................................................................... 21 Applications Information .............................................................. 42 Rotation Matrix Data ................................................................. 22 Mounting Tips ............................................................................ 42 Barometer .................................................................................... 23 Evaluation Tools ......................................................................... 43 Internal Temperature ................................................................. 23 Power Supply Considerations ................................................... 43 Status/Alarm Indicators ............................................................. 24 X-Ray Sensitivity ........................................................................ 43 Firmware Revision ..................................................................... 25 Outline Dimensions ....................................................................... 44 Product Identification ................................................................ 25 Ordering Guide .......................................................................... 44 Digital Signal Processing ............................................................... 26 Gyroscopes/Accelerometers ...................................................... 26 Rev. H | Page 2 of 44 Data Sheet ADIS16480 REVISION HISTORY 1/2019--Rev. G to Rev. H Added Endnote 4, Table 1; Renumbered Sequentially ................. 6 Added X-Ray Sensitivity Section ..................................................43 10/2017--Rev. F to Rev. G Changes to General Description Section ....................................... 1 Changes to Logic 0 Input Current, IIL Parameter, Table 1 ........... 5 Added Note 7, Table 1; Renumbered Sequentially ....................... 6 Changed PC-Based Evaluation, EVAL-ADIS Section to PC-Based Evaluation, EVAL-ADIS2 Section .................................................43 Changes to PC-Based Evaluation, EVAL-ADIS2 Section ..........43 10/2016--Rev. E to Rev. F Changes to Figure 19 ......................................................................18 Changes to Figure 30 and Figure 31 .............................................43 6/2015--Rev. D to Rev. E Changes to Figure 28 ......................................................................42 Changes to Ordering Guide ...........................................................44 2/2015--Rev. C to Rev. D Changes to Features Section and General Description Section....... 1 Changes to Table 1 ............................................................................ 4 Changes to t2 Parameter, Table 2, and Figure 2 ............................. 7 Added Table 3; Renumbered Sequentially ..................................... 7 Changes to Figure 4........................................................................... 8 Change to Operating Temperature Range, Table 4 ....................... 9 Change to Dual Memory Structure Section ................................13 Change to Linear Acceleration on Effect on Gyroscope Bias Section ..............................................................................................33 Changes to Input Sync/Clock Control Section, Table 151, and Power Management Section ..........................................................40 Changes to Ordering Guide ...........................................................44 4/2014--Rev. B to Rev. C Changes to Features Section ............................................................ 1 Change to Nonlinearity, Barometer Parameter, Endnote 5, and Endnote 12, Table 2 ........................................................................... 5 Changes to Table 9 ..........................................................................16 Changes to Delta Angles Section ..................................................19 Changes to Magnetometer/Barometer Section ...........................25 Changes to Linear Acceleration on Effect on Gyroscope Bias Section ..............................................................................................32 Change to Manual Bias Correction Section ................................33 Change to Static Alarm Use Section .............................................36 Change to Software Reset Section.................................................38 Changes to General Purpose I/O Section ....................................39 Changes to Mounting Tips Section...............................................41 1/2014--Rev. A to Rev. B Moved Revision History................................................................... 3 Change to t2 Parameter, Table 2....................................................... 7 Changes to Figure 6 .......................................................................... 9 Changes to Delta Angles Section .................................................. 18 Changes to Delta Velocity Section and Table 34 ......................... 19 Changes to Initial Conditions Section ......................................... 20 Changes to Table 42 ........................................................................ 21 Changes to Status/Alarm Indicators Section ............................... 23 Changes to Table 94, Automatic EKF Divergence Reset Control Bit Section, and Body Frame/Local Navigation Frame Bit Section .............................................................................................. 30 Change to Magnetometers Section ............................................... 33 Changes to Table 146 ...................................................................... 38 Deleted Prototype Interface Board Section and Mechanical Design Tips Section ........................................................................ 39 Added Mounting Tips Section ...................................................... 41 Added Evaluation Tools Section and Power Supply Considerations Section................................................................... 42 Updated Outline Dimensions........................................................ 43 Changes to Ordering Guide ........................................................... 43 2/2013--Rev. 0 to Rev. A Changes to Table 1 ............................................................................ 3 Changes to Table 2 and Figure 2 ..................................................... 6 Changes to Table 9 .......................................................................... 12 Changes to Table 94, Bit 3 and Body Frame/Local Navigation Frame Bit Section ............................................................................ 29 Deleted Installation Tips Section; Added Mechanical Design Tips Section; Changes to Prototype Interface Board Section, Figure 29, and Figure 30 ................................................................. 39 Added Connector-Up Design Tips Section Figure 31, and Figure 32, Renumbered Sequentially............................................ 40 5/2012--Revision 0: Initial Version Rev. H | Page 3 of 44 ADIS16480 Data Sheet SPECIFICATIONS TA = 25C, VDD = 3.3 V, angular rate = 0/sec, dynamic range = 450/sec 1 g, 300 mbar to 1100 mbar, unless otherwise noted. Table 1. Parameter ANGLE OUTPUTS Euler Dynamic Range Sensitivity Static Accuracy 1 Dynamic Accuracy1 GYROSCOPES Dynamic Range Sensitivity Repeatability 2 Sensitivity Temperature Coefficient Misalignment Nonlinearity Initial Bias Error In-Run Bias Stability Angular Random Walk Bias Temperature Coefficient Linear Acceleration Effect on Bias Output Noise Rate Noise Density 3 dB Bandwidth Sensor Resonant Frequency ACCELEROMETERS Dynamic Range Sensitivity Repeatability Sensitivity Temperature Coefficient Misalignment Nonlinearity Bias Repeatability 3, 4 In-Run Bias Stability Velocity Random Walk Bias Temperature Coefficient Output Noise Noise Density 3 dB Bandwidth Sensor Resonant Frequency Test Conditions/Comments Min Typ Yaw and roll (Euler) Pitch (Euler) Rotation matrix, quaternion Max Unit 180 90 180 Degrees Degrees Degree Degrees/LSB Degrees Degrees Degrees Degrees 480 /sec /sec/LSB % ppm/C Degrees Degrees % of FS /sec /hr /hr /sec/C /sec/g /sec rms /sec/Hz rms Hz kHz 0.0055 0.1 0.3 0.3 0.5 Pitch and roll Yaw Pitch and roll Yaw 450 x_GYRO_OUT and x_GYRO_LOW (32-bit) -40C TA +85C -40C TA +85C, 1 Axis to axis Axis to frame (package) Best-fit straight line, FS = 450/sec 3.052 x 10-7 1 35 0.05 1.0 0.01 0.2 6.25 0.3 0.0025 0.009 0.16 0.0066 330 18 1 1 -40C TA +85C, 1 Any axis, 1 (CONFIG[7] = 1) No filtering f = 25 Hz, no filtering Each axis 10 x_ACCL_OUT and x_ACCL_LOW (32-bit) -40C TA +85C -40C TA +85C, 1 Axis to axis Axis to frame (package) Best-fit straight line, 10 g -40C TA +85C, 1 1 1 -40C TA +85C No filtering f = 25 Hz, no filtering Rev. H | Page 4 of 44 1.221 x 10-8 0.5 25 0.035 1.0 0.1 16 0.1 0.029 0.1 1.5 0.067 330 5.5 g g/LSB % ppm/C Degrees Degrees % of FS mg mg m/sec/hr mg/C mg rms mg/Hz rms Hz kHz Data Sheet Parameter MAGNETOMETER Dynamic Range Sensitivity Initial Sensitivity Tolerance Sensitivity Temperature Coefficient Misalignment Nonlinearity Initial Bias Error Bias Temperature Coefficient Output Noise Noise Density 3 dB Bandwidth BAROMETER Pressure Range Sensitivity Error with Supply Total Error Relative Error 5 Nonlinearity 6 Linear-g Sensitivity Noise TEMPERATURE SENSOR Scale Factor LOGIC INPUTS 7 Input High Voltage, VIH Input Low Voltage, VIL CS Wake-Up Pulse Width Logic 1 Input Current, IIH Logic 0 Input Current, IIL All Pins Except RST, CS RST, CS Pins 8 Input Capacitance, CIN DIGITAL OUTPUTS Output High Voltage, VOH Output Low Voltage, VOL FLASH MEMORY Data Retention 10 FUNCTIONAL TIMES 11 Power-On Start-Up Time Reset Recovery Time 12 Sleep Mode Recovery Time Flash Memory Update Time Flash Memory Test Time Automatic Self-Test Time CONVERSION RATE Initial Clock Accuracy Temperature Coefficient Sync Input Clock 13 ADIS16480 Test Conditions/Comments Min Typ Max 2.5 0.1 2 1 Axis to axis Axis to frame (package) Best fit straight line 0 gauss stimulus -40C TA +85C, 1 No filtering f = 25 Hz, no filtering Extended BAROM_OUT and BAROM_LOW (32-bit) 275 0.25 0.5 0.5 15 0.3 0.45 0.054 330 300 10 -40C to +85C Best fit straight line, FS = 1100 mbar -40C to +85C 1 g, 1 Output = 0x0000 at 25C (5C) 1100 1200 6.1 x 10-7 0.04 4.5 2.5 0.1 0.2 0.005 0.025 0.00565 C/LSB 0.8 20 VIH = 3.3 V VIL = 0 V 10 10 0.33 10 2.4 0.4 100,000 20 400 160 400 160 700 1.1 53 12 2.46 0.02 40 Initiated by RST or GLOB_CMD[7] = 1 Using internal clock, 100 SPS 0.7 Rev. H | Page 5 of 44 gauss mgauss/LSB % ppm/C Degrees Degrees % of FS mgauss mgauss/C mgauss mgauss/Hz Hz mbar mbar mbar/LSB %/V mbar mbar % of FS % of FS mbar/g mbar rms 2.0 ISOURCE = 0.5 mA ISINK = 2.0 mA Endurance 9 TJ = 85C Time until inertial sensor data is available Unit 6.8 2.4 V V s A A mA pF V V Cycles Years ms ms s sec ms ms kSPS % ppm/C kHz ADIS16480 Parameter POWER SUPPLY, VDD Power Supply Current 14 POWER SUPPLY, VDDRTC Real-Time Clock Supply Current Data Sheet Test Conditions/Comments Operating voltage range Normal mode, VDD = 3.3 V, Sleep mode, VDD = 3.3 V Power-down mode, VDD = 3.3 V Operating voltage range Normal mode, VDDRTC = 3.3 V Min 3.0 Typ Max 3.6 254 12.2 45 3.0 3.6 13 Unit V mA mA A V A Accuracy specifications assume calibration of accelerometers and magnetometers to address sensor drift and local influences on magnetic fields. The repeatability specifications represent analytical projections that are based off of the following drift contributions and conditions: temperature hysteresis (-40C to +85C), electronics drift (High-Temperature Operating Life test: +110C, 500 hours), drift from temperature cycling (JESD22, Method A104-C, Method N, 500 cycles, -40C to +85C), rate random walk (10 year projection), and broadband noise. 3 Bias repeatability describes a long-term behavior, over a variety of conditions. Short-term repeatability is related to the in-run bias stability and noise density specifications. 4 X-ray exposure may degrade this performance metric. 5 The relative error assumes that the initial error, at 25C, is corrected in the end application. 6 Specification assumes a full scale (FS) of 1000 mbar. 7 The digital I/O signals use a 3.3 V system. 8 RST and CS pins are connected to the VDD pin through 10 k pull-up resistors. 9 Endurance is qualified as per JEDEC Standard 22, Method A117, and measured at -40C, +25C, +85C, and +125C. 10 The data retention specification assumes a junction temperature (TJ) of 85C as per JEDEC Standard 22, Method A117. Data retention lifetime decreases with TJ. 11 These times do not include thermal settling, internal filter response times, or EKF start-up times (~825 ms), which may affect overall accuracy, with respect to time. 12 The RST line must be in a low state for at least 10 s to assure a proper reset initiation and recovery. 13 The device functions at clock rates below 0.7 kHz, but at reduced performance levels. 14 Supply current transients can reach 600 mA during start-up and reset recovery. 1 2 Rev. H | Page 6 of 44 Data Sheet ADIS16480 TIMING SPECIFICATIONS TA = 25C, VDD = 3.3 V, unless otherwise noted. Table 2. Description Serial clock Stall period between data Serial clock low period Serial clock high period Chip select to clock edge tDAV tDSU tDHD tDR, tDF tDSOE tHD tSFS tDSHI t1 t2 t3 DOUT valid after SCLK edge DIN setup time before SCLK rising edge DIN hold time after SCLK rising edge DOUT rise/fall times, 100 pF loading CS assertion to data out active SCLK edge to data out invalid Last SCLK edge to CS deassertion CS deassertion to data out high impedance Input sync pulse width Input sync to data invalid Input sync period E 1 2 Normal Mode Typ Min1 0.01 2 31 31 32 Parameter fSCLK tSTALL2 tCLS tCHS tCS Max1 15 Unit MHz s ns ns ns 10 ns ns ns ns ns ns ns ns s s s 2 2 3 8 11 0 0 32 0 5 E E E 9 635 417 Guaranteed by design and characterization, but not tested in production. See Table 3 for exceptions to the stall time rating. Table 3. Register Specific Stall Times Register FNCTIO_CTRL FLTR_BNK0 FLTR_BNK1 NULL_CFG GLOB_CMD[1] GLOB_CMD[2] GLOB_CMD[3] GLOB_CMD[6] GLOB_CMD[7] Function Configure DIOx functions Enable/select FIR filter banks Enable/select FIR filter banks Configure autonull bias function Self-test Memory test Flash memory update Flash memory test Software reset Minimum Stall Time (s) 60 320 320 10 12,000 50,000 375,000 75,000 12,000 Timing Diagrams CS tCHS SCLK 1 2 tDSOE DOUT MSB 3 4 R/W 5 tDAV DB14 A6 tSFS 6 15 tHD DB13 tDSU DIN tCLS DB12 DB11 tDR DB10 DB2 tDHD A5 16 tDSHI DB1 LSB tDF A4 A3 A2 Figure 2. SPI Timing and Sequence Rev. H | Page 7 of 44 D2 D1 LSB 10278-002 tCS ADIS16480 Data Sheet tSTALL 10278-003 CS SCLK Figure 3. Stall Time and Data Rate t2 t3 t1 SYNC CLOCK (CLKIN) OUTPUT REGISTERS DATA VALID DATA VALID Figure 4. Input Clock Timing Diagram Rev. H | Page 8 of 44 10278-004 DATA READY Data Sheet ADIS16480 ABSOLUTE MAXIMUM RATINGS Table 4. Parameter Acceleration Any Axis, Unpowered Any Axis, Powered VDD to GND Digital Input Voltage to GND Digital Output Voltage to GND Operating Temperature Range Storage Temperature Range Barometric Pressure 1 Rating 2000 g 2000 g -0.3 V to +3.6 V -0.3 V to VDD + 0.2 V -0.3 V to VDD + 0.2 V -40C to +105C -65C to +150C1 2 bar Extended exposure to temperatures that are lower than -40C or higher than +105C can adversely affect the accuracy of the factory calibration. Stresses at or above those listed under Absolute Maximum Ratings may cause permanent damage to the product. This is a stress rating only; functional operation of the product at these or any other conditions above those indicated in the operational section of this specification is not implied. Operation beyond the maximum operating conditions for extended periods may affect product reliability. Table 5. Package Characteristics Package Type 24-Lead Module (ML-24-6) ESD CAUTION Rev. H | Page 9 of 44 JA 22.8C/W JC 10.1C/W Device Weight 48 g ADIS16480 Data Sheet PIN CONFIGURATION AND FUNCTION DESCRIPTIONS ADIS16480 DNC DNC DNC DNC GND VDD VDD RST CS DOUT DIO4 22 20 18 16 14 12 10 8 6 4 2 23 21 19 17 15 13 11 9 7 5 3 1 DNC DNC DNC GND GND VDD DIO2 DIO1 DIN SCLK NOTES 1. THIS REPRESENTATION DISPLAYS THE TOP VIEW PINOUT FOR THE MATING SOCKET CONNECTOR. 2. THE ACTUAL CONNECTOR PINS ARE NOT VISIBLE FROM THE TOP VIEW. 3. MATING CONNECTOR: SAMTEC CLM-112-02 OR EQUIVALENT. 4. DNC = DO NOT CONNECT TO THESE PINS. 10278-005 DIO3 DNC 24 VDDRTC TOP VIEW (Not to Scale) Figure 5. Mating Connector Pin Assignments PIN 23 PIN 1 PIN 2 10278-206 PIN 1 Figure 6. Axial Orientation (Top Side Facing Up) Table 6. Pin Function Descriptions Pin No. 1 2 3 4 5 6 7 8 9 10, 11, 12 13, 14, 15 16 to 22, 24 23 Mnemonic DIO3 DIO4 SCLK DOUT DIN CS DIO1 RST DIO2 VDD GND DNC VDDRTC Type Input/output Input/output Input Output Input Input Input/output Input Input/output Supply Supply Not applicable Supply Description Configurable Digital Input/Output. Configurable Digital Input/Output. SPI Serial Clock. SPI Data Output. Clocks output on SCLK falling edge. SPI Data Input. Clocks input on SCLK rising edge. SPI Chip Select. Configurable Digital Input/Output. Reset. Configurable Digital Input/Output. Power Supply. Power Ground. Do Not Connect. Do not connect to these pins. Real-Time Clock Power Supply. Rev. H | Page 10 of 44 Data Sheet ADIS16480 TYPICAL PERFORMANCE CHARACTERISTICS 1000 0.8 AVERAGE GYRO SCALE ERROR (% FS) 100 +1 10 -1 0.1 1 10 100 1000 10000 INTEGRATION PERIOD (Seconds) Figure 7. Gyroscope Allan Variance, 25C 0.001 0.2 0 -0.2 -0.4 -0.6 -0.8 -40 -30 -20 -10 10278-007 1 0.01 INITIAL ERROR = 0.5% 0.4 TEMPCO = 35ppm/C 0 10 20 30 40 50 60 70 80 TEMPERATURE (C) 10278-009 ROOT ALLAN VARIANCE (/Hour) 0.6 Figure 9. Gyroscope Scale (Sensitivity) Error and Hysteresis vs. Temperature 0.6 AVERAGE INITIAL ERROR = 0.2/sec 0.5 TEMPCO = 0.0025/sec/C GYRO BIAS ERROR (/sec) ROOT ALLAN VARIANCE (g) 0.4 +1 0.0001 -1 0.3 0.2 0.1 0 -0.1 -0.2 -0.3 -0.4 1 10 100 1000 INTEGRATION PERIOD (Seconds) 10000 Figure 8. Accelerometer Allan Variance, 25C -0.6 -40 -30 -20 -10 0 10 20 30 40 50 60 70 80 TEMPERATURE (C) Figure 10. Gyroscope Bias Error and Hysteresis vs. Temperature Rev. H | Page 11 of 44 10278-010 0.1 10278-008 -0.5 0.00001 0.01 ADIS16480 Data Sheet BASIC OPERATION The register structure and SPI port provide a bridge between the sensor processing system and an external, master processor. It contains both output data and control registers. The output data registers include the latest sensor data, a real-time clock, error flags, alarm flags, and identification data. The control registers include sample rate, filtering, input/output, alarms, calibration, EKF tuning, and diagnostic configuration options. All communication between the ADIS16480 and an external processor involves either reading or writing to one of the user registers. TRIAXIS GYRO TRIAXIS ACCEL +3.3V VDD DSP TRIAXIS MAGN 10 SYSTEM PROCESSOR SPI MASTER 11 12 23 BARO ADIS16480 SS 6 CS SCLK 3 SCLK CONTROL REGISTERS TEMP SENSOR 5 DIN 4 DOUT IRQ 9 DIO2 15 10278-011 14 Figure 11. Electrical Connection Diagram Table 7. Generic Master Processor Pin Names and Functions Function Slave select Interrupt request Master output, slave input Master input, slave output Serial clock The register structure uses a paged addressing scheme that is composed of 13 pages, with each one containing 64 register locations. Each register is 16 bits wide, with each byte having its own unique address within the memory map of that page. The SPI port has access to one page at a time, using the bit sequence in Figure 17. Select the page to activate for SPI access by writing its code to the PAGE_ID register. Read the PAGE_ID register to determine which page is currently active. Table 9 displays the PAGE_ID contents for each page, along with their basic functions. The PAGE_ID register is located at Address 0x00 on every page. Table 9. User Register Page Assignments Embedded processors typically use control registers to configure their serial ports for communicating with SPI slave devices such as the ADIS16480. Table 8 provides a list of settings, which describe the SPI protocol of the ADIS16480. The initialization routine of the master processor typically establishes these settings using firmware commands to write them into its serial control registers. Table 8. Generic Master Processor SPI Settings Processor Setting Master SCLK 15 MHz SPI Mode 3 MSB-First Mode 16-Bit Mode CONTROLLER Figure 12. Basic Operation MOSI MISO 13 Mnemonic SS IRQ MOSI MISO SCLK OUTPUT REGISTERS SPI I/O LINES ARE COMPATIBLE WITH 3.3V LOGIC LEVELS REGISTER STRUCTURE 10278-012 The ADIS16480 is an autonomous sensor system that starts up on its own when it has a valid power supply. After running through its initialization process, it begins sampling, processing, and loading calibrated sensor data into the output registers, which are accessible using the SPI port. The SPI port typically connects to a compatible port on an embedded processor, using the connection diagram in Figure 11. The four SPI signals facilitate synchronous, serial data communication. Connect RST (see Table 6) to VDD or leave it open for normal operation. The factory default configuration provides users with a data-ready signal on the DIO2 pin, which pulses high when new data is available in the output data registers. Description The ADIS16480 operates as a slave Maximum serial clock rate CPOL = 1 (polarity), and CPHA = 1 (phase) Bit sequence Shift register/data length Page PAGE_ID Function 0 1 2 3 4 5 6 7 8 9 10 11 12 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A 0x0B 0x0C Output data, clock, identification Reserved Calibration Control: sample rate, filtering, I/O, alarms Serial number FIR Filter Bank A Coefficient 0 to Coefficient 59 FIR Filter Bank A, Coefficient 60 to Coefficient 119 FIR Filter Bank B, Coefficient 0 to Coefficient 59 FIR Filter Bank B, Coefficient 60 to Coefficient 119 FIR Filter Bank C, Coefficient 0 to Coefficient 59 FIR Filter Bank C, Coefficient 60 to Coefficient 119 FIR Filter Bank D, Coefficient 0 to Coefficient 59 FIR Filter Bank D, Coefficient 60 to Coefficient 119 Rev. H | Page 12 of 44 Data Sheet ADIS16480 SPI COMMUNICATION MANUAL FLASH BACKUP The SPI port supports full duplex communication, as shown in Figure 17, which enables external processors to write to DIN while reading DOUT, if the previous command was a read request. Figure 17 provides a guideline for the bit coding on both DIN and DOUT. 10278-014 START-UP RESET The SPI provides write access to the control registers, one byte at a time, using the bit assignments shown in Figure 17. Each register has 16 bits, where Bits[7:0] represent the lower address (listed in Table 10) and Bits[15:8] represent the upper address. Write to the lower byte of a register first, followed by a write to its upper byte. The only register that changes with a single write to its lower byte is the PAGE_ID register. For a write command, the first bit in the DIN sequence is set to 1. Address Bits[A6:A0] represent the target address, and Data Command Bits[DC7:DC0] represent the data being written to the location. Figure 13 provides an example of writing 0x03 to Address 0x00 (PAGE_ID [7:0]), using DIN = 0x8003. This write command activates the control page for SPI access. Figure 14. SRAM and Flash Memory Diagram READING SENSOR DATA 10278-013 SCLK DIN Figure 13. SPI Sequence for Activating the Control Page (DIN = 0x8003) 0x1A00 DOUT Dual Memory Structure 0x1800 NEXT ADDRESS Z_GYRO_OUT Z_GYRO_LOW Figure 15. SPI Read Example Writing configuration data to a control register updates its SRAM contents, which are volatile. After optimizing each relevant control register setting in a system, use the manual flash update command, which is located in GLOB_CMD[3] on Page 3 of the register map. Activate the manual flash update command by turning to Page 3 (DIN = 0x8003) and setting GLOB_CMD[3] = 1 (DIN = 0x8208, then DIN = 0x8300). For a flash memory update, make sure that the power supply is within specification for the entire processing time (see Table 1). Table 10 provides a memory map for all of the user registers, which includes a column of flash backup information. A yes in this column indicates that a register has a mirror location in flash and, when backed up properly, automatically restores itself during startup or after a reset. Figure 14 provides a diagram of the dual memory structure used to manage operation and store critical user settings. Figure 16 provides an example of the four SPI signals when reading PROD_ID in a repeating pattern. This is a good pattern to use for troubleshooting the SPI interface setup and communications because the contents of PROD_ID are predefined and stable. CS SCLK DIN 10278-016 DIN = 0111 1110 0000 0000 = 0x7E00 DOUT DOUT = 0100 0000 0110 0000 = 0x4060 = 16,480 (PROD_ID) Figure 16. SPI Read Example, Second 16-Bit Sequence CS DIN R/W D15 A6 A5 A4 A3 A2 A1 A0 DC7 DC6 DC5 DC4 DC3 DC2 DC1 DC0 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 R/W D15 A6 A5 D14 D13 NOTES 1. DOUT BITS ARE PRODUCED ONLY WHEN THE PREVIOUS 16-BIT DIN SEQUENCE STARTS WITH R/W = 0. 2. WHEN CS IS HIGH, DOUT IS IN A THREE-STATE, HIGH IMPEDANCE MODE, WHICH ALLOWS MULTIFUNCTIONAL USE OF THE LINE FOR OTHER DEVICES. Figure 17. SPI Communication Bit Sequence Rev. H | Page 13 of 44 10278-017 SCLK DOUT 10278-015 The ADIS16480 automatically starts up and activates Page 0 for data register access. Write 0x00 to the PAGE_ID register (DIN = 0x8000) to activate Page 0 for data access after accessing any other page. A single register read requires two 16-bit SPI cycles. The first cycle requests the contents of a register using the bit assignments in Figure 17, and then the register contents follow DOUT during the second sequence. The first bit in a DIN command is zero, followed by either the upper or lower address for the register. The last eight bits are don't care, but the SPI requires the full set of 16 SCLKs to receive the request. Figure 15 includes two register reads in succession, which starts with DIN = 0x1A00 to request the contents of the Z_GYRO_OUT register and follows with 0x1800 to request the contents of the Z_GYRO_LOW register. CS DIN SPI ACCESS (NO SPI ACCESS) DEVICE CONFIGURATION DIN = 1000 0000 0000 0011 = 0x8003, WRITES 0x03 TO ADDRESS 0x00 VOLATILE SRAM NONVOLATILE FLASH MEMORY ADIS16480 Data Sheet USER REGISTERS Table 10. User Register Memory Map (N/A = Not Applicable) Name PAGE_ID Reserved SEQ_CNT SYS_E_FLAG DIAG_STS ALM_STS TEMP_OUT X_GYRO_LOW X_GYRO_OUT Y_GYRO_LOW Y_GYRO_OUT Z_GYRO_LOW Z_GYRO_OUT X_ACCL_LOW X_ACCL_OUT Y_ACCL_LOW Y_ACCL_OUT Z_ACCL_LOW Z_ACCL_OUT X_MAGN_OUT Y_MAGN_OUT Z_MAGN_OUT BAROM_LOW BAROM_OUT Reserved X_DELTANG_LOW X_DELTANG_OUT Y_DELTANG_LOW Y_DELTANG_OUT Z_DELTANG_LOW Z_DELTANG_OUT X_DELTVEL_LOW X_DELTVEL_OUT Y_DELTVEL_LOW Y_DELTVEL_OUT Z_DELTVEL_LOW Z_DELTVEL_OUT Reserved Q0_C11_OUT Q1_C12_OUT Q2_C13_OUT Q3_C21_OUT C22_OUT ROLL_C23_OUT PITCH_C31_OUT YAW_C32_OUT C33_OUT Reserved R/W R/W N/A R R R R R R R R R R R R R R R R R R R R R R N/A R R R R R R R R R R R R N/A R/W R/W R/W R/W R/W R/W R/W R/W R/W N/A Flash No N/A No No No No No No No No No No No No No No No No No No No No No No N/A No No No No No No No No No No No No N/A Yes Yes Yes Yes Yes Yes Yes Yes Yes N/A PAGE_ID 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Address 0x00 0x02 to 0x04 0x06 0x08 0x0A 0x0C 0x0E 0x10 0x12 0x14 0x16 0x18 0x1A 0x1C 0x1E 0x20 0x22 0x24 0x26 0x28 0x2A 0x2C 0x2E 0x30 0x32 to 0x3E 0x40 0x42 0x44 0x46 0x48 0x4A 0x4C 0x4E 0x50 0x52 0x54 0x56 0x58 0x60 0x62 0x64 0x66 0x68 0x6A 0x6C 0x6E 0x70 0x72 to 0x76 Default 0x00 N/A N/A 0x0000 0x0000 0x0000 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A Register Description Page identifier Reserved Sequence counter Output, system error flags Output, self-test error flags Output, alarm error flags Output, temperature Output, x-axis gyroscope, low word Output, x-axis gyroscope, high word Output, y-axis gyroscope, low word Output, y-axis gyroscope, high word Output, z-axis gyroscope, low word Output, z-axis gyroscope, high word Output, x-axis accelerometer, low word Output, x-axis accelerometer, high word Output, y-axis accelerometer, low word Output, y-axis accelerometer, high word Output, z-axis accelerometer, low word Output, z-axis accelerometer, high word Output, x-axis magnetometer, high word Output, y-axis magnetometer, high word Output, z-axis magnetometer, high word Output, barometer, low word Output, barometer, high word Reserved Output, x-axis delta angle, low word Output, x-axis delta angle, high word Output, y-axis delta angle, low word Output, y-axis delta angle, high word Output, z-axis delta angle, low word Output, z-axis delta angle, high word Output, x-axis delta velocity, low word Output, x-axis delta velocity, high word Output, y-axis delta velocity, low word Output, y-axis delta velocity, high word Output, z-axis delta velocity, low word Output, z-axis delta velocity, high word Reserved Quaternion, q0 or rotation matrix, C11 Quaternion, q1 or rotation matrix, C12 Quaternion, q2 or rotation matrix, C13 Quaternion, q3 or rotation matrix, C21 Rotation matrix, C22 Euler angle, roll axis, or rotation matrix, C23 Euler angle, pitch axis, or rotation matrix, C31 Euler angle, yaw axis, or rotation matrix, C32 Rotation matrix, C33 Reserved Rev. H | Page 14 of 44 Format N/A N/A Table 69 Table 60 Table 61 Table 62 Table 58 Table 15 Table 11 Table 16 Table 12 Table 17 Table 13 Table 22 Table 18 Table 23 Table 19 Table 24 Table 20 Table 39 Table 40 Table 41 Table 57 Table 55 N/A Table 29 Table 25 Table 30 Table 26 Table 31 Table 27 Table 36 Table 32 Table 37 Table 33 Table 38 Table 34 N/A Table 43 Table 44 Table 45 Table 46 Table 47 Table 48 Table 49 Table 50 Table 51 N/A Data Sheet Name TIME_MS_OUT TIME_DH_OUT TIME_YM_OUT PROD_ID Reserved PAGE_ID Reserved X_GYRO_SCALE Y_GYRO_SCALE Z_GYRO_SCALE X_ACCL_SCALE Y_ACCL_SCALE Z_ACCL_SCALE XG_BIAS_LOW XG_BIAS_HIGH YG_BIAS_LOW YG_BIAS_HIGH ZG_BIAS_LOW ZG_BIAS_HIGH XA_BIAS_LOW XA_BIAS_HIGH YA_BIAS_LOW YA_BIAS_HIGH ZA_BIAS_LOW ZA_BIAS_HIGH HARD_IRON_X HARD_IRON_Y HARD_IRON_Z SOFT_IRON_S11 SOFT_IRON_S12 SOFT_IRON_S13 SOFT_IRON_S21 SOFT_IRON_S22 SOFT_IRON_S23 SOFT_IRON_S31 SOFT_IRON_S32 SOFT_IRON_S33 BR_BIAS_LOW BR_BIAS_HIGH Reserved REFMTX_R11 REFMTX_R12 REFMTX_R13 REFMTX_R21 REFMTX_R22 REFMTX_R23 REFMTX_R31 REFMTX_R32 REFMTX_R33 USER_SCR_1 USER_SCR_2 USER_SCR_3 USER_SCR_4 ADIS16480 R/W R R R R N/A R/W N/A R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W N/A R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Flash Yes Yes Yes Yes N/A No N/A Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes N/A Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes PAGE_ID 0x00 0x00 0x00 0x00 0x01 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 Address 0x78 0x7A 0x7C 0x7E 0x00 to 0x7E 0x00 0x02 0x04 0x06 0x08 0x0A 0x0C 0x0E 0x10 0x12 0x14 0x16 0x18 0x1A 0x1C 0x1E 0x20 0x22 0x24 0x26 0x28 0x2A 0x2C 0x2E 0x30 0x32 0x34 0x36 0x38 0x3A 0x3C 0x3E 0x40 0x42 0x44 to 0x60 0x62 0x64 0x66 0x68 0x6A 0x6C 0x6E 0x70 0x72 0x74 0x76 0x78 0x7A Default N/A N/A N/A 0x4060 N/A 0x00 N/A 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 N/A 0x7FFF 0x0000 0x0000 0x0000 0x7FFF 0x0000 0x0000 0x0000 0x7FFF 0x0000 0x0000 0x0000 0x0000 Register Description Factory configuration time: minutes/seconds Factory configuration date/time: day/hour Factory configuration date: year/month Output, product identification (16,480) Reserved Page identifier Reserved Calibration, scale, x-axis gyroscope Calibration, scale, y-axis gyroscope Calibration, scale, z-axis gyroscope Calibration, scale, x-axis accelerometer Calibration, scale, y-axis accelerometer Calibration, scale, z-axis accelerometer Calibration, offset, gyroscope, x-axis, low word Calibration, offset, gyroscope, x-axis, high word Calibration, offset, gyroscope, y-axis, low word Calibration, offset, gyroscope, y-axis, high word Calibration, offset, gyroscope, z-axis, low word Calibration, offset, gyroscope, z-axis, high word Calibration, offset, accelerometer, x-axis, low word Calibration, offset, accelerometer, x-axis, high word Calibration, offset, accelerometer, y-axis, low word Calibration, offset, accelerometer, y-axis, high word Calibration, offset, accelerometer, z-axis, low word Calibration, offset, accelerometer, z-axis, high word Calibration, hard iron, magnetometer, x-axis Calibration, hard iron, magnetometer, y-axis Calibration, hard iron, magnetometer, z-axis Calibration, soft iron, magnetometer, S11 Calibration, soft iron, magnetometer, S12 Calibration, soft iron, magnetometer, S13 Calibration, soft iron, magnetometer, S21 Calibration, soft iron, magnetometer, S22 Calibration, soft iron, magnetometer, S23 Calibration, soft iron, magnetometer, S31 Calibration, soft iron, magnetometer, S32 Calibration, soft iron, magnetometer, S33 Calibration, offset, barometer, low word Calibration, offset, barometer, high word Reserved Reference transformation matrix, R11 Reference transformation matrix, R12 Reference transformation matrix, R13 Reference transformation matrix, R21 Reference transformation matrix, R22 Reference transformation matrix, R23 Reference transformation matrix, R31 Reference transformation matrix, R32 Reference transformation matrix, R33 User Scratch Register 1 User Scratch Register 2 User Scratch Register 3 User Scratch Register 4 Rev. H | Page 15 of 44 Format Table 157 Table 158 Table 159 Table 66 N/A N/A N/A Table 104 Table 105 Table 106 Table 114 Table 115 Table 116 Table 101 Table 98 Table 102 Table 99 Table 103 Table 100 Table 111 Table 108 Table 112 Table 109 Table 113 Table 110 Table 117 Table 118 Table 119 Table 121 Table 122 Table 123 Table 124 Table 125 Table 126 Table 127 Table 128 Table 129 Table 132 Table 131 N/A Table 85 Table 86 Table 87 Table 88 Table 89 Table 90 Table 91 Table 92 Table 93 Table 153 Table 154 Table 155 Table 156 ADIS16480 Name FLSHCNT_LOW FLSHCNT_HIGH PAGE_ID GLOB_CMD Reserved FNCTIO_CTRL GPIO_CTRL CONFIG DEC_RATE Reserved SLP_CNT Reserved FILTR_BNK_0 FILTR_BNK_1 Reserved ALM_CNFG_0 ALM_CNFG_1 ALM_CNFG_2 Reserved XG_ALM_MAGN YG_ALM_MAGN ZG_ALM_MAGN XA_ALM_MAGN YA_ALM_MAGN ZA_ALM_MAGN XM_ALM_MAGN YM_ALM_MAGN ZM_ALM_MAGN BR_ALM_MAGN Reserved EKF_CNFG Reserved DECLN_ANGL ACC_DISTB_THR MAG_DISTB_THR Reserved QCVR_NOIS_LWR QCVR_NOIS_UPR QCVR_RRW_LWR QCVR_RRW_UPR Reserved RCVR_ACC_LWR RCVR_ACC_UPR RCVR_MAG_LWR RCVR_MAG_UPR Reserved FIRM_REV FIRM_DM FIRM_Y Reserved Reserved SERIAL_NUM Reserved Data Sheet R/W R R R/W W N/A R/W R/W R/W R/W N/A R/W N/A R/W R/W N/A R/W R/W R/W N/A R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W N/A R/W N/A R/W R/W R/W N/A R/W R/W R/W R/W N/A R/W R/W R/W R/W N/A R R R N/A N/A R N/A Flash Yes Yes No No N/A Yes Yes Yes Yes N/A No N/A Yes Yes N/A Yes Yes Yes N/A Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes N/A Yes N/A Yes Yes Yes N/A Yes Yes Yes Yes N/A Yes Yes Yes Yes N/A Yes Yes Yes N/A N/A Yes N/A PAGE_ID 0x02 0x02 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x04 0x04 0x04 Address 0x7C 0x7E 0x00 0x02 0x04 0x06 0x08 0x0A 0x0C 0x0E 0x10 0x12 to 0x14 0x16 0x18 0x1A to 0x1E 0x20 0x22 0x24 0x26 0x28 0x2A 0x2C 0x2E 0x30 0x32 0x34 0x36 0x38 0x3A 0x3C to 0x4E 0x50 0x52 0x54 0x56 0x58 0x5A to 0x5E 0x60 0x62 0x64 0x66 0x68 to 0x6A 0x6C 0x6E 0x70 0x72 0x74 to 0x76 0x78 0x7A 0x7C 0x7E 0x00 to 0x18 0x20 0x22 to 0x7F Default N/A N/A 0x0000 N/A N/A 0x000D 0x00X0 1 0x00C0 0x0000 N/A N/A N/A 0x0000 0x0000 N/A 0x0000 0x0000 0x0000 N/A 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 N/A 0x0200 N/A 0x0000 0x0020 0x0030 N/A 0xC5AC 0x3727 0xE6FF 0x2E5B N/A 0x705F 0x3189 0xCC77 0x32AB N/A N/A N/A N/A N/A N/A N/A N/A Register Description Diagnostic, flash memory count, low word Diagnostic, flash memory count, high word Page identifier Control, global commands Reserved Control, I/O pins, functional definitions Control, I/O pins, general purpose Control, clock, and miscellaneous correction Control, output sample rate decimation Reserved Control, power-down/sleep mode Reserved Filter selection Filter selection Reserved Alarm configuration Alarm configuration Alarm configuration Reserved Alarm, x-axis gyroscope threshold setting Alarm, y-axis gyroscope threshold setting Alarm, z-axis gyroscope threshold setting Alarm, x-axis accelerometer threshold Alarm, y-axis accelerometer threshold Alarm, z-axis accelerometer threshold Alarm, x-axis magnetometer threshold Alarm, y-axis magnetometer threshold Alarm, z-axis magnetometer threshold Alarm, barometer threshold setting Reserved Extended Kalman filter configuration Reserved Declination angle Accelerometer disturbance threshold Magnetometer disturbance threshold Reserved Process covariance, gyroscope noise, lower word Process covariance, gyroscope noise, upper word Process covariance, gyroscope RRW, lower word Process covariance, gyroscope RRW, upper word Reserved Measurement covariance, accelerometer, upper Measurement covariance, accelerometer, lower Measurement covariance, magnetometer, upper Measurement covariance, magnetometer, lower Reserved Firmware revision Firmware programming date: day/month Firmware programming date: year Reserved Reserved Serial number Reserved Rev. H | Page 16 of 44 Format Table 148 Table 149 N/A Table 147 N/A Table 150 Table 151 Table 107 Table 68 N/A Table 152 N/A Table 70 Table 71 N/A Table 143 Table 144 Table 145 N/A Table 133 Table 134 Table 135 Table 136 Table 137 Table 138 Table 139 Table 140 Table 141 Table 142 N/A Table 95 N/A Table 94 Table 96 Table 97 N/A Table 78 Table 77 Table 80 Table 79 N/A Table 82 Table 81 Table 84 Table 83 N/A Table 63 Table 64 Table 65 N/A N/A Table 67 N/A Data Sheet Name PAGE_ID FIR_COEF_Axxx PAGE_ID FIR_COEF_Axxx PAGE_ID FIR_COEF_Bxxx PAGE_ID FIR_COEF_Bxxx PAGE_ID FIR_COEF_Cxxx PAGE_ID FIR_COEF_Cxxx PAGE_ID FIR_COEF_Dxxx PAGE_ID FIR_COEF_Dxxx 1 ADIS16480 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Flash No Yes No Yes No Yes No Yes No Yes No Yes No Yes No Yes PAGE_ID 0x05 0x05 0x06 0x06 0x07 0x07 0x08 0x08 0x09 0x09 0x0A 0x0A 0x0B 0x0B 0x0C 0x0C Address 0x00 0x02 to 0x7E 0x00 0x02 to 0x7E 0x00 0x02 to 0x7E 0x00 0x02 to 0x7E 0x00 0x02 to 0x7E 0x00 0x02 to 0x7E 0x00 0x02 to 0x7E 0x00 0x02 to 0x7E Default 0x0000 N/A 0x0000 N/A 0x0000 N/A 0x0000 N/A 0x0000 N/A 0x0000 N/A 0x0000 N/A 0x0000 N/A Register Description Page identifier FIR Filter Bank A, Coefficients 0 through 59 Page identifier FIR Filter Bank A, Coefficients 60 through 119 Page identifier FIR Filter Bank B, Coefficients 0 through 59 Page identifier FIR Filter Bank B, Coefficients 60 through 119 Page identifier FIR Filter Bank C, Coefficients 0 through 59 Page identifier FIR Filter Bank C, Coefficients 60 through 119 Page identifier FIR Filter Bank D, Coefficients 0 through 59 Page identifier FIR Filter Bank D, Coefficients 60 through 119 The GPIO_CTRL[7:4] bits reflect the logic levels on the DIOx lines and do not have a default setting. Rev. H | Page 17 of 44 Format N/A Table 72 N/A Table 72 N/A Table 73 N/A Table 73 N/A Table 74 N/A Table 74 N/A Table 75 N/A Table 75 ADIS16480 Data Sheet OUTPUT DATA REGISTERS After the ADIS16480 completes its start-up process, the PAGE_ID register contains 0x0000, which sets Page 0 as the active page for SPI access. Page 0 contains the output data, real-time clock, status, and product identification registers. Table 11. X_GYRO_OUT (Page 0, Base Address = 0x12) Bits [15:0] INERTIAL SENSOR DATA FORMAT Table 12. Y_GYRO_OUT (Page 0, Base Address = 0x16) The gyroscope, accelerometer, delta angle, delta velocity, and barometer output data registers use a 32-bit, twos complement format. Each output uses two registers to support this resolution. Figure 18 provides an example of how each register contributes to each inertial measurement. In this case, X_GYRO_OUT is the most significant word (upper 16 bits), and X_GYRO_LOW is the least significant word (lower 16 bits), which captures the bit growth associated with the final averaging/decimation register. When using the maximum sample rate (DEC_RATE = 0x0000, the x_xxxx_LOW registers are not active. Bits [15:0] Bits [15:0] 0 X-AXIS GYROSCOPE DATA Description Z-axis gyroscope data; twos complement, 450/sec range, 0/sec = 0x0000, 1 LSB = 0.02/sec Table 14. X_GYRO_OUT Data Format Examples Rotation Rate +450/sec +0.04/sec +0.02/sec 0/sec -0.02/sec -0.04/sec -450/sec X_GYRO_LOW 0 15 Description Y-axis gyroscope data; twos complement, 450/sec range, 0/sec = 0x0000, 1 LSB = 0.02/sec Table 13. Z_GYRO_OUT (Page 0, Base Address = 0x1A) 10278-018 X_GYRO_OUT 15 Description X-axis gyroscope data; twos complement, 450/sec range, 0/sec = 0x0000, 1 LSB = 0.02/sec Figure 18. Gyroscope Output Format Example, DEC_RATE > 0 The arrows in Figure 19 describe the direction of the motion, which produces a positive output response in each sensor output register. The accelerometers respond to both dynamic and static forces associated with acceleration, including gravity. When lying perfectly flat, as shown in Figure 19, the z-axis accelerometer output is 1 g, and the x and y accelerometers are 0 g. EKF_CNFG[3] (see Table 95) provides a selection for gyroscope, accelerometer, and magnetometer data orientation, between the body frame and the local navigation frame. When EKF_CNFG[3] = 0 (default), the accelerometer and magnetometer data displays in the local navigation frame. Decimal +22,500 +2 +1 0 -1 -2 -22,500 Hex 0x57E4 0x0002 0x0001 0x0000 0xFFFF 0xFFFE 0xA81C The MSB in x_GYRO_LOW has a weight of 0.01/sec, and each subsequent bit has 1/2 the weight of the previous one. Table 15. X_GYRO_LOW (Page 0, Base Address = 0x10) Bits [15:0] Description X-axis gyroscope data; additional resolution bits Table 16. Y_GYRO_LOW (Page 0, Base Address = 0x14) Bits [15:0] ROTATION RATE (GYROSCOPE) The registers that use the x_GYRO_OUT format are the primary registers for the gyroscope measurements (see Table 11, Table 12, and Table 13). When processing data from these registers, use a 16-bit, twos complement data format. Table 14 provides x_GYRO_OUT digital coding examples. Description Y-axis gyroscope data; additional resolution bits Table 17. Z_GYRO_LOW (Page 0, Base Address = 0x18) Bits [15:0] Description Z-axis gyroscope data; additional resolution bits Z-AXIS aZ mZ gZ mX X-AXIS mY Y-AXIS gX PIN 23 aX 10278-019 aY gY Binary 0101 0111 1110 0100 0000 0000 0000 0010 0000 0000 0000 0001 0000 0000 0000 0000 1111 1111 1111 1111 1111 1111 1111 1110 1010 1000 0001 1100 PIN 1 Figure 19. Inertial Sensor Direction Reference Diagram Rev. H | Page 18 of 44 Data Sheet ADIS16480 ACCELERATION DELTA ANGLES The registers that use the x_ACCL_OUT format are the primary registers for the accelerometer measurements (see Table 18, Table 19, and Table 20). When processing data from these registers, use a 16-bit, twos complement data format. Table 21 provides x_ACCL_OUT digital coding examples. The x_DELTANG_OUT registers are the primary output registers for the delta angle calculations. When processing data from these registers, use a 16-bit, twos complement data format (see Table 25, Table 26, and Table 27). Table 28 provides x_DELTANG_OUT digital coding examples. Table 18. X_ACCL_OUT (Page 0, Base Address = 0x1E) The delta angle outputs represent an integration of the gyroscope measurements and use the following formula for all three axes (x-axis displayed): Bits [15:0] Description X-axis accelerometer data; twos complement, 10 g range, 0 g = 0x0000, 1 LSB = 0.8 mg x ,nD = Table 19. Y_ACCL_OUT (Page 0, Base Address = 0x22) Bits [15:0] Description Y-axis accelerometer data; twos complement, 10 g range, 0 g = 0x0000, 1 LSB = 0.8 mg Description Z-axis accelerometer data; twos complement, 10 g range, 0 g = 0x0000, 1 LSB = 0.8 mg Table 21. x_ACCL_OUT Data Format Examples Acceleration +10 g +1.6 mg +0.8 mg 0 mg -0.8 mg -1.6 mg -10 g Decimal +12,500 +2 +1 0 -1 -2 -12,500 Hex 0x30D4 0x0002 0x0001 0x0000 0xFFFF 0xFFFE 0xCF2C Binary 0011 0000 1101 0100 0000 0000 0000 0010 0000 0000 0000 0001 0000 0000 0000 0000 1111 1111 1111 1111 1111 1111 1111 1110 1100 1111 0010 1100 The MSB in x_ACCL_LOW has a weight of 0.4 mg, and each subsequent bit has 1/2 the weight of the previous one. Table 22. X_ACCL_LOW (Page 0, Base Address = 0x1C) Bits [15:0] Description X-axis accelerometer data; additional resolution bits When using the internal sample clock, fS is equal to 2,460 SPS. When using the external clock option, fS is equal to the frequency of the external clock, which is limited to a minimum of 2 kHz, in order to prevent overflow in the x_DELTANG_xxx registers at high rotation rates. See Table 68 and Figure 20 for more information on the DEC_RATE register (decimation filter). Table 25. X_DELTANG_OUT (Page 0, Base Address = 0x42) Bits [15:0] Description Y-axis accelerometer data; additional resolution bits Table 24. Z_ACCL_LOW (Page 0, Base Address = 0x24) Bits [15:0] Description Z-axis accelerometer data; additional resolution bits Description X-axis delta angle data; twos complement, 720 range, 0 = 0x0000, 1 LSB = 720/215 = ~0.022 Table 26. Y_DELTANG_OUT (Page 0, Base Address = 0x46) Bits [15:0] Description Y-axis delta angle data; twos complement, 720 range, 0 = 0x0000, 1 LSB = 720/215 = ~0.022 Table 27. Z_DELTANG_OUT (Page 0, Base Address = 0x4A) Bits [15:0] Table 23. Y_ACCL_LOW (Page 0, Base Address = 0x20) Bits [15:0] ) where: x is the x-axis rate of rotation (gyroscope). fS is the sample rate. n is the sample time prior to the decimation filter. D is the decimation rate (DEC_RATE + 1). Table 20. Z_ACCL_OUT (Page 0, Base Address = 0x26) Bits [15:0] ( 1 D -1 x + x ,nD + d -1 2 f S d =0 x ,nD + d Description Z-axis delta angle data; twos complement, 720 range, 0 = 0x0000, 1 LSB = 720/215 = ~0.022 Table 28. x_DELTANG_OUT Data Format Examples Angle () +720 x (215 - 1)/215 +1440/215 +720/215 0 -720/215 -1440/215 -720 Rev. H | Page 19 of 44 Decimal +32,767 +2 +1 0 -1 -2 -32,768 Hex 0x7FFF 0x0002 0x0001 0x0000 0xFFFF 0xFFFE 0x8000 Binary 0111 1111 1111 1111 0000 0000 0000 0010 0000 0000 0000 0001 0000 0000 0000 0000 1111 1111 1111 1111 1111 1111 1111 1110 1000 0000 0000 0000 ADIS16480 Data Sheet The x_DELTANG_LOW registers (see Table 29, Table 30, and Table 31) provide additional resolution bits for the delta angle and combine with the x_DELTANG_OUT registers to provide a 32-bit, twos complement number. The MSBs in the x_DELTANG_LOW registers have a weight of ~0.011 (720/216), and each subsequent bit carries a weight of 1/2 of the previous one. Table 29. X_DELTANG_LOW (Page 0, Base Address = 0x40) Bits [15:0] Bits [15:0] Description Y-axis delta angle data; additional resolution bits Bits [15:0] Bits [15:0] DELTA VELOCITY The registers that use the x_DELTVEL_OUT format are the primary registers for the delta velocity calculations. When processing data from these registers, use a 16-bit, twos complement data format (see Table 32, Table 33, and Table 34). Table 35 provides x_DELTVEL_OUT digital coding examples. The delta velocity outputs represent an integration of the accelerometer measurements and use the following formula for all three axes (x-axis displayed): ( 1 D -1 x a + ax ,nD + d -1 2 f S d =0 x ,nD + d Description Z-axis delta velocity data; twos complement, 200 m/sec range, 0 m/sec = 0x0000 1 LSB = 200 m/sec / (215 - 1) = ~6.104 mm/sec Table 35. x_DELTVEL_OUT, Data Format Examples Description Z-axis delta angle data; additional resolution bits Vx ,nD = Description Y-axis delta velocity data; twos complement, 200 m/sec range, 0 m/sec = 0x0000 1 LSB = 200 m/sec / (215 - 1) = ~6.104 mm/sec Table 34. Z_DELTVEL_OUT (Page 0, Base Address = 0x56) Table 31. Z_DELTANG_LOW (Page 0, Base Address = 0x48) Bits [15:0] Description X-axis delta velocity data; twos complement, 200 m/sec range, 0 m/sec = 0x0000 1 LSB = 200 m/sec / (215 - 1) = ~6.104 mm/sec Table 33. Y_DELTVEL_OUT (Page 0, Base Address = 0x52) Description X-axis delta angle data; additional resolution bits Table 30. Y_DELTANG_LOW (Page 0, Base Address = 0x44) Bits [15:0] Table 32. X_DELTVEL_OUT (Page 0, Base Address = 0x4E) Velocity (m/sec) +200 x (215 - 1)/215 +400/215 +200/215 0 -200/215 -400/215 -200 Decimal +32,767 +2 +1 0 -1 -2 -32,768 Hex 0x7FFF 0x0002 0x0001 0x0000 0xFFFF 0xFFFE 0x8000 Binary 0111 1111 1111 1111 0000 0000 0000 0010 0000 0000 0000 0001 0000 0000 0000 0000 1111 1111 1111 1111 1111 1111 1111 1110 1000 0000 0000 0000 The x_DELTVEL_LOW registers (see Table 36, Table 37, and Table 38) provide additional resolution bits for the delta velocity and combine with the x_DELTVEL_OUT registers to provide a 32-bit, twos complement number. The MSBs in the x_DELTVEL_LOW registers have a weight of ~3.052 mm/sec (200 m/sec / 216), and each subsequent bit carries a weight of 1/2 of the previous one. ) where: ax is the x-axis linear acceleration. fS is the sample rate. n is the sample time prior to the decimation filter. D is the decimation rate (DEC_RATE + 1). Table 36. X_DELTVEL_LOW (Page 0, Base Address = 0x4C) Bits [15:0] When using the internal sample clock, fS is equal to 2,460 SPS. When using the external clock option, fS is equal to the frequency of the external clock, which is limited to a minimum of 2 kHz, in order to prevent overflow in the x_DELTVEL_xxx registers at high rotation rates. See Table 68 and Figure 20 for more information on the DEC_RATE register (decimation filter). Description X-axis delta velocity data; additional resolution bits Table 37. Y_DELTVEL_LOW (Page 0, Base Address = 0x50) Bits [15:0] Description Y-axis delta velocity data; additional resolution bits Table 38. Z_DELTVEL_LOW (Page 0, Base Address = 0x54) Bits [15:0] Rev. H | Page 20 of 44 Description Z-axis delta velocity data; additional resolution bits Data Sheet ADIS16480 MAGNETOMETERS INITIAL CONDITIONS The registers that use the x_MAGN_OUT format are the primary registers for the magnetometer measurements. When processing data from these registers, use a 16-bit, twos complement data format. Table 39, Table 40, and Table 41 provide each register numerical format, and Table 42 provides x_MAGN_OUT digital coding examples. During start-up, reset recovery, sleep mode recovery, and power-down recovery, the ADIS16480 uses the inertial sensor outputs to estimate bias and a number of critical initial states that are critical for stable operation and accurate angle estimates. To assure convergence and accuracy, only initiate start-up or reset commands when the platform of the ADIS16480 is not in motion and the magnetic environment is free of interference. Table 39. X_MAGN_OUT (Page 0, Base Address = 0x28) Bits [15:0] Quaternion Description X-axis magnetometer data; twos complement, 3.2767 gauss range, 0 gauss = 0x0000, 1 LSB = 0.1 mgauss This four-element hypercomplex number defines the attitude of the body frame, relative to that of the navigation frame. The Qx_Cxx_OUT registers (See Table 43 through Table 46) contain the value for each element (q0, q1, q2, q4). The element, q0, is the scalar part of the quaternion and represents the magnitude of the rotation. The vector portion of the quaternion is defined by (q1, q2, q3)T, which identifies the axis about which the rotation takes place, in adjusting the body frame to that of the navigation frame. When the orientation is in its reference position, q0 is equal to one and q1, q2, and q3 are equal to zero. These registers update at the same data rate as the gyroscopes and accelerometers. Table 40. Y_MAGN_OUT (Page 0, Base Address = 0x2A) Bits [15:0] Description Y-axis magnetometer data; twos complement, 3.2767 gauss range, 0 gauss = 0x0000, 1 LSB = 0.1 mgauss Table 41. Z_MAGN_OUT (Page 0, Base Address = 0x2C) Bits [15:0] Description Z-axis magnetometer data; twos complement, 3.2767 gauss range, 0 gauss = 0x0000, 1 LSB = 0.1 mgauss Euler Angles Table 42. x_MAGN_OUT Data Format Examples Magnetic Field +3.2767 gauss +0.2 mgauss +0.1 mgauss 0 gauss -0.1 mgauss -0.2 mgauss -3.2768 gauss Decimal +32,767 +2 +1 0 -1 -2 -32,768 Hex 0x7FFF 0x0002 0x0001 0x0000 0xFFFF 0xFFFE 0x8000 Binary 0111 1111 1111 1111 0000 0000 0000 0010 0000 0000 0000 0001 0000 0000 0000 0000 1111 1111 1111 1111 1111 1111 1111 1110 1000 0000 0000 0000 ROLL, PITCH, YAW ANGLES The EKF_CNFG (Table 95) register contains two bits, which define the output format of the angle estimates. The first one is EKF_CNFG[4], which selects the output format. When EKF_ CNFG[4] = 0; the output data is in the format of a quaternion vector (see Table 43 through Table 46) and Euler angles (see Table 48 through Table 50). When EKF_CNFG[4] = 1, the output data is in the form of a rotation matrix (see Table 43 through Table 51). The Euler angle names are yaw (), pitch (), and roll (). See Figure 19 for the axial association of these angles. These three elements represent the most intuitive way of describing orientation angles. The process of translating body frame data to the navigation frame can be broken down into three successive translations. These translations follow as the yaw rotation about the z-axis, followed by the pitch rotation about the y-axis, and finally the roll rotation about the x-axis. Reverse this sequence to resolve a reverse rotation. Difficulties in this process arise due to the singularities that occur whenever the pitch approaches 90 thus making the roll indistinguishable from the yaw. For applications that may approach these limits, the quaternion or rotation matrix output may be more appropriate. When the ADIS16480 is in its reference position, all three Euler angles are equal to zero. The update rate for these variables is the same as the gyroscopes and accelerometers. Rev. H | Page 21 of 44 ADIS16480 Data Sheet ROTATION MATRIX DATA Table 49. PITCH_C31_OUT (Page 0, Base Address = 0x6C) The rotation matrix defines the attitude of the body frame relative to that of the navigation frame. The Cxx_OUT registers (see Table 43 through Table 51) define each element in this 3 x 3 matrix. Each element is the product of the unit vectors that describe the axes of the two frames, which in turn, are equal to the cosines of the angles between the axes. When the ADIS16480 is in its reference position, the rotation matrix are equal to a 3 x 3 identify matrix. Bits [15:0] Table 43. Q0_C11_OUT (Page 0, Base Address = 0x60) Bits [15:0] Description Quarterion scalar, q0 or rotation matrix, C11 Twos complement q0 scale factor = 0.000030518/LSB (1/215) C11 scale factor = 0.000030518/LSB (1/215) Description Quarterion vector, q1; or rotation matrix, C12 Twos complement q1 scale factor = 0.000030518/LSB (1/215) C12 scale factor = 0.000030518/LSB (1/215) Description Quarterion vector, q2; or rotation matrix, C13 Twos complement q2 scale factor = 0.000030518/LSB (1/215) C13 scale factor = 0.000030518/LSB (1/215) Angle () +180 x (215 - 1)/215 +360/215 +180/215 0 -180/215 -360/215 -180 Description Quarterion vector, q3; or rotation matrix, C21 Twos complement q3 scale factor = 0.000030518/LSB (1/215) C21 scale factor = 0.000030518/LSB (1/215) Description Rotation matrix, C22, twos complement C22 scale factor = 0.000030518/LSB (1/215) Description Euler angle, , roll or rotation matrix, C23 Twos complement, range: 180 ( radians) Roll angle scale factor = (180/215)/LSB Rotation matrix variable, C23 Twos complement C23 scale factor = 0.000030518/LSB (1/215) Decimal +32,767 +2 +1 0 -1 -2 -32,768 Hex 0x7FFF 0x0002 0x0001 0x0000 0xFFFF 0xFFFE 0x8000 Binary 0111 1111 1111 1111 0000 0000 0000 0010 0000 0000 0000 0001 0000 0000 0000 0000 1111 1111 1111 1111 1111 1111 1111 1110 1000 0000 0000 0000 Table 53. Yaw, Roll, q0 Angle Data Format Examples Decimal +32,767 +2 +1 0 -1 -2 -32,768 Hex 0x7FFF 0x0002 0x0001 0x0000 0xFFFF 0xFFFE 0x8000 Binary 0111 1111 1111 1111 0000 0000 0000 0010 0000 0000 0000 0001 0000 0000 0000 0000 1111 1111 1111 1111 1111 1111 1111 1110 1000 0000 0000 0000 Table 54. Pitch Angle Data Format Examples Table 48. ROLL_C23_OUT (Page 0, Base Address = 0x6A) Bits [15:0] Description Rotation matrix, C33, twos complement C22 scale factor = 0.000030518/LSB (1/215) Angle () (215 - 1)/215 2/215 1/215 0 -1/215 -2/215 -1 Table 47. C22_OUT (Page 0, Base Address = 0x68) Bits [15:0] Description Euler angle, , yaw or rotation matrix, C32 Twos complement, range: 180 ( radians) Yaw angle scale factor = (180/215)/LSB Rotation matrix variable, C32 Twos complement, 0.000030518/LSB (1/215) Table 52. Rotation Matrix/q1/q2/q3 Data Format Examples Table 46. Q3_C21_OUT (Page 0, Base Address = 0x66) Bits [15:0] Bits [15:0] Bits [15:0] Table 45. Q2_C13_OUT (Page 0, Base Address = 0x64) Bits [15:0] Table 50. YAW_C32_OUT (Page 0, Base Address = 0x6E) Table 51. C33_OUT (Page 0, Base Address = 0x70) Table 44. Q1_C12_OUT (Page 0, Base Address = 0x62) Bits [15:0] Description Euler angle, , pitch or rotation matrix, C31 Twos complement, range: 90 (/2 radians) Pitch angle scale factor = (180/215)/LSB Rotation matrix variable, C31 Twos complement, 0.000030518/LSB (1/215) Angle () +90 x (215-1)/215 +360/215 +180/215 0 -180/215 -360/215 -90 Rev. H | Page 22 of 44 Decimal +16,383 +2 +1 0 -1 -2 -16,384 Hex 0x3FFF 0x0002 0x0001 0x0000 0xFFFF 0xFFFE 0xC000 Binary 0011 1111 1110 1111 0000 0000 0000 0010 0000 0000 0000 0001 0000 0000 0000 0000 1111 1111 1111 1111 1111 1111 1111 1110 1100 0000 0000 0000 Data Sheet ADIS16480 BAROMETER The BAROM_OUT register (see Table 55) and BAROM_LOW register (see Table 57) provide access to the barometric pressure data. These two registers combine to provide a 32-bit, twos complement format. Some applications are able to use BAROM_OUT by itself. For cases where the finer resolution available from BAROM_LOW is valuable, combine them in the same manner as the gyroscopes (see Figure 18). When processing data from the BAROM_OUT register alone, use a 16-bit, twos complement data format. Table 55 provides the numerical format in BAROM_OUT, and Table 56 provides digital coding examples. Table 55. BAROM_OUT (Page 0, Base Address = 0x30) Bits [15:0] Description Barometric pressure; twos complement, 1.31 bar range, 0 bar = 0x0000, 40 bar/LSB Decimal +32,767 +2 +1 0 -1 -2 -32,768 Hex 0x7FFF 0x0002 0x0001 0x0000 0xFFFF 0xFFFE 0x8000 Table 57. BAROM_LOW (Page 0, Base Address = 0x2E) Bits [15:0] Description Barometric pressure; additional resolution bits INTERNAL TEMPERATURE The TEMP_OUT register provides an internal temperature measurement that can be useful for observing relative temperature changes inside of the ADIS16480 (see Table 58). Table 59 provides TEMP_OUT digital coding examples. Note that this temperature reflects a higher temperature than ambient, due to self heating. Table 58. TEMP_OUT (Page 0, Base Address = 0x0E) Table 56. BAROM_OUT Data Format Examples Pressure (bar) +0.00004 x (215 - 1) +0.00008 +0.00004 0 -0.00004 -0.00008 -0.00004 x 215 The BAROM_LOW register provides additional resolution for the barometric pressure measurement. The MSB has a weight of 20 bar, and each subsequent bit carries a weight of 1/2 of the previous one. Binary 0111 1111 1111 1111 0000 0000 0000 0010 0000 0000 0000 0001 0000 0000 0000 0000 1111 1111 1111 1111 1111 1111 1111 1110 1000 0000 0000 0000 Bits [15:0] Description Temperature data; twos complement, 0.00565C per LSB, 25C = 0x0000 Table 59. TEMP_OUT Data Format Examples Temperature (C) +85 +25 + 0.0113 +25 + 0.00565 +25 +25 - 0.00565 +25 - 0.0113 -40 Rev. H | Page 23 of 44 Decimal +10,619 +2 +1 0 -1 -2 -11,504 Hex 0x297B 0x0002 0x0001 0x0000 0xFFFF 0xFFFE 0xD310 Binary 0010 1001 0111 1011 0000 0000 0000 0010 0000 0000 0000 0001 0000 0000 0000 0000 1111 1111 1111 1111 1111 1111 1111 1110 1101 0011 0001 0000 ADIS16480 Data Sheet STATUS/ALARM INDICATORS The SYS_E_FLAG register in Table 60 provides the system error flags and new data bits for the magnetometer and barometer outputs. The new data flags are useful for triggering data collection of the magnetometer and barometer (x_MAGN_OUT and BAROM_xxx registers) because they update at a fixed rate that is not dependent on the DEC_RATE setting. Reading the SYS_ E_FLAG register clears all of its error flags and returns each bit to a zero value, with the exception of Bit[7]. If SYS_E_FLAG[7] is high, use the software reset (GLOB_CMD[7], see Table 147) to clear this condition and restore normal operation. If any bit in the SYS_E_FLAG register is associated an error condition that remains after reading this register, this bit automatically returns to an alarm value of 1. Table 60. SYS_E_FLAG (Page 0, Base Address = 0x08) Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 [2:1] 0 1 2 Description (Default = 0x0000) Watch dog timer flag (1 = timed out) Not used EKF divergence (1 = divergence has occurred) Gyroscope saturation 1 = saturation conditions exists and the gyroscope weighting factors in the EKF have been automatically reduced 0 = gyroscope measurements within range Magnetometer disturbance 1 = magnetometer measurements exceed MAG_DISTB_THR levels (see Table 97) and the magnetometer influence in the EKF has been automatically eliminated 0 = magnetometer measurements are within the specified normal range Linear acceleration 1 = accelerometer measurements exceed ACC_DISTR_THR levels (see Table 96) and the accelerometer weighting factors in the EKF have been automatically reduced 0 = accelerometer measurements are within the specified normal range New data flag, barometer (1 = new, unread data)1 New data flag, magnetometer (1 = new, unread data)2 Processing overrun (1 = error) Flash memory update, result of GLOB_CMD[3] = 1 (1 = failed update, 0 = update successful) Inertial self-test failure (1 = DIAG_STS 0x0000) Sensor overrange (1 = at least one sensor overranged) SPI communication error (1 = error condition, when the number of SCLK pulses is not equal to a multiple of 16) Not used Alarm status flag (1 = ALM_STS 0x0000) The DIAG_STS register in Table 61 provides the flags for the internal self-test function, which is from GLOB_CMD[1] (see Table 147). Note that the barometer flag, DIAG_STS[11], only updates after start-up and reset operations and that reading DIAG_STS also resets it to 0x0000. Table 61. DIAG_STS (Page 0, Base Address = 0x0A) Bits [15:12] 11 10 9 8 [7:6] 5 4 3 2 1 0 Description (Default = 0x0000) Not used Self-test failure, barometer (1 = failed at startup) Self-test failure, z-axis magnetometer (1 = failure) Self-test failure, y-axis magnetometer (1 = failure) Self-test failure, x-axis magnetometer (1 = failure) Not used Self-test failure, z-axis accelerometer (1 = failure) Self-test failure, y-axis accelerometer (1 = failure) Self-test failure, x-axis accelerometer (1 = failure) Self-test failure, z-axis gyroscope (1 = failure) Self-test failure, y-axis gyroscope (1 = failure) Self-test failure, x-axis gyroscope (1 = failure) The ALM_STS register in Table 62 provides the alarm bits for the programmable alarm levels of each sensor. Note that reading ALM_STS also resets it to 0x0000. Table 62. ALM_STS (Page 0, Base Address = 0x0C) Bits [15:12] 11 10 9 8 [7:6] 5 4 3 2 1 0 This flag restores to zero after reading the contents on BAROM_OUT. This flag restores to zero after reading one x_MAGN_OUT register. Rev. H | Page 24 of 44 Description (Default = 0x0000) Not used Barometer alarm flag (1 = alarm is active) Z-axis magnetometer alarm flag (1 = alarm is active) Y-axis magnetometer alarm flag (1 = alarm is active) X-axis magnetometer alarm flag (1 = alarm is active) Not used Z-axis accelerometer alarm flag (1 = alarm is active) Y-axis accelerometer alarm flag (1 = alarm is active) X-axis accelerometer alarm flag (1 = alarm is active) Z-axis gyroscope alarm flag (1 = alarm is active) Y-axis gyroscope alarm flag (1 = alarm is active) X-axis gyroscope alarm flag (1 = alarm is active) Data Sheet ADIS16480 FIRMWARE REVISION The FIRM_REV register (see Table 63) provides the firmware revision for the internal processor. Each nibble represents a digit in this revision code. For example, if FIRM_REV = 0x0102, the firmware revision is 1.02. Table 63. FIRM_REV (Page 3, Base Address = 0x78) Bits [15:12] [11:8] [7:4] [3:0] Description Binary, revision, 10's digit Binary, revision, 1's digit Binary, revision, tenths digit Binary, revision, hundredths digit Bits [15:12] [11:8] [7:4] [3:0] Description Binary, month 10's digit, range: 0 to 1 Binary, month 1's digit, range: 0 to 9 Binary, day 10's digit, range: 0 to 3 Binary, day 1's digit, range: 0 to 9 Table 65. FIRM_Y (Page 3, Base Address = 0x7C) Bits [15:12] [11:8] [7:4] [3:0] Description Binary, year 1000's digit, range: 0 to 9 Binary, year 100's digit, range: 0 to 9 Binary, year 10's digit, range: 0 to 9 Binary, year 1's digit, range: 0 to 9 PRODUCT IDENTIFICATION The FIRM_DM register (see Table 64) contains the month and day of the factory configuration date. FIRM_DM[15:12] and FIRM_DM[11:8] contain digits that represent the month of factory configuration. For example, November is the 11th month in a year and represented by FIRM_DM[15:8] = 0x11. FIRM_DM[7:4] and FIRM_DM[3:0] contain digits that represent the day of factory configuration. For example, the 27th day of the month is represented by FIRM_DM[7:0] = 0x27. Table 64. FIRM_DM (Page 3, Base Address = 0x7A) The FIRM_Y register (see Table 65) contains the year of the factory configuration date. For example, the year of 2013 is represented by FIRM_Y = 0x2013. The PROD_ID register (see Table 66) contains the binary equivalent of the part number (16,480 = 0x4060), and the SERIAL_NUM register (see Table 67) contains a lot specific serial number. Table 66. PROD_ID (Page 0, Base Address = 0x7E) Bits [15:0] Description (Default = 0x4060) Product identification = 0x4060 Table 67. SERIAL_NUM (Page 4, Base Address = 0x20) Bits [15:0] Rev. H | Page 25 of 44 Description Lot specific serial number ADIS16480 Data Sheet DIGITAL SIGNAL PROCESSING GYROSCOPES/ACCELEROMETERS MAGNETOMETER/BAROMETER Figure 20 provides a block diagram for all of the components and settings that influence the frequency response for the accelerometers and gyroscopes. The sample rate for each accelerometer and gyroscope is 9.84 kHz. Each sensor has its own averaging/decimation filter stage, which reduces the update rate to 2.46 kSPS. When using the external clock option (FNCTIO_CTRL[7:4], see Table 150), the input clock drives a 4-sample burst at a sample rate of 9.84 kSPS, which feeds into the 4x averaging/decimation filter. This results in a data rate that is equal to the input clock frequency. Note that the sensitivity to coning and sculling depends on the sample rate. At 2.46 kHz, the sensitivity is very low, but can become influential at lower sample rates. For best performance when using an external clock, use the maximum input frequency of 2.4 kHz. When using the internal sampling clock, the magnetometer output registers (x_MAGN_OUT) update at a rate of 102.5 SPS and the barometer output registers (BAROM_xxx) update at a rate of 51.25 SPS. When using the external clock, the magnetometers update at a rate of 1/24th of the input clock frequency and the barometers update at a rate that is 1/48th of the input clock frequency. The update rates for the magnetometer and barometers do not change with the DEC_RATE register settings. SYS_E_FLAG[9:8] (see Table 60) offer new data indicator bits that indicate fresh, unread data is in the x_MAGN_OUT and the BAROM_xxx registers. The SEQ_CNT register provides a counter function to help determine when there is new data in the magnetometer and barometer registers. When SEQ_CNT = 0x0001, there is new data in the magnetometer and barometer output registers. The SEQ_CNT register can be useful during initialization to help synchronize read loops for new data in both magnetometer and barometer outputs. When beginning a continuous read loop, read SEQ_CNT, then subtract this value from the maximum value shown (range) in Table 69 to calculate the number of internal sample cycles until both magnetometer and barometer data is new. AVERAGING/DECIMATION FILTER The DEC_RATE register (see Table 68) provides user control for the final filter stage (see Figure 20), which averages and decimates the accelerometers, gyroscopes, delta angle, and delta velocity data. Note that the orientation outputs do not go through an averaging stage, prior to decimation. The output sample rate is equal to 2460/(DEC_RATE + 1). When using the external clock option (FNCTIO_CTRL[7:4], see Table 150), replace the 2460 number in this relationship, with the input clock frequency. For example, turn to Page 3 (DIN = 0x8003), and set DEC_RATE = 0x18 (DIN = 0x8C18, then DIN = 0x8D00) to reduce the output sample rate to 98.4 SPS (2460 / 25). Table 69. SEQ_CNT (Page 0, Base Address = 0x06) Bits [15:11] [6:0] Description Don't care Binary counter: range = 1 to 48/(DEC_RATE + 1) Table 68. DEC_RATE (Page 3, Base Address = 0x0C) Description (Default = 0x0000) Don't care Decimation rate, binary format, maximum = 2047 See Figure 20 for impact on sample rate EKF ORIENTATION /D 2.46kHz, fs MEMS SENSOR 1 4 330Hz GYROSCOPE 2-POLE: 404Hz, 757Hz ACCELEROMETER 1-POLE: 330Hz INTERNAL CLOCK 9.84kHz fs 4 /4 4x AVERAGE DECIMATION FILTER FIR FILTER BANK SELECTABLE FIR FILTER BANK FILTR_BNK_0 FILTR_BNK_1 1 D D /D AVERAGE/DECIMATION FILTER D = DEC_RATE[10:0] + 1 DIOx OPTIONAL INPUT CLOCK FNCTIO_CTRL[7] = 1 fs < 2400Hz NOTES 1. WHEN FNCTIO_CTRL[7] = 1, EACH CLOCK PULSE ON THE DESIGNATED DIOx LINE (FNCTIO_CTRL[5:4]) STARTS A 4-SAMPLE BURST, AT A SAMPLE RATE OF 9.84kHz. THESE FOUR SAMPLES FEED INTO THE 4x AVERAGE/DECIMATION FILTER, WHICH PRODUCES A DATA RATE THAT IS EQUAL TO THE INPUT CLOCK FREQUENCY. Figure 20. Sampling and Frequency Response Signal Flow Rev. H | Page 26 of 44 10278-020 Bits [15:11] [10:0] Data Sheet ADIS16480 FIR FILTER BANKS Filter Memory Organization The ADIS16480 provides four configurable, 120-tap FIR filter banks. Each coefficient is 16 bits wide and occupies its own register location with each page. When designing a FIR filter for these banks, use a sample rate of 2.46 kHz and scale the coefficients so that their sum equals 32,768. For filter designs that have less than 120 taps, load the coefficients into the lower portion of the filter and start with Coefficient 1. Make sure that all unused taps are equal to zero, so that they do not add phase delay to the response. The FILTR_BNK_x registers provide three bits per sensor, which configure the filter bank (A, B, C, D) and turn filtering on and off. For example, turn to Page 3 (DIN = 0x8003), then write 0x002F to FILTR_BNK_0 (DIN = 0x962F, DIN = 0x9700) to set the x-axis gyroscope to use the FIR filter in Bank D, to set the y-axis gyroscope to use the FIR filter in Bank B, and to enable these FIR filters in both x- and y-axis gyroscopes. Note that the filter settings update after writing to the upper byte; therefore, always configure the lower byte first. In cases that require configuration to only the lower byte of either FILTR_BNK_0 or FILTR_BNK_1, complete the process by writing 0x00 to the upper byte. Each filter bank uses two pages of the user register structure. See Table 72, Table 73, Table 74, and Table 75 for the register addresses in each filter bank. 11 [10:9] 8 [7:6] 5 [4:3] 2 [1:0] Description (Default = 0x0000) Don't care Y-axis accelerometer filter enable (1 = enabled) Y-axis accelerometer filter bank selection: 00 = Bank A, 01 = Bank B, 10 = Bank C, 11 = Bank D X-axis accelerometer filter enable (1 = enabled) X-axis accelerometer filter bank selection: 00 = Bank A, 01 = Bank B, 10 = Bank C, 11 = Bank D Z-axis gyroscope filter enable (1 = enabled) Z-axis gyroscope filter bank selection: 00 = Bank A, 01 = Bank B, 10 = Bank C, 11 = Bank D Y-axis gyroscope filter enable (1 = enabled) Y-axis gyroscope filter bank selection: 00 = Bank A, 01 = Bank B, 10 = Bank C, 11 = Bank D X-axis gyroscope filter enable (1 = enabled) X-axis gyroscope filter bank selection: 00 = Bank A, 01 = Bank B, 10 = Bank C, 11 = Bank D Table 71. FILTR_BNK_1 (Page 3, Base Address = 0x18) Bits [15:12] 11 [10:9] 8 [7:6] 5 [4:3] 2 [1:0] Page 5 5 5 5 5 PAGE_ID 0x05 0x05 0x05 0x05 0x05 Address 0x00 0x02 to 0x07 0x08 0x0A 0x0C to 0x7C 5 6 6 6 6 6 0x05 0x06 0x06 0x06 0x06 0x06 0x7E 0x00 0x02 to 0x07 0x08 0x0A 0x0C to 0x7C 6 0x06 0x7E Register PAGE_ID Not used FIR_COEF_A000 FIR_COEF_A001 FIR_COEF_A002 to FIR_COEF_A058 FIR_COEF_A059 PAGE_ID Not used FIR_COEF_A060 FIR_COEF_A061 FIR_COEF_A062 to FIR_COEF_A118 FIR_COEF_D119 Table 73. Filter Bank B Memory Map, FIR_COEF_Bxxx Table 70. FILTR_BNK_0 (Page 3, Base Address = 0x16) Bits 15 14 [13:12] Table 72. Filter Bank A Memory Map, FIR_COEF_Axxx Description (Default = 0x0000) Don't care Z-axis magnetometer filter enable (1 = enabled) Z-axis magnetometer filter bank selection: 00 = Bank A, 01 = Bank B, 10 = Bank C, 11 = Bank D Y-axis magnetometer filter enable (1 = enabled) Y-axis magnetometer filter bank selection: 00 = Bank A, 01 = Bank B, 10 = Bank C, 11 = Bank D X-axis magnetometer filter enable (1 = enabled) X-axis magnetometer filter bank selection: 00 = Bank A, 01 = Bank B, 10 = Bank C, 11 = Bank D Z-axis accelerometer filter enable (1 = enabled) Z-axis accelerometer filter bank selection: 00 = Bank A, 01 = Bank B, 10 = Bank C, 11 = Bank D Page 7 7 7 7 7 PAGE_ID 0x07 0x07 0x07 0x07 0x07 Address 0x00 0x02 to 0x07 0x08 0x0A 0x0C to 0x7C 7 8 8 8 8 8 0x07 0x08 0x08 0x08 0x08 0x08 0x7E 0x00 0x02 to 0x07 0x08 0x0A 0x0C to 0x7C 8 0x08 0x7E Register PAGE_ID Not used FIR_COEF_B000 FIR_COEF_B001 FIR_COEF_B002 to FIR_COEF_B058 FIR_COEF_B059 PAGE_ID Not used FIR_COEF_B060 FIR_COEF_B061 FIR_COEF_B062 to FIR_COEF_B118 FIR_COEF_B119 Table 74. Filter Bank C Memory Map, FIR_COEF_Cxxx Page 9 9 9 9 9 PAGE_ID 0x09 0x09 0x09 0x09 0x09 Address 0x00 0x02 to 0x07 0x08 0x0A 0x0C to 0x7C 9 10 10 10 10 10 0x09 0x0A 0x0A 0x0A 0x0A 0x0A 0x7E 0x00 0x02 to 0x07 0x08 0x0A 0x0C to 0x7C 10 0x0A 0x7E Rev. H | Page 27 of 44 Register PAGE_ID Not used FIR_COEF_C000 FIR_COEF_C001 FIR_COEF_C002 to FIR_COEF_C058 FIR_COEF_C059 PAGE_ID Not used FIR_COEF_C060 FIR_COEF_C061 FIR_COEF_C062 to FIR_COEF_C118 FIR_COEF_C119 ADIS16480 Data Sheet Table 75. Filter Bank D Memory Map, FIR_COEF_Dxxx Table 76. FIR Filter Descriptions, Default Configuration Page 11 11 11 11 11 PAGE_ID 0x0B 0x0B 0x0B 0x0B 0x0B Address 0x00 0x02 to 0x07 0x08 0x0A 0x0C to 0x7C FIR Filter Bank A B C D 11 12 12 12 12 12 0x0B 0x0C 0x0C 0x0C 0x0C 0x0C 0x7E 0x00 0x02 to 0x07 0x08 0x0A 0x0C to 0x7C 12 0x0C 0x7E Register PAGE_ID Not used FIR_COEF_D000 FIR_COEF_D001 FIR_COEF_D002 to FIR_COEF_D058 FIR_COEF_D059 PAGE_ID Not used FIR_COEF_D060 FIR_COEF_D061 FIR_COEF_D062 to FIR_COEF_D118 FIR_COEF_D119 Taps 120 120 32 32 -3 dB Frequency (Hz) 310 55 275 63 0 -10 MAGNITUDE (dB) -20 B D A NO FIR FILTERING C -30 -40 -50 -60 -70 -80 Default Filter Performance Rev. H | Page 28 of 44 -100 0 200 400 600 800 1000 FREQUENCY (Hz) Figure 21. FIR Filter Frequency Response Curves 1200 10278-021 -90 The FIR filter banks have factory programmed filter designs. They are all low-pass filters that have unity dc gain. Table 76 provides a summary of each filter design, and Figure 21 shows the frequency response characteristics. The phase delay is equal to 1/2 of the total number of taps. Data Sheet ADIS16480 EXTENDED KALMAN FILTER ALGORITHM Table 78. QCVR_NOIS_LWR (Page 3, Base Address = 0x60) The extended Kalman filter (EKF) continuously estimates the state vector, which includes the four elements in a quaternion orientation array and the bias levels for all three gyroscopes. Figure 22 illustrates the iterative process used in the EKF, which uses angular rate measurements (gyroscopes) to predict orientation updates and then makes corrections using accelerometer and magnetometer measurements. In addition to continuous state estimation, the EKF also estimates the error covariance terms. Using the covariance terms, current orientation, and gyroscope sensor measurements, the algorithm computes a Kalman gain that provides a weighting value for each sensor contribution to the state vector. The ADIS16480 has factory settings for the covariance terms but provides access to them in the form of user-configuration registers, for fine tuning, based on application-specific conditions/requirements. Bits [15:0] Table 79. QCVR_RRW_UPR (Page 3, Base Address = 0x66) Bits [15:0] Description (Default = 0x2E5B) Gyroscope rate random walk (RRW) covariance term, upper word Table 80. QCVR_RRW_LWR (Page 3, Base Address = 0x64) Bits [15:0] Description (Default = 0xE6FF) Gyroscope rate random walk (RRW) covariance term, lower word Table 81. RCVR_ACC_UPR (Page 3, Base Address = 0x6E) Bits [15:0] COVARIANCE TERMS Description (Default = 0x3189) Accelerometer measurement variance term, upper word Table 82. RCVR_ACC_LWR (Page 3, Base Address = 0x6C) Table 77 through Table 80 provides register information for the gyroscope noise/RRW process covariance (Q) terms. Table 81 through Table 84 provides register information for the accelerometer/magnetometer measurement covariance (R) terms. These covariance terms use the IEEE 32-bit floatingpoint format. Each term has two registers, one for the upper word and one for the lower word. Bits [15:0] Description (Default = 0x705F) Accelerometer measurement variance term, lower word Table 83. RCVR_MAG_UPR (Page 3, Base Address = 0x72) Bits [15:0] Description (Default = 0x32AB) Magnetometer measurement variance term, upper word Table 84. RCVR_MAG_LWR (Page 3, Base Address = 0x70) Table 77. QCVR_NOIS_UPR (Page 3, Base Address = 0x62) Bits [15:0] Description (Default = 0x3727) Gyroscope noise covariance term, upper word Description (Default = 0xCC77) Magnetometer measurement variance term, lower word EKF PROCESS QUATERNION, BIAS ERROR COVARIANCE GYROSCOPE PREDICT CORRECT Q COVARIANCE ACCELEROMETERS MAGNETOMETERS R COVARIANCE QUATERNION, BIAS ERROR COVARIANCE QUATERNION Figure 22. EKF Process Rev. H | Page 29 of 44 10278-022 Bits [15:0] Description (Default = 0xC5AC) Gyroscope noise covariance term, lower word ADIS16480 Data Sheet REFERENCE FRAME Table 85. REFMTX_R11 (Page 2, Base Address = 0x62) During the power-on initialization and reset recovery operations, the ADIS16480 sets the accelerometer and magnetometer references for use in the orientation computation. During this process, the gravity vector becomes the accelerometer reference and the magnetometer reference computation includes the following steps: measure horizontal and vertical components of the magnetic field and align the horizontal component to magnetic north. This also measures the inclination, which removes this requirement from an external system. The resulting reference frame is a local ENU inertial frame formed by the y-axis pointing at magnetic north, the z-axis pointing up, and the x-axis completing the right-hand frame by pointing east. Bits 15 [14:0] REFERENCE TRANSFORMATION MATRIX The reference transformation matrix, RIJ, provides a userprogrammable alignment function for orientation alignment to a local navigation frame. Another common name for this function in navigation system literature is the coordinate transformation matrix. R11 RIJ = R 21 R 31 R12 R13 R 22 R 23 R32 R33 Table 86. REFMTX_R12 (Page 2, Base Address = 0x64) Bits 15 [14:0] Each element in this matrix is associated with a register that provides read and write access. See Table 85 through Table 93, for these registers. Use these registers to define the local navigation frame, based on system generated requirements. Each element is the cross product of the unit vectors that describe the axes of the two frames, which are equal to the cosines of the angles between the axes. Units of rotation vary by 1. When writing to these registers, write to R33 last because a write to the upper byte of this register causes all nine registers to update inside of the ADIS16480. Description (Default = 0x0000) Sign bit Magnitude, binary, 1 LSB = 1/215 Table 87. REFMTX_R13 (Page 2, Base Address = 0x66) Bits 15 [14:0] Description (Default = 0x0000) Sign bit Magnitude, binary, 1 LSB = 1/215 Table 88. REFMTX_R21 (Page 2, Base Address = 0x68) Bits 15 [14:0] Description (Default = 0x0000) Sign bit Magnitude, binary, 1 LSB = 1/215 Table 89. REFMTX_R22 (Page 2, Base Address = 0x6A) Bits 15 [14:0] When this matrix is equal to an identify matrix (factory default), the local navigation frame matches true level, with respect to gravity, and magnetic north. The tare command automatically calculates and loads the matrix values that establish the current ADIS16480 orientation as the reference orientation. When the ADIS16480 is in the desired reference orientation, initiate the tare command by setting GLOB_CMD[8] = 1 (DIN = 0x8003, then DIN = 0x8301, see Table 147). Description (Default = 0x7FFF) Sign bit Magnitude, binary, 1 LSB = 1/215 Description (Default = 0x7FFF) Sign bit Magnitude, binary, 1 LSB = 1/215 Table 90. REFMTX_R23 (Page 2, Base Address = 0x6C) Bits 15 [14:0] Description (Default = 0x0000) Sign bit Magnitude, binary, 1 LSB = 1/215 Table 91. REFMTX_R31 (Page 2, Base Address = 0x6E) Bits 15 [14:0] Description (Default = 0x0000) Sign bit Magnitude, binary, 1 LSB = 1/215 Table 92. REFMTX_R32 (Page 2, Base Address = 0x70) Bits 15 [14:0] Description (Default = 0x0000) Sign bit Magnitude, binary, 1 LSB = 1/215 Table 93. REFMTX_R33 (Page 2, Base Address = 0x72) Bits 15 [14:0] Rev. H | Page 30 of 44 Description (Default = 0x7FFF) Sign bit Magnitude, binary, 1 LSB = 1/215 Data Sheet ADIS16480 DECLINATION Automatic EKF Divergence Reset Control Bit The DECLN_ANGL register provides a user-programmable input that can shift the reference frame from magnetic north to geodetic north (or any arbitrary azimuth heading). The EKF algorithm monitors the normalized innovation squared parameter to detect divergence. The normalized innovation is the innovation (predicted measurements minus actual measurements) divided by the statistically computed expected error, which is based on the error covariance and the measurement covariance. The normalized innovation is used to detect EKF divergence and report it in the SYS_E_FLAG[13] bit (see Table 60), and to trigger an automatic EKF reset when EKF_CFG[12] = 1. The automatic reset process works best when the divergence comes from short-term, transient inertial conditions. Use this function only when predeployment validation testing can confirm that it performs well through all application conditions. If there is any sign of instability, keep this function off (EKF_CFG[12] = 0), monitor SYS_E_FLAG[13] to test for divergence in the EKF, and, after detecting divergence, use the manual EKF reset function in GLOB_CMD[15] (see Table 147) or the full software reset in GLB_CMD[7] to initiate a reset in the EKF. Note that this recovery process requires zero inertial motion and a magnetic environment free of interference to optimize postrecovery accuracy. Table 94. DECLN_ANGL (Page 3, Base Address = 0x54) Bits [15:0] Description (Default = 0x0000) Declination angle, twos complement Scale factor = /215 radians/LSB ADAPTIVE OPERATION The EKF_CNFG register, in Table 95, offers a number of control bits for customizing EKF operation. Table 95. EKF_CNFG (Page 3, Base Address = 0x50) Bits [15:13] 12 [11:10] 9 8 [7:5] 4 3 2 1 0 Description (Default = 0x0200) Not used Automatic reset recovery from divergence 1 = enable, 0 = disable Not used Fade enable 1 = enable, 0 = disable Adaptive EKF enable 1 = enable, 0 = disable Not used Orientation format control 1 = rotation matrix, 0 = quaternion and Euler Body frame/local navigation frame selection 1 = body frame, 0 = local navigation frame Not for external use, always set to 0 Magnetometer disable 1 = enable, 0 = disable Gravity removal (from accelerometers) 1 = enable, 0 = disable Gyroscope Fade Control Bit EKF_CNFG[9] (see Table 95) provides an on/off control bit for the gyroscope fade function, which is an internal adjustment of the gyroscope process covariance terms. This reduces the impact of gyroscope scale errors during transient events, where the gyroscope rates are quickly changing. The fade function effectively reduces the weighting of the gyroscope measurements, with respect to the accelerometers and magnetometers, during these transient events. The adjustment terminates when the rates return to zero. Body Frame/Local Navigation Frame Bit Adaptive EKF Enable Bit EKF_CNFG[8] (see Table 95) provides an on/off control bit for the adaptive part of the EKF function. The adaptive part of the EKF computes the measurement covariance terms (R), which enables real-time adjustments for vibration and magnetic field disturbances. See Table 81 through Table 84 for read access to the measurement covariance terms. EKF_CNFG[3] (see Table 95) provides a bit for selecting between the body frame and local navigation frame. When using the local navigation frame, the body sensor measurements are translated into the local navigation frame before being loaded into the output registers. Absent any external acceleration, the accelerometer outputs remain unchanged as the ADIS16480 is rotated when in this mode. Set EKF_CNFG[3] = 1 (DIN = 0x8003, DIN = 0xD008, DIN = 0xD102) to establish the body frame as the reference frame and to preserve the fade enable setting. Rev. H | Page 31 of 44 ADIS16480 Data Sheet Orientation Format Control Bit Linear Acceleration/Magnetic Disturbance Detection EKF_CNFG[4] (see Table 95) provides a selection bit for angle data format. Set EKF_CNFG[4] = 1 (DIN = 0x8003, DIN = 0xD010, DIN = 0xD102) to use the rotation matrix format and to preserve the fade enable setting. The ADIS16480 checks the magnitudes of the accelerometers and magnetometers and compares their values against those of the corresponding reference vectors. If the difference exceeds the percentage programmed in the disturbance thresholds, the algorithm automatically ignores the affected sensor group for the duration of the external disturbance. Magnetometer Disable Control Bit EKF_CNFG[1] (see Table 95) provides an on/off control bit for the magnetometer disable function, which disables the magnetometer influence over angle calculations in the EKF. Gravity Removal Control Bit EKF_CNFG[0] (see Table 95) provides an on/off control bit for the gravity removal function, which removes the gravity component from the accelerometer outputs. This function applies only when using the local navigation frame mode. Table 96. ACC_DISTB_THR (Page 3, Base Address = 0x56) Bits [15:8] [7:0] Description (Default = 0x0020) Not used Threshold, binary, scale factor = 0.39%/LSB (50%/128) Table 97. MAG_DISTB_THR (Page 3, Base Address = 0x58) Bits [15:8] [7:0] Rev. H | Page 32 of 44 Description (Default = 0x0030) Not used Threshold, binary, scale factor = 0.39%/LSB (50%/128) Data Sheet ADIS16480 CALIBRATION The ADIS16480 factory calibration produces correction formulas for the gyroscopes, accelerometers, magnetometers, and barometers, and then programs them into the flash memory. In addition, there are a series of user configurable calibration registers, for in-system tuning. Manual Sensitivity Correction The x_GYRO_SCALE registers enable sensitivity adjustment (see Table 104, Table 105, and Table 106). Table 104. X_GYRO_SCALE (Page 2, Base Address = 0x04) Bits [15:0] GYROSCOPES The use calibration for the gyroscopes includes registers for adjusting bias and sensitivity, as shown in Figure 23. Table 105. Y_GYRO_SCALE (Page 2, Base Address = 0x06) 1 + X_GYRO_SCALE FACTORY CALIBRATION AND FILTERING XG_BIAS_HIGH X_GYRO_OUT X_GYRO_LOW XG_BIAS_LOW Manual Bias Correction The xG_BIAS_HIGH registers (see Table 98, Table 99, and Table 100) and xG_BIAS_LOW registers (see Table 101, Table 102, and Table 103) provide a bias adjustment function for the output of each gyroscope sensor. Table 98. XG_BIAS_HIGH (Page 2, Base Address = 0x12) Description (Default = 0x0000) X-axis gyroscope offset correction, upper word twos complement, 0/sec = 0x0000, 1 LSB = 0.02/sec Table 99. YG_BIAS_HIGH (Page 2, Base Address = 0x16) Bits [15:0] Description (Default = 0x0000) Y-axis gyroscope offset correction, upper word; twos complement, 0/sec = 0x0000, 1 LSB = 0.02/sec Table 100. ZG_BIAS_HIGH (Page 2, Base Address = 0x1A) Bits [15:0] Description (Default = 0x0000) Z-axis gyroscope offset correction, upper word; twos complement, 0/sec = 0x0000, 1 LSB = 0.02/sec Table 101. XG_BIAS_LOW (Page 2, Base Address = 0x10) Bits [15:0] MEMS gyroscopes typically have a bias response to linear acceleration that is normal to their axis of rotation. The ADIS16480 offers an optional compensation function for this effect. The factory default setting for Register 0x00C0 enables this function. To turn it off, turn to Page 3 (DIN = 0x8003) and set CONFIG[7] = 0 (DIN = 0x8A40, DIN = 0x8B00). Note that this also keeps the point of percussion alignment function enabled. Table 107. CONFIG (Page 3, Base Address = 0x0A) Bits [15:8] 7 6 [5:2] 1 0 Description (Default = 0x0000) X-axis gyroscope offset correction, lower word; twos complement, 0/sec = 0x0000, 1 LSB = 0.02/sec / 216 = ~0.000000305/sec Description (Default = 0x0000) Y-axis gyroscope offset correction, lower word; twos complement, 0/sec = 0x0000, 1 LSB = 0.02/sec / 216 = ~0.000000305/sec Table 103. ZG_BIAS_LOW (Page 2, Base Address = 0x18) Bits [15:0] Description (Default = 0x0000) Z-axis gyroscope scale correction; twos complement, 0x0000 = unity gain, 1 LSB = 1 / 215 = ~0.003052% Linear Acceleration on Effect on Gyroscope Bias Table 102. YG_BIAS_LOW (Page 2, Base Address = 0x14) Bits [15:0] Description (Default = 0x0000) Y-axis gyroscope scale correction; twos complement, 0x0000 = unity gain, 1 LSB = 1 / 215 = ~0.003052% Table 106. Z_GYRO_SCALE (Page 2, Base Address = 0x08) Bits [15:0] Figure 23. User Calibration Signal Path, Gyroscopes Bits [15:0] Bits [15:0] 10278-023 X-AXIS GYRO Description (Default = 0x0000) X-axis gyroscope scale correction; twos complement, 0x0000 = unity gain, 1 LSB = 1 / 215 = ~0.003052% Description (Default = 0x0000) Z-axis gyroscope offset correction, lower word twos complement, 0/sec = 0x0000, 1 LSB = 0.02/sec / 216 = ~0.000000305/sec Rev. H | Page 33 of 44 Description (Default = 0x00C0) Not used Linear-g compensation for gyroscopes (1 = enabled) Point of percussion alignment (1 = enabled) Not used Real-time clock, daylight savings time (1: enabled, 0: disabled) Real-time clock control (1: relative/elapsed timer mode, 0: calendar mode) ADIS16480 Data Sheet ACCELEROMETERS Manual Sensitivity Correction The user calibration for the accelerometers includes registers for adjusting bias and sensitivity, as shown in Figure 24. The x_ACCL_SCALE registers enable sensitivity adjustment (see Table 114, Table 115, and Table 116). Table 114. X_ACCL_SCALE (Page 2, Base Address = 0x0A) 1 + X_ACCL_SCALE XA_BIAS_HIGH X_ACCL_OUT Bits [15:0] X_ACCL_LOW 10278-024 X-AXIS ACCL FACTORY CALIBRATION AND FILTERING XA_BIAS_LOW Figure 24. User Calibration Signal Path, Accelerometers Table 115. Y_ACCL_SCALE (Page 2, Base Address = 0x0C) Manual Bias Correction The xA_BIAS_HIGH registers (see Table 108, Table 109, and Table 110) and xA_BIAS_LOW registers (see Table 111, Table 112, and Table 113) provide a bias adjustment function for the output of each accelerometer sensor. The xA_BIAS_HIGH registers use the same format as x_ACCL_OUT registers. The xA_BIAS_LOW registers use the same format as x_ACCL_LOW registers. Bits [15:0] Bits [15:0] The user calibration registers enable both hard iron and soft iron correction, as shown in the following relationship: M XC 1 + S11 M YC = S 21 M ZC S 31 Description (Default = 0x0000) Y-axis accelerometer offset correction, high word, Twos complement, 0 g = 0x0000, 1 LSB = 0.8 mg Table 110. ZA_BIAS_HIGH (Page 2, Base Address = 0x26) Bits [15:0] Description (Default = 0x0000) Z-axis accelerometer offset correction, high word, Twos complement, 0 g = 0x0000, 1 LSB = 0.8 mg Description (Default = 0x0000) X-axis accelerometer offset correction, low word, Twos complement, 0 g = 0x0000, 1 LSB = 0.8 mg / 216 = ~0.0000122 mg Table 112. YA_BIAS_LOW (Page 2, Base Address = 0x20) Bits [15:0] Description (Default = 0x0000) Y-axis accelerometer offset correction, low word, Twos complement, 0 g = 0x0000, 1 LSB = 0.8 mg / 216 = ~0.0000122 mg Table 113. ZA_BIAS_LOW (Page 2, Base Address = 0x24) Bits [15:0] S12 S13 M X H X 1 + S 22 S23 x M Y + H Y S32 1 + S33 M Z H Z The MX, MY, and MZ variables represent the magnetometer data, prior to application of the user correction formula. The MXC, MYC, and MZC represent the magnetometer data, after the application of the user correction formula. Table 111. XA_BIAS_LOW (Page 2, Base Address = 0x1C) Bits [15:0] Description (Default = 0x0000) Z-axis accelerometer scale correction, Twos complement, 0x0000 = unity gain, 1 LSB = 1 / 215 = ~0.003052% MAGNETOMETERS Description (Default = 0x0000) X-axis accelerometer offset correction, high word, Twos complement, 0 g = 0x0000, 1 LSB = 0.8 mg Table 109. YA_BIAS_HIGH (Page 2, Base Address = 0x22) Bits [15:0] Description (Default = 0x0000) Y-axis accelerometer scale correction, Twos complement, 0x0000 = unity gain, 1 LSB = 1 / 215 = ~0.003052% Table 116. Z_ACCL_SCALE (Page 2, Base Address = 0x0E) Table 108. XA_BIAS_HIGH (Page 2, Base Address = 0x1E) Bits [15:0] Description (Default = 0x0000) X-axis accelerometer scale correction, Twos complement, 0x0000 = unity gain, 1 LSB = 1 / 215 = ~0.003052% Description (Default = 0x0000) Z-axis accelerometer offset correction, low word; Twos complement, 0 g = 0x0000, 1 LSB = 0.8 mg / 216 = ~0.0000122 mg Rev. H | Page 34 of 44 Data Sheet ADIS16480 Hard Iron Correction Table 122. SOFT_IRON_S12 (Page 2, Base Address = 0x30) Table 117, Table 118, and Table 119 describe the register format for the hard iron correction factors: HX, HY, and HZ. These registers use a twos complement format. Table 120 provides some numerical examples for converting the digital codes for these registers into their decimal equivalents. Bits [15:0] Table 117. HARD_IRON_X (Page 2, Base Address = 0x28) Bits [15:0] Description (Default = 0x0000) X-axis magnetometer hard iron correction factor, HX Twos complement, 3.2767 gauss range, 0.1 mgauss/LSB, 0 gauss = 0x0000 (see Table 120) Table 118. HARD_IRON_Y (Page 2, Base Address = 0x2A) Bits [15:0] Description (Default = 0x0000) Y-axis magnetometer hard iron correction factor, HY Twos complement, 3.2767 gauss range, 0.1 mgauss/LSB, 0 gauss = 0x0000 (see Table 120) Table 123. SOFT_IRON_S13 (Page 2, Base Address = 0x32) Bits [15:0] Description (Default = 0x0000) Z-axis magnetometer hard iron correction factor, Hz Twos complement, 3.2767 gauss range, 0.1 mgauss/LSB, 0 gauss = 0x0000 (see Table 120) Table 120. HARD_IRON_x Data Format Examples Magnetic Field +3.2767 gauss +0.2 mgauss +0.1 mgauss 0 gauss -0.1 mgauss -0.2 mgauss -3.2768 gauss Decimal +32,767 +2 +1 0 -1 -2 -32,768 Hex 0x7FFF 0x0002 0x0001 0x0000 0xFFFF 0xFFFE 0x8000 Binary 0111 1111 1111 1111 0000 0000 0000 0010 0000 0000 0000 0001 0000 0000 0000 0000 1111 1111 1111 1111 1111 1111 1111 1110 1000 0000 0000 0000 Description (Default = 0x0000) Magnetometer soft iron correction factor, S13 Twos complement format, see Table 130 for examples Table 124. SOFT_IRON_S21 (Page 2, Base Address = 0x34) Bits [15:0] Description (Default = 0x0000) Magnetometer soft iron correction factor, S21 Twos complement format, see Table 130 for examples Table 125. SOFT_IRON_S22 (Page 2, Base Address = 0x36) Bits [15:0] Table 119. HARD_IRON_Z (Page 2, Base Address = 0x2C) Bits [15:0] Description (Default = 0x0000) Magnetometer soft iron correction factor, S12 Twos complement format, see Table 130 for examples Description (Default = 0x0000) Magnetometer soft iron correction factor, S22 Twos complement format, see Table 130 for examples Table 126. SOFT_IRON_S23 (Page 2, Base Address = 0x38) Bits [15:0] Description (Default = 0x0000) Magnetometer soft iron correction factor, S23 Twos complement format, see Table 130 for examples Table 127. SOFT_IRON_S31 (Page 2, Base Address = 0x3A) Bits [15:0] Description (Default = 0x0000) Magnetometer soft iron correction factor, S31 Twos complement format, see Table 130 for examples Table 128. SOFT_IRON_S32 (Page 2, Base Address = 0x3C) Bits [15:0] Description (Default = 0x0000) Magnetometer soft iron correction factor, S32 Twos complement format, see Table 130 for examples Soft Iron Correction Matrix Table 129. SOFT_IRON_S33 (Page 2, Base Address = 0x3E) The soft iron correction matrix contains correction factors for both sensitivity (S11, S22, S33) and alignment (S12, S13, S21, S23, S31, S32). The registers that represent each soft iron correction factor are in Table 121 (S11), Table 122 (S12), Table 123 (S13), Table 124 (S21), Table 125 (S22), Table 126 (S23), Table 127 (S31), Table 128 (S32), and Table 129 (S33). Table 130 offers some numerical examples for converting between the digital codes and their effect on the magnetometer output, in terms of percent-change. Table 130. Soft Iron Correction, Numerical Examples Table 121. SOFT_IRON_S11 (Page 2, Base Address = 0x2E) Bits [15:0] Description (Default = 0x0000) Magnetometer soft iron correction factor, S11 Twos complement format, see Table 130 for examples Bits [15:0] Description (Default = 0x0000) Magnetometer soft iron correction factor, S33 Twos complement format, see Table 130 for examples Delta (%) +100 - 1/216 +200/215 +100/215 0 -100/215 -200/215 -100 Rev. H | Page 35 of 44 Decimal +32,767 +2 +1 0 -1 -2 -32,768 Hex 0x7FFF 0x0002 0x0001 0x0000 0xFFFF 0xFFFE 0x8000 Binary 0111 1111 1111 1111 0000 0000 0000 0010 0000 0000 0000 0001 0000 0000 0000 0000 1111 1111 1111 1111 1111 1111 1111 1110 1000 0000 0000 0000 ADIS16480 Data Sheet BAROMETERS RESTORING FACTORY CALIBRATION The BR_BIAS_HIGH register (see Table 131) and BR_BIAS_LOW register (Table 132) provide an offset control function and use the same format as the output registers, BAROM_OUT and BAROM_LOW. Turn to Page 3 (DIN = 0x8003) and set GLOB_CMD[6] = 1 (DIN = 0x8240, DIN = 0x8300) to execute the factory calibration restore function. This function resets each user calibration register to zero, resets all sensor data to 0, and automatically updates the flash memory within 72 ms. See Table 147 for more information on GLOB_CMD. Table 131. BR_BIAS_HIGH (Page 2, Base Address = 0x42) Description (Default = 0x0000) Barometric pressure bias correction factor, high word Twos complement, 1.3 bar measurement range, 0 bar = 0x0000, 1 LSB = 40 bar Table 132. BR_BIAS_LOW (Page 2, Base Address = 0x40) Bits [15:0] Description (Default = 0x0000) Barometric pressure bias correction factor, low word Twos complement, 1.3 bar measurement range, 0 bar = 0x0000, 1 LSB = 40 bar / 216 = ~0.00061 bar POINT OF PERCUSSION ALIGNMENT CONFIG[6] offers a point of percussion alignment function that maps the accelerometer sensors to the corner of the package identified in Figure 25. To activate this feature, turn to Page 3 (DIN = 0x8003), then set CONFIG[6] = 1 (DIN = 0x8A40, DIN = 0x8B00). See Table 107 for more information on the CONFIG register. PIN 23 PIN 1 POINT OF PERCUSSION ALIGNMENT REFERENCE POINT. SEE CONFIG[6]. Figure 25. Point of Percussion Reference Point Rev. H | Page 36 of 44 10278-025 Bits [15:0] Data Sheet ADIS16480 ALARMS Each sensor has an independent alarm function that provides controls for alarm magnitude, polarity, and enabling a dynamic rate of change option. The ALM_STS register (see Table 62) contains the alarm output flags and the FNCTIO_CTRL register (see Table 150) provides an option for configuring one of the digital I/O lines as an alarm indicator. STATIC ALARM USE The static alarm setting compares each sensor output with the trigger settings in the xx_ALM_MAGN registers (see Table 133 through Table 142) of that sensor. The polarity controls for each alarm are in the ALM_CNFG_x registers (see Table 143, Table 144, Table 145) establish the relationship for the condition that causes the corresponding alarm flag to be active. For example, when ALM_CNFG_0[13] = 1, the alarm flag for the x-axis accelerometer (ALM_STS[3], see Table 62) becomes active (equal to 1) when X_ACCL_OUT is greater than XA_ALM_MAGN. Table 138. ZA_ALM_MAGN (Page 3, Base Address = 0x32) Bits [15:0] Description (Default = 0x0000) Z-axis accelerometer alarm threshold settings, Twos complement, 0 g = 0x0000, 1 LSB = 0.8 mg Table 139. XM_ALM_MAGN (Page 3, Base Address = 0x34) Bits [15:0] Description (Default = 0x0000) X-axis magnetometer alarm threshold settings, Twos complement, 0 gauss = 0x0000, 1 LSB = 0.1 mgauss Table 140. YM_ALM_MAGN (Page 3, Base Address = 0x36) Bits [15:0] Description (Default = 0x0000) Y-axis magnetometer alarm threshold settings, Twos complement, 0 gauss = 0x0000, 1 LSB = 0.1 mgauss Table 141. ZM_ALM_MAGN (Page 3, Base Address = 0x38) DYNAMIC ALARM USE Bits [15:0] The dynamic alarm setting provides the option to compare the change in each sensor output over a period of 48.7 ms with the xx_ALM_MAGN register of that sensor. Table 142. BR_ALM_MAGN (Page 3, Base Address = 0x3A) Table 133. XG_ALM_MAGN (Page 3, Base Address = 0x28) Bits [15:0] Description (Default = 0x0000) X-axis gyroscope alarm threshold settings, Twos complement, 0/sec = 0x0000, 1 LSB = 0.02/sec Table 134. YG_ALM_MAGN (Page 3, Base Address = 0x2A) Bits [15:0] Description (Default = 0x0000) Y-axis gyroscope alarm threshold settings, Twos complement, 0/sec = 0x0000, 1 LSB = 0.02/sec Table 135. ZG_ALM_MAGN (Page 3, Base Address = 0x2C) Bits [15:0] Description (Default = 0x0000) Z-axis gyroscope alarm threshold settings, Twos complement, 0/sec = 0x0000, 1 LSB = 0.02/sec Table 136. XA_ALM_MAGN (Page 3, Base Address = 0x2E) Bits [15:0] Description (Default = 0x0000) X-axis accelerometer alarm threshold settings, Twos complement, 0 g = 0x0000, 1 LSB = 0.8 mg Table 137. YA_ALM_MAGN (Page 3, Base Address = 0x30) Bits [15:0] Description (Default = 0x0000) Y-axis accelerometer alarm threshold settings, Twos complement, 0 g = 0x0000, 1 LSB = 0.8 mg Bits [15:0] Description (Default = 0x0000) Z-axis magnetometer alarm threshold settings, Twos complement, 0 gauss = 0x0000, 1 LSB = 0.1 mgauss Description (Default = 0x0000) Z-axis barometer alarm threshold settings, Twos complement, 0 bar = 0x0000, 1 LSB = 40 bar Table 143. ALM_CNFG_0 (Page 3, Base Address = 0x20) Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Rev. H | Page 37 of 44 Description (Default = 0x0000) X-axis accelerometer alarm (1 = enabled) Not used X-axis accelerometer alarm polarity (1 = greater than) X-axis accelerometer dynamic enable (1 = enabled) Z-axis gyroscope alarm (1 = enabled) Not used Z-axis gyroscope alarm polarity (1 = greater than) Z-axis gyroscope dynamic enable (1 = enabled) Y-axis gyroscope alarm (1 = enabled) Not used Y-axis gyroscope alarm polarity (1 = greater than) Y-axis gyroscope dynamic enable (1 = enabled) X-axis gyroscope alarm (1 = enabled) Not used X-axis gyroscope alarm polarity (1 = greater than) X-axis gyroscope dynamic enable (1 = enabled) ADIS16480 Data Sheet Table 144. ALM_CNFG_1 (Page 3, Base Address = 0x22) Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Description (Default = 0x0000) Y-axis magnetometer alarm (1 = enabled) Not used Y-axis magnetometer alarm polarity (1 = greater than) Y-axis magnetometer dynamic enable (1 = enabled) X-axis magnetometer (1 = enabled) Not used X-axis magnetometer alarm polarity (1 = greater than) X-axis magnetometer dynamic enable (1 = enabled) Z-axis accelerometer alarm (1 = enabled) Not used Z-axis accelerometer alarm polarity (1 = greater than) Z-axis accelerometer dynamic enable (1 = enabled) Y-axis accelerometer alarm (1 = enabled) Not used Y-axis accelerometer alarm polarity (1 = greater than) Y-axis accelerometer dynamic enable (1 = enabled) Alarm Example Table 146 offers an alarm configuration example, which sets the z-axis gyroscope alarm to trip when Z_GYRO_OUT > 131.1/sec (0x199B). Table 146. Alarm Configuration Example DIN 0xAC9B 0xAD19 0xA000 0xA10A Table 145. ALM_CNFG_2 (Page 3, Base Address = 0x24) Bits [15:8] 7 6 5 4 3 2 1 0 Description (Default = 0x0000) Not used Barometer alarm (1 = enabled) Not used Barometer alarm polarity (1 = greater than) Barometer dynamic enable (1 = enabled) Z-axis magnetometer alarm (1 = enabled) Not used Z-axis magnetometer alarm polarity (1 = greater than) Z-axis magnetometer dynamic enable (1 = enabled) Rev. H | Page 38 of 44 Description Set ZG_ALM_MAGN[7:0] = 0x9B Set ZG_ALM_MAGN[15:8] = 0x19 Set ALM_CNFG_0[7:0] = 0x00 Set ALM_CNFG_0[15:8] = 0x0A Data Sheet ADIS16480 SYSTEM CONTROLS MEMORY MANAGEMENT The GLOB_CMD register (see Table 147) provides trigger bits for several operations. Write 1 to the appropriate bit in GLOB_CMD to start a function. After the function completes, the bit restores to 0. Table 147. GLOB_CMD (Page 3, Base Address = 0x02) Bits 15 [14:10] 9 8 7 6 [5:4] 3 2 1 0 Description EKF reset Not used Reset the reference rotation matrix Tare command Software reset Factory calibration restore Not used Flash memory update Flash memory test Self-test Not used Execution Time 416 ms Not applicable 1 sample period 1 sample period 1.8 seconds 1 sample period Not applicable 1100 ms 53 ms 12 ms Not applicable Software Reset Table 148. FLSHCNT_LOW (Page 2, Base Address = 0x7C) Bits [15:0] Table 149. FLSHCNT_HIGH (Page 2, Base Address = 0x7E) Bits [15:0] Description Binary counter; number of flash updates, upper word 600 Turn to Page 3 (DIN = 0x8003) and then set GLOB_CMD[7] = 1 (DIN = 0x8280, DIN = 0x8300) to reset the operation, which removes all data, initializes all registers from their flash settings, and starts data collection. This function provides a firmware alternative to the RST pin (see Table 6, Pin 8). 450 300 150 0 30 40 55 70 85 100 125 JUNCTION TEMPERATURE (C) 135 150 Figure 26. Flash Memory Retention Automatic Self-Test Turn to Page 3 (DIN = 0x8003) and then set GLOB_CMD[1] = 1 (DIN = 0x8202, then DIN = 0x8300) to run an automatic selftest routine, which executes the following steps: 1. 2. 3. 4. 5. 6. 7. Description Binary counter; number of flash updates, lower word 10278-026 GLOBAL COMMANDS The data retention of the flash memory depends on the temperature and the number of write cycles. Figure 26 characterizes the dependence on temperature, and the FLSHCNT_LOW and FLSHCNT_HIGH registers (see Table 148 and Table 149) provide a running count of flash write cycles. The flash updates every time GLOB_CMD[6] or GLOB_CMD[3] is set to 1. RETENTION (Years) The ADIS16480 provides a number of system level controls for managing its operation, which include reset, self-test, calibration, memory management, and I/O configuration. Measure output on each sensor. Activate self-test on each sensor. Measure output on each sensor. Deactivate the self-test on each sensor. Calculate the difference with self-test on and off. Compare the difference with internal pass/fail criteria. Report the pass/fail results for each sensor in DIAG_STS. Flash Memory Test Turn to Page 3 (DIN = 0x8003), and then set GLOB_CMD[2] = 1 (DIN = 0x8204, DIN = 0x8300) to run a checksum test of the internal flash memory, which compares a factory programmed value with the current sum of the same memory locations. The result of this test loads into SYS_E_FLAG[6]. Turn to Page 0 (DIN = 0x8000) and use DIN = 0x0800 to read SYS_E_FLAG. After waiting 12 ms for this test to complete, turn to Page 0 (DIN = 0x8000) and read DIAG_STS using DIN = 0x0A00. Note that using an external clock can extend this time. When using an external clock of 100 Hz, this time extends to 35 ms. Note that 100 Hz is too slow for optimal sensor performance. Rev. H | Page 39 of 44 ADIS16480 Data Sheet GENERAL-PURPOSE I/O General-Purpose I/O Control There are four general-purpose I/O pins: DIO1, DIO2, DIO3, and DIO4. The FNCTIO_CTRL register controls the basic function of each I/O pin. Each I/O pin only supports one function at a time. In cases where a single pin has two different assignments, the enable bit for the lower priority function automatically resets to zero and is disabled. The priority is (1) data-ready, (2) sync clock input, (3) alarm indicator, and (4) general-purpose, where 1 identifies the highest priority and 4 indicates the lowest priority. When FNCTIO_CTRL does not configure a DIOx pin, GPIO_CTRL provides register controls for general-purpose use of the pin. GPIO_CTRL[3:0] provides input/output assignment controls for each pin. When the DIOx pins are inputs, monitor their levels by reading GPIO_CTRL[7:4]. When the DIOx pins are used as outputs, set their levels by writing to GPIO_CTRL[7:4]. For example, use the following sequence to set DIO1 and DIO3 as high and low output pins, respectively, and set DIO2 and DIO4 as input pins. Turn to Page 3 (DIN = 0x8003) and set GPIO_CTRL[7:0] = 0x15 (DIN = 0x8815, then DIN = 0x8900). Table 150. FNCTIO_CTRL (Page 3, Base Address = 0x06) Bits [15:12] 11 10 [9:8] 7 6 [5:4] 3 2 [1:0] Table 151. GPIO_CTRL (Page 3, Base Address = 0x08) Description (Default = 0x000D) Not used Alarm indicator: 1 = enabled, 0 = disabled Alarm indicator polarity: 1 = positive, 0 = negative Alarm indicator line selection: 00 = DIO1, 01 = DIO2, 10 = DIO3, 11 = DIO4 Sync clock input enable: 1 = enabled, 0 = disabled Sync clock input polarity: 1 = rising edge, 0 = falling edge Sync clock input line selection: 00 = DIO1, 01 = DIO2, 10 = DIO3, 11 = DIO4 Data-ready enable: 1 = enabled, 0 = disabled Data-ready polarity: 1 = positive, 0 = negative Data-ready line selection: 00 = DIO1, 01 = DIO2, 10 = DIO3, 11 = DIO4 Bits [15:8] 7 6 5 4 3 2 1 0 1 Data-Ready Indicator FNCTIO_CTRL[3:0] provide some configuration options for using one of the DIOx pins as a data-ready indicator signal, which can drive a processor interrupt control line. The factory default assigns DIO2 as a positive polarity, data-ready signal. Use the following sequence to change this assignment to DIO1 with a negative polarity: turn to Page 3 (DIN = 0x8003) and set FNCTIO_CTRL[3:0] = 1000 (DIN = 0x8608, then DIN = 0x8700). The timing jitter on the data-ready signal is 1.4 s. Input Sync/Clock Control FNCTIO_CTRL[7:4] provide some configuration options for using one of the DIOx pins as an input synchronization signal for sampling inertial sensor data. For example, use the following sequence to establish DIO4 as a positive polarity, input clock pin and keep the factory default setting for the data-ready function: turn to Page 3 (DIN = 0x8003) and set FNCTIO_CTRL[7:0] = 0xFD (DIN = 0x86FD, then DIN = 0x8700). Note that this command also disables the internal sampling clock, and no data sampling takes place without the input clock signal. When selecting a clock input frequency, consider the 330 Hz sensor bandwidth, because under sampling the sensors can degrade noise and stability performance. Description (Default = 0x00X0)1 Don't care General-Purpose I/O Pin 4 (DIO4) data level General-Purpose I/O Pin 3 (DIO3) data level General-Purpose I/O Pin 2 (DIO2) data level General-Purpose I/O Pin 1 (DIO1) data level General-Purpose I/O Pin 4 (DIO4) direction control (1 = output, 0 = input) General-Purpose I/O Pin 3 (DIO3) direction control (1 = output, 0 = input) General-Purpose I/O Pin 2 (DIO2) direction control (1 = output, 0 = input) General-Purpose I/O Pin 1 (DIO1) direction control (1 = output, 0 = input) GPIO_CTRL[7:4] reflects levels on the DIOx pins and does not have a default setting POWER MANAGEMENT The SLP_CNT register (see Table 152) provides controls for both power-down mode and sleep mode. The trade-off between power-down mode and sleep mode is between idle power and recovery time. Power-down mode offers the best idle power consumption but requires the most time to recover. Also, all volatile settings are lost during power-down but are preserved during sleep mode. For timed sleep mode, turn to Page 3 (DIN = 0x8003), write the amount of sleep time to SLP_CNT[7:0] and then, set SLP_CNT[8] = 1 (DIN = 0x9101) to start the sleep period. For a timed powerdown period, change the last command to set SLP_CNT[9] = 1 (DIN = 0x9102). To power down or sleep for an indefinite period, set SLP_CNT[7:0] = 0x00 first, then set either SLP_CNT[8] or SLP_CNT[9] to 1. Note that the command takes effect when the CS pin goes high. To awaken the device from sleep or power-down mode, use one of the following options to restore normal operation: * * * Rev. H | Page 40 of 44 Assert CS from high to low. Pulse RST low, then high again. Cycle the power. Data Sheet ADIS16480 For example, set SLP_CNT[7:0] = 0x64 (DIN = 0x9064), then set SLP_CNT[8] = 1 (DIN = 0x9101) to start a sleep period of 100 seconds. Table 152. SLP_CNT (Page 3, Base Address = 0x10) Bits [15:10] 9 8 [7:0] Description Not used Power-down mode Normal sleep mode Programmable time bits; 1 sec/LSB; 0x00 = indefinite If the sleep mode and power-down mode bits are both set high, the normal sleep mode (SLP_CNT[8]) bit takes precedence. General-Purpose Registers The USER_SCR_x registers (see Table 153, Table 154, Table 155, and Table 156) provide four 16-bit registers for storing data. Table 153. USER_SCR_1 (Page 2, Base Address = 0x74) Bits [15:0] Description User-defined Table 154. USER_SCR_2 (Page 2, Base Address = 0x76) Bits [15:0] Description User-defined Bits [15:14] [13:8] [7:6] [5:0] Description User-defined Table 156. USER_SCR_4 (Page 2, Base Address = 0x7A) Bits [15:0] Write the current time to each time data register after setting CONFIG[0] = 1 (DIN = 0x8003, DIN = 0x8A01). Note that CONFIG[1] provides a bit for managing daylight savings time. After the CONFIG and TIME_xx_OUT registers are configured, set GLOB_CMD[3] = 1 (DIN = 0x8003, DIN = 0x8208, DIN = 0x8300) to back up these settings in flash, and use a separate 3.3 V source to supply power to the VDDRTC function. Note that access to time data in the TIME_xx_OUT registers requires normal operation (VDD = 3.3 V and full startup), but the timer function only requires that VDDRTC = 3.3 V when the rest of the ADIS16480 is turned off. Table 157. TIME_MS_OUT (Page 0, Base Address = 0x78) Table 155. USER_SCR_3 (Page 2, Base Address = 0x78) Bits [15:0] When using the clock/calendar mode, write the current time to the real-time registers in the following sequence: seconds (TIME_MS_OUT[5:0]), minutes (TIME_ MS_OUT[13:8]), hours (TIME_DH_OUT[5:0]), day (TIME_ DH_OUT[12:8]), month (TIME_YM_OUT[3:0]), and year (TIME_YM_ OUT[14:8]). The updates to the timer do not become active until there is a successful write to the TIME_ YM_OUT[14:8] byte. The real-time clock registers reflect the newly updated values only after the next seconds tick of the clock that follows the write to TIME_YM_OUT[14:8] (year). Writing to TIME_ YM_OUT[14:8] activates all timing values; therefore, always write to this location last when updating the timer, even if the year information does not require updating. Description User-defined Description Not used Minutes, binary data, range = 0 to 59 Not used Seconds, binary data, range = 0 to 59 Table 158. TIME_DH_OUT (Page 0, Base Address = 0x7A) Real-Time Clock Configuration/Data The VDDRTC power supply pin (see Table 6, Pin 23) provides a separate supply for the real-time clock (RTC) function. This enables the RTC to keep track of time, even when the main supply (VDD) is off. Configure the RTC function by selecting one of two modes in CONFIG[0] (see Table 107). The real-time clock data is available in the TIME_MS_OUT register (see Table 157), TIME_DH_OUT register (see Table 158), and TIME_YM_OUT register (see Table 159). When using the elapsed timer mode, the time data registers start at 0x0000 when the device starts up (or resets) and begin keeping time in a manner that is similar to a stopwatch. Bits [15:13] [12:8] [7:6] [5:0] Description Not used Day, binary data, range = 1 to 31 Not used Hours, binary data, range = 0 to 23 Table 159. TIME_YM_OUT (Page 0, Base Address = 0x7C) Bits [15] [14:8] [7:4] [3:0] Rev. H | Page 41 of 44 Description Not used Year, binary data, range = 0 to 99, relative to 2000 A.D. Not used Month, binary data, range = 1 to 12 ADIS16480 Data Sheet APPLICATIONS INFORMATION MOUNTING TIPS 39.600 BSC 19.800 BSC For best performance, follow these simple rules when installing the ADIS16480 into a system: MOUNTING SCREWS M2 x 0.4mm, 4x 0.560 BSC 2x ALIGNMENT HOLES FOR MATING SOCKET 5 BSC 5 BSC NOTES 1. ALL DIMENSIONS IN mm UNITS. 2. THE CONNECTOR FACES DOWN AND ARE NOT VISIBLE FROM THIS VIEW. 10278-129 These three rules help prevent nonuniform force profiles, which can warp the package and introduce bias errors in the sensors. Figure 27 provides an example that leverages washers to set the package off the mounting surface and uses 2.85 mm pass-through holes and backside washers/nuts for attachment. Figure 28 and Figure 29 provide some details for mounting hole and connector alignment pin drill locations. For more information on mounting the ADIS16480, see the AN-1295 Application Note. ADIS16480 OUTLINE 1.642 BSC Figure 28. Suggested PCB Layout Pattern, Connector Down 0.4334 [11.0] 0.019685 [0.5000] (TYP) 0.0240 [0.610] 0.054 [1.37] 0.0394 [1.00] 0.1800 [4.57] WASHERS (OPTIONAL) M2, 4x ADIS16480 SPACERS/WASHERS SUGGESTED, 4x 0.022 DIA (TYP) NONPLATED THROUGH HOLE 2x Figure 29. Suggested Layout and Mechanical Design When Using Samtec P/N CLM-112-02-G-D-A for the Mating Connector PCB MATING CONNECTOR CLM-112-02 PASS-THROUGH HOLES DIAMETER 2.85mm 10278-227 WASHERS (OPTIONAL) M2, 4x NUTS M2 x 0.4mm, 4x 0.0394 [1.00] 0.022 DIA THROUGH HOLE (TYP) NONPLATED THROUGH HOLE Figure 27. Mounting Example Rev. H | Page 42 of 44 10278-130 3. 42.600 2. Eliminate opportunity for translational force (x-axis and y-axis direction, see Figure 6) application on the electrical connector. Isolate mounting force to the four corners, on the part of the package surface that surrounds the mounting holes. Use uniform mounting forces on all four corners. The suggested torque setting is 40 inch-ounces (0.285 N-m). 21.300 BSC 1. PASS-THROUGH HOLE FOR MOUNTING SCREWS DIAMETER OF THE HOLE MUST ACCOMMODATE DIMENSIONAL TOLERANCE BETWEEN THE CONNECTOR AND HOLES. Data Sheet ADIS16480 EVALUATION TOOLS T VDD Breakout Board, ADIS16IMU1/PCB The ADIS16IMU1/PCBZ (sold separately) provides a breakout board function for the ADIS16480, which means that it provides access to the ADIS16480 through larger connectors that support standard 1 mm ribbon cabling. It also provides four mounting holes for attachment of the ADIS16480 to the breakout board. For more information on the ADIS16IMU1/PCBZ, see www.analog.com/ADIS16IMU1/PCBZ. 1 CURRENT PC-Based Evaluation, EVAL-ADIS2 Use the EVAL-ADIS2 and ADIS16IMU1/PCBZ to evaluate the ADIS16480 on a PC-based platform. CH1 2.00V CH4 100mA POWER SUPPLY CONSIDERATIONS 10278-230 4 100ms/DIV Figure 30. Transient Current Demand, Start-up The ADIS16480 has approximately ~24 F of capacitance across the VDD and GND pins. While this capacitor bank provides a large amount of localized filtering, it also presents an opportunity for excessive charging current when the VDD voltage ramps too quickly. Use the following relationship to help determine the appropriate VDD voltage profile, with respect to any current limit functions that can cause the power supply to lose regulation and potentially introduce unsafe conditions for the ADIS16480. T CURRENT i(t ) = C dV dt 4 CH4 100mA 1.00ms 1.00MS/s CH1 T 9.800% 1M POINTS 2.72V 10278-231 In addition to managing the initial voltage ramp, take note of the transient current demand that the ADIS16480 requires during its start-up/self-initialization process. Once VDD reaches 2.85 V, the ADIS16480 begins its start-up process. Figure 30 offers a broad perspective that communicates when to expect the spikes in current, while Figure 31 provides more detail on the current/time behavior during the peak transient condition, which typically occurs approximately 350 ms after VDD reaches 2.85 V. In Figure 31, notice that the peak current approaches 600 mA and the transient condition lasts for approximately 1.75 ms. Figure 31. Transient Current Demand, Peak Demand X-RAY SENSITIVITY Exposure to high dose rate X-rays, such as those in production systems that inspect solder joints in electronic assemblies, may affect accelerometer bias errors. For optimal performance, avoid exposing the ADIS16480 to this type of inspection. Rev. H | Page 43 of 44 ADIS16480 Data Sheet OUTLINE DIMENSIONS 44.254 44.000 43.746 O 2.40 BSC 39.854 39.600 39.346 2.20 BSC 20.10 19.80 19.50 (8 PLACES) DETAIL A 15.00 BSC (4 PLACES) PIN 1 1.942 1.642 1.342 8.25 BSC 42.854 42.600 42.346 1.00 BSC 47.254 47.000 46.746 DETAIL A BOTTOM VIEW 14.254 14.000 13.746 DETAIL B FRONT VIEW 6.50 BSC 3.454 3.200 2.946 5.50 BSC 5.50 BSC 1.00 BSC PITCH 0.30 SQ BSC DETAIL B 12-07-2012-E 2.84 BSC Figure 32. 24-Lead Module with Connector Interface [MODULE] (ML-24-6) Dimensions shown in millimeters ORDERING GUIDE Model 1 ADIS16480BMLZ 1 Temperature Range -40C to +105C Package Description 24-Lead Module with Connector Interface [MODULE] Z = RoHS Compliant Part. (c)2012-2019 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. D10278-0-1/19(H) Rev. H | Page 44 of 44 Package Option ML-24-6