Excrement detection method and device

By using visible light reflected signal detection technology in nursing equipment, the problem of how to timely judge the wearer's excretion behavior is solved, and timely detection of excrement and efficient replacement of nursing equipment is achieved.

CN118859348BActive Publication Date: 2025-05-16JIANGXI ZHIERSHUANG HIGH-TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410896571.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2025-05-16
Estimated Expiration
2044-07-05

AI Technical Summary

Technical Problem

How to determine whether the wearer has excretion behavior in a timely manner, especially for people who are unable to take care of themselves, to ensure that caregivers can change nursing equipment in a timely manner.

Method used

By installing a detection device in the nursing equipment, visible light is emitted by the emitting device, and the intensity of the visible light reflection signal received by the receiving device is determined whether there is excretion behavior.

Benefits of technology

Timely detection of excrement is achieved, reducing the uncertainty of nursing staff on the wearer's excretion situation and improving nursing efficiency and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118859348B_ABST
    Figure CN118859348B_ABST
Patent Text Reader

Abstract

The present application provides a method and device for detecting excrement, the method comprising: calling a transmitting device to emit visible light; if a receiving device receives a visible light reflection signal, an output result is determined according to the intensity of the visible light reflection signal, and the output result includes whether there is excrement. In this way, the excrement can be detected according to the intensity of the visible light reflection signal obtained after visible light irradiation, so that the caregiver can know the excretion situation of the wearer in time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the general field of data processing technology, and in particular to a method and device for detecting excrement. Background Art

[0002] Children, the elderly and other people who cannot take care of themselves cannot handle their excrement by themselves and need caregivers to handle it. Therefore, caregivers generally need to wear care equipment, such as diapers, etc. In order for caregivers to replace care equipment in time, caregivers need to know the excretion of the wearer in time. Therefore, how to determine whether the wearer has excreted is a technical problem that needs to be solved in this field. Summary of the invention

[0003] The present application provides an excrement detection method and device, which can determine whether there is excretion behavior by the intensity of the visible light reflection signal obtained after visible light is irradiated to the excretion position.

[0004] In a first aspect, the present application provides an excrement detection method, which is applied to a detection device, the detection device includes a transmitting device and a receiving device, and the method includes:

[0005] Calling the transmitting device to emit visible light;

[0006] If the receiving device receives a visible light reflection signal, an output result is determined according to the intensity of the visible light reflection signal, and the output result includes whether there is excrement.

[0007] It can be seen that in the present application, the detection of excrement can be achieved according to the intensity of the visible light reflection signal obtained after visible light irradiation, so that the caregiver can know the excretion situation of the wearer in time.

[0008] In a feasible example, the detection device is installed in the nursing device. Before calling the transmitting device to emit visible light, the method also includes: performing initial reflection zeroing on the transmitting device and the receiving device according to the device corresponding to the target position in the nursing device, and the target position is the position irradiated by the visible light emitted by the transmitting device.

[0009] In the present application, the initial reflection zeroing of the transmitting device and the receiving device is performed through the irradiation position of the visible light emitted by the transmitting device, so as to facilitate the subsequent detection equipment to compare and analyze the detection results.

[0010] In a feasible example, the emitting device includes multiple sub-emitting devices, which are respectively used to emit visible light of different colors. Calling the emitting device to emit visible light includes: within an emission cycle corresponding to the emitting device, multiple times calling at least one of the multiple sub-emitting devices to emit visible light, wherein there are differences between the at least one sub-emitting device called each time.

[0011] In the present application, by calling at least one of the multiple sub-emitting devices to emit visible light multiple times, visible light of multiple colors can be obtained, thereby improving the accuracy of determining the output result through the visible light reflection signal.

[0012] In a feasible example, determining the output result according to the intensity of the visible light reflection signal includes: determining multiple voltage signals according to the visible light reflection signals corresponding to multiple visible lights emitted by the emission device in an emission cycle; and determining the output result according to the multiple voltage signals.

[0013] In the present application, the output result is determined by multiple voltage signals determined by visible light reflection signals corresponding to multiple visible lights, which can improve the accuracy of determining the output result.

[0014] In a feasible example, before determining the output result based on the intensity of multiple voltage signals, the method also includes: acquiring multiple training data, each of the multiple training data including historical voltage signal data and the visible light color corresponding to the historical voltage signal data and information on whether excrement exists; performing initial model training based on the multiple training data to obtain an excrement detection model after training; determining the output result based on the multiple voltage signals, including: inputting the multiple voltage signals and the visible light color corresponding to each voltage signal into the excrement detection model to obtain the output result.

[0015] In the present application, the output result is determined by multiple voltage signals and the visible light color corresponding to each voltage signal, which can improve the accuracy of the output result.

[0016] In a feasible example, the excrement includes feces and urine; the output result is determined according to the intensity of multiple voltage signals, including: calculating the weighted average of the multiple voltage signals according to the weight corresponding to each voltage signal in the multiple voltage signals to obtain the target voltage signal, the weight corresponding to each voltage signal is determined according to the wavelength of visible light corresponding to each voltage signal, the shorter the wavelength of visible light corresponding to the voltage signal, the higher the weight corresponding to the voltage signal; if it is determined that the target voltage signal is in the first voltage interval, the output result is determined to be the presence of urine; if it is determined that the target voltage signal is in the second voltage interval, the output result is determined to be the presence of feces, and the maximum value of the second voltage interval is less than the minimum value of the first voltage interval.

[0017] In the present application, the shorter the wavelength of the visible light corresponding to the voltage signal is, the higher the weight for weighted average calculation is, which can improve the accuracy of the output result.

[0018] In a feasible example, the output result also includes the color of the feces or urine. The color of the feces or urine is determined according to the interval of the voltage signal corresponding to the visible light reflection signal. The higher the color depth of the feces or urine, the lower the voltage of the feces or urine.

[0019] In the present application, different colors of stool or urine are determined according to different voltage signal intervals, thereby improving the intelligence of excrement detection.

[0020] In a second aspect, the present application provides an excrement detection device, which is applied to a detection device, the detection device includes a transmitting device and a receiving device, and the device includes:

[0021] A transmitting unit, used for calling a transmitting device to transmit visible light;

[0022] If the receiving device receives a visible light reflection signal, the processing unit is used to determine an output result according to the intensity of the visible light reflection signal, and the output result includes whether there is excrement.

[0023] In a third aspect, the present application provides an electronic device comprising a processor, a memory, and a communication interface. The processor, the memory, and the communication interface are interconnected and perform communication with each other. The memory stores executable program code, the communication interface is used for wireless communication, and the processor is used to call the executable program code stored in the memory to execute, for example, some or all of the steps described in any method of the first aspect.

[0024] In a fourth aspect, the present application provides a computer-readable storage medium, in which electronic data is stored. When the electronic data is executed by a processor, it is used to execute the electronic data to implement some or all of the steps described in the first aspect of the present application.

[0025] In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the present application. The computer program product may be a software installation package. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] 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 only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0027] Figure 1 A schematic diagram of the structure of an excrement detection system provided in an embodiment of the present application;

[0028] Figure 2 A schematic diagram of a process for detecting excrement provided in an embodiment of the present application;

[0029] Figure 3 A topological diagram of a visible light signal transmission circuit provided in an embodiment of the present application;

[0030] Figure 4 A topological diagram of a visible light signal receiving circuit provided in an embodiment of the present application;

[0031] Figure 5 A diagram of an application scenario of an excrement detection device provided in an embodiment of the present application;

[0032] Figure 6 Another application scenario diagram of the excrement detection device provided in the embodiment of the present application;

[0033] Figure 7 A block diagram of the functional units of an excrement detection device provided in an embodiment of the present application;

[0034] Figure 8 A block diagram of the functional units of another excrement detection device provided in an embodiment of the present application;

[0035] Fig. 9 A structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0036] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0037] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps is not limited to the listed steps, but optionally includes steps that are not listed, or optionally includes other steps inherent to these processes, methods, products or devices.

[0038] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0039] See also Figure 1 , Figure 1 A schematic diagram of the structure of an excrement detection system provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the excrement detection system 100 includes a nursing device 110 , a detection device 120 , an alarm device 130 and a terminal device 140 , and the detection device 120 includes a transmitting device 121 and a receiving device 122 .

[0040] The detection device 120 can be installed on the nursing device 110, which can be a wearable nursing device such as a diaper. The detection device 120 includes a transmitter 121 for transmitting visible light, and after being reflected by the nursing device 110, the visible light reflection signal is received by the receiver 122. The detection device 120 can also be connected to the alarm device 130 or the terminal device 140.

[0041] The alarm device 130 is used to receive the control signal of the detection device 120. Generally, when the detection device 120 detects that the wearer corresponding to the nursing device 110 has excretion behavior, it will send a control signal to the alarm device 130 for the alarm device 130 to alarm, or the detection device 120 can also send detection information to the terminal device 140 alone or simultaneously. Similarly, the alarm device 130 can also be connected to the terminal device 140, and when the alarm device 130 generates an alarm behavior, it can also send alarm information to the terminal device 140.

[0042] The detection device 120 may also be indirectly connected to the terminal device 140 through a cloud server, that is, the detection device 120 connects to the cloud server and uploads the detection information to the cloud server. The cloud server may forward the detection information of the detection device 120 to the terminal device 140 after receiving it, or the terminal device 140 may view the detection information of the detection device 120 on the cloud server. The terminal device 140 may be a desktop computer, a laptop computer, a tablet computer, a smart phone, etc.

[0043] Specifically, the detection device 120 calls the transmitting device 121 to emit visible light. If the receiving device 122 in the detection device 120 receives a visible light reflection signal, an output result is determined according to the visible light reflection signal, and the output result includes whether there is excrement. In this way, the detection of excrement is achieved by the intensity of the reflection signal obtained by visible light irradiation, and the detection result is not easily affected by other factors such as farting, thereby improving the accuracy of excrement detection.

[0044] Based on this, an embodiment of the present application provides an excrement detection method, and the embodiment of the present application is described in detail below in conjunction with the accompanying drawings.

[0045] See also Figure 2 , Figure 2 A schematic diagram of a flow chart of a method for detecting excrement provided in an embodiment of the present application, wherein the method is applied to the above-mentioned detection device, such as Figure 2 As shown, the method comprises the following steps:

[0046] Step S201, calling the emitting device to emit visible light.

[0047] Among them, the visible light can be one of the three colors of RGB. The wavelength of visible light is shorter than that of infrared light, and its penetration is weaker, but its reflection effect is stronger. The intensity of the reflection signal obtained after irradiation with visible light is greater than the intensity of the reflection signal obtained after irradiation with infrared light. And because the transmitting device can be installed in the nursing equipment, and the nursing equipment may be a wearable device that is in contact with human skin, the effect of visible light irradiation on human skin is lower than the effect of infrared irradiation on human skin.

[0048] Specifically, in a feasible embodiment, the detection device is installed in the nursing device. Before calling the transmitting device to emit visible light, the method also includes: performing initial reflection zeroing on the transmitting device and the receiving device according to the device corresponding to the target position in the nursing device, and the target position is the position irradiated by the visible light emitted by the transmitting device.

[0049] The nursing device may be a wearable device, such as diapers, underwear, etc. Before calling the transmitting device to emit visible light, it is necessary to call the transmitting device and the receiving device to perform initial reflection zeroing on the position to be irradiated. For example, the receiving and transmitting chip windows can be covered with the irradiated position corresponding to the diaper, so as to perform initial reflection zeroing according to the processor (single-chip microcomputer) corresponding to the transmitting device and the receiving device.

[0050] In the present application, the initial reflection zeroing of the transmitting device and the receiving device is performed through the irradiation position of the visible light emitted by the transmitting device, so as to facilitate the subsequent detection equipment to compare and analyze the detection results.

[0051] Specifically, in a feasible embodiment, the emitting device includes multiple sub-emitting devices, and the multiple sub-emitting devices are respectively used to emit visible light of different colors. Calling the emitting device to emit visible light includes: within an emission cycle corresponding to the emitting device, multiple times calling at least one of the multiple sub-emitting devices to emit visible light, wherein there are differences between the at least one sub-emitting device called each time.

[0052] Among them, the sub-emitting device called each time may be single or multiple, and there are differences between the sub-emitting devices called each time. When there are multiple sub-emitting devices called, some of the sub-emitting devices may be the same between the sub-emitting devices called multiple times, but not all of the sub-emitting devices called multiple times are the same. And because each sub-emitting device is used to emit visible light of different colors, a new color of visible light will be formed when two or more sub-emitting devices are called at the same time to emit visible light. The difference in visible light color means the difference in visible light wavelength, and the corresponding visible light reflection intensity will also be different. Multiple calls to at least one sub-emitting device among multiple sub-emitting devices to emit visible light can form visible light of multiple colors exceeding the number of sub-emitting devices. It can be understood that the multiple described in this application refers to two or more.

[0053] Exemplarily, if there are three sub-emitting devices, including sub-emitting device 1, sub-emitting device 2 and sub-emitting device 3 respectively, and sub-emitting device 1, sub-emitting device 2 and sub-emitting device 3 respectively emit visible light of three colors: red, blue and green. Then, by calling at least one of the three sub-emitting devices to emit visible light multiple times, there may be seven emission modes. They are sub-emitting device 1, sub-emitting device 2, sub-emitting device 3, sub-emitting device 1 combined with sub-emitting device 2, sub-emitting device 1 combined with sub-emitting device 3, sub-emitting device 2 combined with sub-emitting device 3, and sub-emitting device 1, sub-emitting device 2 and sub-emitting device 3 combined. In this way, seven colors of visible light can be obtained, namely red, blue, green, purple (red and blue), yellow (red and green), cyan (blue-green), and white (red, green and blue).

[0054] In the present application, by calling at least one of the multiple sub-emitting devices to emit visible light multiple times, visible light of multiple colors can be obtained, thereby improving the accuracy of determining the output result through the visible light reflection signal.

[0055] Below through Figure 3 The circuit corresponding to the transmitting device of this application is described in detail:

[0056] For example, see Figure 3 , Figure 3 A topological diagram of a visible light signal transmission circuit provided in an embodiment of the present application, such as Figure 3 As shown, it includes capacitor C1, resistor R1, resistor R2, resistor R3, resistor R4, resistor R5, resistor R6, light emitting diode D1, light emitting diode D2, light emitting diode D3, transistor Q1, transistor Q2, transistor Q3. The first port of capacitor C1 is grounded, the second port of capacitor C1 is respectively connected to the power input terminal 304, the first port of resistor R1, the first port of resistor R2 and the first port of resistor R3, the second port of resistor R1 is connected to the first port of light emitting diode D1, the second port of light emitting diode D1 is connected to the collector of transistor Q1, the base of transistor Q1 is connected to the second port of resistor R4, the emitter of transistor Q1 is grounded, the first port of resistor R4 is connected to the first interface 301 of single chip computer; the second port of resistor R2 is connected to the first port of light emitting diode D2 The first and second ports are connected, the second port of the light-emitting diode D2 is connected to the collector of the transistor Q2, the base of the transistor Q2 is connected to the second port of the resistor R5, the emitter of the transistor Q2 is grounded, and the first port of the resistor R5 is connected to the second interface 302 of the single-chip computer; the second port of the resistor R3 is connected to the first port of the light-emitting diode D3, the second port of the light-emitting diode D3 is connected to the collector of the transistor Q3, the base of the transistor Q3 is connected to the second port of the resistor R6, the emitter of the transistor Q3 is grounded, and the first port of the resistor R6 is connected to the third interface 303 of the single-chip computer.

[0057] It can be understood that LED D1, LED D2 and LED D3 can be used to emit red, blue and green visible light respectively, and there is a single-chip microcomputer interface on the circuit corresponding to each LED, which means that the emission of each LED is controlled by the single-chip microcomputer.

[0058] Step S202: If the receiving device receives a visible light reflection signal, an output result is determined according to the intensity of the visible light reflection signal, and the output result includes whether there is excrement.

[0059] The output result may include not only whether there is excrement, but also whether the excrement is stool or urine. When the output result includes the existence of excrement, an alarm or prompt may be given in other ways.

[0060] The current step is described in detail below.

[0061] Specifically, in a feasible embodiment, determining the output result according to the intensity of the visible light reflection signal includes: determining multiple voltage signals according to the visible light reflection signals corresponding to multiple visible lights emitted by the transmitting device in one emission cycle; determining the output result according to the multiple voltage signals.

[0062] Among them, after receiving the visible light reflection signal, the receiving device mainly determines its voltage signal based on the visible light reflection signal, and finally determines the output result based on the voltage signal. Since the transmitting device includes multiple sub-transmitting devices, multiple sub-transmitting devices will emit multiple colors of visible light in one transmission cycle. Since different colors of visible light correspond to different wavelengths, and the wavelength difference between different colors of visible light is also large, it means that the intensity of the visible light reflection signal corresponding to different colors of visible light will also be different. By determining the output result through multiple voltage signals determined by the visible light reflection signals corresponding to multiple visible lights, the accuracy of the determined output result can be higher.

[0063] In the present application, the output result is determined by multiple voltage signals determined by visible light reflection signals corresponding to multiple visible lights, which can improve the accuracy of determining the output result.

[0064] Below through Figure 4 The visible light signal receiving circuit corresponding to the receiving device is specifically described as follows:

[0065] For example, see Figure 4 , Figure 4 A topological diagram of a visible light signal receiving circuit provided in an embodiment of the present application, such as Figure 4As shown, it includes capacitor C2, capacitor C3, capacitor C4, resistor R7, resistor R8 and receiving diode D4, the first port of capacitor C2 is respectively connected to the fourth interface 401 of the single-chip computer, the first port of resistor R7 and the first port of capacitor C3, the second port of capacitor C2 and the second port of resistor R7 are both grounded, the second port of capacitor C3 is connected to the first port of resistor R8 and the first port of receiving diode D4, the second port of resistor R8 is grounded, the second port of receiving diode D4 is connected to the fifth interface 402 of the single-chip computer and the first port of capacitor C4, and the second port of capacitor C4 is grounded. Receiving diode D4 is used to receive visible light reflection signal, the single-chip computer is connected to the circuit through the fourth interface 401 of the single-chip computer, and is used to control receiving diode D4 to receive visible light reflection signal, and output the visible light reflection signal to the single-chip computer through the fifth interface 402 of the single-chip computer, and finally the single-chip computer determines the output result according to the visible light reflection signal.

[0066] The following is a specific description of determining the output result based on multiple voltage signals:

[0067] In a feasible embodiment, before determining the output result based on the intensity of multiple voltage signals, the method also includes: acquiring multiple training data, each of the multiple training data includes historical voltage signal data and the visible light color corresponding to the historical voltage signal data and information on whether excrement exists; performing initial model training based on the multiple training data to obtain an excrement detection model after training; determining the output result based on the multiple voltage signals, including: inputting the multiple voltage signals and the visible light color corresponding to each voltage signal into the excrement detection model to obtain the output result.

[0068] Among them, because different colors of visible light correspond to different wavelengths, the visible light reflection signal intensity obtained after irradiation based on different colors of visible light for the same irradiated object will be different, and thus the obtained voltage signal will also be different. Therefore, determining the output result based on multiple voltage signals is not just comparing multiple voltage signals with a fixed voltage signal to obtain the output result. Instead, it requires a comprehensive analysis based on the visible light color corresponding to each voltage signal.

[0069] Therefore, when acquiring training data, in addition to acquiring historical voltage signal data and information on whether there is excrement, this embodiment also needs to acquire the visible light color corresponding to each historical voltage signal data. So that when performing model training, the impact of visible light color on the output result will also be comprehensively considered. The signal of whether there is excrement can include information on whether there is feces or urine, and the input information of the excrement detection model can include single or multiple, and the output information is a single output result. Finally, multiple voltage signals and the visible light color corresponding to each voltage signal are input into the excrement detection model after training to obtain the output result. The output result includes whether there is excrement, or further includes whether there is feces or urine.

[0070] It can be understood that the output result should correspond to the information whether there is excrement in the training data during training. When the information whether there is excrement in the training data includes the information whether there is defecation or urination, the final output result of the model should also include the information whether there is defecation or urination.

[0071] In the present application, the output result is determined by multiple voltage signals and the visible light color corresponding to each voltage signal, which can improve the accuracy of the output result.

[0072] In addition, in another feasible embodiment, the excrement includes feces and urine; the output result is determined according to the intensity of multiple voltage signals, including: calculating the weighted average of the multiple voltage signals according to the weight corresponding to each voltage signal in the multiple voltage signals to obtain the target voltage signal, the weight corresponding to each voltage signal is determined according to the wavelength of visible light corresponding to each voltage signal, the shorter the wavelength of visible light corresponding to the voltage signal, the higher the weight corresponding to the voltage signal; if it is determined that the target voltage signal is in the first voltage interval, the output result is determined to be the presence of urine; if it is determined that the target voltage signal is in the second voltage interval, the output result is determined to be the presence of feces, and the maximum value of the second voltage interval is less than the minimum value of the first voltage interval.

[0073] Similarly, since the visible light colors corresponding to the multiple voltage signals are different, the sizes of the multiple voltage signals are different, and the output result cannot be determined by a fixed standard. Therefore, in addition to determining the output result according to the excrement detection model, this embodiment can also calculate the weighted average of the multiple voltage signals to obtain a target voltage signal, and finally determine the output result according to the target voltage signal. It can be understood that since the shorter the wavelength of visible light, the stronger the corresponding visible light reflection ability, the higher the intensity of the visible light reflection signal, the larger the voltage signal determined accordingly. If there is excrement at the irradiation position, the greater the change in the intensity of its visible light reflection signal, the higher the corresponding sensitivity. Therefore, when calculating the weighted average, the weight of the voltage signal will be determined according to the size of the wavelength of the visible light corresponding to the voltage signal. When the wavelength of the visible light corresponding to the voltage signal is shorter, the weight of the voltage signal is higher.

[0074] Since urine mainly contains water, inorganic salts, electrolytes, etc., when a person wearing a nursing device urinates, the urine will penetrate into the nursing device or stain the surface of the nursing device. At this time, the urine will absorb part of the visible light, thereby reducing the intensity of the visible light reflection signal, thereby reducing the determined voltage signal. Therefore, the maximum value in the first voltage interval should be less than the value of the voltage signal obtained by irradiation with visible light under normal circumstances. Compared with urine, the composition of feces is more complex. Feces includes undigested food residues, bacteria, water, electrolytes, and a small amount of metabolic waste. Its absorption and scattering characteristics of light are more complex. Compared with urine, feces absorb more significantly in the visible light range. Therefore, if it is determined that the target voltage signal is in the first voltage interval, the output result is determined to be the presence of urine; if it is determined that the target voltage signal is in the second voltage interval, the output result is determined to be feces, and the maximum value of the second voltage interval is less than the minimum value of the first voltage interval. The first voltage interval and the second voltage interval can be determined based on historical data training or based on empirical values.

[0075] In the present application, the shorter the wavelength of the visible light corresponding to the voltage signal is, the higher the weight for weighted average calculation is, which can improve the accuracy of the output result.

[0076] In a feasible embodiment, the output result also includes the color of the feces or urine. The color of the feces or urine is determined according to the interval of the voltage signal corresponding to the visible light reflection signal. The higher the color depth of the feces or urine, the lower the voltage of the feces or urine.

[0077] Among them, the output result includes not only whether there is feces or urine, but also the color of the feces or urine. Generally speaking, the higher the color depth of the object, the stronger the absorption capacity of visible light, the weaker the corresponding visible light reflection signal, and the lower the voltage value determined accordingly. Similarly, the intervals of voltage signals corresponding to different feces colors and the intervals of voltage signals corresponding to different urine colors can be determined based on historical data training or based on empirical values.

[0078] It is understandable that the color of stool or urine can be combined with the above-mentioned excrement detection model and the output result determined according to the target voltage signal. That is, when training the excrement detection model, the color of stool or urine is added to the training data so that the output result can also include the color of stool or urine. The color of stool or urine is determined according to the target voltage signal according to different voltage intervals.

[0079] In the present application, different colors of stool or urine are determined according to different voltage signal intervals, thereby improving the intelligence of excrement detection.

[0080] Below through Figure 5 The application scenarios of the excrement detection device of the present application are specifically described.

[0081] For example, see Figure 5 , Figure 5 An application scenario diagram of an excrement detection device provided in an embodiment of the present application, such as Figure 5 As shown, it includes a side view of a nursing device 110, and the nursing device 110 is a wearable nursing device (diaper), such as Figure 5 As shown, the detection device 120 is installed at the rear side of the nursing device 110, and the visible light emission direction of the detection device 120 is Figure 5 When the wearer wears the nursing device 110 , if excretion occurs, it can be detected by the detection device 120 .

[0082] In another feasible embodiment, the detection device may include multiple detection devices, and the location where each detection device is installed on the nursing device is different, so that each of the multiple detection devices is used for detection at a different location on the nursing device.

[0083] This is because after the wearer puts on the nursing device, there may be distortion in the wear or other reasons that make it difficult to accurately detect excretion behavior at a single position. In this case, using multiple detection devices to detect different positions can improve the accuracy of excrement detection when the detection device is used on the nursing device. And when using a single or multiple detection devices for detection, the situation of irradiation on the skin should be recorded to avoid detecting the presence of excrement based on the visible light reflection signal obtained after the visible light is irradiated on the skin.

[0084] In addition, when at least one detection device among multiple detection devices detects the presence of feces or also detects the color of feces, etc., an alarm and other indications may be made through an alarm device. When a single detection device among multiple detection devices detects the presence of urine or also detects the color of urine, etc., other indications may only be made through an alarm device (such as sending detection information to the terminal device of the caregiver), and no alarm is required. This is because the presence of urine detected by a single detection device may only be a low amount of urine leakage or other situations that do not require timely replacement of diapers. When two or more detection devices among multiple detection devices detect the presence of urine or also detect the color of urine, an alarm and other indications may be made through an alarm device.

[0085] For example, see Figure 6 , Figure 6 Another application scenario diagram of the excrement detection device provided in the embodiment of the present application is as follows: Figure 6 As shown, in the diaper, by emitting visible light, and after the visible light is irradiated to the feces and urine, the reflected signal of the visible light is received. The visible light emission signal will become a voltage signal after reception, and will be processed by the monitoring host, specifically, it will be filtered and amplified, and then the voltage signal will be input to the single-chip microcomputer, which will analyze and process it to determine whether there is feces and urine in the diaper. If there is feces and urine, an alarm and indication will be issued, and the detection information will be sent to the terminal device of the caregiver through the cloud server.

[0086] In addition, in the case of a single detection device, due to the short wavelength of visible light, the reflection effect of visible light is better than that of infrared light, and it is more suitable for detecting excrement through reflected signals. And the transmitting device and the receiving device in the detection device can be integrated into one body and connected as shown in the figure. Figure 5 The device is installed on the back of the diaper, which can detect the excretion behavior of the diaper wearer. However, for urination behavior, if the wearer only leaks a small amount of urine or other situations that do not require timely diaper replacement, it is difficult to detect it with a single detection device.

[0087] Therefore, in another feasible embodiment, the detection device further includes an infrared emitting device and an infrared receiving device, the infrared emitting device can also be integrated with the emitting device and the receiving device in the detection device, the infrared receiving device is installed on the outside of the nursing device corresponding to the irradiation position of the infrared emitting device, and the irradiation position of the infrared emitting device can correspond to the urination position of the wearer when wearing the nursing device. When the presence of urination is detected after the emitting and receiving of visible light by the emitting device and the receiving device in the detection device, infrared rays can be emitted by the infrared emitting device and received by the infrared receiving device, and the amount of urine can be determined according to the signal strength of the infrared rays received by the infrared receiving device. When the voltage corresponding to the received infrared signal is lower than the preset voltage value, it is determined that the amount of urine is large; when the voltage corresponding to the received infrared signal is not lower than the preset voltage value, it is determined that the amount of urine is small.

[0088] It is understandable that when the amount of urine is large, the caregiver can be notified to change the diaper, and when the amount of urine is small, the caregiver can just be reminded, but the caregiver does not need to be notified to change the diaper. The reason why the amount of urine is measured by infrared is that compared with visible light, infrared has strong penetrating power. Urine will disperse after soaking into the diaper, and it is difficult to judge the amount of urine by the visible light reflection signal. The energy attenuation degree after infrared penetrates the diaper can determine the degree of urine soaking into the diaper, thereby judging the amount of urine.

[0089] It can be seen that in the embodiment of the present application, the detection of excrement can be achieved based on the intensity of the visible light reflection signal obtained after visible light irradiation, so that the caregiver can be aware of the wearer's excretion situation in a timely manner.

[0090] In accordance with the above-mentioned embodiments, please refer to Figure 7 , Figure 7 This is a functional unit block diagram of an excrement detection device provided in an embodiment of the present application. The excrement detection device is the above-mentioned detection device or a part of the detection device, such as Figure 7 As shown, the excrement detection device 70 includes:

[0091] The transmitting unit 701 is used to call the transmitting device to transmit visible light;

[0092] If the receiving device receives a visible light reflection signal, the processing unit 702 is used to determine an output result according to the intensity of the visible light reflection signal, and the output result includes whether there is excrement.

[0093] In a feasible embodiment, the detection device is installed in the nursing device, and the processing unit 702 is also used to perform initial reflection zeroing on the transmitting device and the receiving device according to the device corresponding to the target position in the nursing device before the transmitting unit 701 calls the transmitting device to emit visible light, and the target position is the position irradiated by the visible light emitted by the transmitting device.

[0094] In a feasible embodiment, the emitting device includes multiple sub-emitting devices, and the multiple sub-emitting devices are respectively used to emit visible light of different colors. In terms of calling the emitting device to emit visible light, the emitting unit 701 is specifically used to: within an emission cycle corresponding to the emitting device, multiple times call at least one sub-emitting device among the multiple sub-emitting devices to emit visible light, wherein there are differences between the at least one sub-emitting device called each time.

[0095] In a feasible embodiment, in terms of determining the output result based on the intensity of the visible light reflection signal, the processing unit 702 is specifically used to: determine multiple voltage signals based on the visible light reflection signals corresponding to multiple visible lights emitted by the transmitting device in one emission cycle; determine the output result based on the multiple voltage signals.

[0096] In a feasible embodiment, the processing unit 702 is further used to obtain multiple training data before determining the output result according to the intensity of multiple voltage signals, each of the multiple training data includes historical voltage signal data and the visible light color corresponding to the historical voltage signal data and information on whether there is excrement; perform initial model training according to the multiple training data to obtain an excrement detection model after training; when determining the output result according to the multiple voltage signals, the processing unit 702 is specifically used to: input the multiple voltage signals and the visible light color corresponding to each voltage signal into the excrement detection model to obtain the output result.

[0097] In a feasible embodiment, the excrement includes feces and urine; in terms of determining the output result based on the intensity of multiple voltage signals, the processing unit 702 is specifically used to: calculate the weighted average of the multiple voltage signals according to the weight corresponding to each voltage signal in the multiple voltage signals to obtain the target voltage signal, the weight corresponding to each voltage signal is determined according to the wavelength of visible light corresponding to each voltage signal, and the shorter the wavelength of visible light corresponding to the voltage signal, the higher the weight corresponding to the voltage signal; if it is determined that the target voltage signal is in the first voltage interval, then the output result is determined to be the presence of urine; if it is determined that the target voltage signal is in the second voltage interval, then the output result is determined to be the presence of feces, and the maximum value of the second voltage interval is less than the minimum value of the first voltage interval.

[0098] In a feasible embodiment, the output result also includes the color of the feces or urine. The color of the feces or urine is determined according to the interval of the voltage signal corresponding to the visible light reflection signal. The higher the color depth of the feces or urine, the lower the voltage of the feces or urine.

[0099] It can be understood that since the method embodiment and the device embodiment are different presentation forms of the same technical concept, the content of the method embodiment part in this application should be synchronously adapted to the device embodiment part and will not be repeated here.

[0100] In the case of an integrated unit, such as Figure 8 As shown, Figure 8 This is a functional unit block diagram of another excrement detection device 70 provided in an embodiment of the present application. Figure 8 In the embodiment, the excrement detection device 70 includes: a processing module 812 and a communication module 811. The processing module 812 is used to control and manage the actions of the excrement detection device 70, for example, the steps of the transmitting unit 701 and the processing unit 702, and / or other processes for executing the technology described herein. The communication module 811 is used to support the interaction between the excrement detection device 70 and other devices. Figure 8 As shown, the excrement detection device 70 may further include a storage module 813 , and the storage module 813 is used to store program codes and data of the excrement detection device 70 .

[0101] Among them, the processing module 812 can be a processor or a controller, for example, a central processing unit (CPU), a general processor, a digital signal processor (DSP), an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It can implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 811 can be a transceiver, an RF circuit or a communication interface, and the like. The storage module 813 can be a memory.

[0102] Among them, all relevant contents of each scenario involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here. Figure 2 The fecal testing method shown.

[0103] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When a computer instruction or computer program is loaded or executed on a computer, a process or function according to an embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. Computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center containing one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0104] Fig. 9 This is a structural block diagram of an electronic device provided in an embodiment of the present application. Fig. 9 As shown, the electronic device 900 may include one or more of the following components: a processor 901, a memory 902 and a communication interface 903. The processor 901, the memory 902 and the communication interface 903 are interconnected and perform communication work with each other, wherein the memory 902 may store one or more computer programs, and the one or more computer programs may be configured to implement the methods described in the above embodiments when executed by one or more processors 901.

[0105] The processor 901 may include one or more processing cores. The processor 901 uses various interfaces and lines to connect the various parts of the entire electronic device 900, and executes various functions and processes data of the electronic device 900 by running or executing instructions, programs, code sets or instruction sets stored in the memory 902, and calling data stored in the memory 902. Optionally, the processor 901 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 901 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU) and a modem. It can be understood that the above-mentioned modem may not be integrated into the processor 901, and can be implemented separately through a communication chip.

[0106] The memory 902 may include a random access memory (RAM) or a read-only memory (ROM). The memory 902 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 902 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the electronic device 900 during use, etc.

[0107] It is understandable that the electronic device 900 may include more or fewer structural elements than those in the above structural block diagram, for example, a power module, physical buttons, a WiFi (Wireless Fidelity) module, a speaker, a Bluetooth module, a sensor, etc., which are not limited here.

[0108] The electronic device 900 may be a detection device or a part of a detection device.

[0109] An embodiment of the present application provides a computer-readable storage medium, wherein program data is stored in the computer-readable storage medium, and when the program data is executed by a processor, it is used to execute part or all of the steps of any one of the excrement detection methods recorded in the above method embodiments.

[0110] The present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps of any one of the feces detection methods described in the above method embodiments. The computer program product may be a software installation package.

[0111] It should be noted that, for the sake of simplicity, for any of the above-mentioned method embodiments of the excrement detection method, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the present application.

[0112] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "one" does not exclude multiple situations. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0113] A person skilled in the art can understand that all or part of the steps in the various methods of the above-mentioned method embodiments of the excrement detection method can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (English: Read-Only Memory, abbreviated: ROM), a random access memory (English: Random Access Memory, abbreviated: RAM), a disk or an optical disk, etc.

[0114] The embodiments of the present application are introduced in detail above. Specific examples are used herein to illustrate the principle and implementation method of a method and device for detecting excrement of the present application. The description of the above embodiments is only used to help understand the method and its core idea of ​​the present application. At the same time, for a person skilled in the art, according to the idea of ​​a method and device for detecting excrement of the present application, there may be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

[0115] The present application is described with reference to the flowcharts and / or block diagrams of the methods, hardware products, and computer program products of the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0116] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0117] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0118] It can be understood that any product that is controlled or configured to execute the processing method of the flowchart described in the method embodiment of a feces detection method of the present application, such as the terminal and computer program product in the above flowchart, falls within the scope of the related products described in the present application.

[0119] Obviously, those skilled in the art can make various changes and modifications to the excrement detection method and device provided by the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for detecting excrement, characterized in that: The method is applied to a detection device, the detection device includes a transmitting device and a receiving device, and the method includes: Invoking the transmitting device to emit visible light; If the receiving device receives a visible light reflection signal, an output result is determined according to the intensity of the visible light reflection signal, and the output result includes whether there is excrement, and the excrement includes feces and urine; Wherein, the detection device is installed on the nursing device, and the detection device also includes an infrared emitting device and an infrared receiving device, and the infrared receiving device is installed on the outside of the nursing device corresponding to the irradiation position of the infrared emitting device; If the output result includes the presence of urination, calling the infrared emitting device to emit infrared rays; When the voltage corresponding to the infrared ray received by the infrared receiving device is lower than the preset voltage value, a prompt message for changing diapers is sent to the terminal device; When the voltage corresponding to the infrared ray received by the infrared receiving device is not lower than the preset voltage value, a prompt message indicating the presence of urination is sent to the terminal device.

2. The method according to claim 1, characterized in that The emitting device includes a plurality of sub-emitting devices, each of which is used to emit visible light of different colors. The step of calling the emitting device to emit visible light includes: In an emission cycle corresponding to the emission device, at least one of the multiple sub-emitting devices is called multiple times to emit visible light, wherein there is a difference between the at least one sub-emitting device called each time.

3. The method according to claim 2, characterized in that The step of determining an output result according to the intensity of the visible light reflection signal comprises: Determine a plurality of voltage signals according to visible light reflection signals corresponding to a plurality of visible lights emitted by the emitting device in one emission cycle; The output result is determined according to the plurality of voltage signals.

4. The method according to claim 3, characterized in that Before determining the output result according to the strengths of the multiple voltage signals, the method further includes: Acquire a plurality of training data, each of the plurality of training data comprising historical voltage signal data and information on a visible light color corresponding to the historical voltage signal data and whether there is excrement; Performing initial model training according to the plurality of training data to obtain a trained excrement detection model; The step of determining the output result according to the plurality of voltage signals comprises: The multiple voltage signals and the visible light color corresponding to each voltage signal are input into the excrement detection model to obtain the output result.

5. The method according to claim 3, characterized in that: The step of determining the output result according to the strengths of the plurality of voltage signals comprises: Calculating a weighted average value of the multiple voltage signals according to a weight corresponding to each voltage signal in the multiple voltage signals to obtain a target voltage signal, wherein the weight corresponding to each voltage signal is determined according to a wavelength of visible light corresponding to each voltage signal, and the shorter the wavelength of visible light corresponding to the voltage signal, the higher the weight corresponding to the voltage signal; If it is determined that the target voltage signal is in the first voltage interval, determining that the output result is the presence of urination; If it is determined that the target voltage signal is in a second voltage interval, the output result is determined to be the presence of feces, and the maximum value of the second voltage interval is less than the minimum value of the first voltage interval.

6. The method according to any one of claims 3 to 5, characterized in that: The output result also includes the color of the feces or urine, and the color of the feces or urine is determined according to the interval of the voltage signal corresponding to the visible light reflection signal. The higher the color depth of the feces or urine, the lower the voltage of the feces or urine.

7. The method according to claim 1, characterized in that The detection device is installed on the nursing device, and before calling the emitting device to emit visible light, the method further includes: The transmitting device and the receiving device are initially reflectively zeroed according to the device corresponding to the target position in the nursing device, and the target position is the position irradiated by the visible light emitted by the transmitting device.

8. An excrement detection device, characterized in that: The device is applied to a detection device, the detection device comprises a transmitting device and a receiving device, and the device comprises: An emitting unit, used for calling the emitting device to emit visible light; If the receiving device receives a visible light reflection signal, the processing unit is used to determine an output result according to the intensity of the visible light reflection signal, and the output result includes whether there is excrement, and the excrement includes feces and urine; Wherein, the detection device is installed on the nursing device, and the detection device also includes an infrared emitting device and an infrared receiving device, and the infrared receiving device is installed on the outside of the nursing device corresponding to the irradiation position of the infrared emitting device; If the output result includes the presence of urination, the transmitting unit calls the infrared transmitting device to transmit infrared rays; When the voltage corresponding to the infrared ray received by the infrared receiving device is lower than the preset voltage value, a prompt message for changing diapers is sent to the terminal device; When the voltage corresponding to the infrared ray received by the infrared receiving device is not lower than the preset voltage value, a prompt message indicating the presence of urination is sent to the terminal device.

9. An electronic device, characterized in that: The device comprises: A processor, a memory, and a communication interface, wherein the processor, the memory, and the communication interface are connected to each other and perform communication work between them; The memory stores executable program code, and the communication interface is used for wireless communication; The processor is used to call the executable program code stored in the memory to execute the method according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: A computer program for electronic data exchange is stored, wherein the computer program enables a computer to execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Toilet seat device and excrement sensing device

    CN112771233A

  • KR20190131960A