MLX90291 SMD Programmable Linear Hall Sensor IC Featuring PWM Output Features and Benefits Application Examples Programmable Hall effect sensor 12-bit 125Hz PWM output signal proportional to the magnetic flux density Switch function Measurement range from 15mT to 400mT Low noise output signal (PWM jitter) Programmable through the connector (supply, ground & output) 16 bit customer ID number (48 bit MLX ID for traceability purposes) SOIC8 package RoHS compliant Lead free component, suitable for lead free soldering profile 260C Rotary position sensor Linear position sensor Contactless switch Ordering Information Part No. Temperature Code MLX90291BC K (-40C to 125C) Package Code DC (SOIC8) Option code - 1 Functional Diagram TEST4 3.3V ana 3.3V core 3.3V dig Reverse Polarity Protection Voltage Regulator fc = 1MHz digital clock Oscillator Clock 1 MHz Generator VDD VSS fs = 1MHz 4Phase Switch Box I = 4 x 0.35mA S = 80mV/T Vh= 4mV @50mT fs = 1MHz Input data rate DIDO Program. Attenuation by 1 or 4.5 OUTPUT Integrating P2P ADC f = 15kHz data conversion rate PWM Logic OUT G=4 G = 15 ... 190 Control lines Hall Bias TEST1 TC1ST[6:0] TC2ND[5:0] RG[2:0] ATTN2P5 Test Controller DIGITAL + EEPROM TEST2 TEST3 TEST5 Figure 1: Block diagram 2 General Description The MLX90291 is a monolithic programmable linear hall sensor IC, which can provide a PWM output signal proportional to the externally applied magnetic flux density or act as a switch with a programmable threshold level. The transfer characteristic of the MLX90291 is fully programmable (offset, gain, clamping levels, ...). 3901090291 Rev 001 Page 1 of 17 Data Sheet April 2011 MLX90291 SMD Programmable Linear Hall Sensor IC Featuring PWM Output 3 Table of Contents 1 Functional Diagram................................................................................................................................................................................ 1 2 General Description............................................................................................................................................................................... 1 3 Table of Contents .................................................................................................................................................................................. 2 4 History ................................................................................................................................................................................................... 2 5 Glossary of Terms ................................................................................................................................................................................. 3 6 Absolute Maximum Ratings ................................................................................................................................................................... 3 7 Pin Definitions and Descriptions ............................................................................................................................................................ 3 8 General Electrical Specifications............................................................................................................................................................ 4 9 Magnetic specification ........................................................................................................................................................................... 4 10 Timing specification ............................................................................................................................................................................. 5 11 PWM output specification .................................................................................................................................................................... 6 12 Fault modes......................................................................................................................................................................................... 6 13 Programmable Items ........................................................................................................................................................................... 7 13.1 Parameter table............................................................................................................................................................................ 7 13.2 Output mode configuration (OUTMODE) ...................................................................................................................................... 7 13.3 Sensitivity programming (ROUGHGAIN, FINEGAIN).................................................................................................................... 7 13.4 Offset / output quiescent voltage programming (XA, YA) .............................................................................................................. 8 13.5 Clamping level programming (CLAMP)......................................................................................................................................... 9 13.6 Bandwidth and filter programming (FILTCODE)............................................................................................................................ 9 13.7 Current limitation (OUTSLOPE).................................................................................................................................................... 9 13.8 PWM Mode duty cycle definition (DCDEF) ................................................................................................................................. 10 13.9 Sensitivity and temperature drift programming (TC1ST, TC2ND)................................................................................................ 11 13.10 Offset temperature drift programming (OFFDRIFT) .................................................................................................................. 11 13.11 Functional mode (SWITCH)...................................................................................................................................................... 11 13.12 Polarity (PLATEPOL)................................................................................................................................................................ 11 13.13 Attenuator (ATTN2P5).............................................................................................................................................................. 12 13.14 Customer ID (CSTID) ............................................................................................................................................................... 12 14 Recommended Application Diagrams ................................................................................................................................................ 13 14.1 Resistor and Capacitor Values ................................................................................................................................................... 13 14.2 Pull down resistor for diagnostic low ........................................................................................................................................... 13 14.3 Pull up resistor for diagnostic high .............................................................................................................................................. 13 15 Standard information regarding manufacturability of Melexis products with different soldering processes .......................................... 14 16 ESD Precautions ............................................................................................................................................................................... 14 17 Package Information.......................................................................................................................................................................... 15 17.1 SOIC8 Package Dimensions ...................................................................................................................................................... 15 17.2 SOIC8 Pin Out and Marking ....................................................................................................................................................... 15 17.3 SOIC8 Hall plate positioning....................................................................................................................................................... 16 18 Disclaimer.......................................................................................................................................................................................... 17 4 History Rev 001 3901090291 Rev 001 Initial version (April 2011) Page 2 of 17 Data Sheet April 2011 MLX90291 SMD Programmable Linear Hall Sensor IC Featuring PWM Output 5 Glossary of Terms Tesla TC NC ADC PTC POR INL DNL PWM Units for the magnetic flux density, 1 mT = 10 Gauss Temperature Coefficient in ppm/C Not Connected Analog-to-Digital Converter Programming Through Connector Power on Reset Integral Non Linearity Differential Non Linearity Pulse Width Modulation 6 Absolute Maximum Ratings Parameter Positive Supply Voltage (over-voltage) Reverse Supply Voltage Protection Symbol Vdd Positive Output Voltage Output Current Reverse Output Voltage(1) Reverse Output Current(1) Operating Ambient Temperature Range Storage Temperature Range Magnetic Flux Density Iout TA TS Value +20 -10 -14 (200s max, TA = +25C) +10 +14 (200s max, TA = +25C) Units V V 20 -5 -50 -40 to +150 -55 to +150 10 mA V mA C C T V Table 1: Absolute maximum ratings (1) Realized through an on-chip resistor along the output line Exceeding the absolute maximum ratings may cause permanent damage. Exposure to absolute maximum rated conditions for extended periods may affect device reliability. 7 Pin Definitions and Descriptions Pin 1 2 3 4 5 6 7 8 Name VDD VSS TEST4 OUT TEST5 TEST3 TEST2 TEST1 Type Supply Ground N/A Digital N/A N/A N/A N/A Function Supply Voltage Ground Voltage MLX Test and factory calibration Sensor output signal MLX Test and factory calibration MLX Test and factory calibration MLX Test and factory calibration MLX Test and factory calibration Table 2: Pin definition and description - S08 package It is recommended to connect the MLX test pins to the Ground for optimal EMC results. See section 14 for a recommended application diagram 3901090291 Rev 001 Page 3 of 17 Data Sheet April 2011 MLX90291 SMD Programmable Linear Hall Sensor IC Featuring PWM Output 8 General Electrical Specifications Operating Parameters TA = -40oC to 125oC, Vdd = 5.0 V, using recommended application diagram, unless otherwise specified. Parameter Nominal Supply Voltage Supply Current Peak Supply Current Reset Voltage (POR) POR Threshold Hysteresis Operating Threshold (rising) Under-Voltage Threshold (falling) Symbol VDD IDD IDDpeak Test Conditions Min 4.5 During power-up and PWM switching VPOR VPORHYST VOPERATING VUNDER Immediate diagnostic low without reset in case of recovery Operating / Under-Voltage Threshold Hysteresis Voltage Programming VHYST VPROG Overvoltage detection Load resistance range (Pull-up/down) Load Capacitor range Output Saturation Voltage Push Pull Mode VOVER RL Typ 5 8 2.2 0.3 3.3 2.7 Max 5.5 10 Units V mA 15 mA 2.7 V V V 3.8 3 V 0.1 V Not Locked Part Output = High Impedance 6.7 7.4 Output = High Impedance 7.5(1) 8.5 V 2 4.7 k 10 nF Pull-up OUT to 5V 7.7(1) V CL VSATPPHI Between OUT and GND VSATPPLO IOUT = - 2 mA 0.3 V Output Saturation Voltage Open Drain Mode VSATOD IOUT = - 2 mA Output = Low (Driver ON) 0.3 V Output Leakage Current Open Drain Mode ILEAKOD 10 A IOUTSCGND VOUT = + 5 V Output = High (Driver OFF) Current limitation fully ON + 15 + 28 mA IOUTSCVDD Current limitation fully ON - 28 - 15 mA Output Short Circuit Current IOUT = + 2mA VDD - 0.3 V 2 Table 3: General electrical parameters (1) No overlap possible at the same temperature 9 Magnetic specification Operating Parameters TA = -40oC to 125oC, Vdd = 5.0 V, unless otherwise specified. Parameter Magnetic Flux Density range Symbol B Test Conditions Min 15 Typ 40 Max 400 Units mT Table 4: Magnetic specification 3901090291 Rev 001 Page 4 of 17 Data Sheet April 2011 MLX90291 SMD Programmable Linear Hall Sensor IC Featuring PWM Output 10 Timing specification Operating Parameters TA = -40oC to 125oC, Vdd = 5.0 V, unless otherwise specified Parameter Power Up Sequence Symbol tON1 tON2 tON3 VDDSR tEEPROM Power Supply Slew rate(external) EEPROM Check Main Oscillator Frequency Tick Time PWM Cycle Duration PWM Output Frequency Sampling Frequency Conversion Rate @ FOSC = 1024 kHz FOSC tTICK CyclePWM FPWM FSAMPLE FCONV Low pass filtering (First order filter) @ FOSC = 1024 kHz @ -3 db Output Slope current generator FFILTER ISLOPE Test Conditions 0 < VDD < VPOR VPOR < VDD < VOPERATING VDD > VOPERATING & EEPROM CHECK OK Min Typ F(VDDSR) F(VDDSR) 1 5 Units ms ms Cycle V/s 0.5 1 ms 1024 0.98 8 125 Fosc 1127 kHz s ms Hz 0.0005 Max EEPROM dump + CRC check Tolerance 10% 921 213 tTICK FOSC/213 Analog sampling Measurement: 40 analog samples Conversion (ADC): 25 s 70 s FILTCODE = 9 FILTCODE = 8 FILTCODE = 7 FILTCODE = 6 FILTCODE = 5 FILTCODE = 4 FILTCODE = 3 FILTCODE = 2 4 9 17 35 70 139 279 557 Hz OUTSLOPE = 0 OUTSLOPE = 1 OUTSLOPE = 2 OUTSLOPE = 3 4 6 11 20 mA Table 5: Timing specification of the analog output 3901090291 Rev 001 Page 5 of 17 Data Sheet April 2011 MLX90291 SMD Programmable Linear Hall Sensor IC Featuring PWM Output 11 PWM output specification Operating Parameters TA = -40oC to 125oC, Vdd = 5.0 V, unless otherwise specified Parameter PWM Output Clamping Symbol SCGPWM PWM Output Offset PWMOQ PWM Output Offset Resolution PWMOQRES PWM Output Slope S (or Sensitivity or Gain) PWM Output Slope Resolution SRES PWM Resolution LSBPWM SWITCH Low Level Threshold range SWITCHLO SWITCH High Level Threshold SWITCHHIG range SWITCH Programming resolution SWITCHRE PWM Linearity DNLPWM INLPWM PWM Jitter JITPWM PWM Clamping Accuracy Intrinsic Offset Thermal Drift ClampACC TOffset Thermal Sensitivity Drift TS Sensitivity thermal coefficient resolution RES Test Conditions CLAMP = 0 CLAMP = 1 CLAMP = 2 CLAMP = 3 CLAMP = 4 CLAMP = 5 CLAMP = 6 Programming Range Programming Resolution 10%-90% Swing % of Slope target value (fine gain) 12 bits Switch mode Programming range Switch mode Programming range Switch mode Resolution 13 bits resolution 40 mT - 1%DC/mT S = 1% DC/mT FPWM = 125 Hz Filter setting: m=32 25 C to - 40 C 25 C to 125 C After calibration @ MLX full temperature range Incremental TC Adjust 5 bits over 800ppm/C Min 1 4 5 6 7 8 9 Typ 0 0.1 0.025 1 0.025 0.0125 0 0 Max 99 96 95 94 93 92 91 Units 100 %DC %DC %DC/mT % %DC % % % 6.4 100 100 0.025 %DC -1 -2 1 2 LSBPWM -2 +2 LSBPWM -2 +2 LSBPWM - 0.1 + 0.1 mT + 150 ppm/C - 150 0 50 ppm/C Table 6: PWM output specification 12 Fault modes Operating Parameters TA = -40oC to 125oC, Vdd = 5.0 V, unless otherwise specified Parameter Output signal in Fault state Parity Fail Criterion Broken VSS Broken VDD Symbol FaultOUT nPARITY VBRVSS VBRVDD Test Conditions EEPROM parity fail Pull resistor CRC = 5K fails before Successive Diagnostic is set= 5K Pull-Up resistor Pull-Up resistor = 5K Min 4 4 4 Typ 2 Max - Units V Count V V Table 7: Fault modes 3901090291 Rev 001 Page 6 of 17 Data Sheet April 2011 MLX90291 SMD Programmable Linear Hall Sensor IC Featuring PWM Output 13 Programmable Items 13.1 Parameter table Parameter OUTMODE ROUGHGAIN FINEGAIN XA YA CLAMP FILTCODE OUTSLOPE DCDEF TC1ST TC2ND OFFDRIFT SWITCH PLATEPOL ATTN2P5 CSTID Bits 1 3 13 14 15 3 4 2 1 7 6 6 1 1 1 16 Comment Push pull or open drain output drive Rough gain preamplifier Digital fine gain adjustment from -3.999 to +3.999 Offset before gain Offset after gain, (Xa,Ya) defines the zero Gauss point Clamp high and clamp low level Digital output filter Output Slope Control PWM Duty Cycle Definition Sensitivity temperature drift correction 1st order Sensitivity temperature drift correction 2nd order Residual Offset Correction PWM/Switch mode Invert Sensitivity Sign Attenuator block switch Melexis ID Table 8: Customer programmable items 13.2 Output mode configuration (OUTMODE) OUTMODE configures the output driver. OUTMODE 0 1 Output Driver PWM Open-drain PWM Push-pull Table 9: Output configuration 13.3 Sensitivity programming (ROUGHGAIN, FINEGAIN) ROUGHGAIN[2:0] This 3-bit register controls the gain of the pre-amplifier. * The MSB controls the enable of the PREAMP function with a gain of 4.3 (~2mA extra IDD) * The 2 LSB control the gain of the MAINAMP 3901090291 Rev 001 Page 7 of 17 Data Sheet April 2011 MLX90291 SMD Programmable Linear Hall Sensor IC Featuring PWM Output Value 0 1 2 3 4 5 6 7 Typical Gain 15.0 21.6 31.1 44.8 64.5 92.9 133.7 192.6 Table 10: ROUGHGAIN versus amplifier gain FINEGAIN[12:0] Value defines the digital gain adjustment * The code 1024 corresponds to a gain of 1 * The MSB is the sign bit which acts as a polarity bit * FINEGAIN gain range is from -3.9999 to +3.99999 13.4 Offset / output quiescent voltage programming (XA, YA) XA[13:0] PWM mode: Offset trimming before FINEGAIN block Switch mode: Threshold for the output to switch YA[14:0] PWM mode: Offset trimming after FINEGAIN block Switch mode: Hysteresis for the output to switch Both parameters together define the zero Gauss point in PWM mode In switch mode, XA is used to set the threshold and YA to set the hysteresis Case YA > 0 ADC < 4.XA - 16.YA ADC > 4.XA Otherwise Case YA < 0 ADC < 4.XA ADC > 4.XA - 16.YA Otherwise Output State Set to Zero Set to One Unchanged Table 11: Output state as function of XA and YA in switch mode 3901090291 Rev 001 Page 8 of 17 Data Sheet April 2011 MLX90291 SMD Programmable Linear Hall Sensor IC Featuring PWM Output 13.5 Clamping level programming (CLAMP) CLAMP[2:0] defines the clamping level of the PWM output CLAMP 0 1 2 3 4 5 6 7 Minimal output [%DC] 1 4 5 6 7 8 9 10 Maximal output [%DC] 99 96 95 94 93 92 91 90 Table 12: CLAMP parameter versus output. 13.6 Bandwidth and filter programming (FILTCODE) FILTCODE[3:0] allows adjusting the internal bandwidth of the sensor in order to optimize for speed or resolution. FILTCODE 2 3 4 5 6 7 8 9 Cut off frequency [Hz] 557 279 139 70 35 17 9 4 Attenuation [dB] -8.0 -11.2 -14.4 -18.1 -22.4 -27.1 -32.3 -38.1 Tau [ms] 0.29 0.57 1.14 2.29 4.57 9.14 18.29 36.57 Table 13: FILTCODE settings PWM mode 13.7 Current limitation (OUTSLOPE) 2 Bit register to set the current limitation for slew rate control OUTSLOPE 0 1 2 3 Current limitation [mA] 4 6 11 20 Table 14: Current limitation 3901090291 Rev 001 Page 9 of 17 Data Sheet April 2011 MLX90291 SMD Programmable Linear Hall Sensor IC Featuring PWM Output 13.8 PWM Mode duty cycle definition (DCDEF) The PWM duty cycle definition is as follows. DCDEF 0 1 PWM duty cycle definition tLow / (tLow + tHigh) tHigh / (tLow + tHigh) Table 15: PWM duty cycle definition Figure 2: Two different PWM modes Figure 3: Power-on behaviour of the two different modes 3901090291 Rev 001 Page 10 of 17 Data Sheet April 2011 MLX90291 SMD Programmable Linear Hall Sensor IC Featuring PWM Output 13.9 Sensitivity and temperature drift programming (TC1ST, TC2ND) TC1ST[6:0] Programming first order sensitivity temperature drift Value 0 63 or 64 127 st Typical 1 order TC +2740ppm/C 0ppm/C -2950ppm/C Table 16: TC1ST parameter TC2ND[5:0] Programming second order sensitivity temperature drift Value 0 or 32 31 63 Typical 2nd order TC 0 ppm/C +6.8 ppm/C -6.1 ppm/C Table 17: TC2ND parameter 13.10 Offset temperature drift programming (OFFDRIFT) st OFFDRIFT[5:0] parameter defines the offset behaviour over temperature (1 order) Value 0 or 32 31 63 Offset drift correction 0 mV/C +0.9 mV/C -0.9 mV/C Table 18: OFFDRIFT parameter versus correction 13.11 Functional mode (SWITCH) Value 0 1 Offset drift correction PWM output mode Switch output mode Table 19: SWITCH parameter 13.12 Polarity (PLATEPOL) PLATEPOL parameter changes the sign of the measured sensitivity Default value = 0 3901090291 Rev 001 Page 11 of 17 Data Sheet April 2011 MLX90291 SMD Programmable Linear Hall Sensor IC Featuring PWM Output 13.13 Attenuator (ATTN2P5) Switch to control the attenuation block in the signal path Value 0 1 ATTN2P5 Attenuation factor = 1 Attenuation factor = 4.5 Table 20: Attenuation settings 13.14 Customer ID (CSTID) 16-bit customer programmable ID 3901090291 Rev 001 Page 12 of 17 Data Sheet April 2011 MLX90291 SMD Programmable Linear Hall Sensor IC Featuring PWM Output 14 Recommended Application Diagrams 14.1 Resistor and Capacitor Values Part C1 C2 R1 Description Decoupling, EMI, ESD Supply capacitor, EMI, ESD Pull up or pull down resistor Value 10 100 Unit nF nF 4.7 k Table 21: Resistive and capacitive values for the recommended application diagrams 14.2 Pull down resistor for diagnostic low Figure 4: Diagnostic low 14.3 Pull up resistor for diagnostic high Figure 5: Diagnostic high 3901090291 Rev 001 Page 13 of 17 Data Sheet April 2011 MLX90291 SMD Programmable Linear Hall Sensor IC Featuring PWM Output 15 Standard information regarding manufacturability of Melexis products with different soldering processes Melexis devices are qualified using state-of-the-art practices in accordance with automotive and environmental requirements. Through qualifications, various soldering techniques are considered; please refer to "Soldering recommendations for Melexis products" for more information. (http://www.melexis.com/Asset/Soldering_Application_Note_and_Recommendations_DownloadLink_5446.as px). For components normally soldered using Surface Mounted Device techniques (eg: Reflow process), Melexis has defined and qualified Moisture Sensitivity Level and Peak Temperature in accordance with the Jedec JSTD-020 standard. Delivered material is conditioned accordingly. Moisture Sensitivity Level and Peak Temperature information can be found on the label identifying the material. In case you intend to use a reflow soldering process for through hole devices (Melexis' package codes: SA, UA, VA, VK, VM), please contact Melexis to verify your soldering process compatibility. The application of Wave Soldering for SMD's is allowed only after consulting Melexis regarding assurance of adhesive strength between device and board. Based on Melexis commitment to environmental responsibility, Europe legislations (Direction on the Restriction of the Use of Certain Hazardous substances, RoHS) and customer requests, Melexis has deployed Pb free leadfinish (typically Matte Tin) on all ASSP products. For through hole devices (Melexis' package codes: SA, UA, VA, VK, VM) Trim&Form, please refer to "Trim & Form recommendations for Melexis products" for more information. (http://www.melexis.com/Assets/Trim_and_form_recommendations_DownloadLink_5565.aspx) 16 ESD Precautions Electronic semiconductor products are sensitive to Electro Static Discharge (ESD). Always observe Electro Static Discharge control procedures whenever handling semiconductor products. 3901090291 Rev 001 Page 14 of 17 Data Sheet April 2011 MLX90291 SMD Programmable Linear Hall Sensor IC Featuring PWM Output 17 Package Information 17.1 SOIC8 Package Dimensions Figure 6: Package dimensions TEST3 TEST4 TEST5 TEST2 VSS OUT TEST1 VDD 17.2 SOIC8 Pin Out and Marking Figure 7: Pin out and marking 3901090291 Rev 001 Page 15 of 17 Data Sheet April 2011 MLX90291 SMD Programmable Linear Hall Sensor IC Featuring PWM Output 17.3 SOIC8 Hall plate positioning 8 5 Hall sensor position Package center 0.6mm 1 4 Figure 8: Hall Plate positioning 3901090291 Rev 001 Page 16 of 17 Data Sheet April 2011 MLX90291 SMD Programmable Linear Hall Sensor IC Featuring PWM Output 18 Disclaimer Devices sold by Melexis are covered by the warranty and patent indemnification provisions appearing in its Term of Sale. Melexis makes no warranty, express, statutory, implied, or by description regarding the information set forth herein or regarding the freedom of the described devices from patent infringement. Melexis reserves the right to change specifications and prices at any time and without notice. Therefore, prior to designing this product into a system, it is necessary to check with Melexis for current information. This product is intended for use in normal commercial applications. Applications requiring extended temperature range, unusual environmental requirements, or high reliability applications, such as military, medical lifesupport or life-sustaining equipment are specifically not recommended without additional processing by Melexis for each application. The information furnished by Melexis is believed to be correct and accurate. However, Melexis shall not be liable to recipient or any third party for any damages, including but not limited to personal injury, property damage, loss of profits, loss of use, interrupt of business or indirect, special incidental or consequential damages, of any kind, in connection with or arising out of the furnishing, performance or use of the technical data herein. No obligation or liability to recipient or any third party shall arise or flow out of Melexis' rendering of technical or other services. (c) 2011 Melexis NV. All rights reserved. For the latest version of this document, go to our website at www.melexis.com Or for additional information contact Melexis Direct: Europe, Africa, Asia: Phone: +32 1367 0495 E-mail: sales_europe@melexis.com America: Phone: +1 603 223 2362 E-mail: sales_usa@melexis.com ISO/TS 16949 and ISO14001 Certified 3901090291 Rev 001 Page 17 of 17 Data Sheet April 2011