Optimizing Magnetic Sensor Power Operations for Low Data Rates

Similar documents
Improving feedback current accuracy when using H-Bridges for closed loop motor control

Using the High Voltage Physical Layer In the S12ZVM family By: Agustin Diaz

Reference Oscillator Crystal Requirements for MKW40 and MKW30 Device Series

Dead-Time Compensation Method for Vector-Controlled VSI Drives Based on Qorivva Family

AN4269. Diagnostic and protection features in extreme switch family. Document information

Reference Circuit Design for a SAR ADC in SoC

MPXM2051G, 0 to 50 kpa, Gauge Compensated Pressure Sensors

Vybrid ASRC Performance

Automated PMSM Parameter Identification

Freescale Semiconductor Data Sheet: Technical Data

0.7 A 6.8 V Dual H-Bridge Motor Driver

Characteristic Symbol Value (2) Unit R JC 57 C/W

Enhancement Mode phemt

Advanced Doherty Alignment Module (ADAM)

RF Power LDMOS Transistor N--Channel Enhancement--Mode Lateral MOSFET

Two Channel Distributed System Interface (DSI) Physical Interface Device

Enhancement Mode phemt

Advanced Doherty Alignment Module (ADAM)

Reaction Module 2 for Peak&Hold Injection Control on the MPC5746R Using REACM2 Utility Functions

Examples of using etimer on Power Architecture devices

Driver or Pre -driver General Purpose Amplifier

Rework List for the WCT-15W1COILTX Rev.3 Board

RF Power LDMOS Transistor N--Channel Enhancement--Mode Lateral MOSFET

Heterojunction Bipolar Transistor Technology (InGaP HBT) High Efficiency/Linearity Amplifier

Current sense chain accuracy

Freescale Semiconductor

RF Power LDMOS Transistor N--Channel Enhancement--Mode Lateral MOSFET

Enhancement Mode phemt

RF Power LDMOS Transistor N--Channel Enhancement--Mode Lateral MOSFET

RF Power LDMOS Transistor N--Channel Enhancement--Mode Lateral MOSFET

2 W High Gain Power Amplifier for Cellular Infrastructure InGaP GaAs HBT

Enhancement Mode phemt

Characteristic Symbol Value (2) Unit R JC 92.0 C/W

1.2 A 15 V H-Bridge Motor Driver IC

RF Power Field Effect Transistors N--Channel Enhancement--Mode Lateral MOSFETs

NXP Repetitive short-circuit performances

RF Power LDMOS Transistors N--Channel Enhancement--Mode Lateral MOSFETs

1.2 A 15 V H-Bridge Motor Driver IC

Repetitive Short-circuit Performances

RF Power Field Effect Transistors N--Channel Enhancement--Mode Lateral MOSFETs

i.mx 6 Series HDMI Test Method for Eye Pattern and Electrical Characteristics

Heterojunction Bipolar Transistor Technology (InGaP HBT) Broadband High Linearity Amplifier

Advances in Freescale Airfast RFICs Setting New Benchmarks in LDMOS for Macrocells through Small Cells

Heterojunction Bipolar Transistor Technology (InGaP HBT) High Efficiency/Linearity Amplifier

Heterojunction Bipolar Transistor Technology (InGaP HBT) High Efficiency/Linearity Amplifier

RF Power GaN Transistor

RF Power LDMOS Transistor N--Channel Enhancement--Mode Lateral MOSFET

QWKS Ethernet Accessory Card, User's Guide

RF Power Field Effect Transistors N--Channel Enhancement--Mode Lateral MOSFETs

CMOS Micro-Power Comparator plus Voltage Follower

Driver or Pre -driver Amplifier for Doherty Power Amplifiers

RF Power LDMOS Transistors High Ruggedness N--Channel Enhancement--Mode Lateral MOSFETs

Model-Based Design Toolbox

RF Power LDMOS Transistors N--Channel Enhancement--Mode Lateral MOSFETs

RF Power LDMOS Transistors N--Channel Enhancement--Mode Lateral MOSFETs

RF Power LDMOS Transistor N--Channel Enhancement--Mode Lateral MOSFET

RF Power LDMOS Transistor N Channel Enhancement Mode Lateral MOSFET

RF Power Field Effect Transistors N--Channel Enhancement--Mode Lateral MOSFETs

Parallel Configuration of H-Bridges

RF Power LDMOS Transistors N--Channel Enhancement--Mode Lateral MOSFETs

RF Power LDMOS Transistors N--Channel Enhancement--Mode Lateral MOSFETs

800 MHz Test Fixture Design

Heterojunction Bipolar Transistor Technology (InGaP HBT) High Efficiency/Linearity Amplifier

RF LDMOS Wideband Integrated Power Amplifier

Heterojunction Bipolar Transistor Technology (InGaP HBT) High Efficiency/Linearity Amplifier

RF Power LDMOS Transistors High Ruggedness N--Channel Enhancement--Mode Lateral MOSFETs

Capacitive Sensing Interface of QN908x

MPC5643L Hardware Requirements

RF LDMOS Wideband Integrated Power Amplifier

RF Power LDMOS Transistors N Channel Enhancement Mode Lateral MOSFETs

RF LDMOS Wideband Integrated Power Amplifier

Heterojunction Bipolar Transistor Technology (InGaP HBT) Broadband High Linearity Amplifier

How to Use GDU Module in MC9S08SU16

RF Power LDMOS Transistor N--Channel Enhancement--Mode Lateral MOSFET

Using a Linear Transistor Model for RF Amplifier Design

ARCHIVE INFORMATION. Cellular Band RF Linear LDMOS Amplifier MHL9318. Freescale Semiconductor. Technical Data MHL9318. Rev.

Software ISP Application Note

ARCHIVE INFORMATION. Cellular Band RF Linear LDMOS Amplifier MHL9838. Freescale Semiconductor. Technical Data MHL9838. Rev.

In-Depth Understanding of Water Tolerance Feature in Touch-Sensing Software Library

Single Phase Two-Channel Interleaved PFC Operating in CrM Using the MC56F82xxx Family of Digital Signal Controllers

FlexTimer and ADC Synchronization

MPC5606E: Design for Performance and Electromagnetic Compatibility

ARCHIVE INFORMATION. PCS Band RF Linear LDMOS Amplifier MHL Freescale Semiconductor. Technical Data MHL Rev. 4, 1/2005

ARCHIVE INFORMATION. Cellular Band RF Linear LDMOS Amplifier MHL9236MN. Freescale Semiconductor. Technical Data

TSYS02D Digital Temperature Sensor

The High-Performance Data Acquisition Circuit

Built-in low voltage reset and thermal shutdown circuit Compact TSSOP-24 package

LB1939T 2 Channel H Bridge Constant Voltage/Constant Current Driver

0.7 A dual H-Bridge motor driver with 3.0 V/5.0 V compatible logic I/O

IST8305. Preliminary Dat

AND9681/D. E-Cigarette Reference Software Guidance for LC709301F. 3.5 W Solution APPLICATION NOTE

i.mxrt1050 Migration Guide Migrating from silicon Rev A0 to Rev A1

RF Power GaN Transistor

LB8503V. Monolithic Digital IC DC Fan Motor Speed Control IC. Ordering number : ENA

RF Power LDMOS Transistor N--Channel Enhancement--Mode Lateral MOSFET

RF Power LDMOS Transistors High Ruggedness N--Channel Enhancement--Mode Lateral MOSFETs

Pixel. Pixel 3. The LUMENOLOGY Company Texas Advanced Optoelectronic Solutions Inc. 800 Jupiter Road, Suite 205 Plano, TX (972)

DUAL TIMING CIRCUIT SEMICONDUCTOR TECHNICAL DATA PIN CONNECTIONS ORDERING INFORMATION. Figure Second Solid State Time Delay Relay Circuit

PF3000 layout guidelines

Is Now Part of To learn more about ON Semiconductor, please visit our website at

Transcription:

Freescale Semiconductor Document Number: AN4984 Application Note Rev 0, 10/2014 Optimizing Magnetic Sensor Power Operations for Low Data Rates 1 Introduction The standard mode of operation of a magnetic sensor is not conducive to low data rate applications (<< 1 Hz). These applications require a more efficient power budget. Power cycling the magnetometer achieves the lowest possible current consumption, thus extending the battery life for Internet of Things (IoT) applications. This application note describes two measurement methods associated with reducing current consumption in low data rate applications for two Freescale magnetometers (FXOS8700 6- Axis E-Compass and MAG3110 Digital Magnetometer): the one-shot measurement method the power cycling measurement method Contents 1 Introduction...1 2 Recommended Implementations... 2 3 One-Shot Measurement Method......2 4 Power Cycling Measurement Method...4 5 Register Level Configuration... 8 6 Comparitive Analysis... 9 7 References...... 13 Based on analysis of current consumption testing, the following recommendations are presented. NOTE: Previous documentation regarding the two devices described in this document refer to similar measurement methods using different names. For clarity, in this document, single-shot measurement and one-shot measurement are referred to as one-shot measurement. 2014 Freescale Semiconductor, Inc.

Recommended Implementations 2 Recommended Implementations Freescale recommends the following to minimize power consumption: For applications with data rates greater than 0.5 Hz, use one-shot measurement method for the sensor. For applications with data rates less than 0.5 Hz, use power cycling measurement method for the sensor. Operating the sensor using this method can achieve average I DD values as low as 500 na (for data rates near 0.1 Hz). 3 One-Shot Measurement Method 3.1 General Description of One-Shot Measurement Method The one-shot method allows the sensor to take a single measurement with a specified oversampling ratio (OSR) and then, as soon as the measurement is complete, the sensor is transitioned to standby mode. The operational flow for one-shot method is shown in Figure 1. No further measurement will occur until the sensor is reinitialized for an additional measurement. For low data rate use cases, the average current using this method is significantly lower than the sensor s standard active mode. However, the 2 µa standby current for the duration between measurements may be significant. Start Wait ((1/ODR) - measurement time) seconds Sensor Configuration Set operation mode and define the OSR setting by configuring the control registers I 2 C commands: Mode:standby(), OSR specified Sensor Active Take a single measurement Sensor Standby Return to standby mode Send back captured sample to Figure 1. One-shot method operational flow 2 Freescale Semiconductor, Inc.

3.2 One-Shot Method Application Circuit MAG3110 One-Shot Measurement Method Figure 2 shows the electrical connections for one-shot method using the Freescale MAG3110 magnetometer. Current consumption is indirectly measured from the voltage across R1. MAG3110 1 Cap-A 10 = = 3.3 V 1 µf 100 nf 100 nf 100 nf 2 3 4 5 NC Cap-R SCL SDA 9 8 7 6 100 nf 4.7 K 4.7 K SCL SDA R1 100Ω (Top view) Figure 2. One-shot method application circuit MAG3110 Figure 3 shows current consumption pattern of the MAG3110 as it transitions from the standby phase, through a 16x OSR measurement phase and then back to the standby phase. Figure 3. Current (as voltage variations across R1) vs. time for one-shot method MAG3110 Freescale Semiconductor, Inc. 3

Power Cycling Measurement Method 3.3 One-Shot Method Application Circuit FXOS8700 Figure 4 shows the electrical connections for one-shot method using Freescale FXOS8700 magnetometer. Current consumption is indirectly measured from the voltage across R1. RST (Connect if unused) 0.1 μf BYP 0.1 μf Reserved SCL/SCLK 1 2 3 4 RST N/C 16 15 14 FXOS8700CQ 13 12 11 10 0.1 μf 4.7 μf Reserved SA1/CS_B = = 3.3 V 5 9 INT2 INT2 SCL/SCLK R1 100 Ω SDA/MOSI 6 SA0/MISO 7 8 Crst 0.1 μf Note: Pullup resistors on and INT2 are not required if these pins are configured for push/pull (default) operation. SDA/MOSI SA0/MISO Note: Pullup resistors on SCL/SCLK and SDA/MOSI are not required if the device is operated in SPI Interface mode. Figure 4. One-Shot method application circuit FXOS8700 4 Power Cycling Measurement Method 4.1 General Description of Power Cycling Measurement Method The power cycling method is an extension of the one-shot method. The sensor is immediately powered off after the measurement and powered on just before the next measurement. This mitigates the standby mode current consumption during the Sensor OFF phase. The operational flow for power cycling the sensor and taking measurements is shown in Figure 5. The sensor is completely powered off during the Sensor OFF phase of the measurement cycle, resulting in zero standby current during this phase. 4 Freescale Semiconductor, Inc.

Power Cycling Measurement Method Start Wait ((1/ODR - measurement time) seconds then turn GPIO pin ON to activate sensor Sensor Configuration Set operation mode and define the OSR setting by configuring the control register I 2 C commands: Mode:standby(), OSR specified Sensor Active Take a single measurement Sensor Standby Return to standby mode Send back captured sample to Sensor OFF Turn GPIO pin OFF to deactivate sensor Figure 5. Power cycling method operational flow 4.2 Power Cycling Method Application Circuit MAG3110 Figure 6 shows the electrical connections for power cycle method using the Freescale MAG3110 magnetometer. Current consumption is indirectly measured from the voltage across R1. 100 nf MAG3110 Cap-A 10 9 connection removed 1 µf 100 nf connection and capacitors removed 100 nf R1 100 Ω 3 4 5 NC Cap-R SCL SDA (Top view) 8 7 6 100 nf 4.7 K 4.7 K SCL SDA GPIO pin Figure 6. Power cycling method application circuit MAG3110 Freescale Semiconductor, Inc. 5

Power Cycling Measurement Method The capacitors of the MAG3110 supply rail (see Figure 2) in the sensor undergoes a periodic charge and discharge cycle when the sensor is powered on or off. In the power cycling method, to reduce the charge/discharge time period and the associated current consumption, the bypass capacitors in the V DD line are removed and both V DD and V DDIO are tied together such that they share a common 0.1 µf capacitor (see Figure 6). The 0.1 µf capacitor minimizes the average current while still mainitaining an acceptable level of power supply high-frequency filtering. Figure 8 shows that noise levels are well maintained, based on distributions of 10,000 data samples obtained under standard and power cycling measurement methods. Figure 7. Current vs. time for power cycling method MAG3110 6 Freescale Semiconductor, Inc.

Power Cycling Measurement Method Figure 8. Data distribution for MAG3110 4.3 Power Cycling Method Application Circuit FXOS8700 Figure 9 shows the electrical connections for power cycle method using the Freescale FXOS8700 magnetometer. Current consumption is indirectly measured from the voltage across R1. Freescale Semiconductor, Inc. 7

Register Level Configuration connection and capacitors removed 0.1 µf 4.7 µf connection removed RST (Connect to if unused) RST N/C 0.1 μf BYP 0.1 μf Reserved SCL/SCLK 1 2 3 4 16 15 14 FXOS8700CQ 13 12 11 10 Reserved SA1/CS_B 5 9 INT2 INT2 GPIO pin SCL/SCLK R1 100 Ω SDA/MOSI 6 SA0/MISO 7 8 Crst 0.1 μf Note: Pullup resistors on and INT2 are not required if these pins are configured for push/pull (default) operation. SDA/MOSI Note: Pullup resistors on SCL/SCLK and SDA/MOSI are not required if the device is operated in SPI Interface mode. SA0/MISO Figure 9. Power cycling method application circuit FXOS8700 In one-shot measurement method, the capacitors of the FXOS8700 supply rail (see Figure 9) in the sensor undergoes a periodic charge and discharge cycle when the sensor is powered on or off. In the power cycling method, to reduce the charge/ discharge time period and the associated current consumption, the bypass capacitors in the V DD line are removed and both V DD and V DDIO are tied together such that they share a common 0.1 µf capacitor (see Figure 9). The 0.1 µf capacitor minimizes the average current while still mainitaining an acceptable level of power supply high-frequency filtering. 5 Register Level Configuration Except for the circuit setup, the configuration of the registers is identical for both modes. 5.1 MAG3110 Register Configuration To configure the MAG3110 to operate in one-shot measurement mode, configure the control register CTRL_REG1. Sample setup: One-shot measurement with OSR = 16 1. Initiate a triggered measurement with OSR = 16 by writing 0xC2 to CTRL_REG1. Bit AC = 0 enables the standby mode of operation. 2. The sensor acquires the measurement and returns back to standby mode. Reinitiate the measurement by going repeating step 1 after a delay of 1/ODR ms. 8 Freescale Semiconductor, Inc.

Comparitive Analysis 5.2 FXOS8700 Registers To configure the FXOS8700 to operate in one-shot measurement mode, configure the control register CTRL_REG1 (0x2A) and the magnetometer control register M_CTRL_REG1 (0x5B) to set the OSR value. Note: the accelerometer in FXOS8700 is not used so its corresponding control register is not configured and the sensor is disabled. Sample setup: One-shot measurement with OSR value of 2 1. Configure the sensor by writing 0x00 to CTRL_REG1 (0x2A). Bit AC = 0 enables the standby mode of operation. 2. Initiate the triggered measurement with OSR id set to 0 in M_CTRL_REG1 (set ODR in CTRL_REG1 such that OSR can take a value = 2. The set of possible OSR values in M_CTRL_REG1 depends on the ODR setting in CTRL_REG1). The value of ODR is of no importance as the device is not in active mode. Write 0x61 to the M_CTRL_REG1. The m_ost bit is set for one-shot measurement. The sensor acquires the measurement and returns back to standby mode. Reinitiate the measurement by going back to step 2 after a delay of 1/ODR ms. 6 Comparitive Analysis 6.1 ADC Settling Time The first ODR sample will have settling errors due to delays in the analog front end s anti-aliasing filter. The amount of the settling error is inversely proportional to the OSR setting. However the settling error occurs only in the first sample, as long as the sensor is not power cycled. Therefore, in the power cycling mode, the first sample in each measurement cycle should be discarded. This doubles the measurement time of the power cycling method, as compared to one-shot method. One-shot method Sensor Standby Active measure sample Standby... Standby Stop Recover Run Stop Recover Run Stop sensor init. sensor read... Stop Power cycling method Sensor Off Power On Standby Active measure sample 1 Standby Active measure sample 2 Standby Off... Off Stop Recover Run Stop Recover Run Stop Recover Run Stop Recover Run Stop... Stop sensor sensor sensor init. init. read Figure 10. CPU Timing diagram Freescale Semiconductor, Inc. 9

Comparitive Analysis 6.2 Current Consumption Characteristics Comparitive Analysis Figure 11, Figure 12 and Table 1 show the comparative analysis of the one-shot method and the power cycling method for both sensors. For FXOS8700, at ODRs less than 0.5 Hz, average I DD current is less when using the power cycling method, compared to using the one-shot method. For MAG3110, at ODRs less than 0.15 Hz, average I DD current is less when using the power cycling method, compared to using the one-shot method. The crossover point for the FXOS8700 is at higher ODR than the MAG3110 due to its oversampling ratio of 2, compared the the MAG3110 oversampling ratio of 16. FXOS8700 MAG3110 Samples from one-shot measurement method Samples from power cycle measurement method (1 sample) Samples from power cycle measurement method (2 samples) Figure 11. ADC settling time 10 Freescale Semiconductor, Inc.

ODR (Hz) Table 1. Average current consumption characteristics One-shot measurement mode MAG3110 Average current consumption (µa) Power cycling measurement mode One-shot measurement mode FXOS8700 Comparitive Analysis Power cycling measurement mode 1 12.17 23.4 3.21 4.43 0.5 7.1 11.7 2.5 2.215 0.1 2.84 2.34 1.94 0.443 0.01 1.90 0.234 1.81 0.0443 Figure 12. Current consumption per cycle (one-shot method vs. power cycling method) 6.3 Operating Temperature and Battery Drain Studies The operating range of MAG3110/FXOS8700 is 40 to +85 C. The standby current varies in this range as shown in Figure 13. At 60 C, the standby current drain is approximately 3 µa. The IDD/ measurement cycle increases from the nominal operating current drain of 2 µa @ 20 C as shown in Figure 14. For high temperature use cases, the power cycling method is preferred over the one-shot method. The power cycling method is the recommended low power solution when the sensor is operated in a wide temperature range. Freescale Semiconductor, Inc. 11

Comparitive Analysis 3.0 2.8 Temperature vs. Standby Current MAG3110 FXOS8700 2.6 Standby Current (µa) 2.4 2.2 2.0 1.8 1.6-20 0 20 40 60 Temperature (degrees C) Figure 13. Standby current variation vs. temperature 3.5 3 One-shot method Power cycling method 2.5 IDD/ cycle (μa) 2 1.5 1 0.5 0 20 C 60 C Temperature Figure 14. Current consumption per cycle vs. temperature for both modes Figure 15 shows the system ( + Sensor) level power consumption for both implementation methods. Note that the must communicate with the sensor on an interrupt (data ready) basis to minimize power consumption. The host processor can operate in low power modes during the sensor measurement time and in RUN mode while servicing the interrupt and intializing the sensor as shown in figure. The data values shown in the figure correspond to Freescale's HCS08 low power solution. 12 Freescale Semiconductor, Inc.

References Figure 15. System Level Current Consumption 7 References Freescale FXOS8700CQ 6-Axis Sensor with Integrated Linear Accelerometer and Magnetometer (data sheet), Document Number FXOS8700. Freescale MAG3110 Three-Axis, Digital Magnetometer (data sheet), Document Number MAG3110. Freescale Semiconductor, Inc. 13

How to Reach Us: Home Page: freescale.com Web Support: freescale.com/support Information in this document is provided solely to enable system and software implementers to use Freescale products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits based on the information in this document. Freescale reserves the right to make changes without further notice to any products herein. Freescale makes no warranty, representation, or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. Typical parameters that may be provided in Freescale data sheets and/or specifications can and do vary in different applications, and actual performance may vary over time. All operating parameters, including typicals, must be validated for each customer application by customer's technical experts. Freescale does not convey any license under its patent rights nor the rights of others. Freescale sells products pursuant to standard terms and conditions of sale, which can be found at the following address: freescale.com/salestermsandconditions. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. All other product or service names are the property of their respective owners. 2014 Freescale Semiconductor, Inc. Document Number AN4984 Revision 0, 10/2014