Building Contact-Less Thermometer (upto Digital Pre-Fabrication stage)

Dont remember. I will search the spec sheet. I have them in office.

The MLX90614 or similar devices have built in ADC and DSP.
The one I have are plain detectors.

3 Likes

@jtd can you explain the role of adc and dsp?

The built-in feature with the sensor ease the making of prototype?
Can one also add the above with plain sensors? We need to design a PCB right?

3 Likes

Yes. Very much.

Yes we can make one with the plain diode too. Given that the range of measurement for our use is very small, one does not need the range or resolution of the MLX90614. However this requires one to add several additional components to make the plain diode work well.

If the MLX90614 is available use it. It will probably be faster to design but much more expensive Rs.1300/- per unit. Else use the plain diodes which is Rs.200/- per unit.

3 Likes

The ADC is to convert the analog voltage into a digital value. One could also simply drive a anolg moving coil meter and obtain a reading.
The DSP filters out dark current - a type of noise when no signal is present, and transients. It also has factory calibrated values loaded into it’s memory. If such memory is not available, one has to use a preset and adjust it. Having low temprature drift presets is exceedingly hard. Hint: chotubot adjustment.

3 Likes

Exactly @ravi312 this (MLX90614) is the sensor which i have selected for this project, i will be posting the the complete section on its technical specification and mean while you can help in design the 3D model for this, i am also working on it.

But I want your collaboration for the design which can get laser cut, because even if one will not get the laser cutter facility but that design can be printed and pasted on MDF then can be hand cut.

Please provide your views on this and we can discuss further.

3 Likes

Sure! will that be possible to share the openscad file. I will work on how to make it into laser cut design in meanwhile.

2 Likes

@ravi312 i think need to do a fresh start for (Laser cutter) design as the design which i am currently doing also need much changes, I mean need to rethink the design to be in bits and pieces and easy to assemble. Lets discuss on it.

But still for the things done so far please find the file below.

IR_Thermometer_Design concept.zip (993 Bytes)

1 Like

[ This morning i first checked the internet speed and just smiled because it was very low yesterday might be due to rain fall happend day before yesterday night. I use my mobile internet via hotspot.]

Building Contact-Less Thermometer

Section One: Sensor Selection and its datasheet Reading.

I found sensor MLX90614 is suitable for our development as this itself is an IR Thermometer in a TO-39 package.

On searching its availability online I found the lowest price from the following vendor.

MLX90614 Datasheet.

Lets get into the details of this sensor.

MLX90614 (An IR Thermometer) MLX_soc

image

This sensor is basically the combination of IR Sensitive thermopile detector chip (part number: MLX81101) and signal conditioning ASSP (MLX90302), therefore it reduces all the core complexity for detecting and measuring the temperature and thus allowing us to focus only on reading the measurements form its memory location and putting it on a small display.

  • In fact this IR Thermometer is also Factory Calibrated in wide temperature
    range: -40°C…+125˚C for sensor temperature and
    -70°C…+380˚C for object temperature.

  • Measurement Resolution of 0.02*Celecius (This is the least measurement count).

  • High Accuracy of 0.5*Celcius.

Note: Lets understand working of this sensor more technically as I stated earlier.

IR Thermometer focuses on the light coming from the object in the form of Infrared (IR) rays and channelize this IR radiation to the detector which is known as Thermopile. Inside this Thermopile IR radiation is turned into heat which then turned into electricity.
The electric signal generated by IR Thermopile is passed to signal conditioning unit specially designed to process it. This unit basically amplify the signal, then covnvert it to stream of bits (using 17 bit ADC) and then fed it to DSP (digital signal processor) where signal is treated with FIR and IIR low pass filters for further reduction of the band width of the input signal to achieve the desired noise performance and refresh rate. The output of IIR filter is the measurement results.

Based on this measurement results, the object temperature To and ambient temperature Ta is calculated and get stored in two dedicated location of RAM, which can be read via I2C interface or via the PWM digital output.

The measured value is the average temperature of all objects in the Field Of View (FOV) of the sensor.

Coming to operational Specifications

Operating voltage: 3v - 5v.
Operating current: 2mA.

Interfacing (Connecting) to Microcontroller/Arduino Board: There are two methods for it

  • I2C Two-Wire Protocol.
  • 10-bit PWM Output.

In this development we will use I2C Two-Wire Protocol.

Some very important point to be consider while development as per datasheet.

“ It is very important for the application designer to understand that these accuracies are only guaranteed and achievable when the sensor is in thermal equilibrium and under isothermal conditions (there are no temperature differences across the sensor package). The accuracy of the thermometer can be influenced by temperature differences in the package induced by causes like (among others): Hot electronics behind the sensor, heaters/coolers behind or beside the sensor or by a hot/cold object very close to the sensor that not only heats the sensing element in the thermometer but also the thermometer package.”
Thus we need to carefully design the placement of electronics inside the encloser.

We can also discuss other datasheet parameters which you think may be essential for our development.

Happy Datasheet Reading !

3 Likes

@ravi312 as we are proceeding for the designing the encloser with multiple parts (basically to get laser cut) i am thinking of adding below assembly element/mechanism to the deisgn of IR Thermometer encloser. This mechanism will make assembling and disassembling of parts easy.

lc_design_idea

We can also work on other assembling mechanism design which makes it more simple.

3 Likes

The use of thermopile sensing eliminates the need of complext lens coating typical of IR photodiode sensing.
The advantage of photodiode is the ability to sense multiple wavelengths of IR. With photo diodes typically one would have as rerence a blackbody embedded inside the device. A Second diode will be placed near this black body and sense it’s temprature. Since this body is at ambient temprature, one can subtract ambient from the main sensing diode, thereby making it substantially independent of the medium between target and the probe.

For our use case the thermopile is wholly a better fit.

2 Likes

We can decide on the locking mechanism and making it modular once we have a rough idea of components we are going to use.

Let’s brainstorm the casing design. Do we want a gun-style detector or a simple torch style would be good to go?
I think I would prefer the one which has minimal moving parts and as you said earlier, easy to assemble.
If you have other designs, feel free to share.
Here is a torch style one

3 Likes

Dont make it a tubular structure. Both assembly and disassembly becomes difficult. Instead make the bottom long section removable. Use machine screws and nuts. Self tapping wear out the holes quite quickly.

1 Like

Building Contact-Less Thermometer

Section 2: Making Block Diagram.

I have divide this section into two subsections and they are
Section 2.1: Defining Features of this device.
Section 2.2: Making Block Diagram.

Section 2.1: Defining Features of this device.

To design and develop any device it is very important to define the purpose and features of that device. Purpose tells about what that device will actually do and features define the set of capabilities and services of the device required to achieve that purpose easily by the user.

Purpose: This device will measure the surface temperature of an object and display it on the small screen and also provide the same data over internet if needed.

Features:

  • Non-contact, precise, fast, safe and easy to use.
    There are many situations and applications where we need to measure the temperature of an object at distance. Such as measuring the human body temperature without touch it in the current situation of Epidemic COVID_19.
    And also in applications like measuring the temperature of hot and cold things in the kitchen, temperature of some moving part in some plant, detecting heat insulation breakages and many other commercial and industrial applications.

    Thus we require these measurements to be non-contact, easy, precise and fast enough. For which i have decide to use MLX90614 (IR Thermometer Sensor Module). We have already discussed the details of it and one can find it below.

  • Readings on OLED Display.
    To display reading and other data a small display is essential.
    I have selected Oled 128x64 screen.

  • IoT Enabled.
    The data is also required over internet. One of it application is to generate Heat Map.
    Two methods to achieve this, either interface a WiFi module (use internet through the nearby WiFi network) or GSM/GPRS module (use mobile network through SIM) to the processing device.
    For this version i have decided to go with WiFi module.

  • Laser pointer for easy targeting the surface of an object.
    laser pointer will provide the sight for accurate targeting the surface of an object for temperature measurement.
    Low power laser module is required for this.

  • Real Time Clock.
    Date and Time stamp on the screen. This may be kept optional but i would like to add this.
    I have selected RTC DS3231.

  • Battery Powered.
    Battery makes a device very convenient to use.
    For this version i am only thinking of using replaceable 9 volt battery and will wok on rechargeable battery with designing inbuilt battery management system (BMS) later (but yes very much needed).

  • Aesthetically designed encloser.
    The encloser must be designed aesthetically handy, lightweight, compact and also order to accommodate all modules, PCB and components.

  • Encloser internal temperature measurement.
    It is very important to also monitor the encloser internal temperature for the following reason.

Section 2.2: Making Block Diagram.

With the features of the device we have also talked on the most of its components/modules to be used in this development. Now time to decide for its processing unit, I have figured out two options for this.

  • Arduino Pro Mini
  • NodeMcu (ESP-12E)

lets look the block diagram of this device using both the options and then will get into details of each.

Block Diagram using Arduino Pro Mini as a Processing Unit

Block Diagram using NodeMCU (ESP-12E) as a Processing Unit.

So the main difference we found in above two block diagrams is that with Arduino Pro Mini we need to interface external WiFi module (ESP 01) to communicate over internet.
While with NodeMCU (ESP-12E), there is no requirement to interface any external WiFi module because it has inbuit WiFi.

Lets also tabulate all important operational parameters of Arduino Pro Mini and NodeMCU (ESP-12E).

Parameters NodeMCU (ESP-12E) Arduino Pro Mini
Bits System 32-Bits System 8-Bits System
Clock Freq 80 to 160 Mhz 16 Mhz
ROM 4 MB 128 KB
RAM 128 KB 2 KB
WiFi Unit Inbuit WiFi External WiFi Module Interface required.
Operating Voltage 3.3v 3.3v and 5v both options available but then Clock Freq will be 8 Mhz and 16 Mhz respectively.

Here NodeMCU is much powerful as compared to Arduino Pro Mini. But Please note the specification of Arduino Pro mini is also good enough for this device development.

To know more about Arduino Pro Mini and NodeMCU please refer to below links:

https://create.arduino.cc/projecthub/electropeak/getting-started-w-nodemcu-esp8266-on-arduino-ide-28184f

Lets also note each module power requirements and interfacings as per there datasheet.

1. MLX90614
Operating Voltage 3v - 5v
Operating Current 2mA
Interfacing I2C (SDA, SCL)
2. OLED Display (128 x 64)
Operating Voltage 3.3v
Operating Current 20mA
Interfacing I2C (SDA,SCL)
3. DS3231 RTC
Operating Voltage 3v - 5v
Operating Current 70 – 150 uA
Interfacing I2C (SDA,SCL)
4. Buzzer
Operating Voltage 3v - 5v
Operating Current 25mA to 35mA
Interfacing Digital pin to On/Off
5. Laser Module
Operating Voltage 3v - 5v
Operating Current 40mA
Interfacing Digital pin to On/Off
6. LM35 Temperature Sensor
Operating Voltage 5v
Operating Current 60uA
Interfacing Analog pin
Total Current Required by the above modules (let say it Total current of Modules) is:
2mA + 20mA + 40mA + 35mA + 150uA + 60uA = 97.210 mA

Now i would like to draw attention to very important parameter that is current requirement, all modules are same except Arduino needs external WiFi Module and NodeMCU has in built.
So lets look for the figure of Overall current requirements for both the cases.

Overall Current Consumption = WiFi (RF Transmission) Current requirement + Total current of Modules

Arduino Pro mini

In this case external Wifi Unit consumes around: 450 mA to 600 mA.

Overall Current Consumption = 600 mA + 97.210mA =697.210mA

NodeMCU

In this its inbuit WiFi consumes around: 80 mA.

Overall Current Consumption = 80mA + 97.210mA = 177.210 mA

There is huge difference as per current consumption, Therefore NodeMCU (ESP-12E) is the perfect choice for this development.
But we will design the device using both Arduino Pro Mini and NodeMCU.

Looking forward for any addition, modification and suggestion.

With the help of the above block diagrams please try to make circuit diagram of the device. I am trying my best to complete the PCB design as soon as possible. Please find the design done so far given below (its in under development not the final one).


Will soon post Section 3: Schematic and PCB Design.

Happy Designing !

4 Likes

Very nice and detailed analysis.

2 Likes

Following this, although photos are not posted here, the PCB design was completed. In a separate discussion, this set off a series of discussions, initially leading from the form factor, which turned out to be a pistol grip design.

The following observations are just a selection, because that discussion went on for over a day.

  1. The pistol form factor was criticised, largely because of the laser pointer, and the fact that the resultant PCB polygon wasted a lot of raw material.

  2. The laser pointer itself seemed unnecessary for this application. This is not a general purpose thermometer, it is a rapid response low cost tool meant to be made and used in the field in order to simplify first level sorting of persons (out of potentially hundreds or thousands every day) who need to be queried on their medical history, in order to isolate them from symptom free persons who might be less of a hazard to fellow workers or public transport users. It is just a tech assist to human sorting, which if done alone might cause huge accumulations of people in public spaces.

  3. 2 form factors were debated and discussed 3.1 a simple handheld unibody of regular shape, either rectangular cuboid or slightly rounded 3.2 a 2 piece design, one fitted on the forefinger that basically houses the infrared sensor, and a second clipped to the wrist with the display, drivers and power source.

  4. If this project is to be meaningful, it must be finished quickly, and published to empower as many assemblers, in as many places across the country as possible, in order to support attempts to ease the lockdown and enable hundreds of thousands of people to return to work with the most protection possible.

5 Likes

I have completed the design and development of this device upto Digital Pre-Fabrication stage.

The PCBs are designed using KiCAD software and 3D encloser parts are designed using FreeCAD software.

I have written a small post on understanding the basics of FreeCAD workflow, you can find it at below link:

And also i have documented the development process so far under a blog, the link is given below.

Please go through both the links and feel free to ask any query.

Happy Learning !

4 Likes

Well done! The linked documents are excellently and painstakingly composed. Any novice on the various software can feel empowered to get down and try for themselves.

2 Likes

However, to return to the original concept.

It is now many days since the lockdown began, and all across the country, various initiatives are being seen, supposedly as measures intended to ease the return to productive work in safety.

Implicit in these initiatives, we are seeing the widespread use of various technologies, including communication technologies.

But, step back and consider the parameters of the infection. Firstly, the spread of such infections is exponential. The only question mark is the factor. The larger it is, the faster the infections will increase. Secondly, and this was not known until large numbers in different geographies fell prey to the disease, many carriers are totally asymptomatic. This seems weighted by age, so younger people tend not to exhibit symptoms. There are published studies for both the assertions above, only, I’m not citing them here. Anybody else reading this is free to do so.

Putting these together, my conclusion is that it is of the utmost priority to ramp up preparedness to deal with the health side of the problem.

Possibly, either this group of users is not well informed about the healthcare parameters, or else lacks the requisite experience. Or, those in the group who have the expertise are overworked and cannot and therefore have not intervened as yet.

It is no secret that India’s healthcare preparedness for even the diseases that wrack the country continually is poor. The numbers of qualified personnel at every level is far too low to be meaningful. As far as the specialised care facilities for this particular disease are concerned, they are so low in numbers that containing the disease to controllable limits is not and should not be on the table.

However, the documented record shows otherwise. The number of specialised hospital beds is said to be around 100k (published numbers), whereas we are only using a fraction.

The level of testing is almost the lowest in the world. Some of the problems with that statement include the fact that the preferred test is itself shockingly weak as a diagnostic, both in terms of false positives and false negatives. If not for the widespread fear that the disease can spin out of control blindingly fast, again, based on actual numbers, few informed people would support any planning on this test. It seems better to err on the side of caution.

However, given the project here, a remote IR temperature gauge, and the fact that a series of other technologies are being deployed to track suspected infections rather than to treat anything, it has given rise to an apt expression: placebo technology. This is the choice of technologies being made to look as though something is being done, rather than to critically design to solve such problems.

Some of these solutions were initiated at a time when information was short, while the need seemed urgent. But others are being pursued even though it is clear that they aren’t intended to deal with root problems. There are only two reasons: a) failure to reassess the best expenditure of resources (including time and effort) and b) some deliberately concealed purpose.

4 Likes

In India, where can one get PCBs manufactured? Is there any manufacturer in India such as JLCPCB?

3 Likes

There are many vendors in India for PCB fabrication.
No there is no manufacturer like JLCPCB as it is very cheap.

2 Likes