16 Gauss 3-axis Magnetic Sensor, With I2C Interface MMC3316xMT Signal Path X Y-axis Sensor Signal Path Y Z-axis Sensor Signal Path Z Bridge Regulator Bandgap Reference ADC Reference Generator Timing Generation I2C Interface Magnetize Controller Fuses, Control Logic, Factory Interface FUNCTIONAL BLOCK DIAGRAM Contact Memsic for access to advanced calibration and tilt-compensation algorithms. APPLICATIONS : Electronic Compass GPS Navigation Assist Position Sensing DESCRIPTION: The MMC3316xMT is a complete 3-axis magnetic sensor with on-chip signal processing and integrated 2 I C bus. The device can be connected directly to a microprocessor, eliminating the need for A/D converters or timing resources. It can measure magnetic fields within the full scale range of 16 Gauss, with 2mG/LSB resolution and 2mG rms noise, enabling heading accuracies of <1 degree in electronic compass applications. Information furnished by MEMSIC is believed to be accurate and reliable. However, no responsibility is assumed by MEMSIC for its use, or for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of MEMSIC. MEMSIC MMC3316xMT Rev.B X-axis Sensor Measured Data Fully integrated 3-axis magnetic sensor and electronic circuits requiring fewer external components Superior Dynamic Range and Accuracy: 16G FSR with 14bit operation 2 mG/LSB Resolution 2 mG RMS noise Enables heading accuracy <1 Small, Low profile package 2.0x2.0x1.0mm SET/RESET function Allows for elimination of error due to Null Field output change over temperature Clears the sensors of residual magnetization resulting from strong external fields Low power consumption (100A @ 7Hz) 1A (max) power down function I2C Slave, FAST (400 KHz) mode 1.62V~3.6V wide power supply operation supported, 1.8V I/O compatibility. RoHS compliant Bridge bias FEATURES An integrated SET/RESET function provides for the elimination of error due to Null Field output change with temperature. In addition it clears the sensors of any residual magnetic polarization resulting from exposure to strong external magnets. The SET/RESET function can be performed for each measurement or periodically as the specific application requires. The MMC3316xMT is packaged in a small low profile LGA package (2.0 x 2.0 x 1.0 mm,) and with an operating temperature rang from -40C to +85C. 2 The MMC3316xMT provides an I C digital output with 400 KHz, fast mode operation. MEMSIC, Inc. One Technology Drive, Suite 325, Andover, MA01810, USA Tel: +1 978 738 0900 Fax: +1 978 738 0196 www.memsic.com Page 1 of 15 10/8/2012 SPECIFICATIONS: (Measurements @ 25C, unless otherwise noted; VDA = VDD= 1.8V unless otherwise specified) Parameter Field Range (Each Axis) Supply Voltage Conditions Sensitivity Change Over Temperature Null Field Output VDA VDD (I C interface) 1.62 1 1.62 1 1.8 1.8 7 measurements/second 60 0.01 -40 -55 100 16 Gauss 1.0 3 sweeps across 16 Gauss 3 sweeps across 16 Gauss 0.5 0.5 1.0 2.0 2.0 14 0.5 100 16 Gauss 16 Gauss -40~85C 16 Gauss 16 Gauss Null Field Output Change Over 4 Temperature Disturbing Field Maximum Exposed Field Typ Max 16 Total applied field 2 Supply Voltage rising time 2 Supply Current Power Down Current Operating Temperature Storage Temperature Linearity Error (Best fit straight line) Hysteresis Repeatability Error Alignment Error Transverse Sensitivity Total RMS Noise Output resolution 3 Heading accuracy Bandwidth Sensitivity Min -10 460 -0.2 8090 512 1100 8192 Gauss 3.6 3.6 5.0 160 1.0 85 125 3.0 5.0 1.0 +10 564 +0.2 8294 0.4 Delta from 25C 16 Gauss Units V V mS A A C C %FS %FS %FS degrees % mGauss bits degrees Hz % counts/Gauss ppm/C Gauss counts mGauss/C 25 10000 Gauss Gauss Note: 1. 1.62V is the minimum operation voltage, or VDA / VDD should not be lower than 1.62V. 2. Power consumption is proportional to how many measurements performed per second, for example, at one measurement per second, the power consumption will be 100A /7=14A . 3. MEMSIC product is with low noise and enables users to utilize heading accuracy to be 0.5 degree typical and 1.0degree maximum when using MEMSICs proprietary software or algorithm 4. The error can be eliminated by using SET and RESET to determine the true Null Field output for each measurement. MEMSIC MMC3316xMT Rev.B Page 2 of 15 10/8/2012 2 I C INTERFACE I/O CHARACTERISTICS (VDD=1.8V) Parameter Symbol Test Condition Min. Typ. Max. Unit Logic Input Low Level VIL -0.5 0.3* VDD V Logic Input High Level VIH 0.7*VDD VDD V Hysteresis of Schmitt input Vhys 0.2 Logic Output Low Level VOL Input Leakage Current Ii SCL Clock Frequency fSCL START Hold Time tHD;STA 0.6 S START Setup Time tSU;STA 0.6 S LOW period of SCL tLOW 1.3 S HIGH period of SCL tHIGH 0.6 S Data Hold Time tHD;DAT 0 Data Setup Time tSU;DAT 0.1 Rise Time tr From VIL to VIH 0.3 S Fall Time tf From VIH to VIL 0.3 S Bus Free Time Between STOP and START STOP Setup Time tBUF 1.3 S tSU;STO 0.6 S 0.1VDD5secends). Fourteenth cycle: MSB of Y channel. Fifteenth cycle: LSB of Z channel. Note **: The RESET action can be skipped for most of the applications Sixteenth cycle: MSB of Z channel. Master ends communications by NOT sending an Acknowledge and also follows with a STOP command. USING SET/RESET TO CALIBRATE NULL FIELD OUTPUT EXAMPLE OF SET/RESET First cycle: A START condition is established by the Master Device followed by a call to the slave address [0110xxx] with the eighth bit held low to indicate a WRITE request. Note: [xxx] is determined by factory programming and a total of 8 different addresses are available. Second cycle: After an acknowledge signal is received by the master device (The MEMSIC device pulls the th SDA line low during the 9 SCL pulse), the master device sends [00000111] as the target address (Internal Control Register 0). The MEMSIC device th should acknowledge at the end (9 SCL pulse). The integrated SET and RESET functions of the MMC3316xMT enables the user to remove error associated with Offset change as a function of temperature, thereby enabling more precise heading measurements over a wider temperature than competitive technologies. The SET and RESET functions effectively flip the magnetic sensing polarity of the sensing elements of the device. The following procedure and description show how these functions can be used to obtain the most accurate magnetic field information. H is the applied magnetic field and Offset is the Null Field output Third cycle: The Master device writes to the MEMSIC devices Internal Control Register the code [00000001] to prepare for SET action.* 1) Perform a SET. This sets the internal magnetization of the sensing resistors in the direction of the SET field. A minimum of 50ms wait should be provided to allow the MEMSIC device to finish its preparation for the SET action.* 2) Perform a MEASUREMENT. This measurement will contain not only the sensors response to the external magnetic field, H, but also the Offset; in other words, MEMSIC MMC3316xMT Rev.B Page 11 of 15 10/8/2012 Output1 = +H + Offset 3) 4) Perform a RESET. This resets the internal magnetization of the sensing resistors in the direction of the RESET field, which is opposite to o the SET field (180 opposed). Perform a MEASUREMENT. This measurement will contain both the sensors response to the external field and also the Offset. In other words, Output2 = -H + Offset 5) Finally, calculate H by subtracting the two measurements and dividing by 2, MEMSIC MMC3316xMT Rev.B This procedure effectively eliminates the Offset from the measurement and therefore any changes in the Offset over temperature. Time between the Set/Measure and RESET/Measure operation needs to be kept as short as possible to minimize error induced by the applied magnetic field changing between the two operations. Note: To calculate and store the offset; add the two measurements and divide by 2. This calculated offset value can be subtracted from subsequent measurements to obtain H directly from each measurement. Page 12 of 15 10/8/2012 OPERATING TIMING VDD I2C T M top tFM tM M Magnetize T Take measurement R Read data R tTM T R tTM T M R tTM T tM R tTM Repeat T & R Wait the device ready for next operation Operating Timing Diagram Parameter Symbol Min. Typ. Max. Unit Time to operate device after Vdd valid top 5.0 mS Wait time from power on to SET/RESET command tFM 100 mS Time to finish SET tM1 50 mS Time to finish RESET tM2 50 mS Time to measure magnetic field tTM 10 mS STORAGE CONDITIONS Temperature: Humidity: Period: <30 <60%RH 1 year (after delivery) Moisture Sensitivity Level: 3 Bake Prior to Reflow: storage period more than 1 year, or humidity indicator card reads >60% at 235 Bake Procedure: refer to J-STD-033 Bake to Soldering: <1 week under 30/60%RH condition MEMSIC MMC3316xMT Rev.B Page 13 of 15 10/8/2012 SOLDERING RECOMMENDATIONS MEMSIC magnetic sensor is capable of withstanding an MSL3 / 260 solder reflow. Following is the reflow profile: 300 260Max 250 pe Slo Max Gradient 2.8/s 200 2 195 180 Max /s Package Surface Temp() 260Peak Temperature For 10s 180 150 100 100 50 50 0 0 50 100 150 200 250 300 350 400 450 Time(s) Note: Reflow is limited by 2 times The second reflow cycle should be applied after device has cooled down to 25C (room temperature) This is the reflow profile for Pb free process The peak temperature on the sensor surface should be limited under 260C for 10 seconds. Solder pastes reflow recommendation can be followed to get the best SMT quality. If the part is mounted manually, please ensure the temperature could not exceed 260C for 10 seconds. MEMSIC MMC3316xMT Rev.B Page 14 of 15 10/8/2012 PACKAGE DRAWING (LGA package) (BOTTOM VIEW) 10X0.260.05 8 7 6 502 XXX 1 2 3 SDA VSA VDD VDA SCL VPP CAP TEST 4 5 C- 2.00.1 10 9 1.520.05 10X0.30.05 (TOP VIEW) Pin 1 marking C+ 3X0.52 1.560.05 10.05 (SIDE VIEW) 2.00.1 LAND PATTERN VSA SDA VPP TEST VDD SCL C+ C- CAP 2.00.1 VDA 1.520.05 10X0.350.05 10X0.30.05 3X0.52 1.560.05 2.00.1 MEMSIC MMC3316xMT Rev.B Page 15 of 15 10/8/2012