Ultraviolet alarm system in hospital environment

By designing an ultraviolet alarm system in a hospital environment and using infrared thermal imager and microcontroller minimum system, the problem of difficult to distinguish between humans and objects in the existing technology is solved, and accurate monitoring and alarm of ultraviolet intensity and human bodies is achieved.

CN120071571APending Publication Date: 2025-05-30PEKING UNIVERSITY FIRST HOSPITAL (PEKING UNIVERSITY FIRST CLINICAL MEDICAL COLLEGE)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510194856.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-21
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The prior art is difficult to accurately distinguish between humans and objects when monitoring ultraviolet ray intensity, which can easily lead to false alarms and cannot effectively realize monitoring and alarming of ultraviolet lights in hospital environments.

Method used

An ultraviolet alarm system in hospital environment was designed, using infrared thermal imager combined with a microcontroller minimum system. By obtaining the ambient temperature and ultraviolet intensity of the monitoring area, digital signal processing is performed to determine whether the human body exists, and triggering voice alarm and LCD screen display when the ultraviolet intensity exceeds the threshold.

Benefits of technology

Real-time monitoring and human detection of ultraviolet intensity in hospital environments can be realized, and alarms can be automatically triggered and cancelled to ensure a wide and accurate monitoring range.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120071571A_ABST
    Figure CN120071571A_ABST
Patent Text Reader

Abstract

The invention relates to an ultraviolet alarm system in a hospital environment. The ultraviolet alarm system comprises a single-chip microcomputer minimum system, an infrared thermal imager, an ultraviolet sensor, an LCD screen and a voice alarm device. The infrared thermal imager is used for acquiring a background frame of a background environment temperature of a monitoring area; the ultraviolet sensor is used for acquiring an analog signal of ultraviolet intensity of a monitoring area and transmitting the analog signal to the single chip microcomputer minimum system for conversion to obtain a digital signal; the infrared thermal imager is also used for further collecting the current frame of the environment temperature of the monitoring area after the time interval is set; the single chip microcomputer minimum system is also used for carrying out digital signal processing based on the background frame and the current frame, judging whether a human body exists in the monitoring area or not, and carrying out updating processing on the background frame; the single-chip microcomputer minimum system is further used for judging whether the ultraviolet intensity exceeds a threshold value or not after detecting that the human body exists in the monitoring area, and if yes, the voice alarm device is triggered to give a voice alarm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic technology, and particularly to an ultraviolet alarm system in a hospital environment. Background Art

[0002] Ultraviolet lamps are widely used and common devices in hospitals. They can be divided into fixed and mobile types and are commonly used for disinfection in environments such as wards and consulting rooms. The principle is that ultraviolet rays irradiate the DNA or RNA of microorganisms (such as bacteria, viruses, etc.), destroying their molecular structure, resulting in the inability of microorganisms to replicate or grow. However, direct exposure of the human body to ultraviolet rays can cause damage to the skin and retina, resulting in diseases such as skin burns and photokeratitis. The current hygiene requirements for ultraviolet disinfection devices also clearly state that protective glasses should be worn during ultraviolet disinfection operations, and protective clothing should be worn if necessary to avoid direct irradiation of the human skin, mucous membranes, and eyes. Therefore, it is very necessary to monitor the use of ultraviolet lamps.

[0003] Research has found that current monitoring methods for ultraviolet intensity are relatively mature, but the alarm trigger mechanism still needs to be improved. A difficult problem often encountered in the alarm trigger mechanism is that it is difficult to distinguish whether there are people in the monitoring environment. Therefore, existing technologies using laser or ultrasonic sensors cannot distinguish between the human body and objects, easily causing false alarms. Summary of the Invention

[0004] The present invention provides an ultraviolet alarm system in a hospital environment, which realizes functions such as real-time display of infrared thermal imaging images, human body detection, ultraviolet intensity calculation, and voice alarm, and has the advantages of a wide monitoring range, automatic triggering, and cancellation of alarms.

[0005] To achieve the above object, the present invention adopts the following technical solutions:

[0006] In a first aspect, the present application provides an ultraviolet alarm system in a hospital environment, including: a minimum single-chip microcomputer system, an infrared thermal imager, an ultraviolet sensor, an LCD screen, and a voice alarm device; the minimum single-chip microcomputer system is respectively connected to the infrared thermal imager, the ultraviolet sensor, the LCD screen, and the voice alarm device; the voice alarm device includes an audio module and a speaker connected to each other;

[0007] The infrared thermal imager is used to obtain a digital signal of the background environment temperature of the monitoring area and transmit it to the minimum single-chip microcomputer system for storage as a background frame;

[0008] The ultraviolet sensor is used to obtain an analog signal of the ultraviolet intensity of the monitoring area and transmit it to the minimum single-chip microcomputer system for conversion to obtain a digital signal of the ultraviolet intensity;

[0009] The infrared thermal imager is further configured to collect digital signals of the ambient temperature in the monitoring area after a set time interval, and transmit them to the minimum single-chip microcomputer system as the current frame.

[0010] The minimum single-chip microcomputer system is further configured to perform digital signal processing based on the background frame and the current frame, determine whether there is a human body in the monitoring area, and perform update processing on the background frame.

[0011] The minimum single-chip microcomputer system is further configured to, after detecting that there is a human body in the monitoring area, determine whether the ultraviolet intensity exceeds a threshold. If it exceeds the threshold, trigger the voice alarm device to give a voice alarm, and at the same time display the alarm information on the LCD screen.

[0012] In one implementation, the infrared thermal imager collects the background ambient temperature of the monitoring area according to pixel points, and transmits the digital signals of the ambient temperature of each pixel point to the minimum single-chip microcomputer system through a serial interface as the background frame.

[0013] After a set time interval, the infrared thermal imager collects the ambient temperature of the monitoring area according to the same pixel points, and serially transmits the digital signals of the ambient temperature to the minimum single-chip microcomputer system as the current frame.

[0014] In one implementation, the minimum single-chip microcomputer system is configured to subtract the current frame from the background frame to obtain a difference frame; further perform five-point median filtering on the difference frame to obtain a median frame; further perform binarization processing on the median frame to obtain a binary frame; further identify the number and position of connected regions in the binary frame, and determine whether there is a human body in the monitoring area according to the number and position of the connected regions.

[0015] In one implementation, the minimum single-chip microcomputer system is configured to perform bilinear interpolation according to the current frame and display the interpolated image frame on the LCD screen.

[0016] In a second aspect, a method for ultraviolet alarm in a hospital environment is provided, which is applied to the ultraviolet alarm system in the hospital environment described in the first aspect, and includes:

[0017] Step 1: Fix the infrared thermal imager and monitor the ambient temperature of the monitoring area.

[0018] Step 2: The infrared thermal imager collects the ambient temperature of the environment where it is located, converts the ambient temperature into digital signals, and then transmits them to the minimum single-chip microcomputer system through a serial port and stores them in the on-chip storage space.

[0019] Step 3: The infrared thermal imager collects the temperature of the monitoring area by pixel. The collection result is used as the background frame. After converting the temperature corresponding to each pixel into a digital signal, it is transmitted to the minimum system of the single-chip microcomputer through the serial port and stored in the on-chip storage space;

[0020] Step 4: The ultraviolet sensor monitors the ultraviolet intensity in the environment and transmits the monitored ultraviolet intensity to the minimum system of the single-chip microcomputer in the form of an analog signal;

[0021] Step 5: The minimum system of the single-chip microcomputer converts the analog signal representing the ultraviolet intensity into a digital signal and calculates the corresponding ultraviolet intensity;

[0022] Step 6: The infrared thermal imager collects the temperature of the monitoring area corresponding to each pixel. The collection result is used as the current frame. After converting the temperature corresponding to each pixel into a digital signal, it is transmitted to the minimum system of the single-chip microcomputer through the serial port;

[0023] Step 7: The minimum system of the single-chip microcomputer subtracts the temperature of the corresponding pixel of the current frame from the background frame to obtain a difference frame;

[0024] Step 8: The minimum system of the single-chip microcomputer performs five-point median filtering on the difference frame to obtain a median frame;

[0025] Step 9: The minimum system of the single-chip microcomputer binarizes the median frame to obtain a binary frame;

[0026] Step 10: The minimum system of the single-chip microcomputer performs a depth-first search on the binary frame to identify the number and location of connected regions;

[0027] Step 11: The minimum system of the single-chip microcomputer judges whether there is anyone in the monitoring environment according to the recognition result of the connected region. If there is no connected region in the binary frame, it means there is no one, and go to Step 12; if there is a connected region in the binary frame, it means there is someone, and go to Step 15;

[0028] Step 12: The minimum system of the single-chip microcomputer updates the background frame, takes the current frame as the updated background frame, and stores it in the on-chip storage space;

[0029] Step 13: The minimum system of the single-chip microcomputer performs bilinear interpolation on the current frame;

[0030] Step 14: The minimum system of the single-chip microcomputer displays the bilinearly interpolated current frame on the LCD screen, marks all connected regions with rectangles, and returns to Step 4;

[0031] Step 15: The minimum system of the single-chip microcomputer judges whether the ultraviolet intensity exceeds the threshold. If the ultraviolet intensity does not exceed the threshold, return to Step 13. If the ultraviolet intensity exceeds the threshold, an alarm is issued and go to Step 16;

[0032] Step Sixteen: The LCD screen displays the alarm information, and at the same time, the speaker plays the alarm audio, and then returns to Step Four. Description of the Drawings

[0033] Figure 1 It is a structural block diagram of the ultraviolet alarm system in the hospital environment in the embodiment of the present invention;

[0034] Figure 2 It is a schematic diagram of the bilinear interpolation method used in the embodiment of the present invention;

[0035] Figure 3 It is a program flowchart of the minimum system of the single-chip microcomputer in the embodiment of the present invention. Detailed Embodiments

[0036] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the described embodiments of the present invention fall within the scope of protection of the present invention.

[0037] In view of the defects and problems of the prior art, the present application provides an ultraviolet alarm system in a hospital environment, including: a minimum system of a single-chip microcomputer, an infrared thermal imager, an ultraviolet sensor, an LCD screen, and a voice alarm device; the minimum system of the single-chip microcomputer is respectively connected to the infrared thermal imager, the ultraviolet sensor, the LCD screen, and the voice alarm device; the voice alarm device includes an audio module and a speaker connected to each other;

[0038] The infrared thermal imager is configured to obtain a digital signal of the background environmental temperature of the monitoring area and transmit it to the minimum system of the single-chip microcomputer for storage as a background frame;

[0039] The ultraviolet sensor is configured to obtain an analog signal of the ultraviolet intensity of the monitoring area and transmit it to the minimum system of the single-chip microcomputer for conversion to obtain a digital signal of the ultraviolet intensity;

[0040] The infrared thermal imager is further configured to collect a digital signal of the environmental temperature after a set time interval in the monitoring area and transmit it to the minimum system of the single-chip microcomputer as the current frame;

[0041] The minimum system of the single-chip microcomputer is further configured to perform digital signal processing based on the background frame and the current frame, determine whether there is a human body in the monitoring area, and perform update processing on the background frame;

[0042] The minimum single-chip microcomputer system is also used to determine whether the ultraviolet intensity exceeds the threshold after detecting the presence of a human body in the monitoring area. If it exceeds the threshold, the voice alarm device is triggered for voice alarm, and at the same time, the alarm information is displayed on the LCD screen.

[0043] The above system will be described in a more detailed embodiment with reference to more attached drawings.

[0044] Combined Figures 1 to 3 , it is the attached drawing of a more detailed embodiment. Among them:

[0045] As Figure 1 shown, an ultraviolet alarm system in a hospital environment includes six parts: a minimum single-chip microcomputer system, an infrared thermal imager, an ultraviolet sensor, an LCD screen, an audio module, and a speaker. The connection method is as follows: the power interface of the minimum single-chip microcomputer system is connected to the USB port and powered by a 5V DC voltage; the TX pin of the infrared thermal imager is connected to the minimum single-chip microcomputer system to transmit serial port data to the minimum single-chip microcomputer system; the SIG pin of the ultraviolet sensor is connected to the minimum single-chip microcomputer system to input the analog voltage representing the ultraviolet intensity to the minimum single-chip microcomputer system; the data interface of the LCD screen is connected to the minimum single-chip microcomputer system to receive the data transmitted by the minimum single-chip microcomputer system; the control interface of the audio module is connected to the minimum single-chip microcomputer system to receive the control signal; the speaker is connected to the output interface of the audio module.

[0046] As Figure 3 shown, a corresponding processing method for an ultraviolet alarm system in a hospital environment includes the following steps:

[0047] Step 1: Fix the infrared thermal imager at a position convenient for monitoring the environment and turn on the power. The ultraviolet alarm system in the hospital environment completes initialization.

[0048] Step 2: The infrared thermal imager collects the ambient temperature, converts the ambient temperature into a digital signal, and then transmits it to the minimum single-chip microcomputer system through the serial port and stores it in the on-chip storage space.

[0049] Step 3: The infrared thermal imager collects the temperature of the monitoring area by pixel points, and the collection result is used as the background frame. After converting the temperature corresponding to each pixel point into a digital signal, it is transmitted to the minimum single-chip microcomputer system through the serial port and stored in the on-chip storage space.

[0050] Step 4: The ultraviolet sensor monitors the ultraviolet intensity in the environment and transmits the monitored ultraviolet intensity to the minimum single-chip microcomputer system in the form of an analog signal.

[0051] Step 5: The minimum single-chip microcomputer system converts the analog signal representing the ultraviolet intensity into a digital signal and calculates the corresponding ultraviolet intensity.

[0052] Step Six: The infrared thermal imager collects the temperatures of the monitoring areas corresponding to each pixel point, and the collection result is used as the current frame. After converting the temperatures corresponding to each pixel point into digital signals, they are transmitted to the single-chip microcomputer minimum system through the serial port.

[0053] Step Seven: The single-chip microcomputer minimum system subtracts the temperature of the current frame from the temperature of the corresponding pixel point of the background frame to obtain a difference frame.

[0054] Step Eight: The single-chip microcomputer minimum system performs five-point median filtering on the difference frame to obtain a median frame. The purpose of this step is to remove the noise points formed by environmental interference and the loss of single pixel point information caused by hardware failures, thereby reducing the impact on the calculation results of subsequent steps. The calculation formula of five-point median filtering is shown in Equation 1.

[0055] In the formula, f(x,y) represents the original temperature at the corresponding position of the pixel point, and g(x,y) represents the temperature at the corresponding position of the pixel point after median filtering.

[0056]

[0057] Step Nine: The single-chip microcomputer minimum system binarizes the median frame to obtain a binary frame. The specific method is that if the value of the pixel point in the median frame exceeds the threshold, this pixel point is set to 1; if it does not exceed the threshold, this pixel point is set to 0.

[0058] Step Ten: The single-chip microcomputer minimum system performs a depth-first search on the binary frame to identify the number and positions of the connected regions. The specific method is that for the pixel points with a value of 1, check whether the values of the adjacent pixel points in the four directions of up, down, left, and right are 1. If there are adjacent pixel points with a value of 1, continue to check the adjacent points until no adjacent points with a value of 1 can be found. These adjacent pixel points with a value of 1 that are adjacent to each other are counted as one connected region. Traverse all pixel points to obtain the number and positions of all connected regions in the binary frame.

[0059] Step Eleven: The single-chip microcomputer minimum system determines whether there is anyone in the monitoring environment according to the recognition result of the connected region. If there is no connected region in the binary frame, it means there is no one, and go to Step Twelve; if there is a connected region in the binary frame, it means there is someone, and go to Step Fifteen.

[0060] Step Twelve: The single-chip microcomputer minimum system updates the background frame. The current frame is used as the updated background frame and saved in the on-chip storage space. The purpose of this step is to avoid the influence of environmental temperature changes on the recognition result of the connected region.

[0061] Step Thirteen: The single-chip microcomputer minimum system performs bilinear interpolation on the current frame. The purpose of this step is to improve the resolution of the image displayed on the LCD screen. The specific method is that for every adjacent 4 pixel points P 11 、P12 , P 21 , P 22 Insert 100 pixel points between them. The calculation method of the temperature corresponding to each pixel point is shown in Equation 2. This method can increase the image resolution from m×n to 10(m - 1)×10(n - 1).

[0062]

[0063] Step Fourteen: The minimum single-chip microcomputer system displays the current frame after bilinear interpolation on the LCD screen, marks all connected regions with rectangles, and returns to Step Four.

[0064] Step Fifteen: The minimum single-chip microcomputer system determines whether the ultraviolet intensity exceeds the threshold. If the ultraviolet intensity does not exceed the threshold, return to Step Thirteen. If the ultraviolet intensity exceeds the threshold, give an alarm and enter Step Sixteen.

[0065] Step Sixteen: The LCD screen displays the alarm information, and at the same time the speaker plays the alarm audio, and then returns to Step Four.

[0066] In summary, the ultraviolet alarm system in the hospital environment provided by the embodiments of the present invention realizes functions such as real-time display of infrared thermal imaging images, human body detection, ultraviolet intensity calculation, and voice alarm, and has the advantages of a wide monitoring range, automatic triggering, and cancellation of alarms.

[0067] In several embodiments provided by the present invention, it should be understood that the disclosed method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the above division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some interfaces, and the indirect coupling or communication connection of devices or units can be in electrical, mechanical or other forms.

[0068] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention.

Claims

1. An ultraviolet alarm system in a hospital environment, characterized in that: include: A single-chip minimum system, an infrared thermal imager, an ultraviolet sensor, an LCD screen and a voice alarm device; the single-chip minimum system is respectively connected to the infrared thermal imager, the ultraviolet sensor, the LCD screen and the voice alarm device; the voice alarm device includes a connected audio module and a speaker; The infrared thermal imager is used to obtain a digital signal of the background ambient temperature of the monitoring area, transmit it to the single-chip minimum system, and store it as a background frame; The ultraviolet sensor is used to obtain an analog signal of the ultraviolet intensity in the monitoring area, and transmit it to the single-chip minimum system for conversion to obtain a digital signal of the ultraviolet intensity; The infrared thermal imager is also used to further collect digital signals of the ambient temperature of the monitoring area after a set time interval, and transmit them to the single-chip minimum system as the current frame; The single-chip minimum system is also used to perform digital signal processing based on the background frame and the current frame, determine whether there is a human body in the monitoring area, and perform background frame update processing; The single-chip minimum system is also used to determine whether the ultraviolet intensity exceeds a threshold after detecting the presence of a human body in the monitoring area. If it exceeds the threshold, the voice alarm device is triggered to issue a voice alarm and the alarm information is displayed on the LCD screen.

2. The ultraviolet alarm system in a hospital environment according to claim 1, characterized in that: The infrared thermal imager collects the background ambient temperature of the monitoring area according to the pixel points, and transmits the digital signal of the ambient temperature of each pixel point to the single-chip minimum system through the serial interface as the background frame; The infrared thermal imager collects the ambient temperature of the monitoring area according to the same pixel points after a set time interval, and transmits the digital signal of the ambient temperature in series to the single-chip minimum system as the current frame.

3. The ultraviolet alarm system in a hospital environment according to claim 2, characterized in that: The single-chip minimum system is used to perform a difference between the current frame and the background frame to obtain a difference frame; further perform a five-point median filter on the difference frame to obtain a median frame; further perform a binarization process on the median frame to obtain a binary frame; further identify the number and position of connected domains in the binary frame, and determine whether there is a human body in the monitoring area based on the number and position of the connected domains.

4. The ultraviolet alarm system in a hospital environment according to claim 3, characterized in that: The single-chip minimum system is used to perform bilinear interpolation according to the current frame and display the interpolated image frame on the LCD screen.

5. A UV alarm method in a hospital environment, applied to the UV alarm system in a hospital environment as claimed in claim 1, characterized in that: The method comprises: Step 1: Fix the infrared thermal imager and monitor the ambient temperature of the intended monitoring area; Step 2: The infrared thermal imager collects the ambient temperature, converts the ambient temperature into a digital signal, transmits it to the single-chip microcomputer minimum system through the serial port, and saves it in the on-chip storage space; Step 3: The infrared thermal imager collects the temperature of the monitoring area according to the pixel points, and the collection results are used as the background frame. After the temperature corresponding to each pixel point is converted into a digital signal, it is transmitted to the single-chip minimum system through the serial port and stored in the on-chip storage space; Step 4: The UV sensor monitors the UV intensity in the environment and transmits the monitored UV intensity to the microcontroller minimum system in the form of an analog signal; Step 5: The single-chip microcomputer minimum system converts the analog signal representing the ultraviolet intensity into a digital signal and calculates the corresponding ultraviolet intensity; Step 6: The infrared thermal imager collects the temperature of the monitoring area corresponding to each pixel point, and the collection result is used as the current frame. After the temperature corresponding to each pixel point is converted into a digital signal, it is transmitted to the single-chip minimum system through the serial port; Step 7: The single-chip minimum system subtracts the temperature of the corresponding pixel points of the current frame from that of the background frame to obtain a difference frame; Step 8: The single-chip minimum system performs five-point median filtering on the difference frame to obtain a median frame; Step 9: The single-chip microcomputer minimum system binarizes the median frame to obtain a binary frame; Step 10: The single-chip minimum system performs a depth-first search on the binary frame to identify the number and location of connected domains; Step 11: The single-chip minimum system determines whether there is a person in the monitoring environment according to the recognition result of the connected domain. If there is no connected domain in the binary frame, it means there is no person, and the process goes to step 12; if there is a connected domain in the binary frame, it means there is a person, and the process goes to step 15; Step 12: The single-chip microcomputer minimum system updates the background frame, takes the current frame as the updated background frame, and saves it in the on-chip storage space; Step 13: The single-chip minimum system performs bilinear interpolation on the current frame; Step 14: The single-chip minimum system displays the current frame after bilinear interpolation on the LCD screen, marks all connected domains with rectangles, and returns to step 4; Step 15: The single-chip computer minimum system determines whether the ultraviolet intensity exceeds the threshold value. If the ultraviolet intensity does not exceed the threshold value, it returns to step 13. If the ultraviolet intensity exceeds the threshold value, it alarms and enters step 16. Step 16: The LCD screen displays the alarm information, the speaker plays the alarm audio, and returns to step 4.