Disclosure of Invention
In view of the above situation, the present invention is directed to a method for correcting human body temperature measurement by infrared rays.
The technical scheme for solving the problem is as follows: an infrared human body temperature measurement correction method is characterized by comprising the following steps:
step 1) measuring indoor environment temperature by using an environment temperature probe, measuring human body surface temperature by using an infrared human body thermometer, and storing measured indoor environment temperature data into a register array of a PLC (programmable logic controller);
step 2) correcting the base temperature of the infrared human body thermometer by utilizing the environment temperature, wherein the specific correction method comprises the following steps:
s1: placing an infrared black body temperature measuring device and an infrared human body temperature measuring instrument into a measuring room capable of adjusting indoor environment temperature;
s2: setting an indoor environment temperature measurement range value, and equally dividing the range value into N sections of temperature intervals;
s3: setting the tail end point of each temperature interval as 1 recording point, and measuring the surface temperature of the human body at each recording point by using the infrared black body temperature measuring device and the infrared human body temperature measuring instrument respectively;
s4: two groups of arrays of the infrared black body temperature measuring device and the infrared human body temperature measuring instrument which are measured for N times are stored in a register array of the PLC in a touch screen parameter input mode;
s5: respectively calculating the mean values TJ and TH of the two groups of arrays by using a PLC (programmable logic controller);
s6: calculating the detection value delta T as TJ-TH, and judging and matching the corresponding correction value of the system according to the position of the delta T falling into the N temperature intervals;
step 3) establishing an array by utilizing the relation between the surface temperature of the human body and the internal temperature of the human body, and correcting the temperature of the human body:
because the surface temperature of the human body is lower than the temperature of the human body, the surface temperature of the human body is measured by using the infrared black body temperature measuring device, then the internal temperature of the human body is measured by using the infrared human body temperature measuring instrument, the multiple measurements are stored in an array in a one-to-one correspondence mode according to a two-dimensional array and are used for correcting the surface temperature of the human body to the normal body temperature of the human body, and then the corrected surface temperature is corrected and accumulated with the surface temperature array of the human body.
Preferably, the type of the environment temperature probe is PT100 sensor.
Preferably, the infrared human body thermometer is an MLX90614 infrared temperature measurement module produced by Melexis.
Preferably, the PLC controller adopts a domestic 7-inch Zhongdao PLC touch screen all-in-one machine.
Through the technical scheme, the invention has the beneficial effects that: the invention automatically detects the environment temperature, divides the external environment temperature into N intervals, repeatedly tests the surface temperature of the human body in each interval, verifies the real surface temperature by using the calibration black body, finds out the relation between the environment temperature and the surface temperature of the human body, corrects the body surface temperature measured at each environment temperature into a real temperature value, and reduces the influence of the environment temperature on the surface temperature of the human body. The invention can be suitable for the influence on the body temperature of the human body under the external temperature change in different regions, different seasons and different weather, reduces the dependence on the experience of workers, is convenient for the rapid screening of the heating group and has wider application environment range.
Detailed Description
The foregoing and other technical matters, features and effects of the present invention will be apparent from the following detailed description of the embodiments, which is to be read in connection with the accompanying drawings of fig. 1 to 3. The structural contents mentioned in the following embodiments are all referred to the attached drawings of the specification.
Exemplary embodiments of the present invention will be described below with reference to the accompanying drawings.
An infrared human body temperature measurement correction method is characterized by comprising the following steps:
step 1) measuring the indoor environment temperature by using an environment temperature probe, measuring the surface temperature of a human body by using an infrared human body thermometer, and storing the measured indoor environment temperature data into a register array of a PLC (programmable logic controller).
Step 2) correcting the base temperature of the infrared human body thermometer by utilizing the environment temperature, wherein the specific correction method comprises the following steps:
s1: placing an infrared black body temperature measuring device and an infrared human body temperature measuring instrument into a measuring room capable of adjusting indoor environment temperature;
s2: setting an indoor environment temperature measurement range value, and equally dividing the range value into N sections of temperature intervals;
s3: setting the tail end point of each temperature interval as 1 recording point, and measuring the surface temperature of the human body at each recording point by using the infrared black body temperature measuring device and the infrared human body temperature measuring instrument respectively;
s4: two groups of arrays of the infrared black body temperature measuring device and the infrared human body temperature measuring instrument which are measured for N times are stored in a register array of the PLC in a touch screen parameter input mode;
s5: respectively calculating the mean values TJ and TH of the two groups of arrays by using a PLC (programmable logic controller);
s6: and calculating the detection value delta T as TJ-TH, and judging and matching the corresponding correction value of the system according to the position of the delta T in the N temperature intervals.
Step 3) establishing an array by utilizing the relation between the surface temperature of the human body and the internal temperature of the human body, and correcting the temperature of the human body:
because the surface temperature of the human body is lower than the temperature of the human body, the surface temperature of the human body is measured by using the infrared black body temperature measuring device, then the internal temperature of the human body is measured by using the infrared human body temperature measuring instrument, the multiple measurements are stored in an array in a one-to-one correspondence mode according to a two-dimensional array and are used for correcting the surface temperature of the human body to the normal body temperature of the human body, and then the corrected surface temperature is corrected and accumulated with the surface temperature array of the human body.
In step 2) S2, the present invention sets the indoor environment temperature measurement range value to 7-35 ℃ as an example, divides the indoor environment temperature measurement range value into 1 recording point every 1 ℃, divides the indoor environment temperature measurement range value into 28 intervals in total, and starts temperature rise holding and multiple times of measurement. And measuring the surface temperature (forehead or wrist) of the human body by using an infrared black body temperature measuring device and an infrared human body temperature measuring instrument in each interval respectively, and counting the surface temperature data of the human body recorded in each environmental temperature section, wherein the average value is kept and the record is kept.
The environment temperature probe is a PT100 sensor, and the infrared human body thermometer is an MLX90614 infrared temperature measurement module produced by Melexis. The MLX90614 infrared temperature measurement module has the advantages of high precision and high resolution in a wide temperature range, can adjust the transmitting power and has a digital interface compatible with SMBus, is widely used for high-precision non-contact temperature measurement, medical instruments and multi-temperature-range control, and consists of an infrared thermopile sensor, a low-noise amplifier, a 17-bit ADC and a DSP unit with strong functions. As shown in fig. 1, the MLX90614 infrared thermometry module uses an internal thermopile to convert the collected infrared radiation into an electrical signal, which is amplified by a low noise amplifier and sent to an AD converter. The digital signal output from the AD converter is adjusted by an FIR/IIR low-pass filter and then sent to a digital signal processor. The digital signal processor processes the digital signal and outputs the measurement result, and stores it in the internal RAM of MLX90614, which can be read by SMBus or PWM, which is the mode read by the master CPU unit.
The PLC controller adopts a domestic 7-inch Zhongdao PLC touch screen all-in-one machine, the PLC software of the model is compatible with Mitsubishi PLC, and the model has 6 input points, 8 output points and 2 AD paths. It adopts imported 32-bit industrial CPU and internal bus design; can adapt to the industrial environment with high electromagnetic interference. The touch configuration screen supports a font selection function; large-scale display information supports the true color of a TFT, the HMI size is selected to be 7.0 inches, and the size is moderate; the indicator start/stop picture can be replaced by any picture, and a good visual interface is provided; the register number, the text and the Chinese character display can freely select various fonts; the picture file with various formats is supported, and the dynamic picture function can realize the switching display of 256 pictures. The configuration is used for prompting body temperature measurement, displaying body temperature, alarming over temperature and the like.
Fig. 2 is an electrical diagram of the overall control of the hardware of the present invention. To reduce costs, the circuit is designed in a simple and reliable manner, with SB1 and SB2 being the start and stop buttons. The program SB1 is pressed to start running, the data is pressed to stop collecting, calculating and displaying, and the whole machine is in a standby state. The AD0 and AD1 respectively collect human body temperature signals collected by the MLX90614 infrared temperature measurement module and the environment temperature collected by the PT100 sensor, and send the signals to the PLC for analog-to-digital conversion. Y0 and Y1 are used for controlling the lamp control of the start and stop, and are displayed corresponding to the standby state of the start and stop. Y2 is connected to a sound-light alarm, when the detected human body temperature exceeds the alarm temperature, Y2 outputs the alarm, the sound-light alarm of the alarm is given, and the screen simultaneously gives an alarm and displays. The output control interface reserves 4-way relay interfaces Z1, Z2, Z3 and Z4, and can control linkage equipment such as a channel gate, a remote alarm and the like.
The PLC controller needs to complete AD conversion and acquisition of data, the PLC is adopted to compare the temperature value detected by the infrared sensor with the segmented temperature intervals in the array, the temperature value in the corresponding array is adopted to correct after falling into the intervals, then the corrected temperature value is corrected and accumulated with the array of the human body surface temperature to obtain the correct human body temperature, the body temperature value is displayed through the configuration touch screen, and the body temperature value is compared with the set over-temperature value for calculation and output control, so that the accuracy of an output result is guaranteed by keeping the infrared detection linearity. If the temperature of the detection result is higher than the set alarm temperature, the audible and visual alarm gives an alarm to assist the relay to act, and the detection personnel are reminded to carry out the next epidemic prevention treatment. If the temperature of the detection result is within the upper and lower limits of the normal body temperature, the body temperature is indicated to be normal, the green indicating lamp is turned on, if the channel gate is accessed, the gate can be linked to open the personnel for passing, and the figure 3 is an infrared human body temperature measurement flow chart.
The PLC sets a correction parameter table during system debugging to ensure that the output precision is kept highest within a detection range, the value of the correction parameter table is from a temperature correction black body, actual values and detection values are repeatedly measured to be recorded and segmented for correction, finally, a plurality of groups are formed and added into the parameter table, software correction is adopted, and the specific method is detailed in the electronic measurement technology of medical infrared thermometer measurement error analysis and compensation test research [ J ], 2014, and is not repeated herein. And finally checking the result, repeatedly and actually measuring the body temperatures of different people in different environments, and then comparing the body temperatures with the body temperature measured by the mercury thermometer, wherein the comparison result is shown in a table 1:
TABLE 1 comparison table of measured temperature and thermometer temperature of device
The result shows that the reading of the thermometer is very close to the data measured by the temperature measuring device, the error can be controlled within +/-0.2 ℃, and the detection requirement can be met. The data is for situations where the temperature change is not significant, such as an indoor environment. The outdoor environment has large influence factors, and measurement errors are increased due to factors such as a measurement method and the like.
The invention is designed by using the characteristics of less hardware, simple structure and low cost, is convenient for popularization and utilization in an epidemic situation period, reduces the purchasing cost of a using unit, saves the cost, improves the detection efficiency and accuracy and reduces the infection risk of detection personnel. The body temperature detection device is very suitable for body temperature detection of the reworking staff in small and medium-sized units, daily body temperature detection of the student in school for the restful study, rapid investigation of the heating staff, furthest reduction of the risk of gathering and sexual propagation, and great practical value. Meanwhile, a multi-point infrared sensor can be added, so that the checking efficiency and the detection accuracy are further improved. The detection device in the application can be widely applied to the following scenes:
(1) infrared temperature measurement door: near can installing personnel's passageway with detection device in this application, need not staff contact inspected crowd, non-contact automated inspection body temperature, the overtemperature alarm can forbid getting into by linkage floodgate machine, can furthest like this to staff's probability of viral infection.
(2) Unmanned self-service temperature measurement station of community: the device is placed to a detection point, and the sensor is fixed, so that the temperature of the human body can be measured. The personnel approach sensor can measure temperature and send out a heat alarm to screen the community mobile personnel.
(3) Building hall of school is in temperature measurement district by oneself: install this device to building hall in, fixed temperature measurement sensor, the student is through the self-service 1 second temperature measurement in back, and the warning of generating heat, the quick convenient examination student that generates heat reduces the risk of gathering nature infectious virus.
(4) Other stations, institutions, factories and other places where intensive personnel pass.
In summary, the present invention automatically detects the ambient temperature, divides the ambient temperature into N intervals, repeatedly tests the surface temperature of the human body in each interval, verifies the real surface temperature by using the calibration black body, and finds out the relationship between the ambient temperature and the surface temperature of the human body, so that the body surface temperature measured at each ambient temperature is corrected to be the real temperature value, thereby reducing the influence of the ambient temperature on the surface temperature of the human body. The invention can be suitable for the influence on the body temperature of the human body under the external temperature change in different regions, different seasons and different weather, reduces the dependence on the experience of workers, is convenient for the rapid screening of the heating group and has wider application environment range.
While the invention has been described in further detail with reference to specific embodiments thereof, it is not intended that the invention be limited to the specific embodiments thereof; for those skilled in the art to which the present invention pertains and related technologies, the extension, operation method and data replacement should fall within the protection scope of the present invention based on the technical solution of the present invention.