MLX90366 Triaxis Position Sensor Assembly feat. SENT Features and Benefits Triaxis Hall Technology On Chip Signal Processing for Robust Absolute Position Sensing Simple Magnetic Design Programmable Measurement Range Programmable Linear Transfer Characteristic (Multi-points) SENT output (according to SAE J2716-2010) 12 bit Resolution - 10 bit Thermal Accuracy 48 bit ID Number option Robust Dual Mold Package (DMP) feat. 4 Decoupling Capacitors (ESD/EMC) Reliable NoPCB Module Integration Applications Absolute Rotary Position Sensor Pedal Position Sensor Throttle Position Sensor Ride Height Position Sensor Absolute Linear Position Sensor Steering Wheel Position Sensor Float-Level Sensor Non-Contacting Potentiometer Ordering Information1 Part No. Temperature Code Package Code Option Code Packing Code L L L L L L L VS VS VS VS VS VS VS ADS-200 ADS-200 ADS-200 ADS-201 ADS-201 ADS-203 ADS-203 RE RX TU RE RX RE RX MLX90366 MLX90366 MLX90366 MLX90366 MLX90366 MLX90366 MLX90366 Legend: Temperature Code: Package Code: Option Code: Packing Form: Ordering Example: 1 L for Temperature Range - 40°C to 150°C, VS for DMP-4 AAA-123: AAA: die version 1: IMC placement 23: Trim and form option: 00: Standard (straight leads) see section 20.1 01: Trim and Form STD1 2.54 see section 20.2 03: Trim and Form STD2 2.54 see section 20.3 RE for Reel (face-up) RX for Reel (face down) TU for Tube MLX90366LVS-ADS-200-RE See your sales representative for more details. MLX90366 Rev. 1.0 Page 1 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 1. Functional Diagram VDIG DSP Reg VX - VY VZ M U X G Rev.Pol. & OverVolt. VDD VSS A D C R O M F/W RAM Out (SENT) EEP ROM Figure 1 - MLX90366 Block Diagram MLX90366 Rev. 1.0 Page 2 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 2. Description The MLX90366 Triaxis® Position Sensor Assembly is a high accuracy linear and angular position sensor which eliminates need for inclusion of a printed circuit board (PCB) within sensing modules. This device is based on a Dual Mold Package (DMP) construction, which integrates a Triaxis position sensing die together with the decoupling capacitors necessary to meet the strenuous ESD and EMC requirements. No PCB is needed. The Triaxis® Position Sensing Die is nothing but the one used for the MLX90367 in conventional surfacemount packages (SOIC-8 – single die & TSSOP-16 – dual die). The decoupling capacitors are X8R capacitors well suited for package integration and the target operating temperature range. The MLX90366 is sensitive to the three components of the flux density applied to the IC (i.e. BX, BY and BZ). This allows the MLX90366 with the correct magnetic circuit to decode the absolute position of any moving magnet (e.g. rotary position from 0 to 360 Degrees or linear displacement, stroke - Figure 2). It enables the design of novel generation of non-contacting position sensors that are frequently required for both automotive and industrial applications. MLX90366 provides SENT Frames encoded according the Secure Sensor format. The circuit delivers enhanced serial messages providing error codes, and user-defined values. MLX90366 Triaxis® Position Sensor Assembly enables the realization of position sensor modules for which a PCB is no longer needed: this yield to an increase of the electrical, mechanical and environmental robustness of the final application. MLX90366 Rev. 1.0 Page 3 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT TABLE of CONTENTS FEATURES AND BENEFITS ....................................................................................................................... 1 APPLICATIONS ............................................................................................................................................ 1 ORDERING INFORMATION......................................................................................................................... 1 1. FUNCTIONAL DIAGRAM...................................................................................................................... 2 2. DESCRIPTION ....................................................................................................................................... 3 3. GLOSSARY OF TERMS ABBREVIATIONS ACRONYMS ............................................................ 6 4. PINOUT .................................................................................................................................................. 6 5. ABSOLUTE MAXIMUM RATINGS ....................................................................................................... 7 6. DESCRIPTION ....................................................................................................................................... 7 7. MLX90366 ELECTRICAL SPECIFICATION ......................................................................................... 9 8. MLX90366 TIMING SPECIFICATION ................................................................................................. 10 8.1. 8.2. 9. TIMING DIAGRAMS ........................................................................................................................................ 11 APPLICATION DIAGRAM USED FOR RISE AND FALL TIME MEASUREMENT ....................................................... 12 MLX90366 ACCURACY SPECIFICATION ......................................................................................... 13 10. MLX90366 MAGNETIC SPECIFICATION .......................................................................................... 14 11. MLX90366 CPU & MEMORY SPECIFICATION ................................................................................. 14 12. MLX90366 END-USER PROGRAMMABLE ITEMS ........................................................................... 15 13. SENT OUTPUT PROTOCOL .............................................................................................................. 16 13.1. GENERALITY ............................................................................................................................................. 16 13.2. SINGLE SECURE FAST CHANNEL ............................................................................................................... 16 13.2.1. Frame Content...................................................................................................................................... 16 13.2.2. Diagnostic Reporting through the fast channel .................................................................................... 16 13.2.3. Pause pulse........................................................................................................................................... 17 13.2.4. Fast Channel CRC................................................................................................................................ 17 13.3. SLOW CHANNEL ........................................................................................................................................ 17 13.3.1. Enhanced Serial Message .................................................................................................................... 17 13.3.2. Serial Message Sequence ..................................................................................................................... 18 13.3.3. Serial message sequence period ........................................................................................................... 19 13.3.4. Serial Message Error Code .................................................................................................................. 19 13.4. START-UP .................................................................................................................................................. 20 13.5. FIELD SENSING (ADC CONVERSIONS) AND THE FRAME SYNCHRO PULSE .................................................. 20 14. DESCRIPTION OF END-USER PROGRAMMABLE ITEMS .............................................................. 21 14.1. OUTPUT TRANSFER CHARACTERISTIC....................................................................................................... 21 14.1.1. CLOCKWISE Parameter ...................................................................................................................... 21 14.1.2. Discontinuity Point (or Zero Degree Point) ......................................................................................... 22 14.1.3. 17-Pts LNR Parameters........................................................................................................................ 22 14.1.4. CLAMPING Parameters ...................................................................................................................... 23 14.2. IDENTIFICATION ........................................................................................................................................ 23 14.3. SENSOR FRONT-END ................................................................................................................................. 23 14.3.1. MAPXYZ ............................................................................................................................................... 24 14.3.2. SMISM, k and SEL_k Parameters ........................................................................................................ 24 14.3.3. GAINMIN and GAINMAX Parameters ................................................................................................ 24 14.4. FILTER ...................................................................................................................................................... 25 14.5. DIAGNOSTIC FEATURES ............................................................................................................................ 25 14.6. EEPROM ENDURANCE ............................................................................................................................. 25 MLX90366 Rev. 1.0 Page 4 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 15. MLX90366 SELF DIAGNOSTIC .......................................................................................................... 26 16. BUILT-IN CAPACITORS ..................................................................................................................... 27 17. STANDARD INFORMATION REGARDING MANUFACTURABILITY OF MELEXIS PRODUCTS WITH DIFFERENT LEAD PRE-FORMING AND SOLDERING/WELDING PROCESSES ....................... 27 18. ESD PRECAUTIONS ........................................................................................................................... 27 19. PACKAGE INFORMATION ................................................................................................................. 28 19.1. 19.2. 19.3. 19.4. 19.5. DMP-4 – PACKAGE OUTLINE DIMENSIONS (POD) – STRAIGHT LEADS .................................................... 28 DMP-4 – PACKAGE OUTLINE DIMENSIONS (POD) – TRIMMED & FORMED LEADS [1] ............................. 29 DMP-4 – PACKAGE OUTLINE DIMENSIONS (POD) – TRIMMED & FORMED LEADS [2] ............................. 30 DMP-4 - MARKING ................................................................................................................................... 31 DMP-4 - SENSITIVE SPOT POSITIONING & SENSE DIRECTION ................................................................... 32 20. DISCLAIMER ....................................................................................................................................... 34 MLX90366 Rev. 1.0 Page 5 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 3. Glossary of Terms Abbreviations Acronyms Gauss (G), Tesla (T): Units for the magnetic flux density 1 mT = 10 G TC: Temperature Coefficient (in ppm/Deg.C.) NC: Not Connected SENT: Single Edge Nibble Transmission ADC: Analog-to-Digital Converter LSB: Least Significant Bit MSB: Most Significant Bit DNL: Differential Non-Linearity INL: Integral Non-Linearity RISC: Reduced Instruction Set Computer ASP: Analog Signal Processing DSP: Digital Signal Processing CoRDiC: Coordinate Rotation Digital Computer (i.e. iterative rectangular-to-polar transform) EMC: Electro-Magnetic Compatibility 4. Pinout Pin # MLX90366 Rev. 1.0 1 VSS (Ground) 2 VDD 3 OUT 4 VSS (Ground) Page 6 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 5. Absolute Maximum Ratings Supply Voltage, VDD (overvoltage) 24 V Reverse Voltage Protection 12 V (breakdown at -14 V) Positive Output Voltage 18 V (breakdown at 24 V) Output Current (IOUT) 30 mA (in breakdown) Reverse Output Voltage 0.3 V Reverse Output Current 50 mA (in breakdown) Operating Ambient Temperature Range, TA 40°C 150C Storage Temperature Range, TS 40°C 150C Magnetic Flux Density 1T Exceeding the absolute maximum ratings may cause permanent damage. Exposure to absolute maximum rated conditions for extended periods may affect device reliability. 6. Description As described on the block diagram the three vector components of the magnetic flux density (BX, BY and BZ) applied to the IC are sensed through the sensor front-end. The respective Hall signals (VX, VY and VZ) are generated at the Hall plates and amplified. The analog signal processing is based on a fully differential analog chain featuring the classic offset cancellation technique (Hall plate 2-Phases spinning and chopper-stabilized amplifier). The conditioned analog signals are converted through an ADC (15 bits) and provided to a DSP block for further processing. The DSP stage is based on a 16 bit RISC micro-controller whose primary function is the extraction of the position from two (out of three) raw signals (after so-called front-end compensation steps) through the following function: V1 , k V2 Where alpha is the magnetic angle (B1, B2), V1 = VX or VY or VZ , V2 = VX or VY or VZ and k is a programmable factor to match the amplitude of V1 and k V2. The DSP functionality is governed by the micro-code (firmware F/W) of the micro-controller which is stored into the ROM (mask programmable). In addition to the magnetic angle extraction, the F/W controls the whole analog chain, the output transfer characteristic, the output protocol, the programming/calibration and also the self-diagnostic modes. The magnetic angular information is intrinsically self-compensated vs. flux density variations. This feature allows therefore an improved thermal accuracy vs. position sensor based on conventional linear Hall sensors. In addition to the improved thermal accuracy, the realized position sensor features excellent linearity performance taking into account typical manufacturing tolerances (e.g. relative placement between the Hall IC and the magnet). MLX90366 Rev. 1.0 Page 7 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT Once the position (angular or linear stroke) information is computed, it is further conditioned (mapped) vs. the target transfer characteristic and it is provided at the output(s) as SENT output. The linear part of the transfer curve can be adjusted through a multi-point calibration: This back-end step consists of a Piece-Wise-Linear (PWL) output transfer characteristic - 17 equidistant points with programmable origin over 16 different angle ranges from 65 to 360 degrees. The calibration parameters are stored in EEPROM featuring a Hamming Error Correction Coding (ECC). The programming steps do not require any dedicated pins. The operation is done using the supply and output nodes of the IC. The programming of the MLX90366 is handled at both engineering lab and production line levels by the Melexis Programming Unit PTC-04 with the daughterboard DB90316 + dedicated MLX90367 software. MLX90366 Rev. 1.0 Page 8 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 7. MLX90366 Electrical Specification DC Operating Parameters at VDD = 5V (unless otherwise specified) and for TA as specified by the Temperature suffix (L). Parameter Symbol Test Conditions Min Typ Max Units 4.5 5 5.5 V Nominal Supply Voltage VDD Supply Current(2) Idd 10 mA Isurge Current(3) Isurge 20 mA Power-On reset ( rising ) HPOR_LH 2.5 V Power-On reset Hysteresis HPOR_Hyst 50 200 mV Start-up Level ( rising ) MT4V LH 3.8 4.2 V Start-up Hysteresis MT4V Hyst 50 200 mV PTC Entry Level ( rising ) MT7V_LH 5.8 6.6 V PTC Entry Level Hysteresis MT7V_Hyst 50 200 mV 15 15 18 mA mA mA k k Refer to internal voltage Vdig 2 Output Short Circuit Current Ishort Vout = 0 V Vout = 5 V Vout = 18 V (TA = 25°C) Output Load RL Pull-down to Ground Pull-up to 5V 4.7 4.7 BVSSPD Broken VSS & Pull-down load RL 10 kΩ 97.5 BVSSPU Broken VSS & Pull-up load RL 4.7kΩ 99.5 BVDDPD Broken VDD & Pull-down load RL 4.7kΩ BVDDPU Broken VDD & Pull-up load RL 5kΩ Passive Diagnostic Output Level (Broken Track Diagnostic) (4) 2.25 4.0 6.2 10 10 %VDD 100 0 %VDD 0.5 %VDD 2 %VDD 2 For the dual version, the supply current is multiplied by 2. The specified value is valid during early start-up time only; the current might dynamically exceed the specified value, shortly, during the Start-up phase. This current peak is linked a.o. to the charging of the integrated capacitors. 4 The SENT output signal will no longer be reported. For detailed information, see also section 15. 3 MLX90366 Rev. 1.0 Page 9 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 8. MLX90366 Timing Specification DC Operating Parameters at VDD = 5V (unless otherwise specified) and for TA as specified by the Temperature suffix (L). Parameter Main Clock Frequency Main Clock Frequency Thermal Drift Symbol Test Conditions Min Typ Max Ck All contributors (trimming accuracy, supply voltage, thermal and ageing) 12.6 13.3 14 MHz 3% CkNOM TCk Tick time SENT Frame Period tframe Internal Angle Measurement Period tper First Angle Measurement to Sync Pulse latency ta1 Second Angle Measurement to Sync Pulse latency ta2 Field Change to SENT Data : Average Latency Latency Exact value for Ck = 13.3 MHz The typical value will be affected by any variation of the clock FILTER = 1 (recommended) SENT Transmission Included SENT Frame Tick Count Watchdog twd Start-up Time (up to first sync pulse) tsu1 Start-up Time (up to first data received) tsu2 3 μs 882 μs 441 μs 1084 μs 643 μs 1745 1745 294 294 114.5 118 121.5 1.8 Last pause pulse not included Serial Message Extended sequence ( 18 frames ) Short sequence ( 8 frames ) Rise Time @ Cable Thresholds : 0.5V and 4.5V See section 8.2 Units 5.9 μs ms ms 6.3 15.876 7.056 ms ms μs 2.97 5.31 Rise Time @ Receiver 5.07 6.84 μs Fall Time @ Cable 2.65 2.82 μs Fall Time @ Receiver 4.84 4.9 μs MLX90366 Rev. 1.0 Page 10 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 8.1. Timing diagrams Figure 2 – Start-up phase timings Figure 3a – Latencies (acquisition to output delays) – FILTER = 1 (recommended) Figure 3b – Latency - Case FILTER = 0 (not recommended) MLX90366 Rev. 1.0 Page 11 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 8.2. Application diagram used for rise and fall time measurement Figure 4 –Schematic used for rise and fall time measurements (ref: J2716 Rev Jan 2010 Fig. 6.3.4) Component C01 C02 R01 Cinput CTau Cf RTau Rf RPU RV Value 10 (integrated in the DMP) not mounted not mounted 68 2.2 100 568 10 14.7 not mounted Unit nF nF Ohms pF nF pF Ohms kOhms kOhms Ohms Component values used for rise and fall time measurements (ref: J2716 Rev Jan 2010 Fig. 6.3.4) MLX90366 Rev. 1.0 Page 12 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 9. MLX90366 Accuracy Specification DC Operating Parameters at VDD = 5V (unless otherwise specified) and for TA as specified by the Temperature suffix (L). Parameter Symbol ADC Resolution on the raw signals sine and cosine(5) Thermal Offset Drift #1(6) at the DSP input (excl. DAC and output stage) Thermal Drift of Sensitivity Mismatch(7) RADC Magnetic Angle phase error Thermal Drift of Magnetic Angle phase error XY – Intrinsic Linearity Error(8) XZ - Intrinsic Lin. Error(11) YZ - Intrinsic Lin. Error(11) Noise pk-pk(9) Le Le Le Test Conditions Min Typ Max 15 bits TA from -40 to 125°C TA from -40 to 150°C -60 -90 +60 +90 XY axis XZ (YZ) axis TA = 25C – XY axis TA = 25C – XZ axis TA = 25C – YZ axis XY axis, XZ (YZ) axis - 0.5 -1 -0.3 -2 -2 + 0.5 +1 0.3 2 2 TA = 25C – factory trim. “SMISM” TA = 25C – “k” trimmed for XZ TA = 25C – “k” trimmed for YZ FILTER = 0, 40mT FILTER = 1 (recommended) , 30mT 0.01 -1 -2.5 -2.5 1.25 1.25 0.10 0.10 Units LSB15 % Deg. Deg. 1 2.5 2.5 0.2 0.2 Deg Deg Deg Deg 16 bits corresponds to 15 bits + sign. Internal computation is performed using 16 bits. instance, in case of a rotary position sensor application, Thermal Offset Drift #1 equal ± 60LSB15 yields to max. ± 0.3 Deg. angular error for the computed angular information (output of the DSP). This is only valid if k = 1. “MLX90365 Front-End Application Note” will be released for more details. 7 For instance, in case of a rotary position sensor application, Thermal Drift of Sensitivity Mismatch equal ± 0.5% yields to max. ± 0.15 Deg. angular error for the computed angular information (output of the DSP). See “MLX90365 Front-End Application Note” for more details. 8 The Intrinsic Linearity Error refers to the IC itself (offset, sensitivity mismatch, orthogonality) taking into account an ideal rotating field for BX and BY. Once associated to a practical magnetic construction and the associated mechanical and magnetic tolerances, the output linearity error increases. However, it can be improved with the multi-point end-user calibration. The intrinsic Linearity Error for Magnetic angle XZ and YZ can be reduced through the programming of the k factor. 9 Noise pk-pk (peak-to-peak) is here intended as 6 times the Noise standard Deviation. The application diagram used is described in the recommended wiring. For detailed information, refer to section Filter in application mode (Section 14.4). 5 6 For MLX90366 Rev. 1.0 Page 13 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 10. MLX90366 Magnetic Specification DC Operating Parameters at VDD = 5V (unless otherwise specified) and for TA as specified by the Temperature suffix (L). Parameter Symbol Magnetic Flux Density Magnetic Flux Density BX, BY(10) Magnetic Flux Norm IMC Gain(13) Norm GainIMC Test Conditions Typ √[ BX 2 + BY 2 ] BZ(12) √[ BX2 + BY2 + (Bz/1.15)2 ] Magnet Temperature Coefficient TCm 11. Min 20(12) 1.15 1.3 -2400 Max Units 70(11) mT 126 mT mT 1.4 0 ppm/°C MLX90366 CPU & Memory Specification The DSP is based on a 16 bit RISC µController. This CPU provides 2.5 Mips while running at 10 MHz. Parameter Symbol Test Conditions Min Typ Max Units ROM 10 KB RAM 384 B EEPROM 128 B The condition must be fulfilled for at least one field BX or BY. Above 70 mT, the IMC® starts saturating yielding to an increase of the linearity error. 12 Below 20 mT, the performances slightly degrade due to a reduction of the signal-to-noise ratio, signal-to-offset ratio. 13 This is the magnetic gain linked to the Integrated Magneto Concentrator (IMC®) structure. It applies to BX and BY and not to BZ. This is the overall variation. Within one lot, the part to part variation is typically ± 10% versus the average value of the IMC® gain of that lot 10 11 MLX90366 Rev. 1.0 Page 14 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 12. MLX90366 End-User Programmable Items Parameter MAPXYZ CLAMP_HIGH CLAMP_LOW SMISM K Sel_K GAINMIN GAINMAX GAINSATURATION PWMPOL DP CW MELEXISID1 MELEXISID2 MELEXISID3 W LNR_Yn DIAG Settings CRC_DISABLE FILTER RAM Probe SERIAL_ID_1 SERIAL_ID_2 SERIAL_ID_3 SERIAL_ID_4 EE_SENT_SERIAL EE_SERIAL_DATA_1 EE_SERIAL_DATA_2 EE_SERIAL_DATA_3 EE_SERIAL_DATA_4 EE_USERID1 EE_USERID2 EE_USERID3 MLX90366 Rev. 1.0 Comments Mapping fields for output angle Clamping High (50%) Clamping Low (50%) Sensitivity mismatch factor X,Y Sensitivity mismatch factor X (Y) , Z Location for for K – correction Low threshold for virtual gain High threshold for virtual gain Gain Saturates on GAINMIX and GAINMAX PWM polarity Discontinuity point Clock Wise Melexis identification reference Melexis identification reference Melexis identification reference 17pts – Output angle range 17pts – Y-coordinate point n (n = 2,1,2 …16) 16 Bit Diagnostics enablling Enable EEPROM CRC check ( 3131h= disable) FIR Filter Address for RAM probe Not available to USER until MemLock performed. See: EEPROM_MLX90366_default_settings.doc for more details ID of user serial message #2 ID of user serial message #3 ID of user serial message #4 Page 15 of 34 Standard # bit 0 0% 100% MLX MLX 0 00h 28h 0h 1h 0h 0h MLX MLX MLX 0h 0..100% FDFFh 0h 0 0 56EEh 2 16 16 15 15 1 8 8 1 1 15 1 16 16 16 4 16 16 16 1 16 16 0 0 0 0 0 0 0 0 1 303h MLX 16 16 16 16 16 16 16 16 16 16 16 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 13. SENT output Protocol 13.1. Generality The MLX90366 complies with the sub-set “A.3 Single Secure Sensors” of the norm J2716 Revised JAN2010, but one restriction: the mode without pause pulse is not featured. 13.2. Single Secure Fast Channel MLX90366 delivers SENT frames according the Single Secure format. This format is explicitly described in this section. 13.2.1. Frame Content The MLX90366 SENT frames have 6 data nibbles, and are formatted according the below table. The optional Pause Pulse is however always present so that every messages have the same fixed length. SENT Frame : Status D1-MSN D1-MidN D1-LSN D2-MSN D2-MidN Status[0] Channel 1 indicator ( "1" = error, "0" otherw ise ) Status[1] 0 Status[2] Enhanced Serial Message Status[3] Enhanced Serial Message CRC Enhanced CRC (the legacy CRC is not featured) D1 12 bit angle D2-MSN D2-MSN=Rolling Counter-MSN D2-MidN D2-MidN=RollingCounter-MidN D2-LSN D2-LSN=Inv erted copy of D1-MSN D2-LSN CRC Optional Pause 13.2.2. Diagnostic Reporting through the fast channel 13.2.2.1. Diagnostic Reporting, bit Status[0] The bit Status[0] is high whenever the three following conditions are met: 1. A diagnostic (analog/environmental) detects an error * 2. The reporting of the above error is enabled ** 3. The debouncing time has elapsed. * A diagnostic of type digital cause the circuit to switch in fail-safe-mode ** See EEPROM bits EE_DIAG_SETTINGS 13.2.2.2. Diagnostic Reporting, Channel 1 The diagnostic can be reported through the 12 bit payload of channel 1, and not only through the status bit Status[0]. The EEPROM parameters EE_ERRORCODE controls the diagnostic reporting through channel 1 as follow: MLX90366 Rev. 1.0 Page 16 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT If EE_REPORT[2:0]=0, the channel 1 reports the angle, and not the diagnostic, as if no diagnostic. The error is reported only thanks to the Status bits. If EE_REPORT[2:0]>0, the channel1 payload contains the value Channel1 = (4088 + EE_REPORT[2:0]) 13.2.2.3. Diagnostic Reporting Time The Diagnostic Reporting Time is programmable (defined as multiple of a macro-cycle unit time). A macro-cycle is a sequence of 20 angle acquisitions, and has a duration of approximately 6 ms. 13.2.2.4. Diagnostic Debouncing The Diagnostic Reporting is Debounced. The debouncing paramater is user-programmable, by steps of approximately 6 ms. 13.2.3. Pause pulse A pause pulse, as defined by the standard, is present at the end of every frame. The pause pulse mode cannot be disabled. The pause pulse lenght is adjusted by the circuit so that the frame period is constant. The field sensing and the frame synchro pulse are in sync. 13.2.4. Fast Channel CRC The MLX90366 features the new recommended implementation. 13.3. Slow Channel 13.3.1. Enhanced Serial Message The circuit encodes the slow messages according the Enhanced Serial Message Format as specified at Chapter 5.2.4.3 of the SENT norm, except for the following restriction: The configuration bit is always 0, meaning that the payload consists in 12-bit data and 8-bit message ID. MLX90366 Rev. 1.0 Page 17 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 13.3.2. Serial Message Sequence The circuit complies with the following sub-set specifications of the norm for pressure sensors (The norm for the angular sensor case does not specify the serial message format) # 8bit ID Item 12 bit data Comments 1 29 Sensor ID Prog. EE_USERID1_12LSB 2 01 Error Code RAM Described at next chapter … 3 2A Prog. 4 01 / 80 5 2B Sensor ID Error Code / User-defined RAM value Sensor ID {EE_USERID2_8LSB, EE_USERID1_4MSB } RAM variable @ address EE_RAM_PROBE_ADDR e.g. Temp, GainCode, FieldStrength { EE_USERID3_4LSB,EE_USERID2_8MSB } 6 01 Error Code RAM 7 2C Prog. 8 01 / 80 Sensor ID Error Code / User-defined RAM value RAM Prog. EE_USERID3_12MSB RAM Optional Part ( EE_ExtendedSequence = 1 ) 9 06 SENT Revision 003 10 01 Error Code RAM 11 EE_SERIAL_ID1 EE_SERIAL_DATA_1 12 01 / 80 13 EE_SERIAL_ID12 User-defined #1 Error Code / User-defined RAM value User-defined #2 14 01 Error Code RAM 15 EE_SERIAL_ID3 EE_SERIAL_DATA_3 16 01 / 80 17 EE_SERIAL_ID4 User-defined #3 Error Code / User-defined RAM value User-defined #4 18 01 Error Code RAM RAM EE_SERIAL_DATA_2 e.g. Sensor type, Manufacturing code RAM variable @ address EE_RAM_PROBE_ADDR e.g. Temp, GainCode, FieldStrength e.g. 07 – Transfer Characteristic e.g. 03 – Sensor Type RAM EE_SERIAL_DATA_4 Table. Serial Message Sequence The first part (positions 1 to 8) provides the Error Code and the Sensor ID alternatively. The second part (positions 9 to 18) is optional as a whole enabled with EEPROM bit EE_ExtendedSequence. This second part consists of the error code (5 occurrences), 4 User-defined messages (ID and data) and the SENT revision. MLX90366 Rev. 1.0 Page 18 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 13.3.3. Serial message sequence period Sequence Length (serial message count) Sequence Length (frame count) Sequence Period (ms, typical) 8 144 121 18 324 273 13.3.3.1. User-defined RAM Value The payloads of the positions 4, 8 (and 12, 16 if relevant) are user-defined. Three possibilities: 1. Error Code 2. 12 LSBs of a user-defined RAM value 3. 12 MSBs of a user-defined RAM value The positions 4, 8, 12, 16 refer necessarily to the same user-defined RAM address. Three RAM addresses are of interest: Variable name ramTempSens VG Norm Address 4E 46 48 Description Calibrated Temperature sensor value Actual Virtual Gain Actual field norm The actual absolute Temperature (T) can be derived from the 12 MSBs of ramTempSens (see possibility 3 above) using the following formula (decimal): T = 8 × (ramTempSens – 35) + 2048 The accuracy of the actual Temperature is = ± 10 DegC. 13.3.3.2. Error Code Rate The Error Codes are on purpose transmitted every second message, to maximize the rate, which equals then 36 SENT frames, when the user-defined RAM mode is not enabled (72 otherwise). 13.3.4. Serial Message Error Code MLX90366 Rev. 1.0 Bit position Diagnostic Comments 0 GainOOS Front-end Gain code Out-of-spec (too low, too high) 3 ADCSatura Diag 4 ADCMonitor ADC monitor 5 VanaMoni Analog Internal Supply Too Low 6 VddMoni External Supply Too Low, Too High 7 Rough Offset Front-end Rough Offset too low, too high 8 TempMonitor Temperature Sensor monitor Page 19 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 13.4. Start-up During the chip initialization, the output remains high until the circuit emits four initialization frames (all 6 data nibble zero). The fifth frame is not an initialization frame but a valid frame containing a measured angle. See also section 8 “Timing specifications”. 13.5. Field sensing (ADC conversions) and the frame Synchro pulse The digital angle (fast channel payload) results of the average of two angles. These angles are themselves computed from 4 ADCs values. The time between the ADCs and the frame synchro pulse is constant. As a result, the phase delay between the magnetic field angle and the SENT synchro pulse is constant, allowing filtering at the ECU side. See also section 8 “Timing specifications”. MLX90366 Rev. 1.0 Page 20 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 14. Description of End-User Programmable Items 14.1. Output Transfer Characteristic To define the transfer function (LNR): With 17 equidistant points for which only the Y coordinates are defined. Parameter Value Unit CLOCKWISE 0 CounterClockWise 1 ClockWise LSB DP 0 359.9999 Deg LNR_Y0 LNR_Y1 … LNR_Y16 -50 … + 150 % W 65.5 … 360 Deg CLAMP_LOW 0 100 % CLAMP_HIGH 0 100 % 14.1.1. CLOCKWISE Parameter The CLOCKWISE parameter defines the magnet rotation direction. CCW is defined by the 1-2-3-4 pin order direction for the Dual Mold Package. CW is defined by the reverse direction: 4-3-2-1 pin order direction for the Dual Mold Package Refer to the drawing in the sensitive spot positioning section (Section 19.5) MLX90366 Rev. 1.0 Page 21 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 14.1.2. Discontinuity Point (or Zero Degree Point) The Discontinuity Point defines the 0° point on the circle. The discontinuity point places the origin at any location of the trigonometric circle. The DP is used as reference for all the angular measurements. 360° 0° The placement of the discontinuity point (0 point) is programmable. Figure 5 - Discontinuity Point Positioning 14.1.3. 17-Pts LNR Parameters The LNR parameters, together with the clamping values, fully define the relation (the transfer function) between the digital angle and the output signal. The shape of the MLX90366 transfer function from the digital angle value to the output voltage is described by the drawing below. In the 16-Pts mode, the output transfer characteristic is Piece-WiseLinear (PWL). LNR_Y16 100% CLAMPHIGH LNR_Y15 LNR_Y14 LNR_Y2 LNR_Y1 CLAMPLOW 0% LNR_Y0 x DP x x x x x ( 360 – W ) /2 W = range from 65.5° up to 360° ( 360 – W ) /2 360 - W DP + 360 Figure 6 - Input range from 65.5° up to 360° All the Y-coordinates can be programmed from -50% up to +150% to allow clamping in the middle of one segment (like on the figure), but the output value is limited to CLAMPLOW and CLAMPHIGH values. Between two consecutive points, the output characteristic is interpolated. The parameter W determines the input range on which the 17 points (16 segments) are uniformly spread: MLX90366 Rev. 1.0 Page 22 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT W Range x 0 (0000b) 360.0deg 1 W Range x 22.5deg 8 180.0deg 11.3deg 320.0deg 20.0deg 9 144.0deg 9.0deg 2 288.0deg 18.0deg 10 120.0deg 7.5deg 3 261.8deg 16.4deg 11 102.9deg 6.4deg 4 240.0deg 15.0deg 12 90.0deg 5.6deg 5 221.5deg 13.8deg 13 80.0deg 5.0deg 6 205.7deg 12.9deg 14 72.0deg 4.5deg 7 192.0deg 12.0deg 15 (1111b) 65.5deg 4.1deg Outside of the selected range, the output will remain in clamping levels. 14.1.4. CLAMPING Parameters The clamping levels are two independent values to limit the output voltage range. The CLAMPLOW parameter adjusts the minimum output code. The CLAMPHIGH parameter sets the maximum output code. Both parameters have 16 bits of adjustment and are available for both LNR modes. 14.2. Identification Parameter Value 0 65535 0 65535 0 65535 0 65535 0 65535 0 65535 MELEXISID1 MELEXISID2 MELEXISID3 CUSTOMERID1 CUSTOMERID2 CUSTOMERID3 Identification number: 48 bits (3 words) freely useable by Customer for traceability purpose. 14.3. Sensor Front-End MLX90366 Rev. 1.0 Parameter Value MAPXYZ 0 .. 3 SMISM 0 .. 32768 K 0 .. 32768 SEL_k 0 or 1 GAINMIN GAINMAX GAINSATURATION 0 41 0 41 0.. 1 Page 23 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 14.3.1. MAPXYZ The MAPXYZ parameter defines which fields are used to calculate the angle. The different possibilities are described in the tables below. This 2 bit value selects the first (B1) and second (B2) field components according the table below. MAPXYZ 0 – 00b 1 – 01b 2 – 10b 3 – 11b B1 X Zx Y Y B2 Y X Zx Zy Angular XY mode XZx mode YZx mode YZy mode MAPXYZ = 3 is not recommended. 14.3.2. SMISM, k and SEL_k Parameters (i) SMISM When the mapping (B1=X, B2=Y) is selected, SMSIM defines the sensitivity mismatch factor that is applied on B1, B2; When another B1, B2 mapping is selected, this parameter is “don’t care”. This parameter is trimmed at factory; Melexis strongly recommends TO NOT over write it for optimal performance. (ii) k When the mapping (B1=X, B2=Y) is NOT selected, k defines the sensitivity mismatch factor that is applied on B1or B2 (according to parameter SEL_k – see below). When the mapping (B1=X, B2=Y) is selected, this parameter is “don’t care”. This parameter is trimmed at factory for mapping (B1=Z, B2=X). Melexis recommends to fine trim it when a smaller linearity error (Le) is required and a different mapping than (B1=X, B2=Y) is selected. (iii) SEL_k When the mapping (B1=X, B2=Y) is NOT selected, SEL_k defines the component on which the sensitivity mismatch factor k (see above): SEL_k = 0 means B1 k B1 and SEL_k = 1 means B2 k B2. 14.3.3. GAINMIN and GAINMAX Parameters GAINMIN and GAINMAX define the thresholds on the gain code outside which the fault “GAIN out of Spec.” is set; If GAINSATURATION is set, then the virtual gain code is saturated at GAINMIN and GAINMAX, and no Diagnostic fault is set since the saturations apply before the Diagnostic check. MLX90366 Rev. 1.0 Page 24 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 14.4. Filter Parameter Value FILTER 0, 1 The MLX90366 features a filter that is enabled when FILTER = 1. The filter is of type “moving average”. It averages the two most recent internal angle values. When the filter is enabled, the SENT data holds the average of the two most recent internal angles. We recommend to enable the filter, in order to benefit from a noise reduction of 30% compared to the case FILTER = 0. Given that two angle values are computed per each SENT frame, the latency increases in this case only marginally. Filter = 0 corresponds to no filtering, and may be selected to optimize the latency (by about 10%), whenever the latter is system-critical (e.g. stability of a close-loop system). 14.5. Diagnostic Features Refer to Application_note_Diagnostic_Behavior_90366 for EE_CRC_Enable function description and for Diagnostic features which can be enabled at user. 14.6. EEPROM endurance Although the EEPROM is used for Calibration Data Storage (similarly to an OTPROM), the MLX90366 embedded EEPROM is qualified to guarantee an endurance of minimum 1000 write cycles at 125˚C for engineering/calibration purpose. MLX90366 Rev. 1.0 Page 25 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 15. MLX90366 Self Diagnostic The MLX90366 provides numerous self-diagnostic features. Those features increase potentially the functional safety of safety-related systems as it reduces the risk of erroneous angle reporting in case of internal or external failure modes (“fail-safe”). Diagnostic Item ST-up phase Diagnostics RAM March C- 10N Test Watchdog BIST Under Voltage Monitoring SUPPLYMONI = (MT3VB) OR (MT4VB) Over Voltage Monitoring MT7V BG Loop Diag. ROM 16bit checksum ( continuous ) EEPROM 8 bit CRC Check (continuous) Watchdog ( continuous ) DSP Loop Diag. ADC Clipping ADCCLIP Virtual Gain Code Out-of-spec GAINOOS Virtual Gain Code Saturation [GAINMIN..GAINMAX] ADC Monitor (Analog to Digital Converter) ADCMONI Under Voltage Monitoring SUPPLYMONI = (MT3VB) OR (MT4VB) Over Voltage Monitoring MT7V Temperature Sensor Monitor TEMPMONI Action Effect on Output Type Monitoring Rate Reporting Rate Fail-safe mode ** ** CPU reset after 120ms Fail-safe mode ** ** CPU reset after 120ms St-up on Hold Diagnostic low/ high Reporting (optional) Diagnostic low/ high Reporting (optional) Diagnostic low/high Digi HW n/applicable (start-up only) n/applicable (start-up only) n/applicable (start-up only) n/applicable (start-up only) n/applicable (start-up only) n/applicable (start-up only) PTC entry OUT in HiZ Environ n/applicable (start-up only) n/applicable (start-up only) Fail-safe mode ** ** CPU reset after 120ms Fail-safe mode ** ** CPU reset after 120ms CPU reset Diagnostic low//high Reporting (optional) Diagnostic low/high Reporting (optional) -- Digi HW 800ms 800ms Digi HW 10ms 10ms Digi HW 120ms n/a Debouncing (prog.) SENT Status bit0 = 1 (optional) SENT Status bit0 = 1 (optional) Environ &Analog Environ &Analog 5/DSP 6ms x INT (THRES/STEP_UP) 6ms x INT (THRES/STEP_UP) Debouncing (prog.) Environ &Analog 1/DSP Saturation (optional) Gain Saturated @ GAINMINGAINMAX Debouncing (prog.) SENT Status bit0 = 1 (optional) Analog HW 1/DSP 6ms x INT (THRES/STEP_UP) Supply Debouncing (prog.) SENT Status bit0 = 1 (optional) Environ &Analog 1/DSP 6ms x INT (THRES/STEP_UP) PTC entry after PTC Debouncing OUT in HiZ Environ 2ms 2ms Debouncing (prog.) SENT Status bit0 = 1 (optional) No effect Analog 1/DSP 6ms x INT (THRES/STEP_UP) n/applicable Not a diagnostic Saturate value used for the Temperature > 170degC ( 20) compensation to -40degC and Temperature < -60degC ( 20) +150degC resp. Hardware Diag. ( continuously checked by dedicated Logic ) Read/Write Access out of Fail-safe mode ** Diagnostic Low/High physical memory ** CPU reset after 120ms Write Access to protected area Fail-safe mode ** Diagnostic low/high (IO and RAM Words) ** CPU reset after 120ms Fail-safe mode ** Diagnostic low/high Unauthorized Mode Entry ** CPU reset after 120ms EEPROM Error Correcting (Transparent) Error Correction no effect Code ( Hamming correction ) Hardware Diag. ( continuously checked by dedicated Analog circuits ) CPU Reset Pull down load => Diag. Low Broken VSS on recovery Pull up load => Diag. High CPU Reset Pull down load => Diag. Low Broken VDD on recovery Pull up load => Diag. High St-up on Hold Diagnostic low/high Resistive Cable Test MLX90366 Rev. 1.0 Digi HW Page 26 of 34 Environ n/applicable &Analog Not a diagnostic Environ &Analog Digi HW n/applicable Not a diagnostic n/a immediate Diag Digi HW n/a immediate Diag. Digi HW n/a immediate Diag Digi HW n/a. n/a immediate Diag n/a immediate Diag. n/a immediate Diag n/a Environ n/a immediate Diag. n/a immediate Diag n/a immediate Diag. n/a immediate Diag n/a immediate Diag. n/a immediate Diag. Environ Environ Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 16. Built-in Capacitors VDD C1 C2 VSS C4 C3 OUT C1 = C2 = C3 = C4 = 100 nF Either Vss pin can be used for grounding, but always leave 1 floating. Built-in capacitors are ceramic multilayer type X8R. The capacitors are specifically suited for high temperature applications with stable capacitance value (± 15%) up to 150 DegC. The capacitors are assembled using a gluing method instead of soldering to be more reliable towards thermal/mechanical stress. The maximum rated voltage is 25V. C1=C2=C4 = 100nF and C3 = 10nF. 17. Standard information regarding manufacturability of Melexis products with different lead pre-forming and soldering/welding processes For Dual Mold Package, please refer to the following document (available upon request): Application Note Hall Sensors in Dual Mold Packages – (Doc#: 390110000001) For more information on the lead free topic please see quality page at our website: http://www.melexis.com/quality.aspx 18. ESD Precautions Electronic semiconductor products are sensitive to Electro Static Discharge (ESD). Always observe Electro Static Discharge control procedures whenever handling semiconductor products. MLX90366 Rev. 1.0 Page 27 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 19. Package Information 19.1. DMP-4 – Package Outline Dimensions (POD) – Straight Leads MLX90366LVS-xxx-200 MLX90366 Rev. 1.0 Page 28 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 19.2. DMP-4 – Package Outline Dimensions (POD) – Trimmed & Formed Leads [1] MLX90366LVS-xxx-201 MLX90366 Rev. 1.0 Page 29 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 19.3. DMP-4 – Package Outline Dimensions (POD) – Trimmed & Formed Leads [2] MLX90366LVS-xxx-203 MLX90366 Rev. 1.0 Page 30 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 19.4. DMP-4 - Marking 366ADS2 Mxxxxx XyXz yyww Line 1: MLX project code (e.g. 366ADS2 for MLX90366LVS-ADS-2xx) Line 2: Lotnumber Line 3: Last 4 characters assembly lotnumber Line 4: 2 digit year code – 2 digit week code 3x 100nF 1x 10nF Pin 4 Pin 1 MLX90366 Rev. 1.0 Page 31 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 19.5. DMP-4 - Sensitive Spot Positioning & Sense direction CW By 4 3 Bx 2 Yc 1 Xc Bx Bz Zc MLX90366 Rev. 1.0 Magnetic center position MLX90366LVS-xxx-2xx Xc 0.23 Yc 3.67 Zc 0.495 Page 32 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT MLX90366 – Reference Angle The MLX90366 is an absolute angular position sensor but the linearity error (See section 9) does not include the error linked to the absolute reference 0 Deg (which can be fixed in the application through the discontinuity point). MLX90366 Rev. 1.0 Page 33 of 34 Datasheet 25/Jun/13 MLX90366 Triaxis Position Sensor Assembly feat. SENT 20. 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 life-support 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. © 2013 Melexis N.V. 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: America: Phone: +32 1367 0495 E-mail: [email protected] Phone: +1 248 306 5400 E-mail: [email protected] ISO/TS 16949 and ISO14001 Certified MLX90366 Rev. 1.0 Page 34 of 34 Datasheet 25/Jun/13