On-bed and off-bed detection system, method, device, equipment and medium
By setting up multiple weighing sensors and analog-to-digital conversion modules on the mattress, the problem of misjudgment of air pressure changes in the prior art is solved, and more accurate off-bed detection is achieved.
Patent Information
- Application Number
- CN202411189715.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-11-29
AI Technical Summary
The existing off-bed detection methods mainly rely on changes in air pressure of mattress airbags, which are prone to misjudgment, resulting in low detection accuracy.
A plurality of weighing sensors are used to set on the bed frame, weight information is collected through the sensor module, analog-to-digital conversion is performed, and then sent to the off-bed detection module, and the off-bed status is determined based on the converted weight information.
Improve the accuracy of off-bed detection, reduce misjudgment, and accurately determine whether the user is on or off-bed.
Smart Images

Figure CN119043478A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of smart home technology, and in particular, to a bed leaving detection system, method, device, equipment and medium. Background Art
[0002] At present, with the continuous development of smart homes, the bed-in-out detection of smart mattresses has been deeply studied. There are air bags in smart mattresses. The existing bed-in-out detection method mainly judges whether the user is in bed or out of bed by the air pressure change of the air bag of the mattress. There may be misjudgment of the air pressure change, resulting in low accuracy of bed-in-out detection. Summary of the invention
[0003] Embodiments of the present invention provide a bed leaving detection system, method, device, equipment and medium, which can realize bed leaving detection of a mattress and improve the accuracy of bed leaving detection.
[0004] In a first aspect, an embodiment of the present invention provides a bed leaving detection system, comprising: a bed frame, a sensor module, a measuring board and a bed leaving detection module; the sensor module is connected to the measuring board, and the measuring board is connected to the bed leaving detection module; the sensor module comprises a plurality of weighing sensors, and each weighing sensor is respectively arranged on the bed frame;
[0005] The sensor module sends the weight information collected by each weighing sensor to the measuring board; the measuring board performs analog-to-digital conversion on the weight information, and sends the converted weight information to the bed leaving detection module; the bed leaving detection module determines the bed leaving state according to the converted weight information; wherein the bed leaving state includes the in bed state or the bed leaving state.
[0006] In a second aspect, an embodiment of the present invention provides a method for detecting when leaving bed, comprising:
[0007] Get weight information;
[0008] The out-of-bed state is determined according to the weight information.
[0009] In a third aspect, an embodiment of the present invention further provides a bed leaving detection device, the device comprising:
[0010] A weight information acquisition module is used to acquire weight information;
[0011] The out-of-bed state determination module is used to determine the out-of-bed state according to the weight information.
[0012] In a fourth aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:
[0013] at least one processor; and
[0014] a memory communicatively connected to the at least one processor; wherein,
[0015] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the bed leaving detection method described in the embodiment of the present invention.
[0016] In a fifth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the bed exit detection method described in the embodiment of the present invention when executed.
[0017] The embodiments of the present invention disclose a bed leaving detection system, method, device, equipment and medium, including: a bed frame, a sensor module, a measuring board and a bed leaving detection module; the sensor module is connected to the measuring board, and the measuring board is connected to the bed leaving detection module; the sensor module includes a plurality of weighing sensors, each weighing sensor is respectively arranged on the bed frame; the sensor module sends the weight information collected by each weighing sensor to the measuring board; the measuring board performs analog-to-digital conversion on the weight information, and sends the converted weight information to the bed leaving detection module; the bed leaving detection module determines the bed leaving state according to the converted weight information; wherein the bed leaving state includes the bed in state or the bed leaving state. The above technical solution can realize the detection of mattress in and out of bed. Specifically, it considers that each weighing sensor is set on the bed frame, and the weight information can be accurately collected. At the same time, it also considers that the collected weight information is sent to the measuring board through the sensor module, and the measuring board performs analog-to-digital conversion on the weight information, and the converted weight information can be accurately obtained. Then, the measuring board sends the converted weight information to the in and out of bed detection module, and the in and out of bed detection module determines the in and out of bed state according to the converted weight information, and can accurately determine the in and out of bed state. Compared with the prior art, the technical solution provided by this embodiment can accurately collect weight information, accurately obtain the converted weight information and determine the in and out of bed state, thereby improving the accuracy of in and out of bed detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 This is a structural schematic diagram of a bed leaving detection system in Embodiment 1 of the present invention;
[0019] Figure 2 is a schematic diagram of the structure of a sensor module provided by an embodiment of the present invention;
[0020] Figure 3 is an example diagram of a bed leaving detection system provided by an embodiment of the present invention;
[0021] Figure 4 is a flow chart of a method for detecting leaving bed in Embodiment 2 of the present invention;
[0022] Figure 5 It is a structural schematic diagram of a bed leaving detection device in Embodiment 3 of the present invention;
[0023] Figure 6 It is a structural schematic diagram of an electronic device in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0024] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0025] Embodiment 1
[0026] Figure 1 This is a schematic diagram of the structure of a bed leaving detection system provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of performing bed leaving detection on a mattress.
[0027] In the existing technical solutions, the air pressure change of the mattress airbag is mainly used to determine whether the user is in bed or out of bed. However, during the airbag adjustment process, the air pressure in the airbag will continue to change. At this time, the mattress may determine that someone has entered the bed and send a command to adjust the airbag. If the judgment is based only on the air pressure change, the airbag may be adjusted continuously, and there may also be misjudgment of the air pressure change, resulting in low accuracy in bed leaving detection.
[0028] Based on the above problems, an embodiment of the present invention provides a bed leaving detection system, which sends the collected weight information to the measuring board through the sensor module, and the measuring board performs analog-to-digital conversion on the weight information and sends the converted weight information to the bed leaving detection module, and the bed leaving detection module determines the bed leaving state according to the converted weight information. The bed leaving state can be accurately determined, and the accuracy of the bed leaving detection is improved.
[0029] like Figure 1 As shown, the bed leaving detection system comprises: a bed frame, a sensor module, a measuring board and a bed leaving detection module; the sensor module is connected to the measuring board, and the measuring board is connected to the bed leaving detection module; the sensor module comprises a plurality of weighing sensors, and each weighing sensor is respectively arranged on the bed frame;
[0030] Specifically, the sensor module sends the weight information collected by each weighing sensor to the measuring board; the measuring board performs analog-to-digital conversion on the weight information, and sends the converted weight information to the bed leaving detection module; the bed leaving detection module determines the bed leaving state according to the converted weight information; wherein, the bed leaving state includes the in bed state or the bed leaving state.
[0031] Continuing with the above description, the sensor module is composed of a plurality of weighing sensors connected, and the weighing sensors can be strain gauge weighing sensors; each weighing sensor is used to collect weight information, and the weight information at this time is an analog signal; the measuring board can include an analog-to-digital conversion chip, and the analog-to-digital conversion chip is used to perform analog-to-digital conversion on the weight information, and convert the analog signal into a digital signal; the bed-out detection module can be set in the mattress, and is used to determine the bed-out state; wherein, the bed-out state is the bed-in state, indicating that the user is in bed, and the bed-out state is the bed-out state, indicating that the user is out of bed. In addition, the measuring board is connected to the bed-out detection module by wireless means, such as Bluetooth.
[0032] In this embodiment, the way in which the bed exit detection module determines the bed exit state according to the converted weight information can be: comparing the converted weight information with a threshold value, if the converted weight information is greater than or equal to the threshold value, the bed exit state is the in-bed state; if the converted weight information is less than the threshold value, the bed exit state is the bed exit state.
[0033] Continuing with the above description, if the converted weight information is greater than or equal to the threshold, it means that there is someone on the mattress, that is, in bed state; if the converted weight information is less than the threshold, it means that there is no one on the mattress, that is, out of bed state. Figure 2 is a schematic diagram of the structure of the sensor module provided by an embodiment of the present invention, such as Figure 2 As shown, the sensor module includes four weighing sensors; the four weighing sensors are respectively a first weighing sensor, a second weighing sensor, a third weighing sensor and a fourth weighing sensor, wherein each weighing sensor includes a first pin, a second pin and a third pin.
[0034] Continuing with the above description, the bed frame includes four bed legs, and four weighing sensors are respectively arranged on the four bed legs, each weighing sensor includes three pins, namely a white pin, a red pin and a black pin; wherein the white pin, the red pin and the black pin represent the first pin, the second pin and the third pin respectively.
[0035] Furthermore, the connection relationship of the four weighing sensors is: the first pin of the first weighing sensor is connected to the first pin of the second weighing sensor; the third pin of the second weighing sensor is connected to the third pin of the third weighing sensor; the first pin of the third weighing sensor is connected to the first pin of the fourth weighing sensor; the third pin of the fourth weighing sensor is connected to the third pin of the first weighing sensor; the second pin of the first weighing sensor is connected to the second pin of the third weighing sensor.
[0036] Optionally, the second pin of the second weighing sensor and the second pin of the fourth weighing sensor are used as output pins of the sensor module to output weight information to the measuring board. The second weighing sensor includes a first weight processing unit, and the fourth weighing sensor includes a second weight processing unit; the first weight processing unit can be used to fuse the weight information collected by two of the four weighing sensors to obtain the fused weight information; the second weight processing unit can be used to fuse the weight information collected by the remaining two weighing sensors to obtain the fused weight information.
[0037] Continuing with the above description, the fusion processing may be averaging. The first weight processing unit may be specifically used to average the weight information collected by two of the four weighing sensors to obtain first average weight information; the second weight processing unit may be specifically used to average the weight information collected by the remaining two weighing sensors to obtain second average weight information. Furthermore, the first average weight information is transmitted to the measurement board through the second pin of the second weighing sensor, and the second average weight information is transmitted to the measurement board through the second pin of the fourth weighing sensor.
[0038] Optionally, the first weight processing unit is used to calculate the average of the weight information collected by two of the four weighing sensors, wherein two of the four weighing sensors may be any two weighing sensors, such as the first weighing sensor and the second weighing sensor, the first weighing sensor and the third weighing sensor, the first weighing sensor and the fourth weighing sensor, the second weighing sensor and the third weighing sensor, the second weighing sensor and the fourth weighing sensor, or the third weighing sensor and the fourth weighing sensor.
[0039] For example, it is assumed that the weight information collected by the first weighing sensor, the second weighing sensor, the third weighing sensor and the fourth weighing sensor are a1, a2, a3 and a4 respectively, and these four weight information may be the same or different. The weight information a1 and a2 collected by the first weighing sensor and the second weighing sensor among the four weighing sensors are averaged to obtain the first average weight information b1=(a1+a2) / 2; the weight information a3 and a4 collected by the third weighing sensor and the fourth weighing sensor are averaged to obtain the second average weight information b2=(a3+a4) / 2. In addition, the first average weight information b1 is transmitted to the measurement board through the second pin of the second weighing sensor, and the second average weight information b2 is transmitted to the measurement board through the second pin of the fourth weighing sensor.
[0040] Optionally, the measuring board includes a first chip and a second chip; wherein the first chip is an analog-to-digital conversion chip, such as an HX710 chip, and the second chip is a Bluetooth chip. Specifically, the first chip includes a fourth pin, a fifth pin, and a sixth pin, and the second chip includes a seventh pin; the fourth pin is connected to the second pin of the second weighing sensor; the fifth pin is connected to the second pin of the fourth weighing sensor; and the sixth pin is connected to the seventh pin.
[0041] Continuing with the above description, taking the HX710 chip as an example, the fourth pin is the differential signal negative input terminal INN, the fifth pin is the differential signal positive input terminal INP, and the sixth pin is the data output terminal DOUT. The seventh pin can be the PC2 pin of the Bluetooth chip. Among them, the fourth pin is used to receive the first average weight information transmitted by the second pin of the second weighing sensor, the fifth pin is used to receive the second average weight information transmitted by the second pin of the fourth weighing sensor, and the sixth pin is used to output the weight information after analog-to-digital conversion to the second chip.
[0042] Specifically, the first chip performs analog-to-digital conversion on the first average weight information and the second average weight information, and transmits the converted first average weight information or the converted second average weight information to the second chip; the second chip sends the converted first average weight information or the converted second average weight information to the bed exit detection module.
[0043] For example, Figure 3 is an example diagram of a bed leaving detection system provided by an embodiment of the present invention, such as Figure 3As shown, the sensor module is composed of a first weighing sensor, a second weighing sensor, a third weighing sensor and a fourth weighing sensor. The second pin of the second weighing sensor is connected to the INN pin of the HX710 chip, the second pin of the fourth weighing sensor is connected to the INP pin of the HX710 chip, the DOUT pin of the HX710 chip is connected to the PC2 pin of the Bluetooth chip, and the Bluetooth chip is connected to the bed leaving detection module.
[0044] Furthermore, based on the above connection, the sensor module transmits the first average weight information to the HX710 chip of the measuring board through the second pin of the second weighing sensor, and transmits the second average weight information to the HX710 chip of the measuring board through the second pin of the fourth weighing sensor; the HX710 chip performs analog-to-digital conversion on the first average weight information and the second average weight information, and transmits the converted first average weight information or the converted second average weight information to the Bluetooth chip; the Bluetooth chip sends the converted first average weight information or the converted second average weight information to the bed leaving detection module; the bed leaving detection module determines the bed leaving state according to the converted first average weight information or the converted second average weight information.
[0045] Optionally, the system may further include a mattress and an adjustment module, wherein the mattress is arranged on a bed frame, and the adjustment module is used to adjust the inflation and deflation of multiple airbags in the mattress according to the out-of-bed state. Specifically, if the out-of-bed state is the in-bed state, the adjustment module adjusts the inflation and deflation of the multiple airbags; if the out-of-bed state is the out-of-bed state, the adjustment module stops adjusting the inflation and deflation of the multiple airbags.
[0046] Continuing with the above description, if the Out-of-Bed state is the In-Bed state, it indicates that the user is in bed, and at this time the adjustment module can inflate and deflate the multiple airbags; if the Out-of-Bed state is the Out-of-Bed state, it indicates that the user has left the bed, and at this time the adjustment module can stop inflating and deflating the multiple airbags until the user is in bed, and then the adjustment module continues to inflate and deflate the multiple airbags.
[0047] The technical solution of this embodiment sets each weighing sensor on the bed frame, which can accurately collect weight information; the collected weight information is sent to the measuring board through the sensor module, and the measuring board performs analog-to-digital conversion on the weight information, and the converted weight information can be accurately obtained; the measuring board sends the converted weight information to the bed leaving detection module, and the bed leaving detection module determines the bed leaving state according to the converted weight information, and can accurately determine the bed leaving state. The technical solution provided by this embodiment can accurately collect weight information, can accurately obtain the converted weight information and determine the bed leaving state, and improve the accuracy of bed leaving detection.
[0048] Embodiment 2
[0049] Figure 4 This is a flow chart of a bed leaving detection method provided in the second embodiment of the present invention. This embodiment is applicable to the case of bed leaving detection on a mattress. The method can be executed by a bed leaving detection device, which can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device, which can be a mobile terminal, a PC or a server, etc. Specifically, it includes the following steps:
[0050] S110, obtaining weight information.
[0051] In this embodiment, the weight information is weight information obtained through analog-to-digital conversion by a measuring board.
[0052] S120: Determine the out-of-bed state based on the weight information.
[0053] In this embodiment, the out-of-bed state is determined based on the converted weight information.
[0054] Furthermore, for determining the out-of-bed state based on the weight information, one implementation method can be described as: obtaining a set threshold; and determining the out-of-bed state based on the weight information and the set threshold.
[0055] Specifically, the method of determining the out-of-bed state based on the weight information and the set threshold can be: if the weight information is greater than or equal to the set threshold, the out-of-bed state is the in-bed state; if the weight information is less than the set threshold, the out-of-bed state is the out-of-bed state.
[0056] The technical solution of this embodiment obtains weight information and determines the out-of-bed state according to the weight information. The above technical solution determines the out-of-bed state according to the weight information, which can accurately determine the out-of-bed state and improve the accuracy of the out-of-bed detection.
[0057] Embodiment 3
[0058] Figure 5 A schematic diagram of a bed leaving detection device provided in Embodiment 3 of the present invention is shown in FIG. Figure 5 As shown, the device comprises:
[0059] A weight information acquisition module 210, used to acquire weight information;
[0060] The out-of-bed state determining module 220 is configured to determine the out-of-bed state according to the weight information.
[0061] Optionally, the bed leaving state determining module 220 may be specifically used for:
[0062] If the weight information is greater than or equal to the set threshold, the out-of-bed state is the in-bed state; if the weight information is less than the set threshold, the out-of-bed state is the out-of-bed state.
[0063] The above device can execute the methods provided by all the above embodiments of the present invention, and has the corresponding functional modules and beneficial effects of executing the above methods. For technical details not described in detail in this embodiment, please refer to the methods provided by all the above embodiments of the present invention.
[0064] Embodiment 4
[0065] Figure 6 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0066] like Figure 6 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0067] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0068] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the bed exit detection method.
[0069] In some embodiments, the bed exit detection method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the bed exit detection method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the bed exit detection method in any other appropriate manner (e.g., by means of firmware).
[0070] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0071] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0072] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0073] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0074] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0075] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0076] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0077] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A bed leaving detection system, It is characterized in that include: A bed frame, a sensor module, a measuring board and a bed leaving detection module; the sensor module is connected to the measuring board, and the measuring board is connected to the bed leaving detection module; the sensor module includes a plurality of weighing sensors, and each weighing sensor is respectively arranged on the bed frame; The sensor module sends the weight information collected by each weighing sensor to the measuring board; the measuring board performs analog-to-digital conversion on the weight information, and sends the converted weight information to the bed leaving detection module; the bed leaving detection module determines the bed leaving state according to the converted weight information; wherein the bed leaving state includes the in bed state or the bed leaving state.
2. The system according to claim 1, It is characterized in that The bed frame includes four bed legs, the sensor module includes four weighing sensors, and the four weighing sensors are respectively arranged on the four bed legs; the four weighing sensors are respectively a first weighing sensor, a second weighing sensor, a third weighing sensor and a fourth weighing sensor, wherein each of the weighing sensors includes a first pin, a second pin and a third pin; The first pin of the first weighing sensor is connected to the first pin of the second weighing sensor; the third pin of the second weighing sensor is connected to the third pin of the third weighing sensor; the first pin of the third weighing sensor is connected to the first pin of the fourth weighing sensor; the third pin of the fourth weighing sensor is connected to the third pin of the first weighing sensor; the second pin of the first weighing sensor is connected to the second pin of the third weighing sensor.
3. The system according to claim 2, It is characterized in that The second weighing sensor includes a first weight processing unit; the fourth weighing sensor includes a second weight processing unit; The first weight processing unit is used to average the weight information collected by two of the four weighing sensors to obtain first average weight information; and transmit the first average weight information to the measuring board through the second pin of the second weighing sensor; The second weight processing unit is used to average the weight information collected by the remaining two weighing sensors to obtain second average weight information; and transmit the second average weight information to the measurement board through the second pin of the fourth weighing sensor.
4. The system according to claim 3, It is characterized in that The measuring board comprises a first chip and a second chip; the first chip comprises a fourth pin, a fifth pin and a sixth pin; the second chip comprises a seventh pin; the fourth pin is connected to the second pin of the second weighing sensor; the fifth pin is connected to the second pin of the fourth weighing sensor; the sixth pin is connected to the seventh pin; The first chip performs analog-to-digital conversion on the first average weight information and the second average weight information, and transmits the converted first average weight information or the converted second average weight information to the second chip; the second chip sends the converted first average weight information or the converted second average weight information to the bed exit detection module.
5. The system according to claim 1, It is characterized in that It also includes a mattress and an adjustment module, wherein the mattress is arranged on the bed frame, and the adjustment module is used to adjust the inflation and deflation of multiple air bags in the mattress according to the out-of-bed state; wherein, if the out-of-bed state is the in-bed state, the adjustment module adjusts the inflation and deflation of the multiple air bags; if the out-of-bed state is the out-of-bed state, the adjustment module stops adjusting the inflation and deflation of the multiple air bags.
6. A method for detecting when leaving bed, It is characterized in that The method is performed by the bed leaving detection system according to any one of claims 1 to 5, comprising: Get weight information; The out-of-bed state is determined according to the weight information.
7. The method according to claim 6, It is characterized in that Determining the out-of-bed state according to the weight information includes: If the weight information is greater than or equal to the set threshold, the out-of-bed state is changed to the in-bed state; If the weight information is less than the set threshold, the out-of-bed state is considered as the out-of-bed state.
8. A bed leaving detection device, It is characterized in that include: A weight information acquisition module is used to acquire weight information; The out-of-bed state determination module is used to determine the out-of-bed state according to the weight information.
9. An electronic device, It is characterized in that The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the bed leaving detection method according to any one of claims 6 and 7.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the bed exit detection method according to any one of claims 6 and 7 when executed.
