Poll

Has the hackabiliy of the E4 made you buy one :  

Yes, I was already looking at the competition at a similar price, but the hack swung it to E4
277 (28.1%)
Yes, I'd not considered buying a TIC before, but 320x240 resolution at this price justifies it (as either tool or toy!)
444 (45.1%)
Yes, I was going to buy an E5/6/8 class of unit but will now get the E4
49 (5%)
No, but am looking out for a cheap i3 to hack
51 (5.2%)
Not yet, but probably will if now that a closed-box hack becomes is possible
164 (16.6%)

Total Members Voted: 807

Author Topic: Flir E4 Thermal imaging camera teardown  (Read 4077524 times)

0 Members and 74 Guests are viewing this topic.

Offline Bud

  • Super Contributor
  • ***
  • Posts: 7145
  • Country: ca
Re: Flir E4 Thermal imaging camera teardown
« Reply #7275 on: September 06, 2015, 07:37:55 pm »
I recall there is a http web page on E4 where you can read temperature from a few temp sensors in the camera. Should also be readable via telnet session. The stock e4 does not have the web folder , it can be just copied to it, the source was provided somewhere in this thread.
Facebook-free life and Rigol-free shack.
 

Online Fraser

  • Super Contributor
  • ***
  • Posts: 13418
  • Country: gb
Re: Flir E4 Thermal imaging camera teardown
« Reply #7276 on: September 06, 2015, 07:53:35 pm »
Most microbolometer based thermal cameras contain the following temperature sensors.....

1. Chassis temperature
2. Microbolometer temperature (at least 2 sensors normally used)
3. FFC shutter flag temperature (or the air around said flag)
4. If a Germanium lens is present ... The lens temperature
5. If a Peltier temperature stabiliser is present ... Hot and cold sides of the Peltier element.

The cameras radio metric temperature measurement routines need much of this sensor data in order to provide accurate and repeatable temperature measurements.

For those wondering why the temperature of a Germanium lens is needed....Germanium changes its transmission spec as its temperature rises. The greater the temperature the lower the transmission percentage until at 100 degrees C it is almost opaque to thermal IR wavelengths. The effect only really starts to become an issue when the lens temperature rises above 50 Degrees C though.

In situations where the Germanium lens is exposed to very high temperatures, such as a furnace, steps are taken to cool the lens assembly. Cooled Air or fluid cooling lens jackets are commonly used.
Aurora
« Last Edit: September 06, 2015, 07:56:04 pm by Aurora »
If I have helped you please consider a donation : https://gofund.me/c86b0a2c
 

Offline Bud

  • Super Contributor
  • ***
  • Posts: 7145
  • Country: ca
Re: Flir E4 Thermal imaging camera teardown
« Reply #7277 on: September 06, 2015, 08:03:28 pm »
Aurora, you should write a book, man. I would certainly buy one.
Facebook-free life and Rigol-free shack.
 

Offline bookaboo

  • Frequent Contributor
  • **
  • Posts: 759
  • Country: ie
Re: Flir E4 Thermal imaging camera teardown
« Reply #7278 on: September 07, 2015, 08:13:19 am »
Most microbolometer based thermal cameras contain the following temperature sensors.....

1. Chassis temperature
2. Microbolometer temperature (at least 2 sensors normally used)
3. FFC shutter flag temperature (or the air around said flag)
4. If a Germanium lens is present ... The lens temperature
5. If a Peltier temperature stabiliser is present ... Hot and cold sides of the Peltier element.

The cameras radio metric temperature measurement routines need much of this sensor data in order to provide accurate and repeatable temperature measurements.

For those wondering why the temperature of a Germanium lens is needed....Germanium changes its transmission spec as its temperature rises. The greater the temperature the lower the transmission percentage until at 100 degrees C it is almost opaque to thermal IR wavelengths. The effect only really starts to become an issue when the lens temperature rises above 50 Degrees C though.

In situations where the Germanium lens is exposed to very high temperatures, such as a furnace, steps are taken to cool the lens assembly. Cooled Air or fluid cooling lens jackets are commonly used.
Aurora


Interesting, I recall seeing a very expensive TI system on a drying furnace which was monitoring for ignited material on the output of the dryer. It had an air blower creating a narrow curtain of air just in front of the camera (though not pointing at the camera). I assume this was to prevent heating of the lens by convection?

(Also +1 to the book suggestion)
« Last Edit: September 07, 2015, 08:15:23 am by bookaboo »
 

Offline encryptededdy

  • Frequent Contributor
  • **
  • Posts: 360
  • Country: nz
Re: Flir E4 Thermal imaging camera teardown
« Reply #7279 on: September 07, 2015, 08:24:33 am »
For those wondering why the temperature of a Germanium lens is needed....Germanium changes its transmission spec as its temperature rises. The greater the temperature the lower the transmission percentage until at 100 degrees C it is almost opaque to thermal IR wavelengths. The effect only really starts to become an issue when the lens temperature rises above 50 Degrees C though.

In situations where the Germanium lens is exposed to very high temperatures, such as a furnace, steps are taken to cool the lens assembly. Cooled Air or fluid cooling lens jackets are commonly used.
Aurora
That sounds like a pretty big disadvantage... are there any advantages to using Germanium compared to, for example, chalcogenide glass as found in the E4? Does it offer higher optical quality?

At least Umicore's advertising (http://eom.umicore.com/en/infrared-optics/blanks/#GASIR) certainly makes their chalcogenide glass material sound far superior to Germanium.
 

Offline Chanc3

  • Frequent Contributor
  • **
  • Posts: 444
  • Country: gb
Re: Flir E4 Thermal imaging camera teardown
« Reply #7280 on: September 07, 2015, 09:24:52 am »
Strange temperature if I compare with my new E30bx and E4 non hacked from my friend, the temperature sometimes is 4 or 5 degrees more. I thing is problem with calibration. I had this problem when I bought it more then one year ago and Flir in that time recalibrated E4 for me but maybe not too god.

Not being funny, but have you setup the camera with the same parameters? Emissivity, Tref etc?
 

Offline Uho

  • Frequent Contributor
  • **
  • Posts: 256
  • Country: ua
Re: Flir E4 Thermal imaging camera teardown
« Reply #7281 on: September 10, 2015, 10:54:16 am »
Did the test lens X3 on Flir e5. Works. Not available E4 with friends.
 

Online Fraser

  • Super Contributor
  • ***
  • Posts: 13418
  • Country: gb
Re: Flir E4 Thermal imaging camera teardown
« Reply #7282 on: September 10, 2015, 01:54:21 pm »
Uho,

Very nice work  :-+

It is such a pity that FLIR does not give user access to the image reversal function in order to correct the lens inversion. Most thermal cameras have the feature but few provide it as a menu option.

Aurora
If I have helped you please consider a donation : https://gofund.me/c86b0a2c
 

Offline Uho

  • Frequent Contributor
  • **
  • Posts: 256
  • Country: ua
Re: Flir E4 Thermal imaging camera teardown
« Reply #7283 on: September 10, 2015, 02:12:48 pm »
I was able to make the lens, without flip the image only X2. If more than the increase - or flips, or loss of sensitivity.
Yes. The menu is do not have enough to flip image.
I tested it on Flir E5. Without camera. Its dimensions are different from the E4. In the company I have not found such a thermal imager. Who knows about the different versions of the E5? Do they really are different?
 

Offline encryptededdy

  • Frequent Contributor
  • **
  • Posts: 360
  • Country: nz
Re: Flir E4 Thermal imaging camera teardown
« Reply #7284 on: September 10, 2015, 02:15:21 pm »
I was able to make the lens, without flip the image only X2. If more than the increase - or flips, or loss of sensitivity.
Yes. The menu is do not have enough to flip image.
I tested it on Flir E5. Without camera. Its dimensions are different from the E4. In the company I have not found such a thermal imager. Who knows about the different versions of the E5? Do they really are different?
Do you mean i5?

Yes, it can be hacked to the i7 (either 120x120 or 140x140 depending on generation). The actual microbolometer inside is like 280x280
 

Offline Uho

  • Frequent Contributor
  • **
  • Posts: 256
  • Country: ua
Re: Flir E4 Thermal imaging camera teardown
« Reply #7285 on: September 10, 2015, 02:30:36 pm »
Yes. Thank you. Indeed I5. I was told E5. I ignored the letter. I had a little time .
 

Offline MikaJ

  • Newbie
  • Posts: 1
  • Country: fi
Re: Flir E4 Thermal imaging camera teardown
« Reply #7286 on: September 11, 2015, 08:11:18 am »
Thanks for all that have worked hacking E4! Just bought from Farnell this week one and in 15minutes it was upgraded with Fubar instructions without any problem.
 

Offline fubar.gr

  • Supporter
  • ****
  • Posts: 368
  • Country: gr
    • Fubar.gr
Re: Flir E4 Thermal imaging camera teardown
« Reply #7287 on: September 12, 2015, 04:47:20 am »
I've taken some photos with the MSX distance set incorrectly and the optical and thermal images do not line up.

Is there any way to fix it in FLIR Tools?

Offline Bud

  • Super Contributor
  • ***
  • Posts: 7145
  • Country: ca
Re: Flir E4 Thermal imaging camera teardown
« Reply #7288 on: September 12, 2015, 05:31:20 am »
You can try BFIC

https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg610799/#msg610799

I do not think FLIR Tools has adjustment for MSX offset.
Facebook-free life and Rigol-free shack.
 

Offline fubar.gr

  • Supporter
  • ****
  • Posts: 368
  • Country: gr
    • Fubar.gr
Re: Flir E4 Thermal imaging camera teardown
« Reply #7289 on: September 12, 2015, 09:47:36 am »
Thanks!

Offline mrweek

  • Newbie
  • Posts: 2
  • Country: cl
Re: Flir E4 Thermal imaging camera teardown
« Reply #7290 on: September 15, 2015, 02:39:58 pm »
I upgrade my cam successfully with rom E4 1.2L 2.3.0, Thanks for the excellent information.
My Question is the watermark “flir” in the lower left corner is missing after the upgrade,
but some people posted the photos in forum, the watermark is still there although the cam is upgraded.
I wonder to know can I control the watermark display on the screen and how ?
Thanks a lot ^i^
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #7291 on: September 15, 2015, 03:53:48 pm »
I've taken some photos with the MSX distance set incorrectly and the optical and thermal images do not line up.

Is there any way to fix it in FLIR Tools?

I would look inside the jpg-binaries and patch the (constant) hex values for distance in the exif header

with exiftool you can watch two flir distance parameters
 
Code: [Select]
$ exiftool -focus*  FLIR0080.jpg
Focus Step Count                : 70
Focus Distance                  : 0.0 m
I think, that "Focus Distance" is zero by the fixed focus camera Ex

For Flir Exx I wrote here something to this values:
http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,4898.msg24224.html#msg24224


the simplest way, to found the correct byte sequence is exiftool -v5
Code: [Select]
$ exiftool -v5  FLIR0080.jpg | grep -B300  -i focus
  | | FilterSerialNumber =
  | | - Tag 0x021c (32 bytes, string[32]):
  | |     041c: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [................]
  | |     042c: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [................]
  | | PlanckO = -7652
  | | - Tag 0x0308 (2 bytes, int16s[1]):
  | |     0508: 1c e2                                           [..]
  | | PlanckR2 = 0.0276008248329163
  | | - Tag 0x030c (4 bytes, float[1]):
  | |     050c: 20 1b e2 3c                                     [ ..<]
  | | RawValueMedian = 12444
  | | - Tag 0x0338 (2 bytes, int16u[1]):
  | |     0538: 9c 30                                           [.0]
  | | RawValueRange = 624
  | | - Tag 0x033c (2 bytes, int16u[1]):
  | |     053c: 70 02                                           [p.]
  | | DateTimeOriginal = ...R..
  | | - Tag 0x0384 (10 bytes, undef[10]):
  | |     0584: e5 c2 9c 52 2e 02 00 00 00 00                   [...R......]
  | | FocusStepCount = 70
  | | - Tag 0x0390 (2 bytes, int16u[1]):
  | |     0590: 46 00                                           [F.]
  | | FocusDistance = 0


You have luck. FocusDistance has a fixed byte offset to the constants PlanckO / PlanckR2.
It' simple to patch this values in a batch script.

more informations about the tag positions in the exif header you get from exiftool source code
http://cpansearch.perl.org/src/EXIFTOOL/Image-ExifTool-10.00/lib/Image/ExifTool/FLIR.pm
scroll down to 0x390 ff
Code: [Select]
# FLIR camera record (ref PH)
%Image::ExifTool::FLIR::CameraInfo = (
    GROUPS => { 0 => 'APP1', 2 => 'Camera' },
    PROCESS_PROC => \&Image::ExifTool::ProcessBinaryData,
    FIRST_ENTRY => 0,
    NOTES => q{
        FLIR camera information.  The Planck tags are variables used in the
        temperature calculation.  See
        L<http://u88.n24.queensu.ca/exiftool/forum/index.php?topic=4898.msg23972#msg23972>
        for details.
    },
    0x00 => {
        # use this tag only to determine the byte order
        # (the value should be 0x0002 if the byte order is correct)
        Name => 'CameraInfoByteOrder',
        Format => 'int16u',
        Hidden => 1,
        RawConv => 'ToggleByteOrder() if $val >= 0x0100; undef',
    },
    # 0x02 - int16u: image width
    # 0x04 - int16u: image height
    # 0x0c - int32u: image width - 1
    # 0x10 - int32u: image height - 1
    0x20 => { Name => 'Emissivity',                   %float2f },
    0x24 => { Name => 'ObjectDistance', Format => 'float', PrintConv => 'sprintf("%.2f m",$val)' },
    0x28 => { Name => 'ReflectedApparentTemperature', %floatKelvin },
    0x2c => { Name => 'AtmosphericTemperature',       %floatKelvin },
    0x30 => { Name => 'IRWindowTemperature',          %floatKelvin },
    0x34 => { Name => 'IRWindowTransmission',         %float2f },
    # 0x38: 0
    0x3c => {
        Name => 'RelativeHumidity',
        Format => 'float',
        ValueConv => '$val > 2 ? $val / 100 : $val', # have seen value expressed as percent in FFF file
        PrintConv => 'sprintf("%.1f %%",$val*100)',
    },
    # 0x40 - float: 0,6
    # 0x44,0x48,0x4c: 0
    # 0x50 - int32u: 1
    # 0x54: 0
    0x58 => { Name => 'PlanckR1', %float8g }, #1
    0x5c => { Name => 'PlanckB',  %float8g }, #1
    0x60 => { Name => 'PlanckF',  %float8g }, #1
    # 0x64,0x68,0x6c: 0
    0x070 => { Name => 'AtmosphericTransAlpha1', %float6f }, #1 (value: 0.006569)
    0x074 => { Name => 'AtmosphericTransAlpha2', %float6f }, #1 (value: 0.012620)
    0x078 => { Name => 'AtmosphericTransBeta1',  %float6f }, #1 (value: -0.002276)
    0x07C => { Name => 'AtmosphericTransBeta2',  %float6f }, #1 (value: -0.006670)
    0x080 => { Name => 'AtmosphericTransX',      %float6f }, #1 (value: 1.900000)
    # 0x84,0x88: 0
    # 0x8c - float: 0,4,6
    0x90 => { Name => 'CameraTemperatureRangeMax', %floatKelvin },
    0x94 => { Name => 'CameraTemperatureRangeMin', %floatKelvin },
    0x98 => { Name => 'UnknownTemperature1', %floatKelvin, Unknown => 1 }, # 50 degrees over camera max
    0x9c => { Name => 'UnknownTemperature2', %floatKelvin, Unknown => 1 }, # usually 10 or 20 degrees below camera min
    0xa0 => { Name => 'UnknownTemperature3', %floatKelvin, Unknown => 1 }, # same as camera max
    0xa4 => { Name => 'UnknownTemperature4', %floatKelvin, Unknown => 1 }, # same as camera min
    0xa8 => { Name => 'UnknownTemperature5', %floatKelvin, Unknown => 1 }, # usually 50 or 88 degrees over camera max
    0xac => { Name => 'UnknownTemperature6', %floatKelvin, Unknown => 1 }, # usually 10, 20 or 40 degrees below camera min
    0xd4 => { Name => 'CameraModel',        Format => 'string[32]' },
    0xf4 => { Name => 'CameraPartNumber',   Format => 'string[16]' }, #1
    0x104 => { Name => 'CameraSerialNumber',Format => 'string[16]' }, #1
    0x114 => { Name => 'CameraSoftware',    Format => 'string[16]' }, #1/PH (NC)
    0x170 => { Name => 'LensModel',         Format => 'string[32]' },
    # note: it seems that FLIR updated their lenses at some point, so lenses with the same
    # name may have different part numbers (eg. the FOL38 is either 1196456 or T197089)
    0x190 => { Name => 'LensPartNumber',    Format => 'string[16]' },
    0x1a0 => { Name => 'LensSerialNumber',  Format => 'string[16]' },
    0x1b4 => { Name => 'FieldOfView',       Format => 'float', PrintConv => 'sprintf("%.1f deg", $val)' }, #1
    # 0x1d0 - int16u: 0,12,24,25,46
    # 0x1d2 - int16u: 170,180,190,380,760,52320
    0x1ec => { Name => 'FilterModel',       Format => 'string[16]' },
    0x1fc => { Name => 'FilterPartNumber',  Format => 'string[32]' },
    0x21c => { Name => 'FilterSerialNumber',Format => 'string[32]' },
    0x308 => { Name => 'PlanckO',           Format => 'int32s' }, #1
    0x30c => { Name => 'PlanckR2',          %float8g }, #1
    0x338 => { Name => 'RawValueMedian',    Format => 'int16u', Groups => { 2 => 'Image' } },
    0x33c => { Name => 'RawValueRange',     Format => 'int16u', Groups => { 2 => 'Image' } },
    0x384 => {
        Name => 'DateTimeOriginal',
        Description => 'Date/Time Original',
        Format => 'undef[10]',
        Groups => { 2 => 'Time' },
        RawConv => q{
            my $tm = Get32u(\$val, 0);
            my $ss = Get32u(\$val, 4) & 0xffff;
            my $tz = Get16s(\$val, 8);
            ConvertUnixTime($tm - $tz * 60) . sprintf('.%.3d', $ss) . TimeZoneString(-$tz);
        },
        PrintConv => '$self->ConvertDateTime($val)',
    },
    0x390 => { Name => 'FocusStepCount', Format => 'int16u' },
    0x45c => { Name => 'FocusDistance',  Format => 'float', PrintConv => 'sprintf("%.1f m",$val)' },
« Last Edit: September 15, 2015, 04:14:15 pm by tomas123 »
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #7292 on: September 15, 2015, 03:57:44 pm »
two years ago we discussed in the imagemagick forum about a best fit subimage search:
overlay a thermal with a visible image  ;)
http://studio.imagemagick.org/discourse-server/viewtopic.php?f=1&t=23318#p97884
« Last Edit: September 15, 2015, 04:21:40 pm by tomas123 »
 

Offline Bud

  • Super Contributor
  • ***
  • Posts: 7145
  • Country: ca
Re: Flir E4 Thermal imaging camera teardown
« Reply #7293 on: September 15, 2015, 06:03:56 pm »
My Question is the watermark “flir” in the lower left corner is missing after the upgrade,
but some people posted the photos in forum, the watermark is still there although the cam is upgraded.
I wonder to know can I control the watermark display on the screen and how ?
Thanks a lot ^i^
Why do you want the logo? It just occupies valuable space.
Facebook-free life and Rigol-free shack.
 

Offline mrweek

  • Newbie
  • Posts: 2
  • Country: cl
Re: Flir E4 Thermal imaging camera teardown
« Reply #7294 on: September 16, 2015, 02:06:28 am »
Why do you want the logo? It just occupies valuable space.
Because other guy's posts have the watermark, I am questioning is there something go wrong or my cam is angry about the upgrade :-[ 
 

Offline Bud

  • Super Contributor
  • ***
  • Posts: 7145
  • Country: ca
Re: Flir E4 Thermal imaging camera teardown
« Reply #7295 on: September 16, 2015, 02:39:47 am »
There may be different versions of the files in the update packages. Some may have the logo patched or disabled, others may not.
Facebook-free life and Rigol-free shack.
 

Offline marcins

  • Newbie
  • Posts: 2
  • Country: gb
Re: Flir E4 Thermal imaging camera teardown
« Reply #7296 on: September 17, 2015, 08:41:43 am »
Hi all
Got today my E4 from PASS, firmware 2.3.0 +5% discount with voucher
and not only :)
what was in the box :
E4 with battery, charger, and usb cable,call certyfikate,
+ at no extra cost!!!
Amazon Gift Voucher £50
E series Pouch £21.60
E series Battery(extra one) £66
E series Car charger £43.20

is this normal and everyone get extrass??
very impressive first order there:)

now is charging and will do hack on it:)
« Last Edit: September 17, 2015, 08:51:50 am by marcins »
 

Online Fraser

  • Super Contributor
  • ***
  • Posts: 13418
  • Country: gb
Re: Flir E4 Thermal imaging camera teardown
« Reply #7297 on: September 17, 2015, 10:49:13 am »
FLIR operate specials that include the items you listed.

The USA normally get the best deals first but the E4 has been out For some time so we are now seeing the specials here in the UK. IMHO PASS are a very good company with which to do business. They treated me well in the past.

Fraser
If I have helped you please consider a donation : https://gofund.me/c86b0a2c
 

Offline nightsquint

  • Newbie
  • Posts: 4
  • Country: 00
Re: Flir E4 Thermal imaging camera teardown
« Reply #7298 on: September 18, 2015, 12:12:50 pm »
Greetings,

Another happy owner of a brand new (now hacked) E4 (bought two weeks ago), thanks to Mike, Fubar, and countless others who made all the hacks work  :clap:  :-+

Model: E4 1.2L
Serial: 6396xxxx
Part: 63901-0101
Software: 2.3.0
Last cal: July 2015

.info.temporalMk double 13.300059 (quite good)

See attached for dead pixels. E4 screen photographed using a mobile phone camera.
The dead pixels (dark spots) flicker and some supposedly "dead" pixels come to "live" able to register at higher thermal inputs.
But then, other "dead" pixels are really really dead (no amount of resuscitation & slapping helps).

Cheers  :)
 

Online Fraser

  • Super Contributor
  • ***
  • Posts: 13418
  • Country: gb
Re: Flir E4 Thermal imaging camera teardown
« Reply #7299 on: September 18, 2015, 12:25:54 pm »
Those dead pixels are normal and your camera isn't bad at all. The dead pixel map and correction sort all this out for you. The normal spec of a microbolometer is 99.8% active pixels with 99.9% active on the more expensive arrays.

DO NOT SLAP YOUR E4 ! This isn't a kids toy !

Doing so can actually create new dead pixels, requiring the dead pixel map to be re written.

Fraser

If I have helped you please consider a donation : https://gofund.me/c86b0a2c
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf