A method and device for detecting faults of massage components of a smart bed
By detecting the relative size of the flow value and expected value of the smart bed massage component, and automatically judge and diagnose faults, the problem that the smart bed massage component cannot automatically detect faults is solved, and automatic fault diagnosis and timely repair of each component is achieved.
Patent Information
- Application Number
- CN202310078738.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-16
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2043-01-16
AI Technical Summary
The massage components of existing smart beds cannot automatically detect faults, resulting in failures not being discovered and repaired in time.
By obtaining the air outlet flow value of the air pump and the air inlet flow value of the target airbag when the massage mode of the smart bed is turned on, comparing the relative sizes of these values to the expected value, and determining whether the air pipe and solenoid valve on the corresponding air intake passage of the air pump, massage controller and airbag have malfunctioned.
It realizes automatic fault diagnosis of various components of smart bed massage components, can promptly detect and repair faults, and improves the reliability and service life of the equipment.
Smart Images

Figure CN116183264B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of smart beds, and specifically relates to a massage component fault detection method and device for a smart bed. Background Art
[0002] With the popularization and promotion of smart beds, beds with built-in massage functions are gradually becoming popular. At present, smart massage beds are still mainly in the form of airbags. The massage module of the current smart bed with built-in airbag massage includes air pumps, multiple airbags, massage controllers, and air pipes and solenoid valves on the air intake paths corresponding to each airbag. Since the solenoid valves and airbags are built into the mattress and cannot be disassembled, it is very important to perform fault detection on the various components of the massage module. Summary of the invention
[0003] In order to solve the technical problem that the various components of the current smart bed massage assembly cannot automatically detect faults, a smart bed massage assembly fault detection method and device are proposed to achieve automatic fault detection of the various components of the smart bed massage assembly.
[0004] In a first aspect of the present application, a method for detecting a fault of a massage component of a smart bed is provided, wherein the massage component includes an air pump, a plurality of air bags, a massage controller, and an air pipe and a solenoid valve on an air intake passage corresponding to each air bag, and the method includes:
[0005] When any massage mode of the smart bed is turned on, obtaining the air outlet flow value of the air pump;
[0006] Determining whether the air pump and the massage controller are faulty according to the relative size of the air outlet flow value of the air pump and the corresponding expected air outlet flow value;
[0007] Under the condition that the air pump and the massage controller are not faulty, obtaining the air inlet flow value of the target airbag required to be activated in the current massage mode;
[0008] According to the relative size of the air inlet flow value of the target airbag and the corresponding expected air inlet flow value, it is determined whether the air pipe and the solenoid valve on the air inlet passage corresponding to the target airbag are faulty.
[0009] In some embodiments, determining whether the air pump and the massage controller are faulty based on the relative size of the air outlet flow value of the air pump and the corresponding expected air outlet flow value includes:
[0010] Determine the relative size of the air outlet flow value of the air pump and the corresponding expected air outlet flow value;
[0011] If the air outlet flow rate value of the air pump is greater than or equal to the corresponding expected air outlet flow rate value, it is determined that neither the air pump nor the massage controller has a fault;
[0012] If the air outlet flow rate value of the air pump is less than the corresponding expected air outlet flow rate value, it is determined that the air pump and / or the massage controller has failed.
[0013] In some embodiments, if the air outlet flow value of the air pump is less than the corresponding expected air outlet flow value, the relative size of the air outlet flow value of the air pump in the current massage mode and zero is determined:
[0014] If the air outlet flow value of the air pump is greater than or equal to zero, it is determined that the air pump is faulty;
[0015] If the air outlet flow value of the air pump is less than zero, it is determined that the air pump is faulty or the controller is faulty.
[0016] In some embodiments, determining whether an air pipe and a solenoid valve on an air inlet passage corresponding to the target airbag are faulty according to a relative size of an air inlet flow value of the target airbag and a corresponding expected air inlet flow value includes:
[0017] Determining the relative magnitude of the air inlet flow value of the target airbag and the corresponding expected air inlet flow value;
[0018] If the air inlet flow rate value of the target airbag is greater than the corresponding expected air inlet flow rate value, it is determined that the air pipe and the solenoid valve on the air inlet passage corresponding to the target airbag are normal;
[0019] If the air inlet flow value of the target airbag is less than the corresponding expected air inlet flow value, it is determined that there is a fault in the air pipe or the solenoid valve on the air inlet passage corresponding to the target airbag.
[0020] In some embodiments, if the air inlet flow value of the target airbag is less than the corresponding expected air inlet flow value, determining the relative size of the air inlet flow value of the target airbag to zero;
[0021] If the air inlet flow value of the target airbag is greater than zero, it is determined that the air pipe on the air inlet passage corresponding to the target airbag is leaking or the solenoid valve is not fully opened;
[0022] If the air inlet flow value of the target airbag is less than zero, it is determined that a solenoid valve on the air inlet passage corresponding to the target airbag is faulty.
[0023] In some embodiments, the expected air outlet flow rate value is the minimum air outlet flow rate value when the air pump is operating normally;
[0024] The expected air inlet flow value of the target airbag to be activated in each massage mode is the minimum air inlet flow value when the target airbag starts to be inflated in the corresponding massage mode.
[0025] In a second aspect of the present application, a massage component fault detection device for a smart bed is provided, wherein the massage module includes an air pump, a plurality of air bags, a massage controller, and air pipes and solenoid valves on air intake passages corresponding to the air bags, and the device includes:
[0026] A monitoring module, used for obtaining the air outlet flow value of the air pump when any massage mode of the smart bed is turned on;
[0027] A first diagnostic module, for determining whether the air pump and the massage controller are faulty according to the relative magnitude of the air outlet flow value of the air pump and the corresponding expected air outlet flow value;
[0028] The monitoring module is further used to obtain the air inlet flow value of the target airbag to be activated according to the current massage mode when the air pump and the massage controller are not faulty;
[0029] The second diagnostic module is used to determine whether the air pipe and the solenoid valve on the air intake passage corresponding to the target airbag are faulty according to the relative size of the air intake flow value of the target airbag and the corresponding expected air intake flow value.
[0030] A third aspect of the present application provides a storage medium, which stores a computer program that can be executed by one or more processors to implement the massage component fault detection method for the smart bed as described above.
[0031] The fourth aspect of the present application provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the memory and the processor are communicatively connected to each other. When the computer program is executed by the processor, the massage component fault detection method of the smart bed as described above is implemented.
[0032] The fifth aspect of the present application provides a smart bed, comprising: the electronic device as described above; and a smart bed body, wherein the smart bed body includes a massage component.
[0033] Compared with the prior art, the technical solution of the present application, when detecting the activation of any massage mode of the smart bed massage component, determines whether the air pump and the massage controller are faulty by detecting the air outlet flow value of the air pump, and determines whether the air pipe and the solenoid valve on the air inlet passage corresponding to the target airbag are faulty by detecting the air inlet flow value of the target airbag required to be activated in the current massage state. In this way, automatic fault diagnosis of each component of the massage component is realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in the relevant field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0035] Figure 1 A flow chart of a method for detecting a fault in a massage component of a smart bed provided in Embodiment 1 of the present application;
[0036] Figure 2 A flow chart of a method for detecting a fault in a massage component of a smart bed provided in Embodiment 2 of the present application;
[0037] Figure 3 A schematic diagram of the structure of a massage component fault detection decoration of a smart bed provided in Example 3 of the present application;
[0038] Figure 4 This is a connection block diagram of the electronic device provided in Example 4 of the present application. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0040] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0041] If similar descriptions of "first\second\third" appear in the application documents, the following instructions are added. In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0043] Embodiment 1
[0044] The present embodiment provides a method for detecting faults in a massage module of a smart bed, wherein the method is used to detect faults in a massage module of a massage bed, wherein the massage module includes an air pump, a plurality of air bags, a massage controller, and air pipes and solenoid valves on air intake passages corresponding to the air bags. Figure 1 This is a flow chart of a method for detecting a massage component fault of a smart bed provided in the first embodiment. Figure 1 As shown, the method of this embodiment includes:
[0045] Step S1, when any massage mode of the smart bed is turned on, obtain the air outlet flow value of the air pump.
[0046] Step S2, determining whether the air pump and the massage controller are faulty based on the relative size of the air outlet flow value of the air pump and the corresponding expected air outlet flow value.
[0047] Specifically, the expected air outlet flow rate value is the air outlet flow rate value when the air pump is operating normally.
[0048] For example, a flow monitoring sensor is provided at the air pump outlet of the smart bed massage component to collect in advance the minimum air outlet flow value when the air pump is working normally, and the collected minimum air outlet flow value is stored as the expected air outlet flow value.
[0049] In some embodiments, step S2 includes:
[0050] Determine the relative size of the air outlet flow value of the air pump and the corresponding expected air outlet flow value;
[0051] If the air outlet flow rate value of the air pump is greater than or equal to the corresponding expected air outlet flow rate value, it is determined that neither the air pump nor the massage controller has a fault;
[0052] If the air outlet flow rate value of the air pump is less than the corresponding expected air outlet flow rate value, it is determined that the air pump and / or the massage controller has failed.
[0053] Step S3, when the air pump and the massage controller are not faulty, obtaining the air inlet flow value of the target airbag required to be activated in the current massage mode;
[0054] Step S4, determining whether the air pipe and the solenoid valve on the air intake passage corresponding to the target airbag are faulty according to the relative size of the air intake flow value of the target airbag and the corresponding expected air intake flow value.
[0055] Specifically, the expected air inlet flow value of the target airbag to be activated in each massage mode is the minimum air inlet flow value when the target airbag starts to be inflated in the corresponding massage mode.
[0056] For example, a flow monitoring sensor is set at the air inlet of each airbag of the smart bed massage module to collect the minimum air inlet flow value of each airbag when it starts to be inflated in different massage modes in advance. The collected minimum air inlet flow value is used as the expected air inlet flow value of the target airbag in the corresponding massage mode.
[0057] In some embodiments, step S4 includes:
[0058] Determining the relative magnitude of the air inlet flow value of the target airbag and the corresponding expected air inlet flow value;
[0059] If the air inlet flow rate value of the target airbag is greater than the corresponding expected air inlet flow rate value, it is determined that the air pipe and the solenoid valve on the air inlet passage corresponding to the airbag are normal;
[0060] If the air inlet flow value of the target airbag is less than the corresponding expected air inlet flow value, it is determined that there is a fault in the air pipe or the solenoid valve on the air inlet passage corresponding to the target airbag.
[0061] The technical solution of this embodiment, when detecting any massage mode of the smart bed massage component, determines whether the air pump and the massage controller are faulty by detecting the relative size of the air pump outlet flow value and the corresponding expected air outlet flow value; and when the air pump and the massage controller are not faulty, obtains the air inlet flow value of the target airbag required to be activated in the current massage mode; and determines the working state of the air pipe and the solenoid valve on the air inlet passage corresponding to the target airbag according to the relative size of the air inlet flow value of the target airbag and the corresponding expected air inlet flow value. In this way, automatic fault diagnosis of the massage component is realized.
[0062] Embodiment 2
[0063] The present embodiment provides a method for detecting faults in a massage component of a smart bed, wherein the massage component includes an air pump, a plurality of air bags, a massage controller, and air pipes and solenoid valves on air intake passages corresponding to the air bags. Figure 2 This is a flow chart of a method for detecting a massage component fault of a smart bed provided in the second embodiment. Figure 2 As shown, the method of this embodiment includes:
[0064] Step S1, when any massage mode of the smart bed is turned on, obtain the air outlet flow value of the air pump.
[0065] Step S2, determining whether the air pump and the massage controller have failed based on the relative size of the air outlet flow value of the air pump and the corresponding expected air outlet flow value.
[0066] Specifically, the expected air outlet flow rate value is the air outlet flow rate value when the air pump is operating normally.
[0067] For example, a flow monitoring sensor is provided at the air pump outlet of the massage component of the smart bed, and the minimum air outlet flow value when the air pump is working normally is collected in advance, and the collected minimum air outlet flow value is stored as the expected air outlet flow value.
[0068] In some embodiments, step S2 includes:
[0069] Determine the relative size of the air outlet flow value of the air pump and the corresponding expected air outlet flow value;
[0070] If the air outlet flow rate value of the air pump is greater than or equal to the corresponding expected air outlet flow rate value, it is determined that neither the air pump nor the massage controller has a fault;
[0071] If the air outlet flow rate value of the air pump is less than the corresponding expected air outlet flow rate value, it is determined that the air pump and / or the massage controller has failed.
[0072] Step S3, when the air pump and the massage controller are not faulty, obtaining the air inlet flow value of the target airbag required to be activated in the current massage mode;
[0073] Step S4, determining whether the air pipe and the solenoid valve on the air intake passage corresponding to the target airbag are faulty according to the relative size of the air intake flow value of the target airbag and the corresponding expected air intake flow value.
[0074] Specifically, the expected air inlet flow value of the target airbag to be activated in each massage mode is the minimum air inlet flow value when the target airbag starts to be inflated in the corresponding massage mode.
[0075] For example, a flow monitoring sensor is set at the air inlet of each airbag of the smart bed massage module to collect the minimum air inlet flow value of each airbag when it starts to be inflated in different massage modes in advance. The collected minimum air inlet flow value is used as the expected air inlet flow value of the corresponding airbag in the corresponding massage mode.
[0076] In some embodiments, step S4 includes:
[0077] Determine the relative size of the air inlet flow value of the target airbag to be activated in the current massage mode and the corresponding expected air inlet flow value;
[0078] If the air inlet flow rate value of the target airbag is greater than the corresponding expected air inlet flow rate value, it is determined that the air pipe and the solenoid valve on the air inlet passage corresponding to the airbag are normal;
[0079] If the air inlet flow value of the target airbag is less than the corresponding expected air inlet flow value, it is determined that there is a fault in the air pipe or the solenoid valve on the air inlet passage corresponding to the target airbag.
[0080] The technical solution of this embodiment, when detecting any massage mode of the smart bed massage component, determines whether the air pump and the massage controller are faulty by detecting the relative size of the air pump outlet flow value and the corresponding expected air outlet flow value; and when the air pump and the massage controller are not faulty, obtains the air inlet flow value of the target airbag required to be started in the current massage mode; and determines whether the air pipe and the solenoid valve on the air inlet passage corresponding to the target airbag are faulty according to the relative size of the air inlet flow value of the target airbag and the corresponding expected air inlet flow value. In this way, automatic fault diagnosis of each component of the massage component is realized.
[0081] In some embodiments, if the air outlet flow rate value of the air pump is less than the corresponding expected air outlet flow rate value, the relative size of the air outlet flow rate value of the air pump in the current massage mode and zero is determined:
[0082] If the air outlet flow value of the air pump is greater than or equal to zero, it is determined that the air pump is faulty;
[0083] If the air outlet flow value of the air pump is less than zero, it is determined that the air pump is faulty or the controller is faulty.
[0084] In some embodiments, if the air inlet flow value of the target airbag to be activated in the current massage mode is less than the corresponding expected air inlet flow value, the relative size of the air inlet flow value of the target airbag to be activated in the current massage mode and zero is determined;
[0085] If the air inlet flow value of the target airbag is greater than zero, it is determined that the air pipe on the air inlet passage corresponding to the target airbag is leaking or the solenoid valve is not fully opened;
[0086] If the air inlet flow value of the target airbag is less than zero, it is determined that a solenoid valve on the air inlet passage corresponding to the target airbag is faulty.
[0087] The technical solution of this embodiment, under the premise of judging that the air pump and / or massage controller have failed by detecting the relative size of the air pump outlet flow value and the corresponding expected air outlet flow value, further accurately judges whether the air pump has failed or the massage controller has failed, or whether both the air pump and the massage controller have failed, according to the relative size of the air pump outlet flow value and zero in the current massage mode. In addition, under the premise of determining that the air pipe or the solenoid valve on the air inlet passage corresponding to the air bag has failed according to the relative size of the air inlet flow value of the target air bag required to be started in the current massage mode and the corresponding expected air inlet flow value, further accurately judges whether the air pipe on the air inlet passage corresponding to the target air bag is leaking, the solenoid valve is not fully opened, or the solenoid valve is faulty according to the relative size of the air inlet flow value of the target air bag required to be started in the current massage mode and zero. In this way, automatic fault diagnosis of each component of the massage assembly is achieved.
[0088] Embodiment 3
[0089] This embodiment provides a massage component fault detection device for a smart bed, the device is used to detect faults in a massage component of a massage bed, the massage component includes an air pump, multiple air bags, a massage controller, and air pipes and solenoid valves on the air intake passages corresponding to the air bags. This system embodiment can be used to execute the method embodiment of this application. For details not disclosed in this system embodiment, please refer to the method embodiment of this application. Figure 3 A schematic diagram of a structure of a massage component fault detection device for a smart bed provided in an embodiment of the present application, such as Figure 3 As shown, the device provided in this embodiment includes:
[0090] The monitoring module 210 is used to collect the flow value of the air outlet of the air pump and the flow value of the air inlet of each air bag.
[0091] Specifically, the detection module 220 includes a first flow monitoring sensor arranged at the air outlet of the air pump of the smart bed massage module, and a second flow monitoring sensor arranged at the air inlet of each air bag of the smart bed massage module.
[0092] The first flow monitoring sensor is used to collect the flow value of the air outlet of the air pump.
[0093] The second flow monitoring sensor is used to collect the air inlet flow value of each airbag.
[0094] The detection module 220 is used to detect whether the massage mode of the massage module is turned on.
[0095] The first diagnostic module 230 is used to obtain the air outlet flow value of the air pump when any massage mode of the smart bed is turned on, and when it is detected that the massage mode of the massage module is turned on, determine whether the air pump and the massage controller are faulty based on the relative size of the current air outlet flow value of the air pump and the corresponding expected air outlet flow value.
[0096] Specifically, the expected air outlet flow rate value is the air outlet flow rate value when the air pump is operating normally.
[0097] For example, the first flow monitoring sensor collects in advance the minimum flow value of the air outlet when the air pump works normally, and stores the collected minimum flow value of the air outlet as the expected air outlet flow value.
[0098] In some embodiments, the first diagnostic module 230 is used to obtain the air outlet flow value of the air pump when any massage mode of the smart bed is turned on, and to determine the relative size of the air outlet flow value of the air pump and the corresponding expected air outlet flow value; if the current air outlet flow value of the air pump is greater than or equal to the corresponding expected air outlet flow value, it is determined that both the air pump and the massage controller are not faulty; if the current air outlet flow value of the air pump is less than the corresponding expected air outlet flow value, it is determined that the air pump and / or the massage controller are faulty.
[0099] The second diagnostic module 240 is used to obtain the air inlet flow value of the target airbag required to be activated according to the current massage mode when there is no failure in the air pump and the massage controller, and determine the working status of the air pipe and the solenoid valve on the air inlet passage corresponding to the airbag required to be activated in the current massage mode based on the relative size of the air inlet flow value of the target airbag and the corresponding expected air inlet flow value.
[0100] Specifically, the expected air inlet flow value of the target airbag to be activated in each massage mode is the minimum air inlet flow value when the target airbag starts to be inflated in the corresponding massage mode.
[0101] For example, the second flow monitoring sensor collects in advance the expected air inlet flow value of the target airbag to be activated in each massage mode as the minimum air inlet flow value when the target airbag starts to be inflated in the corresponding massage mode.
[0102] In some embodiments, the second diagnostic module 240 obtains the air inlet flow value of the target airbag to be started according to the current massage mode, if the air pump and the massage controller are not faulty, and determines the air pipe and the solenoid valve on the air inlet passage corresponding to the target airbag to be started based on the relative size of the air inlet flow value of the target airbag and the corresponding expected air inlet flow value; if the air inlet flow value of the target airbag to be started in the current massage mode is greater than or equal to the corresponding expected air inlet flow value, it is determined that the air pipe and the solenoid valve on the air inlet passage corresponding to the target airbag are normal; if the air inlet flow value of the target airbag to be started in the current massage mode is less than the corresponding expected air inlet flow value, it is determined that the air pipe or the solenoid valve on the air inlet passage corresponding to the target airbag is faulty.
[0103] In the technical solution of this embodiment, when the detection module 220 detects the massage mode of the smart bed massage module, the first diagnostic module 230 determines whether the air pump and the massage controller are faulty by detecting the relative size of the air pump outlet flow value and the corresponding expected air outlet flow value. When the detection result of the first determination module is that the air pump and the controller are not faulty, the second diagnostic module 240 determines whether the air pipe and the solenoid valve on the air intake passage corresponding to the target airbag required to be activated in the current massage mode are faulty based on the relative size of the air intake flow value of the target airbag required to be activated in the current massage mode and the corresponding expected air intake flow value. In this way, automatic fault diagnosis of each component of the massage module is achieved.
[0104] In some embodiments, the first diagnostic module 230 is also used to determine the relative size of the air outlet flow value of the air pump and zero in the current massage mode when it is determined that the air outlet flow value of the air pump is less than the corresponding expected air outlet flow value: if the air outlet flow value of the air pump is greater than zero, it is determined that the air pump is faulty; if the air outlet flow value of the air pump is less than zero, it is determined that the air pump is faulty or the controller is faulty.
[0105] In some embodiments, the second diagnostic module 240 is also used to determine the relative size of the air inlet flow value of the target airbag to be activated in the current massage mode and zero when it is determined that the air inlet flow value of the target airbag to be activated in the current massage mode is less than the corresponding expected air inlet flow value; if the air inlet flow value of the target airbag to be activated in the current massage mode is greater than zero, it is determined that the trachea on the air inlet passage corresponding to the airbag is leaking or the solenoid valve is not fully opened; if the air inlet flow value of the target airbag to be activated in the current massage mode is less than zero, it is determined that the solenoid valve on the air inlet passage corresponding to the target airbag is faulty.
[0106] In the technical solution of this embodiment, when the first diagnostic module 230 preliminarily determines that the air pump and / or massage controller have a fault according to the relative size of the current air outlet flow value of the air pump and the corresponding expected air outlet flow value, it further accurately determines whether the air pump has a fault or the massage controller has a fault, or whether both the air pump and the massage controller have a fault according to the relative size of the air outlet flow value of the air pump in the current massage mode and zero. In addition, when the second diagnostic module 240 preliminarily determines that the air pipe or the solenoid valve on the air inlet passage corresponding to the target air bag has a fault according to the relative size of the air inlet flow value of the target air bag to be started in the current massage mode and the corresponding expected air inlet flow value, it further accurately determines whether the air pipe on the air inlet passage corresponding to the target air bag is leaking, the solenoid valve is not fully opened, or the solenoid valve is faulty according to the relative size of the air inlet flow value of the target air bag to be started in the current massage mode and zero. In this way, automatic fault diagnosis of each component of the massage assembly is achieved.
[0107] Embodiment 4
[0108] This embodiment further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the method steps in the above embodiment can be implemented, and this embodiment will not be repeated here.
[0109] Among them, the computer-readable storage medium may also include computer programs, data files, data structures, etc. alone, or include a combination thereof. The computer-readable storage medium or computer program may be specifically designed and understood by a technician in the field of computer software, or the computer-readable storage medium may be known and available to a technician in the field of computer software. Examples of computer-readable storage media include: magnetic media, such as hard disks, floppy disks, and tapes; optical media, such as CDROM disks and DVDs; magneto-optical media, such as optical disks; and hardware devices, specifically configured to store and execute computer programs, such as read-only memory (ROM), random access memory (RAM), flash memory; or servers, app application stores, etc. Examples of computer programs include machine code (e.g., code generated by a compiler) and files containing high-level code, which can be executed by a computer using an interpreter. The described hardware device may be configured to be used as one or more software modules to perform the operations and methods described above, and vice versa. In addition, the computer-readable storage medium may be distributed in a networked computer system, and program code or computer programs may be stored and executed in a decentralized manner.
[0110] In some implementations, when the computer program of this embodiment is executed by a processor, the following method steps may be implemented:
[0111] Step S1, when any massage mode of the smart bed is turned on, obtain the air outlet flow value of the air pump.
[0112] Step S2, determining whether the air pump and the massage controller have failed based on the relative size of the air outlet flow value of the air pump and the corresponding expected air outlet flow value.
[0113] Specifically, the expected air outlet flow rate value is the air outlet flow rate value when the air pump is operating normally.
[0114] For example, a flow monitoring sensor is provided at the air pump outlet of the massage component of the smart bed, and the minimum air outlet flow value when the air pump is working normally is collected in advance, and the collected minimum air outlet flow value is stored as the expected air outlet flow value.
[0115] In some embodiments, step S2 includes:
[0116] Determine the relative size of the air outlet flow value of the air pump and the corresponding expected air outlet flow value;
[0117] If the air outlet flow rate value of the air pump is greater than or equal to the corresponding expected air outlet flow rate value, it is determined that neither the air pump nor the massage controller has a fault;
[0118] If the air outlet flow rate value of the air pump is less than the corresponding expected air outlet flow rate value, it is determined that the air pump and / or the massage controller has failed.
[0119] Step S3, when the air pump and the massage controller are not faulty, obtaining the air inlet flow value of the target airbag required to be activated in the current massage mode;
[0120] Step S4, determining whether the air pipe and the solenoid valve on the air intake passage corresponding to the target airbag are faulty according to the relative size of the air intake flow value of the target airbag and the corresponding expected air intake flow value.
[0121] Specifically, the expected air inlet flow value of the target airbag to be activated in each massage mode is the minimum air inlet flow value when the target airbag starts to be inflated in the corresponding massage mode.
[0122] For example, a flow monitoring sensor is set at the air inlet of each airbag of the smart bed massage module to collect the minimum air inlet flow value of each airbag when it starts to be inflated in different massage modes in advance. The collected minimum air inlet flow value is used as the expected air inlet flow value of the corresponding airbag in the corresponding massage mode.
[0123] In some embodiments, step S4 includes:
[0124] Determine the relative size of the air inlet flow value of the target airbag to be activated in the current massage mode and the corresponding expected air inlet flow value;
[0125] If the air inlet flow rate value of the target airbag is greater than or equal to the corresponding expected air inlet flow rate value, it is determined that the air pipe and the solenoid valve on the air inlet passage corresponding to the airbag are normal;
[0126] If the air inlet flow value of the target airbag is less than the corresponding expected air inlet flow value, it is determined that there is a fault in the air pipe or the solenoid valve on the air inlet passage corresponding to the target airbag.
[0127] The technical solution of this embodiment, when detecting any massage mode of the smart bed massage component, determines whether the air pump and the massage controller are faulty by detecting the relative size of the air pump outlet flow value and the corresponding expected air outlet flow value; and when the air pump and the massage controller are not faulty, obtains the air inlet flow value of the target airbag required to be started in the current massage mode; and determines whether the air pipe and the solenoid valve on the air inlet passage corresponding to the target airbag are faulty according to the relative size of the air inlet flow value of the target airbag and the corresponding expected air inlet flow value. In this way, automatic fault diagnosis of each component of the massage component is realized.
[0128] In some embodiments, if the air outlet flow rate value of the air pump is less than the corresponding expected air outlet flow rate value, the relative size of the air outlet flow rate value of the air pump in the current massage mode and zero is determined:
[0129] If the air outlet flow value of the air pump is greater than or equal to zero, it is determined that the air pump is faulty;
[0130] If the air outlet flow value of the air pump is less than zero, it is determined that the air pump is faulty or the controller is faulty.
[0131] In some embodiments, if the air inlet flow value of the target airbag to be activated in the current massage mode is less than the corresponding expected air inlet flow value, the relative size of the air inlet flow value of the target airbag to be activated in the current massage mode and zero is determined;
[0132] If the air inlet flow value of the target airbag is greater than zero, it is determined that the air pipe on the air inlet passage corresponding to the target airbag is leaking or the solenoid valve is not fully opened;
[0133] If the air inlet flow value of the target airbag is less than zero, it is determined that a solenoid valve on the air inlet passage corresponding to the target airbag is faulty.
[0134] The technical solution of this embodiment, under the premise of judging that the air pump and / or massage controller have failed by detecting the relative size of the air pump outlet flow value and the corresponding expected air outlet flow value, further accurately judges whether the air pump has failed or the massage controller has failed, or whether both the air pump and the massage controller have failed, according to the relative size of the air pump outlet flow value and zero in the current massage mode. In addition, under the premise of determining that the air pipe or the solenoid valve on the air inlet passage corresponding to the air bag has failed according to the relative size of the air inlet flow value of the target air bag required to be started in the current massage mode and the corresponding expected air inlet flow value, further accurately judges whether the air pipe on the air inlet passage corresponding to the target air bag is leaking, the solenoid valve is not fully opened, or the solenoid valve is faulty according to the relative size of the air inlet flow value of the target air bag required to be started in the current massage mode and zero. In this way, automatic fault diagnosis of each component of the massage assembly is achieved.
[0135] Embodiment 5
[0136] Figure 4 A connection block diagram of an electronic device provided in an embodiment of the present application, such as Figure 4 As shown, the electronic device 400 may include: one or more processors 410 , a memory 420 , a multimedia component 430 , an input / output (I / O) interface 440 , and a communication component 450 .
[0137] The processor 410 is used to execute all or part of the steps in the method of embodiment 1 or embodiment 2.
[0138] The memory 420 is used to store various types of data, which may include, for example, instructions of any application or method in the electronic device, and data related to the application.
[0139] The processor 410 can be an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components to execute the methods in the above embodiments.
[0140] The memory 420 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, disk or optical disk.
[0141] The multimedia component 430 may include a screen and an audio component, the screen may be a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone, and the microphone is used to receive external audio signals. The received audio signal may be further stored in a memory or sent via a communication component. The audio component also includes at least one speaker for outputting audio signals.
[0142] The I / O interface 440 provides an interface between the processor 410 and other interface modules, which may be a keyboard, a mouse, buttons, etc. These buttons may be virtual buttons or physical buttons.
[0143] The communication component 450 is used for wired or wireless communication between the electronic device 400 and other devices.
[0144] Wired communication includes communication through network ports, serial ports, etc.; wireless communication includes: Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, 5G, or one or a combination of them. Therefore, the corresponding communication component 415 may include: Wi-Fi module, Bluetooth module, NFC module.
[0145] In some implementations, when the computer program of this embodiment is executed by a processor, the following method steps may be implemented:
[0146] Step S1, when any massage mode of the smart bed is turned on, obtain the air outlet flow value of the air pump.
[0147] Step S2, determining whether the air pump and the massage controller have failed based on the relative size of the air outlet flow value of the air pump and the corresponding expected air outlet flow value.
[0148] Specifically, the expected air outlet flow rate value is the air outlet flow rate value when the air pump is operating normally.
[0149] For example, a flow monitoring sensor is provided at the air pump outlet of the massage component of the smart bed, and the minimum air outlet flow value when the air pump is working normally is collected in advance, and the collected minimum air outlet flow value is stored as the expected air outlet flow value.
[0150] In some embodiments, step S2 includes:
[0151] Determine the relative size of the air outlet flow value of the air pump and the corresponding expected air outlet flow value;
[0152] If the air outlet flow rate value of the air pump is greater than or equal to the corresponding expected air outlet flow rate value, it is determined that neither the air pump nor the massage controller has a fault;
[0153] If the air outlet flow rate value of the air pump is less than the corresponding expected air outlet flow rate value, it is determined that the air pump and / or the massage controller has failed.
[0154] Step S3, when the air pump and the massage controller are not faulty, obtaining the air inlet flow value of the target airbag required to be activated in the current massage mode;
[0155] Step S4, determining whether the air pipe and the solenoid valve on the air intake passage corresponding to the target airbag are faulty according to the relative size of the air intake flow value of the target airbag and the corresponding expected air intake flow value.
[0156] Specifically, the expected air inlet flow value of the target airbag to be activated in each massage mode is the minimum air inlet flow value when the target airbag starts to be inflated in the corresponding massage mode.
[0157] For example, a flow monitoring sensor is set at the air inlet of each airbag of the smart bed massage module to collect the minimum air inlet flow value of each airbag when it starts to be inflated in different massage modes in advance. The collected minimum air inlet flow value is used as the expected air inlet flow value of the corresponding airbag in the corresponding massage mode.
[0158] In some embodiments, step S4 includes:
[0159] Determine the relative size of the air inlet flow value of the target airbag to be activated in the current massage mode and the corresponding expected air inlet flow value;
[0160] If the air inlet flow rate value of the target airbag is greater than or equal to the corresponding expected air inlet flow rate value, it is determined that the air pipe and the solenoid valve on the air inlet passage corresponding to the airbag are normal;
[0161] If the air inlet flow value of the target airbag is less than the corresponding expected air inlet flow value, it is determined that there is a fault in the air pipe or the solenoid valve on the air inlet passage corresponding to the target airbag.
[0162] The technical solution of this embodiment, when detecting any massage mode of the smart bed massage component, determines whether the air pump and the massage controller are faulty by detecting the relative size of the air pump outlet flow value and the corresponding expected air outlet flow value; and when the air pump and the massage controller are not faulty, obtains the air inlet flow value of the target airbag required to be started in the current massage mode; and determines whether the air pipe and the solenoid valve on the air inlet passage corresponding to the target airbag are faulty according to the relative size of the air inlet flow value of the target airbag and the corresponding expected air inlet flow value. In this way, automatic fault diagnosis of each component of the massage component is realized.
[0163] In some embodiments, if the air outlet flow rate value of the air pump is less than the corresponding expected air outlet flow rate value, the relative size of the air outlet flow rate value of the air pump in the current massage mode and zero is determined:
[0164] If the air outlet flow value of the air pump is greater than or equal to zero, it is determined that the air pump is faulty;
[0165] If the air outlet flow value of the air pump is less than zero, it is determined that the air pump is faulty or the controller is faulty.
[0166] In some embodiments, if the air inlet flow value of the target airbag to be activated in the current massage mode is less than the corresponding expected air inlet flow value, the relative size of the air inlet flow value of the target airbag to be activated in the current massage mode and zero is determined;
[0167] If the air inlet flow value of the target airbag is greater than zero, it is determined that the air pipe on the air inlet passage corresponding to the target airbag is leaking or the solenoid valve is not fully opened;
[0168] If the air inlet flow value of the target airbag is less than zero, it is determined that a solenoid valve on the air inlet passage corresponding to the target airbag is faulty.
[0169] The technical solution of this embodiment, under the premise of judging that the air pump and / or massage controller have failed by detecting the relative size of the air pump outlet flow value and the corresponding expected air outlet flow value, further accurately judges whether the air pump has failed or the massage controller has failed, or whether both the air pump and the massage controller have failed, according to the relative size of the air pump outlet flow value and zero in the current massage mode. In addition, under the premise of determining that the air pipe or the solenoid valve on the air inlet passage corresponding to the air bag has failed according to the relative size of the air inlet flow value of the target air bag required to be started in the current massage mode and the corresponding expected air inlet flow value, further accurately judges whether the air pipe on the air inlet passage corresponding to the target air bag is leaking, the solenoid valve is not fully opened, or the solenoid valve is faulty according to the relative size of the air inlet flow value of the target air bag required to be started in the current massage mode and zero. In this way, automatic fault diagnosis of each component of the massage assembly is achieved.
[0170] Embodiment 5
[0171] This embodiment provides a smart bed, including the electronic device as described in Embodiment 5; and a smart bed body, wherein the smart bed body includes a massage component.
[0172] It should also be understood that the method or system disclosed in the embodiments provided in the present application may also be implemented in other ways. The method or system embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions, and operations of the methods and devices according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram may represent a module, a computer program segment, or a portion of a computer program, and the module, computer program segment, or a portion of a computer program includes one or more computer programs for implementing a specified logical function.
[0173] It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the drawings, may actually be performed substantially in parallel, and may sometimes be performed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flow chart, and combinations of blocks in the block diagram and / or flow chart, may be implemented with a dedicated hardware-based system that performs the specified functions or actions, or may be implemented with a combination of dedicated hardware and computer programs.
[0174] In this application, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements that are inherent to such process, method, article, or apparatus. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, device or equipment including the elements; if there is a description of "first", "second", etc., it is only for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features; in the description of this application, unless otherwise specified, the terms "multiple" and "multiple" mean at least two; if there is a description of a server, it should be noted that the server can be an independent physical server or terminal, or a server cluster composed of multiple physical servers, or a cloud server that can provide basic cloud computing services such as cloud servers, cloud databases, cloud storage and CDN; if there is a description of a smart terminal or mobile device in this application, it should be noted that the smart terminal or mobile device can be a mobile phone, a tablet computer, a smart watch, a netbook, a wearable electronic device, a personal digital assistant (PDA), an augmented reality technology device (AR), a virtual reality device (VR), a smart TV, a smart speaker, a personal computer (PC), a tablet computer, a smart phone, a smart TV, a smart speaker, a smart phone ... Computer, PC), etc., but not limited to this, and the present application does not specifically limit the specific form of the smart terminal or mobile device.
[0175] Finally, it should be noted that, in the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "an example" or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0176] Although the embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary, and the contents described are only embodiments adopted for the convenience of understanding the present application, and are not intended to limit the present application. Any technician in the technical field to which the present application belongs can make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed in the present application, but the scope of protection of the present application shall still be based on the scope defined in the attached claims.
Claims
1. A method for detecting faults in a massage component of an intelligent bed, wherein the massage component comprises an air pump, a plurality of air bags, a massage controller, and air pipes and solenoid valves on air inlet passages corresponding to the air bags, characterized in that: The method comprises: When any massage mode of the smart bed is turned on, obtaining the air outlet flow value of the air pump; Determining whether the air pump and the massage controller are faulty according to the relative size of the air outlet flow value of the air pump and the corresponding expected air outlet flow value; Under the condition that the air pump and the massage controller are not faulty, obtaining the air inlet flow value of the target airbag required to be activated in the current massage mode; According to the relative size of the air inlet flow value of the target airbag and the corresponding expected air inlet flow value, it is determined whether the air pipe and the solenoid valve on the air inlet passage corresponding to the target airbag are faulty.
2. The method according to claim 1, characterized in that: The determining whether the air pump and the massage controller are faulty according to the relative size of the air outlet flow value of the air pump and the corresponding expected air outlet flow value comprises: Determine the relative size of the air outlet flow value of the air pump and the corresponding expected air outlet flow value; If the air outlet flow rate value of the air pump is greater than or equal to the corresponding expected air outlet flow rate value, it is determined that neither the air pump nor the massage controller has a fault; If the air outlet flow rate value of the air pump is less than the corresponding expected air outlet flow rate value, it is determined that the air pump and / or the massage controller has failed.
3. The method according to claim 2, characterized in that If the air outlet flow rate value of the air pump is less than the corresponding expected air outlet flow rate value, the relative size of the air outlet flow rate value of the air pump in the current massage mode and zero is determined: If the air outlet flow value of the air pump is greater than or equal to zero, it is determined that the air pump is faulty; If the air outlet flow value of the air pump is less than zero, it is determined that the air pump is faulty or the controller is faulty.
4. The method according to claim 1, characterized in that: Determining whether an air pipe and a solenoid valve on an air intake passage corresponding to the target airbag are faulty according to a relative size of an air intake flow value of the target airbag and a corresponding expected air intake flow value, including: Determining the relative magnitude of the air inlet flow value of the target airbag and the corresponding expected air inlet flow value; If the air inlet flow rate value of the target airbag is greater than or equal to the corresponding expected air inlet flow rate value, it is determined that the air pipe and the solenoid valve on the air inlet passage corresponding to the target airbag are normal; If the air inlet flow value of the target airbag is less than the corresponding expected air inlet flow value, it is determined that there is a fault in the air pipe or the solenoid valve on the air inlet passage corresponding to the target airbag.
5. The method according to claim 4, characterized in that If the air inlet flow rate value of the target airbag is less than the corresponding expected air inlet flow rate value, determining the relative size of the air inlet flow rate value of the target airbag and zero; If the air inlet flow value of the target airbag is greater than or equal to zero, it is determined that the air pipe on the air inlet passage corresponding to the target airbag is leaking or the solenoid valve is not fully opened; If the air inlet flow value of the target airbag is less than zero, it is determined that a solenoid valve on the air inlet passage corresponding to the target airbag is faulty.
6. The method according to claim 1, characterized in that The expected air outlet flow value is the minimum air outlet flow value of the air pump when it is working normally; The expected air inlet flow value of the target airbag to be activated in each massage mode is the minimum air inlet flow value when the target airbag starts to be inflated in the corresponding massage mode.
7. A massage component fault detection device for an intelligent bed, the massage component comprising an air pump, a plurality of air bags, a massage controller, and air pipes and solenoid valves on the air inlet passages corresponding to the air bags, characterized in that: The device comprises: The first diagnostic module is used to obtain the air outlet flow value of the air pump when any massage mode of the smart bed is turned on; and determine whether the air pump and the massage controller are faulty according to the relative size of the air outlet flow value of the air pump and the corresponding expected air outlet flow value; The second diagnostic module is used to obtain the air inlet flow value of the target airbag required to be activated according to the current massage mode when the air pump and the massage controller are not faulty, and determine whether the air pipe and the solenoid valve on the air intake passage corresponding to the target airbag are faulty based on the relative size of the air inlet flow value of the target airbag and the corresponding expected air inlet flow value.
8. A computer-readable storage medium, characterized in that: The computer program stored in the computer-readable storage medium, when executed by one or more processors, implements the massage component fault detection method for the smart bed as described in any one of claims 1 to 6.
9. An electronic device, characterized in that: It includes a memory and one or more processors, the memory stores a computer program, the memory and the processor are communicatively connected to each other, and when the computer program is executed by the processor, the massage component fault detection method of the smart bed as described in any one of claims 1 to 6 is executed.
10. A smart bed, characterized in that: include: The electronic device as claimed in claim 9; and A smart bed body, wherein the smart bed body comprises a massage component.
Citation Information
Patent Citations
Apparatus for measuring pressure of air bed
CN201149536Y
Insulating gloves simple and easy detection device that leaks gas
CN204964135U