Intelligent public toilet stirring device rotation control method, system, device and medium

By setting up a sensor array in the microbial treatment tank of the smart public toilet to obtain viscosity data of the mixture, a rotation control strategy was formulated, which solved the problem of poor rotation control effect of the stirring device, realized uniform mixing of the mixture and cleaning of dead corners, and improved the treatment effect.

CN120860902BActive Publication Date: 2025-12-16ZHONGYUNHUI (CHENGDU) IOT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511369737.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-09-24
Publication Date
2025-12-16
Estimated Expiration
2045-09-24

AI Technical Summary

Technical Problem

The existing intelligent public toilets have poor rotation control of the mixing device, making it difficult to adapt to different processing needs and resulting in problems such as uneven mixing and dead corners.

Method used

Viscosity data of the mixture is acquired by a sensor array set in the microbial treatment tank. Different rotation control strategies are formulated based on the viscosity data to control the rotation of the stirring device, including first and second rotation control strategies, to clear dead areas until the concentration of the mixture meets the requirements.

Benefits of technology

It improves the mixing effect, reduces the impact of dead zones in the mixing, and ensures the uniformity of the mixture and the processing effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120860902B_ABST
    Figure CN120860902B_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses a stirring device rotation control method, system, equipment and medium of an intelligent public toilet, relates to the technical field of intelligent control, different rotation control strategies are formulated according to different viscosity data to adapt to different processing requirements, which also makes the formation of dead angle areas different, therefore, after the stirring device is controlled to rotate and stir the mixture for a period of time according to the rotation control strategy, the dead angle area is determined according to the actual situation in the microbial treatment tank, then the corresponding rotation control strategy is formulated to control the stirring device to perform stirring work to clean the dead angle area, the influence of the stirring dead angle on the stirring mixing is reduced, the viscosity data detected after cleaning changes, then the rotation control strategy is formulated again according to the changed viscosity data, and the control process is circularly controlled until the concentration of the mixture in the microbial treatment tank meets the mixing requirement, the rotation control of the stirring device is completed, and the effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent control technology, specifically to a method, system, equipment, and medium for controlling the rotation of a stirring device in an intelligent public toilet. Background Technology

[0002] Smart public toilets achieve the harmless treatment of excrement by adding microbial substrate to their microbial treatment tanks. To enhance the treatment effect, a stirring device is usually installed in the microbial treatment tank to ensure that the substrate and excrement are fully mixed. However, the rotation control method of the stirring device is simple and crude, and it often adopts unidirectional stirring control. The stirring effect under this control method is poor, it is difficult to adapt to different treatment needs, and there are problems such as uneven stirring and stirring dead zones. Summary of the Invention

[0003] The main objective of this application is to provide a method, system, equipment, and medium for controlling the rotation of the stirring device in an intelligent public toilet, aiming to solve the problem of poor rotation control effect of the stirring device in the prior art.

[0004] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows:

[0005] In a first aspect, embodiments of this application provide a method for controlling the rotation of a stirring device in an intelligent public toilet, comprising the following steps:

[0006] Viscosity data of the mixture is obtained based on the sensor array set in the microbial treatment tank;

[0007] Based on the viscosity data, determine the first rotation control strategy;

[0008] According to the first rotation control strategy, the stirring device is controlled to perform a first stirring action to rotate and stir the mixture in the microbial treatment tank;

[0009] After the first stirring action has been performed for the first target time, a second rotation control strategy is determined based on the dead zone area of ​​the microbial treatment tank.

[0010] According to the second rotation control strategy, the stirring device is controlled to perform a second stirring action to clean up the dead corner area;

[0011] After the second stirring action has been performed for the second target time, the process returns to the step of acquiring viscosity data of the mixture based on the sensor array set in the microbial treatment tank, until the concentration of the mixture in the microbial treatment tank meets the mixing requirements.

[0012] In one possible implementation of the first aspect, a first rotational control strategy is determined based on viscosity data, including:

[0013] Based on the viscosity data, determine the viscosity value range in which the viscosity data falls;

[0014] Based on the waveform mapping relationship and the viscosity value range where the viscosity data is located, the first rotation control strategy is determined.

[0015] In one possible implementation of the first aspect, a first rotation control strategy is determined based on the waveform mapping relationship and the viscosity value range where the viscosity data is located, including:

[0016] Based on the waveform mapping relationship and the viscosity value range where the viscosity data is located, the first viscosity value range is determined, and the first rotation control strategy based on square wave is determined.

[0017] Based on the waveform mapping relationship and the viscosity value range where the viscosity data is located, the second viscosity value range is determined, and the first rotation control strategy based on the sine wave is determined.

[0018] Based on the waveform mapping relationship and the viscosity value range where the viscosity data is located as the third viscosity value range, the first rotation control strategy based on pulse waves is determined.

[0019] In one possible implementation of the first aspect, a second rotation control strategy is determined based on the dead zone area of ​​the microbial treatment tank, including:

[0020] Determine the location of the dead zone area based on the dead zone area of ​​the microbial treatment tank;

[0021] The second rotation control strategy is determined based on the location of the blind spot area.

[0022] In one possible implementation of the first aspect, before determining the second rotation control strategy based on the dead zone area of ​​the microbial treatment tank after the first stirring action has been performed for a first target time, the method further includes:

[0023] Based on the solid particle distribution data, gas phase concentration distribution data, and liquid phase concentration distribution data in the microbial treatment tank, a multiphase fluid dynamics simulation model of the mixture is constructed.

[0024] Based on the multiphase fluid dynamics simulation model and the geometric model of the microbial treatment tank, the dead zone area of ​​the microbial treatment tank was obtained.

[0025] In one possible implementation of the first aspect, a multiphase fluid dynamics simulation model of the mixture is constructed based on solid particle distribution data, gas phase concentration distribution data, and liquid phase concentration distribution data in the microbial treatment tank, including:

[0026] Based on the solid particle distribution data in the microbial treatment tank, a solid-phase fluid dynamics simulation model is constructed using a depth probability model;

[0027] Based on the gas phase concentration distribution data in the microbial treatment tank, a gas phase fluid dynamics simulation model was constructed using CFD simulation.

[0028] Based on the liquid phase concentration distribution data in the microbial treatment tank, a liquid phase fluid dynamics simulation model was constructed using the Euler framework;

[0029] Based on the solid-phase fluid dynamics simulation model, the gas-phase fluid dynamics simulation model, and the liquid-phase fluid dynamics simulation model, a multiphase fluid dynamics simulation model of the mixture is constructed.

[0030] In one possible implementation of the first aspect, the mixing requirement includes: the concentration of the mixture is higher than a concentration threshold or the maximum concentration difference of the mixture fed back from several consecutive acquisition cycles is less than a difference threshold.

[0031] Secondly, embodiments of this application provide a rotation control system for a stirring device in an intelligent public toilet, comprising:

[0032] A viscosity sensing module is used to acquire viscosity data of the mixture based on a sensor array set in the microbial treatment tank;

[0033] The first determining module is used to determine the first rotation control strategy based on the viscosity data;

[0034] The first control module is used to control the stirring device to perform a first stirring action according to the first rotation control strategy, so as to rotate and stir the mixture in the microbial treatment tank.

[0035] The second determining module is used to determine a second rotation control strategy based on the dead zone area of ​​the microbial treatment tank after the first stirring action has been performed for a first target time.

[0036] The second control module is used to control the stirring device to perform a second stirring action according to the second rotation control strategy, so as to clean the dead corner area;

[0037] The circulation control module is used to return to the sensor array set in the microbial treatment tank after the second stirring action has been performed for the second target time, to obtain the viscosity data of the mixture, until the concentration of the mixture in the microbial treatment tank meets the mixing requirements.

[0038] Thirdly, embodiments of this application provide an electronic device, including a processor and a memory, wherein...

[0039] Memory is used to store computer programs;

[0040] The processor is used to load and execute a computer program to cause the electronic device to perform the stirring device rotation control method for an intelligent public toilet as provided in any of the first aspects above.

[0041] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when loaded and executed by a processor, implements the method for controlling the rotation of the stirring device in an intelligent public toilet as provided in any of the first aspects above.

[0042] Compared with the prior art, the beneficial effects of this application are:

[0043] This application proposes a method, system, device, and medium for controlling the rotation of a stirring device in an intelligent public toilet. The method includes: acquiring viscosity data of a mixture based on a sensor array installed in a microbial treatment tank; determining a first rotation control strategy based on the viscosity data; controlling the stirring device to perform a first stirring action according to the first rotation control strategy to rotate and stir the mixture in the microbial treatment tank; after the first stirring action has been performed for a first target time, determining a second rotation control strategy based on the dead-angle area of ​​the microbial treatment tank; controlling the stirring device to perform a second stirring action according to the second rotation control strategy to clean the dead-angle area; after the second stirring action has been performed for a second target time, returning to the step of acquiring viscosity data of the mixture based on the sensor array installed in the microbial treatment tank, until the concentration of the mixture in the microbial treatment tank meets the mixing requirements. This application uses a sensor array in a microbial treatment tank to comprehensively collect viscosity data of the mixture. Different rotation control strategies are formulated based on different viscosity data to adapt to different processing needs. This also means that the formation of dead zones will vary. Therefore, after the mixing device is controlled to rotate and stir the mixture for a period of time using the rotation control strategy, the dead zones are identified based on the actual situation in the microbial treatment tank. Then, a corresponding rotation control strategy is formulated to control the mixing device to perform stirring to clean up the dead zones, reducing the impact of the dead zones on the mixing. After cleaning, the detected viscosity data will change. Therefore, the rotation control strategy is formulated again based on the changed viscosity data, and the process is cyclically controlled until the concentration of the mixture in the microbial treatment tank meets the mixing requirements, thus completing the rotation control of the mixing device and improving its effectiveness. Attached Figure Description

[0044] Figure 1 This is a schematic diagram of the electronic device structure of the hardware operating environment involved in the embodiments of this application;

[0045] Figure 2 A schematic flowchart illustrating the method for controlling the rotation of the stirring device in an intelligent public toilet according to an embodiment of this application;

[0046] Figure 3 A schematic diagram of the rotating control system of the stirring device in an intelligent public toilet provided in an embodiment of this application;

[0047] The diagram is labeled as follows: 101-Processor, 102-Communication bus, 103-Network interface, 104-User interface, 105-Memory. Detailed Implementation

[0048] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.

[0049] See attached document Figure 1 , attached Figure 1 This is a schematic diagram of the electronic device structure of the hardware operating environment involved in the embodiments of this application. The electronic device may include: a processor 101, such as a central processing unit (CPU), a communication bus 102, a user interface 104, a network interface 103, and a memory 105. The communication bus 102 is used to realize the connection and communication between these components. The user interface 104 may include a display screen and an input unit such as a keyboard. Optionally, the user interface 104 may also include a standard wired interface and a wireless interface. The network interface 103 may optionally include a standard wired interface and a wireless interface (such as a Wi-Fi interface). The memory 105 may be a storage device independent of the aforementioned processor 101. The memory 105 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as at least one disk storage device. The processor 101 may be a general-purpose processor, including a central processing unit, a network processor, etc., or it may be a digital signal processor, an application-specific integrated circuit, a field-programmable gate array or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component.

[0050] Those skilled in the art will understand that the appendix Figure 1 The structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0051] As attached Figure 1 As shown, the memory 105, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and a rotation control system for the stirring device of the smart public toilet.

[0052] In the appendix Figure 1In the electronic device shown, the network interface 103 is mainly used for data communication with the network server; the user interface 104 is mainly used for data interaction with the user; the processor 101 and the memory 105 in this application can be set in the electronic device. The electronic device calls the intelligent public toilet stirring device rotation control system stored in the memory 105 through the processor 101 and executes the intelligent public toilet stirring device rotation control method provided in the embodiment of this application.

[0053] See attached document Figure 2 Based on the hardware device of the foregoing embodiments, embodiments of this application provide a method for controlling the rotation of a stirring device in an intelligent public toilet, comprising the following steps:

[0054] S10: Acquire viscosity data of the mixture based on the sensor array set in the microbial treatment tank.

[0055] In practice, the microbial treatment tank is usually set as a regular rectangular tank, with an array of sensors, such as viscosity sensors, arranged on its walls. The viscosity sensors provide feedback on the viscosity of the mixture at each sensing point.

[0056] S20: Determine the first rotation control strategy based on the viscosity data.

[0057] In the specific implementation process, the different viscosity data reflects the mixing state of the mixture in the microbial treatment tank. Based on the different viscosity data, a rotation control strategy matching the current state of the mixture is determined to improve the control effect of rotation stirring.

[0058] In one embodiment, determining a first rotation control strategy based on viscosity data includes:

[0059] Based on the viscosity data, determine the viscosity value range in which the viscosity data falls;

[0060] Based on the waveform mapping relationship and the viscosity value range where the viscosity data is located, the first rotation control strategy is determined.

[0061] In practical implementation, a rotation control strategy with better matching effect is selected based on the viscosity changes of different mixtures. Viscosity values ​​are divided into intervals; when viscosity data falls within different viscosity value intervals, a corresponding first rotation control strategy based on waveform changes is determined using a waveform mapping relationship. Specifically: the first rotation control strategy is determined based on the waveform mapping relationship and the viscosity value interval where the viscosity data falls, including:

[0062] Based on the waveform mapping relationship and the viscosity value range where the viscosity data is located, the first viscosity value range is determined, and the first rotation control strategy based on square wave is determined.

[0063] Based on the waveform mapping relationship and the viscosity value range where the viscosity data is located, the second viscosity value range is determined, and the first rotation control strategy based on the sine wave is determined.

[0064] Based on the waveform mapping relationship and the viscosity value range where the viscosity data is located as the third viscosity value range, the first rotation control strategy based on pulse waves is determined.

[0065] In the specific implementation process, if the viscosity data is in the first viscosity range, such as less than 500 cP, a square wave-based rotation control strategy is adopted, such as 5 seconds of forward rotation followed by 5 seconds of reverse rotation, and so on. The shear force generated by the instantaneous flow direction switching is used to prevent the deposition of fiber suspensions in the mixture. If the viscosity data is in the second viscosity range, such as 500 cP-2000 cP, a sine wave-based rotation control strategy is adopted. The rotation speed change curve is in the form of a sine wave, which can smoothly transition and reduce energy consumption. The rotation speed can increase linearly with the increase of viscosity data. If the viscosity data is in the third viscosity range, such as greater than 2000 cP, a pulse wave-based rotation control strategy is adopted, such as 2 seconds of full-speed forward rotation followed by a 1-second pause, and then 2 seconds of full-speed reverse rotation, and so on. The intermittent impact force breaks down the colloidal structure and improves the stirring and mixing effect.

[0066] S30: According to the first rotation control strategy, control the stirring device to perform the first stirring action to rotate and stir the mixture in the microbial treatment tank.

[0067] In the specific implementation process, the stirring device is controlled to perform the first stirring action according to the first rotation control strategy, which is to rotate and stir the mixture in the microbial treatment tank. The stirring device mainly includes a forward and reverse rotating motor and stirring blades. The stirring blades are driven by the motor's drive shaft through their rotating shaft to achieve the stirring function.

[0068] S40: After the first stirring action has been performed for the first target time, determine the second rotation control strategy based on the dead zone area of ​​the microbial treatment tank.

[0069] In the specific implementation process, the mixing effect is affected by factors such as ambient temperature, type of mixture, shape of stirring blades, and stirring position of stirring device, resulting in dead corner areas in the microbial treatment tank. In order to improve the mixing effect, the mixture in the stirring part cannot be uniformly mixed before considering the treatment of dead corner areas. Therefore, after stirring for a period of time, a second rotation control strategy needs to be formulated based on the dead corner areas to clean the sediment in the dead corner areas.

[0070] In one embodiment, a second rotation control strategy is determined based on the dead zone area of ​​the microbial treatment tank, including:

[0071] Determine the location of the dead zone area based on the dead zone area of ​​the microbial treatment tank;

[0072] The second rotation control strategy is determined based on the location of the blind spot area.

[0073] In the actual implementation process, it is first necessary to determine the location of the dead corner area. Unlike the traditional single fixed mode of stirring, the dead corner area of ​​a rectangular treatment tank usually appears at the bottom corner. The shape of the stirring blades and the rotation control strategy will affect the formation of the dead corner area. Therefore, it is necessary to determine the location of the dead corner area according to the actual situation and effectively formulate corresponding rotation control strategies for the deposition in different locations to improve the rotation control effect.

[0074] It should be noted that cleaning dead zones not only relies on the assistance of the stirring device, but also requires the coordination of other cleaning actions. For example, if the dead zone is located at one-third of the horizontal direction of the treatment tank, the second rotation control strategy can be 10 seconds of rotation + 3 seconds of emergency stop, combined with the opening of the nozzle to clean the dead zone; if the dead zone is located in a corner, the second rotation control strategy can be alternating forward and reverse rotation, and the cleaning action can be activating the vibrator; if the dead zone has dispersed sedimentation throughout the entire area, the second rotation control strategy is a sine wave-based rotation control, and the corresponding cleaning action can be the addition of a certain proportion of flow promoter.

[0075] In one embodiment, before determining the second rotation control strategy based on the dead zone area of ​​the microbial treatment tank after the first stirring action has been performed for a first target time, the method further includes:

[0076] Based on the solid particle distribution data, gas phase concentration distribution data, and liquid phase concentration distribution data in the microbial treatment tank, a multiphase fluid dynamics simulation model of the mixture is constructed.

[0077] Based on the multiphase fluid dynamics simulation model and the geometric model of the microbial treatment tank, the dead zone area of ​​the microbial treatment tank was obtained.

[0078] In the specific implementation process, the microbial treatment tank and its mixture are digitized. Data collected by sensors from different phases of the material are used to construct fluid dynamics simulation models for different phases. These models are then combined to obtain a multiphase fluid dynamics simulation model, which is used to characterize the fluid properties of the mixture. Using the geometric model of the microbial treatment tank as a constraint, the fluid dynamics simulation is confined to the treatment tank, thus identifying areas within the tank with poor fluidity, which can be considered dead zones. Specifically: based on the distribution data of solid particles, gas phase concentration, and liquid phase concentration in the microbial treatment tank, a multiphase fluid dynamics simulation model of the mixture is constructed, including:

[0079] Based on the solid particle distribution data in the microbial treatment tank, a solid-phase fluid dynamics simulation model is constructed using a depth probability model;

[0080] Based on the gas phase concentration distribution data in the microbial treatment tank, a gas phase fluid dynamics simulation model was constructed using CFD simulation.

[0081] Based on the liquid phase concentration distribution data in the microbial treatment tank, a liquid phase fluid dynamics simulation model was constructed using the Euler framework;

[0082] Based on the solid-phase fluid dynamics simulation model, the gas-phase fluid dynamics simulation model, and the liquid-phase fluid dynamics simulation model, a multiphase fluid dynamics simulation model of the mixture is constructed.

[0083] In practical implementation, solid-phase particle distribution data can be obtained by scanning the solid-phase particle distribution within the tank using a 3D ultrasonic probe. A solid-phase fluid dynamics simulation model is then constructed using a depth probability model (DPM model). The DPM model simulates the fluid phase and particle phase based on both the Lagrangian and Eulerian methods. The Eulerian method describes fluid motion, while the Lagrangian method describes particle motion. Gas-phase concentration distribution data can be obtained through gas component sensors. The collected gas concentration indirectly reflects microbial metabolic activity and, to some extent, characterizes fluid motion, thus it can be used to characterize mixing conditions. A gas-phase fluid dynamics simulation model is constructed using CFD simulation, which supports the simulation of gas-phase fluid motion characteristics. Liquid-phase concentration distribution data can be obtained through concentration sensors of the corresponding liquid phase. A liquid-phase fluid dynamics simulation model is constructed using the Eulerian framework.

[0084] To more accurately and quickly obtain the dead zone region based on the multiphase fluid dynamics simulation model of the mixture, the stirring device is modeled with a polyhedral mesh, the liquid surface is modeled with an adaptive mesh, and the dead zone region is modeled with a local Cartesian embedding. The mesh division is standardized to clearly define the dead zone region.

[0085] S50: According to the second rotation control strategy, control the stirring device to perform the second stirring action to clean the dead corner area.

[0086] In the specific implementation process, after obtaining the second rotation control strategy, the stirring device is controlled to perform the second stirring action, which is the rotation mode described in the previous embodiment, and the dead corner area is cleaned in conjunction with the cleaning action.

[0087] S60: After the second stirring action has been performed for the second target time, return to the step of acquiring the viscosity data of the mixture based on the sensor array set in the microbial treatment tank, until the concentration of the mixture in the microbial treatment tank meets the mixing requirements.

[0088] In the specific implementation process, after completing one stirring and dead zone cleaning, the viscosity data is updated, and the process returns to step S10 to obtain the latest viscosity data of the mixture. The process of determining and executing the strategy is repeated until the concentration of the mixture meets the mixing requirements and the stirring control is completed. The mixing requirements may include: the concentration of the mixture is higher than the concentration threshold, that is, the concentration fed back by the array of sensors all reach the concentration threshold, indicating that the mixture is fully stirred and mixed; or the maximum concentration difference of the mixture fed back in several consecutive collection cycles is less than the difference threshold. During the execution process, due to the cleaning action, the addition of water for cleaning will affect the detection of concentration data. Therefore, the concentration data after fully stirring and mixing may not reach the set concentration threshold. Therefore, it is determined whether to terminate the rotation control of the stirring device based on the concentration data fed back in consecutive cycles.

[0089] In practical applications of smart public toilets, usage data such as the number of users and time intervals can be used to assist in adjusting control strategies. The control and monitoring of smart toilets can be remotely controlled via an APP. Relevant data can be obtained remotely through the APP, and the microbial treatment tank and usage status of the smart public toilet can be remotely controlled.

[0090] In this embodiment, a sensor array is set up in the microbial treatment tank to comprehensively collect the viscosity data of the mixture. Different rotation control strategies are formulated according to different viscosity data to adapt to different processing needs. This also means that the formation of dead zones will vary. Therefore, after the stirring device is controlled to rotate and stir the mixture for a period of time through the rotation control strategy, the dead zone is determined according to the actual situation in the microbial treatment tank. Then, a corresponding rotation control strategy is formulated to control the stirring device to perform stirring work to clean up the dead zone, reducing the impact of the stirring dead zone on the mixing. After cleaning, the detected viscosity data will change. Therefore, the rotation control strategy is formulated again based on the changed viscosity data, and the control process is cycled until the concentration of the mixture in the microbial treatment tank meets the mixing requirements, thus completing the rotation control of the stirring device and improving its effect.

[0091] See attached document Figure 3 Based on the same inventive concept as in the foregoing embodiments, this application also provides a stirring device rotation control system for an intelligent public toilet, comprising:

[0092] A viscosity sensing module is used to acquire viscosity data of the mixture based on a sensor array set in the microbial treatment tank;

[0093] The first determining module is used to determine the first rotation control strategy based on the viscosity data;

[0094] The first control module is used to control the stirring device to perform a first stirring action according to the first rotation control strategy, so as to rotate and stir the mixture in the microbial treatment tank.

[0095] The second determining module is used to determine a second rotation control strategy based on the dead zone area of ​​the microbial treatment tank after the first stirring action has been performed for a first target time.

[0096] The second control module is used to control the stirring device to perform a second stirring action according to the second rotation control strategy, so as to clean the dead corner area;

[0097] The circulation control module is used to return to the sensor array set in the microbial treatment tank after the second stirring action has been performed for the second target time, to obtain the viscosity data of the mixture, until the concentration of the mixture in the microbial treatment tank meets the mixing requirements.

[0098] Those skilled in the art should understand that the division of the various modules in the embodiments is merely a logical functional division. In actual applications, they can be fully or partially integrated into one or more actual carriers. These modules can be implemented entirely in software through processing unit calls, entirely in hardware, or a combination of software and hardware. It should be noted that each module in the rotation control system of the stirring device of the intelligent public toilet in this embodiment corresponds one-to-one with each step in the rotation control method of the stirring device of the intelligent public toilet in the aforementioned embodiments. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned rotation control method of the stirring device of the intelligent public toilet, which will not be repeated here.

[0099] Based on the same inventive concept as in the foregoing embodiments, embodiments of this application also provide a computer-readable storage medium storing a computer program. When the computer program is loaded and executed by a processor, it implements the method for controlling the rotation of the stirring device in an intelligent public toilet as provided in the embodiments of this application.

[0100] Based on the same inventive concept as in the foregoing embodiments, embodiments of this application also provide an electronic device, including a processor and a memory, wherein,

[0101] Memory is used to store computer programs;

[0102] The processor is used to load and execute a computer program to cause the electronic device to perform the stirring device rotation control method of the intelligent public toilet provided in the embodiments of this application.

[0103] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or it may be a device including one or any combination of the above-mentioned memories. The computer may be a variety of computing devices, including smart terminals and servers.

[0104] In some embodiments, executable instructions may take the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a standalone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.

[0105] As an example, executable instructions may, but do not necessarily, correspond to files in the file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a Hyper Text Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple collaborative files (e.g., a file that stores one or more modules, subroutines, or code sections).

[0106] As an example, executable instructions can be deployed to execute on a single computing device, or on multiple computing devices located in one location, or on multiple computing devices distributed across multiple locations and interconnected via a communication network.

[0107] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0108] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0109] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory / random access memory, magnetic disk, optical disk) and includes several instructions to cause a multimedia terminal device (which may be a mobile phone, computer, television receiver, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0110] In summary, the embodiments of this application provide a method, system, device, and medium for controlling the rotation of a stirring device in an intelligent public toilet. The method includes: acquiring viscosity data of a mixture based on a sensor array set in a microbial treatment tank; determining a first rotation control strategy based on the viscosity data; controlling the stirring device to perform a first stirring action according to the first rotation control strategy to rotate and stir the mixture in the microbial treatment tank; after the first stirring action has been performed for a first target time, determining a second rotation control strategy based on the dead corner area of ​​the microbial treatment tank; controlling the stirring device to perform a second stirring action according to the second rotation control strategy to clean the dead corner area; after the second stirring action has been performed for a second target time, returning to the step of acquiring viscosity data of the mixture based on the sensor array set in the microbial treatment tank, until the concentration of the mixture in the microbial treatment tank meets the mixing requirements. This application uses a sensor array in a microbial treatment tank to comprehensively collect viscosity data of the mixture. Different rotation control strategies are formulated based on different viscosity data to adapt to different processing needs. This also means that the formation of dead zones will vary. Therefore, after the mixing device is controlled to rotate and stir the mixture for a period of time using the rotation control strategy, the dead zones are identified based on the actual situation in the microbial treatment tank. Then, a corresponding rotation control strategy is formulated to control the mixing device to perform stirring to clean up the dead zones, reducing the impact of the dead zones on the mixing. After cleaning, the detected viscosity data will change. Therefore, the rotation control strategy is formulated again based on the changed viscosity data, and the process is cyclically controlled until the concentration of the mixture in the microbial treatment tank meets the mixing requirements, thus completing the rotation control of the mixing device and improving its effectiveness.

[0111] The above description is only a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for controlling the rotation of a stirring device in an intelligent public toilet, characterized in that, Includes the following steps: Viscosity data of the mixture is obtained based on the sensor array set in the microbial treatment tank; Based on the viscosity data, a first rotation control strategy is determined; Determining the first rotation control strategy based on the viscosity data includes: Based on the viscosity data, determine the viscosity value range in which the viscosity data falls; A first rotation control strategy is determined based on the waveform mapping relationship and the viscosity value range where the viscosity data is located; the determination of the first rotation control strategy based on the waveform mapping relationship and the viscosity value range where the viscosity data is located includes: Based on the waveform mapping relationship and the viscosity value range where the viscosity data is located, the first viscosity value range is determined, and the first rotation control strategy based on square wave is determined. Based on the waveform mapping relationship and the viscosity value range where the viscosity data is located, the second viscosity value range is determined, and the first rotation control strategy based on the sine wave is determined. Based on the waveform mapping relationship and the viscosity value range where the viscosity data is located, the third viscosity value range is determined, and the first rotation control strategy based on the pulse wave is determined. According to the first rotation control strategy, the stirring device is controlled to perform a first stirring action to rotate and stir the mixture in the microbial treatment tank; After the first stirring action has been performed for a first target time, a second rotation control strategy is determined based on the dead zone area of ​​the microbial treatment tank. According to the second rotation control strategy, the stirring device is controlled to perform a second stirring action to clean the dead corner area; After the second stirring action has been performed for a second target time, the process returns to the step of acquiring viscosity data of the mixture based on the sensor array set in the microbial treatment tank, until the concentration of the mixture in the microbial treatment tank meets the mixing requirements.

2. The method for controlling the rotation of the stirring device in an intelligent public toilet according to claim 1, characterized in that, The step of determining the second rotation control strategy based on the dead zone area of ​​the microbial treatment tank includes: The location of the dead zone is determined based on the dead zone area of ​​the microbial treatment tank; Based on the location of the dead zone, a second rotation control strategy is determined.

3. The method for controlling the rotation of the stirring device in an intelligent public toilet according to claim 1, characterized in that, Before determining the second rotation control strategy based on the dead zone area of ​​the microbial treatment tank after the first stirring action has been performed for a first target time, the method further includes: Based on the solid particle distribution data, gas phase concentration distribution data, and liquid phase concentration distribution data in the microbial treatment tank, a multiphase fluid dynamics simulation model of the mixture is constructed. Based on the multiphase fluid dynamics simulation model and the geometric model of the microbial treatment tank, the dead zone area of ​​the microbial treatment tank is obtained.

4. The method for controlling the rotation of the stirring device in an intelligent public toilet according to claim 3, characterized in that, The step of constructing a multiphase fluid dynamics simulation model of the mixture based on the solid phase particle distribution data, gas phase concentration distribution data, and liquid phase concentration distribution data in the microbial treatment tank includes: Based on the solid particle distribution data in the microbial treatment tank, a solid-phase fluid dynamics simulation model is constructed using a depth probability model. Based on the gas phase concentration distribution data in the microbial treatment tank, a gas phase fluid dynamics simulation model was constructed using CFD simulation. Based on the liquid phase concentration distribution data in the microbial treatment tank, a liquid phase fluid dynamics simulation model was constructed using the Euler framework. Based on the solid-phase fluid dynamics simulation model, the gas-phase fluid dynamics simulation model, and the liquid-phase fluid dynamics simulation model, a multiphase fluid dynamics simulation model of the mixture is constructed.

5. The method for controlling the rotation of the stirring device in an intelligent public toilet according to claim 1, characterized in that, The mixing requirements include: the concentration of the mixture is higher than a concentration threshold, or the maximum concentration difference of the mixture reported in several consecutive sampling cycles is less than a difference threshold.

6. A rotation control system for a stirring device in an intelligent public toilet, characterized in that, include: A viscosity sensing module is used to acquire viscosity data of the mixture based on a sensor array set in the microbial treatment tank; A first determining module is configured to determine a first rotation control strategy based on the viscosity data; the determination of the first rotation control strategy based on the viscosity data includes: Based on the viscosity data, determine the viscosity value range in which the viscosity data falls; A first rotation control strategy is determined based on the waveform mapping relationship and the viscosity value range where the viscosity data is located; the determination of the first rotation control strategy based on the waveform mapping relationship and the viscosity value range where the viscosity data is located includes: Based on the waveform mapping relationship and the viscosity value range where the viscosity data is located, the first viscosity value range is determined, and the first rotation control strategy based on square wave is determined. Based on the waveform mapping relationship and the viscosity value range where the viscosity data is located, the second viscosity value range is determined, and the first rotation control strategy based on the sine wave is determined. Based on the waveform mapping relationship and the viscosity value range where the viscosity data is located, the third viscosity value range is determined, and the first rotation control strategy based on the pulse wave is determined. The first control module is configured to control the stirring device to perform a first stirring action according to the first rotation control strategy, so as to rotate and stir the mixture in the microbial treatment tank; The second determining module is used to determine a second rotation control strategy based on the dead zone area of ​​the microbial treatment tank after the first stirring action has been performed for a first target time. The second control module is used to control the stirring device to perform a second stirring action according to the second rotation control strategy, so as to clean the dead corner area; The circulation control module is used to return to the sensor array set in the microbial treatment tank after the second stirring action has been performed for a second target time, to obtain the viscosity data of the mixture, until the concentration of the mixture in the microbial treatment tank meets the mixing requirements.

7. An electronic device, characterized in that, Including processor and memory, among which, The memory is used to store computer programs; The processor is used to load and execute the computer program to cause the electronic device to perform the stirring device rotation control method of the intelligent public toilet as described in any one of claims 1-5.

8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is loaded and executed by the processor, it implements the method for controlling the rotation of the stirring device in the intelligent public toilet as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Stirrer for glass fiber reinforced plastic septic tank

    CN112028430A

  • Runway pond dynamic stirring device for promoting mixing and production of microalgae and application of raceway pond dynamic stirring device

    CN118580953A