A water flow detection processing method and system, an electrolysis device and a storage medium

By periodically detecting water flow in the salt chlorinator and controlling the output and alarm status based on the detection results, combined with a locking mode, the problems of low efficiency and poor accuracy in water flow detection of the salt chlorinator are solved. This achieves highly reliable and accurate water flow detection, extends the service life of the equipment, and improves the degree of automation.

CN119873978BActive Publication Date: 2026-05-01CHLORITECH INTERNATIONAL CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHLORITECH INTERNATIONAL CO LTD
Filing Date
2025-01-17
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

Existing salt chlorination machines have low detection efficiency and poor accuracy when detecting water flow. They are also susceptible to mechanical structure issues, which can lead to misjudgments or incorrect assessments and affect the service life of the equipment.

Method used

By periodically detecting whether the salt chlorinator is producing water flow during the sampling phase according to a preset sampling cycle, and controlling the output of the control section to shut down and alarm status based on the detection results, the system enters a lockout mode when there is no water flow during repeated detections, and continues to detect after the lockout is released. The combination of multiple detections and the lockout mechanism improves the reliability and accuracy of detection.

Benefits of technology

It improves the reliability and accuracy of water flow detection, ensures safe use, realizes automatic recovery detection function, extends equipment service life and improves the degree of automation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119873978B_ABST
    Figure CN119873978B_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of water treatment equipment, and discloses a water flow detection processing method and system, an electrolytic device and a storage medium. In the method, whether the salt-chlorine machine generates water flow is periodically detected according to a preset sampling period in a sampling stage, and part of the output of the salt-chlorine machine is controlled to be closed and an alarm state is controlled according to the detection result within a preset time. After the sampling stage ends, the whole output of the salt-chlorine machine is closed. The operation of the sampling stage and the closing operation of the whole output closing stage are repeated, and the salt-chlorine machine is controlled to be in a locking mode after a first preset number of times. When the locking mode is released and the working state is entered, whether the salt-chlorine machine generates water flow is periodically detected to control the salt-chlorine machine abnormally. After whether the salt-chlorine machine generates water flow is periodically detected in the sampling stage, the closing and the alarm state of the salt-chlorine machine are controlled within a preset time, and the locking is controlled when it is repeatedly detected that no water flow is generated, so that the accuracy, the efficiency and the safety of the water flow detection are improved.
Need to check novelty before this filing date? Find Prior Art

Description

A method, system, electrolysis device and storage medium for water flow detection and processing Technical Field

[0001] This application relates to the field of water treatment equipment technology, and in particular to a water flow detection and treatment method, system, electrolysis device and storage medium. Background Technology

[0002] Currently, most salt chlorinators on the market rely on simple high and low voltage levels for water flow detection. Specifically, they determine water flow by checking if a circuit switch is closed. This method is highly susceptible to mechanical issues, leading to misjudgments or incorrect readings. For example, in unstable water flow conditions, it might mistakenly assume there is no water flow, triggering unnecessary alarms and potentially causing unstable output, thus affecting the device's lifespan.

[0003] Among them, a salt chlorinator is a machine used in swimming pools or water treatment equipment to generate sodium hypochlorite disinfectant. It purifies water by electrolyzing brine to produce disinfectants such as sodium hypochlorite.

[0004] Therefore, the existing technology still needs to be improved and enhanced. Summary of the Invention

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

[0006] In a first aspect, embodiments of this application provide a water flow detection and processing method, including:

[0007] During the sampling phase, according to the preset sampling cycle, it is periodically detected whether the salt chlorinator is generating water flow, and based on the detection results, the output of the salt chlorinator is partially shut off and the alarm status is controlled within a preset time.

[0008] After the sampling phase is completed, the system enters the full output shutdown phase to shut down the salt chlorinator.

[0009] Repeat the sampling phase operation and the all-output shutdown phase shutdown operation for a first preset number of times, then control the salt chlorinator to be in a locked mode.

[0010] When the locked mode is released and the system enters the working state, it continues to periodically check whether the salt chlorinator is generating water flow in order to perform abnormal control of the salt chlorinator.

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

[0012] When the salt content in the brine in the salt chlorinator is detected to have reached the minimum preset threshold, the alarm device in the salt chlorinator is activated to sound an alarm.

[0013] In some embodiments, controlling the partial output shutdown and alarm status of the salt chlorinator within a preset time based on the detection results includes:

[0014] If it is detected that the salt chlorinator is not producing water flow, the electrolytic cell inside the salt chlorinator is shut down, and the alarm device inside the salt chlorinator is activated.

[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 chlorinator generates water flow according to a preset sampling period during the sampling phase includes:

[0017] The water flow of the salt chlorinator is detected once every first preset time interval until the sampling phase ends or no water flow is detected.

[0018] Within each sampling period, based on the number of high and low level signals appearing at the detection port of the salt chlorinator, it is determined whether the salt chlorinator generates water flow within the current sampling period.

[0019] In some embodiments, determining whether the salt chlorinator generates water flow in the current sampling period based on the statistical count of the number of high and low level signals appearing at the detection port of the salt chlorinator includes:

[0020] At each second preset time interval, the level signal at the water flow switch or the detection port on the electrolytic cell in the salt chlorinator is read once, until the number of reads reaches the second preset number;

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

[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 chlorinator is not producing 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 chlorinator is generating water flow.

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

[0025] In some embodiments, after repeating the sampling phase operation and the shutdown operation of the all-output shutdown phase a first preset number of times, controlling the salt chlorinator to be in a locked mode includes:

[0026] After periodically detecting whether the salt chlorinator generates water flow and controlling the partial output shutdown and alarm status of the salt chlorinator during the sampling phase, the operation of shutting down all output devices in the salt chlorinator during the full output shutdown phase is repeated until the first preset number of times is reached;

[0027] If the salt chlorinator is found to be not producing water flow within the first preset number of times, all output devices and detection devices in the salt chlorinator shall be shut down.

[0028] In some embodiments, the periodic detection of whether the chlorinator is producing water flow is further included prior to:

[0029] The salt chlorinator is controlled to start up for a third preset time;

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

[0031] Upon receiving a release command from the user or timer, the salt chlorinator is released from its locked state.

[0032] Secondly, embodiments of this application provide a water flow detection and processing system, comprising:

[0033] The detection and control module is used to periodically detect whether the salt chlorinator is generating water flow during the sampling phase according to a preset sampling cycle, and to control the partial output of the salt chlorinator to be shut down and the alarm state to be activated within a preset time based on the detection results.

[0034] The shutdown module is used to enter the all-output shutdown phase after the sampling phase ends, so as to shut down the salt chlorinator;

[0035] The locking module is used to repeatedly perform the sampling phase operation and the all-output shutdown phase shutdown operation, and after reaching a first preset number of times, control the salt chlorinator to be in a locked mode;

[0036] The unlocking module is used to periodically detect whether the salt chlorinator is generating water flow when the locked mode is released and the system enters the working state, so as to perform abnormal control on the salt chlorinator.

[0037] Thirdly, embodiments of this application provide an electrolysis apparatus, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the water flow detection and processing method described above.

[0038] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the water flow detection and processing method described above.

[0039] Compared to existing technologies, the water flow detection and processing method, system, electrolysis device, and storage medium provided in this application, through the sampling stage, periodically detects whether the salt chlorinator is generating water flow according to a preset sampling cycle, and controls the partial output of the salt chlorinator to be shut off and alarm state to be in effect for a preset time based on the detection results. When repeated detections show no water flow, the salt chlorinator is locked, and water flow detection continues after the lock is released. This greatly improves the reliability and accuracy of water flow detection, effectively ensures safety in use, and realizes an automatic recovery detection function, improving the degree of automation. Attached Figure Description

[0040] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0041] Figure 1 is a flowchart of a water flow detection and processing method provided in this application;

[0042] Figure 2 is a flowchart of periodic water flow detection in the water flow detection and processing method provided in this application;

[0043] Figure 3 is a flowchart of the water flow detection and processing method provided in this application for determining whether water flow is generated within the current sampling period;

[0044] Figure 4 is a flowchart of controlling the shutdown and alarm of the salt chlorinator in the water flow detection and treatment method provided in this application;

[0045] Figure 5 is a flowchart of a method for locking the salt chlorinator in the water flow detection and treatment method provided in this application;

[0046] Figure 6 is a schematic diagram of a water flow detection and processing system provided in this application. Detailed Implementation

[0047] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.

[0048] The components of the embodiments of this application described and illustrated in the accompanying drawings can be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of this application provided in the drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0049] In the following text, the terms "comprising," "having," and their cognates, which may be used in various embodiments of this application, are intended only to indicate a particular feature, number, step, operation, element, component, or combination thereof, and should not be construed as primarily excluding the presence of one or more other features, numbers, steps, operations, elements, components, or combinations thereof, or adding the possibility of one or more combinations thereof. Furthermore, the terms "first," "second," "third," etc., are used only for distinguishing descriptions and should not be construed as indicating or implying relative importance.

[0050] Unless otherwise specified, all terms used herein (including technical and scientific terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which the various embodiments of this application pertain. Terms (such as those defined in commonly used dictionaries) shall be interpreted as having the same meaning as in their contextual meaning in the relevant technical field and shall not be construed as having an idealized or overly formal meaning, unless clearly defined in the various embodiments of this application.

[0051] This application provides a water flow detection and processing method, system, electrolysis device, and storage medium. The water flow detection and processing method, during the sampling phase, periodically detects whether a salt chlorinator is generating water flow according to a preset sampling cycle. Based on the detection results, it controls the partial output shutdown and alarm state of the salt chlorinator within a preset time. If repeated detections show no water flow, the salt chlorinator is locked. After the lock is released, water flow detection continues. This greatly improves the reliability and accuracy of water flow detection, effectively ensures safe use, and achieves automatic recovery detection, improving the degree of automation.

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

[0053] Please refer to Figure 1. This application embodiment provides a water flow detection and processing method, including steps S100-S400:

[0054] S100: During the sampling phase, according to the preset sampling cycle, periodically detect whether the salt chlorinator is generating water flow, and control the partial output of the salt chlorinator to be shut down and alarm status to be activated within a preset time based on the detection results.

[0055] In this embodiment, the sampling period is 3 minutes for example, the preset sampling period is 1 second for example, and the detection results include: water flow or no water flow; when the partial output is off, the chlorination device (e.g., electrolytic cell) in the salt chlorinator is shut down.

[0056] The basic structure and components of a salt chlorinator include:

[0057] A brine storage tank stores water with a certain concentration of salt. An electrolytic cell electrolyzes brine into sodium hypochlorite. A water pump ensures water circulation within the chlorinator. A control panel monitors the equipment's (chlorinator's) operating status and displays various parameters (such as current, voltage, and salinity). A dosing pump, or metering pump, measures the amount of liquid being delivered. A salinity sensor measures the salt concentration in the water. A flow switch detects the presence of water flow. Safety devices, including alarms, protect equipment and personnel in abnormal situations. A timer controls the equipment's operating time and frequency. A flow meter monitors the water flow rate.

[0058] As an example, the sampling phase began after the salt chlorination machine had been running for a period of time.

[0059] During the sampling phase, the flow switch or electrolytic cell in the chlorinator is used to periodically detect whether the chlorinator is generating water flow according to the sampling cycle. For example, water flow detection is performed once every 1 second. Furthermore, within the current sampling cycle, by counting the number of high-level and low-level signals detected by the flow switch in the chlorinator within a second preset number of times, it can be determined whether water flow is generated in the chlorinator, and the detection result of whether water flow is generated or not can be obtained.

[0060] Then, based on the test results, the chlorine generation device inside the salt chlorinator is controlled to shut down and alarm within a preset time. This ensures that the salt chlorinator can be shut down promptly and the user or management system will be alerted if a malfunction occurs. For example, if no water flow is detected for a period of time, the electrolytic cell in the salt chlorinator is shut down and the alarm device sounds until the test phase ends, preventing the generation of chlorine gas when there is no water, which could easily damage the salt chlorinator.

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

[0062] In another embodiment of this application, multiple flow switches can be set for water flow detection to improve the accuracy and stability of the detection.

[0063] It is understood that this application improves the accuracy of detection by periodically detecting whether the chlorinator is generating water flow according to a preset sampling cycle during the sampling phase. Furthermore, by controlling the partial output shutdown and alarm status of the chlorinator within a preset time based on the detection results, the results of water flow detection are processed accordingly, thereby achieving timely shutdown of the chlorination device and accurate reminders. This effectively ensures safe use and reduces losses and false alarms.

[0064] For example, in one implementation method, periodic checks are performed to determine whether the salt chlorinator is producing water flow, which previously included:

[0065] Control the salt chlorination machine to start up for the third preset time.

[0066] In this application, the third preset time example is 15 seconds.

[0067] As an example, before conducting water flow testing, the chlorinator is powered on and run for a third preset time, such as 15 seconds, before the water flow test is performed. The purpose of running the chlorinator for the third preset time is to ensure that the water pump inside the chlorinator has been fully started before the test, so as to ensure the passage of water and reduce the possibility of misjudgment due to unstable water flow in the initial stage of startup, thus ensuring more accurate test results.

[0068] For example, referring to Figure 2, in one implementation method, during the sampling phase, the salt chlorinator is periodically checked for water flow according to a preset sampling cycle, including:

[0069] S101. Perform a water flow test on the salt chlorinator once every first preset time interval until the sampling phase ends or no water flow is detected.

[0070] S102. Within each sampling period, based on the number of times high and low level signals appear at the detection port of the salt chlorinator, determine whether the salt chlorinator generates water flow within the current sampling period.

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

[0072] As an example, after the third preset time has elapsed since startup, the sampling phase begins, and periodic water flow sampling commences:

[0073] Every first preset time interval (e.g., 1 second), the salt chlorinator is sampled for one sampling cycle (i.e., the preset sampling cycle). If no water flow is detected during this period, sampling is stopped. Or, if water flow is detected continuously during the sampling phase, sampling is stopped after the sampling phase ends.

[0074] Furthermore, within each sampling period, i.e., within one sampling period, the number of times high and low level signals appear at the detection port of the salt chlorinator is counted, and based on the number of high and low level signals, it is determined whether the salt chlorinator generates water flow within the current sampling period.

[0075] It is understood that this application not only enables periodic water flow detection, but also determines whether water flow occurs in the current sampling period based on the number of high and low level signals in each sampling period, thereby realizing a dual detection mode and greatly improving detection accuracy and stability.

[0076] For example, referring to Figure 3, in one implementation method, step S102, within each sampling cycle, determines whether the salt chlorinator generates water flow within the current sampling cycle based on the statistical count of the number of high and low level signals appearing at the detection port of the salt chlorinator, including:

[0077] S1021. Every second preset time interval, read the level signal at the water flow switch in the salt chlorinator or the detection port on the electrolytic cell once, until the number of reads reaches the second preset number;

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

[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 chlorinator is not producing 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 chlorinator is generating water flow.

[0081] Wherein, the preset sampling period = second preset number of times * second preset time; in this 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 the actual situation.

[0082] As an example, considering the corrosive and adsorbent properties of brine, the water flow detection signal is not a complete high-level or low-level signal. Directly judging the water flow state based on a single high- or low-level signal detection can easily lead to misjudgment. Therefore, in this application, the presence of water flow from the brine chlorinator is determined intermittently within each sampling cycle.

[0083] First, the system is set to read the level signal of the water flow switch or electrolysis cell inside the salt chlorinator every 10 milliseconds (i.e., the second preset time), and sets the counting parameter to 100 times (i.e., the second preset number of times). This means reading the level signal once every 10 milliseconds for 100 consecutive times, or one second as the single sampling period for the level signal. Then, in each sampling period, the number of high-level and low-level signals appearing in the 100 samples is counted.

[0084] Then, the total number of high-level signals is compared with the total number of low-level signals. If the total number of high-level signals is greater than the total number of low-level signals, it is determined that the salt chlorinator is not producing water flow; otherwise, it is determined that the salt chlorinator is producing water flow.

[0085] So, after completing the process of detecting whether water flow is generated within a single sampling cycle, the detection can be repeated every 1 second to complete the periodic detection of whether the salt chlorinator is generating water flow.

[0086] It is understood that this application uses waveform analysis to detect whether water flow occurs in each sampling period, and repeats the detection periodically, which can effectively reduce the false alarm rate of water flow detection failure and improve the reliability of detection.

[0087] S200: After the sampling phase ends, the system enters the full output shutdown phase to shut down the salt chlorinator.

[0088] In this application, the example of the all-output shutdown phase is 2 minutes. When the all-output shutdown phase is in the stage, all output devices in the salt chlorinator are in the off state. The output devices include at least one of the following: water pump, electrolytic cell, brine storage tank and dosing pump.

[0089] As an example, during the sampling phase, the chlorinator is periodically checked to ensure it is producing water flow. However, immediately after the sampling phase, a complete output shutdown phase is initiated, shutting down all output devices in the chlorinator (such as water pumps, electrolysis tanks, and dosing pumps) for 2 minutes to allow for a forced rest and ensure its lifespan. The preset time for this is the period from when the chlorination unit in the chlorinator is shut down until all output devices in the chlorinator are shut down.

[0090] However, if the chlorinator is detected to be continuously producing water flow during the sampling phase, then after the sampling phase ends, a full output shutdown phase will begin, similarly shutting down all output devices in the chlorinator for 2 minutes. At this time, the preset time is 0.

[0091] It is understood that this application sets a full output shutdown stage in the sampling phase and forces the salt chlorinator to shut down all outputs, thereby achieving the periodic shutdown of the salt chlorinator and extending its service life.

[0092] For example, referring to Figure 4, in one implementation method, the partial output shutdown and alarm status of the salt chlorinator are controlled within a preset time based on the detection results, including:

[0093] S103. If it is detected that no water flow is generated in the salt chlorinator, the electrolysis cell inside the salt chlorinator will be shut down, and the alarm device inside the salt chlorinator will be activated.

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

[0095] As an example, after the chlorinator has been running for a period of time, a sampling phase begins. During this phase, a periodic check is performed every second to determine if the chlorinator is producing water flow. If no water flow is detected within the current sampling cycle, the electrolysis cell inside the chlorinator is shut down, and the alarm device inside the chlorinator is activated to alert personnel to conduct an inspection. At this time, the detection devices inside the chlorinator (including at least one of a flow switch, flow meter, and various sensors) continue to operate.

[0096] The purpose of prematurely shutting off the electrolytic cell output is to protect the lifespan of the chlorinator and prevent it from operating in a waterless environment. Meanwhile, the water pump continues to run to ensure water continues to flow, preventing damage to the chlorinator due to insufficient water level. This protects critical components from dry-burning damage and gives the system sufficient time to confirm whether there is truly no water flow.

[0097] Then, during the subsequent sampling and testing within 3 minutes of the sampling phase, if water flow is detected from the salt chlorinator, the electrolytic cell is restarted.

[0098] S300: Repeat the sampling phase operation and the shutdown operation of the all output shutdown phase until the first preset number of times is reached, then control the salt chlorinator to be in lock mode.

[0099] In this application, the first preset number of times is 3 times; when in the locked mode, all output devices and detection devices in the salt chlorinator are in the off state, wherein the detection devices include at least one of a flow meter and a flow switch.

[0100] As an example, after the first test to see if the salt chlorinator is producing water flow, the above operations during the sampling phase and the all-output shutdown phase are repeated. That is, the water flow test is repeated for 3 minutes, followed by a forced shutdown of all outputs for 2 minutes, until the first preset number of times is reached, for example, 3 cycles of testing.

[0101] However, if the first preset number of detections shows no water flow in the chlorinator, i.e., three consecutive detections show no water flow in the chlorinator, then the chlorinator will be locked in a locked mode. This means that all output and detection devices in the chlorinator will be shut down, and the chlorinator will not perform any detection or output. This can effectively prevent equipment damage and provide the chlorinator with "rest" time, thereby improving its service life.

[0102] It is understood that in this application, when the salt chlorinator is found to have no water flow after multiple cycles of detection, the salt chlorinator is controlled to be in a locked mode. This achieves multiple cycle detection and confirmation, and promptly disconnects the water supply and other outputs when a water failure occurs, thereby ensuring safe use.

[0103] For example, referring to Figure 5, in one implementation method, step S300, repeating the sampling phase operation and the shutdown operation of the all-output shutdown phase, after reaching a first preset number of times, controls the salt chlorinator to be in a locked mode, including:

[0104] S310. Repeat the operation of periodically checking whether the salt chlorinator generates water flow and controlling the partial output shutdown and alarm status of the salt chlorinator during the sampling phase, and then shutting down all output devices in the salt chlorinator during the full output shutdown phase, until the first preset number of times is reached.

[0105] S320. If the chlorinator is found to be not producing water flow within the first preset number of times, control all output devices and detection devices in the chlorinator to shut down.

[0106] As an example, during the water flow detection phase (repeated a first preset number of times) and the all-output shutdown phase, the following operations are repeated up to three times: during the sampling phase, periodically check whether the salt chlorinator is generating water flow and control the partial shutdown and alarm status of the salt chlorinator; and during the all-output shutdown phase, shut down all output devices of the salt chlorinator, including the electrolytic cell and water pump.

[0107] If the chlorinator fails to produce water flow in all three tests, all output and detection devices within the chlorinator will be shut down, including the electrolytic cell, flow switch, water pump, dosing pump, flow meter, and various sensors.

[0108] S400: When the lockout mode is released and the system enters the working state, it continues to periodically check whether the salt chlorinator is generating water flow in order to control any abnormalities in the salt chlorinator.

[0109] As an example, if the salt chlorinator is locked in the lock mode and then unlocked, it continues to periodically check whether the salt chlorinator is producing water flow, and resumes periodic water flow monitoring. This ensures that the salt chlorinator can continue to be used whether there is human intervention or no human intervention. At the same time, it achieves automatic recovery monitoring, improves the degree of automation, and reduces labor costs.

[0110] For example, in one implementation, after the locking mode is released, it also includes:

[0111] When the salt content in the brine inside the salt chlorinator is detected to have reached the minimum preset threshold, the alarm device inside the salt chlorinator will be activated.

[0112] As an example, while performing water flow detection, this application can also detect the composition of 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 a minimum preset threshold, such as 5%, the alarm device in the salt chlorinator is controlled to sound an alarm to remind the staff to check, because too low a salt concentration may mean insufficient water flow or other potential problems.

[0113] Of course, in another embodiment of this application, a different alarm sound can be set than the one used when the water flow is detected, so as to distinguish whether the alarm is caused by low salinity or low water flow.

[0114] It is understandable that this application uses a salt chlorinator to detect the salt content in the brine and triggers an alarm when the salt content is too low, thereby prompting staff to conduct timely checks.

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

[0116] When a release command is received from the user or the timer, the salt chlorinator is released from its locked state.

[0117] As an example, after the chlorinator is locked, the user can manually switch modes, or a timer can start counting down after locking and send a mode switching command after the countdown ends to unlock the chlorinator and switch it to another mode, such as automatic mode, off mode, or normally open mode. In automatic mode, the alarm will be deactivated after the timer automatically counts down; in off mode, water flow detection is not possible.

[0118] Please refer to Figure 6. An embodiment of this application provides a water flow detection and processing system, including:

[0119] The detection and control module 10 is used to periodically detect whether the salt chlorinator generates water flow according to a preset sampling period during the sampling phase, and control the partial output shutdown and alarm status of the salt chlorinator within a preset time based on the detection results; the shutdown module 20 is used to enter the full output shutdown phase after the sampling phase ends to shut down the salt chlorinator; the locking module 30 is used to repeat the operation of the sampling phase and the shutdown operation of the full output shutdown phase, and after reaching a first preset number of times, control the salt chlorinator to be in a locked mode; the unlocking module 40 is used to continue to periodically detect whether the salt chlorinator generates water flow when the locked mode is unlocked and the working state is entered, so as to perform abnormal control of the salt chlorinator.

[0120] As an example, the water flow detection and processing method is applicable to a water flow detection and processing system. The implementation process of the water flow detection and processing system is as follows:

[0121] First, after the salt chlorinator has been running for a period of time, one or more flow switches in the salt chlorinator are used to count the number of high-level signals and the number of low-level signals within a second preset number of times (e.g., 100 times). Based on the number of high and low level signals, it is determined whether the salt chlorinator is generating water flow in the current sampling period. Then, during the sampling phase, a sampling period detection is performed periodically according to the preset sampling period, for example, once every 1 second.

[0122] Then, during each sampling cycle, based on the current detection results, including whether water flow is generated or not, it is decided whether to control the electrolysis cell of the salt chlorinator to be shut down within a preset time and to issue an alarm to prompt staff to handle the situation in a timely manner.

[0123] Secondly, the sampling phase and the all-output shutdown phase are repeated a first preset number of times (e.g., 3 times). If no water flow is detected in the chlorinator, the chlorinator is locked into a locked mode, i.e., all output devices and detection devices in the chlorinator are shut down to avoid greater damage due to malfunction. At the same time, multiple repeated water flow detections are performed to improve the accuracy, stability, and reliability of water flow detection.

[0124] Finally, when the user manually switches the mode, or when the timer automatically switches the mode after the countdown ends, i.e. when the locked mode is released, the system continues to periodically check whether the salt chlorinator is producing water flow.

[0125] It is understood that the detection strategy in this application, which includes time delay, multi-sensor collaborative operation, and adjustment based on actual application scenarios, effectively improves the reliability, security, and accuracy of the system.

[0126] This application also provides an electrolysis apparatus, exemplary of which includes a processor and a memory, wherein the memory stores a computer program, and the processor, by running the computer program, causes the electrolysis apparatus to perform the functions of the various modules in the above-described water flow detection and processing method or the above-described water flow detection and processing system. The electrolysis apparatus includes a salt chlorinator.

[0127] The processor can be an integrated circuit chip with signal processing capabilities. The processor can be a general-purpose processor, including at least one of a Central Processing Unit (CPU), Graphics Processing Unit (GPU), Network Processor (NP), Digital Signal Processor (DSP), Application-Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The general-purpose processor can be a microprocessor or any conventional processor, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this application.

[0128] The memory can be, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), etc. The memory is used to store computer programs, and the processor can execute the computer programs accordingly after receiving execution instructions.

[0129] This application also provides a computer-readable storage medium for storing the computer program used in the electrolysis apparatus described above. For example, the computer-readable storage medium may include, but is not limited to, various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0130] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative; for example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that, as an alternative implementation, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

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

[0132] If the aforementioned functions are implemented as software functional 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 this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a smartphone, personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.

[0133] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

Claims

1. A method for detecting and processing water flow, characterized in that, include: During the sampling phase, based on a preset sampling cycle, the system periodically checks whether the chlorinator is generating water flow. Based on the detection results, it controls the partial output shutdown and alarm status of the chlorinator within a preset time period. This includes: if no water flow is detected, shutting down the electrolytic cell within the chlorinator and triggering an alarm; if water flow is detected during the sampling phase, opening the electrolytic cell; after the sampling phase ends, entering a full output shutdown phase to shut down the chlorinator; repeating the periodic checks and partial output shutdown and alarm status control during the sampling phase, followed by shutting down all output devices in the full output shutdown phase, for a first preset number of times. If no water flow is detected within the first preset number of times, all output devices and detection devices within the chlorinator are shut down to put the chlorinator in a locked mode; when the locked mode is released and the system enters the working state, it continues to periodically check whether the chlorinator is generating water flow to perform abnormal control of the chlorinator.

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 the salt content in the brine in the salt chlorinator is detected to have reached a minimum preset threshold, controlling the alarm device in the salt chlorinator to sound an alarm.

3. The water flow detection and processing method according to claim 1, characterized in that, The step of periodically detecting whether the salt chlorinator generates water flow during the sampling phase according to a preset sampling period includes: performing a water flow detection on the salt chlorinator once every first preset time interval until the sampling phase ends or no water flow is detected; and determining whether the salt chlorinator generates water flow in the current sampling period based on the number of high and low level signals appearing at the detection port of the salt chlorinator within each sampling period.

4. The water flow detection and processing method according to claim 3, characterized in that, The determination of whether the salt chlorinator generates water flow within each sampling period, based on the statistical count of the number of high and low level signals appearing at the detection port of the salt chlorinator, includes: reading the level signal at the detection port of the water flow switch or electrolysis cell inside the salt chlorinator once every second preset time interval, until the number of readings reaches the second preset number; within the preset sampling period, counting the number of high-level signals and low-level signals appearing in the second preset number of times respectively; when the total number of high-level signals is greater than the total number of low-level signals, it is determined that the salt chlorinator 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 chlorinator generates water flow; wherein, the preset sampling period = the second preset number of times * the second preset time.

5. The water flow detection and processing method according to claim 1, characterized in that, The method of periodically detecting whether the salt chlorinator is generating water flow also includes: controlling the salt chlorinator to start up for a third preset time; the method of releasing the lock mode includes: releasing the lock state of the salt chlorinator when a release command is received from the user or the timer.

6. A water flow detection and processing system, characterized in that, include: The detection and control module is used to periodically detect whether the salt chlorinator is generating water flow during the sampling phase according to a preset sampling period, and control the partial output shutdown and alarm status of the salt chlorinator within a preset time based on the detection results. This includes: if no water flow is detected in the salt chlorinator, shutting down the electrolytic cell inside the salt chlorinator and controlling the alarm device inside the salt chlorinator to sound an alarm; if water flow is detected during the sampling phase, turning on the electrolytic cell; a shutdown module is used to enter a full output shutdown phase after the sampling phase ends to shut down the salt chlorinator; and a locking module is used to repeatedly lock the output. During the sampling phase, the system periodically checks whether the chlorinator is producing water flow and controls the partial shutdown of the chlorinator's outputs and alarm status. During the full output shutdown phase, all output devices within the chlorinator are shut down. After a first preset number of shutdowns, if the chlorinator is detected not producing water flow within the first preset number of shutdowns, all output devices and detection devices within the chlorinator are shut down to put the chlorinator in a locked mode. The unlocking module, when the locked mode is unlocked and the system enters the working state, continues to periodically check whether the chlorinator is producing water flow to perform abnormal control of the chlorinator.

7. An electrolysis apparatus, characterized in that, include: The memory, the processor, and the computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the water flow detection and processing method as described in any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, The device contains a computer program that, when executed by a processor, implements the steps of the water flow detection and processing method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Drainage device and method and dehumidifier

    CN104132443A

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

    CN114224260A