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
274 (27.9%)
Yes, I'd not considered buying a TIC before, but 320x240 resolution at this price justifies it (as either tool or toy!)
444 (45.3%)
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
50 (5.1%)
Not yet, but probably will if now that a closed-box hack becomes is possible
164 (16.7%)

Total Members Voted: 803

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

MrSheep and 7 Guests are viewing this topic.

Offline Fraser

  • Super Contributor
  • ***
  • Posts: 13165
  • Country: gb
Re: Flir E4 Thermal imaging camera teardown
« Reply #300 on: October 28, 2013, 01:28:43 pm »
Maybe, but everything I have read on TIC design indicates that a lot of correction related maths is needed to form a decent image. It appears that the FPA is quite a badly behaved sensor that needs taming before its data is truly usable ? No inside knowledge on this though.
If I have helped you please consider a donation : https://gofund.me/c86b0a2c
 

Offline mikeselectricstuffTopic starter

  • Super Contributor
  • ***
  • Posts: 13727
  • Country: gb
    • Mike's Electric Stuff
Re: Flir E4 Thermal imaging camera teardown
« Reply #301 on: October 28, 2013, 01:28:54 pm »
If people can buy and modify the E4 unit from something that can be exported into something that cannot (or is more tightly controlled like 60fps) then Flir will be worried about getting in trouble with the US government.
As such, this will be the driving factor for stopping the hack on future firmware.
I have no reason to believe that >9fps is possible with a hack (though you may get a little more with overclocking) - As the downsampling appears to happen in the FPGA there is no reason not to bake the limit into the FPGA. Whether they have or not is an interesting question - not impossible that they use the same FPGA code across a wide range of models.
Of course what we don't know is how different the hardware is from the Ex0 series...
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 9925
  • Country: nz
Re: Flir E4 Thermal imaging camera teardown
« Reply #302 on: October 28, 2013, 01:29:51 pm »
If someone wanted to add a TIC to a quadcopter or RC aircraft, buying this, stripping out all the surplus weight and tapping the full-res output would be a pretty viable solution and relatively low-cost. 

RC drone with thermal camera could loosely be classed as using the camera as part of a weapon system.

It is however, an awesome idea :)
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline Fraser

  • Super Contributor
  • ***
  • Posts: 13165
  • Country: gb
Re: Flir E4 Thermal imaging camera teardown
« Reply #303 on: October 28, 2013, 01:31:54 pm »
« Last Edit: October 28, 2013, 01:55:43 pm by Aurora »
If I have helped you please consider a donation : https://gofund.me/c86b0a2c
 

Offline mikeselectricstuffTopic starter

  • Super Contributor
  • ***
  • Posts: 13727
  • Country: gb
    • Mike's Electric Stuff
Re: Flir E4 Thermal imaging camera teardown
« Reply #304 on: October 28, 2013, 01:35:02 pm »
Maybe, but everything I have read on TIC design indicates that a lot of correction related maths is needed to form a decent image. It appears that the FPA is quite a badly behaved sensor that needs taming before its data is truly usable ? No inside knowledge on this though.
Probably - there are a couple of cal files that look like per-pixel data.
I'd expect at least a gain per pixel, perhaps linearitycurves, and maybe corrections for shutter-closed offsets over different temp ranges.
And bad pixel concealment.
Which is why I'm curious to look at the raw output. Bear in mind that a lot of apps don't need linearity/accuracy and high framerate at the same time.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 9925
  • Country: nz
Re: Flir E4 Thermal imaging camera teardown
« Reply #305 on: October 28, 2013, 01:35:30 pm »
I have no reason to believe that >9fps is possible with a hack (though you may get a little more with overclocking) - As the downsampling appears to happen in the FPGA there is no reason not to bake the limit into the FPGA. Whether they have or not is an interesting question - not impossible that they use the same FPGA code across a wide range of models.
Of course what we don't know is how different the hardware is from the Ex0 series...

Yeah, i guess the issue is more about the raw 60hz data being available on a 9Hz unit, rather than the resolution hack.
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline nowlan

  • Frequent Contributor
  • **
  • Posts: 649
  • Country: au
Re: Flir E4 Thermal imaging camera teardown
« Reply #306 on: October 28, 2013, 01:47:06 pm »
If someone wanted to add a TIC to a quadcopter or RC aircraft, buying this, stripping out all the surplus weight and tapping the full-res output would be a pretty viable solution and relatively low-cost. 

I found this page earlier.
http://diydrones.com/profiles/blogs/tiny-thermal-cameras-for-drones
http://www.drsinfrared.com/ModulesDetectors/UncooledCameraModules.aspx
 

Offline mikeselectricstuffTopic starter

  • Super Contributor
  • ***
  • Posts: 13727
  • Country: gb
    • Mike's Electric Stuff
Re: Flir E4 Thermal imaging camera teardown
« Reply #307 on: October 28, 2013, 02:29:29 pm »
Of course there is another reason that a manufacturer may want to stop a hack - if someone was reselling hacked units, either with original  branding or rebranded (might be tricky to change the boot-up logos to rebrand though).

And no, it won't be me...!
Wouldn't surprise me to see the odd on ebay though, maybe more likely i3's
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline Hypernova

  • Supporter
  • ****
  • Posts: 655
  • Country: tw
Re: Flir E4 Thermal imaging camera teardown
« Reply #308 on: October 28, 2013, 03:13:11 pm »
The question is whether Flir are sufficiently enligtened to realise it. Time will tell.

I wouldn't count on it, cooperate management types are by definition incompetent.
 

Offline mikeselectricstuffTopic starter

  • Super Contributor
  • ***
  • Posts: 13727
  • Country: gb
    • Mike's Electric Stuff
Re: Flir E4 Thermal imaging camera teardown
« Reply #309 on: October 28, 2013, 03:14:21 pm »
DRS makes nice equipment -- curious why it's not ITAR.
Anything over 9fps made in USA is covered by ITAR, and similar regs in other countries.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline ixfd64

  • Frequent Contributor
  • **
  • Posts: 345
  • Country: us
    • Facebook
Re: Flir E4 Thermal imaging camera teardown
« Reply #310 on: October 28, 2013, 04:25:34 pm »
I wonder how hard it would be to write our own custom firmware.

Online IanB

  • Super Contributor
  • ***
  • Posts: 11857
  • Country: us
Re: Flir E4 Thermal imaging camera teardown
« Reply #311 on: October 28, 2013, 04:51:20 pm »
If time averaged sampling is used to smooth out noise, then higher frame rates are going to be harder to achieve without upping the noise level.

One possibility is to have a bigger lens with a larger aperture. This would allow more radiation to reach the sensor in a given time, permitting a faster frame rate without compromising the S/N ratio on the sensor.

At some point performance increases will rely on physical design parameters and not simply on electronics.
 

Offline 0xdeadbeef

  • Super Contributor
  • ***
  • Posts: 1571
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #312 on: October 28, 2013, 04:59:26 pm »
Yeah, but nobody says you'd need to use the full 60Hz. When sample twice, three or four times to reduce the noise by averaging, you'd still come out with more than 9Hz.
Besides, you could implement a moving average filter even with 60Hz and trade in noise for motion blur.
Anyway, Mike seems to assume that the complete signal/image processing is done in the FPGA/ASIC, so this would make it much harder if not impossible to change the 9Hz anyway.
Trying is the first step towards failure - Homer J. Simpson
 

Offline mamalala

  • Supporter
  • ****
  • Posts: 777
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #313 on: October 28, 2013, 07:30:33 pm »
Too bad that i know absolutely nothing about WinCE internals (or any other Win internals, for that matter),
Neither did I before this.... !
Very impressed with what IDA can do - many years ago I spent a lot of time writing disassemblers for many different MCUs and doing manual tracing and cross-referencing with telephone-directory sized  disassembly printouts.

Indeed, IDA is a great tool. i guess you already found the button to give you a graphical "flow diagram" style view of the code, where the boxes contain the code fragments?

Greetings,

Chris
 

Offline olsenn

  • Frequent Contributor
  • **
  • Posts: 993
Re: Flir E4 Thermal imaging camera teardown
« Reply #314 on: October 28, 2013, 07:33:47 pm »
Quote
Anything over 9fps made in USA is covered by ITAR, and similar regs in other countries.

Perhaps I am wrong, but I was under the impression that ITAR only governs the export of government furnished technical data, and not technology itself; that is to say that if an engineer creates a thermal camera that operates at higher refresh rate than 9Hz, but does so without accessing ITAR schematics or white papers, then the device is itself not ITAR. Feel free to call BS on this one though
 

Offline mamalala

  • Supporter
  • ****
  • Posts: 777
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #315 on: October 28, 2013, 07:35:46 pm »
I have no reason to believe that >9fps is possible with a hack (though you may get a little more with overclocking) - As the downsampling appears to happen in the FPGA there is no reason not to bake the limit into the FPGA. Whether they have or not is an interesting question - not impossible that they use the same FPGA code across a wide range of models.
Of course what we don't know is how different the hardware is from the Ex0 series...

Is the FPGA a flash/EEProm type, or does it use an external EEProm for the bitstream? Or is the bitsream uploaded from a file through the WinCE? If the latter, it may just be matter of getting the "right" bitstream file...

Greetings,

Chris
 

Offline mikeselectricstuffTopic starter

  • Super Contributor
  • ***
  • Posts: 13727
  • Country: gb
    • Mike's Electric Stuff
Re: Flir E4 Thermal imaging camera teardown
« Reply #316 on: October 28, 2013, 08:34:54 pm »
Too bad that i know absolutely nothing about WinCE internals (or any other Win internals, for that matter),
Neither did I before this.... !
Very impressed with what IDA can do - many years ago I spent a lot of time writing disassemblers for many different MCUs and doing manual tracing and cross-referencing with telephone-directory sized  disassembly printouts.

Indeed, IDA is a great tool. i guess you already found the button to give you a graphical "flow diagram" style view of the code, where the boxes contain the code fragments?

Greetings,

Chris
I've not actually used it, just seen the listings for this and the x-ray. If I ever get something that needs some serious disassembly I'll probably buy it, as sometimes you need the flexibility to adjust options depending on what'd been found.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline mikeselectricstuffTopic starter

  • Super Contributor
  • ***
  • Posts: 13727
  • Country: gb
    • Mike's Electric Stuff
Re: Flir E4 Thermal imaging camera teardown
« Reply #317 on: October 28, 2013, 08:36:38 pm »
I have no reason to believe that >9fps is possible with a hack (though you may get a little more with overclocking) - As the downsampling appears to happen in the FPGA there is no reason not to bake the limit into the FPGA. Whether they have or not is an interesting question - not impossible that they use the same FPGA code across a wide range of models.
Of course what we don't know is how different the hardware is from the Ex0 series...

Is the FPGA a flash/EEProm type, or does it use an external EEProm for the bitstream? Or is the bitsream uploaded from a file through the WinCE? If the latter, it may just be matter of getting the "right" bitstream file...

Greetings,

Chris
It's RAM, loaded from a file on the WinCE filesystem. However it would be a lot of work to create a new one, even after a lot of effort just to work out the pinout- you'd probably need to risk sacrificing a unit to do it.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline mamalala

  • Supporter
  • ****
  • Posts: 777
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #318 on: October 28, 2013, 09:28:24 pm »
I have no reason to believe that >9fps is possible with a hack (though you may get a little more with overclocking) - As the downsampling appears to happen in the FPGA there is no reason not to bake the limit into the FPGA. Whether they have or not is an interesting question - not impossible that they use the same FPGA code across a wide range of models.
Of course what we don't know is how different the hardware is from the Ex0 series...

Is the FPGA a flash/EEProm type, or does it use an external EEProm for the bitstream? Or is the bitsream uploaded from a file through the WinCE? If the latter, it may just be matter of getting the "right" bitstream file...

Greetings,

Chris
It's RAM, loaded from a file on the WinCE filesystem. However it would be a lot of work to create a new one, even after a lot of effort just to work out the pinout- you'd probably need to risk sacrificing a unit to do it.

Well, the idea was not so much about reimplementing it, but getting hold of one for the better models (unless even the higher models, sold inside the US, have the same limitations). There is a good chance that the signal connections itself are the same, i.e. based on the same circuitry, and just the bitstream is a different one depending on capabilities. Of course that would require to get hold of one in the first place ....

Greetings,

Chris

Edit: That reminds me about something that i was wondering for quite some time: is there anything like a disassembler for FPGA bitstreams? Maybe not something as sophisticated as IDA, but still? Or is the IP about what goes on inside an FPGA such a "mystery" that there is simply no way to produce such a tool?
« Last Edit: October 28, 2013, 09:32:09 pm by mamalala »
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11234
  • Country: us
    • Personal site
Re: Flir E4 Thermal imaging camera teardown
« Reply #319 on: October 28, 2013, 09:35:36 pm »
Edit: That reminds me about something that i was wondering for quite some time: is there anything like a disassembler for FPGA bitstreams? Maybe not something as sophisticated as IDA, but still? Or is the IP about what goes on inside an FPGA such a "mystery" that there is simply no way to produce such a tool?
There were a couple projects trying to reverse-engineer bitstream format for Xilinx FPGAs. It was shut down by Xilinx lawyers almost immediately as it became public. It is still possible to find a PDF describing the effort, but referenced files are all gone from public view.
« Last Edit: October 28, 2013, 09:39:44 pm by ataradov »
Alex
 

Offline mikeselectricstuffTopic starter

  • Super Contributor
  • ***
  • Posts: 13727
  • Country: gb
    • Mike's Electric Stuff
Re: Flir E4 Thermal imaging camera teardown
« Reply #320 on: October 28, 2013, 09:39:41 pm »
I have no reason to believe that >9fps is possible with a hack (though you may get a little more with overclocking) - As the downsampling appears to happen in the FPGA there is no reason not to bake the limit into the FPGA. Whether they have or not is an interesting question - not impossible that they use the same FPGA code across a wide range of models.
Of course what we don't know is how different the hardware is from the Ex0 series...

Is the FPGA a flash/EEProm type, or does it use an external EEProm for the bitstream? Or is the bitsream uploaded from a file through the WinCE? If the latter, it may just be matter of getting the "right" bitstream file...

Greetings,

Chris
It's RAM, loaded from a file on the WinCE filesystem. However it would be a lot of work to create a new one, even after a lot of effort just to work out the pinout- you'd probably need to risk sacrificing a unit to do it.

Well, the idea was not so much about reimplementing it, but getting hold of one for the better models (unless even the higher models, sold inside the US, have the same limitations). There is a good chance that the signal connections itself are the same, i.e. based on the same circuitry, and just the bitstream is a different one depending on capabilities. Of course that would require to get hold of one in the first place ....
]The problem is that (if they have any sense) the pinout will be adapted to suit the PCB of the product - even a single pin swap would mean a very different bitstream. Add to that this product has the visible camera stuff handled by the FPGA.

It would however be interesting to see what signals & voltages are used to drive the sensor. It's a bit tricky to get at though - would need to make a riser board.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline PA0PBZ

  • Super Contributor
  • ***
  • Posts: 5125
  • Country: nl
Re: Flir E4 Thermal imaging camera teardown
« Reply #321 on: October 28, 2013, 09:41:05 pm »
Code: [Select]
Ex  fpga.bin       FLIR....POLLUX......27-Jun-2013.............................,.......ASBB
Exx fpga_B2CO3.bin FLIR....MIRA........23-Aug-2013.............................8.......SLCO
Exx fpga_C4_55.bin FLIR....MIRA........26-Apr-2013.............................8.......SLCO


 :-//
« Last Edit: October 28, 2013, 09:42:48 pm by PA0PBZ »
Keyboard error: Press F1 to continue.
 

Offline mikeselectricstuffTopic starter

  • Super Contributor
  • ***
  • Posts: 13727
  • Country: gb
    • Mike's Electric Stuff
Re: Flir E4 Thermal imaging camera teardown
« Reply #322 on: October 28, 2013, 09:41:45 pm »
Quote
Anything over 9fps made in USA is covered by ITAR, and similar regs in other countries.

Perhaps I am wrong, but I was under the impression that ITAR only governs the export of government furnished technical data, and not technology itself; that is to say that if an engineer creates a thermal camera that operates at higher refresh rate than 9Hz, but does so without accessing ITAR schematics or white papers, then the device is itself not ITAR. Feel free to call BS on this one though
It covers movement of technical information and items, regardless of who does it.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline mikeselectricstuffTopic starter

  • Super Contributor
  • ***
  • Posts: 13727
  • Country: gb
    • Mike's Electric Stuff
Re: Flir E4 Thermal imaging camera teardown
« Reply #323 on: October 28, 2013, 09:43:38 pm »
Code: [Select]
Ex  fpga.bin       FLIR....POLLUX......27-Jun-2013.............................,.......ASBB
Exx fpga_B2CO3.bin FLIR....MIRA........23-Aug-2013.............................8.......SLCO
Exx fpga_C4_55.bin FLIR....MIRA........26-Apr-2013.............................8.......SLCO

:-//
..of course these files would be in firmware upgrade packages, but unless the PCB is identical they wouldn't be any use.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline PA0PBZ

  • Super Contributor
  • ***
  • Posts: 5125
  • Country: nl
Re: Flir E4 Thermal imaging camera teardown
« Reply #324 on: October 28, 2013, 09:46:13 pm »
..of course these files would be in firmware upgrade packages, but unless the PCB is identical they wouldn't be any use.

Identical PCB, identical FPGA, Identical IR sensor... No chance I'd say
Keyboard error: Press F1 to continue.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf