Alarm method and device for abnormal flow of water softener
By using a flowmeter in the water softener to detect flow and count the duration of continuous flow, flow abnormality detection and alarm are achieved at low cost, and safety and quality accidents caused by water leakage in existing water softeners are solved.
Patent Information
- Application Number
- CN202411921957.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2025-04-08
AI Technical Summary
Water leakage in existing water softeners may lead to major safety and quality accidents such as soaking in water in the user's house, and the existing alarm water lock module is costly.
The flow rate of the water softener is detected by flowmeter, and the continuous flow duration is counted. When the time exceeds the preset time, the abnormal flow alarm mode is activated to remind the user to confirm whether the water is used abnormally.
On the premise of ensuring the accuracy of the flowmeter, the flow rate is detected through the flowmeter provided by the water softener, and the flow abnormality detection and alarm are realized at low cost, avoiding high-cost special alarm and water lock modules.
Smart Images

Figure CN119779420A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of software control technology, and in particular to an alarm method and device for abnormal flow of a water softener. Background Art
[0002] As people's living standards improve, various water softener products have emerged on the market. Water softeners use ion exchange resins to absorb calcium and magnesium ions in water to soften water and reduce scale. When the exchange capacity of the exchange resin is saturated, it is necessary to backwash the softening resin with brine to exchange the calcium and magnesium ions adsorbed on the resin with sodium ions, so that the resin regains the ability to soften water.
[0003] As a large water device, a water softener may leak due to abnormalities, which may cause major safety and quality accidents such as waterlogging in the user's house. The existing technology usually adds a special alarm lock module to the water softener to detect water leakage and issue an alarm, but the implementation cost is very high. Summary of the invention
[0004] In response to the problems existing in the prior art, the present application provides a new alarm solution for abnormal flow of a water softener. The solution detects the flow of the water softener through a flow meter. When the continuous flow duration exceeds a preset duration, the flow abnormality alarm mode is activated to remind the user to confirm whether there is abnormal water use.
[0005] According to a first aspect of the present application, a method for alarming abnormal flow of a water softener is provided, characterized in that it comprises:
[0006] comparing the error rate of the flow meter of the water softener with a preset value;
[0007] In case the error rate of the flow meter of the water softener is less than the preset value, instructing the flow meter to detect the flow rate;
[0008] Counting the duration for which the flow meter continuously detects flow;
[0009] When the flow meter continuously detects the flow for a preset time, determining that the water softener has a flow abnormality; and
[0010] Instruct the alarm device to send out an alarm message.
[0011] According to a second aspect of the present application, there is provided an alarm device for abnormal flow of a water softener, characterized in that it comprises:
[0012] A comparison module, used for comparing the error rate of the flow meter of the water softener with a preset value;
[0013] A detection module, used for instructing the flow meter of the water softener to detect flow rate when the error rate of the flow meter is less than the preset value;
[0014] A statistics module, used to count the duration for which the flow meter continuously detects flow;
[0015] a determination module, configured to determine that a flow abnormality occurs in the water softener when the flow meter continuously detects the flow for a preset time period; and
[0016] The indication module is used to instruct the alarm device to send out an alarm message.
[0017] According to a third aspect of the present application, a water softener is provided, characterized in that it includes a control valve assembly for executing the method described in the first aspect.
[0018] According to a fourth aspect of the present application, there is provided an electronic device, including:
[0019] Processor; and
[0020] A memory storing computer instructions, which, when executed by the processor, causes the processor to execute the method described in the first aspect.
[0021] According to a fifth aspect of the present application, a computer storage medium is provided, storing a computer program, which, when executed by multiple processors, enables the processors to execute the method described in the first aspect.
[0022] According to the method and device for alarming abnormal flow of a water softener provided by the present application, under the premise of ensuring the accuracy of the flow meter, the flow of the water softener is detected by the flow meter, and the continuous flow duration is counted. When the continuous flow duration exceeds the preset duration, the abnormal flow alarm mode is activated. The present application uses the flow meter provided by the water softener to detect the flow, and determines that the water softener has abnormal flow when the continuous flow duration is abnormal, thereby realizing abnormal flow detection and alarm in a low-cost manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without exceeding the scope of protection required by the present application.
[0024] Figure 1 It is a schematic diagram of the composition structure of a water softener according to an embodiment of the present application.
[0025] Figure 2It is a flow chart of a method for alarming abnormal flow of a water softener according to an embodiment of the present application.
[0026] Figure 3 It is a flow chart of an alarm method for abnormal flow of a water softener according to another embodiment of the present application.
[0027] Figure 4 It is a flow chart of a method for alarming abnormal flow of a water softener according to another embodiment of the present application.
[0028] Figure 5 It is a schematic diagram of an alarm device for abnormal flow of a water softener according to an embodiment of the present application.
[0029] Figure 6 It is a schematic diagram of an alarm device for abnormal flow of a water softener according to another embodiment of the present application.
[0030] Figure 7 It is a schematic diagram of an alarm device for abnormal flow of a water softener according to another embodiment of the present application.
[0031] Figure 8 It is a structural diagram of an electronic device provided by this application. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0033] Figure 1 Schematic diagram of the structure of a water softener according to an embodiment of the present application. Figure 1 As shown, the water softener includes a control valve assembly, a resin tank assembly and a flow meter, etc. The control valve assembly has a main control board, a flow detection module and a water circuit switching module. The control valve assembly can switch the water circuit through flow triggering, time setting and manual operation under program setting conditions. The switching water circuit described in the present invention is that the water circuit system in the machine needs to be changed to meet the functional requirements when the water softener is in normal water production and regeneration. The resin tank assembly is a tank body that holds the regenerated resin. The direction of water flow in the tank body is opposite during regeneration and water production. The flow meter is located at the water inlet end or the water outlet end, and is used to measure the flow of water. According to some embodiments, the water softener may also include an operation display module and a salt box system. The operation display module can be an operation display interface that interacts with people, and users can input parameters and observe the machine operation status through the operation display module. The salt box system can be a barrel assembly that provides regenerated brine to the resin.
[0034] In an embodiment of the present application, an alarm program for abnormal flow of a water softener is run in the control valve assembly. When the accuracy of the flow meter meets the requirements, the flow of the water softener is detected by indicating the flow meter, and the duration of the continuous flow is counted. When the duration of the continuous flow exceeds the preset duration, the abnormal flow alarm mode is started.
[0035] For the alarm scheme of abnormal flow of the water softener running in the control valve assembly, the Figure 2 The illustrated embodiments are described in detail.
[0036] According to one aspect of the present application, a method for alarming abnormal flow of a water softener is provided. Figure 2 FIG. 1 is a flow chart of a method for alarming abnormal flow of a water softener according to an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:
[0037] Step S201, comparing the error rate of the flow meter of the water softener with a preset value
[0038] Step S202, when the error rate of the flow meter of the water softener is less than a preset value, instructing the flow meter to detect the flow rate; and
[0039] Step S203, counting the time duration for which the flow meter continuously detects flow.
[0040] According to some embodiments, during the use of the water softener, long-term use may cause the attenuation and damage of the flow meter, and the accuracy of the flow meter is likely to become lower and lower. In order to accurately detect the flow of the water softener, the control valve assembly first calculates or obtains the error rate of the water softener flow meter. Among them, the calculation of the error rate of the water softener flow meter will be introduced below. When it is determined that the error rate of the flow meter is less than the preset value, it is considered that the flow meter can still accurately reflect the flow of the water softener. The control valve assembly instructs the flow meter to continuously detect the flow of the water softener. Among them, the preset value can be a value set by a technician based on experience, such as 5%, 20%, etc., and this application does not impose any restrictions on this.
[0041] When the flow meter continuously detects the flow of the water softener, the control valve assembly counts the duration for which the flow meter continuously detects the flow, that is, counts the duration for which the flow meter continuously detects a non-zero value (>0).
[0042] Step S204, when the flow meter continuously detects the flow for a preset time, determining that the water softener has a flow abnormality; and
[0043] Step S205, instructing the alarm device to issue an alarm message.
[0044] According to some embodiments, the preset duration may be a manually set duration, which is usually greater than the duration of flow during normal use of the water softener, for example, 60 minutes, 120 minutes, etc., and the present application does not impose any limitation on this.
[0045] When the flow meter continuously detects flow for a preset time, it can be determined that the water softener has a flow abnormality, for example, there may be abnormal water use or leakage in the pipeline at the rear end of the flow meter. When it is determined that the water softener has a flow abnormality, the alarm device is instructed to issue an alarm message. Among them, the alarm device can be an alarm, such as a buzzer alarm, and the method of issuing an alarm message can include instructing the alarm device to issue an alarm sound; the alarm device can also be an operation display module of the water softener, and the method of issuing an alarm message can include instructing the operation display module of the water softener to display an alarm message; or a combination of the two. Other methods can also be used to issue an alarm message, and this application does not impose any restrictions on this.
[0046] Figure 3 FIG. 1 is a flow chart of a method for alarming abnormal flow of a water softener according to another embodiment of the present application. Figure 2 compared to, Figure 3 Steps S301 to S305 are Figure 2 The steps S201 to S205 are the same as above, except that: Figure 3 The method shown also includes:
[0047] Step S306, in response to the flow meter detecting flow and then not detecting flow, setting the counted time to zero.
[0048] According to some embodiments, when the flow meter detects flow, the control valve assembly counts the duration of the flow meter detecting flow and determines whether the duration reaches a preset duration. If so, an alarm message is issued. If the duration from when the flow meter detects flow to when it does not detect flow does not reach the preset duration, the duration is set to zero. If the duration from when the flow meter detects flow to when it does not detect flow reaches the preset duration, the duration is also set to zero.
[0049] When the flow meter detects flow and then stops detecting flow, the counted time is set to zero. This can prevent the water softener from continuously sounding alarms when a flow abnormality occurs, and can also avoid false alarms caused by continuous statistics of the normal flow of the water softener.
[0050] Figure 4 1 is a flow chart of a method for alarming abnormal flow of a water softener according to another embodiment of the present application. Figure 2 compared to, Figure 4 Steps S401 to S405 are Figure 2The steps S201 to S205 are the same as above, except that: Figure 4 The method shown also includes:
[0051] Step S406, during the process of starting the regeneration process of the water softener, calculating the current error rate of the flow meter.
[0052] According to some embodiments, the flowmeter can be located at the water inlet of the water softener. During the regeneration process of the water softener, the water path of the water softener is: water inlet → flowmeter → control valve assembly → resin tank → control valve assembly → wastewater outlet. Since the control valve assembly has a flow limiting module, and the water softener program has corresponding wastewater flow rates for different water pressures (for example, different water pressures have corresponding wastewater flow rates per unit time), the wastewater flow rate during regeneration can be obtained. Moreover, for the salt absorption from the salt tank, different water pressures also have corresponding flow rates. At the same time, the water softener program can capture the flowmeter flow, compare the captured flowmeter flow Q with the difference between the wastewater flow Q1 and the salt absorption Q2, for example, it can be [Q-(Q1-Q2)] / (Q1-Q2), and the error rate of the flowmeter can be calculated.
[0053] According to some embodiments, step S406 may include:
[0054] When the flow meter is located at the water inlet of the water softener, the current error rate of the flow meter is calculated according to the flow detected by the flow meter, the flow at the wastewater outlet of the water softener and the salt absorption amount corresponding to the salt box.
[0055] According to other embodiments, the flowmeter may also be located at the water outlet of the water softener. According to a specific embodiment, an electrically controlled switch valve may be added between the rear end of the flowmeter at the water outlet of the water softener and the wastewater outlet. The switch valve is closed by default, and when the machine needs to be regenerated, the switch valve is opened. When the water softener needs to be regenerated, the switch valve is opened, and the flow through the flowmeter is the wastewater flow Q. The water softener program has corresponding wastewater flows for different water pressures, so that the wastewater flow Q1 during regeneration can be obtained. The captured flowmeter flow Q is compared with the wastewater flow Q1, for example, it can be (Q-Q1) / Q1, and the error rate of the flowmeter can be calculated.
[0056] According to some embodiments, step S406 may further include:
[0057] In the case where the flow meter is located at the water outlet of the water softener, the current error rate of the flow meter is calculated according to the flow detected by the flow meter and the flow at the wastewater outlet of the water softener.
[0058] According to another aspect of the present application, a water softener flow abnormality alarm device is provided. Figure 5Schematic diagram of an alarm device for abnormal flow of a water softener according to an embodiment of the present application. Figure 5 As shown, the device includes: a comparison module 501, a detection module 502, a statistics module 503, a determination module 504 and an indication module 505, wherein the comparison module 501 is used to compare the error rate of the flow meter of the water softener with a preset value, the detection module 502 is used to instruct the flow meter to detect the flow when the error rate of the flow meter of the water softener is less than the preset value; the statistics module 503 is used to count the duration for which the flow meter continuously detects the flow; the determination module 504 is used to determine that the water softener has a flow abnormality when the duration for which the flow meter continuously detects the flow reaches a preset duration; the indication module 505 is used to instruct the alarm device to issue an alarm message.
[0059] Figure 6 Schematic diagram of an alarm device for abnormal flow of a water softener according to another embodiment of the present application. Figure 5 compared to, Figure 6 Modules 601 to 605 and Figure 5 Modules 501 to 505 are the same except that Figure 6 The device shown also includes:
[0060] The duration zeroing module 606 is used to set the counted duration to zero in response to the flow meter detecting flow and then not detecting flow.
[0061] Figure 7 Schematic diagram of an alarm device for abnormal flow of a water softener according to another embodiment of the present application. Figure 5 compared to, Figure 7 Modules 701 to 705 and Figure 5 Modules 501 to 505 are the same except that Figure 7 The device shown also includes:
[0062] The calculation module 706 is used to calculate the current error rate of the flow meter during the process of starting the regeneration process of the water softener.
[0063] According to some embodiments, the calculation module 706 is used to:
[0064] When the flow meter is located at the water inlet of the water softener, the current error rate of the flow meter is calculated according to the flow detected by the flow meter, the flow at the wastewater outlet of the water softener and the salt absorption amount corresponding to the salt box.
[0065] According to some embodiments, the calculation module 706 is further configured to:
[0066] In the case where the flow meter is located at the water outlet of the water softener, the current error rate of the flow meter is calculated according to the flow detected by the flow meter and the flow at the wastewater outlet of the water softener.
[0067] According to the method and device for alarming abnormal flow of a water softener provided by the present application, under the premise of ensuring the accuracy of the flow meter, the flow of the water softener is detected by the flow meter, and the continuous flow duration is counted. When the continuous flow duration exceeds the preset duration, the abnormal flow alarm mode is activated. The present application uses the flow meter provided by the water softener to detect the flow, and determines that the water softener has abnormal flow when the continuous flow duration is abnormal, thereby realizing abnormal flow detection and alarm in a low-cost manner.
[0068] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0069] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0070] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be electrical connection or other forms.
[0071] See also Figure 8 , Figure 8 An electronic device is provided, comprising a processor and a memory. The memory stores computer instructions, and when the computer instructions are executed by the processor, the processor executes the computer instructions to achieve the following Figures 2 to 4 The method and refinement scheme shown.
[0072] It should be understood that the above device embodiments are only illustrative, and the device disclosed in the present invention can also be implemented in other ways. For example, the division of units / modules described in the above embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.
[0073] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present invention may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.
[0074] If the integrated unit / module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. If not otherwise specified, the processor or chip may be any appropriate hardware processor, such as a CPU, a GPU, an FPGA, a DSP, an ASIC, etc. If not otherwise specified, the on-chip cache, the off-chip memory, and the memory may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc.
[0075] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer electronic device (which can be a personal computer, a server or a network electronic device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc. Various media that can store program codes.
[0076] The present application also provides a non-transitory computer storage medium storing a computer program. When the computer program is executed by a plurality of processors, the processors execute the following Figures 2 to 4 The method and refinement scheme shown.
[0077] The embodiments of the present application are described in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application. At the same time, changes or deformations made by those skilled in the art based on the ideas of the present application, the specific implementation methods and the scope of application of the present application, all belong to the scope of protection of the present application. In summary, the content of this specification should not be construed as a limitation on the present application.
Claims
1. A method for alarming abnormal flow of a water softener, characterized in that: include: comparing the error rate of the flow meter of the water softener with a preset value; In case the error rate of the flow meter of the water softener is less than the preset value, instructing the flow meter to detect the flow rate; Counting the duration for which the flow meter continuously detects flow; When the flow meter continuously detects the flow for a preset time, determining that the water softener has a flow abnormality; as well as Instruct the alarm device to send out an alarm message.
2. The method according to claim 1, characterized in that Also includes: In response to the flow meter detecting flow and then not detecting flow, the counted time period is set to zero.
3. The method according to claim 1 or 2, characterized in that Also includes: During the process of starting the regeneration process of the water softener, a current error rate of the flow meter is calculated.
4. The method according to claim 3, characterized in that The calculating the current error rate of the flow meter comprises: When the flow meter is located at the water inlet of the water softener, the current error rate of the flow meter is calculated according to the flow detected by the flow meter, the flow at the wastewater outlet of the water softener and the salt absorption amount corresponding to the salt box.
5. The method according to claim 3, characterized in that The calculating the current error rate of the flow meter comprises: In the case where the flow meter is located at the water outlet of the water softener, the current error rate of the flow meter is calculated according to the flow detected by the flow meter and the flow at the wastewater outlet of the water softener.
6. The method according to claim 1 or 2, characterized in that: The alarm information issued by the instructing alarm device includes: Instructing the alarm device to emit an alarm sound; and / or Instructing the operation display module of the water softener to display an alarm message, wherein the alarm device includes the operation display module.
7. An alarm device for abnormal flow of a water softener, characterized in that: include: A comparison module, used for comparing the error rate of the flow meter of the water softener with a preset value; A detection module, used for instructing the flow meter of the water softener to detect flow rate when the error rate of the flow meter is less than the preset value; A statistics module, used to count the duration for which the flow meter continuously detects flow; A determination module, configured to determine that a flow abnormality occurs in the water softener when the flow meter continuously detects the flow for a preset time period; as well as The indication module is used to instruct the alarm device to send out an alarm message.
8. A water softener, characterized in that: The invention comprises a control valve assembly for executing the method according to any one of claims 1 to 6.
9. An electronic device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the method according to any one of claims 1 to 6 when executing the computer program in the memory.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.