Bathing syncope early warning method and device based on multi-sensor comfort real-time feedback

By using a multi-sensor system to monitor the bathing environment and user status in real time, the problem of inaccurate judgment of bathing comfort is solved, the safety of bathing for the elderly is improved, and the risk of fainting is reduced.

CN117746575BActive Publication Date: 2026-07-21WUHAN UNIV OF TECH
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
WUHAN UNIV OF TECH
Filing Date
2023-12-22
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

Existing technology cannot accurately determine the start time of bathing, and relying solely on timing to provide feedback on bathing comfort has a large margin of error. Furthermore, smart bathtubs cannot effectively monitor the safety of elderly people during bathing, especially in high temperature and humidity environments, which can easily lead to fainting.

Method used

Employing a multi-sensor system, including infrared sensors, thermal imaging cameras, temperature sensors, and humidity sensors, it calculates bathing comfort by recognizing user movement characteristics and environmental parameters, and issues an alarm when comfort decreases, combined with reminders via mobile phone and buzzer.

Benefits of technology

It enables precise monitoring and reminders of bathing comfort, improves bathing safety, reduces the risk of fainting, and is especially beneficial for the elderly.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117746575B_ABST
    Figure CN117746575B_ABST
Patent Text Reader

Abstract

The present application provides a kind of based on multi-sensor comfort real-time feedback bath syncope early warning method, comprising the following steps: after detecting user enters bathtub, identify user action characteristics, judge whether user is in bath state;When in bath state, capture user bath action characteristics, compare with set standard characteristic information;When the similarity of both is greater than set similarity threshold, collect bath related data and calculate bath comfort, when bath comfort is less than set threshold, issue warning, when user presses button or makes self-set safety gesture within specified time, alarm stops, otherwise, continue to issue warning, send early warning information to user mobile terminal and ring in mobile terminal, until user clicks confirmation safety button in mobile terminal;When bath comfort is equal to 0, continue to issue warning, until infrared sensor detects that user leaves bathtub or user long press button terminates program, otherwise, send real-time warning to user guardian mobile phone.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of smart home Internet of Things, and specifically relates to a method and device for early warning of fainting during bathing based on real-time comfort feedback from multiple sensors. Background Technology

[0002] The temperature in a bathroom during a bath often exceeds 40℃, and the humidity is greater than 50%. Medical research indicates that people are prone to fainting when the ambient temperature exceeds 32℃ and the humidity exceeds 60%. However, older adults are less adaptable to changes in temperature and humidity during bathing. The combined effects of high temperature and humidity and their own limited adaptability lead to a growing number of cases of fainting in the elderly due to prolonged bathing. Furthermore, as a relatively private space, the bathroom often fails to detect fainting in the elderly promptly, potentially causing irreversible health consequences.

[0003] Current technology lacks devices that provide real-time feedback on bathing comfort; it typically relies solely on timing. This feedback method has two problems: first, traditional bathtubs cannot determine when to start timing; second, comfort levels based solely on timing have significant errors. Existing smart bathtub anti-fainting safety monitoring systems are immature, only quantitatively monitoring single parameters like heart rate. Studies have shown that heart rate alone cannot accurately determine a user's risk of fainting. Therefore, commercially available smart bathtubs do not adequately guarantee the safety of bathers. This is especially problematic for the elderly, whose declining vision and the effects of water vapor in the bathroom make it difficult for them to accurately control their bathing time, easily leading to unpredictable accidents. Summary of the Invention

[0004] This invention proposes a bath syncope early warning method and device based on real-time comfort feedback from multiple sensors, which solves the problem that existing technologies cannot determine when to start timing and only perform single quantitative monitoring of human heart rate.

[0005] To address the aforementioned technical problems, this invention provides a bath syncope early warning method based on real-time comfort feedback from multiple sensors, comprising the following steps:

[0006] Step S1: When the infrared sensor detects that the user has entered the bathtub, it sends a signal to wake up the thermal imaging camera to identify the user's motion characteristics and determine whether the user is in a bathing state. If the user is in a bathing state, proceed to step S2.

[0007] Step S2: Use a thermal imaging camera to capture the user's bathing action features, compare the user's bathing action features with the set standard feature information, and if the similarity between the two is greater than the set similarity threshold, proceed to step S3; otherwise, continue to capture the user's bathing action features.

[0008] Step S3: Collect the water temperature, bathroom air humidity, and the user's bath time, and calculate the bath comfort level. When the bath comfort level is less than the set comfort threshold, execute Step S4. When the bath comfort level is equal to 0, execute Step S5;

[0009] Step S4: Control the buzzer to emit an alarm. If the user presses the button or makes a self-set safety gesture within the specified time, the alarm stops. Otherwise, control the buzzer to continuously emit an alarm, send a warning message to the user's mobile phone, and ring on the mobile phone until the user clicks the confirmation safety button on the mobile phone;

[0010] Step S5: Control the buzzer to continuously emit an alarm until the infrared sensor detects that the user has left the bathtub or the user long-presses the button to terminate the program. Otherwise, send a real-time alarm to the mobile phone of the user's guardian.

[0011] Preferably, Step S2 includes a user reminder step. When the water temperature is greater than 42 degrees, the OLED screen displays that the water temperature is too high and the buzzer sounds continuously. When the bathroom air humidity is greater than 65, the OLED screen displays that measures should be taken for ventilation.

[0012] Preferably, the formula for calculating the bath comfort level in Step S3 is:

[0013] ;

[0014] ;

[0015] In the formula, TBS represents the comfort level at the t-th second; represents the bath comfort level at the t-th second, ; T represents the water temperature, and 35 < T < 42; RH represents the bathroom air humidity, and 45 < RH < 65; a, b, c, d are constants, and 1 < a < 1.7, 0.15 < b < 2.1, 13.0892 < c < 19.2173, 24.3891 < d < 28.2732.

[0016] Preferably, Step S3 also includes a user feedback step. The bath comfort level is feedback to the user through a three-color LED light. When the bath comfort level is less than 50, the three-color LED light changes from green to yellow. When it is less than 20, it changes to red. When it is equal to 0, it starts to flash.

[0017] Preferably, when the bath comfort level is less than 20, the buzzer emits a short beep for 500 ms every 500 ms and lasts for 10 seconds; when the bath comfort level is less than 20 and the user does not press the button within 30 seconds, it continuously emits a sharp long beep until the user confirms safety on the mobile device; when the bath comfort level is equal to 0, it continuously emits a sharp long beep until it detects that the user gets up and leaves the bathtub or the user long-presses the button to terminate the program.

[0018] The present invention also provides a bathing fainting early warning system based on real-time comfort feedback of multiple sensors, which is applicable to the above-mentioned bathing fainting early warning method based on real-time comfort feedback of multiple sensors, including a user status perception module, a multi-sensor environment perception module, a central control computing module, and a human-computer interaction and early warning module.

[0019] The user status perception module determines the user's bathing status and then wakes up the multi-sensor environmental perception module, the central control computing module, and the human-computer interaction and early warning module.

[0020] The multi-sensor environmental sensing module is used to collect water temperature and air humidity in the bathroom and send them to the central control computing module;

[0021] The central control computing module is used to determine the user's bathing status, calculate the bathing comfort level, and control the human-computer interaction and early warning module.

[0022] The human-computer interaction and early warning module sends different signals and early warning information to the user's mobile phone based on the bathing comfort level calculated by the central control computing module.

[0023] The present invention also provides an electronic device and a computer-readable storage medium, the electronic device comprising: a memory, a processor, and a computer program, the computer program being stored in the memory and configured to be executed by the processor to implement the above-described bath syncope early warning method based on real-time comfort feedback from multiple sensors; the computer-readable storage medium storing the computer program, the computer program being executed by the processor to implement the above-described bath syncope early warning method based on real-time comfort feedback from multiple sensors.

[0024] This invention also provides a bathing fainting early warning device based on real-time comfort feedback from multiple sensors, applicable to the aforementioned bathing fainting early warning system based on real-time comfort feedback from multiple sensors. The device includes a housing, on which are mounted an infrared sensor for detecting whether someone is in the bathroom, a button, an OLED display screen for providing real-time bathing time, humidity, and water temperature data to the user, a thermal imaging camera for collecting image data from the bathroom to detect user movements, a three-color LED light for providing real-time bathing comfort feedback to the user, a temperature sensor for real-time water temperature data acquisition, a humidity sensor for detecting humidity levels in the bathroom, a buzzer for alarm purposes, and an electronic control system. The infrared sensor is located at the top of the housing, and the temperature sensor is connected to the bottom of the housing via a connecting rod.

[0025] Preferably, the infrared sensor is an HC-SR312 human infrared sensing electronic sensor, which outputs a high level when a person enters its sensing range, and automatically delays and turns off the high level when the person leaves its sensing range, outputting a low level.

[0026] The beneficial effects of the present invention include at least the following:

[0027] 1. Addressing the lack of feedback on bathing comfort and insufficient monitoring accuracy in existing devices on the market, this device uses infrared sensors and thermal image recognition to determine with ultra-high precision whether the user has started bathing, thereby initiating the calculation of bathing comfort. At the same time, it incorporates a method for calculating bathing comfort, comprehensively considering multiple parameters such as water temperature, air humidity, and bathing time to calculate the user's bathing comfort, making it more intelligent and accurate, and optimizing the safety and comfort of the user's bathing experience.

[0028] 2. The bathing comfort feedback and fainting alarm system of this invention is controlled by a microcontroller. The main chip will be an STM32 core with high performance, low cost and low power consumption, which has a significant price advantage in the market. All the selected sensors have low unit price and high reliability. The KY-016 model tri-color LED light and HC-SR312 human infrared sensing electronic sensor are relatively mature and stable electronic components, which can reduce production costs and have a good cost performance. The communication module used will be selected with advantages of good signal, low interference and low price.

[0029] 3. When the system detects a danger to the user in the bathroom, it will send alarms to both the user and the mobile device. Compared to the single reminder for bathing safety currently available in smart bathtubs, the combination of the two reminder methods can greatly increase the safety of the user while bathing. Attached Figure Description

[0030] Figure 1 This is a schematic diagram of the device according to an embodiment of the present invention;

[0031] Figure 2 This is a schematic diagram of the external installation according to an embodiment of the present invention;

[0032] Figure 3 This is a schematic diagram of the method flow according to an embodiment of the present invention;

[0033] Figure 4 This is a flowchart of the infrared motion recognition process according to an embodiment of the present invention;

[0034] Figure 5 This is a schematic diagram of the alarm process according to an embodiment of the present invention;

[0035] Figure 6 This is a graph showing the functional relationship between bathing comfort and water temperature and air humidity in an embodiment of the present invention.

[0036] Figure 7 This is a system schematic diagram according to an embodiment of the present invention;

[0037] Figure 8 This is a schematic diagram of the operation of the human-computer interaction and early warning module in an embodiment of the present invention. Detailed Implementation

[0038] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of the present invention.

[0039] like Figure 1 As shown, this embodiment of the invention provides a bathing fainting early warning device based on real-time comfort feedback from multiple sensors. The device includes a housing, on which are mounted an infrared sensor 1 for detecting whether someone is in the bathroom, a button 2, an OLED display screen 3 for providing real-time bathing time, humidity, and water temperature data to the user, a thermal imaging camera 4 for collecting image data from the bathroom to detect user movements, a tri-color LED light 5 for providing real-time bathing comfort feedback to the user, a temperature sensor 6 for real-time water temperature data collection, a humidity sensor 7 for detecting humidity levels in the bathroom, a buzzer 8 for alarm purposes, and an electronic control system 9. The infrared sensor 1 is located on the top of the housing, and the temperature sensor 6 is connected to the bottom of the housing via a connecting rod.

[0040] like Figure 2 The diagram shown is an external installation schematic of an embodiment of the present invention. Specifically, the infrared sensor 1 is located at the top of the device, 100-500mm from the center; the thermal imaging camera 4 is located on the side of the device facing the inside of the bathtub, 100-300mm from the edge of the bathtub; the temperature sensor 6 is installed on the bathtub wall, with the pipe opening 200mm below the top of the bathtub and above the bottom of the bathtub; and the humidity sensor 7 is installed on the side of the device facing the bathtub.

[0041] Among them, infrared sensor 1 is an HC-SR312 human infrared sensing electronic sensor. When a person enters its sensing range, it outputs a high level. When the person leaves its sensing range, it automatically delays and turns off the high level, outputting a low level. The tri-color LED light 5 is a KY-016 model. The temperature sensor 6 is a DHT11 temperature sensor, which acquires water temperature data in real time.

[0042] like Figure 3 As shown in the figure, this embodiment of the invention also provides a bath syncope early warning method based on real-time comfort feedback from multiple sensors, including the following steps:

[0043] Step S1: When the infrared sensor detects that the user has entered the bathtub, it sends a signal to wake up the thermal imaging camera to identify the user's motion characteristics and determine whether the user is in a bathing state. If the user is in a bathing state, proceed to step S2.

[0044] Step S2: As Figure 4The following is the flow chart of infrared motion recognition. The thermal imaging camera is used to capture the characteristics of the user's bathing actions. The characteristics of the user's bathing actions are compared with the set standard feature information. When the similarity between the two is greater than 60%, step S3 is executed; otherwise, the characteristics of the user's bathing actions are continuously captured.

[0045] Specifically, step S2 includes a user reminder step. When the water temperature is greater than 42 degrees, the OLED screen displays that the water temperature is too high and the buzzer sounds continuously. When the humidity in the bathroom is greater than 65, the OLED screen displays that measures should be taken for ventilation.

[0046] As Figure 5 The following is the method flow chart of step S3. The water temperature, the humidity in the bathroom, and the user's bathing time are collected and the bathing comfort level is calculated. When the bathing comfort level is less than the set comfort threshold, step S4 is executed. When the bathing comfort level is equal to 0, step S5 is executed. The bathing comfort level is fed back to the user through a three-color LED light. When the bathing comfort level is less than 80, the green light starts to turn yellow; when it is less than 50, the three-color LED light turns yellow; when it is less than 20, it turns red; when it is equal to 0, it starts to blink.

[0047] Specifically, the bathing time should be determined according to the water temperature. For people in relatively poor health, many people cannot soak in hot water above 40°C for a long time. For water temperatures above 42°C, the maximum soaking time is 3 - 5 minutes; for 40°C water, it can be soaked for 10 minutes; for warm water at 37°C to 39°C, it can be soaked for 20 - 30 minutes. As Figure 6 The following is the function relationship diagram of the bathing comfort level TBC with respect to the water temperature and the humidity in the bathroom. The range of the bathing comfort level TBC is 0 - 100, which is calculated once per second and decreases by 1 per second. The expression for the value subtracted from the comfort level (TBS) per second with respect to the water temperature T and the humidity in the bathroom RH is:

[0048] ;

[0049] ;

[0050] In the formula, TBS represents the comfort level at the t-th second; represents the bathing comfort level at the t-th second, ; T represents the water temperature, and 35 < T < 42; RH represents the humidity in the bathroom, and 45 < RH < 65; a, b, c, d are constants, and 1 < a < 1.7, 0.15 < b < 2.1, 13.0892 < c < 19.2173, 24.3891 < d < 28.2732. When T < 35 or RH < 45, TBS is the constant 0.08.

[0051] Step S4: Control the buzzer to sound an alarm. The alarm will stop when the user presses the button or makes a self-defined safety gesture within the specified time. Otherwise, control the buzzer to continue sounding the alarm, send a warning message to the user's mobile phone and ring the phone until the user clicks the confirmation safety button on the mobile phone.

[0052] Step S5: Control the buzzer to continuously sound an alarm until the infrared sensor detects that the user has left the bathtub or the user presses and holds the button to terminate the program; otherwise, send a real-time alarm to the user's guardian's mobile phone.

[0053] Specifically, when the bath comfort level is less than 20, the buzzer will sound a short beep for 500ms every 500ms for 10 seconds; when the bath comfort level is less than 20 and the user does not press the button within 30 seconds, it will sound a continuous sharp long beep until the user confirms safety on the mobile device; when the bath comfort level is equal to 0, it will sound a continuous sharp long beep until the user is detected to get up and leave the bathtub or the user presses and holds the button to terminate the program.

[0054] like Figure 7 As shown, the present invention also provides a bathing syncope early warning system based on real-time comfort feedback from multiple sensors, which is applicable to the above-mentioned bathing syncope early warning method based on real-time comfort feedback from multiple sensors, including a user status perception module, a multi-sensor environment perception module, a central control computing module, and a human-computer interaction and early warning module.

[0055] The user status perception module includes an infrared sensor, a thermal imaging camera, and a button. The infrared sensor detects whether the user has entered the bathroom, and the thermal imaging camera, combined with artificial intelligence image recognition, judges the user's bathing status. When the two judgments are consistent, the multi-sensor environmental perception module, the central control computing module, and the human-computer interaction and early warning module are activated. The artificial intelligence image recognition is based on the deep learning YOLO algorithm and realizes human behavior recognition through the K210 development board.

[0056] The multi-sensor environmental sensing module includes temperature sensors and humidity sensors. There are two temperature sensors: one is a water temperature sensor and the other is an air temperature sensor. All three are used to collect temperature and humidity information in the bathroom and send it to the central control computing module.

[0057] The central control computing module uses an STM32 microcontroller chip as its central chip. It includes a bathing and wakefulness recognition module, a multi-parameter TBC calculation and danger assessment module, and communication components. The bathing and wakefulness recognition module uses feature extraction technology to identify the movement characteristics of people in the bathroom and determines that the user has started bathing to activate the multi-sensor environmental perception module. The multi-parameter TBC calculation and danger assessment module uses data collected from infrared cameras, temperature sensors, humidity sensors, and infrared sensors to identify the user's activity status in the bathroom and calculate the bathing comfort TBC. It determines whether the user is at risk of fainting and then generates control commands based on the judgment to control the buzzer alarm, control the LED light color, ring the mobile phone, and send SMS reminders to family members.

[0058] like Figure 8 As shown, the human-computer interaction and early warning module includes a buzzer, a tri-color LED light, and a mobile app, divided into a user fainting alert section and a consciousness confirmation section. The fainting alert section uses a buzzer and an IoT app ringtone. When the comfort level is below 20, a short beeping sound every 500ms for 10 seconds begins. If the user does not press the button within 30 seconds after the comfort level drops below 20, a continuous, sharp, long beeping sound occurs, sending an alert via GSM to the mobile app, and ringing on the phone. This continues until the user confirms safety on the mobile app. When the comfort level drops below 0, a continuous, sharp, long beeping sound continues until the user status sensing component determines that the user has gotten up and left the bathtub or the user has pressed and held the button to terminate the program.

[0059] The user alertness confirmation module uses a button to verify the user's continued alertness. When the bath comfort level drops below 20, the user must press the button within a specified number of seconds, alerted by a buzzer and LED light, to confirm their alertness. The user can manually long-press the button to turn the system on or off. Alternatively, the user can perform a pre-defined gesture within the app within a certain timeframe, alerted by the buzzer and LED light, to confirm alertness. If the user fails to confirm alertness within the specified time, the buzzer will sound a continuous, sharp, long beep, a warning message will be sent to the mobile app via GSM, and the phone will ring.

[0060] This invention combines nine modules: an infrared sensor, a bathroom thermal imaging image collection module, a temperature sensor, a humidity sensor, a buzzer, an OLED temperature and humidity display, a three-color LED bulb bath comfort feedback module, a button alertness confirmation module, and a central data processing system. By combining the advantages of multiple modules, it can accurately reflect the comfort of bathing and the risk of fainting in real time through sound, light, and electricity.

[0061] The bathing and wakefulness recognition module, based on the deep learning YOLO algorithm, identifies a person's behavioral state. Its chip offers high cost-effectiveness, and multiple sensors work together to detect the bathroom environment. Through an actuator, it provides timely feedback on bathing comfort and triggers fainting alarms, achieving a dual alert mechanism for both the user and monitoring ends. This prevents prolonged fainting in the bathroom from causing further harm in a potentially dangerous environment. The proposed TBC algorithm, using an OLED screen and LED lights, helps people perceive real-time bathing comfort, helping to avoid physical discomfort such as brain hypoxia caused by prolonged exposure to high temperature and humidity.

[0062] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described; only preferred embodiments of the present invention are illustrated. The descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the present invention. As long as the combination of these technical features does not contradict each other, it should be considered within the scope of this specification.

[0063] It should be noted that those skilled in the art can make various modifications and improvements without departing from the inventive concept, and these all fall within the scope of protection of this invention. Therefore, the scope of protection of this invention should be determined by the appended claims.

Claims

1. A bath syncope early warning method based on real-time comfort feedback from multiple sensors, characterized in that: Includes the following steps: Step S1: When the infrared sensor detects that the user has entered the bathtub, it sends a signal to wake up the thermal imaging camera to identify the user's motion characteristics and determine whether the user is in a bathing state. If the user is in a bathing state, proceed to step S2. Step S2: Use a thermal imaging camera to capture the user's bathing action features, compare the user's bathing action features with the set standard feature information, and if the similarity between the two is greater than the set similarity threshold, proceed to step S3; otherwise, continue to capture the user's bathing action features. Step S3: Collect water temperature, bathroom air humidity and user bathing time and calculate bathing comfort. When the bathing comfort is less than the set comfort threshold, execute step S4. When the bathing comfort is equal to 0, execute step S5. The formula for calculating bathing comfort is: ; ; In the formula, TBS represents the comfort level at the t-th second; represents the bathtub comfort level at the t-th second, ; T represents the water temperature, and 35 < T < 42; RH represents the humidity of the bathroom air, and 45 < RH < 65; a, b, c, d are constants, and 1 < a < 1.7, 0.15 < b < 2.1, 13.0892 < c < 19.2173, 24.3891 < d < 28.2732; Step S4: Control the buzzer to sound an alarm. The alarm will stop when the user presses the button or makes a self-defined safety gesture within the specified time. Otherwise, control the buzzer to sound an alarm continuously, send a warning message to the user's mobile phone and ring the phone until the user clicks the confirmation safety button on the mobile phone. Step S5: Control the buzzer to continuously sound an alarm until the infrared sensor detects that the user has left the bathtub or the user presses and holds the button to terminate the program; otherwise, send a real-time alarm to the user's guardian's mobile phone.

2. The bath syncope early warning method based on real-time comfort feedback from multiple sensors according to claim 1, characterized in that: Step S2 includes a user reminder step: when the water temperature is greater than 42 degrees, the OLED screen displays "the water temperature is too high" and a buzzer sounds continuously; when the bathroom air humidity is greater than 65%, the OLED screen displays "please take measures to ventilate".

3. The bath syncope early warning method based on real-time comfort feedback from multiple sensors according to claim 1, characterized in that: Step S3 also includes a user feedback step, which uses a three-color LED light to provide feedback to the user on the comfort level of the bath. When the bath comfort level is less than 50, the three-color LED light changes from green to yellow; when it is less than 20, it changes to red; and when it is equal to 0, it starts flashing.

4. The bath syncope early warning method based on real-time comfort feedback from multiple sensors according to claim 1, characterized in that: When the bath comfort level is less than 20, the buzzer will sound a short beep for 500ms every 500ms for 10 seconds; when the bath comfort level is less than 20 and the user does not press the button within 30 seconds, it will sound a continuous sharp long beep until the user confirms safety on the mobile device; when the bath comfort level is equal to 0, it will sound a continuous sharp long beep until the user is detected to get up and leave the bathtub or the user presses and holds the button to terminate the program.

5. A bath syncope early warning system based on real-time comfort feedback from multiple sensors, applicable to the bath syncope early warning method based on real-time comfort feedback from multiple sensors as described in any one of claims 1 to 4, characterized in that: It includes a user status perception module, a multi-sensor environmental perception module, a central control computing module, and a human-computer interaction and early warning module; The user status perception module determines the user's bathing status and then wakes up the multi-sensor environmental perception module, the central control computing module, and the human-computer interaction and early warning module. The multi-sensor environmental sensing module is used to collect water temperature and air humidity in the bathroom and send them to the central control computing module; The central control computing module is used to determine the user's bathing status, calculate the bathing comfort level, and control the human-computer interaction and early warning module. The human-computer interaction and early warning module sends different signals and early warning information to the user's mobile phone based on the bathing comfort level calculated by the central control computing module.

6. A bath syncope early warning device based on real-time comfort feedback from multiple sensors, applicable to the bath syncope early warning system based on real-time comfort feedback from multiple sensors as described in claim 5, characterized in that: The device includes a housing, on which are provided an infrared sensor (1) for detecting whether there is a person in the bathroom, a button (2), an OLED display screen (3) for providing real-time bathing time, humidity and water temperature data to the user, a thermal imaging camera (4) for collecting image data in the bathroom to detect user movements, a three-color LED light (5) for providing real-time bathing comfort data to the user, a temperature sensor (6) for collecting real-time water temperature data, a humidity sensor (7) for detecting humidity in the bathroom, a buzzer (8) for alarm and an electronic control system (9). The infrared sensor (1) is located on the top of the housing, and the temperature sensor (6) is connected to the bottom of the housing via a connecting rod.

7. A bath syncope early warning device based on real-time comfort feedback from multiple sensors according to claim 6, characterized in that: The infrared sensor (1) is an HC-SR312 human infrared sensing electronic sensor. When a person enters its sensing range, it outputs a high level. When a person leaves its sensing range, it automatically delays and turns off the high level, outputting a low level.

8. An electronic device, comprising: The memory, processor, and computer program are characterized in that: the computer program is stored in the memory and configured to be executed by the processor to implement the bath syncope early warning method based on real-time comfort feedback from multiple sensors as described in any one of claims 1 to 4.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which is executed by a processor to implement the bath syncope early warning method based on real-time comfort feedback from multiple sensors, as described in any one of claims 1 to 4.