Electrode water level switch detection device, method, system and storage medium

By designing an electrode water level switch detection device including energy storage module, discharge module and control module, the scaling and rust problems caused by long-term power-on of the probe are solved, extending the service life and improving detection accuracy and stability.

CN114353915BActive Publication Date: 2025-04-01SHENZHEN SMART KITCHEN DIGITAL ELECTRIC CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210025071.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-12-29
Filing Date
2022-01-11
Publication Date
2025-04-01
Estimated Expiration
2042-01-11

AI Technical Summary

Technical Problem

In the existing electrode water level switch detection device, the probe is inserted in water for a long time and is in a power supply state, which can easily lead to scale and rust and shorten the service life.

Method used

An electrode water level switch detection device including an energy storage module, a discharge module and a control module is designed. The energy storage module stores and releases electricity through the power supply circuit, the discharge module forms a closed loop with water for discharge, and the control module determines the water level by detecting the energy storage voltage. The device does not require long-term power-on, avoiding rust and scaling problems.

Benefits of technology

It extends the service life of the probe, improves the accuracy and stability of detection, and is suitable for environments with different water quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114353915B_ABST
    Figure CN114353915B_ABST
Patent Text Reader

Abstract

The present application relates to an electrode water level switch detection device, method, system and storage medium, which aims to solve the technical problem that in order to maintain the detection of the water level, the above-mentioned probe needs to be inserted in the water all the time and is always in a powered state, which will accelerate the rust and scaling of the probe and reduce the service life of the probe. It includes an energy storage module, a discharge module and a control module. The energy storage module is connected in series in the power supply circuit to store electric energy and output the energy storage voltage. The input end of the discharge module is connected to the output end of the energy storage module to release the electric energy stored in the energy storage module. The discharge module is used to form a closed loop with the water in the container to be tested for discharge. The control module is used to detect the energy storage voltage of the energy storage module to determine whether there is water in the container to be tested. The present application has the effect of being applicable to different water qualities, and the pulse power-on time is extremely short. The discharge is carried out in the form of a weak voltage to extend the service life of the probe, making the detection more accurate and stable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of water level detection, and in particular to an electrode water level switch detection device, method, system and storage medium. Background Art

[0002] The electrode type water level switch is a liquid level switch used to detect whether the water level inside the container to be tested has reached the height to be tested and output a judgment value.

[0003] In the related art, a Chinese patent with publication number CN111521235A discloses an electrode water level switch detection device, including a container tube, an upper probe, a lower probe, and a nut. The upper probe is inserted into the top end socket of the container tube, and the upper probe is fastened to the container tube through the nut. The lower probe is inserted into the bottom end socket of the container tube, and the lower probe is fastened to the container tube through the nut. By setting the upper and lower probes, the water level overflows the container tube, and the container tube is in a full water state. The upper and lower probes are in a connected state, and the signal output is connected; when the water level in the container drops, the water in the container tube also drops. At this time, the container tube is in a water shortage state, the upper and lower probes are in a disconnected state, and the signal output is disconnected. The signal is transmitted through the wire, and the detection signal is reliable. The upper and lower probes are independent of each other and there is no water and steam interference, so the water shortage phenomenon can be reliably detected.

[0004] In the process of using the above-mentioned electrode water level switch, the inventors found that there are at least the following problems in this technology: in order to maintain the detection of the water level, the above-mentioned probe needs to be inserted into the water and powered at all times, which easily accelerates the scaling and rusting of the probe, resulting in a reduction in the service life of the probe. Summary of the invention

[0005] In order to extend the service life of the probe, the present application provides an electrode water level switch detection device, method, system and storage medium.

[0006] In a first aspect, the present application provides a water level switch detection device, which adopts the following technical solution:

[0007] An electrode water level switch detection device comprises an energy storage module, a discharge module and a control module. The energy storage module is connected in series in a power supply circuit to store electric energy and output an energy storage voltage. The input end of the discharge module is connected to the output end of the energy storage module to release the electric energy stored in the energy storage module. The discharge module is used to form a closed loop with the water in the container to be tested for discharge. The control module is used to detect the energy storage voltage of the energy storage module to determine whether there is water in the container to be tested.

[0008] By adopting the above technical solution, the control module can control whether the power supply circuit charges the energy storage module or not. The energy storage module is charged through the power supply circuit, and can also be discharged through the discharge module during the charging process. Therefore, if the discharge module can form a closed loop, that is, when the water level reaches the predetermined position, the energy storage module is charged and discharged at the same time, and it is difficult to be fully charged within the predetermined time. When the discharge module cannot form a closed loop, that is, when the water level does not reach the predetermined position, the capacitor has nowhere to discharge and will be fully charged in a very short time. Therefore, the control module can detect the energy storage voltage within the predetermined time, thereby judging that the water level in the container to be tested has reached the preset value; the device does not need to be powered on for a long time, so there will be no problem of rust and scaling caused by long-term power-on of the electrode, thereby extending the service life; in addition, the pulse power-on time is extremely short and discharges in the form of weak voltage, as long as the water contains soluble ions that can form ionization, it can be applied to different water qualities, and overall, the detection is more accurate and stable.

[0009] In a specific possible implementation scheme, the energy storage module includes a first resistor and a capacitor connected in series, the discharge module includes a second resistor and two discharge probes, the control module is a single-chip microcomputer, the first resistor and the capacitor are connected in series in a power supply circuit, one end of the second resistor is connected to the connection point of the first resistor and the capacitor, the other end of the second resistor is connected to one of the discharge probes, and the other discharge probe is grounded, the two discharge probes are used to be set on the inner wall of the container to be tested to discharge through the water flow in the container to be tested, the connection point of the first resistor and the capacitor serves as the output end of the energy storage module, and the I / O data input of the single-chip microcomputer serves as the input end to detect the energy storage voltage of the energy storage module.

[0010] In a specific implementation manner, a first diode is connected in parallel at both ends of the first resistor, and a second diode is connected in parallel in an anti-parallel manner at both ends of the capacitor.

[0011] By adopting the above technical solution, the first diode and the second diode are connected in series in reverse in the circuit, which can filter out the high-order harmonics and clutter generated in the container to be tested, thereby reducing the influence of the high-order harmonics and clutter on the detection result; on the other hand, the first diode and the second diode are connected in series in reverse in the circuit, which can discharge the reverse voltage, thereby protecting the control module.

[0012] In a second aspect, the present application provides a method for detecting a water level switch, which adopts the following technical solution:

[0013] A method for detecting a water level switch, comprising:

[0014] The control module outputs a low level, causing the energy storage module to discharge;

[0015] After the energy storage module is discharged, the control module detects the energy storage voltage of the energy storage module and starts timing;

[0016] If the energy storage voltage reaches the trigger value within the predetermined time, it is determined that the water volume is insufficient;

[0017] If the energy storage voltage does not reach the trigger value after a predetermined time, it is determined that the water volume is sufficient.

[0018] By adopting the above technical solution, the control module controls the detection by controlling the process of supplying power to the energy storage module through the power supply circuit. When the energy storage module is charged through the power supply circuit, it can also be discharged through the discharge module during the charging process. Therefore, if the discharge module can form a closed loop, that is, when the water level has not reached the predetermined position, the energy storage module will be charged and discharged at the same time, and it is difficult to be fully charged within the predetermined time. When the discharge module cannot form a closed loop, that is, when the water level has not reached the predetermined position, the capacitor has nowhere to discharge and will be fully charged in a very short time. Therefore, the control module can detect the energy storage voltage within the predetermined time, thereby judging that the water level in the container to be tested has reached the preset value. There is no need to power on for a long time, so there will be no problem of scaling and rusting caused by long-term power on of the electrode, thereby extending the service life.

[0019] In a specific embodiment, the method further comprises:

[0020] When it is determined that the water volume is insufficient, the insufficient water volume count value is added, and the sufficient water volume count value is cleared;

[0021] When it is determined that the water volume is sufficient, the water volume sufficient count value is added, and the water volume insufficient count value is cleared;

[0022] When any one of the water levels exceeds a preset value, a determination result corresponding to the preset value is output, wherein the determination result includes water fullness or water shortage;

[0023] The insufficient water count value and the sufficient water count value are reset to zero.

[0024] By adopting the above technical solution, since there may be accidental factors in a single detection result, the control module will superimpose the insufficient water count value or the sufficient water count value after obtaining the judgment result, and give the final judgment result when the insufficient water count value or the sufficient water count value exceeds the preset value, thereby filtering out clutter and improving accuracy through multiple detections within a certain period of time.

[0025] In a specific implementation scheme, the determination result corresponding to the output exceeding the preset value further includes:

[0026] If the water shortage count value exceeds the preset value, the water shortage signal is output and a water shortage alarm is executed;

[0027] If the water sufficient count value exceeds the preset value, the water is full output and the water full operation is executed.

[0028] In a specific implementation scheme, after determining that the water volume is sufficient, the method further comprises:

[0029] Continuously acquiring a detection voltage at an output end of the energy storage module;

[0030] Comparing the detection voltage with a preset divided voltage value;

[0031] When the detection voltage is always equal to the preset value of the divided voltage, it is determined that there is a short circuit at the discharge module.

[0032] By adopting the above technical solution, by checking the detection voltage at the output end of the energy storage module and comparing it with the preset value of the voltage divider, it can be determined whether the detection voltage is always equal to the preset value of the voltage divider. If the detection voltage is always equal to the preset value of the voltage divider, it means that a short circuit has occurred, thereby eliminating the influence of the short circuit on the detection result.

[0033] In a third aspect, the present application provides an electrode water level switch detection device, which adopts the following technical solution:

[0034] An electrode water level switch detection device further comprises:

[0035] The power clearing module is used to output a low level to discharge the energy storage module;

[0036] A charging control module is used to detect the energy storage voltage of the energy storage module and start timing after the energy storage module is discharged;

[0037] The result judgment module is used to determine that the water volume is insufficient when the energy storage voltage reaches the trigger value within a predetermined time; and to determine that the water volume is sufficient when the energy storage voltage still does not reach the trigger value after exceeding the predetermined time.

[0038] By adopting the above technical solution, the control module controls the detection by controlling the process of supplying power to the energy storage module through the power supply circuit. When the energy storage module is charged through the power supply circuit, it can also be discharged through the discharge module during the charging process. Therefore, if the discharge module can form a closed loop, that is, when the water level has not reached the predetermined position, the energy storage module will be charged and discharged at the same time, and it is difficult to be fully charged within the predetermined time. When the discharge module cannot form a closed loop, that is, when the water level has not reached the predetermined position, the capacitor has nowhere to discharge and will be fully charged in a very short time. Therefore, the control module can detect the energy storage voltage within the predetermined time, thereby judging that the water level in the container to be tested has reached the preset value. There is no need to power on for a long time, so there will be no problem of rust and scaling caused by long-term power on of the electrode, thereby extending the service life.

[0039] In a fourth aspect, the present application provides a computer device, which adopts the following technical solution:

[0040] A computer device comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and execute any one of the above-mentioned electrode water level switch detection methods.

[0041] By adopting the above technical solution, the control module controls the detection by controlling the process of supplying power to the energy storage module through the power supply circuit. When the energy storage module is charged through the power supply circuit, it can also be discharged through the discharge module during the charging process. Therefore, if the discharge module can form a closed loop, that is, when the water level has not reached the predetermined position, the energy storage module will be charged and discharged at the same time, and it is difficult to be fully charged within the predetermined time. When the discharge module cannot form a closed loop, that is, when the water level has not reached the predetermined position, the capacitor has nowhere to discharge and will be fully charged in a very short time. Therefore, the control module can detect the energy storage voltage within the predetermined time, thereby judging that the water level in the container to be tested has reached the preset value. There is no need to power on for a long time, so there will be no problem of rust and scaling caused by long-term power on of the electrode, thereby extending the service life.

[0042] In a fifth aspect, the present application provides a computer storage medium, which adopts the following technical solution:

[0043] A computer storage medium stores a computer program that can be loaded by a processor and executed by the electrode water level switch detection method.

[0044] By adopting the above technical solution, the control module controls the detection by controlling the process of supplying power to the energy storage module through the power supply circuit. When the energy storage module is charged through the power supply circuit, it can also be discharged through the discharge module during the charging process. Therefore, if the discharge module can form a closed loop, that is, when the water level has not reached the predetermined position, the energy storage module will be charged and discharged at the same time, and it is difficult to be fully charged within the predetermined time. When the discharge module cannot form a closed loop, that is, when the water level has not reached the predetermined position, the capacitor has nowhere to discharge and will be fully charged in a very short time. Therefore, the control module can detect the energy storage voltage within the predetermined time, thereby judging that the water level in the container to be tested has reached the preset value. There is no need to power on for a long time, so there will be no problem of rust and scaling caused by long-term power on of the electrode, thereby extending the service life.

[0045] In summary, the present application includes at least one of the following beneficial technical effects:

[0046] The control module controls the detection by controlling the process of supplying power to the energy storage module through the power supply circuit. When the energy storage module is charged through the power supply circuit, it can also be discharged through the discharge module during the charging process. Therefore, if the discharge module can form a closed loop, that is, the water level has not reached the predetermined position, the energy storage module will be charged and discharged at the same time, and it is difficult to be fully charged within the predetermined time. When the discharge module cannot form a closed loop, that is, the water level has not reached the predetermined position, the capacitor has nowhere to discharge and will be fully charged in a very short time. Therefore, the control module can detect the energy storage voltage within the predetermined time, thereby judging that the water level in the container to be tested has reached the preset value. There is no need to power on for a long time, so there will be no problem of rust and scaling caused by long-term power on of the electrode, thereby extending the service life. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is a structural schematic diagram of an electrode water level switch detection device in an embodiment of the present application;

[0048] Figure 2 It is a flow chart of a method for detecting an electrode water level switch in an embodiment of the present application;

[0049] Figure 3 It is a module block diagram of an electrode water level switch detection device in an embodiment of the present application.

[0050] Explanation of reference numerals: 101, energy storage module; 102, discharge module; 103, control module; 301, power clearing module; 302, charging control module; 303, result judgment module. DETAILED DESCRIPTION

[0051] The following is combined with Figure 1-3 This application is described in further detail.

[0052] The present application embodiment discloses an electrode water level switch detection device. Figure 1 The electrode water level switch detection device includes an energy storage module 101, a discharge module 102 and a control module 103; the energy storage module 101 is connected in series in the power supply circuit, and the energy storage module 101 includes a first resistor R1 and a capacitor C1 connected in series in the power supply circuit, the capacitor C1 is used to store electric energy, and the connection point between the first resistor R1 and the capacitor C1 serves as the output end of the energy storage module 101, and the capacitor C1 releases the stored electric energy to the outside through the output end of the energy storage module 101.

[0053] The discharge module 102 includes a second resistor R2 and two discharge probes. One end of the second resistor R2 is connected to the output end of the energy storage module 101, i.e., the connection point between the first resistor R1 and the capacitor C1, as the input end of the discharge module 102; the other end is connected to one of the discharge probes, and the other discharge probe is grounded. The two discharge probes are used to be installed in the container to be tested. When the water in the container to be tested submerges the two discharge probes, the discharge probes and the water form a closed loop, thereby releasing the electrical energy stored in the energy storage module 101.

[0054] A protection module is also provided between the energy storage module 101 and the discharge module 102. The protection module includes two diodes, one of which is reversely connected in parallel to both ends of the first resistor R1, and the other diode is reversely connected in parallel to both ends of the capacitor C1, so that when static electricity or reverse voltage is generated on the outer wall of the container to be tested, the reverse voltage can be released, thereby protecting the circuit.

[0055] The control module 103 may be a single-chip microcomputer with an I / O data pin, and the I / O data pin of the single-chip microcomputer is connected to the output end of the energy storage module 101, that is, one end of the second resistor R2 is connected to the connection point of the first resistor R1 and the capacitor C1. When the I / O data pin of the single-chip microcomputer is used as a data output end, the single-chip microcomputer outputs a low level through the I / O data pin, which can release the electric energy stored in the energy storage module 101 so that the energy storage voltage is cleared; when the I / O data pin of the single-chip microcomputer is used as a data input end, it can detect whether the energy storage voltage of the energy storage module 101 reaches the threshold value of the rising edge. If the capacitor C1 is fully charged within the predetermined time, that is, reaches the threshold value of the rising edge, it means that the energy storage module 101 has not discharged outwards, and at this time the discharge module 102 is open, that is, the two discharge probes have not formed a loop with the water in the container to be tested, and at this time it means that the water in the container to be tested has not reached the predetermined height; on the contrary, if the capacitor C1 still cannot be fully charged beyond the predetermined time, it means that the capacitor C1 is charging and discharging outwards, so it means that the two discharge probes and the water in the container to be tested form a closed loop, and therefore it means that the water in the container to be tested has reached the predetermined height.

[0056] Applied to the above-mentioned electrode water level switch device, the present application embodiment also discloses an electrode water level switch detection method, referring to Figure 2 , the above method comprises:

[0057] Step 210 : The control module 103 outputs a low level to discharge the energy storage module 101 .

[0058] Specifically, in the initial stage of the control method, the I / O port of the control module 103 can be used as an output terminal. At this time, the I / O port can output a low level. At this time, the capacitor C1 in the energy storage module 101 is discharged through the I / O port of the control module 103, so that the power in the energy storage module 101 is reset to zero.

[0059] Step 220 , after the energy storage module 101 is discharged, the control module 103 detects the energy storage voltage of the energy storage module 101 and starts timing.

[0060] Specifically, after the capacitor C1 in the energy storage module 101 is discharged, the voltage of the energy storage module 101 is reset to zero; at this time, the control module 103 controls the I / O port to be converted into an input port; at the same time, since the capacitor C1 is connected in series in the power supply circuit, VCC charges the capacitor C1, and the energy storage voltage at both ends of the capacitor C1 gradually increases over time. The input port of the control module 103 is used to collect the energy storage voltage of the energy storage module 101. When the energy storage voltage is collected, the timer inside the control module 103 starts timing at the same time.

[0061] Step 230: If the energy storage voltage reaches the trigger value within a predetermined time, it is determined that the water volume is insufficient.

[0062] For the convenience of description, the higher one of the two probes is named as the first probe, and the lower one is named as the second probe. Here, the probes are only distinguished but not limited.

[0063] Specifically, during the process of the control module 103 detecting the energy storage voltage of the energy storage module 101, if the water level in the container to be tested does not reach the position of the first probe, the first probe and the second probe cannot be connected by water flow, and thus the first probe and the second probe are in an open circuit state. The capacitor C1 in the energy storage module 101 will be fully charged within a predetermined time without being discharged, that is, the energy storage voltage reaches the trigger value.

[0064] Step 240: If the energy storage voltage does not reach the trigger value after a predetermined time, it is determined that the water volume is sufficient.

[0065] Specifically, during the process of the control module 103 detecting the energy storage voltage of the energy storage module 101, if the water level in the container to be tested reaches the position of the first probe, a closed loop can be formed between the first probe and the second probe through the water flow, and the first probe and the second probe are in a conductive state. The capacitor C1 in the energy storage module 101 is charged while discharging through the first probe, water and the second probe. At this time, even if the predetermined time is exceeded, the energy storage voltage cannot reach the predetermined value.

[0066] Optionally, considering the impact of a single accidental factor on the test result, the test result is processed. Accordingly, the above method further includes the following processing:

[0067] Step 231, when it is determined that the water volume is insufficient, the insufficient water volume count value is added, and the sufficient water volume count value is cleared.

[0068] In a specific implementation, when the control module 103 determines that the water volume is insufficient, the control module 103 increases the water volume insufficient count value by one, and then clears the water volume sufficient count value to zero, and then loops the above steps 210 to 240.

[0069] Step 241, when it is determined that the water volume is sufficient, the water volume sufficient count value is added, and the water volume insufficient count value is cleared.

[0070] In a specific implementation, when the control module 103 determines that the water volume is sufficient, the control module 103 increases the water volume sufficient count value by one, and then clears the water volume insufficient count value to zero, and then loops the above steps 210 to 240.

[0071] Step 250, when either the insufficient water count value or the sufficient water count value exceeds a preset value, a determination result corresponding to the preset value is output, and the determination result includes water full or water shortage.

[0072] In the specific implementation process, the control module 103 counts the insufficient water count value or the sufficient water count value and compares the insufficient water count value or the sufficient water count value with the preset value; when the insufficient water count value or the sufficient water count value exceeds the preset value, it means that the state judgment has a result, and the control module 103 outputs the judgment result corresponding to the item exceeding the preset value, and the judgment result includes water full or water shortage. For example, if the insufficient water count value exceeds the preset value, it is judged that there is water shortage; if the sufficient water count value exceeds the preset value, it is judged that there is water full.

[0073] Step 260, clearing both the insufficient water count value and the sufficient water count value.

[0074] In a specific implementation process, after outputting the determination result corresponding to the value exceeding the preset value, the control module 103 clears both the insufficient water count value and the sufficient water count value to facilitate subsequent detection and counting.

[0075] Optionally, considering that different measures need to be adopted for different conditions, the following processing may be included after step 250:

[0076] If the water shortage count value exceeds the preset value, water shortage will be output and water shortage alarm will be executed.

[0077] In the specific implementation process, when the water shortage count value exceeds the preset value, it means that the water shortage is always displayed for a period of time, and the interference of accidental factors is eliminated. Therefore, the control module 103 outputs water shortage and executes water shortage alarm, which can remind the operator to replenish water in time.

[0078] If the water sufficient count value exceeds the preset value, the water is full output and the water full operation is executed.

[0079] In the specific implementation process, when the water sufficient count value exceeds the preset value, it means that the water level is always sufficient for a period of time, and the interference of accidental factors is eliminated. Therefore, the control module 103 outputs the water full and executes the water full operation, and can perform subsequent processing.

[0080] Optionally, in order to prevent the short circuit from interfering with the detection result, the following processing is also included after step 240:

[0081] Step 1: Continuously obtain the detection voltage at the output end of the energy storage module 101.

[0082] In a specific implementation process, after determining that the water volume is sufficient, the control module 103 continuously obtains the detection voltage at the output end of the energy storage module 101 . The detection voltage at this time represents the voltage across the capacitor C1 .

[0083] Step 2: Compare the detection voltage with the preset value of the divided voltage;

[0084] In a specific implementation process, after detecting the detection voltage, the control module 103 compares the detection voltage with a preset divided voltage value, and the divided voltage prediction value is calculated by the first resistor R1, the second resistor R2 and the power supply VCC.

[0085] Step 3: When the detection voltage is always equal to the preset value of the divided voltage, it is determined that the discharge module 102 is short-circuited.

[0086] In a specific implementation process, after the control module 103 compares the detection voltage with the preset value of the divided voltage, if the detection voltage is always equal to the preset value of the divided voltage, it means that the first probe and the second probe are short-circuited, and at this time, it is determined that the discharge module 102 is short-circuited.

[0087] Based on the same inventive concept, the present application also discloses an electrode water level switch detection device, referring to Figure 1 and Figure 3 , the electrode water level switch detection device also includes:

[0088] The power clearing module 301 is used to output a low level to discharge the energy storage module 101;

[0089] The charging control module 302 is used to detect the energy storage voltage of the energy storage module 101 and start timing after the energy storage module 101 is discharged;

[0090] The result judgment module 303 is used to judge that the water volume is insufficient when the energy storage voltage reaches the trigger value within a predetermined time; and to judge that the water volume is sufficient when the energy storage voltage still does not reach the trigger value after exceeding the predetermined time.

[0091] Optionally, the above-mentioned electrode water level switch detection device further includes:

[0092] The water shortage counting module is used to add up the water shortage counting values ​​and clear the water sufficient counting value when it is determined that the water is insufficient;

[0093] A water quantity sufficient counting module is used to add up the water quantity sufficient counting values ​​and clear the water quantity insufficient counting values ​​when it is determined that the water quantity is sufficient;

[0094] A determination result output module, for outputting a determination result corresponding to a preset value when either a water shortage count value or a water sufficient count value exceeds a preset value, wherein the determination result includes water fullness or water shortage;

[0095] The value clearing module is used to clear both the insufficient water count value and the sufficient water count value.

[0096] Optionally, the above-mentioned electrode water level switch detection device further includes:

[0097] A water shortage alarm module is used to output water shortage and execute water shortage alarm when the water shortage count value exceeds a preset value;

[0098] The water shortage alarm module is used to output water full and execute the water full operation when the water sufficient count value exceeds the preset value.

[0099] Optionally, the above-mentioned electrode water level switch detection device further includes:

[0100] A voltage detection module, used to continuously obtain a detection voltage at the output end of the energy storage module 101;

[0101] A voltage comparison module, used for comparing the detection voltage with a preset value of the divided voltage;

[0102] The short circuit determination module is used to determine that a short circuit occurs at the discharge module 102 when the detection voltage is always equal to the preset value of the divided voltage.

[0103] It should be noted that: the electrode water level switch detection device provided in the above embodiment is only illustrated by the division of the above functional modules when performing parking lot scheduling. In actual applications, the above functional distribution can be completed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the electrode water level switch detection device provided in the above embodiment and the electrode water level switch detection method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0104] Based on the same inventive concept, an embodiment of the present application also discloses a computer device. Specifically, the computer device includes a memory and a processor. The memory stores a computer program that can be loaded by the processor and execute the above-mentioned electrode water level switch detection method.

[0105] Based on the same inventive concept, an embodiment of the present application also discloses a computer-readable storage medium.

[0106] Specifically, the computer-readable storage medium stores a computer program that can be loaded by a processor and execute the above-mentioned electrode water level switch detection method. The computer-readable storage medium includes, for example, a U disk, a mobile hard disk, a read-only memory (ROM0, a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0107] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.

Claims

1. An electrode water level switch detection device, characterized in that: The invention comprises an energy storage module (101), a discharge module (102) and a control module (103); the energy storage module (101) is connected in series in a power supply circuit to store electric energy and output an energy storage voltage; the input end of the discharge module (102) is connected to the output end of the energy storage module (101) to release the electric energy stored in the energy storage module (101); the discharge module (102) is used to form a closed loop with water in a container to be tested to discharge; the control module (103) is used to detect the energy storage voltage of the energy storage module (101) to determine whether there is water in the container to be tested; the energy storage module (101) comprises a first resistor R1 and a capacitor C1 connected in series; the discharge module (102) ) comprises a second resistor R2 and two discharge probes, the control module (103) is a single chip microcomputer, the first resistor R1 and the capacitor C1 are connected in series in a power supply circuit, one end of the second resistor R2 is connected to the connection point between the first resistor R1 and the capacitor C1, the other end of the second resistor R2 is connected to one of the discharge probes, and the other discharge probe is grounded, the two discharge probes are used to be arranged on the inner wall of the container to be tested so as to discharge through the water flow in the container to be tested, the connection point between the first resistor R1 and the capacitor C1 serves as the output end of the energy storage module (101), and the I / O data input of the single chip microcomputer serves as the input end to detect the energy storage voltage of the energy storage module (101).

2. The electrode water level switch detection device according to claim 1, characterized in that: A first diode is connected in parallel to both ends of the first resistor, and a second diode is connected in parallel to both ends of the capacitor C1.

3. The electrode water level switch detection device according to claim 1, characterized in that: The device also includes: A power clearing module (301) is used to output a low level to discharge the energy storage module (101); A charging control module (302) is used to detect the energy storage voltage of the energy storage module (101) and start timing after the energy storage module (101) is discharged; The result judgment module (303) is used to determine that the water volume is insufficient when the energy storage voltage reaches the trigger value within a predetermined time; and to determine that the water volume is sufficient when the energy storage voltage still does not reach the trigger value after exceeding the predetermined time.

4. A detection method applied to the electrode water level switch detection device according to any one of claims 1-2, characterized in that: include: The control module (103) outputs a low level, causing the energy storage module (101) to discharge; After the energy storage module (101) is discharged, the control module (103) detects the energy storage voltage of the energy storage module (101) and starts timing; If the energy storage voltage reaches the trigger value within the predetermined time, it is determined that the water volume is insufficient; If the energy storage voltage does not reach the trigger value after a predetermined time, it is determined that the water volume is sufficient.

5. The detection method of the electrode water level switch detection device according to claim 4, characterized in that: The method further comprises: When it is determined that the water volume is insufficient, the insufficient water volume count value is added, and the sufficient water volume count value is cleared; When it is determined that the water volume is sufficient, the water volume sufficient count value is added, and the water volume insufficient count value is cleared; When the water shortage count value or the water sufficient count value exceeds a preset value, a determination result corresponding to the preset value is output, and the determination result includes water full or water shortage; The insufficient water count value and the sufficient water count value are reset to zero.

6. The detection method of the electrode water level switch detection device according to claim 5, characterized in that: The determination result corresponding to the output exceeding the preset value also includes: If the water shortage count value exceeds the preset value, the water shortage signal is output and a water shortage alarm is executed; If the water sufficient count value exceeds the preset value, the water is full output and the water full operation is executed.

7. The detection method of the electrode water level switch detection device according to claim 4, characterized in that: After determining that the water volume is sufficient, the method further includes: Continuously acquiring a detection voltage at an output end of the energy storage module (101); Comparing the detection voltage with a preset divided voltage value; When the detection voltage is always equal to the preset value of the divided voltage, it is determined that a short circuit occurs at the discharge module (102).

8. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute any one of the methods according to claims 4 to 7.

9. A computer storage medium, characterized in that: A computer program is stored which can be loaded by a processor and executes the method according to any one of claims 4 to 7.

Citation Information

Patent Citations

  • Electrode water level switch detection device

    CN111521235A

  • Water level detection circuit and humidifier water tank

    CN213422325U