MLX90640 32x24 IR array
Datasheet
1. Features and Benefits
2. Application Examples
Small size, low cost 32x24 pixels IR array
High precision non-contact temperature
Easy to integrate
Industry standard four lead TO39 package
Factory calibrated
Noise Equivalent Temperature Difference
(NETD) 0.1K RMS @1Hz refresh rate
I2C compatible digital interface
Programmable refresh rate 0.5Hz…64Hz
3.3V supply voltage
Current consumption less than 23mA
measurements
Intrusion / Movement detection
Presence detection / Person localization
Temperature sensing element for
intelligent building air conditioning
Thermal Comfort sensor in automotive Air
Conditioning control system
Microwave ovens
Industrial temperature control of moving
parts
2 FOV options – 55°x35° and 110°x75°
Visual IR thermometers
Operating temperature -40°C ÷ 85°C
Target temperature -40°C ÷ 300°C
Complies with RoHS regulations
Driver software for MCU available at:
https://github.com/melexis/mlx90640-
library.git
3. Description
The MLX90640
is a fully calibrated 32x24 pixels
thermal IR array in an industry standard 4-lead TO39
package with digital interface.
is
integrated
The MLX90640 contains 768 FIR pixels. An ambient
sensor
the ambient
temperature of the chip and supply sensor to measure
the VDD. The outputs of all sensors IR, Ta and VDD are
stored in internal RAM and are accessible through I2C.
to measure
Figure 1 Block diagram
MLX90640 32x24 IR array
Datasheet
Contents
............................................................
................................................................
................................................................
1. Features and Benefits ................................
1. Features and Benefits
............................ 1111
............................
................................
................................
................................
1. Features and Benefits
1. Features and Benefits
................................
................................
................................
............................
.............................................................
................................................................
................................................................
2. Application Examples ................................
2. Application Examples
............................. 1111
.............................
................................
................................
................................
2. Application Examples
2. Application Examples
................................
................................
................................
.............................
............................................
................................................................
................................................................
................................................................
cription ................................
3. Description
3. Des
............ 1111
............
................................
................................
................................
................................
cription
3. Des
3. Des
cription
................................
................................
................................
................................
............
............................................................
................................................................
................................................................
4. Ordering Information ................................
4. Ordering Information
............................ 6666
............................
................................
................................
................................
4. Ordering Information
4. Ordering Information
................................
................................
................................
............................
................................................................
................................................................
................................................................
5. Glossary of Terms ................................
5. Glossary of Terms
........................................ 7777
................................
................................
................................
................................
5. Glossary of Terms
5. Glossary of Terms
................................
................................
................................
................................
............................................
................................................................
................................................................
6. Pin Definitions and Descriptions ................................
6. Pin Definitions and Descriptions
............ 8888
............
................................
................................
................................
6. Pin Definitions and Descriptions
6. Pin Definitions and Descriptions
................................
................................
................................
............
...................................................
................................................................
................................................................
7. Absolute Maximum Ratings ................................
7. Absolute Maximum Ratings
................... 8888
...................
................................
................................
................................
7. Absolute Maximum Ratings
7. Absolute Maximum Ratings
................................
................................
................................
...................
............................................
................................................................
................................................................
8. General Electrical Specifications ................................
8. General Electrical Specifications
............ 9999
............
................................
................................
................................
8. General Electrical Specifications
8. General Electrical Specifications
................................
................................
................................
............
...........................................................
................................................................
................................................................
9. False pixel correction ................................
9. False pixel correction
........................... 10101010
...........................
................................
................................
................................
9. False pixel correction
9. False pixel correction
................................
................................
................................
...........................
.............................................
................................................................
................................................................
10. Detailed General Description ................................
10. Detailed General Description
............. 10101010
.............
................................
................................
................................
10. Detailed General Description
10. Detailed General Description
................................
................................
................................
.............
10.1. Pixel position ................................................................................................................................... 10
10.2. Communication protocol ............................................................................................................... 11
10.2.1. Low level ................................................................................................................................... 11
10.3. Measurement mode ....................................................................................................................... 12
10.4. Refresh rate ..................................................................................................................................... 12
10.5. Measurement flow ......................................................................................................................... 13
10.6. Reading patterns ............................................................................................................................. 14
10.7. Address map ................................................................................................................................... 16
10.7.1. Internal registers....................................................................................................................... 16
10.7.2. RAM ........................................................................................................................................... 18
10.7.3. EEPROM .................................................................................................................................... 19
........................................
................................................................
................................................................
11. Calculating Object Temperature ................................
11. Calculating Object Temperature
........ 22222222
........
................................
................................
................................
11. Calculating Object Temperature
11. Calculating Object Temperature
................................
................................
................................
........
11.1. Restoring calibration data from EERPOM ..................................................................................... 22
11.1.1. Restoring the VDD sensor parameters .................................................................................... 22
11.1.2. Restoring the Ta sensor parameters ....................................................................................... 22
11.1.3. Restoring the offset .................................................................................................................. 23
11.1.4. Restoring the Sensitivity , .................................................................................................. 24
11.1.5. Restoring the Kv(i,j) coefficient ................................................................................................ 25
11.1.6. Restoring the Kta(i,j) coefficient .............................................................................................. 25
11.1.7. Restoring the GAIN coefficient (common for all pixels) ......................................................... 26
11.1.8. Restoring the KsTa coefficient (common for all pixels) .......................................................... 26
REVISION 11 – 3 AUGUST 2018
Page 2 of 60
MLX90640 32x24 IR array
Datasheet
11.1.9. Restoring corner temperatures (common for all pixel) .......................................................... 26
11.1.10. Restoring the KsTo coefficient (common for all pixels) ........................................................ 27
11.1.11. Restoring sensitivity correction coefficients for each temperature range ......................... 27
11.1.12. Restoring the Sensitivity ............................................................................................... 28
11.1.13. Restoring the offset of the Compensation Pixel (CP) ........................................................... 28
11.1.14. Restoring the Kv CP coefficient .............................................................................................. 28
11.1.15. Restoring the Kta CP coefficient ............................................................................................ 28
11.1.16. Restoring the TGC coefficient ................................................................................................ 29
11.1.17. Restoring the resolution control coefficient ......................................................................... 29
11.2. Temperature Calculation ................................................................................................................ 30
11.2.1. Example Input Data .................................................................................................................. 30
11.2.2. Temperature calculation .......................................................................................................... 35
..........................................................
................................................................
................................................................
12. Performance graphs ................................
12. Performance graphs
.......................... 47474747
..........................
................................
................................
................................
12. Performance graphs
12. Performance graphs
................................
................................
................................
..........................
12.1. Accuracy .......................................................................................................................................... 47
Startup time ............................................................................................................................................. 49
12.1.1. First valid data ........................................................................................................................... 49
12.1.2. Thermal behavior...................................................................................................................... 49
12.2. Noise performance and resolution ................................................................................................ 50
12.3. Field of view (FOV) .......................................................................................................................... 52
.....................................................
................................................................
................................................................
. Application information ................................
13131313. Application information
..................... 53535353
.....................
................................
................................
................................
. Application information
. Application information
................................
................................
................................
.....................
13.1. Electrical considerations ................................................................................................................ 53
13.2. Using the device in “image mode” ................................................................................................ 54
......................................................
................................................................
................................................................
14. Application Comments ................................
14. Application Comments
...................... 54545454
......................
................................
................................
................................
14. Application Comments
14. Application Comments
................................
................................
................................
......................
.........................................................
................................................................
................................................................
15. Mechanical drawings ................................
15. Mechanical drawings
......................... 56565656
.........................
................................
................................
................................
15. Mechanical drawings
15. Mechanical drawings
................................
................................
................................
.........................
15.1. FOV 55° ............................................................................................................................................ 56
15.2. FOV 110° ......................................................................................................................................... 57
15.3. Device marking ............................................................................................................................... 58
........................................................
................................................................
................................................................
16. Standard Information ................................
16. Standard Information
........................ 59595959
........................
................................
................................
................................
16. Standard Information
16. Standard Information
................................
................................
................................
........................
................................................................
................................................................
................................................................
ESD Precautions ................................
17. 17. 17. 17. ESD Precautions
.................................... 59595959
................................
................................
................................
................................
ESD Precautions
ESD Precautions
................................
................................
................................
................................
18. Revision history table ................................
18. Revision history table
................................................................
................................................................
........................................................
........................ 59595959
........................
................................
................................
................................
18. Revision history table
18. Revision history table
................................
................................
................................
........................
..............................................
................................................................
................................................................
................................................................
19. Contact ................................
19. Contact
.............. 60606060
..............
................................
................................
................................
................................
19. Contact
19. Contact
................................
................................
................................
................................
..............
..........................................
................................................................
................................................................
................................................................
20. Disclaimer ................................
20. Disclaimer
.......... 60606060
..........
................................
................................
................................
................................
20. Disclaimer
20. Disclaimer
................................
................................
................................
................................
..........
REVISION 11 – 3 AUGUST 2018
Page 3 of 60
MLX90640 32x24 IR array
Datasheet
Tables
Table 1 Ordering information .......................................................................................................................................................... 6
Table 2 Glosarry of terms ................................................................................................................................................................ 7
Table 3 Pin definition ...................................................................................................................................................................... 8
Table 4 Absolute maximum ratings ................................................................................................................................................. 8
Table 5 Electrical specification ........................................................................................................................................................ 9
Table 6 Priorities of subpage controls (0x0800D) ............................................................................................................................17
Table 7 Configuration parameters memory ....................................................................................................................................19
Table 8 EEPROM to registers mapping ............................................................................................................................................19
Table 9 EEPROM overview (words) .................................................................................................................................................20
Table 10 Calibration parameters memory (EEPROM - bits) ..............................................................................................................21
Table 11 Calculation example input data ........................................................................................................................................30
Table 12 Calculation example calibration data ................................................................................................................................34
Table 13 XOR truth table ................................................................................................................................................................42
Table 14 Noise performance ..........................................................................................................................................................51
Table 15 Available FOV options ......................................................................................................................................................52
Table 16 Revision history ...............................................................................................................................................................60
Figures
Figure 1 Block diagram ................................................................................................................................................................... 1
Figure 2 MLX90640 Overview and pin description ........................................................................................................................... 8
Figure 3 Pixel in the whole FOV ......................................................................................................................................................10
Figure 4 I2C write command format (default SA=0x33 is used) ........................................................................................................11
Figure 5 I2C read command format (default SA=0x33 is used) .........................................................................................................11
Figure 6 Refresh rate timing ...........................................................................................................................................................12
Figure 7 Recommended measurement flow ...................................................................................................................................13
Figure 8 TV mode reading pattern (only highlighted cells are updated) ...........................................................................................15
Figure 9 Chess reading pattern (only highlighted cells are updated) ................................................................................................15
Figure 10 MXL90640 memory map .................................................................................................................................................16
Figure 11 Status register (0x8000) bits meaning .............................................................................................................................16
Figure 12 Control register1 (0x800D) bits meaning .........................................................................................................................17
Figure 13 I2C configuration register (0x800F) bits meaning .............................................................................................................18
Figure 14 RAM memory map (Chess pattern mode) – factory default mode ....................................................................................18
Figure 15 RAM memory map (Interleaved mode) ...........................................................................................................................18
Figure 16 To calculation flow .........................................................................................................................................................35
Figure 17 Absolute temperature accuracy – MLX90640BAA (left) and MLX90640BAB (right) ...........................................................47
Figure 18 Different accuracy zones depending on device type (BAA on the left and BAB on the right) .............................................48
Figure 19 MLX90640BAx noise vs refresh rate for different device types .........................................................................................50
Figure 20 MLX90640BAA noise vs pixel and refresh rate at 1Hz and 2Hz .........................................................................................50
Figure 21 MLX90640BAA noise vs pixel and refresh rate at 4Hz, 8Hz and 16Hz ................................................................................50
Figure 22 MLX90640BAB noise vs pixel and refresh rate at 1Hz and 2Hz .........................................................................................51
Figure 23 MLX90640BAB noise vs pixel and refresh rate at 4Hz, 8Hz and 16Hz ................................................................................51
Figure 24: Field Of View measurement ...........................................................................................................................................52
Figure 25 MLX90640 electrical connections ....................................................................................................................................53
Figure 26 Calculation flow in thermal image mode .........................................................................................................................54
Figure 27 Mechanical drawing of 55° FOV device ............................................................................................................................56
REVISION 11 – 3 AUGUST 2018
Page 4 of 60
MLX90640 32x24 IR array
Datasheet
Figure 28 Mechanical drawing of 110° FOV device ..........................................................................................................................57
REVISION 11 – 3 AUGUST 2018
Page 5 of 60
MLX90640 32x24 IR array
Datasheet
4. Ordering Information
Product
Temperature
Package Option Code
Custom
Configuration
Packing
Form
MLX90640
MLX90640
E
E
SF
SF
BAA
BAB
000
000
TU
TU
Definition
32x24 IR array
32x24 IR array
Legend:
Temperature Code: E: -40°C to 85°C
Package Code:
“SF” for TO39 package
Option Code: xAx – TGC is disabled and may not be changed
Option Code: xxA – FOV = 110°x75°
xxB – FOV = 55°x35°
Custom configuration 000 – standard product
Packing Form:
“TU” - Tubes
Ordering Example:
“MLX90640ESF-BAA-000-TU”
Table 1 Ordering information
REVISION 11 – 3 AUGUST 2018
Page 6 of 60
MLX90640 32x24 IR array
Datasheet
5. Glossary of Terms
TC
POR
IR
Ta
Temperature Coefficient (in ppm/°C)
Power On Reset
Infra-Red
Ambient Temperature – the temperature of the TO39 package
IR data
Infrared data (raw data from ADC proportional to IR energy received by the sensor)
ADC
TGC
FOV
Analog To Digital Converter
Temperature Gradient Coefficient
Field Of View
nFOV
Field Of View of the N-th pixel
I2C
SDA
SCL
LSB
MSB
Fps
MD
SD
ASP
DSP
ESD
EMC
CP
NC
NA
TBD
Inter-Integrated Circuit communication protocol
Serial Data
Serial Clock
Least Significant Bit
Most Significant Bit
Frames per Second – data refresh rate
Master Device
Slave Device
Analog Signal Processing
Digital Signal Processing
Electro Static Discharge
Electro Magnetic Compatibility
Compensation Pixel
Not Connected
Not Applicable
To Be Defined
Table 2 Glosarry of terms
REVISION 11 – 3 AUGUST 2018
Page 7 of 60
MLX90640 32x24 IR array
Datasheet
6. Pin Definitions and Descriptions
Pin #
1
2
3
4
Name
SDA
VDD
GND
SCL
Table 3 Pin definition
Description
I2C serial data (input / output)
Positive supply
Negative supply (Ground)
I2C serial clock (input only)
Figure 2 MLX90640 Overview and pin description
7. Absolute Maximum Ratings
Parameter
Symbol Min.
Typ.
Max.
Unit
Remark
Supply Voltage (over voltage)
Supply Voltage (operating max voltage)
Reverse Voltage (each pin)
Operating Temperature
Storage Temperature
ESD sensitivity (AEC Q100 002)
SDA DC sink current
VDD
VDD
TAMB
TST
-40
-40
4
5
3.6
-0.3
+85
+125
V
V
°C
°C
kV
40
mA
Table 4 Absolute maximum ratings
Not in plastic tubes
Exceeding the absolute maximum ratings may cause permanent damage. Exposure to absolute maximum-rated
conditions for extended periods may affect device reliability.
REVISION 11 – 3 AUGUST 2018
Page 8 of 60