MLX90316LDCBDG-102TU [MELEXIS]

Rotary Position Sensor IC;
MLX90316LDCBDG-102TU
型号: MLX90316LDCBDG-102TU
厂家: Melexis Microelectronic Systems    Melexis Microelectronic Systems
描述:

Rotary Position Sensor IC

文件: 总45页 (文件大小:887K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
MLX90316  
Rotary Position Sensor IC  
Features and Benefits  
Absolute Rotary Position Sensor IC  
Simple & Robust Magnetic Design  
Triais® Hall Technology  
Programmable Angular Range up to 360 Degrees  
Programmable Linear Transfer Characteristic  
Selectable Analog (Ratiometric), PWM, Serial Protocol  
12 bit Angular Resolution - 10 bit Angular Thermal Accuracy  
40 bit ID Number  
Single Die – SO8 Package RoHS Compliant  
Dual Die (Full Redundant) – TSSOP16 Package RoHS Compliant  
Applications  
Absolute Rotary Position Sensor  
Steering Wheel Position Sensor  
Pedal Position Sensor  
Motor-shaft Position Sensor  
Throttle Position Sensor  
Float-Level Sensor  
Ride Height Position Sensor  
Non-Contacting Potentiometer  
Ordering Code  
Product Code Temperature Code  
Package Code  
DC  
DC  
Option Code  
BCG-000  
BCG-000  
BCG-000  
BCG-000  
BCG-000  
BCG-000  
BCG-000  
BCG-000  
BCG-000  
BCG-000  
BCG-000  
BCG-000  
BCG-000  
BCG-000  
BCG-200  
BCG-200  
BCG-200  
BCG-200  
BCG-300  
BCG-300  
BCG-300  
BCG-300  
BDG-100  
BDG-100  
Packing Form Code  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
S
S
E
E
K
K
L
RE  
TU  
RE  
TU  
RE  
TU  
RE  
TU  
RE  
TU  
RE  
TU  
RE  
TU  
RE  
TU  
RE  
TU  
RE  
TU  
RE  
TU  
RE  
TU  
DC  
DC  
DC  
DC  
DC  
DC  
GO  
GO  
GO  
GO  
GO  
GO  
DC  
L
E
E
K
K
L
L
K
K
K
K
K
K
K
K
E
E
DC  
GO  
GO  
DC  
DC  
GO  
GO  
DC  
DC  
3901090316  
Rev10  
Page 1 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
MLX90316  
K
K
L
L
E
E
K
K
L
L
L
L
L
L
L
L
DC  
DC  
DC  
DC  
GO  
GO  
GO  
GO  
GO  
GO  
GO  
GO  
DC  
DC  
DC  
DC  
BDG-100  
BDG-100  
BDG-100  
BDG-100  
BDG-100  
BDG-100  
BDG-100  
BDG-100  
BDG-100  
BDG-100  
BDG-102  
BDG-102  
BDG-102  
BDG-102  
BCS-000  
BCS-000  
RE  
TU  
TU  
RE  
TU  
RE  
TU  
RE  
TU  
RE  
TU  
RE  
TU  
RE  
TU  
RE  
Legend:  
Temperature Code:  
L for Temperature Range -40°C to 150°C  
E for Temperature Range -40°C to 85°C  
K for Temperature Range -40°C to 125°C  
S for Temperature Range -20°C to 85°C  
DC for SOIC150  
Package Code:  
Option Code:  
GO for TSSOP173  
AAA-xxx: die version  
xxx-000: standard  
xxx-100: SPI  
xxx-102: SPI75AGC, see section 14.4.2  
xxx-200: PPA (Pre-programmed Analog)  
xxx-300: PPD (Pre-programmed Digital)  
RE for Reel, TU for Tube  
Packing Form:  
Ordering example:  
MLX90316KDC-BCG-000-TU  
3901090316  
Rev10  
Page 2 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
1. Functional Diagram  
Rev.Pol.  
&
OverVolt.  
3V3  
Reg  
V
DD  
DSP  
Triais™  
Vx  
Vy  
A
D
xꢀ1  
G
µC  
D
A
O
UT  
(Analog/PWM)  
RAM  
EEP  
ROM  
S
WITCHꢀOUT  
V
SS  
Figure 1 - Block Diagram (Analog & PWM)  
Rev.Pol.  
&
OverVolt.  
3V3  
Reg  
V
DD  
DSP  
Triais™  
Vx  
A
D
xꢀ1  
xꢀ1  
O
UT1ꢀ(Analog)  
G
µC  
D
A
Vy  
OUT2ꢀ(Analog)  
RAM  
EEP  
ROM  
S
WITCHꢀOUT  
V
SS  
Figure 2 - Block Diagram Analog (MLX90316BCS)  
3V3  
Reg  
Rev.Pol.  
V
DD  
DSP  
Triais™  
Vx  
A
/SS  
G
µC  
D
Vy  
SERIALꢀPROTOCOL  
SCLK  
MOSI/MISO  
RAM  
EEP  
ROM  
V
SS  
Figure 3 - Block Diagram (Serial Protocol)  
Page 3 of 45  
3901090316  
Rev10  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
2. Description  
The MLX90316 is a monolithic sensor IC featuring the Triais® Hall technology. Conventional planar Hall  
technology is only sensitive to the flux density applied orthogonally to the IC surface. The Triais® Hall  
sensor is also sensitive to the flux density applied parallel to the IC surface. This is obtained through an  
Integrated Magneto-Concentrator (IMC) which is deposited on the CMOS die (as an additional back-end  
step).  
The MLX90316 is only sensitive to the flux density coplanar with the IC surface. This allows the  
MLX90316 with the correct magnetic circuit to decode the absolute rotary (angular) position from 0 to 360  
Degrees. It enables the design of novel generation of non-contacting rotary position sensors that are  
frequently required for both automotive and industrial applications.  
In combination with the appropriate signal processing, the magnetic flux density of a small magnet  
(diametral magnetization) rotating above the IC can be measured in a non-contacting way (Figure 4). The  
angular information is computed from both vectorial components of the flux density (i.e. BX and BY).  
MLX90316 produces an output signal proportional to the decoded angle. The output is selectable between  
Analog, PWM and Serial Protocol.  
Figure 4 - Typical application of MLX90316  
3901090316  
Rev10  
Page 4 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
TABLE of CONTENTS  
FEATURES AND BENEFITS ....................................................................................................................... 1  
APPLICATIONS............................................................................................................................................ 1  
ORDERING  
CODE………………………………………………………………………………………………………………....1  
1. FUNCTIONAL DIAGRAM...................................................................................................................... 3  
2. DESCRIPTION....................................................................................................................................... 5  
3. GLOSSARY OF TERMS ABBREVIATIONS ACRONYMS ............................................................ 8  
4. PINOUT.................................................................................................................................................. 8  
5. ABSOLUTE MAXIMUM RATINGS ....................................................................................................... 9  
6. DETAILED DESCRIPTION.................................................................................................................... 9  
7. MLX90316 ELECTRICAL SPECIFICATION....................................................................................... 11  
8. MLX90316 ISOLATION SPECIFICATION.......................................................................................... 13  
9. MLX90316 TIMING SPECIFICATION................................................................................................. 13  
10. MLX90316 ACCURACY SPECIFICATION......................................................................................... 14  
11. MLX90316 MAGNETIC SPECIFICATION .......................................................................................... 15  
12. MLX90316 CPU & MEMORY SPECIFICATION ................................................................................. 15  
13. MLX90316 END-USER PROGRAMMABLE ITEMS........................................................................... 16  
14. DESCRIPTION OF END-USER PROGRAMMABLE ITEMS.............................................................. 17  
14.1.  
OUTPUT MODE..........................................................................................................................................17  
14.1.1. Analog Output Mode ............................................................................................................................17  
14.1.2. PWM Output Mode...............................................................................................................................17  
14.1.3. Serial Protocol Output Mode ...............................................................................................................19  
14.1.4. Switch Out ............................................................................................................................................19  
14.2.  
OUTPUT TRANSFER CHARACTERISTIC.......................................................................................................19  
14.2.1. CLOCKWISE Parameter......................................................................................................................19  
14.2.2. Discontinuity Point (or Zero Degree Point).........................................................................................19  
14.2.3. LNR Parameters...................................................................................................................................20  
14.2.4. CLAMPING Parameters ......................................................................................................................20  
14.2.5. DEADZONE Parameter.......................................................................................................................21  
14.2.6. MLX90316 xDC- BCS ONLY ...............................................................................................................21  
14.3.  
14.4.  
I
DENTIFICATION ........................................................................................................................................21  
S
ENSOR FRONT-END .................................................................................................................................22  
14.4.1. HIGHSPEED Parameter......................................................................................................................22  
14.4.2. ARGC, AUTO_RG, RoughGain and FORCECRA75 Parameters........................................................22  
14.4.3. RGThresL, RGThresH Parameters ......................................................................................................23  
14.5.  
FILTER ....................................................................................................................................................23  
14.5.1. Hysteresis Filter ...................................................................................................................................23  
14.5.2. FIR Filters............................................................................................................................................23  
14.5.3. IIR Filters .............................................................................................................................................26  
14.6.  
PROGRAMMABLE DIAGNOSTIC SETTINGS .................................................................................................27  
14.6.1. RESONFAULT Parameter ...................................................................................................................26  
14.6.2. EEHAMHOLE Parameter....................................................................................................................26  
14.7.  
LOCK.........................................................................................................................................................26  
14.7.1. MLXLOCK Parameter .........................................................................................................................27  
14.7.2. LOCK Parameter .................................................................................................................................27  
3901090316  
Rev10  
Page 5 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
15. MLX90316 SELF DIAGNOSTIC.......................................................................................................... 28  
16. SERIAL PROTOCOL........................................................................................................................... 30  
16.1.  
16.2.  
16.3.  
16.4.  
16.5.  
16.6.  
16.7.  
16.8.  
16.9.  
16.10.  
INTRODUCTION .........................................................................................................................................30  
SERIAL PROTOCOL MODE ...................................................................................................................30  
MOSI (MASTER  
MISO (MASTER  
O
UT LAVE )...............................................................................................................30  
S
S
I
LAVE OUT)...............................................................................................................30  
N
I
N
SS (SLAVE  
ASTER TART-U  
LAVE TART-U  
S
ELECT) ..................................................................................................................................30  
...................................................................................................................................30  
......................................................................................................................................30  
IMING......................................................................................................................................................31  
ESET............................................................................................................................................32  
AYER ..........................................................................................................................................32  
M
S
T
S
P
S
P
SLAVE  
RAME  
R
F
L
16.10.1.  
Command Device Mechanism ..........................................................................................................32  
Data Frame Structure ......................................................................................................................32  
Timing...............................................................................................................................................32  
Data Structure..................................................................................................................................33  
Angle Calculation.............................................................................................................................33  
Error Handling.................................................................................................................................33  
16.10.2.  
16.10.3.  
16.10.4.  
16.10.5.  
16.10.6.  
17. RECOMMENDED APPLICATION DIAGRAMS.................................................................................. 34  
17.1.  
17.2.  
17.3.  
17.4.  
A
NALOG  
NALOG  
O
UTPUT  
UTPUT  
W
W
IRING WITH THE MLX90316 IN SOIC PACKAGE.......................................................34  
IRING WITH THE MLX90316 IN TSSOP PACKAGE....................................................35  
A O  
PWM LOW  
SIDE OUTPUT WIRING ............................................................................................................35  
ROTOCOL ....................................................................................................................................36  
SERIAL P  
17.4.1. SPI Version – Single Die......................................................................................................................36  
17.4.2. SPI Version – Dual Die........................................................................................................................37  
17.4.3. Non SPI Version (Standard Version)....................................................................................................38  
18. STANDARD INFORMATION REGARDING MANUFACTURABILITY OF MELEXIS PRODUCTS  
WITH DIFFERENT SOLDERING PROCESSES........................................................................................ 39  
19. ESD PRECAUTIONS........................................................................................................................... 39  
20. PACKAGE INFORMATION.................................................................................................................. 40  
20.1.  
20.2.  
20.3.  
20.4.  
20.5.  
20.6.  
SOIC8 - PACKAGE  
SOIC8 - PINOUT AND  
SOIC8 - IMC POSITIONNING.....................................................................................................................41  
TSSOP16 - PACKAGE IMENSIONS ..........................................................................................................42  
TSSOP16 - PINOUT AND ARKING ..........................................................................................................43  
TSSOP16 - IMC POSITIONNING................................................................................................................43  
D
IMENSIONS ...............................................................................................................40  
MARKING ...............................................................................................................40  
D
M
21.DISCLAIMER………………………………………………………………………………………………........45  
3901090316  
Rev10  
Page 6 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
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  
PWM: Pulse Width Modulation  
%
DC: Duty Cycle of the output signal i.e. TON /(TON + TOFF  
)
ADC: Analog-to-Digital Converter  
DAC: Digital-to-Analog 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  
ATAN: trigonometric function: arctangent (or inverse tangent)  
IMC: Integrated Magneto-Concentrator (IMC)  
CoRDiC: Coordinate Rotation Digital Computer (i.e. iterative rectangular-to-polar transform)  
EMC: Electro-Magnetic Compatibility  
4. Pinout  
SOICꢁ8ꢀ  
TSSOPꢁ16ꢀ  
Analogꢀ/ꢀPWMꢀ SerialꢀProtocolꢀ  
Pinꢀ#ꢀ  
Analogꢀ/ꢀPWMꢀ  
SerialꢀProtocolꢀ  
1ꢀ  
2ꢀ  
V
DD  
V
DD  
V
DIG1ꢀ  
VDIG1ꢀ  
Testꢀ0ꢀ  
Testꢀ0ꢀ  
/SSꢀ  
V
SS1ꢀ(Ground1)ꢀ  
DD1ꢀ  
V
SS1ꢀ(Ground1)ꢀ  
DD1ꢀ  
3ꢀ  
SwitchꢀOutꢀ  
V
V
4ꢀ  
NotꢀUsedꢀ/ꢀOutꢀ2(1)ꢀ  
Outꢀ  
SCLKꢀ  
Testꢀ01ꢀ  
SwitchꢀOut2ꢀ  
NotꢀUsed2ꢀ  
Out2ꢀ  
Testꢀ01ꢀ  
/SS2ꢀ  
5ꢀ  
MOSIꢀ/ꢀMISOꢀ  
Testꢀ1ꢀ  
6ꢀ  
Testꢀ1ꢀ  
SCLK2ꢀ  
7ꢀ  
V
DIG  
V
DIG  
MOSI2ꢀ/ꢀMISO2ꢀ  
Testꢀ12ꢀ  
8ꢀ  
V
SSꢀ(Ground)ꢀ  
V
SSꢀ(Ground)ꢀ  
Testꢀ12ꢀ  
9ꢀ  
V
DIG2ꢀ  
VDIG2ꢀ  
10ꢀ  
11ꢀ  
12ꢀ  
13ꢀ  
14ꢀ  
15ꢀ  
16ꢀ  
V
SS2ꢀ(Ground2)ꢀ  
DD2ꢀ  
V
SS2ꢀ(Ground2)ꢀ  
DD2ꢀ  
V
V
Testꢀ02ꢀ  
SwitchꢀOut1ꢀ  
NotꢀUsed1ꢀ  
Out1ꢀ  
Testꢀ02ꢀ  
/SS1ꢀ  
SCLK1ꢀ  
MOSI1ꢀ/ꢀMISO1ꢀ  
Testꢀ11ꢀ  
Testꢀ11ꢀ  
For optimal EMC behavior, it is recommended to connect the unused pins (NotꢀUsed and Test) to the Ground (see section 17).  
1ꢀMLX90316xDCꢁBCSꢀincludesꢀaꢀprogrammableꢀsecondꢀoutputꢀ  
3901090316  
Rev10  
Page 7 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
5. Absolute Maximum Ratings  
Parameter  
SupplyꢀVoltage,ꢀVDDꢀ(overvoltage)ꢀ  
ReverseꢀVoltageꢀProtectionꢀ  
Value  
+ꢀ20ꢀVꢀ  
ꢀ10ꢀVꢀ  
PositiveꢀOutputꢀVoltageꢀ–ꢀStandardꢀVersionꢀ  
(AnalogꢀorꢀPWM)ꢀ  
+ꢀ10ꢀVꢀ  
+ꢀ14ꢀVꢀ(200ꢀsꢀmaxꢀꢀTAꢀ=ꢀ+ꢀ25°C)ꢀꢀ  
PositiveꢀOutputꢀVoltageꢀ–ꢀSPIꢀVersionꢀ  
PositiveꢀOutputꢀVoltageꢀ(SwitchꢀOut)ꢀ  
VDDꢀ+ꢀ0.3Vꢀ  
+ꢀ10ꢀVꢀ  
+ꢀ14ꢀVꢀ(200ꢀsꢀmaxꢀꢀTAꢀ=ꢀ+ꢀ25°C)ꢀ  
OutputꢀCurrentꢀ(IOUT)ꢀ  
ꢀ30ꢀmAꢀ  
ReverseꢀOutputꢀVoltageꢀ  
ꢀ0.3ꢀVꢀ  
ReverseꢀOutputꢀCurrentꢀ  
ꢀ50ꢀmAꢀ  
OperatingꢀAmbientꢀTemperatureꢀRange,ꢀTAꢀ  
StorageꢀTemperatureꢀRange,ꢀTSꢀ  
MagneticꢀFluxꢀDensityꢀ  
ꢀ40°Cꢀ+ꢀ150°Cꢀ  
ꢀ40°Cꢀ+ꢀ150°Cꢀ  
ꢀ700ꢀmTꢀ  
Exceeding the absolute maximum ratings may cause permanent damage. Exposure to absolute-  
maximum-rated conditions for extended periods may affect device reliability.  
6. Detailed Description  
As described on the block diagram (Figure 1, Figure 2 and Figure 3), the magnetic flux density parallel to  
the IC surface (i.e. B//) is sensed through the Triais® sensor front-end. This front-end consists into two  
orthogonal pairs (for each of the two directions parallel with the IC surface i.e. X and Y) of conventional  
planar Hall plates (blue area on Figure 5) and an Integrated Magneto-Concentrator (IMCyellow disk on  
Figure 5).  
Hall Plates  
Figure 5 - Triais® sensor front-end (4 Hall plates + IMCdisk)  
3901090316  
Rev10  
Page 8 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
Both components of the applied flux density B// are measured individually i.e. BX// and BY//. Two orthogonal  
components (respectively BXand BY) proportional to the parallel components (respectively BX// and BY//)  
are induced through the IMC and can be measured by both respective pairs of conventional planar Hall  
plates as those are sensitive to the flux density applied orthogonally to them and the IC surface.  
While a magnet (diametrically magnetized) rotates above the IC as described on Figure 4, the sensing  
stage provides two differential signals in quadrature (sine and cosine Figure 6 and Figure 7)  
400  
300  
200  
100  
0
-100  
-200  
-300  
-400  
0
90  
180  
BX  
270  
360  
Alpha (Degree)  
450  
540  
630  
720  
BY  
Figure 6 – Magnetic Flux Density – BX cos(α) & BY sin(α)  
2000  
1500  
1000  
500  
0
-500  
-1000  
-1500  
-2000  
0
90  
180  
VX  
270  
360  
Alpha (Degree)  
450  
540  
630  
720  
VY  
Figure 7 – Triais® sensor front-end Output signals VX BX cos(α) & VY BY sin(α)  
3901090316  
Rev10  
Page 9 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
Those Hall signals are processed through a fully differential analog chain featuring the classic offset  
cancellation technique (Hall plate quadrature spinning and chopper-stabilized amplifier).  
The conditioned analog signals are converted through an ADC (configurable 14 or 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 angular position from the two raw signals (after so-called front-end  
compensation steps) through the following operation:  
VY  
α
= ATAN  
VX  
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 ATANfunction, the F/W controls the whole  
analog chain, the output transfer characteristic, the output protocol, the programming/calibration and also  
the self-diagnostic modes.  
In the MLX90316, the ATANfunction is computed via a look-up table (i.e. it is not obtained through a  
CoRDiC algorithm).  
Due to the fact that the ATANoperation is performed on the ratio VY/VX, the angular information is  
intrinsically self-compensated vs. flux density variations (due to airgap change, thermal or ageing effects)  
affecting both signals. This feature allows therefore an improved thermal accuracy vs. rotary position  
sensor based on conventional linear Hall sensors.  
In addition to the improved thermal accuracy, the realized rotary position sensor is capable of measuring a  
complete revolution (360 Degrees) and the linearity performances are excellent taking into account typical  
manufacturing tolerances (e.g. relative placement between the Hall IC and the magnet).  
Once the angular information is computed (over 360 degrees), it is further conditioned (mapped) vs. the  
target transfer characteristic and it is provided at the output(s) as:  
an analog output level through a 12 bit DAC followed by a buffer  
a digital PWM signal with 12 bit depth (programmable frequency 100 Hz 1 kHz)  
a digital Serial Protocol (SP 14 bits computed angular information available)  
For instance, the analog output can be programmed for offset, gain and clamping to meet any rotary  
position sensor output transfer characteristic:  
Vout(α) = ClampLo  
Vout(α) = Voffset + Gain × α  
Vout(α) = ClampHi  
for α ≤ αmin  
for αmin ≤ α ≤ αmax  
for α ≥ αmax  
where Voffset, Gain, ClampLo and ClampHi are the main adjustable parameters for the end-user.  
The linear part of the transfer curve can be adjusted through either a 2 point or a 3 point calibration  
depending on the linearity requirement.  
A digital output is also available and used as a programmable angular switch.  
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 MLX90316 is handled at both engineering lab and  
production line levels by the Melexis Programming Unit PTC-04 with the dedicated MLX90316  
daughterboard and software tools (DLL User Interface).  
3901090316  
Rev10  
Page 10 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
7. MLX90316 Electrical Specification  
DC Operating Parameters at VDD = 5V (unless otherwise specified) and for TA as specified by the  
Temperature suffix (S, E, K or L).  
Parameter  
Symbol  
Test Conditions  
Min  
Typ  
Max  
Units  
NominalꢀSupplyꢀVoltageꢀ  
V
DD  
4.5ꢀ  
5ꢀ  
5.5ꢀ  
Vꢀ  
Slowꢀmode(3)ꢀ  
Fastꢀmode(3)ꢀ  
8.5ꢀ  
13.5ꢀ  
11ꢀ  
16ꢀ  
mAꢀ  
mAꢀ  
SupplyꢀCurrent(2)ꢀ  
PORꢀLevelꢀ  
Iddꢀ  
V
DDꢀPORꢀ SupplyꢀUnderꢀVoltageꢀ  
2ꢀ  
2.7ꢀ  
3ꢀ  
Vꢀ  
AnalogꢀOutputꢀmodeꢀ  
Ioutꢀ  
ꢁ8ꢀ  
ꢁ20ꢀ  
8ꢀ  
20ꢀ  
mAꢀ  
mAꢀ  
OutputꢀCurrentꢀ  
PWMꢀOutputꢀmodeꢀ  
Voutꢀ=ꢀ0ꢀVꢀ  
Voutꢀ=ꢀ5ꢀVꢀ  
Voutꢀ=ꢀ14ꢀVꢀ(TAꢀ=ꢀ25°C)ꢀ  
12ꢀ  
12ꢀ  
24ꢀ  
15ꢀ  
15ꢀ  
45ꢀ  
mAꢀ  
mAꢀ  
mAꢀ  
OutputꢀShortꢀCircuitꢀCurrentꢀ  
Ishort  
(5)ꢀ  
(5)ꢀꢀ  
kꢀ  
kꢀ  
PullꢁdownꢀtoꢀGroundꢀꢀ  
Pullꢁupꢀtoꢀ5V(4)ꢀ  
1ꢀ  
1ꢀ  
10ꢀ  
10ꢀ  
OutputꢀLoadꢀ  
RLꢀ  
3ꢀ  
Vsat_loꢀ  
Vsat_hiꢀ  
%VDD  
PullꢁupꢀloadꢀRLꢀ10ꢀkꢂꢀ  
PullꢁdownꢀloadꢀRLꢀ10ꢀkꢂ  
AnalogꢀSaturationꢀOutputꢀLevelꢀ  
96ꢀ  
%VDD  
PullꢁupꢀLowꢀSideꢀRLꢀ10ꢀkꢂꢀ  
PushꢁPullꢀ(IOUTꢀ=ꢀꢁ20mA)ꢀ  
VsatD_loꢀ  
1.5ꢀ  
%VDD  
%VDD  
%VDD  
DigitalꢀSaturationꢀOutputꢀLevelꢀ  
ActiveꢀDiagnosticꢀOutputꢀLevelꢀ  
VsatD_hiꢀ PushꢁPullꢀ(IOUTꢀ=ꢀ20mA)ꢀ  
97ꢀ  
1ꢀ  
1.5ꢀ  
PullꢁdownꢀloadꢀRLꢀ10ꢀkꢂꢀ  
Diag_loꢀ  
PullꢁupꢀloadꢀRLꢀ10ꢀkꢂꢀ  
97ꢀ  
98ꢀ  
PullꢁdownꢀloadꢀRLꢀ10ꢀkꢂꢀ  
Diag_hiꢀ  
%VDD  
PullꢁupꢀloadꢀRLꢀ10ꢀkꢂꢀ  
BrokenꢀVSS(7)ꢀ&ꢀꢀ  
PullꢁdownꢀloadꢀRLꢀ≤ꢀ10ꢀkꢂꢀ  
BVSSPDꢀ  
99ꢀ  
4(6)ꢀ  
%VDDꢀ  
BrokenꢀVSS(7)ꢀ&ꢀ  
BVSSPUꢀ  
100ꢀ  
0ꢀ  
%VDDꢀ  
PullꢁupꢀloadꢀRLꢀ1kꢂꢀ  
PassiveꢀDiagnosticꢀOutputꢀLevelꢀ  
(BrokenꢀTrackꢀDiagnostic)ꢀ(6)ꢀ  
BrokenꢀVDD(7)ꢀ&ꢀꢀ  
BVDDPDꢀ  
1ꢀ  
%VDDꢀ  
PullꢁdownꢀloadꢀRLꢀ1kꢂꢀ  
BrokenꢀVDDꢀ&ꢀ  
BVDDPUꢀ  
NoꢀBrokenꢀTrackꢀdiagnosticꢀ  
%VDDꢀ  
Pullꢁupꢀloadꢀtoꢀ5Vꢀ  
MLX 90316 Electrical Specification continues…  
…MLX 90316 Electrical Specificationꢀ  
2ꢀForꢀtheꢀdualꢀversion,ꢀtheꢀsupplyꢀcurrentꢀisꢀmultipliedꢀbyꢀ2ꢀ  
3ꢀSeeꢀsectionꢀ14.4.1ꢀforꢀdetailsꢀconcerningꢀSlowꢀandꢀFastꢀmodeꢀ  
4ꢀApplicableꢀforꢀoutputꢀinꢀAnalogꢀandꢀPWMꢀ(OpenꢁDrain)ꢀmodesꢀ  
5ꢀRLꢀ<ꢀꢀforꢀoutputꢀinꢀPWMꢀmodeꢀ  
6ꢀForꢀdetailedꢀinformation,ꢀseeꢀalsoꢀsectionꢀ15ꢀ  
7ꢀNotꢀValidꢀforꢀtheꢀSPIꢀVersionꢀ  
3901090316  
Rev10  
Page 11 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
Clamp_loꢀ Programmableꢀ  
0ꢀ  
100ꢀ  
100ꢀ  
1.1ꢀ  
%VDD(8)ꢀ  
%VDD(8)ꢀ  
Vꢀ  
ClampedꢀOutputꢀLevelꢀ  
SwitchꢀOut(9)ꢀ  
Clamp_hiꢀ Programmableꢀ  
0ꢀ  
Sw_loꢀ PullꢁupꢀLoadꢀ1.5kꢀtoꢀ5Vꢀ  
Sw_hiꢀ PullꢁupꢀLoadꢀ1.5kꢀtoꢀ5Vꢀ  
0.55ꢀ  
3.65ꢀ  
4.35ꢀ  
Vꢀ  
As an illustration of the previous table, the MLX90316 fits the typical classification of the output span  
described on the Figure 8.  
100ꢀ%  
DiagnosticꢀBandꢀ(High)  
96ꢀ%  
92ꢀ%  
88ꢀ%  
90ꢀ%  
80ꢀ%  
70ꢀ%  
60ꢀ%  
50ꢀ%  
40ꢀ%  
30ꢀ%  
20ꢀ%  
10ꢀ%  
0ꢀ%  
ClampingꢀHigh  
LinearꢀRange  
12ꢀ%  
8ꢀ%  
4ꢀ%  
ClampingꢀLow  
DiagnosticꢀBandꢀ(Low)  
Figure 8 - Output Span Classification  
8ꢀClampingꢀlevelsꢀneedꢀtoꢀbeꢀconsideredꢀvsꢀtheꢀsaturationꢀofꢀtheꢀoutputꢀstageꢀ(seeꢀVsat_loꢀandꢀVsat_hi)ꢀ  
9ꢀSeeꢀsectionꢀ14.1.4ꢀforꢀtheꢀapplicationꢀdiagramꢀ  
3901090316  
Rev10  
Page 12 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
8. MLX90316 Isolation Specification  
DC Operating Parameters at VDD = 5V (unless otherwise specified) and for TA as specified by the  
Temperature suffix (S, E, K or L). Only valid for the package code GO i.e. dual die version.  
Parameter  
Symbol  
Test Conditions  
Betweenꢀ2ꢀdiesꢀ  
Min  
Typ  
Max  
Units  
IsolationꢀResistanceꢀ  
4ꢀ  
Mꢀꢁ  
9. MLX90316 Timing Specification  
DC Operating Parameters at VDD = 5V (unless otherwise specified) and for TA as specified by the  
Temperature suffix (S, E, K or L).  
Parameter  
Symbol  
Test Conditions  
Slowꢁmode(10)  
Min  
Typ  
Max  
Units  
MainꢁClockꢁFrequencyꢁ  
Ckꢁ  
7ꢁ  
20ꢁ  
MHzꢁ  
MHzꢁ  
Fastꢁmode(10)  
SamplingꢁRateꢁ  
Slowꢁmode(11)  
600ꢁ  
200ꢁ  
ꢂsꢁ  
ꢂsꢁ  
Fastꢁmode(11)  
StepꢁResponseꢁTimeꢁ  
Tsꢁ  
Slowꢁmode(10),ꢁFilter=5(11)  
Fastꢁmode(10),ꢁFilter=0(11)  
SeeꢁSectionꢁ15ꢁ  
4ꢁ  
600ꢁ  
msꢁ  
ꢂsꢁ  
400ꢁ  
Watchdogꢁ  
Wdꢁ  
Tsuꢁ  
5ꢁ  
15ꢁ  
msꢁ  
msꢁ  
StartꢃupꢁCycleꢁ  
SlowꢁandꢁFastꢁmode(10)  
AnalogꢁOutputꢁSlewꢁRateꢁ  
COUTꢁ=ꢁ42ꢁnFꢁ  
COUTꢁ=ꢁ100ꢁnFꢁ  
200ꢁ  
100ꢁ  
V/msꢁ  
PWMꢁFrequencyꢁ  
FPWM  
PWMꢁOutputꢁEnabledꢁ  
100ꢁ  
1000ꢁ  
Hzꢁ  
DigitalꢁOutputꢁRiseꢁTimeꢁ  
Modeꢁ5ꢁ–ꢁ10nF,ꢁRLꢁ=ꢁ10ꢁkꢀ ꢁ  
Modeꢁ7ꢁ–ꢁ10nF,ꢁRLꢁ=ꢁ10ꢁkꢀ ꢁ  
120ꢁ  
2.2ꢁ  
ꢂsꢁ  
ꢂsꢁ  
DigitalꢁOutputꢁFallꢁTimeꢁ  
Modeꢁ5ꢁ–ꢁ10nF,ꢁRLꢁ=ꢁ10ꢁkꢀ ꢁ  
Modeꢁ7ꢁ–ꢁ10nF,ꢁRLꢁ=ꢁ10ꢁkꢀ ꢁ  
1.8ꢁ  
1.9ꢁ  
ꢂsꢁ  
ꢂsꢁ  
10ꢁSeeꢁsectionꢁ14.4.1ꢁforꢁdetailsꢁconcerningꢁSlowꢁandꢁFastꢁmodeꢁ  
11ꢁSeeꢁsectionꢁ14.5ꢁforꢁdetailsꢁconcerningꢁFilterꢁparameterꢁ  
3901090316  
Rev10  
Page 13 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
10. MLX90316 Accuracy Specification  
DC Operating Parameters at VDD = 5V (unless otherwise specified) and for TA as specified by the  
Temperature suffix (S, E, K or L).  
Parameter  
Symbol  
RADCꢁ  
Test Conditions  
Min  
Typ  
Max  
Units  
ADCꢁResolutionꢁonꢁtheꢁrawꢁ  
signalsꢁsineꢁandꢁcosineꢁ  
SlowꢁMode(12)  
15ꢁ  
14ꢁ  
bitsꢁ  
bitsꢁ  
FastꢁMode(12)ꢁꢁ  
ThermalꢁOffsetꢁDriftꢁꢁ#1(13)  
ThermalꢁOffsetꢁDriftꢁatꢁtheꢁDSPꢁꢁ  
inputꢁ(excl.ꢁDACꢁandꢁoutputꢁstage)ꢁ  
TemperatureꢁsuffixꢁS,ꢁEꢁandꢁKꢁ  
TemperatureꢁsuffixꢁLꢁ  
ꢃ60ꢁ  
ꢃ90ꢁ  
+60ꢁ  
+90ꢁ  
LSB15ꢁ  
LSB15ꢁꢁ  
ThermalꢁOffsetꢁDriftꢁ#2ꢁ  
(toꢁbeꢁconsideredꢁonlyꢁforꢁtheꢁ  
analogꢁoutputꢁmode)ꢁ  
ThermalꢁOffsetꢁDriftꢁꢁofꢁtheꢁDACꢁꢁ  
andꢁOutputꢁStageꢁ  
TemperatureꢁsuffixꢁS,ꢁEꢁandꢁKꢁ  
TemperatureꢁsuffixꢁLꢁ  
ꢃꢁ0.3ꢁ  
ꢃꢁ0.4ꢁ  
+ꢁ0.3ꢁ  
+ꢁ0.4ꢁ  
%VDDꢁ  
%VDD  
ThermalꢁDriftꢁofꢁSensitivityꢁ  
TemperatureꢁsuffixꢁS,ꢁEꢁandꢁKꢁ  
TemperatureꢁsuffixꢁLꢁ  
ꢃꢁ0.3ꢁ  
ꢃꢁ0.5ꢁ  
+ꢁ0.3ꢁ  
+ꢁ0.5ꢁ  
%ꢁ  
%ꢁ  
Mismatch(14)  
IntrinsicꢁLinearityꢁError(15)  
Leꢁ  
ꢃ1ꢁ  
1ꢁ  
Degꢁ  
TAꢁ=ꢁ25°Cꢁ  
AnalogꢁOutputꢁResolutionꢁ  
RDAC  
12ꢁbitsꢁDACꢁ  
0.025ꢁ  
%VDD/LSBꢁ  
(Theoreticalꢁ–ꢁNoiseꢁfree)ꢁ  
INLꢁ  
DNLꢁ  
ꢃ4ꢁ  
ꢃ2ꢁ  
+4ꢁ  
+2ꢁ  
LSBꢁ  
LSBꢁ  
OutputꢁstageꢁNoiseꢁ  
ClampedꢁOutputꢁ  
0.05ꢁ  
%VDDꢁ  
Noiseꢁpkꢃpk(16)  
RGꢁ=ꢁ9,ꢁSlowꢁmode,ꢁFilter=5ꢁ  
RGꢁ=ꢁ9,ꢁFastꢁmode,ꢁFilter=0ꢁ  
0.03ꢁ  
0.1ꢁ  
0.06ꢁ  
0.2ꢁ  
Degꢁ  
Degꢁ  
RatiometryꢁErrorꢁ  
ꢃ0.1ꢁ  
0ꢁ  
0.1ꢁ  
%VDDꢁ  
PWMꢁOutputꢁResolutionꢁ  
RPWM  
12ꢁbitsꢁ  
(Theoreticalꢁ–ꢁJitterꢁfree)ꢁ  
0.025ꢁ  
%
DC/LSBꢁ  
PWMꢁJitter(17)  
JPWM  
RGꢁ=ꢁ6,ꢁFPWMꢁ=ꢁ250ꢁHzꢁ–ꢁ800Hzꢁ  
0.2ꢁ  
%DCꢁ  
SerialꢁProtocolꢁOutputꢁ  
Resolutionꢁ  
RSPꢁ  
14ꢁbitsꢁ–ꢁ360ꢁDeg.ꢁ  
Mapping(Theoreticalꢁ–ꢁJitterꢁfree)ꢁ  
0.022ꢁ  
Deg/LSBꢁ  
12ꢁ15ꢁbitsꢁcorrespondsꢁtoꢁ14ꢁbitsꢁ+ꢁsignꢁandꢁ14ꢁbitsꢁcorrespondsꢁtoꢁ13ꢁbitsꢁ+ꢁsign.ꢁAfterꢁangularꢁcalculation,ꢁthisꢁcorrespondsꢁtoꢁ  
0.005Deg/LSB15ꢁinꢁLowꢁSpeedꢁModeꢁandꢁ0.01Deg/LSB14ꢁinꢁHighꢁSpeed.ꢁ  
13ꢁForꢁinstance,ꢁThermalꢁOffsetꢁDriftꢁ#1ꢁequalꢁ±ꢁ60LSB15ꢁyieldsꢁtoꢁmax.ꢁ±ꢁ0.3ꢁDeg.ꢁangularꢁerrorꢁforꢁtheꢁcomputedꢁangularꢁ  
informationꢁ(outputꢁofꢁtheꢁDSP).ꢁSeeꢁFrontꢁEndꢁApplicationꢁNoteꢁforꢁmoreꢁdetails.ꢁThisꢁisꢁonlyꢁvalidꢁifꢁautomaticꢁgainꢁisꢁsetꢁ(Seeꢁ  
Sectionꢁ14.4.2)ꢁ  
14ꢁ Forinstance,ThermalDriftofSensitivityMismatchequal±ꢁ0.4%ꢁyieldsꢁtoꢁmax.ꢁ±ꢁ0.1ꢁDeg.ꢁangularerrorforthecomputedꢁ  
angularꢁinformationꢁ(outputꢁofꢁtheꢁDSP).ꢁSeeꢁFrontꢁEndꢁApplicationꢁNoteꢁforꢁmoreꢁdetails.ꢁ  
15ꢁTheꢁIntrinsicꢁLinearityꢁErrorꢁrefersꢁtoꢁtheꢁICꢁitselfꢁ(offset,ꢁsensitivityꢁmismatch,ꢁorthogonality)ꢁtakingꢁintoꢁaccountꢁanꢁidealꢁ  
rotatingꢁfield.ꢁ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ꢁthatꢁisꢁavailableꢁonꢁtheꢁ  
MLX90316.ꢁ  
16ꢁ Theꢁ applicationꢁ diagramꢁ usedꢁ isꢁ describedꢁ inꢁ theꢁ recommendedꢁ wiring.ꢁ Forꢁ detailedꢁ information,ꢁ referꢁ toꢁ sectionꢁ Filterꢁ inꢁ  
applicationꢁmodeꢁ(Sectionꢁ14.5).ꢁꢁ  
17ꢁJitterꢁisꢁdefinedꢁbyꢁ±ꢁ3ꢁσꢁforꢁ1000ꢁsuccessiveꢁacquisitionsꢁandꢁtheꢁslopeꢁofꢁtheꢁtransferꢁcurveꢁisꢁ100%DC/360ꢁDeg.ꢁ  
3901090316  
Rev10  
Page 14 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
11. MLX90316 Magnetic Specification  
DC Operating Parameters at VDD = 5V (unless otherwise specified) and for TA as specified by the  
Temperature suffix (S, E, K or L).  
Parameter  
Symbol  
Test Conditions  
Min  
Typ  
Max  
Units  
MagneticꢁFluxꢁDensityꢁ  
Bꢁ  
20ꢁ  
50ꢁ  
70(18)  
0ꢁ  
mTꢁ  
MagnetꢁTemperatureꢁCoefficientꢁ TCmꢁ  
ꢃ2400ꢁ  
ppm/°Cꢁ  
12. MLX90316 CPU & Memory Specification  
The DSP is based on a 16 bit RISC ꢂController.ꢀThisꢀCPU provides 5 Mips while running at 20 MHz.  
Parameter  
Symbol  
Test Conditions  
Min  
Typ  
Max  
Units  
ROMꢁ  
RAMꢁ  
10ꢁ  
kBꢁ  
Bꢁ  
256ꢁ  
128ꢁ  
EEPROMꢁ  
Bꢁ  
18ꢁAboveꢁ70ꢁmT,ꢁtheꢁIMCꢁstartsꢁsaturatingꢁyieldingꢁtoꢁanꢁincreaseꢁofꢁtheꢁlinearityꢁerror.ꢁ  
3901090316  
Rev10  
Page 15 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
13. MLX90316 End-User Programmable Items  
Default Values  
Parameter  
Comments  
SPIꢀ/ꢀ  
STANDARDꢀ  
PPAꢀ  
PPDꢀ  
#ꢀbitꢀ  
SPI75AGC  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
0ꢁ  
Defineꢁtheꢁoutputꢁstageꢁmodeꢁ  
4ꢁ  
2ꢁ  
4ꢁ  
2ꢁ  
7ꢁ  
N/Aꢁ  
1ꢁ  
3ꢁ  
3ꢁ  
OutputꢁModeꢁ  
MLX90316BCSꢁ  
PWMPOL1ꢁ  
PWMTꢁ  
PWMꢁPolarityꢁ  
0ꢁ  
N/Aꢁ  
N/Aꢁ  
0ꢁ  
1ꢁ  
PWMꢁFrequencyꢁ  
1000hꢁ  
0ꢁ  
1kHzꢁ  
1ꢁ  
16ꢁ  
1ꢁ  
CLOCKWISEꢁ  
DPꢁ  
DiscontinuityꢁPointꢁ  
0hꢁ  
0hꢁ  
0hꢁ  
N/Aꢁ  
0ꢁ  
0hꢁ  
15ꢁ  
16ꢁ  
16ꢁ  
16ꢁ  
LNR_S0ꢁ  
InitialꢁSlopeꢁ  
0hꢁ  
N/Aꢁ  
0ꢁ  
N/Aꢁ  
0ꢁ  
LNR_A_Xꢁ  
LNR_A_Yꢁ  
LNR_A_Sꢁ  
LNR_B_Xꢁ  
LNR_B_Yꢁ  
LNR_B_Sꢁ  
LNR_C_Xꢁ  
LNR_C_Yꢁ  
LNR_C_Sꢁ  
CLAMP_HIGHꢁ  
CLAMP_LOWꢁ  
AXꢁCoordinateꢁ  
8000hꢁ  
0hꢁ  
AYꢁCoordinateꢁ  
0%ꢁ  
10%ꢁ  
10%ꢁ  
ASꢁCoordinateꢁ  
0hꢁ  
100%/360d80%/360dꢁ 80%/360dꢁ 16ꢁ  
BXꢁCoordinateꢁ  
FFFFhꢁ  
0hꢁ  
FFFFhꢁ  
FFFFhꢁ  
N/Aꢁ  
FFFFhꢁ  
FFFFhꢁ  
N/Aꢁ  
0%ꢁ  
FFFFhꢁ  
FFFFhꢁ  
N/Aꢁ  
FFFFhꢁ  
FFFFhꢁ  
N/Aꢁ  
10%ꢁ  
90%ꢁ  
FFFFhꢁ  
FFFFhꢁ  
N/Aꢁ  
0ꢁ  
FFFFhꢁ  
FFFFhꢁ  
N/Aꢁ  
FFFFhꢁ  
FFFFhꢁ  
N/Aꢁ  
10%ꢁ  
90%ꢁ  
FFFFhꢁ  
N/Aꢁ  
N/Aꢁ  
0ꢁ  
16ꢁ  
16ꢁ  
16ꢁ  
16ꢁ  
16ꢁ  
16ꢁ  
16ꢁ  
16ꢁ  
16ꢁ  
16ꢁ  
8ꢁ  
BYꢁCoordinateꢁ  
BSꢁCoordinateꢁ  
0hꢁ  
CXꢁCoordinateꢁ  
FFFFhꢁ  
FFFFhꢁ  
0hꢁ  
CYꢁCoordinateꢁ  
CSꢁCoordinateꢁ  
ClampingꢁHighꢁ  
8%ꢁ  
8%ꢁ  
FFFFhꢁ  
0ꢁ  
ClampingꢁLowꢁ  
100%ꢁ  
FFFFhꢁ  
N/Aꢁ  
N/Aꢁ  
0ꢁ  
SwitchꢁOutꢁ  
KDꢁ  
MLX90316BCSꢁ  
KDHYSTꢁ  
HysteresisꢁonꢁtheꢁSwitchꢁOutꢁ  
N/Aꢁ  
0ꢁ  
DEADZONEꢁ  
8ꢁ  
4ꢁ  
0ꢁ  
0ꢁ  
0ꢁ  
8ꢁ  
FHYSTꢁ  
MLX90316BCSꢁ  
0ꢁ  
N/Aꢁ  
MLXꢁ  
1ꢁ  
0ꢁ  
N/Aꢁ  
MLXꢁ  
1ꢁ  
8ꢁ  
MLXID1ꢁ/ꢁMLXID2ꢁ/ꢁMLXID3ꢁ  
CUSTID1ꢁ  
MLXꢁ  
1ꢁ  
MLXꢁ  
1ꢁ  
16ꢁ  
8ꢁ  
CUSTID2(20)  
6(19)  
19ꢁ/ꢁ36ꢁ  
MLXꢁ  
0ꢁ  
16ꢁ  
20ꢁ  
16ꢁ  
16ꢁ  
8ꢁ  
CUSTID3ꢁ  
MLXꢁ  
MLXꢁ  
0ꢁ  
MLXꢁ  
0ꢁ  
0ꢁ  
0ꢁ  
FREE2ꢁ  
FILTERꢁ  
FILTERꢁA1(20)  
FILTERꢁA2(20)  
MLX90316BCSꢁ  
N/Aꢁ  
0ꢁ  
2Ahꢁ  
2ꢁ  
N/Aꢁ  
5ꢁ  
16ꢁ  
16ꢁ  
16ꢁ  
16ꢁ  
1ꢁ  
5ꢁ  
FilterꢁcoefficientꢁA1ꢁforꢁFILTER=6ꢁ  
FilterꢁcoefficientꢁA2ꢁforꢁFILTER=6ꢁ  
AutoꢁGainꢁatꢁStartꢁUpꢁ  
MLX90316BCSꢁ  
6600hꢁ  
2A00hꢁ  
0ꢁ  
N/Aꢁ  
N/Aꢁ  
1ꢁ  
N/Aꢁ  
N/Aꢁ  
1ꢁ  
N/Aꢁ  
N/Aꢁ  
1ꢁ  
ARGCꢁ  
0ꢁ  
N/Aꢁ  
1ꢁ  
1ꢁ  
N/Aꢁ  
1ꢁ  
1ꢁ  
HIGHSPEEDꢁ  
0ꢁ  
0ꢁ  
1ꢁ  
End-User Programmable Items continues...  
19ꢁForꢁMLX90316SDC–BCG–STANDARD,ꢁtheꢁCUSTUMERID2ꢁparameterꢁmightꢁdifferꢁfromꢁtheꢁgivenꢁvalueꢁ(28dꢁinsteadꢁofꢁ6d)ꢁ  
20ꢁNotꢁavailableꢁinꢁMLX90316xDCꢁꢃBCSꢁ  
3901090316  
Rev10  
Page 16 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
… End-User Programmable Itemsꢁ  
FSWAPꢁ  
1ꢁ  
0ꢁ  
1ꢁ  
0ꢁ/ꢁ1ꢁ  
1ꢁ  
0ꢁ  
0ꢁ  
1ꢁ  
3ꢁ  
3ꢁ  
0ꢁ  
15ꢁ  
0ꢁ  
1ꢁ  
1ꢁ  
1ꢁ  
0ꢁ  
1ꢁ  
0ꢁ  
1ꢁ  
1ꢁ  
1ꢁ  
8ꢁ  
8ꢁ  
4ꢁ  
4ꢁ  
16ꢁ  
2ꢁ  
1ꢁ  
1ꢁ  
1ꢁ  
FORCECRA75ꢁ  
RadiusꢁAdjustmentꢁtoꢁ75%ꢁ  
AUTO_RGꢁ  
AutomaticꢁRoughꢁGainꢁSelectionꢁ  
0ꢁ  
1ꢁ  
9ꢁ  
0ꢁ  
0ꢁ  
RoughGainꢁ  
MLX90316BCSꢁ  
6ꢁ  
N/Aꢁ  
0ꢁ  
N/Aꢁ  
0ꢁ  
RGThresLꢁ  
0ꢁ  
RGThresHꢁ  
15ꢁ  
3131hꢁ  
0ꢁ  
15ꢁ  
0ꢁ  
15ꢁ  
0ꢁ  
EEHAMHOLEꢁ  
RESONFAULTꢁ  
MLXLOCKꢁ  
1ꢁ  
1ꢁ  
0ꢁ  
1ꢁ  
1ꢁ  
0ꢁ  
1ꢁ  
1ꢁ  
LOCKꢁ  
MLX90316BCSꢁ  
0ꢁ  
N/Aꢁ  
N/Aꢁ  
Parameter for MLX90316xDC-BCS onlyꢁ  
OUT2ENꢁ  
1ꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
1ꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
1ꢁ  
8ꢁ  
WasꢁCUSTUMERID2ꢁ  
N/Aꢁ  
MLXꢁ  
8%ꢁ  
8%ꢁ  
ꢃ1ꢁ  
OUT2ꢁSLOPEꢁRATIOꢁ  
OUT2ꢁOFFSETꢁ  
100%ꢁ  
10%ꢁ  
90%ꢁ  
8ꢁ  
16ꢁ  
16ꢁ  
CLAMP_LOWꢁOUT2ꢁ  
CLAMP_HIGHꢁOUT2ꢁ  
14. Description of End-User Programmable Items  
14.1. Output Mode  
The MLX90316 output type is defined by the Output Mode parameter.  
Parameter  
Value  
Description  
AnalogꢁRailꢃtoꢃRailꢁ  
2,ꢁ4ꢁ  
AnalogꢁOutputꢁModeꢁ  
5ꢁ  
7ꢁ  
LowꢁSideꢁ(NMOS)ꢁ  
PushꢃPullꢁ  
PWMꢁOutputꢁModeꢁ  
Serialꢁ  
N/Aꢁ  
LowꢁSideꢁ(NMOS)ꢁ  
14.1.1. Analog Output Mode  
The Analog Output Mode is a rail-to-rail and ratiometric output with a push-pull output stage configuration  
allows the use of a pull-up or pull-down resistor.  
14.1.2. PWM Output Mode  
If one of the PWM Output modes is selected, the output signal is a digital signal with Pulse Width  
Modulation (PWM).  
In mode 5, the output stage is an open drain NMOS transistor (low side), to be used with a pull-up resistor  
to VDD  
In mode 7, the output stage is a push-pull stage for which Melexis recommends the use of a pull-up  
resistor to VDD  
.
.
The PWM polarity is selected by the PWMPOL1 parameter:  
PWMPOL1 = 0 for a low level at 100%  
PWMPOL1 = 1 for a high level at 100%  
3901090316  
Rev10  
Page 17 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
The PWM frequency is selected by the PWMT parameter.  
PWM Frequency Code (based on typical main clock frequency)  
Pulse-Width Modulation Frequency (Hz)  
Oscillator Mode  
100  
~35000ꢁ  
ꢃꢁ  
200  
500  
1000  
~3500ꢁ  
~10000ꢁ  
LowꢁSpeedꢁ  
HighꢁSpeedꢁ  
~17500ꢁ  
~50000ꢁ  
~7000ꢁ  
~20000ꢁ  
For instance, in Low Speed Mode, set PWMT=7000 (decimal) to set the PWM frequency around  
500Hz(21)  
.
14.1.3. Serial Protocol Output Mode  
The MLX90316 features a digital Serial Protocol mode. The MLX90316 is considered as a Slave node.  
See the dedicated Serial Protocol section for a full description (Section 16).  
14.1.4. Switch Out  
Parameter  
KD  
Value  
0…359.9999  
0 1.4  
Unit  
deg  
deg  
KDHYST  
The switch is activated (Sw_lo) when the digital angle is greater than the value stored in the KD  
parameter. This angle refers to the internal angular reference linked to the parameter DP and not to the  
absolute physical 0°angle.  
The KDHYST defines the hysteresis amplitude around the Switch point. The switch is actually activated if  
the digital angle is greater than KD+KDHYST. It is deactivated if the digital angle is less than  
KD-KDHYST.  
The mandatory application diagram to use this feature is depicted in the Figure 9. See section 7 for the  
electrical characteristic.  
If the Switch feature is not used in the application, the output pin needs to be connected to the ground.  
5 V  
MLX90316  
1k5  
SWITCH  
OUT  
toꢀuC  
I/O  
175  
Port  
ECU  
Figureꢁ9ꢁ–ꢁApplicationꢁDiagramꢁforꢁtheꢁSwitchꢁOutꢁ  
21Inordertoꢁcompensateꢁtheꢁlotꢁtoꢁlotꢁvariationꢁofꢁtheꢁmainꢁclockfrequency(Ck),Melexisstronglyrecommendsꢁtrimmingꢁtheꢁ  
PWMꢁfrequencyꢁduringꢁEOLꢁprogrammingꢁ(seeꢁtheꢁPTCꢃ04ꢁdocumentation).ꢁꢁꢁꢁ  
3901090316  
Rev10  
Page 18 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
14.2. Output Transfer Characteristic  
Parameter  
CLOCKWISE  
DP  
Value  
Unit  
0 CCW  
1 CW  
deg  
deg  
0 359.9999  
LNR_A_X  
LNR_B_X  
0 359.9999  
LNR_C_X  
LNR_A_Y  
LNR_B_Y  
%
0 100  
0 17  
LNR_C_Y  
LNR_S0  
LNR_A_S  
LNR_B_S  
%/deg  
LNR_C_S  
CLAMP_LOW  
CLAMP_HIGH  
DEADZONE  
-17 … 0 … 17  
0 100  
%/deg  
%
%
0 100  
deg  
0 359.9999  
MLX90316 xDC – BCS only  
OUT2 SLOPE RATIO  
-8 … 0 … 8  
-400 400  
0 100  
-
OUT2 OFFSET  
CLAMP_LOW OUT2  
CLAMP_HIGH OUT2  
%
%
%
0 100  
14.2.1. 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 SOIC8 package and 1-8-9-16 pin  
order direction for the TSSOP16 package.  
CW is defined by the reverse direction: 8-5-4-1 pin order direction for the SOIC8 and 16-9-8-1 pin  
order direction for the TSSOP16 package.  
Refer to the drawing in the IMC positioning sections (Section 20.3 and 20.6).  
14.2.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.  
3901090316  
Rev10  
Page 19 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
360°  
0°  
The placement of the discontinuity  
point (0 point) is programmable.  
Figure 10 - Discontinuity Point Positioning  
14.2.3. 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 MLX90316 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 five calibration points are then available, reducing the overall non-linearity of the IC by  
almost an order of magnitude each time. Three or five point calibration 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.  
100 %  
Clamping High  
CLAMPHIGH  
C
Slope LNR_C_S  
LNR_C_Y  
B
Slope LNR_B_S  
LNR_B_Y  
A
Slope LNR_A_S  
LNR_A_Y  
Slope LNR_S0  
Clamping Low  
CLAMPLOW  
0 %  
LNR_A_X  
LNR_B_X  
LNR_C_X  
360  
(Deg.)  
0
14.2.4. CLAMPING Parameters  
The clamping levels are two independent values to limit the output voltage range. The CLAMP_LOW  
parameter adjusts the minimum output voltage level. The CLAMP_HIGH parameter sets the maximum  
output voltage level. Both parameters have 16 bits of adjustment. 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. In  
SPI mode, the resolution is 14bits or 0.022deg over 360deg.  
3901090316  
Rev10  
Page 20 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
14.2.5. DEADZONE Parameter  
The dead zone is defined as the angle window between 0 and 359.9999.  
When the digital angle lies in this zone, the IC is in fault mode (RESONFAULT must be set to “1” – See  
14.6.1).  
14.2.6. MLX90316 xDC- BCS ONLY  
The MLX90316 BCS firmware offers the possibility to program a second output transfer characteristic of  
the single die version.  
The following formula is used in the 90316BxS:  
O
UT2 = OUT2SlopeRatio * OUT1 + OUT2Offset  
Range OUT2 = [ Clamp_Low OUT2..Clamp_High OUT2 ]  
UT2 SLOPE RATIO Controls the slope ratio OUT1 vs OUT2. The ratio can be positive or negative.  
O
The example of MLX90316LDC-BCS-PPA is given in the figure below (slope = -1, OUT2 = -1 x slope OUT1  
+ 100 %).  
100%  
90%  
O
UT1  
10%  
0%  
O
UT2  
360 (Deg.)  
0
14.3. Identification  
Parameter  
Value  
Unit  
0 65535  
0 65535  
0 65535  
0 255  
MELEXSID1  
MELEXSID2  
MELEXSID3  
CUSTUMERID1  
CUSTUMERID2  
CUSTUMERID3  
0 65535  
0 65535  
Identification number: 40 bits freely useable by Customer for traceability purpose.  
3901090316  
Rev10  
Page 21 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
14.4. Sensor Front-End  
Parameter  
Value  
Unit  
0 = Slow mode  
1 = Fast mode  
0 = disable  
1 = enable  
0 = disable  
1 = enable  
HIGHSPEED  
ARGC  
AUTO_RG  
RoughGain  
RGThresL  
RGThresH  
0 15  
0 15  
0 15  
14.4.1. HIGHSPEED Parameter  
The HIGHSPEED parameter defines the main frequency for the DSP.  
HIGHSPEED = 0 selects the Slow mode with a 7 MHz master clock.  
HIGHSPEED = 1 selects the Fast mode with a 20 MHz master clock.  
For better noise performance, the Slow Mode must be enabled.  
14.4.2. ARGC, AUTO_RG, RoughGain and FORCECRA75 Parameters  
AUTO_RG and ARGC parameters enable the automatic gain control (AGC) of the analog chain. The AGC  
loop is based on  
(VX)²+ (VY)² = (Amplitude)² = (Radius)²  
and it targets an amplitude of 90% of the ADC input span.  
At Start-Up phase, the gain stored in the parameter RoughGain is always used. Depending of the  
AUTO_RG and ARGC settings, the AGC regulation acts as follow:  
If ARGC is set, the regulation proceeds by jump to reach the target gain. Note that this regulation  
is only valid if the starting gain does not saturate the ADC. Melexis recommendation is to use  
RoughGain 3 if ARGC=1.  
If ARGC is “0” and AUTO_RG is set to “1”, the regulation adapts every cycle by one gain code the  
current gain to reach the 90% ADC span target. Note that if the value of RoughGain is too far  
from the actual gain, the chip will enter the normal operating mode (after the Start-Up phase) with  
an incorrect gain which will cause the device to go in diagnostic low (field too low/field too high –  
See section 15).  
If ARGC and AUTO_RG are “0”, the AGC regulation is off and the gain used is the value stored in  
the parameter RoughGain. Melexis does not advise the use of this mode.  
The parameter AUTO_RG activates the automatic regulation during normal operation of the device as  
background task.  
The parameter FORCECRA75 modifies the target of the AGC algorithm to 75% - instead of 90% - of the  
ADC span (at start-up and in normal operation).  
3901090316  
Rev10  
Page 22 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
Melexis strongly recommend to set ARGC = “1”, AUTO_RG = “1” and RoughGain 3 for all types of  
application. If the magnetic specifications of the application are well known and under control, the  
appropriate RoughGain can also be programmed with ARGC set to “0” and AUTO_RG to “1”.  
Please note that the angular errors listed in the section 10 are only valid if the AUTO_RG is activated.  
AUTO_RG avoids also the saturation of the analog chain and the associated linearity error.  
The current gain (RG) can be read out with the PTC-04 and gives a rough indication of the applied  
magnetic flux density (Amplitude).  
14.4.3. RGThresL, RGThresH Parameters  
RGThresL & RGThresH define the boundaries within the gain setting (Rough Gain) is allowed to vary.  
Outside this range, the output is set in diagnostic low.  
14.5. FILTER  
Parameter  
FHYST  
Value  
0 11 ; step 0.04  
0… 6  
Unit  
deg  
FILTER  
0
1
FSWAP  
The MLX90316 includes 3 types of filters:  
Hysteresis Filter: programmable by the FHYSTꢁparameter  
Low Pass FIR Filters controlled with the Filter parameter  
Low Pass IIR Filter controlled with the Filter parameter and the coefficients FILTER A1 and  
FILTER A2  
Note: if the parameter FSWAP is set to “1”, the filtering is active on the digital angle. If set to “0”, the  
filtering is active on the output transfer function.  
14.5.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.  
Please note that for the programmable version, the FHYST parameter is set to 4 by default. If you do not  
wish this feature, please set it to “0”.  
14.5.2. FIR Filters  
The MLX90316 features 6 FIR filter modes controlled with Filter = 0…5. The transfer function is described  
below:  
j
1
yn =  
a x  
i ni  
j
i=0  
a
i
i=0  
3901090316  
Rev10  
Page 23 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
The characteristics of the filters no 0 to 5 is given in the Table 1.  
FilterꢀNoꢀ(j)ꢀ  
Typeꢁ  
0ꢀ  
Disableꢁ  
N/Aꢁ  
NoꢁFilterꢁ  
1ꢁ  
1ꢀ  
2ꢀ  
3ꢀ  
4ꢀ  
5ꢀ  
FiniteꢁImpulseꢁResponseꢁ  
Coefficientsꢁa0…ꢁa5ꢁ  
Titleꢁ  
110000ꢁ  
121000ꢁ  
133100ꢁ  
111100ꢁ  
Lightꢁ  
4ꢁ  
122210ꢁ  
ExtraꢁLightꢁ  
90%ꢁResponseꢁTimeꢁ  
99%ꢁResponseꢁTimeꢁ  
EfficiencyꢁRMSꢁ(dB)ꢁ  
EfficiencyꢁP2Pꢁ(dB)ꢁ  
2ꢁ  
2ꢁ  
3ꢁ  
3ꢁ  
4ꢁ  
4ꢁ  
5ꢁ  
5ꢁ  
1ꢁ  
4ꢁ  
0ꢁ  
2.9ꢁ  
2.9ꢁ  
4.0ꢁ  
3.6ꢁ  
4.7ꢁ  
5.0ꢁ  
5.6ꢁ  
6.2ꢁ  
7.0ꢁ  
0ꢁ  
6.1ꢁ  
Table 1 - FIR Filters Selection Table  
FIR and HYST Filters : Step response Comparative Plot  
40000  
x(n)  
38000  
36000  
34000  
32000  
30000  
fir(n)  
hyst(n)  
0
5
10  
15  
Milliseconds  
20  
25  
30  
FIR and HYST Filter : Gaussian white noise response  
40200  
40150  
40100  
40050  
40000  
39950  
39900  
39850  
39800  
x(n)  
fir(n)  
hyst(n)  
0
50  
100  
150  
Milliseconds  
Figure 11 - Step Response and Noise Response for FIR (No 3) and FHYST=10  
3901090316  
Rev10  
Page 24 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
14.5.3. IIR Filters  
The IIR Filter is enabled with Filter = 6. The diagram of the IIR Filter implemented in the MLX90316 is  
given in Figure 12. Only the parameter A1 and A2 are configurable (See Table 2).  
b0 = 1  
x(n)  
y(n)  
Zꢁ1  
Zꢁ1  
b1 = 2  
-a1  
Zꢁ1  
Zꢁ1  
b2 = 1  
-a2  
Figure 12 - IIR Diagram  
FilterꢀNoꢀ  
Typeꢁ  
6ꢀ  
2ndꢁOrderꢁInfiniteꢁImpulseꢁResponseꢁ(IIR)ꢁ  
Titleꢁ  
Mediumꢁ&ꢁStrongꢁ  
90%ꢁResponseꢁTimeꢁ  
EfficiencyꢁRMSꢁ(dB)ꢁ  
EfficiencyꢁP2Pꢁ(dB)ꢁ  
CoefficientꢁA1ꢁ  
CoefficientꢁA2ꢁ  
11ꢁ  
16ꢁ  
26ꢁ  
40ꢁ  
52ꢁ  
16.2ꢁ  
20ꢁ  
100ꢁ  
9.9ꢁ  
11.4ꢁ  
13.6ꢁ  
15.3ꢁ  
>20ꢁ  
>20ꢁ  
12.9ꢁ  
14.6ꢁ  
17.1ꢁ  
18.8ꢁ  
26112ꢁ  
10752ꢁ  
28160ꢁ  
12288ꢁ  
29120ꢁ  
12992ꢁ  
30208ꢁ  
13952ꢁ  
31296ꢁ  
14976ꢁ  
31784ꢁ  
15412ꢁ  
Table 2 - IIR Filter Selection Table  
The Figure 13 shows the response of the filter to a Gaussian noise with default coefficient A1 and A2.  
3901090316  
Rev10  
Page 25 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
IIR Filter - Gaussian White Noise Response  
40200  
40150  
40100  
40050  
40000  
39950  
39900  
39850  
39800  
x(n)  
y(n)  
0
50  
100  
150  
Time  
Figure 13 - Noise Response for the IIR Filter  
14.6. Programmable Diagnostic Settings  
Parameter  
Value  
Unit  
0
1
0
RESONFAULT  
EEHAMHOLE  
3131h  
14.6.1. RESONFAULT Parameter  
This RESONFAULT parameter enables the soft reset when a fault is detected by the CPU when the  
parameter is set to 1. By default, the parameter is set to “0” but it is recommended to set it to “1” to  
activate the self diagnostic modes (See section 15).  
Note that in the User Interface (MLX90316UI), the RESONFAULT is split in two bits:  
DRESONFAULT: disable the reset in case of a fault.  
DOUTINFAULT: disable output in diagnostic low in case of fault.  
14.6.2. EEHAMHOLE Parameter  
The EEHAMHOLE parameter disables the CRC check and the memory recovery (Hamming code) when it  
is equal to 3131h. Melexis strongly recommends to set the parameter to 0 (enable memory recovery).  
This is done automatically when using the MEMLOCK function.  
14.7. Lock  
Parameter  
Value  
Unit  
0
1
0
1
MLXLOCK  
LOCK  
3901090316  
Rev10  
Page 26 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
14.7.1. MLXLOCK Parameter  
MLXLOCK locks all the parameters set by Melexis.  
14.7.2. LOCK Parameter  
LOCK locks all the parameters set by the user. Once the lock is enabled, it is not possible to change the  
EEPROM values anymore.  
Note that the lock bit should be set by the solver function “MemLock”.  
3901090316  
Rev10  
Page 27 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
15. MLX90316 Self Diagnostic  
The MLX90316 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”).  
Actionꢀ  
EffectꢀonꢀOutputsꢀ  
Remarkꢀ  
ROMꢁCRCꢁErrorꢁatꢁstartꢁupꢁ  
(64ꢁwordsꢁincludingꢁIntelligentꢁ  
WatchꢁDogꢁꢃꢁIWD)ꢁ  
CPUꢁResetꢁ(22)  
Diagnosticꢁlow(23)  
Allꢁtheꢁoutputsꢁareꢁalreadyꢁ  
inꢁDiagnosticꢁlowꢁꢃꢁ(startꢃup)ꢁ  
ROMꢁCRCꢁErrorꢁ(Operationꢁꢃꢁ  
Backgroundꢁtask)ꢁꢁ  
EnterꢁEndlessꢁLoop:ꢁ  
ꢃꢁProgressꢁ(watchdogꢁ  
Acknowledge)ꢁ  
ImmediateꢁDiagnosticꢁlowꢁ  
ꢃꢁSetꢁOutputsꢁinꢁDiagnosticꢁlowꢁ  
RAMꢁTestꢁFailꢁ(Startꢁup)ꢁ  
CPUꢁResetꢁ  
Diagnosticꢁlowꢁ  
Allꢁtheꢁoutputsꢁareꢁalreadyꢁ  
inꢁDiagnosticꢁlowꢁ(startꢃup)ꢁ  
StartꢃUpꢁTimeꢁisꢁincreasedꢁ  
byꢁ3ꢁmsꢁifꢁsuccessfulꢁ  
recoveryꢁ  
CalibrationꢁDataꢁCRCꢁErrorꢁꢁ  
(StartꢃUp)ꢁꢁ  
HammingꢁCodeꢁRecoveryꢁ  
HammingꢁCodeꢁRecoveryꢁErrorꢁ CPUꢁResetꢁ  
(StartꢃUp)ꢁ  
ImmediateꢁDiagnosticꢁlowꢁ  
ImmediateꢁDiagnosticꢁlowꢁ  
ImmediateꢁDiagnosticꢁlowꢁ  
Seeꢁ14.6.2ꢁ  
CalibrationꢁDataꢁCRCꢁErrorꢁꢁ  
(OperationꢁꢃꢁBackground)ꢁꢁ  
DeadꢁZoneꢁ  
CPUꢁResetꢁ  
SetꢁOutputsꢁinꢁDiagnosticꢁlow.ꢁ  
NormalꢁOperationꢁuntilꢁtheꢁ“deadꢁ  
zone”ꢁisꢁleft.ꢁ  
Immediateꢁrecoveryꢁifꢁtheꢁ  
“deadꢁzone”ꢁisꢁleftꢁꢁ  
ADCꢁClippingꢁ  
(ADCꢁOutputꢁisꢁ0000hꢁorꢁ  
7FFFh)ꢁ  
RadiusꢁOverflowꢁ(ꢁ>ꢁ100%ꢁ)ꢁorꢁꢁ SetꢁOutputsꢁinꢁDiagnosticꢁlowꢁ  
RadiusꢁUnderflowꢁꢁ  
(ꢁ<ꢁ50ꢁ%ꢁ)ꢁ  
SetꢁOutputsꢁinꢁDiagnosticꢁlowꢁ  
NormalꢁmodeꢁandꢁCPUꢁResetꢁIfꢁ  
recoveryꢁ  
ImmediateꢁDiagnosticꢁlowꢁ  
ImmediateꢁDiagnosticꢁlowꢁ  
ImmediateꢁDiagnosticꢁlowꢁ  
ImmediateꢁDiagnosticꢁlowꢁ  
ImmediateꢁDiagnosticꢁlowꢁ  
(50ꢁ%ꢁꢃꢁ100ꢁ%)ꢁ  
Noꢁmagnetꢁ/ꢁfieldꢁtooꢁhighꢁ  
Seeꢁalsoꢁ14.4.2ꢁ  
NormalꢁmodeꢁandꢁCPUꢁResetꢁIfꢁ  
recoveryꢁꢁ  
SetꢁOutputsꢁinꢁDiagnosticꢁlowꢁ  
Normalꢁmode,ꢁandꢁCPUꢁResetꢁIfꢁ  
recoveryꢁꢁ  
SetꢁOutputsꢁinꢁDiagnosticꢁlowꢁ  
Normalꢁmode,ꢁandꢁCPUꢁResetꢁIfꢁ  
recoveryꢁ  
SetꢁOutputsꢁinꢁDiagnosticꢁlowꢁ  
Normalꢁmode,ꢁandꢁCPUꢁResetꢁIfꢁ  
recoveryꢁ  
FineꢁGainꢁClippingꢁ  
(FGꢁ<ꢁ0dꢁorꢁ>ꢁ63d)ꢁ  
RoughꢁOffsetꢁClippingꢁ  
(ROꢁisꢁ<ꢁ0dꢁorꢁ>ꢁ127d)ꢁ  
RoughꢁGainꢁClippingꢁ  
(RGꢁ<ꢁRGTHRESLOWꢁorꢁRGꢁ>ꢁ  
RGTHRESHIGH)ꢁ  
Seeꢁalsoꢁ14.4.2ꢁ  
ImmediateꢁDiagnosticꢁlowꢁ  
DACꢁMonitorꢁ(DigitalꢁtoꢁAnalogꢁ SetꢁOutputsꢁinꢁDiagnosticꢁlow.ꢁ  
converter)ꢁ  
NormalꢁModeꢁwithꢁimmediateꢁ  
recoveryꢁwithoutꢁCPUꢁResetꢁ  
MLX90316 Fault Mode continues…  
22ꢁCPUꢁresetꢁmeansꢁ  
1.  
CoreꢁResetꢁ(sameꢁasꢁPowerꢃOnꢃReset).ꢁItꢁinducesꢁaꢁtypicalꢁstartꢁupꢁtime.ꢁ  
2.  
3.  
4.  
PeripheryꢁResetꢁ(sameꢁasꢁPowerꢃOnꢃReset)ꢁ  
FaultꢁFlag/StatusꢁLostꢁ  
TheꢁresetꢁcanꢁbeꢁdisabledꢁbyꢁclearingꢁtheꢁRESONFAULTꢁbitꢁ(Seeꢁ14.6.1)ꢁ  
23ꢁReferꢁtoꢁsectionꢁ7ꢁforꢁtheꢁDiagnosticꢁOutputꢁLevelꢁspecificationsꢁꢁ  
3901090316  
Rev10  
Page 28 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
…MLX90316 Fault Mode  
FaultꢀModeꢀ  
Actionꢀ  
EffectꢀonꢀOutputsꢀ  
Remarkꢀ  
ImmediateꢁDiagnosticꢁlowꢁ  
ADCꢁMonitorꢁ(AnalogꢁtoꢁDigitalꢁ SetꢁOutputsꢁinꢁDiagnosticꢁlow.ꢁ  
ADCꢁInputsꢁareꢁShortedꢁ  
Converter)ꢁ  
NormalꢁModeꢁwithꢁimmediateꢁ  
recoveryꢁwithoutꢁCPUꢁResetꢁ  
ꢃꢁVDDꢁ<ꢁPORꢁlevelꢁ=>ꢁ  
Outputsꢁhighꢁimpedanceꢁꢁ  
ꢃꢁPORꢁlevelꢁ<ꢁVDDꢁ<ꢁ3ꢁVꢁ=>ꢁ  
OutputsꢁinꢁDiagnosticꢁlow.ꢁ  
UndervoltageꢁModeꢁ  
AtꢁStartꢃUp,ꢁwaitꢁUntilꢁVDDꢁ>ꢁ3V.ꢁꢁ  
Duringꢁoperation,ꢁCPUꢁResetꢁafterꢁ  
3ꢁmsꢁdebouncingꢁꢁ  
FirmwareꢁFlowꢁErrorꢁ  
CPUꢁResetꢁ  
CPUꢁResetꢁ  
ImmediateꢁDiagnosticꢁlowꢁ  
ImmediateꢁDiagnosticꢁlowꢁ  
ImmediateꢁDiagnosticꢁlowꢁ  
ImmediateꢁDiagnosticꢁlowꢁ  
IntelligentꢁWatchdogꢁ  
(Observer)ꢁ  
100%ꢁHardwareꢁdetectionꢁ  
Read/WriteꢁAccessꢁoutꢁofꢁ  
physicalꢁmemoryꢁ  
WriteꢁAccessꢁtoꢁprotectedꢁareaꢁ CPUꢁResetꢁ  
(IOꢁandꢁRAMꢁWords)ꢁ  
Unauthorizedꢁentryꢁinꢁ  
“SYSTEM”ꢁModeꢁ  
100%ꢁHardwareꢁdetectionꢁ  
100%ꢁHardwareꢁdetectionꢁ  
100%ꢁHardwareꢁdetectionꢁ  
CPUꢁResetꢁ  
V
DDꢁ>ꢁ7ꢁVꢁ  
SetꢁOutputꢁHighꢁImpedanceꢁ  
(Analog)ꢁ  
Pullꢁdownꢁresistiveꢁloadꢁ=>ꢁ  
Diag.ꢁLowꢁ  
Pullꢁupꢁresistiveꢁloadꢁ=>ꢁ  
Diag.ꢁHigh(23)  
V
DDꢁ>ꢁ9.4ꢁVꢁ  
ICꢁisꢁswitchedꢁoffꢁ(internalꢁsupply)ꢁ  
CPUꢁResetꢁonꢁrecoveryꢁ  
Pullꢁdownꢁresistiveꢁloadꢁ=>ꢁ  
Diag.ꢁLowꢁ  
100%ꢁHardwareꢁdetectionꢁ  
Pullꢁupꢁresistiveꢁloadꢁ=>ꢁ  
Diag.ꢁHighꢁ  
Pullꢁdownꢁresistiveꢁloadꢁ=>ꢁ  
Diag.ꢁLowꢁ  
BrokenꢁVSS(24)ꢁ  
CPUꢁResetꢁonꢁrecoveryꢁ  
100%ꢁHardwareꢁdetection.ꢁ  
Pullꢁdownꢁloadꢁꢁ10ꢁkꢀꢁtoꢁ  
meetꢁDiagꢁLowꢁspec:ꢁ  
ꢃ <ꢁ2%ꢁVDDꢁ(temperatureꢁ  
suffixꢁSꢁandꢁE)ꢁ  
Pullꢁupꢁresistiveꢁloadꢁ=>ꢁ  
Diag.ꢁHighꢁ  
ꢃ <ꢁ4%ꢁVDDꢁ(ꢁtemperatureꢁ  
suffixꢁK)ꢁ  
ꢃ contactꢁMelexisꢁforꢁ  
temperatureꢁsuffixꢁLꢁ  
Noꢁvalidꢁdiagnosticꢁforꢁ  
BrokenꢁVDD(24)ꢁ  
CPUꢁResetꢁonꢁrecoveryꢁ  
Pullꢁdownꢁresistiveꢁloadꢁ=>ꢁ  
Diag.ꢁLowꢁ  
Pullꢁupꢁresistiveꢁloadꢁ=>ꢁ  
Diag.ꢁHighꢁ  
V
PULLUPꢁ=ꢁVDD.ꢁ  
Pullꢁupꢁloadꢁ(ꢁ10kꢀ)ꢁtoꢁ  
PULLUPꢁ>ꢁ8ꢁVꢁtoꢁmeetꢁDiagꢁ  
V
Hiꢁspecꢁ>ꢁ96%ꢁVdd.ꢁ  
24ꢁNotꢁValidꢁforꢁSPIꢁVersionꢁ  
3901090316  
Rev10  
Page 29 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
16. Serial Protocol  
16.1. Introduction  
The MLX90316 features a digital Serial Protocol mode. The MLX90316 is considered as a Slave node.  
The serial protocol of the MLX90316 is a three wires protocol (/SS, SCLK, MOSI-MISO):  
/SS pin is a 5 V tolerant digital input  
SCLK pin is a 5 V tolerant digital input  
MOSI-MISO pin is a 5 V tolerant open drain digital input/output  
The basic knowledge of the standard SPI specification is required for the good understanding of the  
present section.  
16.2. SERIAL PROTOCOL Mode  
CPHA = 1 even clock changes are used to sample the data  
CPOL = 0 active-Hi clock  
The positive going edge shifts a bit to the Slave’s output stage and the negative going edge samples the  
bit at the Master’s input stage.  
16.3. MOSI (Master Out Slave In)  
The Master sends a command to the Slave to get the angle information.  
16.4. MISO (Master In Slave Out)  
The MISO of the slave is an open-collector stage. Due to the capacitive load (TBD) a >1 kpull-up is  
used for the recessive high level (in fast mode). Note that MOSI and MISO use the same physical pin of  
the MLX90316.  
16.5. /SS (Slave Select)  
The /SS pin enables a frame transfer (if CPHA = 1). It allows a re-synchronization between Slave and  
Master in case of communication error.  
16.6. Master Start-Up  
/SS, SCLK, MISO can be undefined during the Master start-up as long as the Slave is re-synchronized  
before the first frame transfer.  
16.7. Slave Start-Up  
The slave start-up (after power-up or an internal failure) takes 16 ms. Within this time /SS and SCLK is  
ignored by the Slave. The first frame can therefore be sent after 16 ms. MISO is Hi-Z (i.e. Hi-Impedance)  
until the Slave is selected by its /SS input. MLX90316 will cope with any signal from the Master while  
starting up.  
3901090316  
Rev10  
Page 30 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
16.8. Timing  
To synchronize communication, the Master deactivates /SS high for at least t5 (1.5 ms). In this case, the  
Slave will be ready to receive a new frame. The Master can re-synchronize at any time, even in the middle  
of a byte transfer.  
Note: Any time shorter than t5 leads to an undefined frame state, because the Slave may or may not  
have seen /SS inactive.  
t4  
t9  
t6 t1  
t1 t7 t1  
t1  
t5  
t1  
t2  
SCLK  
MOSI/  
MISO  
/SS  
2 Startbytes  
Byte 0  
Byte 1  
Byte 2  
Byte 7  
Timingsꢀ  
Min(25)  
Maxꢀ  
Remarksꢀ  
NoꢁcapacitiveꢁloadꢁonꢁMISO.ꢁ  
t1ꢁ  
2.3ꢁꢂsꢁ/ꢁ6.9ꢁꢂsꢁ  
ꢃꢁ  
t1ꢁ isꢁ theꢁ minimumꢁ clockꢁ periodꢁ forꢁ anyꢁ  
bitsꢁwithinꢁaꢁbyte.ꢁ  
t2ꢁtheꢁminimumꢁtimeꢁbetweenꢁanyꢁotherꢁ  
byteꢁ  
ꢁTimeꢁ betweenꢁ lastꢁ clockꢁ andꢁ  
/SS=high=chipꢁdeꢃselectionꢁ  
t2ꢁ  
t4ꢁ  
12.5ꢁꢂsꢁ/ꢁ37.5ꢁꢂsꢁ  
2.3ꢁꢂsꢁ/ꢁ6.9ꢁꢂsꢁ  
ꢃꢁ  
ꢃꢁ  
Minimumꢁ /SSꢁ =ꢁ Hiꢁ timeꢁ whereꢁ it’sꢁ  
guaranteedꢁ thatꢁ aꢁ frameꢁ reꢃ  
synchronizationsꢁwillꢁbeꢁstarted.ꢁ  
Maximumꢁ /SSꢁ =ꢁ Hiꢁ timeꢁ whereꢁ it’sꢁ  
guaranteedꢁ thatꢁ NOꢁ frameꢁ reꢃ  
synchronizationsꢁwillꢁbeꢁstarted.ꢁ  
Theꢁ timeꢁ t6ꢁ definesꢁ theꢁ minimumꢁ timeꢁ  
betweenꢁ/SSꢁ=ꢁLoꢁandꢁtheꢁfirstꢁclockꢁedgeꢁ  
t7ꢁisꢁtheꢁminimumꢁtimeꢁbetweenꢁtheꢁ  
StartByteꢁandꢁtheꢁByte0ꢁ  
t5ꢁ  
t5ꢁ  
300ꢁꢂsꢁ/ꢁ1500ꢁꢂsꢁ  
0ꢂsꢁ  
ꢃꢁ  
ꢃꢁ  
t6ꢁ  
t7ꢁ  
t9ꢁ  
2.3ꢁꢂsꢁ/ꢁꢁ6.9ꢁꢂsꢁ  
ꢃꢁ  
ꢃꢁ  
15ꢁꢂsꢁ/ꢁ45ꢁꢂsꢁ  
Maximumꢁtimeꢁbetweenꢁ/SSꢁ=ꢁHiꢁandꢁ  
MISOꢁBusꢁHighꢃImpedanceꢁ  
Minimumꢁtimeꢁbetweenꢁꢁresetꢃinactiveꢁ  
andꢁanyꢁmasterꢁsignalꢁchangeꢁ  
ꢃꢁ  
ꢃꢁ  
<1ꢁꢂsꢁ  
TStartUp  
<ꢁ10ꢁmsꢁ/ꢁ16ꢁmsꢁ  
25ꢁTimingsꢁshownꢁforꢁoscillatorꢁbaseꢁfrequencyꢁofꢁ20MHzꢁ(FastꢁMode)ꢁ/ꢁ7ꢁMHzꢁ(SlowꢁMode)ꢁ  
3901090316  
Rev10  
Page 31 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
16.9. Slave Reset  
On internal soft failures the Slave resets after 1 second or after an (error) frame is sent. On internal hard  
failures the Slave resets itself. In that case, the Serial Protocol will not come up. The serial protocol link is  
enabled only after the completion of the first synchronization (the Master deactivates /SS for at least t5).  
16.10. Frame Layer  
16.10.1. Command Device Mechanism  
Before each transmission of a data frame, the Master should send a byte AAh to enable a frame transfer.  
The latch point for the angle measurement is at the last clock before the first data frame byte.  
Latch point  
/SS  
SCLK  
A
A
F
F
F
F
F
F
F
F
F
F
F
F
F
F
F
F
F
F
A
A
F
F
F
F
MOSI  
MISO  
F
F
F
F
F
F
F
F
F
F
F
F
F
F
F
F
D
A
T
A
D
Timing diagram  
16.10.2. Data Frame Structure  
A data frame consists of 10 bytes:  
2 start bytes (AAh followed by FFh)  
2 data bytes (DATA16 – most significant byte first)  
2 inverted data bytes (/DATA16 - most significant byte first)  
4 all-Hi bytes  
The Master should send AAh (55h in case of inverting transistor) followed by 9 bytes FFh. The Slave will  
answer with two bytes FFh followed by 4 data bytes and 4 bytes FFh.  
16.10.3. Timing  
There are no timing limits for frames: a frame transmission could be initiated at any time. There is no inter-  
frame time defined.  
3901090316  
Rev10  
Page 32 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
16.10.4. Data Structure  
The DATA16 could be a valid angle, or an error condition. The two meanings are distinguished by the  
LSB.  
DATA16: Angle A[13:0] with (Angle Span)/214  
Most Significant Byte  
MSB  
A13 A12 A11 A10 A9 A8 A7  
Less Significant Byte  
LSB MSB  
A6 A5  
LSB  
1
A4 A3 A2 A1 A0  
0
DATA16: Error  
Most Significant Byte  
MSB  
E15 E14 E13 E12 E11 E10 E9 E8  
Less Significant Byte  
LSB  
E6 E5 E4 E3 E2 E1 E0  
LSB MSB  
E7  
BIT  
E0  
E1  
E2  
E3  
E4  
NAME  
0
1
F_ADCMONITOR  
F_ADCSATURA  
F_RGTOOLOW  
ADC Failure  
ADC Saturation (Electrical failure or field too strong)  
Analog Gain Below Trimmed Threshold  
(Likely reason : field too weak)  
E5  
E6  
E7  
F_MAGTOOLOW  
F_MAGTOOHIGH  
F_RGTOOHIGH  
Magnetic Field Too Weak  
Magnetic Field Too Strong  
Analog Gain Above Trimmed Threshold  
(Likely reason : field too strong)  
E8  
E9  
E10  
E11  
E12  
E13  
F_FGCLAMP  
F_ROCLAMP  
F_MT7V  
-
-
-
Never occurring in serial protocol  
Analog Chain Rough Offset Compensation : Clipping  
Device Supply VDD Greater than 7V  
E14 F_DACMONITOR  
E15  
Never occurring in serial protocol  
-
16.10.5. Angle Calculation  
All communication timing is independent (asynchronous) of the angle data processing. The angle is  
calculated continuously by the Slave:  
Slow Mode: every 1.5 ms at most.  
Fast Mode: every 350 s at most.  
The last angle calculated is hold to be read by the Master at any time. Only valid angles are transferred by  
the Slave, because any internal failure of the Slave will lead to a soft reset.  
16.10.6. Error Handling  
In case of any errors listed in section 16.10.4, the Serial protocol will be initialized and the error condition  
can be read by the master. The slave will perform a soft reset once the error frame is sent.  
In case of any other errors (ROM CRC error, EEPROM CRC error, RAM check error, intelligent watchdog  
error…) the Slave’s serial protocol is not initialized. The MOSI/MISO pin will stay Hi-impedant (no error  
frames are sent).  
3901090316  
Rev10  
Page 33 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
17. Recommended Application Diagrams  
17.1. Analog Output Wiring with the MLX90316 in SOIC Package  
ECU  
5 V  
Vdd  
C1  
100nF  
GND  
Vdd  
Vss  
MLX90316  
ADC  
C2  
100nF  
Test 1  
Vdig  
C3  
100nF  
Switch Out Test 2  
Output  
Out1  
NotUsed  
R1  
10K  
C4  
4.7nF  
Figure 14 – Recommended wiring for the MLX90316 in SOIC8 package(26)  
.
ECU  
5 V  
V
DD  
C1  
C2  
GND  
VDD  
VSS  
MLX90316  
ADC  
T
EST1  
VDIG  
BCS  
C3  
C4  
Switch Out  
TEST2  
O
O
UT1  
UT2  
O
UT1  
O
UT2  
C1, C2, C3, C4: 100nF  
Figure 15 – Recommended wiring for the MLX90316 in SOIC8 package – “BCS” Version.  
26ꢁSeeꢁsectionꢁ14.1.4ꢁifꢁtheꢁSwitchꢁOutputꢁfeatureꢁisꢁused.ꢁ  
3901090316  
Rev10  
Page 34 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
17.2. Analog Output Wiring with the MLX90316 in TSSOP Package  
ECU  
VDD1  
Vdd1  
GND1  
GND1  
GND1  
C2  
100nF  
C3  
100nF  
C7  
4.7nF  
R1  
10K  
C1  
100nF  
Vdig1  
Vss1  
Vdd1  
Output1  
Out1  
C4  
100nF  
MLX90316  
VDD2  
Vdd2  
Vdd2  
Vss2  
Vdig2  
GND2  
ADC  
Out2  
GND2  
C5  
100nF  
C8  
4.7nF  
R2  
10K  
C6  
100nF  
GND2  
Output2  
Figure 16 – Recommended wiring for the MLX90316 in TSSOP16 package (dual die).  
17.3. PWM Low Side Output Wiring  
ECU  
5 V  
Vdd  
C1  
100nF  
GND  
Vdd  
Vss  
MLX90316  
TIMER  
C2  
100nF  
Test 1  
Vdig  
5 V  
C3  
4.7nF  
Switch Out Test 2  
R1  
1K  
Output  
PWM  
NotUsed  
C4  
4.7nF  
Figure 17 – Recommended wiring for a PWM Low Side Output configuration(27)  
27 Seeꢁsectionꢁ14.1.4ꢁifꢁtheꢁSwitchꢁOutputꢁfeatureꢁisꢁused.ꢁ  
.
3901090316  
Rev10  
Page 35 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
17.4. Serial Protocol  
Generic schematics for single slave and dual slave applications are described.  
17.4.1. SPI Version – Single Die  
C1  
100nF  
SPI Master  
GND  
Vdd  
5 V  
Vdd  
Vss  
MLX90316  
C2  
100nF  
Test 0  
Vdig  
_SS  
SCLK  
MOSI  
_SS  
/SS  
Test 1  
MOSI  
SCLK  
MISO  
SCLK  
R2  
1K  
MOSI  
3.3V/5V  
Figure 18 – MLX90316 SPI Version – Single Die – Application Diagram  
3901090316  
Rev10  
Page 36 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
17.4.2. SPI Version – Dual Die  
C1  
100nF  
SPI Master  
GND  
Vdd  
5 V  
Vdd  
Vss  
C2  
100nF  
MLX90316  
Test 0  
Vdig  
#1  
_SS1  
_SS1  
/SS  
Test 1  
MOSI  
SCLK1  
MOSI  
SCLK1  
MISO  
SCLK  
R2  
1K  
MOSI  
3.3V/5V  
C1  
100nF  
_SS2  
SCLK2  
Vdd  
Vss  
C2  
100nF  
MLX90316  
Test 0 Vdig  
#2  
_SS2  
/SS  
Test 1  
MOSI  
SCLK2  
SCLK  
Figure 19 – MLX90316 SPI Version – Dual Die – Application Diagram  
3901090316  
Rev10  
Page 37 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
17.4.3. Non SPI Version (Standard Version)  
SPI Master  
C1  
100nF  
GND  
Vdd  
_SS  
5 V  
Vdd  
Vss  
C2  
100nF  
MLX90316  
_SS  
Test 0  
Vdig  
R4  
SCLK  
/SS  
Test 1  
MOSI  
R5  
SCLK  
R3  
R2  
MISO  
MOSI  
R1  
MOSI  
3.3V/5V  
Figure 20 – MLX90316  
Single Die Serial Protocol Mode  
ꢂCtrlꢀ  
Supplyꢀ  
(V)ꢀ  
5Vꢁ  
5Vꢁ  
3.3Vꢁ  
5Vꢁ  
3.3Vꢁ  
Pullꢁupꢀ 90316ꢀ  
Supplyꢀ Supplyꢀ R1ꢀ(ꢃ)ꢀ R2ꢀ(ꢃ)ꢀ R3ꢀ(ꢃ)ꢀ R4ꢀ(ꢃ)ꢀ R5ꢀ(ꢃ)ꢀ  
MOSꢀ  
Typeꢀ  
ApplicationꢀTypeꢀ  
(V)ꢀ  
5Vꢁ  
3.3Vꢁ  
3.3Vꢁ  
5Vꢁ  
(V)ꢀ  
5Vꢁ  
5Vꢁ  
5Vꢁ  
5Vꢁ  
5Vꢁ  
5VꢁꢂCtrlꢁw/oꢁO.D.ꢁw/oꢁ3.3Vꢁ  
5VꢁꢂCtrlꢁw/oꢁO.D.ꢁw/ꢁꢁꢁ3.3Vꢁ  
100ꢁ  
150ꢁ  
150ꢁ  
100ꢁ  
150ꢁ  
1000ꢁ 20,000ꢁ 1000ꢁ 20,000ꢁ BS170ꢁ  
1000ꢁ  
1000ꢁ  
N/Aꢁ  
N/Aꢁ  
1000ꢁ 20,000ꢁ BS170ꢁ  
3.3VꢁꢂCtrlꢁw/oꢁO.D.ꢁ(28)  
N/Aꢁ  
N/Aꢁ  
BS170ꢁ  
N/Aꢁ  
N/Aꢁ  
5VꢁꢂCtrlꢁw/ꢁO.D.ꢁw/oꢁ3.3Vꢁ(29)  
3.3VꢁꢂCtrlꢁw/ꢁO.D.ꢁ  
1000ꢁ 20,000ꢁ 1000ꢁ 20,000ꢁ  
3.3Vꢁ  
1000ꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
Table 3 - Resistor Values for Common Specific Applications  
28ꢁꢂCtrlꢁw/ꢁO.D.ꢁ:ꢁMicroꢃcontrollerꢁwithꢁopenꢃdrainꢁcapabilityꢁ(forꢁinstanceꢁNECꢁV850ESꢁseries)ꢁ  
29ꢁꢂCtrlꢁw/oꢁO.D.ꢁ:ꢁMicroꢃcontrollerꢁwithoutꢁopenꢃdrainꢁcapabilityꢁ(likeꢁTIꢁTMS320ꢁseriesꢁorꢁATMELꢁAVRꢁꢁ)  
3901090316  
Rev10  
Page 38 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
18. 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 following test methods:  
Reflow Soldering SMD’s (Surface Mount Devices)  
IPC/JEDEC J-STD-020  
Moisture/Reflow Sensitivity Classification for Nonhermetic Solid State Surface Mount Devices  
(classification reflow profiles according to table 5-2)  
EIA/JEDEC JESD22-A113  
Preconditioning of Nonhermetic Surface Mount Devices Prior to Reliability Testing  
(reflow profiles according to table 2)  
Wave Soldering SMD’s (Surface Mount Devices) and THD’s (Through Hole Devices)  
EN60749-20  
Resistance of plastic- encapsulated SMD’s to combined effect of moisture and soldering heat  
EIA/JEDEC JESD22-B106 and EN60749-15  
Resistance to soldering temperature for through-hole mounted devices  
Iron Soldering THD’s (Through Hole Devices)  
EN60749-15  
Resistance to soldering temperature for through-hole mounted devices  
Solderability SMD’s (Surface Mount Devices) and THD’s (Through Hole Devices)  
EIA/JEDEC JESD22-B102 and EN60749-21  
Solderability  
For all soldering technologies deviating from above mentioned standard conditions (regarding peak  
temperature, temperature gradient, temperature profile etc) additional classification and qualification tests  
have to be agreed upon with Melexis.  
The application of Wave Soldering for SMD’s is allowed only after consulting Melexis regarding assurance  
of adhesive strength between device and board.  
Melexis recommends reviewing on our web site the General Guidelines soldering recommendation  
(http://www.melexis.com/Quality_soldering.aspx) as well as trim&form recommendations  
(http://www.melexis.com/Assets/Trim-and-form-recommendations-5565.aspx).  
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/quality.aspx  
19. ESD Precautions  
Electronic semiconductor products are sensitive to Electro Static Discharge (ESD).  
Always observe Electro Static Discharge control procedures whenever handling semiconductor products.  
3901090316  
Rev10  
Page 39 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
20. Package Information  
20.1. SOIC8 - Package Dimensions  
1.27 TYP  
NOTES:  
All dimensions are in millimeters (anlges 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).  
3.81 5.80  
3.99** 6.20**  
*** 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.  
4.80  
4.98*  
1.37  
1.57  
0.19  
0.25  
1.52  
1.72  
0°  
8°  
0.100  
0.250  
0.41  
1.27  
0.36  
0.46***  
20.2. SOIC8 - Pinout and Marking  
Marking :  
Part Number MLX90316 (3 digits)  
Die Version (3 digits)  
Standard  
BDG SPI Version  
BCS Version  
BCG  
8
5
316  
TOP  
BCS  
316Bxx  
M12345  
Xy-E  
M12345  
Xy-E  
Lot number: “M” + 5 digits  
Split lot number (Optional ) +-E”  
YY  
WW  
Bottom  
1
4
Week Date code (2 digits)  
Year Date code(2 digits)  
3901090316  
Rev10  
Page 40 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
20.3. SOIC8 - IMC Positionning  
CW  
8
7
6
5
CCW  
0.46 +/- 0.06  
COS  
1.25  
1.65  
1
2
3
4
1.96  
2.26  
SIN  
Angle detection MLX90316 SOIC8  
~ 0 Deg.*  
~ 90 Deg.*  
8
7
6
5
8
7
6
5
N
S
1
2
3
4
1
2
3
4
~ 180 Deg.*  
~ 270 Deg.*  
8
7
6
5
8
7
6
5
S
N
1
2
4
1
2
3
4
* No absolute reference for the angular information.  
The MLX90316 is an absolute angular position sensor but the linearity error (Le – See Section 10) does  
not include the error linked to the absolute reference 0 Deg (which can be fixed in the application through  
the discontinuity point – See 14.2.2).  
3901090316  
Rev10  
Page 41 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
20.4. TSSOP16 - Package Dimensions  
0.65 TYP  
12O TYP  
0.20 TYP  
0.09 MIN  
1.0 DIA  
4.30  
4.50**  
6.4 TYP  
0.09 MIN  
1.0  
0O  
8O  
0.50  
0.75  
12O TYP  
1.0  
1.0 TYP  
0.85  
0.95  
4.90  
5.10*  
0.09  
0.20  
1.1 MAX  
0.05  
0.15  
0.19  
0.30***  
NOTES:  
All dimensions are in millimeters (anlges 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.  
3901090316  
Rev10  
Page 42 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
20.5. TSSOP16 - Pinout and Marking  
Vdig_1  
Vss_1  
Test1_1  
Out_1/MOSI/MISO_1  
SCLK_1  
Vdd_1  
_SS_1/ Switch_1  
Test0_2  
Test0_1  
_SS_2/Switch_2  
Vdd_2  
SCLK_2  
Out_2/MOSI/MISO_2  
Test1_2  
Marking :  
Vss_2  
Part Number MLX90316 (3digits)  
Die Version (3 digits)  
Vdig_2  
BCG Standard  
BDG SPI Version  
M12345 Lot number: “M” + 5 digits  
Xy-E Split lot number (Optional ) + “-E”  
316  
Top  
YY  
WW  
Bottom  
Week Date code (2 digits)  
Year Date code (2 digits)  
20.6. TSSOP16 - IMC Positionning  
CW  
COS 2  
16  
9
Die 1  
Die 2  
SIN 2  
SIN 1  
0.30 +/- 0.06  
CCW  
1.95  
2.45  
1
8
1.84  
2.04  
COS 1  
2.76  
2.96  
3901090316  
Rev10  
Page 43 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
Angle detection MLX90316 TSSOP16  
~ 0 Deg.* ~ 180 Deg.*  
~ 90 Deg.* ~ 270 Deg.*  
16  
9
16  
9
Die 1  
Die 2  
Die 1  
Die 2  
N
S
1
8
9
1
8
~ 180 Deg.* ~ 0 Deg.*  
~ 270 Deg.* ~ 90 Deg.*  
16  
16  
9
Die 1  
Die 2  
Die 1  
Die 2  
S
N
1
8
1
8
* No absolute reference for the angular information.  
The MLX90316 is an absolute angular position sensor but the linearity error (Le – See Section 10) does  
not include the error linked to the absolute reference 0 Deg (which can be fixed in the application through  
the discontinuity point – See 14.2.2).  
3901090316  
Rev10  
Page 44 of 45  
Jul/13  
MLX90316  
Rotary Position Sensor IC  
21. 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 NV. All rights reserved.  
For the latest version of this document, go to our website at  
www.melexis.com  
Or for additional information contact Melexis Direct:  
Europe, Africa, Asia:  
Phone: +32 1367 0495  
E-mail: sales_europe@melexis.com  
America:  
Phone: +1 248 306 5400  
E-mail: sales_usa@melexis.com  
ISO/TS 16949 and ISO14001 Certified  
3901090316  
Rev10  
Page 45 of 45  
Jul/13  

相关型号:

SI9130DB

5- and 3.3-V Step-Down Synchronous Converters

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9135LG-T1

SMBus Multi-Output Power-Supply Controller

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9135LG-T1-E3

SMBus Multi-Output Power-Supply Controller

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9135_11

SMBus Multi-Output Power-Supply Controller

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9136_11

Multi-Output Power-Supply Controller

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9130CG-T1-E3

Pin-Programmable Dual Controller - Portable PCs

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9130LG-T1-E3

Pin-Programmable Dual Controller - Portable PCs

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9130_11

Pin-Programmable Dual Controller - Portable PCs

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9137

Multi-Output, Sequence Selectable Power-Supply Controller for Mobile Applications

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9137DB

Multi-Output, Sequence Selectable Power-Supply Controller for Mobile Applications

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9137LG

Multi-Output, Sequence Selectable Power-Supply Controller for Mobile Applications

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9122E

500-kHz Half-Bridge DC/DC Controller with Integrated Secondary Synchronous Rectification Drivers

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY