MLX90333KDCBCT-000TU [MELEXIS]

Triaxis® Position Sensor;
MLX90333KDCBCT-000TU
型号: MLX90333KDCBCT-000TU
厂家: Melexis Microelectronic Systems    Melexis Microelectronic Systems
描述:

Triaxis® Position Sensor

文件: 总48页 (文件大小:1079K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
MLX90333  
Triaxis® Position Sensor  
Features and Benefits  
Absolute 3D Position Sensor  
Simple & Robust Magnetic Design  
Triais® Hall Technology  
Programmable Linear Transfer Characteristics (Alpha, Beta)  
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  
3D Position Sensor  
Joystick  
4-Way Scroll Key  
Joypad  
Man Machine Interface Device  
Linear Position Sensor  
Ordering Code  
Product Code Temperature Code  
Package Code  
DC  
DC  
Option Code  
BCH-000  
BCH-000  
BCH-000  
BCH-000  
BCH-100  
BCH-100  
BCT-000  
BCT-000  
BCH-000  
BCH-100  
BCH-100  
BCT-000  
BCT-000  
BCH-000  
BCH-000  
BCT-000  
BCT-000  
BCH-100  
BCH-100  
BCH-000  
BCH-000  
BCH-000  
BCH-000  
BCH-100  
BCH-100  
BCT-000  
BCT-000  
BCH-000  
BCH-000  
Packing Form Code  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
S
S
E
E
E
E
E
E
K
K
K
K
K
L
L
L
L
L
L
L
L
RE  
TU  
RE  
TU  
RE  
TU  
RE  
TU  
RE  
TU  
RE  
RE  
TU  
RE  
TU  
RE  
TU  
RE  
TU  
TU  
RE  
RE  
TU  
RE  
TU  
RE  
TU  
RE  
TU  
DC  
DC  
DC  
DC  
DC  
DC  
DC  
DC  
DC  
DC  
DC  
DC  
DC  
DC  
DC  
DC  
DC  
GO  
GO  
GO  
GO  
GO  
GO  
GO  
GO  
GO  
GO  
E
E
E
E
E
E
K
K
3901090333  
Rev. 007  
Page 1 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
MLX90333  
K
K
K
K
L
L
L
L
GO  
GO  
GO  
GO  
GO  
GO  
GO  
GO  
BCH-100  
RE  
TU  
RE  
TU  
TU  
RE  
RE  
TU  
BCH-100  
BCT-000  
BCT-000  
BCH-100  
BCH-100  
BCT-000  
BCT-000  
Legend:  
Temperature Code:  
L for Temperature Range -40°C to 150°C  
K for Temperature Range -40°C to 125°C  
S for Temperature Range -20°C to 85°C  
E for Temperature Range -40°C to 85°C  
GO for TSSOP16  
Package Code:  
Option Code:  
DC for SOIC8  
AAA-xxx: Die version  
xxx-000: Standard version  
xxx-100: SPI version  
RE for Reel, TU for Tube  
Packing Form:  
Ordering example:  
MLX90333LGO-BCH-000-TU  
3901090333  
Rev. 007  
Page 2 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
1.  
Functional Diagram  
Rev.Pol.  
&
OverVolt.  
3V3  
Reg  
V
DD  
SS  
V
DSP  
D
xꢀ1  
Triais™  
A
V
V
X
Y
O
UTꢀ1  
A
G
(Analog/PWM)  
µC  
D
V
Z
RAM  
xꢀ1  
EEP  
ROM  
O
UTꢀ2  
(Analog/PWM)  
Figure 1 - Block Diagram (Analog & PWM)  
3V3  
Reg  
Rev.Pol.  
VDD  
DSP  
Triais™  
VX  
A
/SS  
V
Y
G
µC  
D
VZ  
SERIALꢀPROTOCOL  
SCLK  
MOSI/MISO  
RAM  
EEP  
ROM  
VSS  
Figure 2 - Block Diagram (Serial Protocol)  
3901090333  
Rev. 007  
Page 3 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
1. Description  
The MLX90333 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 MLX90333 is sensitive to the 3 components of the flux density applied to the IC (BX, BY and BZ). This  
allows the MLX90333 to sense any magnet moving in its surrounding and it enables the design of novel  
generation of non-contacting joystick position sensors which are often required for both automotive and  
industrial applications (e.g. man-machine interface).  
Furthermore, the capability of measuring BX, BY and BZ allows the MLX90333 to be considered as  
universal non-contacting position sensor i.e. not limited to joystick applications. For instance, a linear  
travel can be sensed with the MLX90333 once included in a specific magnetic design.  
In combination with the appropriate signal processing, the magnetic flux density of a small magnet (axial  
magnetization) moving above the IC can be measured in a non-contacting way (Figure 3). The two (2)  
angular information are computed from the three (3) vector components of the flux density (i.e. BX, BY and  
). MLX90333 reports two (2) linear output signals. The output formats are selectable between Analog,  
PWM and Serial Protocol.  
BZ  
Figure 3 - Typical application of MLX90333  
Page 4 of 48  
3901090333  
Rev. 007  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
TABLE of CONTENTS  
FEATURES AND BENEFITS ....................................................................................................................... 1  
APPLICATIONS............................................................................................................................................ 1  
ORDERING CODE........................................................................................................................................ 1  
1. DESCRIPTION....................................................................................................................................... 4  
2. GLOSSARY OF TERMS ABBREVIATIONS ACRONYMS ............................................................ 7  
3. PINOUT.................................................................................................................................................. 7  
4. ABSOLUTE MAXIMUM RATINGS ....................................................................................................... 8  
5. DETAILED DESCRIPTION.................................................................................................................... 8  
6. MLX90333 ELECTRICAL SPECIFICATION....................................................................................... 14  
7. MLX90333 ISOLATION SPECIFICATION.......................................................................................... 16  
8. MLX90333 TIMING SPECIFICATION................................................................................................. 16  
9. MLX90333 ACCURACY SPECIFICATION......................................................................................... 17  
10. MLX90333 MAGNETIC SPECIFICATION .......................................................................................... 18  
11. MLX90333 CPU & MEMORY SPECIFICATION ................................................................................. 18  
12. MLX90333 END-USER PROGRAMMABLE ITEMS........................................................................... 19  
13. DESCRIPTION OF END-USER PROGRAMMABLE ITEMS.............................................................. 21  
13.1.  
13.2.  
O
UTPUT  
UTPUT  
C
ONFIGURATION .........................................................................................................................21  
O
M
ODE..........................................................................................................................................21  
13.2.1. Analog Output Mode ............................................................................................................................21  
13.2.2. PWM Output Mode...............................................................................................................................21  
13.2.3. Serial Protocol Output Mode ...............................................................................................................22  
13.2.4. Switch Out ............................................................................................................................................22  
13.3.  
OUTPUT TRANSFER CHARACTERISTIC.......................................................................................................22  
13.3.1. The Polarity and Modulo Parameters..................................................................................................23  
13.3.2. Alpha/Beta Discontinuity Point (or Zero Degree Point)......................................................................24  
13.3.3. LNR Parameters...................................................................................................................................24  
13.3.4. CLAMPING Parameters ......................................................................................................................25  
13.3.5. DEADZONE Parameter.......................................................................................................................25  
13.4.  
13.5.  
I
DENTIFICATION ........................................................................................................................................26  
S
ENSOR FRONT-END .................................................................................................................................26  
13.5.1. HIGHSPEED Parameter......................................................................................................................26  
13.5.2. GAINMIN and GAINMAX Parameters ................................................................................................27  
13.5.3. FIELDTHRES_LOW and FIELDTHRES_HIGH Parameters..............................................................27  
13.6.  
FILTER ....................................................................................................................................................28  
13.6.1. Hysteresis Filter ...................................................................................................................................28  
13.6.2. FIR Filters............................................................................................................................................28  
13.6.3. IIR Filters .............................................................................................................................................29  
13.7.  
13.7.1. Enhanced “Joystick “Angle Formula...................................................................................................31  
13.8. ETTINGS .................................................................................................31  
PROGRAMMABLE ENHANCED JOYSTICKANGLE CORRECTION.................................................................30  
P
ROGRAMMABLE DIAGNOSTIC S  
13.8.1. OUTxDIAG Parameter.........................................................................................................................31  
13.8.2. RESONFAULT Parameter ...................................................................................................................31  
13.8.3. EEHAMHOLE Parameter....................................................................................................................32  
13.9. LOCK.........................................................................................................................................................32  
13.9.1. MLXLOCK Parameter .........................................................................................................................32  
3901090333  
Rev. 007  
Page 5 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
13.9.2. LOCK Parameter .................................................................................................................................32  
14. MLX90333 SELF DIAGNOSTIC.......................................................................................................... 33  
15. SERIAL PROTOCOL........................................................................................................................... 35  
15.1.  
15.2.  
15.3.  
15.4.  
15.5.  
15.6.  
15.7.  
15.8.  
15.9.  
15.10.  
I
NTRODUCTION .........................................................................................................................................35  
SERIAL PROTOCOL MODE ...................................................................................................................35  
O
MOSI (MASTER  
MISO (MASTER  
UT LAVE )...............................................................................................................35  
S
I
LAVE OUT)...............................................................................................................35  
N
I
N
S
SS (SLAVE  
ASTER TART-U  
LAVE TART-U  
S
ELECT) ..................................................................................................................................35  
...................................................................................................................................35  
......................................................................................................................................35  
IMING......................................................................................................................................................36  
ESET............................................................................................................................................37  
AYER ..........................................................................................................................................37  
M
S
P
S
T
S
P
S
LAVE  
RAME  
R
F
L
15.10.1.  
Frame Type Selection.......................................................................................................................37  
Data Frame Structure ......................................................................................................................37  
Timing...............................................................................................................................................37  
Data Structure..................................................................................................................................38  
Angle Calculation.............................................................................................................................38  
Error Handling.................................................................................................................................38  
15.10.2.  
15.10.3.  
15.10.4.  
15.10.5.  
15.10.6.  
16. RECOMMENDED APPLICATION DIAGRAMS.................................................................................. 39  
16.1.  
16.2.  
16.3.  
16.4.  
A
NALOG  
O
UTPUT  
IDE  
UTPUT  
W
IRING WITH THE MLX90333 IN SOIC PACKAGE.......................................................39  
IRING ............................................................................................................39  
IRING WITH THE MLX90333 IN TSSOP PACKAGE....................................................40  
ROTOCOL ....................................................................................................................................40  
PWM LOW  
S
OUTPUT W  
ANALOG  
O
W
SERIAL  
P
17. STANDARD INFORMATION REGARDING MANUFACTURABILITY OF MELEXIS PRODUCTS  
WITH DIFFERENT SOLDERING PROCESSES........................................................................................ 42  
18. ESD PRECAUTIONS........................................................................................................................... 42  
19. PACKAGE INFORMATION................................................................................................................. 43  
19.1.  
19.2.  
19.3.  
19.4.  
19.5.  
19.6.  
SOIC8 - PACKAGE  
SOIC8 - PINOUT AND  
SOIC8 - IMC POSITIONNING.....................................................................................................................44  
TSSOP16 - PACKAGE IMENSIONS ..........................................................................................................45  
TSSOP16 - PINOUT AND ARKING ..........................................................................................................46  
TSSOP16 - IMC POSITIONNING................................................................................................................47  
D
IMENSIONS ...............................................................................................................43  
MARKING ...............................................................................................................43  
D
M
20. DISCLAIMER....................................................................................................................................... 48  
3901090333  
Rev. 007  
Page 6 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
2. 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  
3. Pinout1  
SOICꢁ8ꢀ  
TSSOPꢁ16ꢀ  
Analogꢀ/ꢀPWMꢀ SerialꢀProtocolꢀ  
Pinꢀ#ꢀ  
Analogꢀ/ꢀPWMꢀ  
SerialꢀProtocolꢀ  
1ꢀ  
V
DDꢀ  
V
DDꢀ  
V
DIG1ꢀ  
VDIG1ꢀ  
2ꢀ  
Testꢀ0ꢀ  
NotꢀUsedꢀ  
Outꢀ2ꢀ  
Testꢀ0ꢀ  
/SSꢀ  
V
SS1ꢀ(Ground1)ꢀ  
DD1ꢀ  
V
SS1ꢀ(Ground1)ꢀ  
DD1ꢀ  
3ꢀ  
V
V
4ꢀ  
SCLKꢀ  
Testꢀ01ꢀ  
NotꢀUsedꢀ  
Outꢀ22ꢀ  
Testꢀ01ꢀ  
/SS2ꢀ  
5ꢀ  
Outꢀ1ꢀ  
MOSIꢀ/ꢀMISOꢀ  
Testꢀ1ꢀ  
6ꢀ  
Testꢀ1ꢀ  
SCLK2ꢀ  
7ꢀ  
V
DIG  
V
DIG  
Outꢀ12ꢀ  
MOSI2ꢀ/ꢀMISO2ꢀ  
Testꢀ12ꢀ  
8ꢀ  
V
SSꢀ(Ground)ꢀ  
V
SSꢀ(Ground)ꢀ  
Testꢀ12ꢀ  
9ꢀ  
V
DIG2ꢀ  
VDIG2ꢀ  
10ꢀ  
V
SS2ꢀ(Ground2)ꢀ  
DD2ꢀ  
V
SS2ꢀ(Ground2)ꢀ  
DD2ꢀ  
11ꢀ  
V
V
12ꢀ  
Testꢀ02ꢀ  
NotꢀUsedꢀ  
Outꢀ21ꢀ  
Testꢀ02ꢀ  
/SS1ꢀ  
13ꢀ  
14ꢀ  
SCLK1ꢀ  
15ꢀ  
Outꢀ11ꢀ  
MOSI1ꢀ/ꢀMISO1ꢀ  
Testꢀ11ꢀ  
16ꢀ  
Testꢀ11ꢀ  
For optimal EMC behavior, it is recommended to connect the unused pins (NotꢀUsed and Test) to the Ground (see section 15)  
1 SeeꢀSectionꢀ13.1ꢀforꢀtheꢀOutꢀ1ꢀandꢀOutꢀ2ꢀconfiguration  
3901090333  
Rev. 007  
Page 7 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
4. Absolute Maximum Ratings  
Parameter  
SupplyꢀVoltage,ꢀVDDꢀ(overvoltage)ꢀ  
ReverseꢀVoltageꢀProtectionꢀ  
Value  
+ꢀ20ꢀVꢀ  
ꢀ10ꢀVꢀ  
+ꢀ10ꢀVꢀ  
PositiveꢀOutputꢀVoltageꢀꢀ  
(AnalogꢀorꢀPWM)ꢀ  
+ꢀ14ꢀVꢀ(200ꢀsꢀmaxꢀꢀTAꢀ=ꢀ+ꢀ25°C)ꢀꢀ  
BothꢀoutputsꢀOUTꢀ1ꢀ&ꢀOUTꢀ2  
OutputꢀCurrentꢀ(IOUT)ꢀ  
ꢀ30ꢀmAꢀ  
ReverseꢀOutputꢀVoltageꢀ  
ꢀ0.3ꢀVꢀ  
BothꢀoutputsꢀOUTꢀ1ꢀ&ꢀOUTꢀ2  
ReverseꢀOutputꢀCurrentꢀ  
BothꢀoutputsꢀOUTꢀ1ꢀ&ꢀOUTꢀ2  
ꢀ50ꢀmAꢀ  
OperatingꢀAmbientꢀTemperatureꢀRange,ꢀTAꢀ  
StorageꢀTemperatureꢀRange,ꢀTSꢀ  
MagneticꢀFluxꢀDensityꢀ  
ꢀ40°Cꢀ+ꢀ150°Cꢀ  
ꢀ40°Cꢀ+ꢀ150°Cꢀ  
ꢀ4ꢀTꢀ  
Exceeding the absolute maximum ratings may cause permanent damage. Exposure to absolute-  
maximum-rated conditions for extended periods may affect device reliability.  
5. Detailed Description  
As described on the block diagram (Figure 1 and Figure 2), the magnetic flux density applied to the IC 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 (sensitive  
element – blue area on Figure 4) and an Integrated Magneto-Concentrator (IMCyellow disk on Figure  
4).  
Bz  
Bz  
Bz  
Bz  
Figure 4 - Triais® sensor front-end (4 Hall plates + IMCdisk)  
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. The third component BZ is also sensed by those four (4) conventional Hall plates as shown  
above.  
3901090333  
Rev. 007  
Page 8 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
In summary, along X-axis, the left Hall plate measures “BX- BZ” while the right Hall plate measures “-BX⊥  
- BZ”. Similarly, along the Y-axis, the left Hall plate measures “BY- BZ” while the right Hall plate measures  
“-BY- BZ”.  
Through an appropriate signal processing, the Triais® sensor front-end reports the three (3)  
components of the applied magnetic flux density B i.e. BX, BY and BZ.  
Indeed, by subtracting the signals from the two (2) Hall plates in each pair, the components BXand BY⊥  
are measured while BZ is cancelled. To the contrary, by adding the signals from the two (2) Hall plates in  
each pair, the component BZ is measured while BXand BYare cancelled  
In a joystick based on a “gimbal” mechanism as shown on Figure 3 (left), the magnet (axial magnetization)  
moves on a hemisphere centered at the IC. The flux density is described through the following  
relationships:  
BX = COS(  
BY = SIN(  
BZ = SIN(  
α
) SIN(  
β
)
α
) COS(  
) SIN(  
β
)
α
β
)
Those components are plotted on the Figure 5, Figure 6 and Figure 7.  
Figure 5 – Magnetic Flux Density – BX, BY, BZ  
3901090333  
Rev. 007  
Page 9 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
400  
300  
200  
100  
0
ꢁ100  
ꢁ200  
ꢁ300  
ꢁ400  
0
45  
90  
Alphaꢀ(Deg)  
BY  
135  
180  
BX  
BZ  
Figure 6 – Magnetic Flux Density – β = 90 Deg – BX cos(α), BY = 0 & BZ sin(α)  
400  
300  
200  
100  
0
ꢁ100  
ꢁ200  
ꢁ300  
ꢁ400  
0
45  
90  
135  
180  
Betaꢀ(Deg)  
BX  
BY  
BZ  
Figure 7 – Magnetic Flux Density – α = 0 Deg – BX = 0, BY cos(β) & BZ sin(β)  
Three (3) differential voltages corresponding to the three (3) components of the applied flux density are  
provided to the ADC (Analog-to-Digital Converter – Figure 8 and Figure 9). The 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 amplitude of VZ is smaller than the other two (2) components VX and VY due to fact that the magnetic  
gain of the IMC only affects the components parallel to the IC surface.  
3901090333  
Rev. 007  
Page 10 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
2000  
1500  
1000  
500  
0
ꢁ500  
ꢁ1000  
ꢁ1500  
ꢁ2000  
0
45  
90  
Alphaꢀ(Deg)  
VY  
135  
180  
VX  
VZ  
Figure 8 – ADC Input Signals – β = 90 Deg – VX BX cos(α), VY = BY = 0 & VZ BZ sin(α)  
2000  
1500  
1000  
500  
0
ꢁ500  
ꢁ1000  
ꢁ1500  
ꢁ2000  
0
45  
90  
Betaꢀ(Deg)  
VY  
135  
180  
VX  
VZ  
Figure 9 – ADC Input Signals – α = 90 Deg – VX = BX = 0, VY BY cos(β) & VZ BZ sin(β)  
3901090333  
Rev. 007  
Page 11 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
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 two (2) angular information from the three (3) raw signals (after so-  
called front-end compensation steps) through the following operations:  
kZVZ  
VX  
α
β
= ATAN  
= ATAN  
kZVZ  
VY  
where kZ is a programmable parameter. First of all, kZ is used to compensate the smaller amplitude of VZ  
vs. VX & VY. On the other hand, kZ allows also a targeted reduction of the linearity error through a  
normalization of the raw signals prior to performing the “ATAN” function.  
In a joystick based on a “ball & socket” joint as shown on Figure 3 (right), the magnet (axial  
magnetization) moves on a hemisphere centered at the pivot point. The flux density is described through  
slightly more complex equations but the MLX90333 offers an alternate algorithm to extract both angular  
informations:  
(kZVZ )2 + (ktVY )2  
α
β
= ATAN  
= ATAN  
VX  
(kZVZ )2 + (ktVX )2  
VY  
where kZ and kt are programmable parameters.  
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 MLX90333, 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 ratios VZ/VXand VZ/VY, the angular  
information are intrinsically self-compensated vs. flux density variations (due to airgap change, thermal or  
ageing effects) affecting the magnetic signal. This feature allows therefore an improved thermal accuracy  
vs. joystick based on conventional linear Hall sensors.  
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 16 bits computed angular information available)  
3901090333  
Rev. 007  
Page 12 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
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  
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 a 3 point calibration. Once only one output is  
used, a 5 point calibration is also available for further improvement of the linearity.  
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 MLX90333 is handled at both engineering lab and  
production line levels by the Melexis Programming Unit PTC-04 with the MLX90316 daughterboard and  
dedicated software tools (DLL User Interface).  
3901090333  
Rev. 007  
Page 13 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
6. MLX90333 Electrical Specification  
DC Operating Parameters at VDD = 5V (unless otherwise specified) and for TA as specified by the  
Temperature suffix (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)ꢀ  
Iddꢀ  
PORꢀLevelꢀ  
V
DDꢀPORꢀ SupplyꢀUnderꢀVoltageꢀ  
2ꢀ  
2.7ꢀ  
3ꢀ  
Vꢀ  
OutputꢀCurrentꢀ  
BothꢀoutputsꢀOUTꢀ1ꢀ&ꢀOUTꢀ2  
AnalogꢀOutputꢀmodeꢀ  
Ioutꢀ  
ꢁ8ꢀ  
ꢁ20ꢀ  
8ꢀ  
20ꢀ  
mAꢀ  
mAꢀ  
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  
BothꢀoutputsꢀOUTꢀ1ꢀ&ꢀOUTꢀ2  
PullꢁdownꢀtoꢀGroundꢀꢀ  
Pullꢁupꢀtoꢀ5V(4)ꢀ  
1ꢀ  
1ꢀ  
10ꢀ  
10ꢀ  
OutputꢀLoadꢀ  
BothꢀoutputsꢀOUTꢀ1ꢀ&ꢀOUTꢀ2  
(5)ꢀ  
(5)ꢀꢀ  
kꢀ  
kꢀ  
RLꢀ  
3ꢀ  
Vsat_loꢀ  
Vsat_hiꢀ  
%VDD  
PullꢁupꢀloadꢀRLꢀ10ꢀkꢂꢀ  
PullꢁdownꢀloadꢀRLꢀ5ꢀkꢂ  
AnalogꢀSaturationꢀOutputꢀLevelꢀ  
BothꢀoutputsꢀOUTꢀ1ꢀ&ꢀOUTꢀ2  
96ꢀ  
%VDD  
PullꢁupꢀLowꢀSideꢀRLꢀ10ꢀkꢂꢀ  
PushꢁPullꢀ(IOUTꢀ=ꢀꢁ20mA)ꢀ  
VsatD_loꢀ  
1.5ꢀ  
%VDD  
%VDD  
%VDD  
DigitalꢀSaturationꢀOutputꢀLevelꢀ  
BothꢀoutputsꢀOUTꢀ1ꢀ&ꢀOUTꢀ2  
VsatD_hiꢀ PushꢁPullꢀ(IOUTꢀ=ꢀ20mA)ꢀ  
97ꢀ  
1ꢀ  
1.5ꢀ  
PullꢁdownꢀloadꢀRLꢀ5ꢀkꢂꢀ  
Diag_loꢀ  
PullꢁupꢀloadꢀRLꢀ10ꢀkꢂꢀ  
ActiveꢀDiagnosticꢀOutputꢀLevelꢀ  
BothꢀoutputsꢀOUTꢀ1ꢀ&ꢀOUTꢀ2  
96ꢀ  
98ꢀ  
PullꢁdownꢀloadꢀRLꢀ5ꢀkꢂꢀ  
Diag_hiꢀ  
%VDD  
PullꢁupꢀloadꢀRLꢀ5ꢀkꢂꢀ  
BrokenꢀVSS&ꢀ  
BVSSPDꢀ  
99ꢀ  
4(6)ꢀ  
%VDDꢀ  
PullꢁdownꢀloadꢀRLꢀ≤ꢀ10ꢀkꢂꢀ  
BrokenꢀVSS(6)ꢀ&ꢀ  
BVSSPUꢀ  
100ꢀ  
0ꢀ  
%VDDꢀ  
PassiveꢀDiagnosticꢀOutputꢀLevelꢀ  
BothꢀoutputsꢀOUTꢀ1ꢀ&ꢀOUTꢀ2  
PullꢁupꢀloadꢀRLꢀ1kꢂꢀ  
BrokenꢀVDD(6)ꢀ&ꢀ  
BVDDPDꢀ  
(BrokenꢀTrackꢀDiagnostic)ꢀ(6)ꢀ  
1ꢀ  
%VDDꢀ  
PullꢁdownꢀloadꢀRLꢀ1kꢂꢀ  
BrokenꢀVDDꢀ&ꢀ  
BVDDPUꢀ  
NoꢀBrokenꢀTrackꢀdiagnosticꢀ  
%VDDꢀ  
Pullꢁupꢀloadꢀtoꢀ5Vꢀ  
Clamp_loꢀ Programmableꢀ  
Clamp_hiꢀ Programmableꢀ  
0ꢀ  
0ꢀ  
100ꢀ  
100ꢀ  
%VDD(7)ꢀ  
%VDD(7)ꢀ  
ClampedꢀOutputꢀLevelꢀ  
BothꢀoutputsꢀOUTꢀ1ꢀ&ꢀOUTꢀ2  
2ꢀForꢀtheꢀdualꢀversion,ꢀtheꢀsupplyꢀcurrentꢀisꢀmultipliedꢀbyꢀ2ꢀ  
3ꢀSeeꢀsectionꢀ13.5.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ꢀ14ꢀ  
7ꢀClampingꢀlevelsꢀneedꢀtoꢀbeꢀconsideredꢀvsꢀtheꢀsaturationꢀofꢀtheꢀoutputꢀstageꢀ(seeꢀVsat_loꢀandꢀVsat_hi)ꢀ  
3901090333  
Rev. 007  
Page 14 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
As an illustration of the previous table, the MLX90333 fits the typical classification of the output span  
described on the Figure 10.  
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 10 - Output Span Classification  
3901090333  
Rev. 007  
Page 15 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
7. MLX90333 Isolation Specification  
DC Operating Parameters at VDD = 5V (unless otherwise specified) and for TA as specified by the  
Temperature suffix (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ꢀꢁ  
8. MLX90333 Timing Specification  
DC Operating Parameters at VDD = 5V (unless otherwise specified) and for TA as specified by the  
Temperature suffix (K or L).  
Parameter  
Symbol  
Test Conditions  
Slowꢁmode(8)ꢁ  
Fastꢁmode(8)ꢁ  
Min  
Typ  
Max  
Units  
MainꢁClockꢁFrequencyꢁ  
Ckꢁ  
7ꢁ  
20ꢁ  
MHzꢁ  
MHzꢁ  
SamplingꢁRateꢁ  
CTꢁ  
Tsꢁ  
Slowꢁmode(8)ꢁ  
Fastꢁmode(8)ꢁ  
Slowꢁmode(8),ꢁFilter=5(9)ꢁ  
Fastꢁmode(8),ꢁFilter=0(9)ꢁ  
600ꢁ  
200ꢁ  
1000ꢁ  
330ꢁ  
ꢂsꢁ  
ꢂsꢁ  
StepꢁResponseꢁTimeꢁ  
4ꢁ  
600ꢁ  
msꢁ  
ꢂsꢁ  
400ꢁ  
Watchdogꢁ  
Wdꢁ  
Tsuꢁ  
SeeꢁSectionꢁ14ꢁ  
SlowꢁandꢁFastꢁmode(8)ꢁ  
5ꢁ  
15ꢁ  
msꢁ  
msꢁ  
StartꢃupꢁCycleꢁ  
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ꢁ  
BothꢁoutputsꢁOUTꢁ1ꢁ&ꢁOUTꢁ2  
Modeꢁ5ꢁ–ꢁ10nF,ꢁRLꢁ=ꢁ10ꢁkꢀ ꢁ  
Modeꢁ7ꢁ–ꢁ10nF,ꢁRLꢁ=ꢁ10ꢁkꢀ ꢁ  
120ꢁ  
2.2ꢁ  
ꢂsꢁ  
ꢂsꢁ  
DigitalꢁOutputꢁFallꢁTimeꢁ  
BothꢁoutputsꢁOUTꢁ1ꢁ&ꢁOUTꢁ2  
Modeꢁ5ꢁ–ꢁ10nF,ꢁRLꢁ=ꢁ10ꢁkꢀ ꢁ  
Modeꢁ7ꢁ–ꢁ10nF,ꢁRLꢁ=ꢁ10ꢁkꢀ ꢁ  
1.8ꢁ  
1.9ꢁ  
ꢂsꢁ  
ꢂsꢁ  
ꢁAGCꢁ90%(11)  
Slowꢁmode(8)ꢁꢁꢃꢁFieldꢁFreq>ꢁ40Hzꢁ  
ꢃ10ꢁ  
ꢃ30ꢁ  
ꢃ12ꢁ  
ꢃ30ꢁ  
ꢃ22ꢁ  
ꢃ30ꢁ  
ꢃ30ꢁ  
ꢃ60ꢁ  
10ꢁ  
30ꢁ  
12ꢁ  
30ꢁ  
22ꢁ  
30ꢁ  
30ꢁ  
60ꢁ  
%ꢁ  
%ꢁ  
%ꢁ  
%ꢁ  
%ꢁ  
%ꢁ  
%ꢁ  
%ꢁ  
MaximumꢁFieldꢁamplitudeꢁ  
Change(10)ꢁ(%)ꢁvs.ꢁFieldꢁ  
Frequency(Hz)ꢁ  
FieldꢁFreq=ꢁ20Hzꢁ  
Fastꢁmode(8)ꢁꢃFieldꢁFreq>ꢁ150Hzꢁ  
FieldꢁFreq=ꢁ50Hzꢁ  
ꢁꢁAGCꢁ64%ꢁ(90333BCTꢁonly)ꢁ  
Slowꢁmode(8)ꢁꢃFieldꢁFreq>ꢁ80Hzꢁ  
ꢁꢁꢁꢁꢁꢁꢁꢁꢁꢁꢁFieldꢁFreq=50Hzꢁ  
Fastꢁmode(8)ꢁꢃꢁFieldꢁFreq>ꢁ250Hzꢁ  
FieldꢁFreq=50Hzꢁ  
8ꢁSeeꢁsectionꢁ13.5.1ꢁforꢁdetailsꢁconcerningꢁSlowꢁandꢁFastꢁmodeꢁ  
9ꢁSeeꢁsectionꢁ13.6ꢁforꢁdetailsꢁconcerningꢁFilterꢁparameterꢁ  
10ꢁEx.:ꢁMagneticꢁfieldꢁamplitudeꢁchangeꢁinꢁcaseꢁofꢁvibration.ꢁꢁ  
11ꢁAutomaticꢁGainꢁControlꢁ–ꢁseeꢁSectionꢁ13.5.2ꢁforꢁmoreꢁinformation.ꢁ  
3901090333  
Rev. 007  
Page 16 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
9. MLX90333 Accuracy Specification  
DC Operating Parameters at VDD = 5V (unless otherwise specified) and for TA as specified by the  
Temperature suffix (K or L).  
Parameter  
Symbol  
RADC  
Test Conditions  
Min  
Typ  
Max  
Units  
ADCꢁResolutionꢁonꢁtheꢁrawꢁ  
signalsꢁX,ꢁYꢁandꢁZꢁ  
SlowꢁMode(12)  
15ꢁ  
14ꢁ  
bitsꢁ  
bitsꢁ  
FastꢁMode(12)ꢁꢁ  
OffsetꢁonꢁtheꢁRawꢁSignalsꢁX,ꢁYꢁ X0,ꢁY0,ꢁZ0ꢁ TAꢁ=ꢁ25°Cꢁ  
andꢁZꢁ  
ꢃ60ꢁ  
60ꢁ  
LSB15ꢁ  
MismatchꢁonꢁtheꢁRawꢁSignalsꢁ  
X,ꢁYꢁandꢁZꢁ  
TAꢁ=ꢁ25°Cꢁ  
1ꢁ  
30ꢁ  
30ꢁ  
SMISMXYꢁ BetweenꢁXꢁandꢁYꢁ  
SMISMXZꢁ BetweenꢁXꢁandꢁZ(13)  
SMISMYZꢁ BetweenꢁYꢁandꢁZ(13)  
ꢃ1ꢁ  
ꢃ30ꢁ  
ꢃ30ꢁ  
%ꢁ  
%ꢁ  
%ꢁ  
TAꢁ=ꢁ25°Cꢁ  
MagneticꢁAngleꢁꢁ  
Phaseꢁerrorꢁ  
ORTHXYꢁ BetweenꢁXꢁandꢁYꢁ  
ORTHXZꢁ BetweenꢁXꢁandꢁZꢁ  
ORTHYZꢁ BetweenꢁYꢁandꢁZꢁ  
ꢃ0.3ꢁ  
ꢃ10ꢁ  
ꢃ10ꢁ  
0.3ꢁ  
10ꢁ  
10ꢁ  
Degꢁ  
Degꢁ  
Degꢁ  
ThermalꢁOffsetꢁDriftꢁꢁ#1ꢁonꢁtheꢁ  
ThermalꢁOffsetꢁDriftꢁatꢁtheꢁDSPꢁꢁ  
inputꢁ(excl.ꢁDACꢁandꢁoutputꢁstage)ꢁ  
TemperatureꢁsuffixꢁKꢁ  
rawꢁsignalsꢁX,ꢁYꢁandꢁZ(14)  
ꢃ60ꢁ  
ꢃ90ꢁ  
+60ꢁ  
+90ꢁ  
LSB15ꢁ  
LSB15ꢁ  
TemperatureꢁsuffixꢁLꢁ  
ThermalꢁOffsetꢁDriftꢁ#2ꢁ  
(toꢁbeꢁconsideredꢁonlyꢁforꢁtheꢁ  
analogꢁoutputꢁmode)ꢁ  
ThermalꢁOffsetꢁDriftꢁꢁofꢁtheꢁDACꢁꢁ  
andꢁOutputꢁStageꢁ  
TemperatureꢁsuffixꢁKꢁ  
TemperatureꢁsuffixꢁLꢁ  
ꢃꢁ0.3ꢁ  
ꢃꢁ0.4ꢁ  
+ꢁ0.3ꢁ  
+ꢁ0.4ꢁ  
%VDDꢁ  
%VDD  
ThermalꢁDriftꢁofꢁSensitivityꢁ  
Mismatchꢁ  
TemperatureꢁsuffixꢁKꢁ  
TemperatureꢁsuffixꢁLꢁ  
ꢃꢁ0.3ꢁ  
ꢃꢁ0.5ꢁ  
+ꢁ0.3ꢁ  
+ꢁ0.5ꢁ  
%ꢁ  
%ꢁ  
ꢄSMISMXYꢁ  
ꢄSMISMXZꢁ TemperatureꢁsuffixꢁKꢁ  
ꢄSMISMYZꢁ TemperatureꢁsuffixꢁLꢁ  
ꢃꢁ1ꢁ  
ꢃꢁ1.5ꢁ  
+ꢁ1ꢁ  
+ꢁ1.5ꢁ  
%ꢁ  
%ꢁ  
AnalogꢁOutputꢁResolutionꢁ  
OutputꢁstageꢁNoiseꢁ  
RDAC  
12ꢁbitsꢁDACꢁ(Theoreticalꢁ–ꢁNoiseꢁfree)ꢁ  
INLꢁ  
DNLꢁ  
0.025ꢁ  
0ꢁ  
%VDD/LSBꢁ  
LSBꢁ  
ꢃ4ꢁ  
ꢃ1ꢁ  
+4ꢁ  
1ꢁ  
LSBꢁ  
ClampedꢁOutputꢁ  
0.05ꢁ  
%VDDꢁ  
ꢁꢁMLX90333ꢁAccuracyꢁSpecificationꢁcontinues…ꢁ  
…ꢁMLX90333ꢁAccuracyꢁSpecificationꢁ  
Noiseꢁpkꢃpk(15)  
Gainꢁ=ꢁ14,ꢁSlowꢁmode,ꢁFilter=5ꢁ  
5ꢁ  
10ꢁ  
LSB15ꢁ  
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ꢁTheꢁmismatchꢁbetweenꢁXꢁandꢁZꢁ(YꢁandꢁZ)ꢁcanꢁbeꢁreducedꢁthroughꢁtheꢁcalibrationꢁofꢁtheꢁ2ꢁparametersꢁkZꢁandꢁktꢁasꢁdescribedꢁinꢁ  
theꢁformulasꢁpageꢁ12ꢁinꢁorderꢁtoꢁtakeꢁintoꢁaccountꢁtheꢁICꢁmismatchꢁandꢁsystemꢁtolerancesꢁ(magneticꢁandꢁmechanical).ꢁ  
14ꢁToꢁevaluateꢁtheꢁerrorꢁaffectingꢁtheꢁcomputedꢁangleꢁi.e.ꢁ“ATAN”ꢁfunctionꢁ(Seeꢁsectionꢁ5),ꢁitꢁisꢁimportantꢁtoꢁtakeꢁintoꢁaccountꢁtheꢁ  
actualꢁvalueꢁofꢁtheꢁfactorꢁkZꢁasꢁitꢁamplifiesꢁtheꢁsignalꢁVZꢁandꢁconsequentlyꢁitsꢁdriftꢁtoo.ꢁ  
15ꢁ Theꢁ applicationꢁ diagramꢁ usedꢁ isꢁ describedꢁ inꢁ theꢁ recommendedꢁ wiring.ꢁ Forꢁ detailedꢁ information,ꢁ referꢁ toꢁ sectionꢁ Filterꢁ inꢁ  
applicationꢁmodeꢁ(Sectionꢁ13.6).ꢁꢁ  
3901090333  
Rev. 007  
Page 17 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
Gainꢁ=ꢁ14,ꢁFastꢁmode,ꢁFilter=0ꢁ  
10ꢁ  
0ꢁ  
20ꢁ  
0.1ꢁ  
LSB15ꢁ  
%VDD  
DC/LSBꢁ  
RatiometryꢁErrorꢁ  
ꢃ0.1ꢁ  
PWMꢁOutputꢁResolutionꢁ  
PWMꢁJitterꢁ  
RPWM  
12ꢁbitsꢁ(Theoreticalꢁ–ꢁJitterꢁfree)ꢁ  
Gainꢁ=ꢁ11,ꢁFPWMꢁ=ꢁ250ꢁHzꢁ–ꢁ800Hzꢁ  
Theoreticalꢁ–ꢁJitterꢁfreeꢁ  
0.025ꢁ  
%
JPWM  
RSPI  
5ꢁ  
LSB12ꢁ  
bitsꢁ  
SerialꢁOutputꢁResolutionꢁ  
16ꢁ  
10. MLX90333 Magnetic Specification  
DC Operating Parameters at VDD = 5V (unless otherwise specified) and for TA as specified by the  
Temperature suffix (K or L).  
Parameter  
Symbol  
Test Conditions  
Min  
Typ  
Max  
Units  
MagneticꢁFluxꢁDensityꢁ  
MagneticꢁFluxꢁDensityꢁ  
BX,ꢁBY(16)ꢁ  
BZ(16)ꢁ  
20ꢁ  
24ꢁ  
50ꢁ  
75ꢁ  
70(17)  
140ꢁ  
0ꢁ  
mTꢁ  
mTꢁ  
MagnetꢁTemperatureꢁCoefficientꢁ TCmꢁ  
IMCꢁGain(18)  
GainIMCꢁ  
ꢃ2400ꢁ  
1.2ꢁ  
ppm/°Cꢁ  
1.4ꢁ  
1.8ꢁ  
11. MLX90333 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ꢁ  
16ꢁTheꢁconditionꢁmustꢁbeꢁfulfilledꢁforꢁatꢁleastꢁoneꢁfieldꢁBX,ꢁBYꢁorꢁBZ.ꢁ  
17ꢁAboveꢁ70ꢁmT,ꢁtheꢁIMCꢁstartsꢁsaturatingꢁyieldingꢁtoꢁanꢁincreaseꢁofꢁtheꢁlinearityꢁerror.  
18ꢁThisꢁisꢁtheꢁmagneticꢁgainꢁlinkedꢁtoꢁtheꢁIntegratedꢁMagnetoꢁConcentratorꢁstructure.ꢁItꢁappliesꢁtoꢁBXꢁandꢁBYꢁandꢁnotꢁtoꢁBZ.ꢁThisꢁ  
isꢁtheꢁoverallꢁvariation.ꢁWithinꢁoneꢁlot,ꢁtheꢁpartꢁtoꢁpartꢁvariationꢁisꢁtypicallyꢁ±ꢁ10%ꢁversusꢁtheꢁaverageꢁvalueꢁofꢁtheꢁIMCꢁgainꢁofꢁthatꢁ  
lot.ꢁ  
3901090333  
Rev. 007  
Page 18 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
12. MLX90333 End-User Programmable Items  
Default Values  
Parameter  
MAINMODE  
OutputsꢁMode  
PWMPOL1  
PWMPOL2  
PWM_Freq  
3ꢃPoints  
ALPHA_POL  
ALPHA_MOD180  
ALPHA_DP  
ALPHA_DEADZONE  
ALPHA_S0  
ALPHA_X  
Comments  
BCH  
STD/IP1  
BCH  
SPI  
0
BCT  
STD/IP1  
# bit  
SelectꢁOutputsꢁConfiguration  
Defineꢁtheꢁoutputꢁstagesꢁmode  
PWMꢁPolarityꢁ(Outꢁ1)  
PWMꢁPolarityꢁ(Outꢁ2)  
PWMꢁFrequency  
4ꢁsegmentsꢁtransferꢁcurveꢁforꢁsingleꢁangleꢁoutput  
RevertꢁtheꢁSignꢁofꢁAlpha  
ModuloꢁOperationꢁ(180deg)ꢁonꢁAlpha  
AlphaꢁDiscontinuityꢁPoint  
AlphaꢁDeadꢁZone  
0
2
0
0
2
0
0
2
3
1
1
16  
1
1
1
8
6
16  
16  
16  
16  
1
1
6
8
N/A  
N/A  
N/A  
N/A  
0
0
1000h  
0
0
1
0
1000h  
0
0
1
0
0
1
0
0
0
0
InitialꢁSlope  
4000h  
4000h  
8000h  
4000h  
0
1
0
0
4000h  
4000h  
8000h  
4000h  
0%  
100%  
0
4000h  
4000h  
8000h  
4000h  
0
1
0
0
4000h  
4000h  
8000h  
4000h  
0%  
4000h  
4000h  
8000h  
4000h  
0
1
0
0
4000h  
4000h  
8000h  
4000h  
0%  
AlphaꢁXꢁCoordinate  
AlphaꢁYꢁCoordinate  
AlphaꢁSꢁCoordinate  
RevertꢁtheꢁSignꢁofꢁBeta  
ModuloꢁOperationꢁ(180deg)ꢁonꢁBeta  
BetaꢁDiscontinuityꢁPoint  
BetaꢁDeadꢁZone  
ALPHA_Y  
ALPHA_S1  
BETA_POL  
BETA_MOD180  
BETA_DP  
BETA_DEADZONE  
BETA_S0  
BETA_X  
BETA_Y  
BETA_S1  
BetaꢁDeadꢁZone  
16  
16  
16  
16  
16  
16  
1
BetaꢁXꢁCoordinate  
BetaꢁYꢁCoordinate  
BetaꢁSꢁCoordinate  
CLAMP_LOW  
CLAMP_HIGH  
2D  
ClampingꢁLow  
ClampingꢁHigh  
100%  
0
100%  
0
XYZ  
SPIꢁOnly  
0
0
0
1
KZ  
B3h  
80h  
0h  
0h  
40hꢁ  
3ꢁ  
B3h  
80h  
0h  
0h  
40hꢁ  
0ꢁ  
8
8
8
8
8
8
KT(19)  
N/A  
FIELDTHRES_LOW  
FIELDTHRES_HIGH  
DERIVGAINꢁ  
FILTERꢁ  
0h  
0h  
40h  
3
FILTERꢁA1ꢁ  
FILTERꢁA2ꢁ  
FILTERFIRSTꢁ  
FHYSTꢁ  
FilterꢁcoefficientꢁA1ꢁforꢁFILTER=6  
FilterꢁcoefficientꢁA2ꢁforꢁFILTER=6  
6600hꢁ  
2A00hꢁ  
0ꢁ  
6600hꢁ  
2A00hꢁ  
0ꢁ  
6600h  
2A00h  
0
16  
16  
1
0ꢁ  
0ꢁ  
0
8
MELEXISID1ꢁ  
MELEXISID2ꢁ  
MELEXISID3ꢁ  
CUSTUMERID1ꢁ  
CUSTUMERID2ꢁ  
CUSTUMERID3ꢁ  
HIGHSPEEDꢁ  
GAINMINꢁ  
MLXꢁ  
MLXꢁ  
MLXꢁ  
1ꢁ  
17d(20)  
MLXꢁ  
0ꢁ  
MLXꢁ  
MLXꢁ  
MLXꢁ  
1ꢁ  
37dꢁ  
MLXꢁ  
0ꢁ  
MLX  
MLX  
MLX  
1
38d  
MLX  
0
16  
16  
16  
16  
16  
16  
1
0ꢁ  
0ꢁ  
0
8
19ꢁOnlyꢁapplicableꢁforꢁ90333BCHꢁ  
20ꢁCUSTUMERID2ꢁ=ꢁ29dꢁforꢁMLX90333SDC–BCH–STANDARDꢁ  
3901090333  
Rev. 007  
Page 19 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
GAINMAXꢁ  
41dꢁ  
41dꢁ  
41d  
8
End-User Programmable Items continues...  
… End-User Programmable Itemsꢁ  
EEHAMHOLEꢁ  
3131hꢁ  
1hꢁ  
0hꢁ  
0hꢁ  
N/Ahꢁ  
0hꢁ  
3131hꢁ  
0hꢁ  
0hꢁ  
16ꢁ  
2ꢁ  
1ꢁ  
Diagn mode  
RESONFAULTꢁ  
MLXLOCKꢁ  
LOCKꢁ  
0hꢁ  
1hꢁ  
0hꢁ  
1ꢁ  
Extra end-User Programmable Items 90333BCT  
AGCRADIUSTARGET(21)  
SWTHRESꢁ  
SWLOWꢁ  
SWHIGHꢁ  
SWHYSTꢁ  
CodePWMLATCHꢁ  
OUT1DIAGꢁ  
OUT2DIAGꢁ  
CodeKTALPHAꢁ  
CodeKTBETAꢁ  
CodeORTHZXALPHAꢁ  
CodeORTHZYALPHAꢁ  
CodeORTHZXBETAꢁ  
CodeORTHZYBETAꢁ  
CodeENHORTHꢁ  
DefineꢁGainꢁtargetꢁ64%ꢁ/ꢁꢁ90%ꢁADCꢁ  
AngleꢁTriggerꢁlevelꢁforꢁswitchꢁonꢁout2ꢁ  
SwitchꢁLowꢁlevelꢁoutputꢁonꢁout2ꢁ  
Switchꢁhighꢁlevelꢁoutputꢁonꢁout2ꢁ  
Switchꢁhysteresisꢁ  
Enableꢁsynchronizedꢁ%ꢁDCꢁupdateꢁꢁ  
ActiveꢁDiagnosticꢁOutputꢁ1ꢁbehaviorꢁ  
ActiveꢁDiagnosticꢁOutputꢁ2ꢁbehaviorꢁ  
“Joystick”ꢁALPHAꢁangleꢁcorrectionꢁparameterꢁ  
“Joystick”ꢁBETAꢁangleꢁcorrectionꢁparameterꢁ  
Frontꢃendꢁ“Joystick”ꢁangleꢁcorrectionꢁparameterꢁꢁ  
Frontꢃendꢁ“Joystick”ꢁangleꢁcorrectionꢁparameterꢁ  
Frontꢃendꢁ“Joystick”ꢁangleꢁcorrectionꢁparameterꢁ  
Frontꢃendꢁ“Joystick”ꢁangleꢁcorrectionꢁparameterꢁ  
EnableꢁenhancedꢁFrontꢃendꢁ“Joystick”ꢁangleꢁ  
correctionꢁꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
N/Aꢁ  
0ꢁ  
FFFFhꢁ  
40hꢁ  
FFhꢁ  
0ꢁ  
1ꢁ  
0ꢁ  
0ꢁ  
80hꢁ  
80hꢁ  
0ꢁ  
0ꢁ  
0ꢁ  
1ꢁ  
16ꢁ  
8ꢁ  
8ꢁ  
8ꢁ  
1ꢁ  
1ꢁ  
1ꢁ  
8ꢁ  
8ꢁ  
8ꢁ  
8ꢁ  
8ꢁ  
8ꢁ  
0ꢁ  
N/Aꢁ  
N/Aꢁ  
0ꢁ  
1ꢁ  
21ꢁOptionꢁtoꢁuseꢁsameꢁADCꢁtargetꢁasꢁ90333BCH.ꢁDefaultꢁvalueꢁequalsꢁloweredꢁ%ꢁADCꢁtargetꢁꢁ  
3901090333  
Rev. 007  
Page 20 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
13. Description of End-User Programmable Items  
13.1. Output Configuration  
The parameter MAINMODE defines the output stages configuration  
MAINMODE  
OUT1  
ALPHAꢁ  
BETAꢁ  
OUT2  
BETAꢁ  
0ꢁ  
1ꢁ  
2ꢁ  
3ꢁ  
ALPHAꢁ  
ALPHAꢁ  
BETAꢁ  
ALPHAꢁDERIVATEꢁ/ꢁSWITCH(22)  
BETAꢁDERIVATEꢁ/ꢁSWITCH(22)  
13.2. Output Mode  
The MLX90333 outputs type is defined by the Output Mode parameter.  
Parameter  
Value  
Description  
AnalogꢁRailꢃtoꢃRailꢁ  
2ꢁ  
AnalogꢁOutputꢁModeꢁ  
5ꢁ  
7ꢁ  
LowꢁSideꢁ(NMOS)ꢁ  
PushꢃPullꢁ  
PWMꢁOutputꢁModeꢁ  
Serialꢁ  
N/Aꢁ  
LowꢁSideꢁ(NMOS)ꢁ  
13.2.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.  
13.2.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 of the Out 1 (Out 2) is selected by the PWMPOL1 (PWMPOL2) parameter:  
PWMPOL1 (PWMPOL2) = 0 for a low level at 100%  
PWMPOL1 (PWMPOL2) = 1 for a high level at 100%  
The PWM frequency is selected by the PWM_Freq parameter.  
PWM Frequency Code  
Pulse-Width Modulation Frequency (Hz)  
Oscillator Mode  
100  
200  
500  
1000  
LowꢁSpeedꢁ  
35000ꢁ  
17500ꢁ  
7000ꢁ  
3500ꢁ  
22ꢁDerivateꢁ=ꢁBCHꢁ,ꢁSwitchꢁ=ꢁBCT  
3901090333  
Rev. 007  
Page 21 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
HighꢁSpeedꢁ  
ꢃꢁ  
50000ꢁ  
20000ꢁ  
10000ꢁ  
For instance, in Low Speed Mode, set PWM_Freq = 7000 (decimal) to set the PWM frequency at 500Hz.  
13.2.3. Serial Protocol Output Mode  
The MLX90333 features a digital Serial Protocol mode. The MLX90333 is considered as a Slave node.  
The frame layer type is defined by the parameter XYZ as described in the next table.  
Parameter  
Value  
Description  
0ꢁ  
1ꢁ  
RegularꢁSPIꢁFrameꢁAlpha,ꢁBetaꢁ  
X,Y,ꢁZꢁFrameꢁ  
XYZꢁ  
See the dedicated Serial Protocol section for a full description (Section 15).  
13.2.4. Switch Out  
Parameter  
SWTHRES  
SWHYST  
SWLOW  
Value  
0…100  
0 0.39  
0…100  
0…100  
Unit  
%
%
%
SWHIGH  
%
The output level on out2 is changed from SWLOW to SWHIGH when the output value is greater than the  
value stored in the SWTHRES parameter.  
The SWHYST defines the hysteresis amplitude around the Switch point. The switch is actually activated if  
the digital output value is greater than SWTHRES+SWHYST. It is deactivated if the digital output value is  
less than SWTHRES-SWHYST.  
If the Switch feature is not used in the application, the output pin needs to be connected to the ground and  
disabled in EEPROM.  
13.3. Output Transfer Characteristic  
Parameter  
Value  
Description  
0ꢁ  
1ꢁ  
RegularꢁAlpha,ꢁBetaꢁOutputꢁ(2ꢁtimesꢁ2ꢁsegments)ꢁ  
Alphaꢁ(orꢁBeta)ꢁSingleꢁOutputꢁ(1ꢁtimeꢁ4ꢁsegments)ꢁ  
3ꢃPointsꢁ  
The 3-Points parameters allow the user to use the 3-points mapping (4 segments). This mode can only be  
used for Mainmode equals 2 and 3.  
3-Points = 0, the parameters list is described as bellow (Angle Alpha and Beta):  
Parameter  
Value  
Unit  
ALPHA_POLꢁ  
BETA_POLꢁ  
0ꢁ  
1ꢁ  
3901090333  
Rev. 007  
Page 22 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
ALPHA_MOD180ꢁ  
BETA_MOD180ꢁ  
0ꢁ  
1ꢁ  
ALPHA_DPꢁ  
BETA_DPꢁ  
degꢁ  
degꢁ  
%ꢁ  
0ꢁꢁ359.9999ꢁ  
0ꢁꢁ359.9999ꢁ  
0ꢁꢁ100ꢁ  
ALPHA_Xꢁ  
BETA_Xꢁ  
ALPHA_Yꢁ  
BETA_Yꢁ  
ALPHA_S0ꢁ  
ALPHA_S1ꢁ  
BETA_S0ꢁ  
BETA_S1ꢁ  
%/degꢁ  
0ꢁꢁ17ꢁ  
CLAMP_LOWꢁ  
CLAMP_HIGHꢁ  
%ꢁ  
%ꢁ  
0ꢁꢁ100ꢁ  
0ꢁꢁ100ꢁ  
ALPHA_DEADZONEꢁ  
BETA_DEADZONEꢁ  
degꢁ  
0ꢁꢁ359.9999ꢁ  
3-Points = 1, the parameters list is described as bellow (Alpha or Beta):  
Parameter  
ALPHA_POLꢁ  
DPꢁ  
Value  
Unit  
0ꢁꢁCCWꢁ  
1ꢁꢁCWꢁ  
degꢁ  
0ꢁꢁ359.9999ꢁ  
LNR_A_Xꢁ  
LNR_B_Xꢁ  
degꢁ  
0ꢁꢁ359.9999ꢁ  
LNR_C_Xꢁ  
LNR_A_Yꢁ  
LNR_B_Yꢁ  
LNR_C_Yꢁ  
%ꢁ  
0ꢁꢁ100ꢁ  
0ꢁꢁ17ꢁ  
LNR_S0ꢁ  
LNR_A_Sꢁ  
LNR_B_Sꢁ  
%/degꢁ  
LNR_C_Sꢁ  
CLAMP_LOWꢁ  
CLAMP_HIGHꢁ  
DEADZONEꢁ  
%/degꢁ  
%ꢁ  
ꢃ17ꢁ0ꢁꢁ17ꢁ  
0ꢁꢁ100ꢁ  
%ꢁ  
0ꢁꢁ100ꢁ  
degꢁ  
0ꢁꢁ359.9999ꢁ  
13.3.1. The Polarity and Modulo Parameters  
The angle Alpha is defined as the arctangent of Z/X and Beta as the arctangent of Z/Y. It is possible to  
invert the polarity of these angles via the parameters ALPHA_POL and BETA_POL set to “1”.  
The  
MLX90333  
can  
ALPHA_MOD180/BETA_MOD180 to “1”.  
also  
be  
insensitive  
to  
the  
field  
polarity  
by  
setting  
the  
3901090333  
Rev. 007  
Page 23 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
z
β
y
α
x
13.3.2. Alpha/Beta Discontinuity Point (or Zero Degree Point)  
The Discontinuity Point defines the zero point of the circle (Alpha or Beta). The discontinuity point places  
the origin at any location of the trigonometric circle (see Figure 13).  
For a Joystick Application, Melexis recommends to set the DP to zero.  
13.3.3. LNR Parameters  
The LNR parameters, together with the clamping values, fully define the relation (the transfer function)  
between the digital angles (Alpha and Beta) and the output signals.  
The shape of the MLX90333 transfer function from the digital angle values to the output voltages is  
described by the drawing below (See Figure 11). Four segments can be programmed but the clamping  
levels are necessarily flat (3-Points = 0).  
100%  
Clamping High  
CLAMPHIGH  
C
ALPHA_S1  
B
ALPHA_Y  
ALPHA_S0  
A
Clamping Low  
CLAMPLOW  
0%  
0°  
Alpha  
360°  
ALPHA_X  
Figureꢁ11ꢁꢃꢁDigitalꢁAngleꢁ(Alpha)ꢁTransferꢁCharacteristicꢁ(IdemꢁdittoꢁforꢁBeta)ꢁ  
In the case of one single angle output (3-Points = 1), the shape of the MLX90333 transfer function from  
the digital angle values to the output voltage is described by the drawing below (See Figure 12). Six  
3901090333  
Rev. 007  
Page 24 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
segments can be programmed but the clamping levels are necessarily flat.  
100 %  
CLAMPHIGH  
Clamping High  
C
Slope LNR_C_S  
LNR_C_Y  
B
Slope LNR_B_S  
LNR_B_Y  
LNR_A_Y  
A
Slope LNR_A_S  
Slope LNR_S0  
Clamping Low  
CLAMPLOW  
0 %  
LNR_A_X  
LNR_B_X  
LNR_C_X  
360  
0
(Deg.)  
Figureꢁ12ꢁ–ꢁDigitalꢁAngleꢁ(Alpha)ꢁTransferꢁCharacteristicꢁforꢁSingleꢁAngleꢁOutputꢁ  
13.3.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.  
13.3.5. DEADZONE Parameter  
The dead zone is defined as the angle window between 0 and 359.9999 (See Figure 13).  
When the digital angle (Alpha or Beta) lies in this zone, the IC is in fault mode (RESONFAULT must be  
set to “1” – See 13.8.2).  
In case of ALPHA_MOD180 (or BETA_MOD180) is not set, the angle between 180° and 360° will  
generate a “deadzone” fault, unless DEADZONE=0.  
3901090333  
Rev. 007  
Page 25 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
z
90°  
Programmable 0°point  
α
0°  
180°  
x
Programmable Forbidden Zone  
Figure 13 – Discontinuity Point and Dead Zone (Alpha – Idem ditto for Beta)  
13.4. Identification  
Parameter  
Value  
Unit  
MELEXSID1  
MELEXSID2  
MELEXSID3  
0 65535  
0 65535  
0 65535  
0 65535  
0 65535  
0 65535  
CUSTUMERID1  
CUSTUMERID2  
CUSTUMERID3  
Identification number: 48 bits freely useable by Customer for traceability purpose.  
13.5. Sensor Front-End  
Parameter  
Value  
Unit  
0 = Slow mode  
1 = Fast mode  
HIGHSPEED  
GAINMIN  
GAINMAX  
0 41  
0 41  
FIELDTHRES_LOW  
FIELDTHRES_HIGH  
0 … 100  
0 … 100  
%
%
13.5.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.  
3901090333  
Rev. 007  
Page 26 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
13.5.2. GAINMIN and GAINMAX Parameters  
The MLX90333 features an automatic gain control (AGC) of the analog chain. The AGC loop is based on  
Max(|VX|, |VY|, |VZ|) = |Amplitude| = Radius  
and it targets an amplitude of 90% of the ADC input span.  
In MLX90333BCT, this default target is changed to 64% but can be set to 90% by enabling the parameter  
AGCRADIUSTARGET.  
The current gain can be read out with the programming unit PTC-04 and gives a rough indication of the  
applied magnetic flux density (Amplitude).  
GAINMIN & GAINMAX define the boundaries within the gain setting is allowed to vary. Outside this range,  
the outputs are set in diagnostic low.  
13.5.3. FIELDTHRES_LOW and FIELDTHRES_HIGH Parameters  
The strength of the applied field is constantly calculated in a background process. The value of this field  
can be read out with the PTC-04 and gives a rough indication of the applied magnetic flux density  
(Amplitude).  
FIELDTHRES_LOW & FIELDTHRES_HIGH define the boundaries within the actual field strength  
(Radius) is allowed to vary. Outside this range, the outputs are set in diagnostic low.  
3901090333  
Rev. 007  
Page 27 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
13.6. FILTER  
Parameter  
FHYST  
Value  
Unit  
deg  
0
11 ; step 0.04  
0… 6  
FILTER  
0
1
FILTERFIRST  
The MLX90333 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 FILTERFIRST 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.  
13.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.  
13.6.2. FIR Filters  
The MLX90333 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  
The characteristics of the filters no 0 to 5 is given in the Table 1.  
FilterꢀNoꢀ(j)ꢀ  
Typeꢁ  
0ꢀ  
1ꢀ  
2ꢀ  
3ꢀ  
4ꢀ  
5ꢀ  
Disableꢁ  
FiniteꢁImpulseꢁResponseꢁ  
Coefficientsꢁa0…ꢁa5ꢁ  
Titleꢁ  
N/Aꢁ  
110000ꢁ  
121000ꢁ  
133100ꢁ  
111100ꢁ  
Lightꢁ  
4ꢁ  
122210ꢁ  
NoꢁFilterꢁ  
ExtraꢁLightꢁ  
90%ꢁResponseꢁTimeꢁ(CT)ꢁ  
99%ꢁResponseꢁTimeꢁ(CT)ꢁ  
EfficiencyꢁRMSꢁ(dB)ꢁ  
EfficiencyꢁP2Pꢁ(dB)ꢁ  
1ꢁ  
1ꢁ  
0ꢁ  
0ꢁ  
2ꢁ  
2ꢁ  
3ꢁ  
3ꢁ  
4ꢁ  
4ꢁ  
5ꢁ  
5ꢁ  
4ꢁ  
2.9ꢁ  
2.9ꢁ  
4.0ꢁ  
3.6ꢁ  
4.7ꢁ  
5.0ꢁ  
5.6ꢁ  
6.2ꢁ  
7.0ꢁ  
6.1ꢁ  
Table 1 - FIR Filters Selection Table  
Page 28 of 48  
3901090333  
Rev. 007  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
FIR and HYST Filters : Step response Comparative Plot  
40000  
38000  
36000  
34000  
32000  
30000  
x(n)  
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 14 - Step Response and Noise Response for FIR (No 3) and FHYST=10  
13.6.3. IIR Filters  
The IIR Filter is enabled with Filter = 6. The diagram of the IIR Filter implemented in the MLX90333 is  
given in Figure 15. 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 15 - IIR Diagram  
Page 29 of 48  
3901090333  
Rev. 007  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
FilterꢀNoꢀ  
Typeꢁ  
6ꢀ  
2ndꢁOrderꢁInfiniteꢁImpulseꢁResponseꢁ(IIR)ꢁ  
Titleꢁ  
Mediumꢁ&ꢁStrongꢁ  
90%ꢁResponseꢁTimeꢁ(CT)ꢁ  
EfficiencyꢁRMSꢁ(dB)ꢁ  
EfficiencyꢁP2Pꢁ(dB)ꢁ  
CoefficientꢁA1ꢁ  
CoefficientꢁA2ꢁ  
11ꢁ  
9.9ꢁ  
16ꢁ  
26ꢁ  
40ꢁ  
52ꢁ  
16.2ꢁ  
20ꢁ  
100ꢁ  
>20ꢁ  
11.4ꢁ  
13.6ꢁ  
17.1ꢁ  
15.3ꢁ  
12.9ꢁ  
14.6ꢁ  
18.8ꢁ  
>20ꢁ  
26112ꢁ  
10752ꢁ  
28160ꢁ  
12288ꢁ  
29120ꢁ  
12992ꢁ  
30208ꢁ  
13952ꢁ  
31296ꢁ  
14976ꢁ  
31784ꢁ  
15412ꢁ  
Table 2 - IIR Filter Selection Table  
The Figure 16 shows the response of the filter to a Gaussian noise with default coefficient A1 and A2.  
IIR Filter - Gaussian White Noise Response  
40200  
40150  
x(n)  
y(n)  
40100  
40050  
40000  
39950  
39900  
39850  
39800  
0
50  
100  
150  
Time  
Figure 16 - Noise Response for the IIR Filter  
13.7. Programmable enhanced “joystick’ angle correction23  
Parameter  
Value  
Unit  
KTALPHA  
KTBETA  
[0..200] / 128  
LSB  
ORTHZXALPHA  
ORTHZYALPHA  
ORTHZXBETA  
ORTHZYBETA  
[-128…127] / 256  
LSB  
Disable = 0  
Enable = 1  
ENHORTH  
23ꢁOnlyꢁapplicableꢁforꢁ90333BCTꢁ  
3901090333  
Rev. 007  
Page 30 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
13.7.1. Enhanced “Joystick “Angle Formula  
(kZVZ )2 + (kt (VY ORTHzy *Vz ))2  
VX ORTHzx*Vz  
α
β
= ATAN  
= ATAN  
(kZVZ )2 + (kt (Vx ORTHzx*Vz ))2  
Vy ORTHzy*Vz  
The enhanced “joystick” angle function is enabled by parameter ENORTH. Parameters are automatically  
calculated when using the 90333BCT/ 9 points solver to optimize the shape of Betaout vs Alphaout in  
accordance to the mechanical boundaries of the Joystick  
13.8. Programmable Diagnostic Settings  
Parameter  
Value  
DIAGLOW = 0  
DIAGHIGH = 1  
DIAGLOW = 0  
DIAGHIGH = 1  
Disable = 0  
Enable = 1  
Enable = 0  
Disable = 3131h  
OUT1DIAG  
OUT2DIAG  
RESONFAULT  
EEHAMHOLE  
13.8.1. OUTxDIAG Parameter  
This OUT1DIAG, OUT2DIAG parameters define the behavior of the output in case of a diagnostic  
situation.  
13.8.2. RESONFAULT Parameter  
This RESONFAULT parameter enables the soft reset when a fault is detected by the CPU when the  
parameter is set to 1. It is recommended to set it to “1” to activate the self diagnostic modes (See section  
14).  
Note that in the User Interface (MLX90333UI), the RESONFAULT is a cluster of the following two bits, i.e.  
the 2 bits are both disabled or both enabled:  
DRESONFAULT: disable the reset in case of a fault.  
DOUTINFAULT: disable output in diagnostic low in case of fault.  
It is recommended to set both EEPROM parameters to “0” to activate the self diagnostic modes  
3901090333  
Rev. 007  
Page 31 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
13.8.3. EEHAMHOLE Parameter  
The EEHAMHOLE parameter disables the CRC check and memory recovery (Hamming code) check  
when a fault is detected by the CRC when it is equal to 3131h. Melexis strongly recommends to set the  
parameter to 0 (enable memory recovery). The parameter is set automatically to 0 by the solver function  
“MemLock”.  
13.9. Lock  
Parameter  
Value  
0
1
0
1
MLXLOCK  
LOCK  
13.9.1. MLXLOCK Parameter  
MLXLOCK locks all the parameters set by Melexis.  
13.9.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”.  
3901090333  
Rev. 007  
Page 32 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
14. MLX90333 Self Diagnostic  
The MLX90333 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ꢁ(24)  
Diagnosticꢁlow(25)  
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ꢁ13.8.3ꢁ  
CalibrationꢁDataꢁCRCꢁErrorꢁꢁ  
(OperationꢁꢃꢁBackground)ꢁꢁ  
DeadꢁZoneꢁAlphaꢁ  
CPUꢁResetꢁ  
SetꢁOutputsꢁinꢁDiagnosticꢁlow.ꢁ  
NormalꢁOperationꢁuntilꢁtheꢁ“deadꢁ  
zone”ꢁisꢁleft.ꢁ  
Immediateꢁrecoveryꢁifꢁtheꢁ  
“deadꢁzone”ꢁisꢁleftꢁꢁ  
DeadꢁZoneꢁBetaꢁ  
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ꢁ  
(50ꢁ%ꢁꢃꢁ100ꢁ%)ꢁ  
Noꢁmagnetꢁ/ꢁfieldꢁtooꢁhighꢁ  
Seeꢁalsoꢁ13.5.2ꢁ  
NormalꢁmodeꢁandꢁCPUꢁResetꢁIfꢁ  
recoveryꢁꢁ  
SetꢁOutputsꢁinꢁDiagnosticꢁlowꢁ  
FieldꢁClippingꢁ  
(Radiusꢁ<ꢁFIELDTHRES_LOWꢁ Normalꢁmode,ꢁandꢁNoꢁCPUꢁResetꢁ  
orꢁRadiusꢁ>ꢁ  
Ifꢁrecoveryꢁꢁ  
FIELDTHRES_HIGH)ꢁ  
RoughꢁOffsetꢁClippingꢁ  
(ROꢁisꢁ<ꢁ0dꢁorꢁ>ꢁ127d)ꢁ  
SetꢁOutputsꢁinꢁDiagnosticꢁlowꢁ  
Normalꢁmode,ꢁandꢁCPUꢁResetꢁIfꢁ  
recoveryꢁ  
SetꢁOutputsꢁinꢁDiagnosticꢁlowꢁ  
Normalꢁmode,ꢁandꢁCPUꢁResetꢁIfꢁ  
recoveryꢁ  
ImmediateꢁDiagnosticꢁlowꢁ  
ImmediateꢁDiagnosticꢁlowꢁ  
GainꢁClippingꢁ  
(Gainꢁ<ꢁGAINMINꢁorꢁGAINꢁ>ꢁ  
GAINMAX)ꢁ  
Seeꢁalsoꢁ13.5.2ꢁ  
ImmediateꢁDiagnosticꢁlowꢁ  
DACꢁMonitorꢁ(DigitalꢁtoꢁAnalogꢁ SetꢁOutputsꢁinꢁDiagnosticꢁlow.ꢁ  
converter)ꢁ  
NormalꢁModeꢁwithꢁimmediateꢁ  
recoveryꢁwithoutꢁCPUꢁResetꢁ  
MLX90333 Fault Mode continues…  
24ꢁ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ꢁ13.8.2)ꢁ  
25ꢁReferꢁtoꢁsectionꢁ6ꢁforꢁtheꢁDiagnosticꢁOutputꢁLevelꢁspecificationsꢁꢁ  
3901090333  
Rev. 007  
Page 33 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
…MLX90333 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(25)  
Noꢁvalidꢁdiagnosticꢁforꢁ  
V
DDꢁ>ꢁ9.4ꢁVꢁ  
ICꢁisꢁswitchedꢁoffꢁ(internalꢁsupply)ꢁ  
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.ꢁ  
BrokenꢁVSS  
CPUꢁResetꢁonꢁrecoveryꢁ  
CPUꢁResetꢁonꢁrecoveryꢁ  
100%ꢁHardwareꢁdetection.ꢁ  
Pullꢁdownꢁloadꢁꢁ10ꢁkꢀꢁtoꢁ  
meetꢁDiagꢁLowꢁspec:ꢁꢁ  
ꢃꢁ<ꢁ4%ꢁVDDꢁ(temperatureꢁ  
suffixꢁK)ꢁ  
ꢃꢁcontactꢁMelexisꢁforꢁ  
temperatureꢁsuffixꢁLꢁ  
Noꢁvalidꢁdiagnosticꢁforꢁ  
Pullꢁdownꢁresistiveꢁloadꢁ=>ꢁ  
Diag.ꢁLowꢁ  
Pullꢁupꢁresistiveꢁloadꢁ=>ꢁ  
Diag.ꢁHighꢁ  
BrokenꢁVDD  
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.ꢁ  
3901090333  
Rev. 007  
Page 34 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
15. Serial Protocol  
15.1. Introduction  
The MLX90333 features a digital Serial Protocol mode. The MLX90333 is considered as a Slave node.  
The serial protocol of the MLX90333 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.  
15.2. SERIAL PROTOCOL Mode  
CPHA = 1  
CPOL = 0  
even clock changes are used to sample the data  
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.  
15.3. MOSI (Master Out Slave In)  
The Master sends a command to the Slave to get the angle information.  
15.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 MLX90333.  
15.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.  
15.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.  
15.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. MLX90333 will cope with any signal from the Master while  
starting up.  
3901090333  
Rev. 007  
Page 35 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
15.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  
1 Startbyte  
Byte 0  
Byte 1  
Byte 2  
Byte 7  
Timingsꢀ  
Min(26)  
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ꢁ  
<ꢁ10ꢁmsꢁ/ꢁ16ꢁmsꢁ  
TStartUp  
26ꢁTimingsꢁshownꢁforꢁoscillatorꢁbaseꢁfrequencyꢁofꢁ20MHzꢁ(FastꢁMode)ꢁ/ꢁ7ꢁMHzꢁ(SlowꢁMode)ꢁ  
3901090333  
Rev. 007  
Page 36 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
15.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).  
15.10. Frame Layer  
15.10.1. Frame Type Selection  
See the programmable parameter XYZ in section 13.2.3 to select between the Alpha, Beta Frame and the  
X, Y, Z Frame.  
15.10.2. Data Frame Structure  
The Figure 17 gives the timing diagram for the SPI Frame. The latch point for the angle measurement is  
at the last clock before the first data frame byte.  
Latch point  
/SS  
SCLK  
F
F
F
F
F
F
F
F
F
F
F
F
F
F
F
F
F
F
F
F
F
F
MOSI  
S
U
M
F
F
D
A
T
D
A
T
D
A
T
F
F
D
A
T
MISO  
A
A
A
A
0
1
Alpha  
Beta  
Error  
XYZ  
X
Y
Z
Figure 17 - Timing Diagram for the SPI Frame  
A data frame consists of:  
Data Frame  
XYZ = 0  
XYZ = 1  
1 start byte  
FFh  
2 data bytes (LSByte first)  
2 data bytes (LSByte first)  
2 data bytes (LSByte first)  
1 SUM byte  
Alpha  
Beta  
X
Y
Z
Error Code  
8 LSB of the sum of the transmitted bytes  
15.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.  
3901090333  
Rev. 007  
Page 37 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
15.10.4. Data Structure  
The DATA could be a valid angle/field component or an error condition.  
DATA: Angle/ Field Component A[15:0] with (Span)/216  
Less Significant Byte  
Most Significant Byte  
msb  
A7  
lsb msb lsb  
A6 A5 A4 A3 A2 A1 A0 A15 A14 A13 A12 A11 A10 A9 A8  
DATA: Error  
Less Significant Byte  
Most Significant Byte  
msb  
E7  
lsb msb lsb  
E6 E5 E4 E3 E2 E1 E0 E15 E14 E13 E12 E11 E10 E9 E8  
BIT  
E0  
E1  
E2  
E3  
E4  
NAME  
-
-
F_ADCMONITOR  
F_ADCSATURA  
F_GAINTOOLOW  
ADC Failure  
ADC Saturation (Electrical failure or field too strong)  
The gain code is strictly less than EE_GAINMIN  
E5  
E6  
F_GAINTOOHIGH  
F_NORMTOOLOW  
The gain code is strictly greater than EE_GAINMAX  
Goesꢀhighꢀwhenꢀtheꢀfastꢀnormꢀ(theꢀmaxꢀofꢀabsoluteꢀx,y,z)ꢀisꢀ  
belowꢀ30%  
E7  
E8  
F_FIELDTOOLOW  
F_FIELDTOOHIGH  
The norm (Square root) is strictly less than EE_FIELDLOW  
The norm (Square root) is strictly greater than  
EE_FIELDHIGH  
E9  
E10  
F_ROCLAMP  
-
E11 F_DEADZONEALPHA The angle ALPHA lies in the deadzone  
Analog Chain Rough Offset Compensation: Clipping  
E12  
E13  
E14  
-
-
-
E15 F_DEADZONEBETA  
The angle BETA lies in the deadzone  
15.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.  
15.10.6. Error Handling  
In case of any errors listed in section 15.10.4, the Serial protocol will be initialized and the error condition  
can be read by the master.  
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).  
3901090333  
Rev. 007  
Page 38 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
16. Recommended Application Diagrams  
16.1. Analog Output Wiring with the MLX90333 in SOIC Package  
ECU  
5 V  
Vdd  
C1  
100nF  
GND  
Vdd  
Vss  
C3  
100nF  
MLX90333  
C6  
4.7nF  
C2  
100nF  
Test 1  
Vdig  
ADC  
NotUsed  
Out 2  
Test 2  
Out 1  
R1  
10k  
R2  
10k  
Out 1  
Out 2  
C4  
100nF  
C5  
4.7nF  
Figure 18 – Recommended wiring for the MLX90333 in SOIC8 package  
16.2. PWM Low Side Output Wiring  
ECU  
5 V  
Vdd  
C1  
100nF  
GND  
Vdd  
Vss  
C3  
4.7nF  
MLX90333  
C6  
4.7nF  
5 V  
C2  
100nF  
Test 1  
Vdig  
ADC  
NotUsed  
PWM 2  
Test 2  
R1  
1k  
R2  
1k  
PWM 1  
PWM 2  
PWM 1  
C4  
4.7nF  
C5  
4.7nF  
Figure 19 – Recommended wiring for a PWM Low Side Output configuration  
3901090333  
Rev. 007  
Page 39 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
16.3. Analog Output Wiring with the MLX90333 in TSSOP Package  
VDD1  
ECU  
V
DD1  
GND1  
GND1  
GND1  
C2  
100nF  
C31  
100nF  
C32  
100nF  
C1  
100nF  
V
V
V
DIG1  
SS1  
DD1  
O
UT1_1  
UT2_1  
O
UT1_1  
OUT2_1  
O
C4  
100nF  
MLX90333  
VDD2  
C62  
100nF  
V
DD2  
V
DD2  
SS2  
DIG2  
O
UT2_2  
GND2  
10K  
V
4.7nF  
OUT1_2  
ADC  
GND2  
V
C5  
100nF  
C61  
100nF  
GND2  
O
UT1_2  
O
UT2_2  
Figure 20 – Recommended wiring for the MLX90333 in TSSOP16 package (dual die).  
16.4. Serial Protocol  
Generic schematics for single slave and dual slave applications are described.  
C1  
100nF  
SPI Master  
GND  
Vdd  
5 V  
Vdd  
Vss  
_SS  
MLX90333  
_SS  
C2  
100nF  
Test 0  
Vdig  
R4  
SCLK  
/SS  
Test 1  
MOSI  
R5  
SCLK  
R3  
R2  
MISO  
R1  
MOSI  
_MOSI  
3.3V/5V  
Figure 21 – MLX90333  
Single Die  
Serial Protocol Mode  
3901090333  
Rev. 007  
Page 40 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
ꢂ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.ꢁ(27)  
N/Aꢁ  
N/Aꢁ  
BS170ꢁ  
N/Aꢁ  
N/Aꢁ  
5VꢁꢂCtrlꢁw/ꢁO.D.ꢁw/oꢁ3.3Vꢁ(28)  
3.3VꢁꢂCtrlꢁw/ꢁO.D.ꢁ  
1000ꢁ 20,000ꢁ 1000ꢁ 20,000ꢁ  
1000ꢁ N/Aꢁ N/Aꢁ N/Aꢁ  
3.3Vꢁ  
Table 3 - Resistor Values for Common Specific Applications  
27ꢁꢂCtrlꢁw/ꢁO.D.ꢁ:ꢁMicroꢃcontrollerꢁwithꢁopenꢃdrainꢁcapabilityꢁ(forꢁinstanceꢁNECꢁV850ESꢁseries)ꢁ  
28ꢁꢂCtrlꢁw/oꢁO.D.ꢁ:ꢁMicroꢃcontrollerꢁwithoutꢁopenꢃdrainꢁcapabilityꢁ(likeꢁTIꢁTMS320ꢁseriesꢁorꢁATMELꢁAVRꢁꢁ)  
3901090333  
Rev. 007  
Page 41 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
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 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  
18. ESD Precautions  
Electronic semiconductor products are sensitive to Electro Static Discharge (ESD).  
Always observe Electro Static Discharge control procedures whenever handling semiconductor products.  
3901090333  
Rev. 007  
Page 42 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
19. Package Information  
19.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***  
19.2. SOIC8 - Pinout and Marking  
Marking :  
Part Number MLX90333 (3 digits)  
Die Version (3 digits)  
8
5
333 Bxx  
TOP  
333Bxx  
M12345  
Xy-E  
M12345  
Xy-E  
Lot number: “M+ 5 digits  
Split lot number (Optional ) + “-E”  
YY  
WW  
Bottom  
Week Date code (2 digits)  
Year Date code(2 digits)  
1
4
3901090333  
Rev. 007  
Page 43 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
19.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  
3901090333  
Rev. 007  
Page 44 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
19.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.  
3901090333  
Rev. 007  
Page 45 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
19.5. TSSOP16 - Pinout and Marking  
Vdig_1  
Vss_1  
Test1_1  
Out1_1/MOSI/MISO_1  
Out2_1/SCLK_1  
_SS_1  
Vdd_1  
Test0_1  
_SS_2  
Test0_2  
Vdd_2  
Out2_2/SCLK_2  
Out1_2/MOSI/MISO_2  
Test1_2  
Marking :  
Vss_2  
Part Number MLX90316 (3 digits)  
Die Version (3 digits)  
Vdig_2  
333  
Bxx  
Top  
M12345  
Xy-E  
Lot number: “M” + 5 digits  
Split lot number (Optional ) +-E”  
YY  
WW  
Bottom  
Week Date code (2 digits)  
Year Date code (2 digits)  
3901090333  
Rev. 007  
Page 46 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
19.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  
3901090333  
Rev. 007  
Page 47 of 48  
Data Sheet  
Jul/2013  
MLX90333  
Triais® Position Sensor  
20. Disclaimer  
Devices sold by Melexis are covered by the warranty and patent indemnification provisions appearing in  
its Term of Sale. Melexis makes no warranty, express, statutory, implied, or by description regarding the  
information set forth herein or regarding the freedom of the described devices from patent infringement.  
Melexis reserves the right to change specifications and prices at any time and without notice. Therefore,  
prior to designing this product into a system, it is necessary to check with Melexis for current information.  
This product is intended for use in normal commercial applications. Applications requiring extended  
temperature range, unusual environmental requirements, or high reliability applications, such as military,  
medical life-support or life-sustaining equipment are specifically not recommended without additional  
processing by Melexis for each application.  
The information furnished by Melexis is believed to be correct and accurate. However, Melexis shall not  
be liable to recipient or any third party for any damages, including but not limited to personal injury,  
property damage, loss of profits, loss of use, interrupt of business or indirect, special incidental or  
consequential damages, of any kind, in connection with or arising out of the furnishing, performance or  
use of the technical data herein. No obligation or liability to recipient or any third party shall arise or flow  
out of Melexis’ rendering of technical or other services.  
© 2013 Melexis 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  
3901090333  
Rev. 007  
Page 48 of 48  
Data Sheet  
Jul/2013  

相关型号:

MLX90333KGO

Triaxis 3D-Joystick Position Sensor
MELEXIS

MLX90333KGO-BCH-000-RE

SENSOR LINEAR ANALOG/PWM 16TSSOP
MELEXIS

MLX90333KGO-BCH-000-SP

SENSOR LINEAR ANALOG/PWM 16TSSOP
MELEXIS

MLX90333KGO-BCH-000-TU

SENSOR LINEAR ANALOG/PWM 16TSSOP
MELEXIS

MLX90333KGO-BCH-100-RE

SENSOR LINEAR SPI 16TSSOP
MELEXIS

MLX90333KGO-BCH-100-SP

SENSOR LINEAR SPI 16TSSOP
MELEXIS

MLX90333KGO-BCH-100-TU

SENSOR LINEAR SPI 16TSSOP
MELEXIS

MLX90333KGO-BCT-000-RE

SENSOR LINEAR ANALOG/PWM 16TSSOP
MELEXIS

MLX90333KGO-BCT-000-SP

SENSOR LINEAR ANALOG/PWM 16TSSOP
MELEXIS

MLX90333KGO-BCT-000-TU

SENSOR LINEAR ANALOG/PWM 16TSSOP
MELEXIS

MLX90333KGOBCH-000RE

Triaxis® Position Sensor
MELEXIS

MLX90333KGOBCH-000TU

Triaxis® Position Sensor
MELEXIS