Water flow detection processing method and system, electrolysis device and storage medium

By regularly detecting the water flow during the sampling stage of the salt chlorine machine and controlling the output based on the detection results, the problems of low water flow detection efficiency and poor accuracy in the prior art are solved, and a higher detection reliability and degree of automation are achieved.

CN119873978AActive Publication Date: 2025-04-25CHLORITECH INTERNATIONAL CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510078164.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-04-25
Estimated Expiration
2045-01-17

AI Technical Summary

Technical Problem

When detecting water flow, existing salt and chlorine machines have low detection efficiency and poor accuracy, which are prone to misjudgment or misjudgment due to the influence of mechanical structure, resulting in unnecessary alarms and unstable equipment output.

Method used

During the sampling stage, whether the salt chlorine machine produces water flow according to the preset sampling period, and the partial output shutdown and alarm status of the salt chlorine machine are controlled according to the detection results. When the water flow is detected repeatedly, the salt and chlorine machine is in locked mode, and the water flow detection continues after the lock is released to achieve abnormal control.

Benefits of technology

It improves the reliability and accuracy of water flow detection, ensures safety of use, realizes automatic recovery detection function, and improves the degree of automation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119873978A_ABST
    Figure CN119873978A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of water treatment equipment, and discloses a water flow detection treatment method and system, an electrolysis device and a storage medium, and in the method, in a sampling stage, according to a preset sampling period, whether a salt chlorine machine generates water flow or not is regularly detected, and according to a detection result, partial output closing and alarm states of the salt chlorine machine within a preset time are controlled; after the sampling stage is ended, entering a full output closing stage to close the salt chlorine machine; repeating the operation of the sampling stage and the closing operation of the all output closing stage, and controlling the salt chlorine machine to be in a locking mode after a first preset number of times is reached; and when the locking mode is released and enters a working state, continuously and regularly detecting whether the salt chlorine machine generates water flow or not so as to carry out abnormal control on the salt chlorine machine. After whether the salt chlorine machine generates water flow or not is detected regularly in the sampling stage, the closing and alarming state of the salt chlorine machine within the preset time is controlled, locking is controlled when no water flow is detected repeatedly, and the precision, efficiency and safety of water flow detection are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of water treatment equipment, and in particular to a water flow detection and processing method, system, electrolysis device and storage medium. Background Art

[0002] At present, the salt chlorine machines on the market mainly rely on simple electrical level judgment when performing water flow detection. Specifically, it is to judge whether there is water flow by whether the circuit switch is closed. This detection method is very susceptible to the influence of mechanical structure, leading to misjudgment or wrong judgment. For example, in the case of unstable water flow, it may be mistakenly believed that there is no water flow, which will trigger unnecessary alarms and may even cause unstable output of the equipment, affecting its service life.

[0003] Among them, the salt chlorine machine is a machine used to generate sodium hypochlorite disinfectant in swimming pools or water treatment equipment. It purifies water quality by electrolyzing salt water to produce sodium hypochlorite and other disinfectants.

[0004] Therefore the prior art still needs to be improved and enhanced. Summary of the invention

[0005] The present application provides a water flow detection processing method, system, electrolysis device and storage medium, aiming to solve the problems of low detection efficiency and poor accuracy when using a salt chlorine machine for water flow detection in the prior art.

[0006] In a first aspect, an embodiment of the present application provides a water flow detection processing method, comprising:

[0007] During the sampling phase, the salt chlorine machine is regularly tested to see if it generates water flow according to a preset sampling period, and part of the output of the salt chlorine machine is controlled to be turned off and in an alarm state within a preset time according to the test results;

[0008] After the sampling phase is completed, entering the all output shut-down phase to shut down the salt chlorine machine;

[0009] Repeating the operation of the sampling phase and the closing operation of the all output closing phase for a first preset number of times, and then controlling the salt chlorine machine to be in a locking mode;

[0010] When the locking mode is released and the machine enters the working state, the salt chlorine machine continues to be regularly detected to see if it generates water flow, so as to perform abnormal control on the salt chlorine machine.

[0011] In some embodiments, after the locking mode is released, the method further includes:

[0012] When it is detected that the salt content in the brine in the salt chlorinator reaches a minimum preset threshold, the alarm device in the salt chlorinator is controlled to sound an alarm.

[0013] In some embodiments, controlling the partial output shutdown and alarm state of the salt chlorine machine within a preset time according to the detection result includes:

[0014] If it is detected that the salt chlorine machine does not generate water flow, the electrolytic cell in the salt chlorine machine is turned off, and the alarm device in the salt chlorine machine is controlled to alarm;

[0015] If the water flow is detected during the sampling phase, the electrolytic cell is turned on.

[0016] In some embodiments, the step of periodically detecting whether the salt chlorine machine generates water flow according to a preset sampling period during the sampling phase includes:

[0017] Performing a water flow detection on the salt chlorinator once during a sampling period at a first preset time interval until the sampling period ends or no water flow is detected;

[0018] In each sampling period, the number of times high and low level signals appear at the detection port of the salt chlorine machine is counted to determine whether the salt chlorine machine generates water flow in the current sampling period.

[0019] In some embodiments, in each sampling period, judging whether the salt chlorinator generates water flow in the current sampling period according to the number of high and low level signals appearing at the detection port of the salt chlorinator includes:

[0020] At every second preset time interval, reading the level signal at the water flow switch in the salt chlorine machine or the detection port on the electrolytic cell once until the number of readings reaches a second preset number;

[0021] Within a preset sampling period, respectively counting the number of times the high level signal and the low level signal appear in the second preset number of times;

[0022] When the total number of high-level signals is greater than the total number of low-level signals, it is determined that the salt-chlorine machine does not generate water flow;

[0023] When the total number of high-level signals is not greater than the total number of low-level signals, it is determined that the salt-chlorine machine generates water flow;

[0024] The preset sampling period=the second preset number of times*the second preset time.

[0025] In some embodiments, after repeating the operation of the sampling phase and the closing operation of the all output closing phase for a first preset number of times, the salt chlorine machine is controlled to be in a locking mode, including:

[0026] After repeatedly detecting whether the salt chlorinator generates water flow at regular intervals during the sampling phase and controlling the partial output closure and alarm state of the salt chlorinator, the operation of closing all output devices in the salt chlorinator during the full output closure phase is performed for the first preset number of times;

[0027] If it is detected that the salt chlorine machine does not generate water flow within the first preset number of times, all output devices and detection devices in the salt chlorine machine are controlled to be closed.

[0028] In some embodiments, the periodic detection of whether the salt chlorine machine produces water flow also includes:

[0029] Controlling the salt chlorine machine to start up for a third preset time;

[0030] When the locking mode is released, the method includes:

[0031] When a release instruction is received from the user or the timer, the locking state of the salt chlorine machine is released.

[0032] In a second aspect, an embodiment of the present application provides a water flow detection and processing system, comprising:

[0033] A detection and control module, used to regularly detect whether the salt chlorine machine generates water flow according to a preset sampling period during the sampling phase, and control the partial output shutdown and alarm state of the salt chlorine machine within a preset time according to the detection result;

[0034] A closing module, used for entering a full output closing phase after the sampling phase is completed to close the salt chlorine machine;

[0035] A locking module, used for repeatedly performing the operation of the sampling phase and the closing operation of the all output closing phase, and controlling the salt chlorine machine to be in a locking mode after a first preset number of times;

[0036] The unlocking module is used to continue to regularly detect whether the salt chlorine machine generates water flow when the locking mode is released and the machine enters the working state, so as to perform abnormal control on the salt chlorine machine.

[0037] In a third aspect, an embodiment of the present application provides an electrolysis device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the water flow detection processing method as described above when executed by the processor.

[0038] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the water flow detection processing method as described above.

[0039] Compared with the prior art, the present application provides a water flow detection and processing method, system, electrolysis device and storage medium. The method periodically detects whether the salt chlorine machine generates water flow according to a preset sampling period during the sampling stage, and controls the partial output shutdown and alarm state of the salt chlorine machine within a preset time according to the detection result. When no water flow is repeatedly detected, the salt chlorine machine is controlled to be locked, and water flow detection is continued after the lock is released, which greatly improves the reliability and accuracy of water flow detection, effectively ensures safety of use, and realizes automatic recovery detection function, thereby improving the degree of automation. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 A flow chart of the water flow detection and processing method provided in this application;

[0042] Figure 2 A flow chart of periodic water flow detection in the water flow detection processing method provided in this application;

[0043] Figure 3 A flow chart for determining whether water flow is generated in the current sampling period in the water flow detection and processing method provided in the present application;

[0044] Figure 4 A flow chart for controlling the shutdown and alarm of a salt chlorine machine in the water flow detection and processing method provided by the present application;

[0045] Figure 5 A flow chart of locking a salt chlorine machine in a water flow detection and processing method provided in the present application;

[0046] Figure 6 A schematic diagram of the structure of the water flow detection and processing system provided in this application. DETAILED DESCRIPTION

[0047] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.

[0048] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0049] Hereinafter, the terms "including", "having" and their cognates used in various embodiments of the present application are intended only to indicate specific features, numbers, steps, operations, elements, components or a combination of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or a combination of the foregoing items or increasing the possibility of one or more features, numbers, steps, operations, elements, components or a combination of the foregoing items. In addition, the terms "first", "second", "third" and the like are only used to distinguish descriptions and cannot be understood as indicating or implying relative importance.

[0050] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present application belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present application.

[0051] The present application provides a water flow detection and processing method, system, electrolysis device and storage medium. The water flow detection and processing method controls the partial output closure and alarm state of the salt chlorine machine within a preset time according to the detection result after periodically detecting whether the salt chlorine machine generates water flow according to a preset sampling period during the sampling stage, controls the salt chlorine machine to lock when no water flow is repeatedly detected, and continues to detect water flow after the lock is released, thereby greatly improving the reliability and accuracy of water flow detection, effectively ensuring the safety of use, and realizing the automatic recovery detection function, thereby improving the degree of automation.

[0052] The design of the water flow detection and processing method is described below through some specific embodiments.

[0053] See also Figure 1 , the embodiment of the present application provides a water flow detection processing method, including steps S100-S400:

[0054] S100, in the sampling phase, according to the preset sampling period, regularly detect whether the salt chlorine machine generates water flow, and control the partial output closure and alarm state of the salt chlorine machine within the preset time according to the detection result.

[0055] Among them, in this embodiment, the sampling stage is exemplified as 3 minutes, the preset sampling period is exemplified as 1 second, and the detection results include: water flow is generated or no water flow is generated; when part of the output is shut down, the chlorine production device (such as an electrolytic cell) in the salt chlorine machine is shut down.

[0056] Among them, the basic structure and components of the salt chlorine machine include:

[0057] Brine tanks, used to store water with a certain concentration of salt. Electrolyzers, used to electrolyze brine into sodium hypochlorite through the electrolysis process. Water pumps, used to ensure that water can circulate inside the salt chlorinator. Control panels, used to control the operating status of the equipment (i.e. the salt chlorinator itself) and display various parameters (such as current, voltage, salinity, etc.). Dosing pumps, or dosing metering pumps, are machines that can measure the delivered liquid. Salinity sensors, used to measure the salt concentration in water. Water flow switches, used to detect the presence or absence of water flow. Safety devices, used to protect the safety of equipment and personnel in abnormal situations, including alarm devices. Timers, used to control the operating time and frequency of the equipment. Flow meters, used to monitor the water flow rate.

[0058] Demonstratively, after the salt chlorine machine is turned on for a period of time, it enters the sampling phase.

[0059] During the sampling phase, the water flow switch or electrolytic cell in the salt chlorine machine is used to periodically detect whether the salt chlorine machine generates water flow according to the sampling period. For example, water flow detection is performed every 1 second. Moreover, during the current sampling period, based on the statistics of the number of high-level signals and low-level signals detected by the water flow switch in the salt chlorine machine within a second preset number of times, it can be determined whether water flow is generated in the salt chlorine machine, and a detection result of whether water flow is generated or not can be obtained.

[0060] Then, according to the detection results, the chlorine-making device in the salt chlorine machine is controlled to be closed and the alarm state is set within the preset time, so that when the salt chlorine machine fails, it can be closed in time and the user or management system can be reminded. For example, when it is detected that no water flow is generated for a period of time, the electrolytic cell in the salt chlorine machine is controlled to be closed, and the alarm device is alarmed until the detection phase is over, so as to avoid the generation of chlorine gas when there is no water, which may easily cause damage to the salt chlorine machine.

[0061] At the same time, the alarm events will be recorded, analyzed and stored to provide a basis for subsequent troubleshooting.

[0062] In another embodiment of the present application, multiple water flow switches may be provided for water flow detection to improve the accuracy and stability of the detection.

[0063] It can be understood that in the present application, the accuracy of detection is improved by regularly detecting whether the salt chlorine machine generates water flow according to a preset sampling period during the sampling stage, and by controlling the partial output shutdown and alarm state of the salt chlorine machine within a preset time according to the detection results, so as to perform corresponding processing on the results of water flow detection, realize timely closure of the chlorine production device and accurate reminder, thereby effectively ensuring safe use and reducing losses and false alarms.

[0064] For example, in one implementation, the salt chlorinator is periodically tested to see if it is producing water flow, and the process also includes:

[0065] The salt chlorine machine is controlled to start up for a third preset time.

[0066] Among them, the third preset time example in this application is 15 seconds.

[0067] Exemplarily, before performing a water flow test, the salt chlorine machine is powered on and started to run for a third preset time, for example, the salt chlorine machine is powered on for 15 seconds, and then a water flow test is performed. The machine is powered on and started to run for the third preset time to ensure that the water pump in the salt chlorine machine has been fully started before the test to ensure the passage of water, thereby reducing misjudgment due to unstable water flow at the initial start-up stage and ensuring that subsequent test results are more accurate.

[0068] For example, see Figure 2 In one implementation method, during the sampling phase, according to a preset sampling period, regularly detecting whether the salt chlorine machine generates water flow includes:

[0069] S101, performing a water flow detection on the salt chlorinator once in a sampling cycle at a first preset time interval until the sampling phase ends or no water flow is detected;

[0070] S102. In each sampling period, based on the statistics of the number of high and low level signals appearing at the detection port of the salt-chlorine machine, determine whether the salt-chlorine machine generates water flow in the current sampling period.

[0071] In this application, the first preset time example is 1 second.

[0072] Exemplarily, after the machine is started for a third preset time, it enters the sampling phase and starts to perform regular water flow sampling:

[0073] The water flow detection of the salt chlorine machine is performed once every first preset time interval (e.g. 1 second) for a sampling period (i.e. a preset sampling period). If no water flow is detected during this period, sampling is stopped; or if water flow is detected to be continuously generated during the sampling stage, sampling is stopped after the sampling stage ends.

[0074] Furthermore, in each sampling cycle, that is, in one sampling cycle, the number of high and low level signals appearing on the detection port of the salt chlorine machine is counted, and based on the number of high and low level signals, it is determined whether the salt chlorine machine generates water flow in the current sampling cycle.

[0075] It can be understood that the present application can not only perform water flow detection regularly, but also judge whether water flow is generated in the current sampling cycle based on the number of high and low level signals in each sampling cycle, thereby realizing a dual detection mode and greatly improving the detection accuracy and stability.

[0076] For example, see Figure 3 In one implementation method, step S102, in each sampling period, according to the number of high and low level signals appearing at the detection port of the salt chlorine machine, determines whether the salt chlorine machine generates water flow in the current sampling period, including:

[0077] S1021, reading the level signal at the water flow switch in the salt chlorine machine or the detection port on the electrolytic cell once every second preset time interval until the number of readings reaches a second preset number;

[0078] S1022, within a preset sampling period, respectively counting the number of times a high-level signal and a low-level signal appear in a second preset number of times;

[0079] S1023, when the total number of high-level signals is greater than the total number of low-level signals, it is determined that the salt chlorine machine does not generate water flow;

[0080] S1024: When the total number of high-level signals is not greater than the total number of low-level signals, it is determined that the salt-chlorine machine generates water flow.

[0081] Among them, the preset sampling period = the second preset number of times * the second preset time; in the present application, the second preset number of times is 100 times, and the second preset time is 10 milliseconds. The preset sampling period can be adjusted according to actual conditions.

[0082] For example, considering that salt water has certain corrosiveness and adsorption, the signal of water flow detection is not a complete high-level signal or low-level signal. It is easy to cause misjudgment if the water flow state is directly judged by the high and low-level signals detected in a single time. Therefore, in this application, it is intermittently judged whether the salt chlorine machine generates water flow in each sampling period:

[0083] First, the level signal of the water flow switch or electrolytic cell in the salt chlorine machine is read once every 10 milliseconds (i.e., the second preset time), and the counting parameter is set to 100 times (i.e., the second preset number of times), and the level signal is read continuously for 100 times, that is, the level signal is read once every 10 milliseconds, and the level signal is read continuously for 100 times, that is, 1 second is a single sampling period of the level signal. Then, the number of high-level signals and low-level signals appearing in the 100 samplings is counted in each sampling period.

[0084] Then, the total number of high-level signals and the total number of low-level signals are compared. If the total number of high-level signals is greater than the total number of low-level signals, it is determined that the salt chlorine machine does not generate water flow, otherwise, it is determined that the salt chlorine machine generates water flow.

[0085] Then, the process of detecting whether water flow is generated within a single sampling cycle is completed. After that, the detection can be repeated at intervals of 1 second to complete the regular detection of whether the salt chlorine machine generates water flow.

[0086] It can be understood that in the present application, whether water flow is generated in each sampling period is detected by waveform analysis, and the detection is repeated regularly, which can effectively reduce the false alarm rate of water flow detection failures and improve the reliability of detection.

[0087] S200, after the sampling phase is completed, enter the all output shutdown phase to shut down the salt chlorine machine.

[0088] Among them, the example of the all output shutdown stage in this application is 2 minutes. When in the all output shutdown stage, all output devices in the salt chlorine machine are in a closed state, wherein the output devices include: at least one of: a water pump, an electrolytic cell, a brine storage tank and a dosing pump.

[0089] Exemplarily, during the sampling phase, the salt chlorinator is regularly checked for water flow. However, after the sampling phase, the entire output shutdown phase is immediately entered, and all output devices (such as water pumps, electrolytic cells, and dosing pumps, etc.) in the salt chlorinator are shut down for 2 minutes for a forced rest, thereby ensuring the service life. At this time, the preset time is the period from the chlorine production device in the salt chlorinator being shut down to the shut down of all output devices in the salt chlorinator.

[0090] However, if the salt chlorinator is detected to be able to produce water flow normally during the sampling phase, then after the sampling phase, the entire output shutdown phase is entered, and all output devices in the salt chlorinator are similarly shut down for 2 minutes. At this time, the preset time is 0.

[0091] It can be understood that in the present application, a phase of shutting down all outputs is set during the sampling phase, and the salt chlorine machine is forced to shut down all outputs, thereby achieving regular shutdown of the salt chlorine machine and extending the service life of the salt chlorine machine.

[0092] For example, see Figure 4 In one implementation method, according to the detection result, the partial output shutdown and alarm state of the salt chlorine machine are controlled within a preset time, including:

[0093] S103, if it is detected that the salt chlorine machine does not generate water flow, the electrolytic cell in the salt chlorine machine is turned off, and the alarm device in the salt chlorine machine is controlled to alarm;

[0094] S104. If water flow is detected during the sampling phase, the electrolytic cell is turned on.

[0095] Demonstratively, after the salt chlorinator is turned on for a period of time, it enters the sampling stage, during which a periodic detection is performed every 1 second to determine whether the salt chlorinator generates water flow. In the current sampling period, if it is detected that the salt chlorinator does not generate water flow, the electrolytic cell in the salt chlorinator is turned off, and at the same time, the alarm device in the salt chlorinator is controlled to sound an alarm to remind the staff to check. At this time, the detection device in the salt chlorinator (including at least one of a water flow switch, a flow meter, and various sensors) continues to operate.

[0096] Among them, the electrolytic cell output is shut down in advance to protect the life of the salt chlorine machine and prevent it from running in a waterless environment. In addition, the water pump continues to run at this time to ensure that water can continue to flow and prevent the salt chlorine machine from burning out due to insufficient water level. This not only protects key components from dry burning damage, but also gives the system enough time to confirm whether there is really no water flow.

[0097] Then, in a subsequent sampling test within 3 minutes of the sampling phase, if water flow is detected from the salt chlorinator, the electrolytic cell is turned back on.

[0098] S300, repeating the operation of the sampling phase and the closing operation of the all output closing phase, and after reaching a first preset number of times, controlling the salt chlorine machine to be in a locking mode.

[0099] Among them, the first preset number of times in the present application is exemplified as 3 times; when in the locking mode, all output devices and detection devices in the salt chlorine machine are in a closed state, wherein the detection device includes: at least one of a flow meter and a water flow switch.

[0100] Exemplarily, after the first detection of whether the salt chlorine machine generates water flow, continue to repeat the above-mentioned operations in the sampling stage and the stage of shutting down all outputs, that is, repeat the water flow detection within 3 minutes, and then force shut down all outputs for 2 minutes until the first preset number of times is reached, for example, the cycle detection is repeated 3 times.

[0101] However, if the first preset number of times of detecting that there is no water flow in the salt chlorine machine is repeated, that is, three times of detecting that there is no water flow in the salt chlorine machine, then the salt chlorine machine is controlled to be in a locked mode, that is, all output devices and detection devices in the salt chlorine machine are controlled to be in a closed state, and the salt chlorine machine does not perform any detection and output, which can effectively further prevent equipment damage and provide the salt chlorine machine with "rest" time, thereby increasing its service life.

[0102] It can be understood that in the present application, when it is detected through multiple cycles that there is no water flow in the salt chlorine machine, the salt chlorine machine is controlled to be in a locked mode, thereby achieving multiple cycle detection and confirmation, and timely disconnecting the water supply and other outputs when a water failure occurs, thereby ensuring safe use.

[0103] For example, see Figure 5 In one implementation method, step S300, repeating the operation of the sampling phase and the closing operation of the all output closing phase, after reaching a first preset number of times, controlling the salt chlorine machine to be in a locking mode, includes:

[0104] S310, after periodically detecting whether the salt chlorinator generates water flow and controlling the partial output closure and alarm state of the salt chlorinator in the sampling phase, the operation of closing all output devices in the salt chlorinator in the full output closure phase is repeated for a first preset number of times;

[0105] S320: If it is detected within the first preset number of times that the salt chlorine machine does not generate water flow, all output devices and detection devices in the salt chlorine machine are controlled to be turned off.

[0106] Exemplarily, when the water flow detection stage and the all-output shutdown stage are repeated for the first preset number of times, the following operations are repeated 3 times: in the sampling stage, the salt chlorine machine is regularly detected to see whether it generates water flow and the partial output shutdown and alarm status of the salt chlorine machine are controlled, and in the all-output shutdown stage, all output devices of the salt chlorine machine, such as the electrolytic cell and water pump, are shut down.

[0107] If it is detected that the salt chlorine machine does not produce water flow in all three times, all output devices and detection devices in the salt chlorine machine will be controlled to stop working, including the electrolytic cell, water flow switch, water pump, dosing pump, flow meter and various sensors.

[0108] S400, when the locking mode is released and the machine enters the working state, the salt chlorine machine continues to be regularly checked to see if it generates water flow, so as to perform abnormal control on the salt chlorine machine.

[0109] Demonstratively, after the salt chlorine machine is in the lock mode, if the lock mode is released, the salt chlorine machine will continue to be regularly checked to see if it is generating water flow, and regular water flow detection will be restored to ensure that the salt chlorine machine can continue to be used with or without human intervention. At the same time, automatic recovery detection is achieved, the degree of automation is improved, and labor costs are reduced.

[0110] For example, in one implementation method, after the lock mode is released, the method further includes:

[0111] When it is detected that the salt content in the brine in the salt chlorinator reaches the minimum preset threshold, the alarm device in the salt chlorinator is controlled to sound an alarm.

[0112] Exemplarily, while performing water flow detection, the present application can also detect the composition of the brine, use an electrolytic cell to detect the current in the water flow, and calculate the salinity according to an algorithm. Then, when the salt content in the brine reaches the minimum preset threshold, such as 5%, the alarm device in the salt chlorine machine is controlled to sound an alarm to remind the staff to check, because too low salt concentration may mean insufficient water flow or other potential problems.

[0113] Of course, in another embodiment of the present application, an alarm sound different from the water flow detection alarm can be set to distinguish between alarms caused by low salinity and low water flow.

[0114] It can be understood that in the present application, the salt content in the brine is detected by a salt chlorinator, and an alarm is issued when the salt content is too low, thereby prompting the staff to conduct timely inspections.

[0115] For example, in one implementation method, when the lock mode is released, it includes:

[0116] When receiving a release command from the user or the timer, the lock state of the salt chlorine machine is released.

[0117] Exemplarily, after the salt chlorine machine is locked, the user manually switches the mode, or the timer starts timing after locking, and after the timing ends, a mode switching instruction is sent to unlock the salt chlorine machine and switch to other modes, such as automatic mode, closed mode and normally open mode. Among them, the automatic mode has the alarm released after the timer automatically counts; water flow detection cannot be performed in the closed mode.

[0118] See also Figure 6 , the embodiment of the present application provides a water flow detection and processing system, including:

[0119] The detection and control module 10 is used to regularly detect whether the salt chlorine machine generates water flow according to a preset sampling period during the sampling stage, and control the partial output shutdown and alarm state of the salt chlorine machine within a preset time according to the detection result; the closing module 20 is used to enter the all-output shutdown stage after the sampling stage to shut down the salt chlorine machine; the locking module 30 is used to repeat the operation of the sampling stage and the shutdown operation of the all-output shutdown stage, and after a first preset number of times, control the salt chlorine machine to be in a locking mode; the unlocking module 40 is used to continue to regularly detect whether the salt chlorine machine generates water flow when entering the working state after the locking mode is released, so as to perform abnormal control on the salt chlorine machine.

[0120] Exemplarily, the water flow detection and processing method is applicable to a water flow detection and processing system, and the implementation process of the water flow detection and processing system is as follows:

[0121] First, after the salt chlorine machine is started for a period of time, one or more water flow switches in the salt chlorine machine are used to count the number of high-level signals and the number of low-level signals that appear within a second preset number of times (such as 100 times), and determine whether the salt chlorine machine generates water flow within the current sampling period based on the number of high and low-level signals. Then, during the sampling stage, a sampling period detection is performed regularly according to the preset sampling period, for example, once every 1 second.

[0122] Then, in each sampling cycle, based on the test results obtained from the current test, including whether water flow is generated or not, a decision is made whether to control the shutdown of the electrolytic cell of the salt chlorine machine within a preset time, and to sound an alarm to prompt the staff to handle it in time.

[0123] Secondly, the sampling phase and the whole output shut-off phase are repeated for a first preset number of times (e.g., 3 times). If the salt chlorine machine is detected to generate no water flow, the salt chlorine machine is controlled to be in a lock mode, that is, all output devices and detection devices in the salt chlorine machine are shut down to avoid greater damage due to a malfunction. At the same time, water flow detection is repeated multiple times to improve the accuracy, stability and reliability of water flow detection.

[0124] Finally, when the user manually switches the mode, or the mode is automatically switched after the timer expires, that is, when the lock mode is released, the salt chlorine machine continues to be regularly checked for water flow.

[0125] It can be understood that the present application has a detection strategy with time delay, multi-sensor collaboration, and adjustment based on actual application scenarios, thereby effectively improving the reliability, security, and accuracy of the system.

[0126] The present application also provides an electrolysis device, which exemplarily includes a processor and a memory, wherein the memory stores a computer program, and the processor runs the computer program to enable the electrolysis device to perform the functions of each module in the above-mentioned water flow detection and processing method or the above-mentioned water flow detection and processing system. The electrolysis device includes: a salt chlorinator.

[0127] Among them, the processor can be an integrated circuit chip with signal processing capabilities. The processor can be a general-purpose processor, including a central processing unit (CPU), a graphics processing unit (GPU) and a network processor (NP), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or at least one of other programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc., which can implement or execute the disclosed methods, steps and logic block diagrams in the embodiments of the present application.

[0128] The memory may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc. The memory is used to store a computer program, and the processor may execute the computer program accordingly after receiving an execution instruction.

[0129] The present application also provides a computer-readable storage medium for storing the computer program used in the electrolysis device. For example, the computer-readable storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0130] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and / or the flow diagram, and the combination of boxes in the structure diagram and / or the flow diagram, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0131] In addition, the functional modules or units in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0132] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.

[0133] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A water flow detection and processing method, characterized in that: include: During the sampling phase, the salt chlorine machine is regularly tested to see if it generates water flow according to a preset sampling period, and part of the output of the salt chlorine machine is controlled to be turned off and in an alarm state within a preset time according to the test results; After the sampling phase is completed, entering the all output shut-down phase to shut down the salt chlorine machine; Repeating the operation of the sampling phase and the closing operation of the all output closing phase for a first preset number of times, and then controlling the salt chlorine machine to be in a locking mode; When the locking mode is released and the machine enters the working state, the salt chlorine machine continues to be regularly detected to see if it generates water flow, so as to perform abnormal control on the salt chlorine machine.

2. The water flow detection and processing method according to claim 1, characterized in that: After the locking mode is released, the method further includes: When it is detected that the salt content in the brine in the salt chlorinator reaches a minimum preset threshold, the alarm device in the salt chlorinator is controlled to sound an alarm.

3. The water flow detection and processing method according to claim 1, characterized in that: The method of controlling the partial output shutdown and alarm state of the salt chlorine machine within a preset time according to the detection result includes: If it is detected that the salt chlorine machine does not generate water flow, the electrolytic cell in the salt chlorine machine is turned off, and the alarm device in the salt chlorine machine is controlled to alarm; If the water flow is detected during the sampling phase, the electrolytic cell is turned on.

4. The water flow detection and processing method according to claim 1, characterized in that: During the sampling phase, the salt chlorine machine is regularly checked for water flow according to a preset sampling period, including: Performing a water flow detection on the salt chlorinator once during a sampling period at a first preset time interval until the sampling period ends or no water flow is detected; In each sampling period, the number of times high and low level signals appear at the detection port of the salt chlorine machine is counted to determine whether the salt chlorine machine generates water flow in the current sampling period.

5. The water flow detection and processing method according to claim 4, characterized in that: In each sampling period, according to the statistics of the number of high and low level signals appearing at the detection port of the salt chlorine machine, it is judged whether the salt chlorine machine generates water flow in the current sampling period, including: At every second preset time interval, reading the level signal at the water flow switch in the salt chlorine machine or the detection port on the electrolytic cell once until the number of readings reaches a second preset number; Within a preset sampling period, respectively counting the number of times the high level signal and the low level signal appear in the second preset number of times; When the total number of high-level signals is greater than the total number of low-level signals, it is determined that the salt-chlorine machine does not generate water flow; When the total number of high-level signals is not greater than the total number of low-level signals, it is determined that the salt-chlorine machine generates water flow; The preset sampling period=the second preset number of times*the second preset time.

6. The water flow detection and processing method according to claim 1, characterized in that: The method of repeatedly performing the operation of the sampling phase and the closing operation of the all output closing phase for a first preset number of times, and then controlling the salt chlorine machine to be in a locking mode, comprises: After repeating the operation of periodically detecting whether the salt chlorinator generates water flow and controlling the partial output closure and alarm state of the salt chlorinator during the sampling phase, closing all output devices in the salt chlorinator during the full output closure phase for the first preset number of times; If it is detected that the salt chlorine machine does not generate water flow within the first preset number of times, all output devices and detection devices in the salt chlorine machine are controlled to be closed.

7. The water flow detection and processing method according to claim 1, characterized in that: The periodic detection of whether the salt chlorine machine produces water flow may also include: Controlling the salt chlorine machine to start up for a third preset time; When the locking mode is released, the method includes: When a release instruction is received from the user or the timer, the locking state of the salt chlorine machine is released.

8. A water flow detection and processing system, characterized in that: include: A detection and control module, used to regularly detect whether the salt chlorine machine generates water flow according to a preset sampling period during the sampling phase, and control the partial output shutdown and alarm state of the salt chlorine machine within a preset time according to the detection result; A closing module, used for entering a full output closing phase after the sampling phase is completed to close the salt chlorine machine; A locking module, used for repeatedly performing the operation of the sampling phase and the closing operation of the all output closing phase, and controlling the salt chlorine machine to be in a locking mode after a first preset number of times; The unlocking module is used to continue to regularly detect whether the salt chlorine machine generates water flow when the locking mode is released and the machine enters the working state, so as to perform abnormal control on the salt chlorine machine.

9. An electrolysis device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the water flow detection processing method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the steps of the water flow detection processing method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Drainage device and method and dehumidifier

    CN104132443A

  • Method, device and system for detecting operating state of water pump

    CN106257053A

  • Accurate water inlet control method and device for dish washing machine, medium and dish washing machine

    CN114224260A

  • Fluid identifying device and fluid identifying method

    WO2007111052A1