A water pump control method, system, electronic equipment and medium for fluid detection
By acquiring and analyzing the multi-parameter data of the target area of the water pump, and automatically switching the water pump working mode using the scene recognition model, the problem of traditional water pump control methods relying on manual operation is solved, and the working efficiency and equipment life of the water pump are improved.
Patent Information
- Application Number
- CN202311217423.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-20
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2043-09-20
AI Technical Summary
Traditional water pump control methods rely on manual operations and cannot respond quickly to changes in fluid state, resulting in waste of energy consumption, shortened equipment life and increased labor costs.
By obtaining the flow, pressure and temperature data of the target area of the water pump, dividing it into a time series data set, and inputting a preset scene recognition model, it realizes intelligent judgment of the operating status of the water pump, automatically switches the working mode, and optimizes the water pump control.
The automatic switching working mode of the water pump is realized, which improves work efficiency, reduces energy consumption and labor costs, and extends the equipment life.
Smart Images

Figure CN117189564B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of water pumps, and in particular to a water pump control method, system, electronic equipment and medium for fluid detection. Background Art
[0002] With the continuous advancement of science and technology and the changes in application needs, water pump control methods are still developing and innovating in automation, intelligence, energy consumption optimization, etc. In the industrial and civil fields, water pumps are widely used in water supply, drainage, irrigation and other projects. In order to better adapt to the application of industrial and civil water pumps, the application of new sensor technology, data analysis algorithms, artificial intelligence and other technologies will further promote the development of water pump control methods and improve the efficiency, reliability and intelligence level of water pump systems.
[0003] At present, the traditional water pump control method relies on manual operation, which detects the water pump operating parameters through manual inspection and adjusts and maintains the water pump according to the on-site water use environment.
[0004] However, in actual applications, traditional water pump control methods are single and require manual intervention. They cannot respond quickly and effectively to changes in the state of the fluid, resulting in energy waste and shortened equipment life, increased labor costs, and low work efficiency. Therefore, the current control methods for water pumps are in urgent need of improvement. Summary of the invention
[0005] The present application provides a water pump control method, system, electronic equipment and medium for fluid detection, which have the effect of automatically switching the water pump working mode and improving working efficiency.
[0006] In a first aspect, the present application provides a water pump control method for fluid detection, comprising:
[0007] Obtaining fluid parameter information in the target area;
[0008] Extracting flow rate, pressure and temperature data from the target area fluid parameter information, and dividing the flow rate, pressure and temperature data into a plurality of time series data sets according to a preset interval duration;
[0009] Inputting the plurality of time series data sets into a preset scene recognition model to obtain a target scene recognition result;
[0010] Determine corresponding water pump operating mode information according to the target scene recognition result;
[0011] According to the water pump working mode information, the corresponding water pump control instruction is queried in the database and sent to the water pump control terminal to switch the water pump to the corresponding working mode.
[0012] By adopting the above technical solution, the system obtains multi-parameter information of flow, pressure and temperature in the target area of the water pump, extracts and divides it into time series data sets, and then inputs the preset scene recognition model. It can realize intelligent judgment of the operating status of the water pump, determine the working mode that the water pump needs to switch to, and then obtain the corresponding control instructions based on the mode information query, and finally realize closed-loop control and parameter optimization adjustment of the water pump. It can automatically switch the working mode of the water pump according to the changes in the fluid state, thereby improving the working efficiency of the water pump.
[0013] Optionally, initial fluid parameter information of the pipeline fluid corresponding to the target area is obtained in real time through a temperature sensor, a pressure sensor and a flow sensor; the initial fluid parameter information is processed according to a preset filtering algorithm to obtain target parameter information; the time corresponding to the target parameter information is recorded and used as the fluid parameter information of the target area.
[0014] By adopting the above technical solution, the system can obtain the initial parameter information of the fluid in real time by setting temperature sensors, pressure sensors and flow sensors in the target pipeline area. After being processed by the preset filtering algorithm, the target parameter information such as temperature, pressure and flow can be filtered and de-noised and extracted. At the same time, the data acquisition time corresponding to the parameter is recorded as the parameter time series information of the fluid in the target area, realizing the intelligent active acquisition of pipeline fluid parameters, and providing a data basis for pipeline status monitoring and fault prediction.
[0015] Optionally, historical fluid parameter information of each area and historical scene information corresponding to each area are obtained; according to a preset ratio, historical flow, historical pressure and historical temperature data in the fluid parameter information of each area and the scene information corresponding to each area are divided into training set data and test set data to train the initial recursive neural network model to obtain a scene recognition result; it is determined whether the scene recognition result converges to the historical scene information; if so, the model training operation is terminated and the initial recursive neural network model is used as the preset scene recognition model.
[0016] By adopting the above technical scheme, the present invention obtains the historical flow, pressure, temperature parameter information of each area and the corresponding historical scene information, and allocates training set data and test set data according to a preset ratio for iterative training of the recursive neural network model to realize automatic recognition of the scene. It can automatically establish scene knowledge through deep learning methods without manual feature extraction and rule formulation, thus avoiding the limitations of subjective experience and improving the accuracy of scene recognition.
[0017] Optionally, the target scene recognition result is detected, and the target scene recognition result includes a water tower, conventional civilian use, and lower pressure-only; if the target scene recognition result is a water tower, the preset timing mode is used as the corresponding water pump working mode information; if the target scene recognition result is conventional civilian use, the preset pressure mode is used as the corresponding water pump working mode information; if the target scene recognition result is lower pressure-only, the preset water flow mode is used as the corresponding water pump working mode information.
[0018] By adopting the above technical solution, the system can distinguish three scenarios: water tower, conventional civilian use and lower pressure boosting by detecting the water pump scene recognition results. The preset timing mode, pressure mode and water flow mode are set accordingly as the working mode of the water pump, achieving the effect of intelligently switching the working mode of the water pump according to different scenarios, making the control more accurate and efficient.
[0019] Optionally, if the water pump is switched to the preset timing mode, the start interval time set by the user is obtained; according to the start interval time, a start instruction is sent to the water pump control terminal to start the water pump; it is determined whether the corresponding regional water flow value after the water pump is started is zero; if so, the water pump is turned off.
[0020] By adopting the above technical solution, when the water pump adopts the timed start mode, the system allows the user to preset the time interval of the timed start, and send the start instruction to the water pump control terminal according to the set interval. At the same time, the regional flow rate after the water pump is started is detected, and the water pump is turned off if the flow rate is zero. The intelligent control of the timing mode is realized, making the water pump operation more efficient and safe.
[0021] Optionally, if the water pump switches to the preset pressure mode, obtain the regional water pressure data corresponding to the water pump; determine whether the regional water pressure data is less than a preset starting water pressure threshold; if so, start the water pump; determine whether the corresponding regional water flow value after the water pump is started is zero; if so, turn off the water pump.
[0022] By adopting the above technical solution, when the water pump adopts the pressure mode, the system will detect the water pressure in the corresponding area to determine whether it is lower than the preset starting water pressure threshold. If it is, the water pump will be started. At the same time, the regional flow after startup will be detected. If the flow is zero, the water pump will be turned off. The water pump can be started and stopped intelligently according to the water pressure, ensuring the reasonable range of water pressure, achieving intelligent control of the water pump, and making the water pump operation more efficient and safe.
[0023] Optionally, if the water pump switches to the preset water flow mode, the regional water flow rate value corresponding to the water pump is obtained; it is determined whether the regional water flow rate value is greater than the preset water flow rate value threshold; if so, the water pump is started; it is determined whether the corresponding regional water flow rate value after the water pump is started is zero; if so, the water pump is turned off.
[0024] By adopting the above technical solution, when the water pump adopts the water flow mode, the system will detect the corresponding regional flow rate to determine whether it is greater than the preset start flow threshold, and if so, the water pump will be started. At the same time, the regional flow rate after startup is detected, and if the flow rate is zero, the water pump will be turned off. The water pump can be started and stopped intelligently according to the water flow rate, ensuring a reasonable supply of water.
[0025] In a second aspect of the present application, a system for a water pump control method for fluid detection is provided.
[0026] An information acquisition module is used to obtain fluid parameter information in a target area;
[0027] A data extraction module, used to extract flow rate, pressure and temperature data from the target area fluid parameter information, and divide the flow rate, pressure and temperature data into a plurality of time series data sets according to a preset interval duration;
[0028] A scene recognition module, used to input the plurality of time series data sets into a preset scene recognition model to obtain a target scene recognition result;
[0029] The mode switching module is used to determine the corresponding water pump working mode information according to the target scene recognition result; according to the water pump working mode information, query the corresponding water pump control instruction in the database and send it to the water pump control terminal to control the running state of the water pump to adapt to the fluid state of the target area.
[0030] In a third aspect of the present application, an electronic device is provided.
[0031] A system for a water pump control method for fluid detection comprises a memory, a processor and a program stored in the memory and executable on the processor. The program can realize a water pump control method for fluid detection when loaded and executed by the processor.
[0032] In a fourth aspect of the present application, a computer-readable storage medium is provided.
[0033] A computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the processor implements a water pump control method for fluid detection.
[0034] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0035] 1. This application obtains multi-parameter information of flow, pressure and temperature in the target area of the water pump, extracts and divides it into time series data sets, and then inputs the preset scene recognition model. It can realize intelligent judgment of the operating status of the water pump, determine the working mode that the water pump needs to switch to, and then obtain the corresponding control instructions based on the mode information query, and finally realize closed-loop control and parameter optimization and adjustment of the water pump. It can automatically switch the working mode of the water pump according to changes in the fluid state, thereby improving the working efficiency of the water pump.
[0036] 2. This application detects the water pump scene recognition results and distinguishes three scenes: water tower, conventional civilian and down-pressurization. Correspondingly, the preset timing mode, pressure mode and water flow mode are set as the working mode of the water pump. The water pump mode is intelligently switched, making the water pump control more intelligent and refined.
[0037] 3. This application uses a recursive neural network model to train a preset scene recognition model for scene recognition, thereby improving scene recognition accuracy and water pump working efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is a flow chart of a water pump control method for fluid detection provided in an embodiment of the present application.
[0039] Figure 2 It is a structural schematic diagram of a water pump control method for fluid detection disclosed in an embodiment of the present application.
[0040] Figure 3 It is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present application.
[0041] Explanation of the reference numerals: 201, information acquisition module; 202, data extraction module; 203, scene recognition module; 204, mode switching module; 300, electronic device; 301, processor; 302, memory; 303, user interface; 304, network interface; 305, communication bus. DETAILED DESCRIPTION
[0042] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.
[0043] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.
[0044] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0045] In order to facilitate understanding of the method and system provided by the embodiments of the present application, before introducing the embodiments of the present application, the background of the embodiments of the present application is first introduced.
[0046] At present, the traditional water pump control method relies on manual operation, which detects the water pump operating parameters through manual inspection and adjusts and maintains the water pump according to the on-site water use environment.
[0047] The embodiment of the present application discloses a water pump control method for fluid detection, which obtains fluid parameter information of a target area, including flow, pressure and temperature data, divides the fluid parameter information into a time series data set and inputs it into a preset scene recognition model, and determines the corresponding water pump working mode according to the target scene recognition result, and performs mode switching operation on the water pump. It is mainly used to solve the problem that traditional water pump control methods cannot perform intelligent regulation according to the actual water use environment, resulting in energy waste and shortened equipment life, and require manual intervention, which increases labor costs and lowers work efficiency.
[0048] After the above background content is introduced, those skilled in the art can understand the problems existing in the prior art. The technical solutions in the embodiments of the present application will be described in detail below in conjunction with the drawings in the embodiments of the present application. The described embodiments are only part of the embodiments of the present application, not all of the embodiments.
[0049] Reference Figure 1 , a water pump control method for fluid detection, the method includes S10 to S40, specifically including the following steps:
[0050] S10: Obtaining fluid parameter information in the target area.
[0051] Specifically, the staff installed a flow sensor at the water inlet of the water pump, and the system obtained the input flow of the water pump in real time through the detection equipment. A pressure sensor was installed at the water outlet, and the system detected the output pressure of the water pump in real time through the detection equipment. Temperature probes are set at key nodes of the water pipes for the system to monitor the temperature distribution of the water supply network in real time. All sensors are connected to the water pump controller through the IO module. The system collects the signals of each sensor in real time, and combines the established mathematical model of the building water pipe network to calculate hydraulic parameters such as flow rate, etc., to determine the water use situation in the area. When an abnormality is detected in the water supply network, the controller can quickly locate the fault area and guide on-site pipeline maintenance. Through this system, the water supply situation of the building can be monitored in real time, the water pump can be accurately controlled, the water supply quality can be guaranteed, the water consumption can be saved, and the automation level of the water pump system can be improved.
[0052] S20: extracting flow rate, pressure and temperature data from the fluid parameter information of the target area, and dividing the flow rate, pressure and temperature data into a plurality of time series data sets according to a preset interval time.
[0053] Specifically, the system detects the flow, pressure and temperature data of the target area of the water pump in real time through the flow sensor, pressure sensor and temperature probe, that is, the fluid parameter information. The system filters and smoothes the fluid parameter information uploaded by each sensor, such as the existing filtering algorithms such as the moving average method and the exponential smoothing method. Then the system divides the fluid parameter information according to the preset interval time. For example, the preset interval time is 1 second. The system samples and obtains the time series data of flow, pressure and temperature at intervals of 1 second, and obtains the average value within 1 second each time. The continuously collected time series data is stored in segments according to a time period of 10 minutes. That is, a multi-dimensional time series data file of flow-pressure-temperature is generated every 10 minutes. For example, when testing the water pump in a civil building, the time series file extracted at 10:00 in the morning contains the data of the water pump outlet flow, pressure and temperature from 10:00 to 10:10 minutes. Repeat the above process to extract the multi-parameter time series data set of the fluid in the target area of the water pump in real time. These time series data sets can be used for the training and verification of algorithm models such as water pump status monitoring, fault prediction, and performance evaluation.
[0054] It should be noted that before the time series data set is input into the preset scene recognition model, there is a training process of the preset scene recognition model. The specific steps include:
[0055] Exemplarily, the historical flow, historical pressure, and historical temperature time series data under various typical scenarios and the corresponding pre-labeled scene labels, i.e., historical data, are extracted from the historical operation database of the water pump. Then, the system randomly selects 90% of the historical data as the training set for training the convolutional neural network according to a preset ratio, such as 9:1, and selects 10% of the historical data as the test set for verification. After that, the system constructs an initial model containing the existing convolutional neural network, the input features are the historical flow, historical pressure, and historical temperature time series data, and the output result is the scene recognition result. The system uses the training set to repeatedly train the initial path planning model, and optimizes the model weight parameters according to the existing optimization algorithm to minimize the detection time of the planned path as much as possible. After each training is completed, the system uses the test set to evaluate the current model performance and determine whether the scene recognition result has converged to the scene corresponding to the pre-labeled scene label. Repeat the training and parameter adjustment process multiple times until the test set results show that the model scene recognition result meets the preset training requirements, which include parameters such as scene recognition error and number of training. At this time, the recursive neural network model obtained after training is used as the preset scene recognition model, and the preset path planning model can be directly applied to the subsequent recognition of civil water use scenes.
[0056] S30: Inputting a plurality of time series data sets into a preset scene recognition model to obtain a target scene recognition result.
[0057] Specifically, the system obtains several time series data sets. The system inputs these time series data sets, namely the flow, pressure and temperature data divided by preset intervals, as model input features into a pre-trained scene recognition model. The preset scene recognition model learns the characteristic distribution law of data under different water pump working modes through a deep learning algorithm. After the model runs, it can output the recognition results of the current working mode of the water pump, such as water tower scenes, conventional civilian scenes, and special scenes for lower boosting. By identifying the current working water use scene of the water pump through the above technical solution, the system can accurately control the water pump and realize automatic adjustment of the water volume, thereby improving work efficiency.
[0058] S40: Determine corresponding water pump operating mode information according to the target scene recognition result.
[0059] Specifically, the system collects real-time operation data of the water pump and identifies the scene to determine the current operation scene of the water pump. Based on the scene recognition results, the system queries the associated water pump working mode knowledge base. The knowledge base stores the mapping relationship between the scene recognition results and the corresponding water pump working modes. For example, in the "water tower" scene, the corresponding setting is the "timing mode" working mode; in the "conventional civil" scene, the corresponding setting is the "pressure mode" working mode; in the "lower boost special" scene, the corresponding setting is the "water flow mode" working mode. The system automatically selects the matching water pump working mode and sends the control instructions of the corresponding water pump working mode to adjust the parameters. Through this method, the water pump can intelligently switch different working modes according to the scene, realize the active monitoring and adjustment of the water pump operation status, and achieve the effect of improving the intelligent automation level of the water pump.
[0060] S50: According to the water pump working mode information, the corresponding water pump control instruction is queried in the database and sent to the water pump control terminal to control the running state of the water pump to adapt to the fluid state of the target area.
[0061] Specifically, after the system determines the working mode information currently required by the water pump, the system uses the mode name corresponding to the working mode information as a query keyword to search for the control parameter settings corresponding to various water pump working modes stored in the database. For example, the control instructions corresponding to the timing mode include parameters such as the timing interval and the timing cycle. After the system finds the specific control instructions corresponding to the working mode according to the query, the system sends the control instructions to the water pump control terminal. The water pump control terminal completes the switching of the corresponding mode and the parameter setting in response to the control instructions.
[0062] In an optional embodiment of the present application, when the working mode of the water pump is switched to the timing mode, the system sends a prompt message to the staff terminal to prompt the staff to set the start time interval of the water pump, for example, the start time interval is set to start once every 2 hours. The system records the last start time of the water pump in the background clock. When the difference between the current time and the last start time is equal to the start interval set by the user, the system automatically sends a start instruction to the water pump control terminal to control the start operation of the water pump. The system also obtains the data uploaded by the flow sensor at the outlet of the water pump, that is, the water flow value of the monitoring area. If the water flow value is still zero within the set time after startup, for example, the set time is 2 minutes, the system determines that the pipeline is closed, the flow sensor cannot sense that the water flow is closed, and the system sends a shutdown instruction to the water pump control terminal to shut down the water pump. Through this intelligent control, the water pump can be started automatically and regularly, and the operating status can be detected at the same time to ensure the stability of the water supply.
[0063] In another optional embodiment of the present application, when the water pump working mode is switched to the pressure mode, the system starts to detect the data of the water pump outlet pressure sensor in real time, that is, monitor the regional water pressure data. The system regional water pressure data is compared with the preset pressure start threshold, for example, the preset pressure start threshold is 0.15MPa. If the regional water pressure data is lower than the preset pressure start threshold, the system determines that the water volume in the pipeline is insufficient and cannot meet the water demand. The system sends a start instruction to the water pump control terminal to start the water pump to start water supply. At the same time, the system obtains the regional water flow rate value of the water pump outlet flow sensor. If the water flow rate value is still zero within the set time after startup, for example, the set time is 2 minutes, the system determines that the pipeline is closed, and the system sends a shutdown instruction to the water pump control terminal to shut down the water pump to avoid idling. Through this working mode, the water pump operation can be adjusted in real time according to the water pressure situation to ensure the continuity of water supply.
[0064] In another optional embodiment of the present application, when the water pump working mode is switched to the water flow mode, the system starts to detect the flow sensor at the water pump outlet in real time. The system compares the detected water flow value with the preset flow start threshold, for example, the preset flow start threshold is 3 cubic meters per hour. If the water flow value is greater than the preset flow start threshold, the system determines that the water supply is sufficient and the water pump can be started to supply water. The system determines that it is a peak water use period and sends a start instruction to the water pump control terminal to start the water pump. At the same time, the system obtains the regional water flow value of the water pump outlet flow sensor. If the water flow value is still zero within the set time after startup, for example, the set time is 2 minutes, the system determines that the pipeline is closed, and the system sends a shutdown instruction to the water pump control terminal to shut down the water pump to avoid idling. Through this water pump working mode, the water pump can be intelligently adjusted to start and stop according to the water demand, accurate water supply can be achieved, flow changes can be monitored in real time, and the water delivery system can be ensured to be safe and reliable.
[0065] In a preferred embodiment of the present application, in order to reduce the aging speed of the water pump and the occurrence of failures, the water pump is provided with a variety of protection mechanisms. When the starting conditions are met, the system will automatically perform corresponding protection actions on the water pump. For example, the process of water shortage protection is: when the water shortage water pump is idling, the system detects that the temperature of the water pump has risen through the temperature sensor, and when the water pressure data detected by the pressure sensor has not risen, the system will send a shutdown command to the water pump control terminal to stop the water pump. When the flow rate is detected by the flow sensor, the water shortage protection mechanism is automatically exited. The process of anti-rust protection is: the system regularly starts the automatic rust removal program, turns on the water pump to flush the pipeline, and prevents rust caused by long-term non-use. The process of anti-freeze protection is: the temperature sensor monitors the temperature of the water pump circuit. If it is lower than the preset low temperature threshold of 5 degrees Celsius, it will send a rotation command to the water pump control terminal according to the preset time, such as the preset time is 10 minutes, to control the water pump to start the water pump for rotation operation every 10 minutes. The overload protection process is as follows: when the pump is stuck by foreign objects and the motor is damaged, the system detects that the pump temperature has reached the preset damage temperature threshold, and the water flow value is not detected, the pump will be automatically stopped. The system collects water supply pipeline data through the pipeline jitter detector, determines whether there is a pipeline leak, and issues an alarm on the preset LCD display to remind the staff to repair. All protection function parameters can be customized through the control panel.
[0066] The following is a system embodiment of the present application, which can be used to execute the method embodiment of the present application. For details not disclosed in the platform embodiment of the present application, refer to the method embodiment of the present application.
[0067] Reference Figure 2 , is a system of a water pump control method for fluid detection provided in an embodiment of the present application, the system comprising: an information acquisition module 201, an information processing module 202, a model training module 203, and an error analysis module 204, wherein:
[0068] Information acquisition module 201, used to acquire fluid parameter information of target area;
[0069] The data extraction module 202 is used to extract the flow rate, pressure and temperature data in the target area fluid parameter information, and divide the flow rate, pressure and temperature data into a plurality of time series data sets according to a preset interval time length;
[0070] The scene recognition module 203 is used to input a plurality of time series data sets into a preset scene recognition model to obtain a target scene recognition result;
[0071] The mode switching module 204 is used to determine the corresponding water pump working mode information according to the target scene recognition result; according to the water pump working mode information, query the corresponding water pump control instruction in the database and send it to the water pump control terminal to control the running state of the water pump to adapt to the fluid state of the target area.
[0072] It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0073] The present application also discloses an electronic device. Figure 3 , Figure 3 The electronic device 300 may include: at least one processor 301 , at least one network interface 304 , a user interface 303 , a memory 302 , and at least one communication bus 305 .
[0074] The communication bus 305 is used to realize the connection and communication between these components.
[0075] The user interface 303 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.
[0076] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0077] Among them, the processor 301 may include one or more processing cores. The processor 301 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 302, and calling data stored in the memory 302. Optionally, the processor 301 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 301 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface diagrams and applications, etc.; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 301, and it can be implemented separately through a chip.
[0078] Among them, the memory 302 may include a random access memory (Random Access Memory, RAM) or a read-only memory (Read-Only Memory). Optionally, the memory 302 includes a non-transitory computer-readable storage medium. The memory 302 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 302 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 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 store data involved in the above-mentioned various method embodiments, etc. The memory 302 may optionally be at least one storage device located away from the aforementioned processor 301. Refer to Figure 3 , the memory 302 as a computer storage medium may include an operating system, a network communication module, a user interface module and an application program of a water pump control method for fluid detection.
[0079] exist Figure 3In the electronic device 300 shown, the user interface 303 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 301 can be used to call an application program storing a nutrition literature model training method in the memory 302, and when executed by one or more processors 301, the electronic device 300 executes one or more methods in the above-mentioned embodiments. It should be noted that for the aforementioned method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described order of actions, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.
[0080] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0081] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0082] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0083] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0084] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.
[0085] The above are only exemplary embodiments of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, those skilled in the art will easily think of other embodiments of the present disclosure.
[0086] This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art not recorded in the present disclosure. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present disclosure are limited by the claims.
Claims
1. A water pump control method for fluid detection, It is characterized in that include: Obtaining fluid parameter information in the target area; Extracting flow rate, pressure and temperature data from the target area fluid parameter information, and dividing the flow rate, pressure and temperature data into a plurality of time series data sets according to a preset interval duration; Inputting the plurality of time series data sets into a preset scene recognition model to obtain a target scene recognition result; Determine corresponding water pump operating mode information according to the target scene recognition result; The step of determining the corresponding water pump operating mode information according to the target scene recognition result includes: Detecting the target scene recognition result, wherein the target scene recognition result includes a water tower, conventional civilian use, and lower boosting use; If the target scene recognition result is a water tower, the preset timing mode is used as the corresponding water pump working mode information; If the target scene recognition result is conventional civilian use, the preset pressure mode is used as the corresponding water pump working mode information; If the target scene recognition result is dedicated to lower boost, the preset water flow mode is used as the corresponding water pump working mode information; If the water pump is switched to the preset timing mode, the start interval time set by the user is obtained; According to the start interval time, sending a start instruction to the water pump control terminal to start the water pump; Determine whether the water flow rate value of the corresponding area after the water pump is started is zero; If yes, shut down the water pump; If the water pump is switched to the preset pressure mode, obtaining the regional water pressure data corresponding to the water pump; Determine whether the water pressure data of the area is less than a preset starting water pressure threshold; If yes, start the water pump; Determine whether the water flow rate value of the corresponding area after the water pump is started is zero; If yes, shut down the water pump; If the water pump is switched to the preset water flow mode, the regional water flow value corresponding to the water pump is obtained; Determine whether the water flow rate value in the area is greater than a preset water flow rate value threshold; If yes, start the water pump; Determine whether the water flow rate value of the corresponding area after the water pump is started is zero; If yes, shut down the water pump; According to the water pump working mode information, the corresponding water pump control instruction is queried in the database and sent to the water pump control terminal to control the running state of the water pump to adapt to the fluid state of the target area.
2. A water pump control method for fluid detection according to claim 1, It is characterized in that The step of obtaining the target area fluid parameter information includes: The initial fluid parameter information of the pipeline fluid corresponding to the target area is obtained in real time through the temperature sensor, the pressure sensor and the flow sensor; Processing the initial fluid parameter information according to a preset filtering algorithm to obtain target parameter information; The time corresponding to the target parameter information is recorded and used as the target area fluid parameter information.
3. A water pump control method for fluid detection according to claim 1, It is characterized in that Before inputting the plurality of time series data sets into the preset scene recognition model, the method further includes: Obtaining historical fluid parameter information of each area and historical scene information corresponding to each area; According to a preset ratio, the historical flow rate, historical pressure and historical temperature data in the fluid parameter information of each area and the scene information corresponding to each area are divided into training set data and test set data to train the initial recursive neural network model to obtain a scene recognition result; Determining whether the scene recognition result converges to the historical scene information; If so, the model training operation is terminated and the initial recursive neural network model is used as the preset scene recognition model.
4. A water pump control system based on the fluid detection according to any one of claims 1 to 3, It is characterized in that The system comprises: An information acquisition module (201) is used to acquire fluid parameter information in a target area; A data extraction module (202) is used to extract flow rate, pressure and temperature data from the target area fluid parameter information, and divide the flow rate, pressure and temperature data into a plurality of time series data sets according to a preset time interval; A scene recognition module (203) is used to input the plurality of time series data sets into a preset scene recognition model to obtain a target scene recognition result; A mode switching module (204) is used to determine corresponding water pump working mode information according to the target scene recognition result; according to the water pump working mode information, query the corresponding water pump control instruction in the database and send it to the water pump control terminal to control the running state of the water pump to adapt to the fluid state of the target area; The step of determining the corresponding water pump operating mode information according to the target scene recognition result includes: Detecting the target scene recognition result, wherein the target scene recognition result includes a water tower, conventional civilian use, and lower boosting use; If the target scene recognition result is a water tower, the preset timing mode is used as the corresponding water pump working mode information; If the target scene recognition result is conventional civilian use, the preset pressure mode is used as the corresponding water pump working mode information; If the target scene recognition result is dedicated to lower boost, the preset water flow mode is used as the corresponding water pump working mode information; If the water pump is switched to the preset timing mode, the start interval time set by the user is obtained; According to the start interval time, sending a start instruction to the water pump control terminal to start the water pump; Determine whether the water flow rate value of the corresponding area after the water pump is started is zero; If yes, shut down the water pump; If the water pump is switched to the preset pressure mode, obtaining the regional water pressure data corresponding to the water pump; Determine whether the water pressure data of the area is less than a preset starting water pressure threshold; If yes, start the water pump; Determine whether the water flow rate value of the corresponding area after the water pump is started is zero; If yes, shut down the water pump; If the water pump is switched to the preset water flow mode, the regional water flow value corresponding to the water pump is obtained; Determine whether the water flow rate value in the area is greater than a preset water flow rate value threshold; If yes, start the water pump; Determine whether the water flow rate value of the corresponding area after the water pump is started is zero; If so, the water pump is turned off.
5. An electronic device, It is characterized in that The electronic device (300) comprises a processor (301), a memory (302), a user interface (303) and a network interface (304), wherein the memory (302) is used to store instructions, the user interface (303) and the network interface (304) are used to communicate with other devices, and the processor (301) is used to execute the instructions stored in the memory (302) so that the electronic device (300) executes a water pump control method for fluid detection as described in any one of claims 1 to 3.
6. A computer-readable storage medium, It is characterized in that The computer-readable storage medium is used to store instructions, and when the instructions are executed, the steps of a water pump control method for fluid detection as described in any one of claims 1 to 3 are performed.
Citation Information
Patent Citations
Water supply control method for water pump
CN106351820A
Method, Apparatus, and Computing Device for Constructing Prediction Model, and Storage Medium
US20230146912A1