Sudden death prevention alarm system based on Internet of Things technology
By installing an Internet of Things alarm system in the elderly's bathroom, using Raspberry Pi and sensors to automatically detect and alarm, the problem of difficulty in operating and accidental triggering of existing push-button alarms has been solved, and rapid response to the elderly's sudden myocardial infarction has been achieved. Alarm and location positioning improve security and resource utilization efficiency.
Patent Information
- Application Number
- CN202410407143.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-03
- Publication Date
- 2024-09-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing push-button alarms are difficult to operate and easy to accidentally touch. They are unable to provide detailed information when the elderly have a sudden myocardial infarction, which may result in missing the best opportunity for treatment. Some elderly people are unable to press the buttons, making the alarm ineffective. .
An anti-sudden death alarm system based on Internet of Things technology is designed. It uses Raspberry Pi, ultrasonic sensor, pyroelectric sensor and camera to transmit data to the mobile phone through the Internet of Things platform to provide automatic alarm and location positioning functions, reducing the number of elderly people. Requirements for manual operation.
It improves the safety of the elderly when sudden myocardial infarction occurs, reduces accidental touches and waste of resources, and ensures that in emergencies, alarm information can be sent out in time and the elderly's location can be quickly located to avoid missing the best treatment opportunity.
Smart Images

Figure CN118629153A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of sudden death prevention alarm systems, in particular to a sudden death prevention alarm system based on Internet of Things technology. Background Art
[0002] As the elderly age, the risk of physical illness continues to rise. For example, constipation requires straining or takes longer to defecate, which will stimulate nerve excitement. During this period, the blood vessels of the heart will be "blocked" due to the strong contraction of the excited nerves. The pressure on the heart also increases, making it prone to rupture. Therefore, acute myocardial infarction is most likely to occur when the elderly use the toilet. In order to ensure the safety of the elderly when using the toilet, it is necessary to design an alarm for sudden myocardial infarction in the bathroom.
[0003] At present, most of the existing alarms are push-button alarms, which are relatively difficult to operate and are prone to the risk of accidental touches. In addition, push-button alarms can only send simple alarm signals and cannot provide more information or help. Therefore, in emergency situations such as sudden myocardial infarction in the elderly, the elderly may not be able to tell the location for a while, thereby missing the best time for treatment. In addition, some elderly people are unable to press the button when they suffer a sudden myocardial infarction, resulting in the alarm being unable to be effectively used in emergency situations.
[0004] In response to the above problems, it is urgently necessary to carry out innovative design based on the original anti-sudden death alarm system based on Internet of Things technology. Therefore, we proposed an anti-sudden death alarm system based on Internet of Things technology that can solve the above problems well. Summary of the invention
[0005] The purpose of the present invention is to provide an anti-sudden death alarm system based on Internet of Things technology to solve the problem raised in the above background technology that most of the alarms on the market are push-button alarms, which are relatively difficult to operate and prone to the risk of accidental touches. In addition, push-button alarms can only send simple alarm signals and cannot provide more information or help. Therefore, in emergency situations such as sudden myocardial infarction in the elderly, the elderly may not be able to tell the location for a while, thereby missing the best time for treatment. In addition, some elderly people are unable to press the button when they suffer a sudden myocardial infarction, resulting in the problem that the alarm cannot be effectively used in emergency situations.
[0006] To achieve the above-mentioned object, the present invention provides the following technical solutions: an anti-sudden death alarm system based on Internet of Things technology, comprising an operating machine and a toilet door;
[0007] The operating machine is provided with a Raspberry Pi inside, and the Raspberry Pi is electrically connected to an ultrasonic sensor, which is an HC-SR04 ultrasonic distance sensor. The core of the HC-SR04 ultrasonic distance sensor is two ultrasonic sensors, one of which is used as a transmitter to convert electrical signals into 40KHz ultrasonic pulses, and the receiver monitors the emitted pulses. If they are received, it will generate an output pulse, and its width can be used to determine the distance the pulse propagates. The sensor is small in size and provides excellent non-contact range detection between 2 cm and 400 cm (about 1 inch to 13 feet) with an accuracy of 3mm, so it is possible to detect whether there is someone within the range of the bathroom through the HCSR04 ultrasonic sensor;
[0008] The operating machine is provided with a locator inside, the Raspberry Pi is electrically connected to a pyroelectric sensor, the pyroelectric sensor is a HCSR501 pyroelectric sensor, the Raspberry Pi is connected to the mobile phone through the Internet of Things platform, and the pyroelectric sensor is also called a human infrared sensor, which is widely used in infrared fields such as anti-theft alarms, visitor notifications, and non-contact switches. Piezoelectric ceramic dielectrics can maintain a polarized state after being polarized, which is called spontaneous polarization. Spontaneous polarization decreases with increasing temperature and drops to zero at the Curie point. Therefore, when this material is exposed to infrared radiation and the temperature rises, the surface charge will decrease, which is equivalent to releasing a part of the charge, so it is called pyroelectric. The released charge can be converted into a voltage output through an amplifier, which is convenient for detecting whether someone is moving within the bathroom range through the HCSR501 pyroelectric sensor.
[0009] Preferably, a display screen is installed on the surface of the operating machine, which can not only display the content of the operating machine but also facilitate alarm operation, thereby reducing the problem of inconvenience of alarming with existing button-type alarms.
[0010] Preferably, a speaker is installed on the surface of the operating machine, and the speaker can be displayed by buzzing, which is not only convenient for waking up the elderly through buzzing operation, but also convenient for quickly locating the elderly, so that rescue personnel can quickly locate the elderly to perform rescue operations, thereby improving overall practicality.
[0011] Preferably, the Raspberry Pi is electrically connected to the camera, so not only can the camera transmit the captured image to the Raspberry Pi for processing, the Raspberry Pi quickly compares the image and then transmits it, making it convenient for family members to view and operate it. In addition, the family members can call the camera through the Raspberry Pi, so that the family members can understand the situation of the elderly, reducing the inconvenience caused by the inability to view the image content.
[0012] Preferably, a door lock is installed on the toilet door, and the toilet door can be opened by the door lock, making it convenient for the elderly to use the toilet.
[0013] Preferably, a servo is provided inside the door lock. Since the bathroom door knows whether it is in use through the servo, when it is detected that the bathroom door is in use, the ultrasonic sensor and the pyroelectric sensor can be called by the operating machine to perform detection operations, thereby reducing the overall detection cost and reducing the waste of resources.
[0014] Preferably, the Raspberry Pi is connected to the Internet of Things platform by adopting the MQTT protocol. MQTT (Message Queue Telemetry Transport) is a message protocol based on the publish / subscribe paradigm under the ISO standard (ISO / IECPRF20922). It works on the TCP / IP protocol family and is a publish / subscribe message protocol designed for remote devices with low hardware performance and poor network conditions. For this purpose, it requires a message middleware. MQTT is a client-server based message publish / subscribe transmission protocol. The MQTT protocol is lightweight, simple, open and easy to implement. These features make it very widely applicable in many cases, including restricted environments, such as machine-to-machine (M2M) communication and the Internet of Things (IoT). It has been widely used in sensors communicating via satellite links, medical equipment that occasionally dials, smart homes, and some miniaturized devices.
[0015] Preferably, the IoT platform is connected to the mobile phone through communication technology. The Alibaba Cloud IoT platform is an integrated platform that integrates capabilities such as device access, device management, data security communication, message subscription, message forwarding, and data services (storage, analysis, filtering, parsing, integration, etc.). It supports connecting to a large number of devices and collecting device data on the cloud; it provides a cloud API upward, and the server can call the cloud API through the cloud SDK to send instructions to the device to achieve remote control.
[0016] Preferably, the method comprises the following steps:
[0017] S1: The door lock controlled by the servo turns to open, which is convenient for storing information and transmitting it to the Raspberry Pi;
[0018] S2: Call the HCSR ultrasonic sensor to detect whether there is someone in the bathroom and transmit the information to the Raspberry Pi;
[0019] S3: Call the HCSR pyroelectric sensor to detect whether someone is moving in the bathroom and transmit the information to the Raspberry Pi;
[0020] S4: The Raspberry Pi collects and processes the detected information. If the data is abnormal, the Raspberry Pi uses the MQTT protocol to send an alarm message to the Alibaba Cloud IoT platform.
[0021] S5: After receiving the alarm information, the Alibaba Cloud IoT platform will forward the information to the WeChat applet on the mobile phone;
[0022] S6: Medical staff and family members at the workstation receive the alarm information simultaneously and understand the overall situation.
[0023] Compared with the prior art, the beneficial effects of the present invention are as follows: the anti-sudden death alarm system based on the Internet of Things technology uses an operating machine to call an ultrasonic sensor and a pyroelectric sensor for detection operation. When the overall detection data exceeds the set range, a Raspberry Pi is used to send an alarm message to the Internet of Things platform, which facilitates the Internet of Things platform to transmit the data to the mobile phone for display, reduces the inconvenience caused by the need for the elderly to operate manually, and improves the overall safety. The specific contents are as follows:
[0024] (1) The HCSR04 ultrasonic sensor detects whether there is anyone in the bathroom, and the HCSR501 pyroelectric sensor detects whether there is anyone moving in the bathroom. When the data determines that sudden death may have occurred, the data is transmitted to the IoT platform through the Raspberry Pi, and the data is transmitted to the mobile phone through the IoT platform for display, which improves overall safety.
[0025] (2) When using the operating machine, since the toilet door is detected by the steering gear whether it is in use, when it is detected that the toilet door is in use, the operating machine can call the ultrasonic sensor and the pyroelectric sensor to perform detection operations, thereby reducing the overall detection cost and reducing the waste of resources;
[0026] (3) When the user feels uncomfortable, he can use the display screen of the operating machine to make an alarm. If he cannot make an alarm manually due to physical reasons, he can use the operating machine to make an automatic alarm and transmit the location to the family's mobile phone, so as to avoid missing the best treatment time because the elderly cannot tell the location at the moment, thus improving the overall safety;
[0027] (4) Raspberry Pi can be easily connected to WiFi wireless network or wired transmission through TCP / IP protocol, which greatly improves the overall communication transmission efficiency. In addition, it can establish communication between the camera and Raspberry Pi, making it convenient for family members to check the living status of the elderly living alone in real time.
[0028] (5) The server side of the IoT platform can call the cloud API through the cloud SDK to send instructions to the device side, facilitating remote control, making the overall system operation simple and fast, and improving the overall operation security. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is a schematic diagram of the overall installation structure of the present invention;
[0030] Figure 2 This is a schematic diagram of the internal structure of the door lock of the present invention;
[0031] Figure 3 This is a schematic diagram of information collection by the Raspberry Pi of the present invention;
[0032] Figure 4 This is a schematic diagram of information transmission by the Raspberry Pi of the present invention;
[0033] Figure 5 It is a schematic diagram of the overall process of the present invention;
[0034] Figure 6 This is a schematic diagram of the mobile phone display of the present invention;
[0035] Figure 7 This is a schematic diagram of the alarm display on the mobile phone of the present invention;
[0036] Figure 8 It is a schematic diagram of the overall information operation flow of the present invention;
[0037] Fig. 9 This is a schematic diagram of the early warning module of the present invention;
[0038] Fig.10 It is a schematic diagram of the storage module of the present invention.
[0039] In the figure: 1. operating machine; 2. display screen; 3. ultrasonic sensor; 4. speaker; 5. pyroelectric sensor; 6. camera; 7. bathroom door; 8. door lock; 9. servo; 10. Raspberry Pi; 11. Internet of Things platform; 12. mobile phone. DETAILED DESCRIPTION
[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0041] Embodiment 1:
[0042] In this embodiment, in order to improve the safety of the alarm system, the alarm operation is performed by setting the Raspberry Pi 10, the purpose of which is to reduce the inconvenience caused by the need for the elderly to manually operate. Figure 1-Figure 10The technical solution shown includes an operating machine 1 and a toilet door 7. A Raspberry Pi 10 is arranged inside the operating machine 1. The Raspberry Pi 10 is electrically connected to an ultrasonic sensor 3. The ultrasonic sensor 3 is an HC-SR04 ultrasonic distance sensor. The HCSR04 ultrasonic sensor 3 is used to detect whether there is someone in the toilet. A locator is arranged inside the operating machine 1. The Raspberry Pi 10 is electrically connected to a pyroelectric sensor 5. The pyroelectric sensor 5 is an HCSR501 pyroelectric sensor 5. The HCSR501 pyroelectric sensor 5 is used to detect whether there is someone moving in the toilet. The Raspberry Pi 10 is connected to a mobile phone terminal 12 through an Internet of Things platform 11. A display screen 2 is installed on the surface of the operating machine 1. A speaker 4 is installed on the surface of the operating machine 1. The Raspberry Pi 10 is electrically connected to the camera 6. A door lock 8 is installed on the bathroom door 7. A servo 9 is arranged inside the door lock 8. The operating machine 1 and the camera 6 are installed inside the household bathroom. Since the purpose of using the camera 6 is clear and limited to ensuring the safety of the elderly, and all family members know and agree to the monitoring, the monitoring through the camera 6 is legal and compliant. During the use of the camera 6, it is necessary to understand and comply with local privacy laws and monitoring regulations to ensure that the use of the camera 6 complies with all applicable laws and regulations, and it is necessary to avoid the leakage or abuse of the monitoring video. The data range is set through the display screen 2, and the operating machine 1 is connected to the network. When the bathroom door 7 is opened through the door lock 8, the internal servo 9 is detected to facilitate the transmission of information. To the operating machine 1, the operating machine 1 calls the ultrasonic sensor 3 and the pyroelectric sensor 5 to perform detection operations. The ultrasonic sensor 3 is the HC-SR04 ultrasonic distance sensor, the core of which is two ultrasonic sensors 3, one of which is used as a transmitter to convert the electrical signal into a 40KHz ultrasonic pulse, and monitors the transmitted pulses through the receiver. If they are received, it will generate an output pulse, and its width can be used to determine the distance the pulse propagates. The overall volume is small, which is convenient for installation, and the detection data has high accuracy, which is convenient for detecting whether there is someone in the bathroom range. The overall detection is fast and convenient. When the elderly enter the ultrasonic range detection distance, the program logic starts to work. When the elderly are within the ultrasonic detection range and the pyroelectric sensor 5 has detected If it is detected that the elderly person has not made any movement for a period of time, it is determined that sudden death may occur. When the overall detection data exceeds the set range, the set speaker 4 will sound an alarm to prompt the elderly person to make an alarm operation. At this time, the elderly person can make an alarm through the display screen 2 of the operating machine 1. If the elderly person cannot make a manual alarm due to discomfort, the camera 6 will monitor the picture, compare the monitored picture with the detected data to analyze the situation inside the bathroom, and the internal locator of the operating machine 1 will send the location information. The Raspberry Pi 10 will send the alarm information to the Internet of Things platform 11 through the MQTT protocol, so that the Internet of Things platform 11 can transmit the data to the mobile phone 12 for display. At this time, the medical staff and family members of the workstation can receive the alarm information synchronously.The overall data is automatically uploaded, reducing the inconvenience caused by the need for the elderly to operate manually. On the WeChat applet on the mobile phone 12, there is a graphical display of the alarm status, where blue means no alarm information and red means alarm information, which is convenient for family members to understand the elderly's situation and enable the elderly to receive timely medical care. The overall alarm information can be quickly transmitted to the mobile phone 12 through the Internet of Things platform 11. The homepage of the WeChat applet on the mobile phone 12 not only has a graphical display of the alarm, but also can see the detailed information and geographic location of the alarm. When the elderly suddenly become ill, these systems can help family members and rescuers quickly confirm the location of the elderly, avoiding missing the best treatment time because the elderly cannot tell the location at the moment, thereby improving overall safety.
[0043] Embodiment 2:
[0044] In this embodiment, in order to improve the stability of the overall system, the transmission operation is performed through the Internet of Things platform 11, the purpose of which is to reduce the inconvenience of existing alarm network transmission. Figure 3 and Figure 4As shown, it is disclosed that: Raspberry Pi 10 is connected to the Internet of Things platform 11 by adopting the MQTT protocol, and the Internet of Things platform 11 is connected to the mobile phone 12 through communication technology. Since the Linux operating system is running in the Raspberry Pi 10, the drivers of the ultrasonic sensor 3, the pyroelectric sensor 5, the servo 9, and the speaker 4 are written in Python language. The Raspberry Pi 10 is used as the main control chip. The communication between the camera 6 and the Raspberry Pi 10 can be established by connecting to a WiFi wireless network or through a TCP / IP protocol wired transmission. The computer connected to the same network segment can log in to the website or client to view the real-time monitoring video. For children, it can be viewed 24 hours a day. Remotely check the living conditions of elderly people living alone and understand their physical conditions. If an alarm is needed, the collected data can be received, processed, warned and stored through Raspberry Pi 10, which is convenient for later networking operations. The Internet of Things Platform 11 is Alibaba Cloud Internet of Things Platform 11. Alibaba Cloud Internet of Things Platform 11 is an integrated platform that integrates device access, device management, data security communication, message subscription, message forwarding and data services. It supports connecting to massive devices and collecting device data on the cloud; it provides cloud API upward. The server can call the cloud API through the cloud SDK to send instructions to the device, which is convenient for remote control, and Raspberry Pi is in information When the information is processed, the early warning module can effectively process the information, and the overall data information can be checked and compared by the system to reduce the inconvenience caused by false touch or broadcasting. The early warning module can be compared manually, which is convenient for calling the camera and the speaker through the Raspberry Pi, so as to quickly understand the actual situation of the elderly, and quickly communicate with the elderly through the speaker, reducing the inconvenience caused by misjudgment. When the early warning module finds that the information is accurate after processing, the information is transmitted to the Internet of Things platform 11 through the alarm module, which is convenient for alarm operation. When an information error is detected, the data is transmitted to the storage module for storage, and the storage module includes a memory and a pan-tilt storage, which is convenient for the effective storage of information. It allows family members to view the stored information later. The memory includes RAM and ROM. When data needs to be read and written quickly, RAM is used for fast storage, and the capacity of RAM can be expanded as needed to meet greater data processing needs, which helps to protect the security of user data. In order to improve the overall data security, the processed data is stored in ROM so that the data will not be easily modified or lost, ensuring the stability and security of the system. The pan-tilt storage is transmitted through the I / O interface, which facilitates rapid data transmission. It can also be transmitted over the network through a network adapter, which facilitates the effective storage of information and improves overall practicality.
[0045] Embodiment three:
[0046] In this embodiment, according to Figure 1-Figure 5The structure shown in FIG. 1 includes the following steps:
[0047] S1: The door lock 8 controlled by the servo 9 is turned to open, so that the information can be stored and transmitted to the Raspberry Pi 10;
[0048] S2: Call HCSR04 ultrasonic sensor 3 to detect whether there is someone in the bathroom and transmit the information to Raspberry Pi 10;
[0049] S3: Call the HCSR501 pyroelectric sensor 5 to detect whether someone is moving within the bathroom range, and transmit the information to the Raspberry Pi 10;
[0050] S4: Raspberry Pi 10 collects and processes the detected information. If the data is abnormal, Raspberry Pi 10 uses the MQTT protocol to send an alarm message to Alibaba Cloud IoT platform 11;
[0051] S5: After receiving the alarm information, the Alibaba Cloud IoT platform 11 forwards the information to the WeChat applet on the mobile phone 12;
[0052] S6: The medical staff and family members at the workstation receive the alarm information simultaneously and understand the overall situation.
[0053] Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments, or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. An anti-sudden death alarm system based on Internet of Things technology, comprising an operating machine (1) and a toilet door (7); It is characterized in that Also includes: The operating machine (1) is provided with a Raspberry Pi (10) inside, the Raspberry Pi (10) is electrically connected to an ultrasonic sensor (3), the ultrasonic sensor (3) is an HC-SR04 ultrasonic distance sensor, and the HCSR04 ultrasonic sensor (3) is used to detect whether there is a person within the range of the toilet; The operating machine (1) is provided with a locator inside, the Raspberry Pi (10) is electrically connected to a pyroelectric sensor (5), the pyroelectric sensor (5) is a HCSR501 pyroelectric sensor (5), and the HCSR501 pyroelectric sensor (5) is used to detect whether a person is moving within the range of the toilet, and the Raspberry Pi (10) is connected to a mobile phone terminal (12) via an Internet of Things platform (11).
2. The anti-sudden death alarm system based on Internet of Things technology according to claim 1 is characterized in that: A display screen (2) is installed on the surface of the operating machine (1).
3. The anti-sudden death alarm system based on Internet of Things technology according to claim 1 is characterized in that: A sound tube (4) is installed on the surface of the operating machine (1).
4. The anti-sudden death alarm system based on Internet of Things technology according to claim 1 is characterized in that: The Raspberry Pi (10) is electrically connected to the camera (6).
5. The anti-sudden death alarm system based on Internet of Things technology according to claim 1 is characterized in that: The toilet door (7) is provided with a door lock (8).
6. The anti-sudden death alarm system based on Internet of Things technology according to claim 5 is characterized in that: A steering gear (9) is arranged inside the door lock (8).
7. The anti-sudden death alarm system based on Internet of Things technology according to claim 1 is characterized in that: The Raspberry Pi (10) is connected to the Internet of Things platform (11) by adopting the MQTT protocol.
8. The sudden death prevention alarm system based on Internet of Things technology according to claim 7 is characterized in that: The Internet of Things platform (11) is connected to the mobile phone terminal (12) via communication technology.
9. The sudden death prevention alarm system based on Internet of Things technology according to claim 1 is characterized in that: The following steps are involved: S1: The door lock (8) controlled by the servo (9) is turned to open, so that the information can be stored and transmitted to the Raspberry Pi (10); S2: Call the HCSR04 ultrasonic sensor (3) to detect whether there is anyone in the bathroom and transmit the information to the Raspberry Pi (10); S3: Call the HCSR501 pyroelectric sensor (5) to detect whether someone is moving within the bathroom and transmit the information to the Raspberry Pi (10); S4: The Raspberry Pi (10) collects and processes the detected information. If the data is abnormal, the Raspberry Pi (10) uses the MQTT protocol to send an alarm message to the Alibaba Cloud Internet of Things Platform (11); S5: After receiving the alarm information, the Alibaba Cloud IoT platform (11) will forward the information to the WeChat applet on the mobile phone (12); S6: The medical staff and family members at the workstation receive the alarm information simultaneously and understand the overall situation.
Citation Information
Patent Citations
Monitoring system and method
CN105608838A
Detecting and alarming system and method thereof
CN105741492A
Bathroom accident detection alarm equipment and accident detection alarm method
CN106530615A
Old people family nursing early warning system based on Internet of things and health condition assessment method
CN109326081A
System and method for detecting faint of people in toilet
CN111489523A
