MLX90365 Triaxis Position Sensor IC Datasheet Features and Benefits Absolute Rotary & Linear Position Sensor IC Triaxis(R) Hall Technology Simple Magnetic Design Programmable Transfer Characteristic (MultiPoints - Piece-Wise-Linear) Selectable Output Mode: Analog (Ratiometric) - Pulse Width Modulation (PWM) 12 bit Resolution - 10 bit Thermal Accuracy Open/Short Diagnostics On Board Diagnostics Over-Voltage Protection Under-Voltage Detection 48 bit ID Number option Automotive Temperature Range AEC-Q100 Qualified Single Die - SOIC-8 Package RoHS Compliant Dual Die (Full Redundant) - TSSOP-16 Package RoHS Compliant Thermal Offset correction SOIC-8 TSSOP-16 Applications Absolute Rotary Position Sensor Absolute Linear Position Sensor Pedal Position Sensor Steering Wheel Position Sensor Throttle Position Sensor Float-Level Sensor Ride Height Position Sensor Non-Contacting Potentiometer Description The MLX90365 is a monolithic sensor IC sensitive to the flux density applied orthogonally and parallel to the IC surface. The MLX90365 is sensitive to the three components of the flux density applied to the IC (i.e. B X , B Y and B Z ). This allows the MLX90365 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). It enables the design of novel generation of non-contacting position sensors that are frequently required for both automotive and industrial applications. MLX90365 reports a programmable ratiometric analog output signal compatible with any resistive potentiometer or programmable linear Hall sensor. Through programming, the MLX90365 provides also a digital PWM (Pulse Width Modulation) output characteristic. VDD VDIG Prot. 2V5 Reg DSP Triaxis(R) VX VY VZ RAM MUX G ADC EEPROM Output Stage 12 bit Analog C OUT 12 bit PWM ROM - Firmware VSS MLX90365 Triaxis Position Sensor IC Datasheet Contents Features and Benefits................................................................................................................................ 1 Applications............................................................................................................................................... 1 Description ................................................................................................................................................ 1 1. Ordering Information ............................................................................................................................ 4 2. Functional Diagram ............................................................................................................................... 5 3. Glossary of Terms .................................................................................................................................. 5 4. Pinout .................................................................................................................................................... 6 5. Absolute Maximum Ratings ................................................................................................................... 7 6. Electrical Specification ........................................................................................................................... 8 7. Isolation Specification.......................................................................................................................... 10 8. Timing Specification............................................................................................................................. 11 ANALOG OUTPUT .................................................................................................................................... 11 PWM OUTPUT .......................................................................................................................................... 12 9. Accuracy Specification ......................................................................................................................... 13 9.1. ANALOG OUTPUT .............................................................................................................................. 13 9.2. PWM OUTPUT ................................................................................................................................... 14 10. Magnetic Specification ...................................................................................................................... 17 11. CPU & Memory Specification............................................................................................................. 17 12. Traceability Information .................................................................................................................... 17 13. End-User Programmable Items.......................................................................................................... 18 14. Description of End-User Programmable Items................................................................................... 20 14.1. Output modes ................................................................................................................................. 20 14.1.1. OUT mode ................................................................................................................................. 20 14.1.2. PWM Output Mode .................................................................................................................. 21 14.2. Output Transfer Characteristic ...................................................................................................... 21 14.2.1. Enable scaling Parameter (only for LNR type 4 pts) ............................................................... 22 14.2.2. CLOCKWISE Parameter ............................................................................................................. 23 14.2.3. Discontinuity Point (or Zero Degree Point) ............................................................................. 23 14.2.4. 4-Pts LNR Parameters ............................................................................................................... 23 14.2.5. 17-Pts LNR Parameters ............................................................................................................. 24 14.2.6. CLAMPING Parameters............................................................................................................. 25 TH REVISION 5.8 - DEC, 22 2016 REVISION 5.8 - DEC, 22th 2016 Page 2 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 14.2.7. Thermal Ouput Offset correction Specific to ABE version ..................................................... 25 14.3. Identification ................................................................................................................................... 27 14.4. Lock.................................................................................................................................................. 27 14.5. Sensor Front-End ............................................................................................................................ 27 14.5.1. MAPXYZ ..................................................................................................................................... 28 14.5.2. SMISM, k and SEL_k Parameters ............................................................................................. 28 14.5.3. GAINMIN and GAINMAX Parameters ...................................................................................... 28 14.6. Filter ................................................................................................................................................ 29 14.6.1. Hysteresis Filter ........................................................................................................................ 29 14.6.2. FIR Filters ................................................................................................................................... 29 14.7. Programmable Diagnostic Settings ................................................................................................ 30 14.7.1. DIAG mode ................................................................................................................................ 30 14.7.2. DIAG Level ................................................................................................................................. 30 14.7.3. Field Strength Diagnostic ......................................................................................................... 30 14.7.4. PWM Diagnostic ....................................................................................................................... 30 14.7.5. Diagnostic Features .................................................................................................................. 31 14.8. EEPROM endurance........................................................................................................................ 31 15. Self Diagnostic ................................................................................................................................... 31 16. Recommended Application Diagrams ................................................................................................ 35 16.1. MLX90365 in SOIC-8 Package ........................................................................................................ 35 16.2. MLX90365 in TSSOP-16 Package.................................................................................................... 36 17. Standard information regarding manufacturability of Melexis products with different soldering processes............................................................................................................................................ 38 18. ESD Precautions................................................................................................................................. 38 19. Package Information.......................................................................................................................... 39 19.1. SOIC-8 - Package Dimensions ......................................................................................................... 39 19.2. SOIC-8 - Pinout and Marking .......................................................................................................... 40 19.3. SOIC-8 - Sensitive spot positioning ................................................................................................ 40 19.4. TSSOP-16 - Package Dimensions .................................................................................................... 42 19.5. TSSOP-16 - Pinout and Marking ..................................................................................................... 43 19.6. TSSOP-16 - Sensitive spot positioning ........................................................................................... 43 20. Disclaimer .......................................................................................................................................... 45 21. Contact .............................................................................................................................................. 45 TH REVISION 5.8 - DEC, 22 2016 Page 3 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 1. Ordering Information Product Code Temperature Code Package Code Option Code Packing Form Code MLX90365 E DC ABD-000 RE MLX90365 E GO ABD-000 RE MLX90365 K DC ABD-000 RE MLX90365 K GO ABD-000 RE MLX90365 L DC ABD-000 RE MLX90365 L GO ABD-000 RE MLX90365 L DC ABD-200 RE MLX90365 L DC ABE-000 RE MLX90365 L GO ABE-000 RE Legend: Temperature Code: E: from -40 Deg.C to 85 Deg.C K: from -40 Deg.C to 125 Deg.C L: from -40 Deg.C to 150 Deg.C Package Code: "DC" for SOIC-8 package "GO" for TSSOP-16 package (dual die) Option Code: ABD-xxx: die version XXX-000 - Standard XXX-200 - Preprogrammed - See section End-User Programmable Items Packing Form: "RE" for Reel "TU" for Tube Ordering Example: MLX90365EDC-ABD-000-RE Table 1 - Legend TH REVISION 5.8 - DEC, 22 2016 Page 4 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 2. Functional Diagram VDD VDIG Prot. 2V5 Reg DSP Triaxis VX VY VZ RAM MUX (R) G ADC EEPROM Output Stage 12 bit Analog C OUT 12 bit PWM ROM - Firmware VSS Figure 1 - Block Diagram 3. Glossary of Terms Gauss (G), Tesla (T) TC NC ADC LSB MSB DNL INL RISC ASP DSP ATAN IMC CoRDiC EMC FE RE FW HW PWM %DC Units for the magnetic flux density - 1 mT = 10 G Temperature Coefficient (in ppm/Deg.C.) Not Connected Analog-to-Digital Converter Least Significant Bit Most Significant Bit Differential Non-Linearity Integral Non-Linearity Reduced Instruction Set Computer Analog Signal Processing Digital Signal Processing Trigonometric function: arctangent (or inverse tangent) Integrated Magneto-Concentrator (IMC(R)) Coordinate Rotation Digital Computer (i.e. iterative rectangular-to-polar transform) Electro-Magnetic Compatibility Falling Edge Rising Edge Firmware Hardware Pulse Width Modulation Ratio Ton / Tperiod where Ton is the high state duration and Tperiod is the duration of 1 TH REVISION 5.8 - DEC, 22 2016 Page 5 of 45 MLX90365 Triaxis Position Sensor IC Datasheet pwm period Digital to Analog Converter DAC MT3V More than 3V Condition (when VDD >3V with 0.1V hysteresis) MT4V More than 4V Condition (when VDD <4V with 0.1V hysteresis) LSD PP Low Side Driver = Open drain N Push-Pull Table 2 - Glossary of Terms 4. Pinout PIN SOIC-8 TSSOP-16 1 VDD VDIG 1 2 Test 0 VSS 1 (Ground 1 ) 3 Test 2 VDD 1 4 Not Used Test 0 1 5 OUT Test 2 2 6 Test 1 OUT 2 7 VDIG Not Used 2 8 VSS (Ground) Test 1 2 9 VDIG 2 10 VSS 2 (Ground 2 ) 11 VDD 2 12 Test 0 2 13 Test 2 1 14 Not Used 1 15 OUT 1 16 Test 1 1 For optimal EMC behavior, it is recommended to connect the unused pins (Not Used and Test) to the Ground (see section 16). TH REVISION 5.8 - DEC, 22 2016 Page 6 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 5. Absolute Maximum Ratings Parameter Value 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, T A - 40C ... + 150 Deg.C Storage Temperature Range, T S - 40C ... + 150 Deg.C Magnetic Flux Density 1T Exceeding the absolute maximum ratings may cause permanent damage. Exposure to absolute maximumrated conditions for extended periods may affect device reliability. TH REVISION 5.8 - DEC, 22 2016 Page 7 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 6. Electrical Specification Parameter Symbol Nominal Supply Voltage (1) IDD Isurge Current(3) Isurge Power-On reset Hysteresis Min Typ Max Units 4.5 5 5.5 V Power saving Enabled 6 10(2) Power saving Disabled 8 12 VDD Supply Current Power-On reset ( rising ) Test Conditions HPOR_LH Refer to internal voltage Vdig 2 HPOR_Hyst 50 MT4V LH 3.8 Start-up Hysteresis MT4V Hyst 50 PTC Entry Level ( rising ) MT7V_LH 5.8 Start-up Level ( rising ) PTC Entry Level Hysteresis I short Output Load Analog RL Output Load PWM R L_PWM Analog Saturation Output Level Vsat_lo Vsat_hi 4.0 6.2 50 MT7V_Hyst Output Short Circuit Current 2.25 mA 20 mA 2.5 V 200 mV 4.2 V 200 mV 6.6 V 200 mV Vout = 0 V 15 mA Vout = 5 V 15 mA Vout = 18 V (T A = 25C) 18 mA Pull-down to Ground 4.7 10 k Pull-up to 5V 4.7 10 k Pull-down to Ground 1 k Pull-up to 5V 1 k Pull-up load R L 10 k to 5 V 0.5 2 Pull-up load R L 5 k to 18V 2 3 Pull-down load R L 5 k 95 97 Pull-down load R L 10 k 97.5 98.5 %VDD %VDD 1 For the dual version, the supply current is multiplied by 2. 2 To reach 10mA, the power saving option should be enabled. This option switches off and on internal blocks dynamically. It can be disabled in case of extreme emission requirements or if an analog output is required with a resistor on either supply or output line. 3 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. TH REVISION 5.8 - DEC, 22 2016 Page 8 of 45 MLX90365 Triaxis Position Sensor IC Datasheet Parameter Symbol Digital Saturation Level Open drain Output Vo_min (R L_PWM to VPU(4)) Active Diagnostic Output Level Dsat_lo Digital Saturation Output Level Dsat_hi Test Conditions Min Pull-up load R L_PWM = 1 k to 5V 98 Pull-up load R L_PWM = 1 k to 14V 95 Pull-up load R L_PWM = 1 k to 18V 90 Pull-up load R L_PWM < 5.6 k to 5V 96 Pull-up load R L_PWM < 5.6 k to 14V 85 Pull-up load R L_PWM < 5.6 k to 18V 73 Typ Max Units %VPU(4) Pull-up load R L 10 k to 5 V 0.5 2 Pull-up load R L 5 k to 18V 2 3 Pull-down load R L 5 k 95 97 Pull-down load R L 10 k 97.5 98.5 %VDD %VDD Broken VSS & (6) BVSSPD Passive Diagnostic Output Level BVSSPU (Broken Track Diagnostic) (5) BVDDPD BVDDPU Clamped Output Level Pull-down load R L 5 k 95 Pull-down load R L 10 k 97.5 Broken VSS & Pull-up load R L 1k 99.5 Broken VDD & %VDD 100 0 Pull-down load R L 1k Broken VDD & Pull-up load R L 5k %VDD 0.5 %VDD 2 %VDD Clamp_lo Programmable 0 100 %VDD (7) Clamp_hi Programmable 0 100 %VDD (7) As an illustration of the previous table, the MLX90365 fits the typical classification of the output span described on the Figure 2. 4 V PU being the pull-up voltage connected externally to the output through the pull-up resistor 5 For detailed information on diagnostics, see also section Self Diagnostic 6 In case the dual-die variant is used BVssPD level can be influenced. Refer to Technical note MLX90365_Broken_Vss_DualDie 7 Clamping levels need to be considered vs the saturation of the output stage (see Vsat_lo and Vsat_hi) TH REVISION 5.8 - DEC, 22 2016 Page 9 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 100 % 90 % 96 % 92 % 88 % Diagnostic Band (High) Clamping High 80 % Output Level 70 % 60 % Linear Range 50 % 40 % 30 % 20 % 10 % 0% 12 % 8% 4% Clamping Low Diagnostic Band (Low) Figure 2 - Example of Output Span Classification for typical application 7. Isolation Specification DC Operating Parameters at Nominal Supply Voltage (unless otherwise specified) and for T A as specified by the Temperature suffix (E or K or L). Only valid for the package code GO i.e. dual die version. Parameter Symbol Isolation Resistance Test Conditions Between dice TH REVISION 5.8 - DEC, 22 2016 Min 4 Typ Max Units M Page 10 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 8. Timing Specification ANALOG OUTPUT DC Operating Parameters at Nominal Supply Voltage (unless otherwise specified) and for TA as specified by the Temperature suffix (E or K or L). Parameter Symbol Main Clock Frequency Ck Main Clock Frequency Thermal Drift TCk Refresh Rate tper Step Response Time Ts Watchdog Twd Start-up Cycle Tsu Analog OUT Slew-rate Test Conditions Min Typ Max Units All contributors included thermal drift 12.6 13.3 14 MHz 3% CkNOM 290 305 s 657(9) 896 Filter=1 876 1195 Filter=2 1095 1494 118 121.5 ms 5 ms 275 Filter=0(8) 114.5 Analog OUT Slew-rate excluded Mode 1 25 37 300 320 17 19 1.8 2.5 s from COUT = 47 nF to 330 nF Mode 2 up to COUT = 10 nF Mode 3 V/ms up to COUT = 47 nF Mode 4 up to COUT = 330 nF 8 See section 14.6 for details concerning Filter parameter 9 This represents a theoretical average response time TH REVISION 5.8 - DEC, 22 2016 Page 11 of 45 MLX90365 Triaxis Position Sensor IC Datasheet PWM OUTPUT DC Operating Parameters at Nominal Supply Voltage VDD specified by the Temperature suffix L. Parameter Symbol PWM Frequency F PWM = VPU (unless otherwise specified) and for T A as Test Conditions Min Programmable Range 100 Typ Max Units 1000 Hz Initial Tolerance (25 Deg.C.) 2% FPWM After EOL tuning (25 Deg.C.) 1% FPWM Thermal/Lifetime drift 3% FPWM ms (PWM Output Enabled) Start-up Cycle Tsu Digital Output Rise Time PWM OUT Slew-rate excluded 100Hz 11.8 13 250Hz 5.8 7 1000Hz 5.8 7 4.7nF, R L = 1 k PU 10 12 s 4.7nF, R L = 10 k PU 100 120 s 10nF, R L = 1 k PU 20 24 s 4.7nF, R L = 1 k PU 3 5 s 4.7nF, R L = 10 k PU 3 5 s 10nF, R L = 1 k PU 4 7 s 4.7nF, R L = 1 k PU 2 3 s 4.7nF, R L = 10 k PU 2 3 s 10nF, R L = 1 k PU 4 7 s 4.7nF, R L = 1 k PU 2 3 s 4.7nF, R L = 10 k PU 2 3 s 10nF, R L = 1 k PU 4 7 s LSD - Mode 5 PP - Mode 7 Digital Output Fall Time LSD - Mode 5 PP - Mode 7 TH REVISION 5.8 - DEC, 22 2016 Page 12 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 9. Accuracy Specification 9.1. ANALOG OUTPUT DC Operating Parameters at Nominal Supply Voltage (unless otherwise specified) and for T A as specified by the Temperature suffix (E or K or L). Parameter Symbol ADC Resolution on the raw signals sine and cosine(10) Test Conditions Min RADC Typ Max 15 bits Thermal Offset Drift #1(11) Temperature suffix E -60 +60 at the DSP input (excl. DAC and output stage) Temperature suffix K -60 +60 Temperature suffix L -90 +90 -0.2 +0.2 XY axis - Temp. suffix E - 0.3 + 0.3 XY axis - Temp.suffix K & L - 0.5 + 0.5 XZ (YZ) axis - Temp. suffix E -1 +1 XZ (YZ) axis - Temp. suffix K & L -1 +1 T A = 25C - XY axis -0.3 0.3 T A = 25C - XZ axis -2 2 T A = 25C - YZ axis -2 2 Thermal Offset Drift #2 (DAC and Output Stage) Thermal Drift of Sensitivity Mismatch(12) Magnetic Angle phase error Thermal Drift of Magnetic Angle phase error XY axis, XZ (YZ) axis XY - Intrinsic Linearity Error(13) Le TA = 25C - factory trim. "SMISM" XZ - Intrinsic Linearity Error(13) Le T A = 25C - "k" trimmed for XZ 0.01 -1 -2.5 LSB 15 %VDD % Deg. Deg. 1 1.2 5 Units +2.5 Deg Deg 10 16 bits corresponds to 15 bits + sign. Internal computation is performed using 16 bits. 11 For 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. 12 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). 13 The Intrinsic Linearity Error refers to the IC itself (offset, sensitivity mismatch, orthogonality) taking into account an ideal rotating field for BX and B Y. 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. TH REVISION 5.8 - DEC, 22 2016 Page 13 of 45 MLX90365 Triaxis Position Sensor IC Datasheet Parameter Symbol YZ - Intrinsic Linearity Error(13) Analog Output Resolution Le RDAC Test Conditions Min Typ Max T A = 25C - "k" trimmed for YZ -2.5 1.2 5 +2.5 12b DAC (Theoretical, Noise free) 0.02 5 INL (before EOL calibration) DNL -4 0.05 Deg %VDD/L SB12 +4 LSB12 1 3 LSB12 %VDD Output stage Noise Clamped Output 0.05 0.075 Noise pk-pk(14) Filter = 0, 40mT 0.10 0.2 Filter = 2, 20mT 0.10 0.2 Ratiometry Error Units 4.5V VDD 5.5V -0.05 +0.05 LT4V VDD MT7V -0.1 +0.1 Deg %VDD 9.2. PWM OUTPUT DC Operating Parameters at VDD Temperature suffix L. Parameter = VPU = 5V (unless otherwise specified) and for T A as specified by the Symbol PWM Output Resolution RPWM Test Conditions 12 bits Min Typ Max 0.025 Units %DC/ LSB PWM % DC Jitter JDC LSD - Mode5 100Hz, 4.7nF, RL = 1 k PU 0.003 0.016 200Hz, 4.7nF, RL = 1 k PU 0.005 0.02 1000Hz, 4.7nF, RL = 1 k PU 0.009 0.035 %DC PP - Mode7 100Hz, 4.7nF, RL = 1 k PU 0.003 0.016 200Hz, 4.7nF, RL = 1 k PU 0.005 0.02 1000Hz, 4.7nF, RL = 1 k PU 0.009 0.035 14 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.6). TH REVISION 5.8 - DEC, 22 2016 Page 14 of 45 MLX90365 Triaxis Position Sensor IC Datasheet Parameter Symbol PWM Freq Jitter JPWM Test Conditions Min Typ Max 0.04 0.15 Units LSD - Mode5 100-1000 Hz, 4.7nF, R L = 1 k PU Hz PP - Mode7 0.04 0.15 100Hz, 4.7nF, R L = 1 k PU 0.02 0.03 200Hz, 4.7nF, RL = 1 k PU 0.02 0.03 1000Hz, 4.7nF, R L = 1 k PU 0.02 0.05 100-1000 Hz, 4.7nF, R L = 1 k PU PWM % DC thermal drift LSD - Mode5 %DC PP - Mode7 PWM % DC Level drift 100Hz, 4.7nF, R L = 1 k PU 0.02 0.03 200Hz, 4.7nF, RL = 1 k PU 0.02 0.03 1000Hz, 4.7nF, R L = 1 k PU 0.02 0.05 0.1 0.15 LSD - Mode5 100Hz, 4.7nF, R L = 1 k PU (Trigger level= 25/50/75%) %DC PP - Mode7 100Hz, 4.7nF, R L = 1 k PU PWM % DC Level drift 100Hz - PP 0.05 0.1 0.05 0.1 Application Diagram (see below) Rs = 0, 50, 100, 150 Ohm %DC Tolerance on R 20% Tolerance on C 30% Jitter is defined by 3 for 1000 successive acquisitions with clamped output, see figure below. TH REVISION 5.8 - DEC, 22 2016 Page 15 of 45 MLX90365 Triaxis Position Sensor IC Datasheet %Duty Cycle = TON / TPWM %DC Jitter = JDC = JON / TPWM TPWM Output (V) TON Jitter on TON = JON Jitter on TPWM = JPWM Time (s) Symbol Parameter TON PWM TON, TPWM TPWM Test Conditions Trigger level = 50 % Vpp 10% and 90% of amplitude Rise time, Fall time JON Jitter JPWM Duty Cycle % DC 3 for 1000 successive acquisitions TON / TPWM Figure 3 - MLX90365 PWM measurement conditions. TH REVISION 5.8 - DEC, 22 2016 Page 16 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 10. Magnetic Specification DC Operating Parameters at Nominal Supply Voltage (unless otherwise specified) and for TA as specified by the Temperature suffix (E or K or L). Parameter Symbol Magnetic Flux Density BX, BY Magnetic Flux Density BZ Magnetic Flux Norm IMC Gain in X and Y (18) IMC Gain in Z (18) (15) Norm Test Conditions 2 [ B X 2 + B Y 2 + (B z /1.2)2 ] GainIMC X Magnet Temperature Coefficient TCm Units 70(16) mT 126 mT mT 1.4 1.1 GainIMC XY / GainIMC Z Max 20(17) 1.2 Y k Typ [ B X + B Y ] GainIMC Z k factor Min 2 1 1.8 1.3 1.2 1.5 -2400 0 ppm/C 11. 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 12. Traceability Information Every device contains a unique ID that is programmed by Melexis in the EEPROM. Melexis strongly recommends storing this value during the EOL (End-Of-Line) programming to ensure full traceability of the final product. 15 The condition must be fulfilled for at least one field BX or BY. (R) Above 70 mT, the IMC starts saturating yielding to an increase of the linearity error. 17 Below 20 mT, the performances slightly degrade due to a reduction of the signal-to-noise ratio, signal-to-offset ratio. 18 This is the magnetic gain linked to the Integrated Magneto Concentrator structure. 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. 16 TH REVISION 5.8 - DEC, 22 2016 Page 17 of 45 MLX90365 Triaxis Position Sensor IC Datasheet These parameters shall never be erased during the EOL programming. Default Values Parameter # bit Melexis identification reference MLX 16 MELEXISID2 Melexis identification reference MLX 16 MELEXISID3 Melexis identification reference MLX 16 Parameter Comments MELEXISID1 13. End-User Programmable Items Parameter Comments Standard PPAR # bit OUT mode Define the output stage mode 1 1 3 DIAG mode Diagnostic mode 7 7 3 DIAG Level Diagnostic Level 0 0 1 MAPXYZ Mapping fields for output angle 0 0 2 CLAMP_HIGH Clamping High (50%) 50% 10% 16 CLAMP_LOW Clamping Low (50%) 50% 90% 16 FILTER Filter mode selection 0 1 2 SMISM Sensitivity mismatch factor X,Y MLX MLX 15 k Sensitivity mismatch factor X (Y) , Z MLX N/A 15 SEL_k Affected signal component by k: B1 or B2 (in combination of MAPXYZ) 0 0 1 GAINMIN Low threshold for virtual gain 00h 00h 8 GAINMAX High threshold for virtual gain 28h 28h 8 GAINSATURATION Gain Saturates on MIN and MAX 0h 0h 1 FIELDTHRESH_Low Field limit under which a fault is reported 10mT 10mT 8 FIELDTHRESH_High Field limit above which a fault is reported FFh FFh 8 PWM PWM function 0h N/A 1 PWMPOL PWM polarity 0h N/A 1 PWMT PWM Frequency (trimmed at 200Hz) MLX N/A 8 DC_FAULT PWM Duty Cycle if Fault 1h N/A 8 TH REVISION 5.8 - DEC, 22 2016 Page 18 of 45 MLX90365 Triaxis Position Sensor IC Datasheet Parameter Comments Standard PPAR # bit DC_FTL PWM Duty Cycle if Field Strength Too Low 1h N/A 8 DC_WEAK PWM Duty Cycle if Weak Magnet 1h N/A 8 WEAKMAGTHRESH Weak Magnet threshold Byte (1LSB = 1mT) 0h N/A 8 DP Discontinuity point 0h 0h 15 CW Clock Wise 0h 0h 1 FHYST Hysteresis filter 0h 0h 8 4POINTS Selection of correction method 4 or 16 pts 1h 1h 1 LNR_S0 4pts - Initial Slope 0 %/deg 0 %/deg 16 LNR_A_X 4pts - AX Coordinate 0 deg 0 deg 16 LNR_A_Y 4pts - AY Coordinate 10 % 10 % 16 LNR_A_S 4pts - AS Coordinate LNR_B_X 4pts - BX Coordinate 360 deg 360 deg 16 LNR_B_Y 4pts - BY Coordinate 100% 100% 16 LNR_B_S 4pts - BS Coordinate 0 %/deg 0 %/deg 16 LNR_C_X 4pts - CX Coordinate 360 deg 360 deg 16 LNR_C_Y 4pts - CY Coordinate 100% 100% 16 LNR_C_S 4pts - CS Coordinate 0 %/deg 0 %/deg 16 LNR_D_X 4pts - DX Coordinate 360 deg 360 deg 16 LNR_D_Y 4pts - DY Coordinate 100% 100% 16 LNR_D_S 4pts - DS Coordinate 0 %/deg 0 %/deg 16 W 17pts - Output angle range 0h N/A 4 USERID1 Cust. ID reference Bin1 Bin1 16 USERID2 Cust. ID reference 204h 3h 16 USERID3 Cust. ID reference MLX MLX 16 LNR_Yn 17pts - Y-coordinate point n (n = 2,1,2 ...16) N/A N/A 16 DIAG Settings 16 Bit Diagnostics enablling FDFFh 4080h 16 CRC_DISABLE Enable EERPOM CRC check ( 3131h= disable) 0h 0h 16 TH REVISION 5.8 - DEC, 22 2016 0.22%/deg 0.22%/deg 16 Page 19 of 45 MLX90365 Triaxis Position Sensor IC Datasheet Parameter Comments Standard PPAR # bit MEMLOCK Write-protects USER/MLX EEPROM param. 0h 3h 2 ANGLEOFSSLOPECOLD Temperature coefficient offset at cold temperatures 0h N/A 8 0h N/A 8 For ABE only ANGLEOFSSLOPEHOT Temperature coefficient offset at hot temperatures For ABE only Melexis strongly recommends checking the User Identification data (Parameters USERID) during EOL programming. 14. Description of End-User Programmable Items 14.1. Output modes 14.1.1. OUT mode Defines the Output Stage mode (analog, digital, high-impedance, standby) in application. Output mode[2:0] Type Descriptions Comments 0 Disable Output HiZ Not recommended 1 Analog Analog Rail-to-Rail for Coutmin = 47nF Analog Only (Default) 2 Analog Analog Rail-to-Rail for Coutmax = 10nF Analog Only 3 Analog Analog Rail-to-Rail for Coutmax = 68nF Analog Only 4 Analog Analog Rail-to-Rail for Coutmax = 330nF Analog Only 5 Digital open drain NMOS PWM 6 Digital open drain PMOS PWM 7 Digital Push-Pull PWM TH REVISION 5.8 - DEC, 22 2016 Page 20 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 14.1.2. PWM Output Mode If PWM output mode is selected, the output signal is a digital signal with Pulse Width Modulation (PWM). The PWM polarity is selected by the PWMPOL parameter: PWMPOL = 1 for a low level at 100% PWMPOL = 0 for a high level at 100% The PWM frequency is selected by the PWMT parameter. The following table provides typical code for different target PWM frequency and for both low and high speed modes. PWM F (Hz) PWMT (LSB) @13.3MHz PWM res. (s) PWM res. (%) PWM res. (bit) 100 44333 0.240 0.0024 15 250 17733 0.240 0.006 14 500 8866 0.240 0.012 13 1000 4433 0.240 0.024 12 Notes: A more accurate trimming can be performed to take into account initial tolerance of the main clock. The PWM frequency is subjected to the same tolerances as the main clock (see TCk). 14.2. Output Transfer Characteristic There are 2 different possibilities to define the transfer function (LNR): With 4 arbitrary points (defined on X and Y coordinates) and 5 slopes With 17 equidistant points for which only the Y coordinates are defined. TH REVISION 5.8 - DEC, 22 2016 Page 21 of 45 MLX90365 Triaxis Position Sensor IC Datasheet Parameter LNR type Value CLOCKWISE Both DP Both 0 ... 359.9999 deg Only 4 pts 0 ... 359.9999 deg Only 4 pts 0 ... 100 % Only 4 pts -17 ... 0 ... 17 %/deg Only 17 pts -50 ... + 150 % W Only 17 pts 65.5 ... 360 Deg CLAMP_LOW Both 0 ... 100 % CLAMP_HIGH Both 0 ... 100 % ANGLEOFSSLOPECOLD Only ABE 0..255 LSB ANGLEOFSSLOPEHOT Only ABE 0..255 LSB 0 CounterClockWise 1 ClockWise Unit LSB LNR_A_X LNR_B_X LNR_C_X LNR_D_X LNR_A_Y LNR_B_Y LNR_C_Y LNR_D_Y LNR_S0 LNR_A_S LNR_B_S LNR_C_S LNR_D_S LNR_Y0 LNR_Y1 ... LNR_Y16 14.2.1. Enable scaling Parameter (only for LNR type 4 pts) This parameter enables to scale LNR_x_Y from -50% - 150% according to the following formula (Scaled Out)%VDD = 2 x Out%VDD - 50% TH REVISION 5.8 - DEC, 22 2016 Page 22 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 14.2.2. CLOCKWISE Parameter The CLOCKWISE parameter defines the magnet rotation direction. * CCW is the defined by the 1-4-5-8 pin order direction for the SOIC-8 package and 1-8-9-16 pin order direction for the TSSOP-16 package. * CW is defined by the reverse direction: 8-5-4-1 pin order direction for the SOIC-8 and 16-9-8-1 pin order direction for the TSSOP-16 package. Refer to the drawing in the sensitive spot positioning sections (Section 19.3 and 19.6). 14.2.3. 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 4 - Discontinuity Point Positioning 14.2.4. 4-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 MLX90365 transfer function from the digital angle value to the output voltage is described by the drawing below. Six segments can be programmed but the clamping levels are necessarily flat. Two, three, or even six calibration points are then available, reducing the overall non-linearity of the IC by almost an order of magnitude each time. Three to six calibration points will be preferred by customers looking for excellent non-linearity figures. Two-point calibrations will be preferred by customers looking for a cheaper calibration set-up and shorter calibration time. TH REVISION 5.8 - DEC, 22 2016 Page 23 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 100% CLAMPHIGH Clamping High D LNR_D_Y C LNR_C_Y B LNR_B_Y A LNR_A_Y Slope LNR_C_S Slope LNR_B_S Slope LNR_A_S Slope LNR_S0 CLAMPLOW 0% LNR_A_X 0 (Deg.) Slope LNR_D_S Clamping Low LNR_B_X LNR_C_X LNR_D_X 360 (Deg.) Figure 5 - 4-Pts LNR Parameters 14.2.5. 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 MLX90365 transfer function from the digital angle value to the output voltage is described by the drawing below. In the 17-Pts mode, the output transfer characteristic is Piece-Wise-Linear (PWL). LNR_Y16 100% CLAMPHIGH Clamping High LNR_Y15 ... LNR_Y14 LNR_Y2 LNR_Y1 CLAMPLOW 0% 0 (Deg.) LNR_Y0 Clamping Low x x ... x x 360 (Deg.) (360-W)/2 (360-W)/2 W = range from 65.5 Deg. up to 360 Deg. 360 - W 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 6), but the output value is limited to CLAMPLOW and CLAMPHIGH values. TH REVISION 5.8 - DEC, 22 2016 Page 24 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 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: W Range x W Range x 0 (0000b) 360.0deg 22.5deg 8 180.0deg 11.3deg 1 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.2.6. CLAMPING Parameters The clamping levels are two independent values to limit the output voltage range. The CLAMPLOW parameter adjusts the minimum output voltage level. The CLAMPHIGH parameter sets the maximum output voltage level. Both parameters have 16 bits of adjustment and are available for both LNR modes. In analog mode, the resolution will be limited by the D/A converter (12 bits) to 0.024%VDD. In PWM mode, the resolution will be 0.024%DC. 14.2.7. Thermal Ouput Offset correction Specific to ABE version On the version ABE, the two parameters ANGLEOFSSLOPEHOT and ANGLEOFSSLOPECOLD, defined in the section 13, enable to add, to the ouput an offset depending on the measured temperature depicted in the Figure 7. TH REVISION 5.8 - DEC, 22 2016 Page 25 of 45 MLX90365 Triaxis Position Sensor IC Datasheet Thermal compensation offset +5.63% full span ANGLEOFSSLOPEHOT 0 Temperature (degree) ANGLEOFSSLOPECOLD -3.37% full span 35 -40 160 Figure 7 - Input range from -40 up to 150 The thermal offset is added before the clamping (see section 14.2.6). The span of this offset is +5.63/-3.37% of the full output scale. The added thermal offset varies with temperature see the equation below and the thermal coefficient is defined separately before (used coefficient ANGLEOFSSLOPECOLD) and after 35C (used coefficient ANGLEOFSSLOPEHOT). If temperature is higher than 35C then: output <= output - T * ANGLEOFSSLOPEHOT If temperature is lower than 35C then: output <= output - T * ANGLEOFSSLOPECOLD Where output is the calculated output adjusted by the thermal correction offset T * ANGLEOFSSLOPECOLD. Where T is the difference between current temperature and reference temperature 35degreeC. The output correction capability at hot and room (extreme temperature and maximum value of ANGLEOFSSLOPEHOT and ANGLEOFSSLOPECOLD) are given in the table below. Parameter min typ max Unit Output correction correction capability at 5% 5.62% of Full span 3.09% -3.372% of Full span 160DegC Output correction correction capability at -40DegC TH REVISION 5.8 - DEC, 22 2016 Page 26 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 14.3. Identification Parameter Value MELEXISID1 0...65535 MELEXISID2 0...65535 MELEXISID3 0...65535 USERID1 0...65535 USERID2 0...65535 USERID3 0...65535 Identification number: 48 bits (3 words) freely useable by Customer for traceability purpose. 14.4. Lock The MEMLOCK write protects all the EEPROM parameters set by the Melexis and user. Once the lock is enabled, it is not possible to change the EEPROM values anymore. Note that the Memlock bits should be set by the solver function "MemLock". 14.5. Sensor Front-End Parameter Value MAPXYZ 0 .. 3 SMISM 0 .. 32768 k 0 .. 32768 SEL_k 0 or 1 GAINMIN 0 ... 41 GAINMAX 0 ... 41 GAINSATURATION 0.. 1 TH REVISION 5.8 - DEC, 22 2016 Page 27 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 14.5.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 bits value selects the first (B1) and second (B2) field components according the table below. MAPXYZ B1 B2 Angular 0 - 00b X Y XY mode 1 - 01b Zx X XZx mode 2 - 10b Y Zx YZx mode Note: MAPXYZ = 3 is not recommended. 14.5.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 overwrite it for optimal performances. (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.5.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 applies before the diagnostic check. TH REVISION 5.8 - DEC, 22 2016 Page 28 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 14.6. Filter Parameter Value Parameter FILTER 0...2 FILTER FHYST 0...255 FHYST The MLX90365 includes 2 types of filters: Hysteresis Filter: programmable by the FHYST parameter Low Pass FIR Filters controlled with the FILTER parameter 14.6.1. Hysteresis Filter The FHYST parameter is a hysteresis filter. The output value of the IC is not updated when the digital step is smaller than the programmed FHYST parameter value. The output value is modified when the increment is bigger than the hysteresis. The hysteresis filter reduces therefore the resolution to a level compatible with the internal noise of the IC. The hysteresis must be programmed to a value close to the noise level. (1 LSB = 0.012%) 14.6.2. FIR Filters The MLX90365 features 2 FIR filter modes controlled with Filter = 1...2. Filter = 0 corresponds to no filtering. The transfer function is described below: yn = j 1 j a i =0 a x i =0 i n -i i The filters characteristic is given in the following table: Filter 0 1 2 J No 0 1 3 Type Disable Finite Impulse Response 1 11 1111 No filter ExtraLight Light 99% Response Time 1 2 4 Efficiency RMS (dB) 0 3.0 6.0 Coefficients ai Title TH REVISION 5.8 - DEC, 22 2016 Page 29 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 14.7. Programmable Diagnostic Settings 14.7.1. DIAG mode The Diag mode defines the Output Stage mode in case of diagnostic. DIAG mode [2:0] Type Descriptions Comments 0 Disable Output HiZ Not recommended 5 Digital open drain NMOS 6 Digital open drain PMOS 7 Digital Push-Pull 14.7.2. DIAG Level The Diag level determines the reporting level (diagnostic low, diagnostic high) during start-up (both analog and PWM mode), or during a fault reporting (Only in Analog mode). In PWM mode, the fault reporting level shall in principle be 0 when the leading edge is a rising edge, (resp. 1 for a falling edge) in order to detect the first cycle after start-up. MLX recommends then DIAG Level = PWMPOL. 14.7.3. Field Strength Diagnostic (i) FIELDTHRESHLOW Defines the field strength limit under which a fault is reported. The run-time field strength estimation (FieldStrength) is compared to 28 * FIELDTHRESHLOW. The sensitivity of FIELDTHRESHLOW is typically 1mT/LSB. By default it is programmed to 10mT (ii) FIELDTHRESHHIGH Defines the field strength limit under which a fault is reported. See above for more details. 14.7.4. PWM Diagnostic (i) DC_FAULT Defines the duty-cycle that is outputted in case of diagnostic reporting. (ii) WEAKMAGTHRESH Defines the threshold on the field strength which determines the weak magnet condition; when WEAKMAGTHRESH = 0, there is no reporting of weak magnet condition. TH REVISION 5.8 - DEC, 22 2016 Page 30 of 45 MLX90365 Triaxis Position Sensor IC Datasheet (iii) DC_FTL Defines the duty-cycle that is outputted in case of Field Too Low; the Field Too Low Diagnostic is stronger than the Weak Magnet Diagnostic, from 0% till 255% by steps of (100/256)% (iv) DC_WEAK Defines the duty-cycle that is outputted in case of Weak Magnet, from 0% till 255% by steps of (100/256)% 14.7.5. Diagnostic Features It is recommended to enable the diagnostic features for safety critical applications. Refer to Application_note_Diagnostic_Behavior_90365 for EE_CRC_Enable function description and for Diagnostic features which can be enabled by user. 14.8. EEPROM endurance Although the EEPROM is used for Calibration Data Storage (similarly to an OTPROM), the MLX90365 embedded EEPROM is qualified to guarantee an endurance of minimum 1000 write cycles at 125C for (engineering/calibration purpose). 15. Self Diagnostic The MLX90365 provides numerous self-diagnostic features. Those features increase the robustness of the IC functionality as it will prevent the IC to provide erroneous output signal in case of internal or external failure modes ("fail-safe"). Diagnostic Item Action Effect on Outputs Type Monitoring Rate Reporting Rate Digi HW n/applicable (start-up only) n/applicable (start-up only) Digi HW n/applicable (start-up only) n/applicable (start-up only) n/applicable (start-up only) n/applicable (start-up only) Start-up phase Diagnostics RAM March C10N Test Fail-safe mode ** Diagnostic low/ high ** CPU reset after 120ms Reporting (optional) Watchdog BIST Fail-safe mode ** Diagnostic low/ high ** CPU reset after 120ms Reporting (optional) FieldTooLow, Diagnostic Diagnostic low/high Environ W/ Programmable Threshold ( No Debouncing ) Reporting (optional) &Analog TH REVISION 5.8 - DEC, 22 2016 Page 31 of 45 MLX90365 Triaxis Position Sensor IC Datasheet Diagnostic Item Action Effect on Outputs Type Monitoring Rate Reporting Rate FieldTooHigh Diagnostic Diagnostic low/high Environ w/ Programmable Threshold ( No Debouncing ) Reporting (optional) &Analog n/applicable (start-up only) n/applicable (start-up only) WeakMagnet Diagnostic Diagnostic Diagnostic low/high Environ ( No Debouncing ) Reporting (optional) n/applicable (start-up only) n/applicable (start-up only) Under Voltage Monitoring Start-up on Hold ** Diagnostic low/high Environ n/applicable (start-up only) n/applicable (start-up only) SUPPLYMONI = ** CPU reset after 120ms (MT3VB) OR (MT4VB) Over Voltage Monitoring &Analog PTC entry Output in HighImpedance Environ n/applicable (start-up only) n/applicable (start-up only) Debouncing (programmable) Diagnostic low/high Analog Not applicable n/applicable (start-up only) Digi HW 80 * DTI DIG 80 * DTI DIG Digi HW 16 * DTI DIG 16 * DTI DIG Digi HW 1 * DTI DIG (ABB) 1 * DTI DIG (ABB) 5 * DTI DIG (ABD) 5 * DTI DIG (ABD) MT7V Temperature Sensor Monitor TEMPMONI (19) Reporting (optional) Back-Ground Loop Diagnostics ROM 16bit checksum Fail-safe mode ** Diagnostic low//high ( continuous ) ** CPU reset after 120ms Reporting (optional) RAM Test Fail-safe mode ** Diagnostic low//high ( continuous ) ** CPU reset after 120ms Reporting (optional) EEPROM 8 bit CRC Check Fail-safe mode ** Diagnostic low/high ** CPU reset after 120ms Reporting (optional) (continuous) 19 The temperature monitor can be enabled only if the supply slew rate is higher than 0.5V/ms for slower rise time, please contact Melexis TH REVISION 5.8 - DEC, 22 2016 Page 32 of 45 MLX90365 Triaxis Position Sensor IC Datasheet Diagnostic Item Action Effect on Outputs Type Monitoring Rate Reporting Rate Watchdog CPU reset -- Digi HW 120ms n/a Debouncing (programmable) Diagnostic low/high Environ 5/20 . DTI ANA Reporting (optional) & Analog Debouncing (programmable) Diagnostic low/high Environ Reporting (optional) & Analog Debouncing (programmable) Diagnostic low/high Environ Reporting (optional) & Analog WeakMagnet Diagnostic Debouncing (programmable) Diagnostic low/high Virtual Gain Code Out-ofspec Debouncing (programmable) ( continuous ) DSP Loop Diagnostics ADC Clipping ADCCLIP FieldTooLow, W/ Programmable Threshold FieldTooHigh w/ Programmable Threshold 2/20 . DTI ANA DTIANA x Diag_Debounce_Thresh Diag_Debounce_Stepup Environ 1/20 . DTI ANA 1 . DTIANA Diagnostic low/high Environ 2/20 . DTI ANA Reporting (optional) &Analog DTIANA x Diag_Debounce_Thresh Diag_Debounce_Stepup Saturation (optional) Gain Saturated @ GAINMIN-GAINMAX Environ n/applicable n/applicable & Analog Not a diagnostic Not a diagnostic Debouncing (programmable) Diagnostic low/high Analog 1 . DTI ANA Reporting (optional) HW DTIANA x Diag_Debounce_Thresh Diag_Debounce_Stepup Supply Debouncing (programmable) Diagnostic low/high Environ 1 * DTI ANA Reporting (optional) & Analog DTIANA x Diag_Debounce_Thresh Diag_Debounce_Stepup PTC entry after PTC Debouncing Output in HighImpedance Environ Reporting (optional) [GAINMIN..GAIN MAX] ADC Monitor (Analog to Digital Converter) ADCMONI Under Voltage Monitoring SUPPLYMONI = (MT3VB) OR (MT4VB) Over Voltage Monitoring DTIANA x Diag_Debounce_Thresh Diag_Debounce_Stepup 2/20 . DTI ANA GAINOOS Virtual Gain Code Saturation DTIANA x Diag_Debounce_Thresh Diag_Debounce_Stepup 8/20 * DTI ANA 8/20 * DTI ANA MT7V TH REVISION 5.8 - DEC, 22 2016 Page 33 of 45 MLX90365 Triaxis Position Sensor IC Datasheet Diagnostic Item Action Effect on Outputs Type Temperature Sensor Monitor TEMPMONI Debouncing (programmable) Diagnostic low/high Analog 1 * DTI ANA Temperature > 170degC ( 20) Saturate value used for the compensations to -40degC and +150degC resp. No effect Environ N/A Not a diagnostics Temperature < 60degC ( 20) Monitoring Rate Reporting (optional) & Analog Reporting Rate DTIANA x Diag_Debounce_Thresh Diag_Debounce_Stepup N/A Not a diagnostic Hardware Diagnostics ( continuously checked by dedicated Logic ) Read/Write Access out of physical memory Fail-safe mode ** Write Access to protected area (IO and RAM Words) Fail-safe mode ** Unauthorized Mode Entry Fail-safe mode ** EEPROM Error Correcting Code ( Hamming correction ) (Transparent) Error Correction Diagnostic Low/High Digi HW N/A Immediate Diagnostic N/A Immediate Diagnostic Diagnostic low/high Digi HW N/A N/A Diagnostic low/high Digi HW N/A N/A no effect Digi HW N/A N/A n/a n/a immediate Diagnostic immediate Diagnostic n/a n/a immediate Diagnostic immediate Diagnostic n/a n/a immediate Diagnostic immediate Diagnostic. ** CPU reset after 120ms ** CPU reset after 120ms ** CPU reset after 120ms Hardware Diagnostics ( continuously checked by dedicated Analog circuits ) Broken VSS CPU Reset on recovery Pull down load => Diagnostic High Environ Pull up load => Diagnostic High Broken VDD CPU Reset on recovery Pull down load => Diagnostic Low Environ Pull up load => Diagnostic Low Resistive Cable Test Start-up on Hold TH REVISION 5.8 - DEC, 22 2016 Diagnostic low/high Environ Page 34 of 45 MLX90365 Triaxis Position Sensor IC Datasheet Dimension Min Typ Max Unit DTI ANA 5.7 6.0 6.3 ms DTI DIG 3.9 7.2 10(20) ms Table 3: Timing Specification @13.16 MHz 16. Recommended Application Diagrams 16.1. MLX90365 in SOIC-8 Package R1 VDD 1 VDD C4 C1 MLX90365 8 GND C5 2, 3, 4, 6 VSS Test x Out VDIG C2 5 Output 7 R2 C3 Figure 8 - Recommended wiring for the MLX90365 in SOIC-8 package 20 Output Compact PCB routing EMC robust PCB routing Analog Output Min Typ. Max Min Typ. Max Remarks C1 100 nF 100 nF 1 uF 47 nF 100 nF 1 uF Close to the pin C2 (20) 47 nF 100 nF 330 nF 47 nF 100 nF 330 nF Close to the pin C3 47 nF 100 nF 220 nF 47 nF 100 nF 220 nF Close to the pin C4 - - - 500 pF 1 nF 10 nF Connector Side C5 - - - 500 pF 1 nF 10 nF Connector Side R1 - - - 0 10 33 Increased ratiometry error R2 - - - 10 50 100 Corresponds to 20 output refresh TH REVISION 5.8 - DEC, 22 2016 Page 35 of 45 MLX90365 Triaxis Position Sensor IC Datasheet Output Compact PCB routing EMC robust PCB routing PWM Output Min Typ. Max Min Typ. Max Remarks C1 100 nF 100 nF 1 uF 47 nF 100 nF 1 uF Close to the pin C2 22 nF 4.7 nF 22 nF 2.2 nF 4.7 nF 22 nF Close to the pin C3 47 nF 100 nF 220 nF 47 nF 100 nF 220 nF Close to the pin C4 - - - 500 pF 1 nF 10 nF Connector Side C5 - - - 500 pF 1 nF 2.2 nF Connector Side R1 - - - 0 10 33 Impacts the Voltage on VDD pin R2 - - - 10 50 100 16.2. MLX90365 in TSSOP-16 Package R11 VDD 1 3 VDD1 C14 MLX90365 C11 4,13,16,14 2 GND1 C15 VSS1 Test x1 Out 1 VDIG1 C12 1 15 Output1 R12 R21 VDD 2 C13 11 VDD2 C24 C21 10 GND2 C25 5,7,8,12 VSS2 Test x2 Out 2 VDIG2 C22 6 Output2 R22 9 C23 Figure 9 - Recommended wiring for the MLX90365 in SOIC-8 package TH REVISION 5.8 - DEC, 22 2016 Page 36 of 45 MLX90365 Triaxis Position Sensor IC Datasheet Output Compact PCB routing EMC robust PCB routing Analog Output Min Typ. Max Min Typ. Max Remarks C11, C21 100 nF 100 nF 1 uF 47 nF 100 nF 1 uF Close to the pin C12, C22 47 nF 100 nF 330 nF 47 nF 100 nF 330 nF Close to the pin C13, C23 47 nF 100 nF 220 nF 47 nF 100 nF 220 nF Close to the pin C14, C24 - - - 500 pF 1 nF 10 nF Connector Side C15, C25 - - - 500 pF 1 nF 10 nF Connector Side R11, R21 - - - 0 10 33 Increased ratiometry error R12, R22 - - - 10 50 100 Output Compact PCB routing EMC robust PCB routing PWM Output Min Typ. Max Min Typ. Max Remarks C11, C21 100 nF 100 nF 1 uF 47 nF 100 nF 1 uF Close to the pin C12, C22 22 nF 4.7 nF 22 nF 2.2 nF 4.7 nF 22 nF Close to the pin C13, C23 47 nF 100 nF 220 nF 47 nF 100 nF 220 nF Close to the pin C14, C24 - - - 500 pF 1 nF 10 nF Connector Side C15, C25 - - - 500 pF 1 nF 2.2 nF Connector Side R11, R21 - - - 0 10 33 Impacts the Voltage on VDD pin R12, R22 - - - 10 50 100 TH REVISION 5.8 - DEC, 22 2016 Page 37 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 17. Standard information regarding manufacturability of Melexis products with different soldering processes Our products are classified and qualified regarding soldering technology, solderability and moisture sensitivity level according to standards in place in Semiconductor industry. For further details about test method references and for compliance verification of selected soldering method for product integration, Melexis recommends reviewing on our web site the General Guidelines soldering recommendation (http://www.melexis.com/en/quality-environment/soldering). For all soldering technologies deviating from the one mentioned in above document (regarding peak temperature, temperature gradient, temperature profile etc), additional classification and qualification tests have to be agreed upon with Melexis. For package technology embedding trim and form post-delivery capability, Melexis recommends consulting the dedicated trim&forming recommendation application note: lead trimming and forming recommendations (http://www.melexis.com/en/documents/documentation/application-notes/leadtrimming-and-forming-recommendations). Melexis is contributing to global environmental conservation by promoting lead free solutions. For more information on qualifications of RoHS compliant products (RoHS = European directive on the Restriction Of the use of certain Hazardous Substances) please visit the quality page on our website: http://www.melexis.com/en/quality-environment. 18. ESD Precautions Electronic semiconductor products are sensitive to Electro Static Discharge (ESD). Always observe Electro Static Discharge control procedures whenever handling semiconductor products. TH REVISION 5.8 - DEC, 22 2016 Page 38 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 19. Package Information 19.1. SOIC-8 - Package Dimensions 1.27 TYP NOTES: 3.81 5.80 3.99** 6.20** 4.80 4.98* 1.37 1.57 1.52 1.72 0.36 0.46*** TH REVISION 5.8 - DEC, 22 2016 All dimensions are in millimeters (angles in degrees). * Dimension does not include mold flash, protrusions or gate burrs (shall not exceed 0.15 per side). ** Dimension does not include interleads flash or protrusion (shall not exceed 0.25 per side). *** Dimension does not include dambar protrusion. Allowable dambar protrusion shall be 0.08 mm total in excess of the dimension at maximum material condition. Dambar cannot be located on the lower radius of the foot. 0.100 0.250 0.19 0.25 0.41 1.27 0 8 Page 39 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 19.2. SOIC-8 - Pinout and Marking Part Number MLX90365 (3 digits) Die Version (3 digits) /SS MOSI VDEC VSS Marking : 8 5 Top 365xxx M12345 Xy-E M12345 Xy-E Bottom YY Lot number: "M" + 5 digits Split lot number + "-E" (Optional ) WW Week Date code (2 digits) Year Date code (2 digits) SCLK Test MISO 4 VDD 1 Axx 365 19.3. SOIC-8 - Sensitive spot positioning CW 8 7 6 5 CCW X 1.25 1.65 1.16 +/- 0.155 1 2 1.96 2.26 TH REVISION 5.8 - DEC, 22 2016 0.46 +/- 0.06 3 4 Y Page 40 of 45 MLX90365 Triaxis Position Sensor IC Datasheet Angle detection SOIC-8 ~ 90 Deg.* 6 N 2 3 5 8 7 4 1 2 ~ 180 Deg.* 8 7 2 6 5 3 4 ~ 270 Deg.* 5 8 7 6 5 3 4 S S N 1 6 S 1 7 N 8 S ~ 0 Deg.* 3 4 1 2 N * No absolute reference for the angular information. The MLX90365 is an absolute angular position sensor but the linearity error (Le - See section 9.1) does not include the error linked to the absolute reference 0 Deg. TH REVISION 5.8 - DEC, 22 2016 Page 41 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 19.4. TSSOP-16 - Package Dimensions 0.65 0.04 12O REF 0.20 0.04 1.0 DIA REF 0.09 MIN 4.30 4.50** 6.4 0.2 0.09 MIN 1.0 REF 12O REF 1.0 REF 0.50 0.75 0O 8O 1.0 0.2 0.85 0.95 4.90 5.10* 1.1 MAX 0.19 0.30*** 0.09 0.20 0.05 0.15 NOTES: All dimensions are in millimeters (angles in degrees). * Dimension does not include mold flash, protrusions or gate burrs (shall not exceed 0.15 per side). ** Dimension does not include interleads flash or protrusion (shall not exceed 0.25 per side). *** Dimension does not include dambar protrusion. Allowable dambar protrusion shall be 0.08 mm total in excess of the dimension at maximum material condition. Dambar cannot be located on the lower radius of the foot. REF: Reference dimensions as stated in packaging supplier POD, based on JEDEC. TH REVISION 5.8 - DEC, 22 2016 Page 42 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 19.5. TSSOP-16 - Pinout and Marking 16 1 VDEC1 MOSI1 /SS1 SCLK1 365xxx M12345 Xy-E VSS1 VDD1 MISO1 Test2 SCLK2 MISO2 Marking : VDD2 9 8 /SS2 MOSI2 Test1 VSS2 Part Number MLX90365 (3 digits) Die Version (3 digits) VDEC2 365 Top Axx M12345 Lot number: "M" + 5 digits Xy-E Bottom YY Split lot number + "-E" (Optional) WW Week Date code (2 digits) Year Date code (2 digits) 19.6. TSSOP-16 - Sensitive spot positioning CW X2 16 9 Die 1 Die 2 Y2 Y1 0.30 +/- 0.06 CCW 1.95 2.45 1 0.70 +/- 0.13 8 1.84 2.04 X1 2.76 2.96 TH REVISION 5.8 - DEC, 22 2016 Page 43 of 45 MLX90365 Triaxis Position Sensor IC Datasheet Angle detection TSSOP-16 ~ 180 Deg.* 16 9 Die 2 Die 1 S 8 16 S Die 2 9 Die 1 N 8 1 ~ 90 Deg.* 16 S Die 1 8 ~ 270 Deg.* 9 Die 2 1 ~ 0 Deg.* ~ 180 Deg.* 9 S 1 ~ 270 Deg.* 16 N N Die 1 ~ 90 Deg.* 1 Die 2 N ~ 0 Deg.* 8 * No absolute reference for the angular information. The MLX90365 is an absolute angular position sensor but the linearity error (Le - See section 9.1) does not include the error linked to the absolute reference 0 Deg. Melexis internal document number Doc# 3901090365 rev.008 TH REVISION 5.8 - DEC, 22 2016 Page 44 of 45 MLX90365 Triaxis Position Sensor IC Datasheet 20. Disclaimer The information furnished by Melexis herein ("Information") is believed to be correct and accurate. Melexis disclaims (i) any and all liability in connection with or arising out of the furnishing, performance or use of the technical data or use of the product(s) as described herein ("Product") (ii) any and all liability, including without limitation, special, consequential or incidental damages, and (iii) any and all warranties, express, statutory, implied, or by description, including warranties of fitness for particular purpose, noninfringement and merchantability. No obligation or liability shall arise or flow out of Melexis' rendering of technical or other services. The Information is provided "as is" and Melexis reserves the right to change the Information at any time and without notice. Therefore, before placing orders and/or prior to designing the Product into a system, users or any third party should obtain the latest version of the relevant information to verify that the information being relied upon is current. Users or any third party must further determine the suitability of the Product for its application, including the level of reliability required and determine whether it is fit for a particular purpose. The Information is proprietary and/or confidential information of Melexis and the use thereof or anything described by the Information does not grant, explicitly or implicitly, to any party any patent rights, licenses, or any other intellectual property rights. This document as well as the Product(s) may be subject to export control regulations. Please be aware that export might require a prior authorization from competent authorities. The Product(s) are intended for use in normal commercial applications. Unless otherwise agreed upon in writing, the Product(s) are not designed, authorized or warranted to be suitable in applications requiring extended temperature range and/or unusual environmental requirements. High reliability applications, such as medical life-support or life-sustaining equipment are specifically not recommended by Melexis. The Product(s) may not be used for the following applications subject to export control regulations: the development, production, processing, operation, maintenance, storage, recognition or proliferation of 1) chemical, biological or nuclear weapons, or for the development, production, maintenance or storage of missiles for such weapons: 2) civil firearms, including spare parts or ammunition for such arms; 3) defense related products, or other material for military use or for law enforcement; 4) any applications that, alone or in combination with other goods, substances or organisms could cause serious harm to persons or goods and that can be used as a means of violence in an armed conflict or any similar violent situation. The Products sold by Melexis are subject to the terms and conditions as specified in the Terms of Sale, which can be found at https://www.melexis.com/en/legal/terms-and-conditions. This document supersedes and replaces all prior information regarding the Product(s) and/or previous versions of this document. Melexis NV (c) - No part of this document may be reproduced without the prior written consent of Melexis. (2016) ISO/TS 16949 and ISO14001 Certified 21. Contact For the latest version of this document, go to our website at www.melexis.com. For additional information, please contact our Direct Sales team and get help for your specific needs: Europe, Africa Telephone: +32 13 67 04 95 Email : sales_europe@melexis.com Americas Telephone: +1 603 223 2362 Email : sales_usa@melexis.com Asia Email : sales_asia@melexis.com TH REVISION 5.8 - DEC, 22 2016 Page 45 of 45