Urine flow detection method, device, medium and toilet
By using a 24G millimeter wave radar-based urine flow detection method in the smart toilet, multi-dimensional information to be analyzed is extracted for feature identification and identification, which solves the problem of low accuracy of urine flow detection and achieves efficient and economical urine flow detection effect.
Patent Information
- Application Number
- CN202211450936.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-18
- Publication Date
- 2025-05-23
- Estimated Expiration
- 2042-11-18
AI Technical Summary
Existing smart toilets have low accuracy in urine flow detection. It is difficult for 24G millimeter-wave radar to accurately distinguish urine flow from other interferences, resulting in low recognition accuracy.
Urine flow detection method based on 24G millimeter wave radar is adopted to generate and collect millimeter wave radar signals in real time, extract information to be analyzed for amplitude, distance, direction and speed, and perform urine flow characteristic identification and timing identification, eliminate abnormal behavior data, and improve detection accuracy.
It improves the accuracy of urine flow detection, avoids unnecessary waste of water resources, enhances the stability and reliability of detection, and reduces costs.
Smart Images

Figure CN115755038B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent detection of sanitary products, and in particular to a urine flow detection method, device, medium and toilet. Background Art
[0002] At present, in the field of smart toilets, people are increasingly advocating the development of diversified functions and contactless use, which has led to the emergence of automatic flushing and heating, urine routine testing, heart rate detection, and automatic flip functions.
[0003] The application of intelligent control by detecting urine flow is still in the window period, and there is no feasible sensing product actually put into the market. Existing smart toilets are mostly in manual, remote control, and timed triggering applications in this regard.
[0004] Taking timed triggering as an example, in the application of urine flow detection, there are often many similar behaviors or complex environmental factors, and the 24G millimeter wave radar itself has low precision and cannot accurately distinguish urine flow from other interferences. The recognition accuracy is low, resulting in the use of similar targets and timed triggering behaviors to achieve the required application requirements.
[0005] However, some high-precision identification radars, such as 60G and 77G radars, have high radar platform costs, which are equivalent to 4-5 times the cost of 24G millimeter-wave radars. In addition, the application areas of 77G radars are limited to automotive applications, and there are uncertainties in the application areas of 60G.
[0006] Therefore, based on 24G millimeter-wave radar, if the accuracy of urine flow behavior detection can be improved, it will have broad application prospects. Summary of the invention
[0007] One of the purposes of the present invention is to provide a urine flow detection method, which aims to solve the defects of the above-mentioned prior art to a certain extent, identify non-urinary behavior, so as to improve the accuracy of urine flow detection and achieve energy saving.
[0008] To achieve the above object, the present invention adopts the following technical solutions:
[0009] The urine flow detection method is based on 24G millimeter wave radar and includes:
[0010] S1, generate millimeter wave radar signals in real time and collect echo signals;
[0011] S2. Extracting information to be analyzed from the echo signal and storing it in multiple frames, wherein the information to be analyzed includes amplitude, distance, direction and speed;
[0012] S3, extract the information to be analyzed within a certain period, perform urine flow feature recognition and time sequence identification in sequence, and determine whether there is a urine flow signal. If so, enter S4, if not, return to S1;
[0013] S4. Output urine flow signal to the controller.
[0014] Furthermore, the urine flow feature recognition sequentially includes: based on the amplitude information in the information to be analyzed, filtering out the information with amplitude intensity higher than the amplitude threshold; based on the distance information in the information to be analyzed, filtering out the information outside the toilet outline range; extracting the information that satisfies the distance from far to near, the speed is high at the beginning and weak at the end, and the direction is towards the toilet, to obtain a suspected urine flow signal.
[0015] Furthermore, the timing identification sequentially includes: screening out suspected urine flow signals whose duration is less than a first duration threshold; dividing the suspected urine flow signals into stable strong urine flow signals and intermittent weak urine flow signals according to a second duration threshold, and confirming the suspected urine flow signal as a urine flow signal when a strong urine flow signal exists and the accumulated duration of the weak urine flow signal is greater than a third duration threshold.
[0016] Furthermore, S3 also includes abnormal behavior data elimination, and the abnormal behavior data includes at least one of the following situations: non-water flow information behavior that appears within the toilet contour range and the frequency of occurrence exceeds a first preset frequency, information of flushing signals obtained from the controller, and water flow information behavior that fluctuates inside and outside the toilet contour range and the fluctuation frequency exceeds a second preset frequency.
[0017] Furthermore, in S1, two millimeter-wave radar signals are generated; in S2, the two collected echo signals are converted to obtain spectrum feature data; the spectrum feature data are processed to obtain quantized amplitudes; the maximum point of the quantized amplitude is obtained, and the distance and speed information are obtained through the maximum coordinates and phase difference of the two channels; the results are threshold filtered to remove fixed targets caused by background noise in the no-target state.
[0018] Furthermore, in S1, the parameters corresponding to the preset operating frequency of the millimeter-wave radar are collected and solidified, the temperature data of the RF chip is collected in real time, and the voltage is adjusted in real time according to the temperature-frequency-voltage calibration data, so that the actual operating frequency of the millimeter-wave radar remains at the preset operating frequency.
[0019] Another object of the present invention is to provide a urine flow detection device, which includes: a signal transceiver module, used to control the signal transmission and echo signal collection of the millimeter wave radar; an echo signal processing module, used to extract information to be analyzed from the echo signal and store it in multiple frames, wherein the information to be analyzed includes amplitude, distance, direction and speed; a urine flow signal recognition module, used to extract information to be analyzed within a certain period, perform urine flow feature recognition and time sequence identification in sequence, and determine whether there is a urine flow signal; an output module, used to output the urine flow signal to the controller.
[0020] Furthermore, the device also includes an abnormal behavior elimination module, which is an independent updateable module for eliminating abnormal behavior data before the urine flow signal recognition module recognizes the urine flow signal.
[0021] Another object of the present invention is to provide a computer-readable storage medium, wherein the computer-readable storage medium includes one or more program instructions, and when the one or more program instructions are executed, the method as described above is implemented.
[0022] Another object of the present invention is to provide a toilet, including a toilet body, a flushing component, a millimeter wave radar, a processor, a memory and a controller, wherein the memory stores a computer program, the computer program is loaded and executed by the processor to implement the method as described above, and the controller is used to control the flushing of the flushing component.
[0023] After adopting the above technical solution, the present invention has the following advantages compared with the background technology:
[0024] 1. The present invention collects information to be analyzed from multiple dimensions such as amplitude, distance, direction and speed, so as to accurately identify urine flow characteristics. After obtaining a suspected urine flow signal through urine flow characteristic identification, the present invention further performs time sequence identification to determine whether it is a real urination behavior, thereby avoiding interference from similar behaviors such as pouring water, improving the accuracy of urine flow detection, and avoiding unnecessary waste of water resources.
[0025] 2. The present invention also identifies and removes abnormal behavior data to further improve the accuracy of detection;
[0026] 3. The present invention also uses temperature monitoring to ensure that the millimeter-wave radar always works in a preset frequency band, thereby avoiding interference from the bathroom temperature and outputting a stable millimeter-wave radar signal;
[0027] 4. The abnormal behavior elimination module of the present invention is an independent and updateable module, which works independently of other modules. It is more convenient to learn and upgrade later, will not affect the framework of the original detection algorithm, and has better stability. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1It is a schematic diagram of the urine flow detection process of the present invention;
[0029] Figure 2 It is a schematic diagram of the urine flow characteristic recognition process of the present invention;
[0030] Figure 3 Schematic diagram of the process of extracting information to be analyzed in the present invention
[0031] Figure 4 It is a schematic diagram of the temperature compensation process of the present invention;
[0032] Figure 5 Schematic diagram of the module topology of the present invention. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, it should be noted that:
[0034] The terms "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc. are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element of the present invention must have a specific orientation, and therefore cannot be understood as a limitation of the present invention.
[0035] When an element is referred to as being “fixed to” or “disposed on” or “provided on” another element, it may be directly on the other element or indirectly on the other element. When an element is referred to as being “connected to” another element, it may be directly connected to the other element or indirectly connected to the other element.
[0036] Unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the invention can be understood according to specific circumstances.
[0037] Example
[0038] Please refer to Figure 1 As shown, the present invention discloses a urine flow detection method, which is implemented based on 24G millimeter wave radar and includes:
[0039] S1, generate millimeter wave radar signals in real time and collect echo signals;
[0040] S2. Extracting information to be analyzed from the echo signal and storing it in multiple frames, wherein the information to be analyzed includes amplitude, distance, direction and speed;
[0041] S3, extract the information to be analyzed within a certain period, perform urine flow feature recognition and time sequence identification in sequence, and determine whether there is a urine flow signal. If so, enter S4, if not, return to S1;
[0042] S4. Output urine flow signal to the controller.
[0043] Thus, the present application can identify urine flow signals from multiple dimensions by extracting information to be analyzed including amplitude, distance, direction and speed from echo signals within a certain period (such as 30 seconds), so as to distinguish them from water flow signals and improve accuracy. In addition, after urine flow feature recognition, time sequence identification is also performed to further improve accuracy.
[0044] Please refer to Figure 2 As shown, specifically, in this embodiment, urine flow feature recognition first includes amplitude information recognition. When the radar signal detects water, the amplitude strength of the feedback signal will be significantly lower than that of solids and human bodies. By using the amplitude strength, information that is obviously different from the amplitude strength of the water flow signal can be picked out (for example: objects such as people, machines, curtains, etc.), and the remaining information is used to identify the water flow information. Therefore, this embodiment sets an amplitude threshold to filter out information with an amplitude strength higher than the amplitude threshold.
[0045] Secondly, the range of the data filtered by amplitude intensity is standardized. Specifically, when a person urinates, the water flows accurately into the trough in a standardized manner. Therefore, the distance information obtained by ranging and the size of the toilet are used to limit the range to the inside of the ceramic body of the toilet, and the information outside the range is not used. That is, according to the distance information in the information to be analyzed, the information outside the contour range of the toilet is filtered out.
[0046] Finally, through the range specification, we can obtain similar water flow information in the ceramic body, but the information at this time is only water flow information, not urine flow information. Based on the urine flow information generated by people when they urinate, it is a water flow from far to near, with a strong initial shot speed and gradually weakening at the end. Therefore, by obtaining the distance and speed change information, we can get the suspected urine flow signal that occurred in this time period by the trend of moving from far to near, high speed at the beginning and weak at the end, and moving in the direction of the toilet.
[0047] After obtaining a suspected urine flow signal, further timing identification is required to determine whether it is a real urination behavior and to avoid interference from behaviors such as pouring water.
[0048] First, according to big data, the normal time for a person to urinate is 15s-1min. Through the time sequence method, the water flow behavior below the first time threshold can be eliminated as the water pouring behavior, and the water flow behavior above the first time threshold can be allowed to pass. In this embodiment, the first time threshold is set to 10s, that is, the suspected urine flow signal with a duration of less than 10S is screened out.
[0049] Secondly, during the urination process, people will shake, so environmental interference is an inevitable problem.
[0050] Specifically, in order to meet the application frequency band requirements of 24G-24.25GHz, the frequency modulated continuous wave (FMCW) method cannot meet the application scenario. It has a 60cm blind spot, and the ranging accuracy reaches 30cm per unit. In the bathroom environment, there are inherent disadvantages. Therefore, in this application, the frequency shift keying (FSK) method is adopted, and the signal bandwidth is 30MHz, which meets the application frequency band requirements of 24G-24.25GHz, and has a ranging function. Under the condition of accurate phase, the ranging accuracy can reach within 10cm. Compared with the continuous wave (CW) method, it not only has an additional ranging function, but also can obtain accurate travel direction and speed information in the case of one receiving antenna. However, the corresponding frequency shift keying (FSK) method has disadvantages for multi-target detection, and the water flow information may be obscured by strong targets of the same frequency.
[0051] Therefore, in the present application, when determining the timing, the situation of the robbed target must be specially identified. Therefore, in the urine flow information, the urine flow is also divided into two types, namely, a stable strong urine flow signal and a weak urine flow signal, by a timing method and a second duration threshold. The stable strong urine flow signal is used to confirm the accuracy of the urination behavior, and the intermittent weak urine flow signal is used to extend the detection time.
[0052] The continuous stable strong urine flow signal and the weak urine flow signal can be customized. For example, in this embodiment, the second duration threshold is set to 0.5S, then the stable urine flow signal is defined as a water column whose duration is greater than 0.5S, and the intermittent weak urine flow signal is defined as a duration less than 0.5S.
[0053] A stable strong urine flow signal is a necessary condition, and a weak urine flow signal ensures the time series accumulation. When there is a strong urine flow signal, and the accumulated time series of the weak urine flow signal is greater than the third time length threshold (the third time length threshold is set to 10s in this embodiment), the suspected urine flow signal is confirmed as a urine flow signal, and the urination behavior is determined to be established. In this way, when the flow interruption time exceeds 5s, an alarm signal is sent to the controller, so as to end the urination and flush in time.
[0054] In a preferred embodiment, abnormal behavior data is also eliminated in S3 to further improve accuracy.
[0055] Specifically, in some examples, the abnormal behavior data may include one of the following situations:
[0056] Wiping and cleaning toilet behaviors, that is, non-water flow information behaviors that appear within the toilet contour range and whose occurrence frequency exceeds a first preset frequency;
[0057] Toilet flushing water flow information, that is, when the toilet is flushed, water will be sprayed out to clean the inside, and this behavior will last for 5-10 seconds. It can be eliminated by giving a flushing signal through the controller or control center;
[0058] Bathing behavior: Because there are many toilets that do not separate wet and dry areas, people will inevitably face the toilet during bathing. However, it is impossible for people to bathe above the toilet, so a lot of water will also fall outside the toilet. This type of repeated water flow information can be used to eliminate such behavior and avoid false triggering. That is, the water flow information behavior where the fluctuation occurs inside and outside the toilet contour and the fluctuation frequency exceeds the second preset frequency.
[0059] In this way, through the above method, when the national frequency band standards are met and the radar platform accuracy is not enough, highly accurate urine flow recognition can be completed based on the frequency domain and time domain information fed back by 24G millimeter waves, while eliminating interference from some common behaviors and interferences in the bathroom, thus realizing a low-cost application solution.
[0060] In a preferred embodiment, the millimeter wave radar signal in S1 is two-way, that is, it generates two frequency points (such as 24.125Ghz and 24.155Ghz), and is transmitted through the transmitting antenna, and the receiving antenna obtains the feedback signal, performs op amp gain and interception, and collects the echo signal of the post-op amp through the ADC. The collected echo signal data is stored until a chirp is reached, and the urine flow signal is identified by the above method.
[0061] If so, please refer to Figure 3 As shown in FIG. 1 , in S2, the two echo signals (intermediate frequency signals) collected are subjected to 256-point Hanning window and 256-point FFT Fourier transform to obtain spectrum feature data. The spectrum feature data is processed to obtain the quantized amplitude. The maximum point of the quantized amplitude is obtained, and the distance and speed information are obtained through the maximum coordinates and phase difference of the two channels. The result is threshold filtered to remove the fixed targets caused by the background noise in the targetless state to improve the detection accuracy.
[0062] The bathroom is a relatively closed small space. Bathing (such as hot water shower) and indoor behavior (such as turning on the bathroom heater or heating) will affect the indoor temperature. The temperature change will affect the stability of the radar work, and then affect the subsequent urine flow detection. Obviously, this is not realized in the prior art. Therefore, in a more preferred embodiment of the present application, the millimeter wave radar signal generated in step S1 is temperature compensated.
[0063] For more information, see Figure 4 As shown, the parameters corresponding to the preset operating frequency of the millimeter wave radar (such as the aforementioned 24.125Ghz and 24.155GHz) are collected and solidified. In this way, by collecting the temperature data of the RF chip in real time, the voltage is adjusted in real time according to the data calibrated in advance according to the temperature-frequency-voltage, so that the actual operating frequency of the millimeter wave radar remains at the preset operating frequency.
[0064] To sum up, on the basis of multi-dimensional urine flow signal recognition, this application also identifies and eliminates abnormal behavior data to improve detection efficiency and further improve detection accuracy; and in the process of radar signal generation, through temperature monitoring, the millimeter-wave radar always works in a preset frequency band to avoid interference from bathroom temperature and output a stable millimeter-wave radar signal; therefore, this application can promote 24G millimeter-wave radar in the field of urine flow detection, avoid interference from common non-toilet behaviors such as environmental interference, pouring water, people brushing teeth and washing faces at close range, hanging towels, etc., and improve detection accuracy.
[0065] Another object of the present invention is to provide a urine flow detection device, which includes a signal transceiver module, an echo signal processing module, information to be analyzed and a urine flow signal recognition module.
[0066] Among them, the signal transceiver module is used to control the signal transmission and echo signal collection of the millimeter wave radar. The echo signal processing module is used to extract the information to be analyzed from the echo signal and store it in multiple frames. The information to be analyzed includes amplitude, distance, direction and speed. The urine flow signal recognition module is used to extract the information to be analyzed within a certain period, perform urine flow feature recognition and time sequence identification in turn, and determine whether there is a urine flow signal. The output module is used to output the urine flow signal to the controller.
[0067] In a preferred embodiment, the device further comprises an abnormal behavior elimination module, which is an independent updateable module for eliminating abnormal behavior data before the urine flow signal recognition module recognizes the urine flow signal.
[0068] The abnormal behavior elimination module of the present invention is an independent and updateable module, which works independently of other modules. It is more convenient to learn and upgrade later, will not affect the framework of the original detection algorithm, and has better stability.
[0069] The specific details of the implementation process of the functions and effects of each module in the above-mentioned device can be found in the implementation process of the corresponding steps in the above-mentioned method, which will not be repeated here.
[0070] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can refer to the partial description of the method embodiments. The device embodiments described above are merely schematic, wherein the components described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, and may be located in one place or distributed over multiple modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution. Those of ordinary skill in the art can understand and implement it without creative work.
[0071] Accordingly, please refer to Figure 5 As shown, another object of the present invention is to provide a toilet, including a toilet body, a flushing assembly, a millimeter wave radar, a processor, a memory and a controller.
[0072] The toilet body, flushing assembly and controller are prior art and are not described in detail here. The toilet can be a toilet or urinal or other carrier that can be used for urination. The flushing assembly can be a built-in assembly or an external assembly, and this application does not impose specific restrictions on it. The controller is used to control the flushing assembly to flush water.
[0073] The millimeter wave radar is a 24G millimeter wave radar, which is arranged on the detection window of the toilet. The memory stores a computer program, and the computer program is loaded and executed by the processor to implement the above method.
[0074] Accordingly, another object of the present invention is to provide a computer-readable storage medium, wherein the computer-readable storage medium includes one or more program instructions, and when the one or more program instructions are executed, the method as described above is implemented.
[0075] It should be understood by those skilled in the art that embodiments of the present invention may be provided as methods, apparatus, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. Computer-usable storage media include permanent and non-permanent, removable and non-removable media, and information storage may be implemented by any method or technology. Information may be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include but are not limited to: phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0076] The present invention is described with reference to flowcharts and / or block diagrams of methods, apparatuses, and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as a combination of 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 process in the flowchart. 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.
[0077] 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.
[0078] 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. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0079] It should be noted that in the claims, any reference signs placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claim. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.
[0080] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0081] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
[0082] In the description of the present invention, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0083] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0084] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0085] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. 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 invention. In this specification, the schematic representation of the above terms should not be understood as necessarily referring 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. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0086] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. Urine flow detection method, based on 24G millimeter wave radar, It is characterized in that include: S1, generate millimeter wave radar signals in real time and collect echo signals; S2. Extracting information to be analyzed from the echo signal and storing it in multiple frames, wherein the information to be analyzed includes amplitude, distance, direction and speed; S3, extracting the information to be analyzed within a certain period, and performing urine flow feature recognition and time sequence identification in sequence; The urine flow feature recognition includes: according to the amplitude information in the information to be analyzed, filtering out the information whose amplitude intensity is higher than the amplitude threshold; according to the distance information in the information to be analyzed, filtering out the information outside the toilet contour range; extracting the information that satisfies the distance from far to near, the speed is high at the beginning and weak at the end, and the direction is toward the toilet, to obtain the suspected urine flow signal; Perform time sequence identification on the suspected urine flow signal to determine whether there is a urine flow signal, if yes, proceed to S4, if no, return to S1; S4. Output urine flow signal to the controller.
2. The urine flow detection method according to claim 1, It is characterized in that The timing identification includes in sequence: screening out suspected urine flow signals whose duration is less than a first duration threshold; dividing the suspected urine flow signals into stable strong urine flow signals and intermittent weak urine flow signals according to a second duration threshold, and confirming the suspected urine flow signal as a urine flow signal when a strong urine flow signal exists and the accumulated duration of the weak urine flow signal is greater than a third duration threshold.
3. The urine flow detection method according to claim 1, It is characterized in that S3 also includes the elimination of abnormal behavior data, and the abnormal behavior data includes at least one of the following situations: non-water flow information behavior that appears within the toilet contour range and the frequency of occurrence exceeds the first preset frequency, information of the flushing signal obtained from the controller, and water flow information behavior that fluctuates inside and outside the toilet contour range and the fluctuation frequency exceeds the second preset frequency.
4. The urine flow detection method according to claim 1, Features: In S1, two millimeter-wave radar signals are generated; In S2, the two echo signals collected are converted to obtain spectrum feature data; the spectrum feature data are processed to obtain quantized amplitude; the maximum point of the quantized amplitude is obtained, and the distance and speed information are obtained through the maximum value coordinates and phase difference of the two paths; The result is threshold filtered to remove fixed targets caused by background noise in the target-free state.
5. The urine flow detection method according to claim 1, Features: In S1, the parameters corresponding to the preset operating frequency of the millimeter-wave radar are collected and solidified, the temperature data of the RF chip is collected in real time, and the voltage is adjusted in real time according to the temperature-frequency-voltage calibration data, so that the actual operating frequency of the millimeter-wave radar remains at the preset operating frequency.
6. A urine flow detection device, It is characterized in that Used to implement the method according to any one of claims 1 to 5, comprising: Signal transceiver module, used to control the signal transmission and echo signal collection of millimeter wave radar; An echo signal processing module is used to extract information to be analyzed from the echo signal and store it in multiple frames, wherein the information to be analyzed includes amplitude, distance, direction and speed; The urine flow signal recognition module is used to extract the information to be analyzed within a certain period, perform urine flow feature recognition and time sequence identification in sequence, and determine whether there is a urine flow signal; The output module is used to output urine flow signals to the controller.
7. A urine flow detection device as claimed in claim 6, Features: It also includes an abnormal behavior elimination module, which is an independent updateable module used to eliminate abnormal behavior data before the urine flow signal recognition module recognizes the urine flow signal.
8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium comprises one or more program instructions, and when the one or more program instructions are executed, the method according to any one of claims 1 to 5 is implemented.
9. A toilet, comprising a toilet body, a flushing assembly, a millimeter wave radar, a processor, a memory and a controller, It is characterized in that The memory stores a computer program, which is loaded and executed by the processor to implement the method according to any one of claims 1 to 5. The controller is used to control the flushing of the flushing assembly.
Citation Information
Patent Citations
Health monitoring closestool based on urine total amount analysis
CN113668655A
Male urine flushing control method and device based on microwave induction
CN114575427A