Datasheet
MLX90640 32x24 IR array 
Datasheet 
Page 24 of 60
REVISION 11 – 3 AUGUST 2018 
Highlighted in yellow parameters are extracted here after. 
As  a  default  the  device  is  factory  calibrated in  Chess  pattern  mode  thus  the  best  performance  will  be  when  a  Chess 
pattern is  used.  However some customers may  choose  to use the device in interleaved mode  which will degrade the 
device performance. In this case a correction can be applied to restore to some extend the performance. Once the IR 
data  is  compensated  the  calculation  for  To  is  done  using  default  flow.  The  goal  of  this  correction  is  to  equalize  the 
offset of the pixels due to the different pattern reading modes. We can achieve this by using several correction 
coefficients stored into the device EEPROM extracted and decoded as follows: 
xy
`zKQQ
{3
KK
‰ 
If xy
`zKQQ
{3
KK
 xy
`zKQQ
{3
KK
xy
`zKQQ
{3
KK
  
xy
`zKQQ
{3
xy
`zKQQ
{3
KK
q
xy
`zKQQ
{8
KK
Š
‹
If xy
`zKQQ
{8
KK
 xy
`zKQQ
{8
KK
xy
`zKQQ
{8
KK
 
y
`zKQQ
{8
xy
`zKQQ
{8
KK
xy
`zKQQ
{|
KK
‰N
If xy
`zKQQ
{|
KK
 xy
`zKQQ
{|
KK
xy
`zKQQ
{|
KK
 
xy
`zKQQ
{|
xy
`zKQQ
{|
KK
(
The above calculated parameters have to be applied as a correction for the offset of each individual pixel. We do need 
additional patterns in order to make these calculations and the formula to calculate those patterns are as shown below 
depending on the pixels number: 
xy
CD??K}~
O•Z„
‚wpSg
nlmŒc1
7
(%
†O•Z+
wjƒ„
_•cb
nlmŒc1
Ž3
|8
†
%
:! 
=o•€Y•XOo•
‚*ƒƒSRj
•O•ZE
GOYF
jhi•SR
LO•ZE
GOYF
jhi•SR
L<O•ZE
GOYF
jhi•SR
LO•ZE
GOYF
jhi•SR
L‘!
&
!xy
CD??K}~
'
11.1.4.
11.1.4.11.1.4.
11.1.4. Restoring the Sensitivity 
Restoring the Sensitivity Restoring the Sensitivity 
Restoring the Sensitivity 
&
'
’
&
w…
'
“
1c”c1cnac
•D``
1de
_
!%
/{{
a0bc
1de
•D``
adblmn
k
!%
/{{
a0bc
adblmn
•“
_•cb
&
w…
'
!%
/{{
a0bc
1cmn0n2
%
–
a0bc
Where (calculating for pixel (12,16)) : 
’
RSTSRSjfS
’
rf*gS
%
< 










