Water inlet control method based on self-capacitance detection
By monitoring the capacitance data of the electrode sheet in real time in the liquid heater and introducing self-capacitance changes to follow the baseline, the problem of temperature interference in water level detection is solved, more accurate water level judgment and water inlet control are achieved, and the operating efficiency of the liquid heater is improved.
Patent Information
- Application Number
- CN202510059090.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-15
- Publication Date
- 2025-05-13
AI Technical Summary
The water level detection process is disturbed by temperature factors, which leads to incorrect judgment of water level signals and affects the water inlet process.
The water inlet control method based on self-capacitance detection is adopted. By setting a longitudinally distributed electrode sheet in the liquid heater, the capacitance data of the target detection electrode sheet is monitored in real time, and the self-capacitance change follows the baseline, dynamically tracking the change of the capacitance value to accurately determine whether the current water level reaches the target water level.
Effectively eliminate interference caused by temperature changes, improve the accuracy and reliability of water level detection, ensure the accurate stop time of the pump, thereby avoiding excessive water inlet or insufficient water inlet, and improving the operating efficiency of the liquid heater.
Smart Images

Figure CN119987444A_ABST
Abstract
Description
Technical Field
[0001] The present specification relates to the field of air detection technology, and in particular to a water inlet control method based on self-capacitance detection. Background Art
[0002] Self-capacitance refers to the capacitance of each electrode sheet. In the absence of water, the capacitance of the electrode sheet is relatively small. However, when water contacts the electrode sheet and the water level gradually rises, the capacitance value will gradually increase until the water completely covers the electrode sheet. Although each electrode sheet on the capacitance detection board may have a different initial capacitance, the capacitance change trend of the electrode sheet is consistent after contact with water.
[0003] When judging the current water level value, the existing self-capacitance detection scheme usually directly detects the capacitance of the electrode sheet, performs liquid level detection based on the capacitance of the electrode sheet, and then realizes water inlet control. However, the self-capacitance value of the electrode sheet is greatly affected by temperature. During the operation of the liquid heater, the temperature inside the kettle will rise. As the water temperature in the kettle rises, the capacitance value of the electrode sheet set on the kettle will also slowly increase. This change in capacitance value is not caused by changes in water level, but by changes in temperature. Therefore, when the collected data changes, it is impossible to simply rely on the size of the self-capacitance capacitance to determine whether the electrode sheet is in contact with water. Therefore, the water level detection process is interfered by temperature factors, which may lead to incorrect judgment of the water level signal, thereby affecting the water inlet process. Summary of the invention
[0004] One or more embodiments of the present specification provide a water inlet control method based on self-capacitance detection, which is used to solve the following technical problem: the water level detection process is interfered by temperature factors, which may lead to incorrect water level signal judgment and thus affect the water inlet process.
[0005] One or more embodiments of this specification adopt the following technical solutions:
[0006] One or more embodiments of the present specification provide a water inlet control method based on self-capacitance detection, which is applied to a liquid heater, wherein the liquid heater includes a liquid container and a water pump, and a water level detection area arranged on the side wall of the liquid container, wherein a plurality of electrode sheets distributed longitudinally are arranged in the water level detection area, and the method includes: under the triggering of a water inlet instruction of a user, obtaining a corresponding target water level to determine a target detection electrode sheet corresponding to the target water level; monitoring real-time capacitance data corresponding to the target detection electrode sheet to collect real-time target capacitance data, and obtaining a preset self-capacitance change following baseline corresponding to the target detection electrode sheet, wherein the self-capacitance change following baseline is a curve that changes according to a preset change rule and follows the change of real-time capacitance data; judging whether the current water level has reached the target water level based on the real-time target capacitance data corresponding to the target detection electrode sheet and the self-capacitance change following baseline, and controlling the water pump to stop water inlet when the current water level reaches the target water level.
[0007] Furthermore, before obtaining the preset self-capacitance change following baseline corresponding to the target detection electrode sheet, the method also includes: performing a capacitance change test on the pre-set electrode sheet to collect a theoretical capacitance change curve of each electrode sheet during the water inflow process; determining a change law of the self-capacitance change following the baseline based on the curve change law of the theoretical capacitance change curve, wherein the change law includes a constant capacitance value before water inflow, an increase in capacitance value during water inflow, and a constant capacitance value after water inflow.
[0008] Furthermore, judging whether the current water level has reached the target water level is performed based on the real-time target capacitance data corresponding to the target detection electrode sheet and the self-capacitance change following baseline, specifically comprising: monitoring the capacitance change of the target detection electrode sheet based on the real-time target capacitance data corresponding to the target detection electrode sheet, and determining the real-time change parameters corresponding to the target detection electrode sheet to determine the corresponding real-time change curve of the target detection electrode sheet, wherein the real-time change parameters include the change time step and the real-time capacitance value corresponding to each change time step; generating a real-time water inlet following baseline based on the real-time target capacitance data corresponding to the target detection electrode sheet and the self-capacitance change following baseline; judging whether to trigger the detection water level corresponding to the target detection electrode sheet based on the real-time change curve and the real-time water inlet following baseline to judge whether the current water level has reached the target water level.
[0009] Furthermore, according to the real-time target capacitance data corresponding to the target detection electrode sheet, the capacitance change of the target detection electrode sheet is monitored to determine the real-time change parameters corresponding to the target detection electrode sheet, specifically including: when the capacitance change between the real-time target capacitance data and the pre-acquired water-free capacitance value meets a preset change threshold, determining the change duration corresponding to the capacitance change and determining the change time step; according to the change time step, sequentially collecting the capacitance data of the target detection electrode sheet, and determining the real-time capacitance value corresponding to the target detection electrode sheet after each of the change time step.
[0010] Furthermore, based on the real-time target capacitance data corresponding to the target detection electrode sheet and the self-capacitance change following baseline, a real-time water ingress following baseline is generated, specifically including: based on the real-time target capacitance data corresponding to the target detection electrode sheet, when the capacitance change of the target detection electrode sheet meets a preset mutation threshold, determining the initial change duration corresponding to the capacitance change; after the initial change duration, performing baseline value delay following according to the self-capacitance change following baseline corresponding to the target detection electrode sheet to generate a real-time water ingress following baseline, wherein the following step length of the real-time water ingress following baseline is the same as the change time step length.
[0011] Furthermore, based on the real-time change curve and the real-time water inlet following baseline, it is determined whether the detection water level corresponding to the target detection electrode sheet is triggered, specifically including: determining the real-time capacitance value and the real-time baseline value at the same time according to the real-time change curve and the real-time water inlet following baseline; when the difference between the real-time capacitance value and the real-time baseline value is greater than a preset relative change threshold, it is determined that the detection water level corresponding to the target detection electrode sheet is triggered.
[0012] Furthermore, after the initial change duration, the baseline value is delayed and followed according to the self-capacitance change following baseline corresponding to the target detection electrode sheet to generate a real-time water inlet following baseline, specifically including: determining the constant end node before water inlet corresponding to the constant law of the capacitance before water inlet corresponding to the self-capacitance change following baseline; postponing the constant end node before water inlet to the moment after the initial change duration, and determining, according to the following step, the capacitance following value of the self-capacitance change following baseline at the following moment corresponding to the following step, and generating the real-time water inlet following baseline with the following moment and the capacitance following value.
[0013] Furthermore, when the detection liquid level corresponding to the target detection electrode piece is in a static state, the real-time baseline value in the real-time water inflow following baseline corresponding to the target detection electrode piece is the same as the real-time capacitance value of the target detection electrode piece; when the detection liquid level corresponding to the target detection electrode piece is in a non-static state, the real-time baseline value of the real-time water inflow following baseline corresponding to the target detection electrode piece changes with the change of the real-time capacitance value of the target detection electrode piece, and the change speed of the real-time baseline value is less than the change speed of the real-time capacitance value.
[0014] Furthermore, judging whether the current water level has reached the target water level specifically includes: when the detection water level corresponding to the target detection electrode sheet is triggered, judging whether the current water level is above the multiple reference electrode sheets by following the baseline based on the real-time capacitance data of the multiple reference electrode sheets located below the target detection electrode sheet and the self-capacitance change corresponding to each of the reference electrode sheets; when the current water level is above the multiple reference electrode sheets, determining that the current water level has reached the target water level.
[0015] Furthermore, the real-time capacitance data of multiple reference electrode sheets located below the target detection electrode sheet and the self-capacitance change following baseline corresponding to each of the reference electrode sheets are used to determine whether the current water level is above the multiple reference electrode sheets, specifically including: generating a current capacitance change curve corresponding to each of the reference electrode sheets through the real-time capacitance data of the multiple reference electrode sheets, and determining the current capacitance value corresponding to each of the reference electrode sheets at the current moment; determining the current electrode following baseline corresponding to each of the reference electrode sheets according to the self-capacitance change following baseline corresponding to each of the reference electrode sheets, and determining the current following baseline value corresponding to each of the reference electrode sheets at the current moment; if the current capacitance value corresponding to each of the reference electrode sheets and the current following baseline value are equal, it is determined that the current water level is above the multiple reference electrode sheets.
[0016] At least one of the above technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects: through the above technical solution, the traditional self-capacitance detection solution is easily disturbed by temperature changes when judging the water level, and the capacitance value of the electrode sheet will slowly increase with the increase of temperature. By introducing the self-capacitance change following baseline, the change of the capacitance value of the electrode sheet can be dynamically tracked. When judging whether the current water level has reached the target water level, the interference caused by temperature changes can be more accurately eliminated, thereby improving the accuracy of water level detection; by real-time monitoring of the real-time capacitance data of the target detection electrode sheet and comparing it with the preset self-capacitance change following baseline, the current water level can be more accurately judged. Whether the water level has reached the target water level has overcome the limitation of the traditional solution that relies solely on the capacitance value to judge the water level, and the accuracy and reliability of water level detection have been improved. It can more accurately judge whether the current water level has reached the target water level, so the stop time of the water pump can be more accurately controlled, thereby avoiding excessive or insufficient water inflow and improving the operating efficiency of the liquid heater. The self-capacitance change follows the baseline, which is a curve that changes according to the preset change law and follows the changes in real-time capacitance data, which means that it can adapt to changes in electrode capacitance values under different temperature conditions, has strong adaptability and flexibility, and can be applied to different types of liquid heaters and different working environments. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art description. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. In the drawings:
[0018] Figure 1 A schematic flow chart of a water inlet control method based on self-capacitance detection provided in an embodiment of this specification;
[0019] Figure 2 A schematic diagram of the distribution of electrodes in a water level detection area provided in an embodiment of this specification;
[0020] Figure 3 A schematic diagram of a real-time capacitance change curve and a real-time water inflow following baseline of an electrode sheet provided in an embodiment of this specification. DETAILED DESCRIPTION
[0021] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.
[0022] The embodiment of this specification provides a water inlet control method based on self-capacitance detection. It should be noted that the execution subject in the embodiment of this specification can be a server or any device with data processing capabilities. Figure 1 A flow chart of a water inlet control method based on self-capacitance detection provided in an embodiment of this specification is shown as follows: Figure 1 As shown, it mainly includes the following steps:
[0023] Step S101, under the triggering of the user's water inlet instruction, the corresponding target water level is obtained to determine the target detection electrode sheet corresponding to the target water level.
[0024] The water inlet control method in the embodiment of this specification is applied to a liquid heater, which includes a liquid container and a water pump, and a water level detection area arranged on the side wall of the liquid container, wherein a plurality of longitudinally distributed electrode sheets are arranged in the water level detection area. Figure 2 A schematic diagram of the distribution of electrodes in a water level detection area provided in an embodiment of this specification, Figure 2 In order to meet the requirements of 500~1400ml tea bar machine, the design of touch capacitance distribution example, in the actual design process, the number or position of the electrode sheet can be adjusted, only Figure 2As an example, the embodiment of this specification is described. Taking the liquid heater as a tea bar machine as an example, a capacitance detection plate is provided in the kettle of the tea bar machine, including a plurality of staggered electrode sheets, wherein a certain space is reserved between two adjacent electrode sheets, which is used as a judgment node of the water level line, ensuring that only one electrode sheet in a single row of electrode sheets at the same time can detect a capacitance change, thereby improving the detection accuracy. The electrode sheets are arranged in a staggered manner, which can effectively avoid direct interference between adjacent electrode sheets, and a certain space is reserved between two adjacent electrode sheets at the upper and lower sides, which is used as a judgment node of the water level line. It is ensured that only one electrode sheet in a single row of electrode sheets at the same time can detect a capacitance change, avoiding misjudgment caused by multiple electrode sheets detecting capacitance changes at the same time, thereby improving the detection accuracy. In addition, in the design process, the 2W principle based on the PCB board makes the two adjacent electrode sheets on the left and right keep a certain distance (data interference is prone to occur if the distance is too close). It should be noted that the 2W principle means that in PCB design, adjacent signal lines or components should be kept at a sufficient distance to avoid mutual interference, and this distance is usually defined as twice the line width (i.e., 2W). The capacitance detection board design in the kettle achieves accurate detection of the water level line through staggered electrode pieces, reserved space between upper and lower adjacent electrode pieces, and 2W principle based on the PCB board. It not only improves the accuracy of detection, but also avoids interference between adjacent electrode pieces, ensuring the reliability of the detection results.
[0025] like Figure 2 As shown, 11 self-capacitance electrode sheets are arranged in the water level detection area, and each self-capacitance electrode sheet corresponds to a different detection liquid level. For example, the liquid level range that can be detected by self-capacitor G18 is 400-500ml, the liquid level range corresponding to self-capacitor G29 is 400-600ml, self-capacitor G23 and G24 can detect 500-700ml, self-capacitor G25 can detect 600-800ml, self-capacitor G22 can detect 700-900ml, self-capacitor G26 can detect 800-1000ml, self-capacitor G21 can detect 900-1100ml, self-capacitor G27 can detect 1000-1200ml, self-capacitor G20 can detect 1100-1300ml, self-capacitor G28 can detect 1200-1400ml, and self-capacitor G19 can detect 1300-1500ml. Figure 2In the staggered design shown, each 100ml liquid level has a corresponding detection electrode sheet, which can detect multiple liquid levels within 500-1400ml. For example, the 800ml liquid level can be judged by G25. When the water is submerged or nearly submerged by G25, the detection liquid level corresponding to G25 is triggered, and the purpose of detecting the 800ml liquid level can be achieved. In addition to G25, the purpose of detecting 800ml can also be achieved through the capacitance characteristics corresponding to G26 when water just touches.
[0026] In one embodiment of the present specification, a water inlet instruction from a user is received, and the water inlet instruction from the user includes a target water level, that is, the amount of water that the user needs to heat or operate. Under the triggering of the water inlet instruction from the user, the corresponding target water level is obtained. According to the detected water level corresponding to the electrode sheet in the water level detection area in the liquid heater, the target detection electrode sheet corresponding to the target water level is determined. It should be noted that in the embodiments of the present specification, there are multiple electrode sheets that can detect the same liquid level, and the target detection electrode sheet here is determined by the standard of being submerged or nearly submerged to trigger the detection liquid level. For example. The target detection electrode sheet corresponding to the target water level of 1100ml is G21, that is, the detection liquid level of 1100 is triggered when the water level is submerged or nearly submerged by G21.
[0027] After acquiring the target detection electrode sheet, the target water level is detected by monitoring the real-time capacitance data of the target detection electrode sheet, thereby controlling the water inlet process.
[0028] Step S102 , monitoring the real-time capacitance data corresponding to the target detection electrode sheet to collect the real-time target capacitance data and obtain a preset self-capacitance change following baseline corresponding to the target detection electrode sheet.
[0029] The self-capacitance change following baseline is a curve that changes according to a preset change rule and follows the change of real-time capacitance data;
[0030] In one embodiment of the present specification, the real-time capacitance of the target detection electrode sheet is detected to collect the real-time target capacitance data corresponding to the target detection sheet. It should be noted that in the embodiment of the present specification, after receiving the user's water inlet control instruction, the water pump is controlled to start and water is injected into the liquid container. The corresponding scenario is that the amount of water in the liquid container before the water is injected is much lower than the target water level. For example, when the liquid container is made of transparent glass, the user can intuitively see the remaining water level in the liquid container. After the user obtains the information that the remaining water in the container is insufficient, the water inlet control instruction will be triggered. In this case, when the water pump is controlled to start to inject water into the liquid container, the liquid level in the glass container fluctuates. When the water contacts a certain electrode sheet and the water level gradually rises, the capacitance value will gradually increase until the water completely covers the electrode sheet. The current water level in the glass container can be judged by the change of the electrode sheet. As the water level gradually rises, the electrode sheet it contacts gradually changes.
[0031] Taking the target detection electrode sheet as the target, the real-time capacitance data corresponding to the target detection electrode sheet is monitored to collect the real-time target capacitance data, which can realize the role of accurate matching of the electrode sheet. First, the target detection object is determined, and then the capacitance change of this electrode sheet is detected, which further ensures the matching of the detection process and the target water level. By real-time monitoring of the capacitance change of the target detection electrode sheet, it is possible to accurately determine whether the current water level in the liquid container has reached the target water level required by the user. As the water level gradually rises, the capacitance value of the electrode sheet also changes. This change can reflect the actual position of the water level in real time, thereby realizing accurate water level monitoring.
[0032] In the current capacitance detection scheme, the current water level value is generally determined by directly detecting the capacitance of the electrode sheet. However, since the self-capacitance value of the electrode sheet is greatly affected by temperature, when the water temperature in the kettle rises, the capacitance value of the electrode sheet set on the kettle will also slowly increase, causing the collected data to change. At this time, the size of the self-capacitance capacitance is used to determine whether the electrode sheet is in contact with water, which has interference factors and leads to inaccurate water level signal judgment.
[0033] Triggered by the above problems, the study found that during the change process of the electrode sheet, although the capacitance values of different electrode sheets are different, after contacting water, the change trend of the electrode sheet is consistent, showing the following trend: in the waterless state, the capacitance value is small and stable at a smaller capacitance value or capacitance range. After the electrode sheet gradually contacts the water, as the water level continues to rise, the water begins to submerge the electrode sheet, and the capacitance value of the electrode sheet gradually increases. After the water submerges the electrode sheet, the capacitance value of the electrode sheet stabilizes at a larger capacitance value. Therefore, a self-capacitance change following baseline can be introduced to accurately determine whether the current water level has reached the target water level through the relative change of the electrode sheet capacitance value.
[0034] Before obtaining the preset self-capacitance change following baseline corresponding to the target detection electrode sheet, the method also includes: performing a capacitance change test on the pre-set electrode sheet to collect a theoretical capacitance change curve of each electrode sheet during the water inflow process; determining the change law of the self-capacitance change following baseline based on the curve change law of the theoretical capacitance change curve, wherein the change law includes a constant capacitance value before water inflow, an increase in capacitance value during water inflow, and a constant capacitance value after water inflow.
[0035] In one embodiment of the present specification, a self-capacitance change following baseline is pre-set for each electrode sheet in the program, and each electrode sheet has a different self-capacitance change following baseline. It should be noted that the self-capacitance change following baseline here is a following type baseline, that is, the self-capacitance change following baseline is a real-time curve presented as the real-time capacitance of the electrode sheet changes according to a preset change rule.
[0036] In order to obtain the self-capacitance change following baseline corresponding to each electrode sheet, a capacitance change experiment is performed on each electrode sheet to obtain the real-time test capacitance value of each electrode sheet during the water inlet process, and the capacitance change curve of each electrode sheet is drawn, which can be referred to as the theoretical capacitance change curve here. It should be noted that although the law of the theoretical change curve corresponding to each electrode sheet is the same, the actual change speed, change value and stable capacitance value after the water finally floods the electrode sheet in the theoretical capacitance change curves of different electrode sheets are different. When determining the corresponding self-capacitance change following baseline according to the theoretical capacitance change curve of each electrode sheet, first, the change law of the curve change of the theoretical capacitance change curve is used to determine the change law of the self-capacitance change following baseline, and the change law includes constant capacitance value before water inlet, increase in capacitance value in water inlet and constant capacitance value after flooding. Secondly, the actual change speed and change value of the theoretical capacitance change curve are used as the change parameters of the law of increasing capacitance value of each electrode sheet in water inlet, and the stable capacitance value after the water finally floods the electrode sheet is used as the constant value of the constant law of capacitance value after flooding in the self-capacitance change following baseline.
[0037] Determine the self-capacitance change following baseline of each electrode sheet according to the above steps, and after marking the self-capacitance change following baseline according to the identification of the electrode sheet, store it in the control module, so as to obtain the self-capacitance change following baseline corresponding to the target detection electrode sheet after determining the target detection electrode sheet.
[0038] Since the capacitance change characteristics of different electrode sheets are different, setting an independent self-capacitance change following baseline for each electrode sheet can adapt to such differences and cope with the characteristics of different electrode sheets; obtaining the theoretical capacitance change curve of each electrode sheet by conducting experiments in advance and determining the self-capacitance change following baseline accordingly can simplify the subsequent data processing process; during the detection process, only the real-time capacitance value needs to be compared with the corresponding self-capacitance change following baseline to quickly determine the capacitance change of the electrode sheet, thereby improving data processing efficiency and real-time performance; the self-capacitance change following baseline of each electrode sheet is stored in the control module and the electrode sheet is marked with its identification to facilitate subsequent maintenance and upgrades of the system; when a new electrode sheet needs to be added or an old electrode sheet needs to be replaced, only the new self-capacitance change following baseline needs to be obtained in the same way and the storage information in the control module needs to be updated.
[0039] Step S103, judging whether the current water level has reached the target water level according to the real-time target capacitance data corresponding to the target detection electrode sheet and the self-capacitance change following baseline, and controlling the water pump to stop water intake when the current water level has reached the target water level.
[0040] In one embodiment of the present specification, the relative change of the target detection electrode sheet is determined based on the relationship between the real-time target capacitance data corresponding to the target detection electrode sheet and the self-capacitance change following the baseline, so as to judge whether the current water level has reached the target water level. When the current water level reaches the target water level, the water pump is controlled to stop the water intake.
[0041] According to the real-time target capacitance data corresponding to the target detection electrode sheet and the self-capacitance change following baseline, judging whether the current water level has reached the target water level, specifically comprising: monitoring the capacitance change of the target detection electrode sheet according to the real-time target capacitance data corresponding to the target detection electrode sheet, and determining the real-time change parameters corresponding to the target detection electrode sheet, so as to determine the corresponding real-time change curve of the target detection electrode sheet, wherein the real-time change parameters include the change time step and the real-time capacitance value corresponding to each change time step; generating a real-time water inlet following baseline according to the real-time target capacitance data corresponding to the target detection electrode sheet and the self-capacitance change following baseline; judging whether to trigger the detection water level corresponding to the target detection electrode sheet based on the real-time change curve and the real-time water inlet following baseline, so as to judge whether the current water level has reached the target water level.
[0042] In one embodiment of the present specification, the capacitance value of the target detection electrode sheet is monitored in real time. When the water level does not contact the target detection electrode sheet, that is, when it is below the target detection electrode sheet, the real-time capacitance data of the target detection electrode sheet is stable within a smaller capacitance range; if the water level gradually rises to the target detection electrode sheet, the real-time capacitance of the target detection electrode sheet changes. At this time, according to the real-time target capacitance data corresponding to the target detection electrode sheet, the capacitance change of the target detection electrode sheet is monitored to determine the real-time change parameter corresponding to the target detection electrode sheet. It should be noted that the real-time change parameter here includes the change time step and the real-time capacitance value corresponding to each change time step. It should be noted that in the process of capacitance change, the capacitance value continues to increase due to the influence of water level fluctuation. In the application scenario of the liquid heater, there is a time change when the water level fluctuation occurs. It can be understood here that as the working time of the water pump increases, the water level gradually rises and slowly approaches or submerges the target detection electrode sheet. Therefore, the change trend of the relative relationship between the capacitance value of the electrode sheet and water can be converted into a real-time change curve that changes with time. The corresponding real-time change curve of the target detection electrode sheet is determined by the real-time change parameter corresponding to the target detection electrode sheet.
[0043] As the real-time capacitance value changes, since the self-capacitance change following baseline follows the change of the real-time capacitance value and gradually presents a change trend of the complete baseline, a real-time water inflow following baseline is generated according to the real-time target capacitance data corresponding to the target detection electrode sheet and the self-capacitance change following baseline. Through the relationship between the real-time change curve and the real-time water inflow following baseline, it is determined whether the detection water level corresponding to the target detection electrode sheet is triggered to determine whether the current water level has reached the target water level. It should be noted that when judging whether to trigger the detection water level corresponding to the target detection electrode sheet through the relationship between the real-time change curve and the real-time water inflow following baseline, multiple judgments can be made. If they are all met after multiple judgments, it is determined that the detection water level corresponding to the target detection electrode sheet is triggered.
[0044] By real-time monitoring of the capacitance value of the target detection electrode, the change of water level can be quickly captured. Since the change of capacitance value is closely related to the change of water level, it is possible to accurately determine whether the current water level has reached the target water level. Taking into account the impact of water level fluctuations on capacitance value, the change trend of capacitance value over time is described by real-time changing parameters (including change time step and real-time capacitance value after each time step), so that it can better adapt to water level fluctuations that may be encountered in actual applications. By generating a real-time water inflow following baseline and comparing it with the real-time change curve, the accuracy of water level detection can be further improved, the possibility of misjudgment is reduced, and it is ensured that the detection water level is triggered only when specific conditions are met. When judging whether to trigger the detection water level corresponding to the target detection electrode, multiple judgments are adopted to avoid errors that may be caused by a single measurement.
[0045] According to the real-time target capacitance data corresponding to the target detection electrode sheet, the capacitance change of the target detection electrode sheet is monitored to determine the real-time change parameters corresponding to the target detection electrode sheet, specifically including: when the capacitance change between the real-time target capacitance data and the pre-acquired water-free capacitance value meets the preset change threshold, determining the change duration corresponding to the capacitance change and determining the change time step; according to the change time step, sequentially collecting the capacitance data of the target detection electrode sheet, and determining the real-time capacitance value corresponding to the target detection electrode sheet after each change time step.
[0046] In one embodiment of the present specification, when determining the real-time change curve, it is necessary to detect the real-time change parameters corresponding to the target electrode sheet. In one embodiment, the real-time change parameters include a change time step for describing the horizontal axis and a real-time capacitance value for describing the vertical axis. Determine the change time step based on the real-time target capacitance data and the water-free capacitance value of the target detection electrode sheet in a water-free state. A change threshold corresponding to the capacitance change is pre-set, and the setting of this change threshold can be obtained through experiments. In the process of performing a water injection experiment on the electrode sheet, the contact capacitance value corresponding to when the water just contacts the electrode sheet is collected, and the change threshold is obtained by the difference between the contact capacitance value and the water-free capacitance value.
[0047] The real-time capacitance change value of the target detection electrode sheet is obtained by the difference between the real-time target capacitance data and the water-free capacitance value of the target detection electrode sheet in the water-free state. When the real-time capacitance change value reaches the change threshold, the change duration corresponding to this capacitance change is obtained. It should be noted that the change duration here is the time from the change in capacitance value to the capacitance change reaching the change threshold. According to the change duration, the change time step is determined, and according to the change time step, the capacitance data of the target detection electrode sheet is sequentially collected to determine the real-time capacitance value corresponding to the target detection electrode sheet after each change time step. Through the change time step and the real-time capacitance value, the change trend of the relative relationship between the capacitance value of the electrode sheet and water is converted into a real-time change curve that changes over time.
[0048] A real-time water ingress following baseline is generated according to the real-time target capacitance data corresponding to the target detection electrode sheet and the self-capacitance change following baseline, specifically including: according to the real-time target capacitance data corresponding to the target detection electrode sheet, when the capacitance change of the target detection electrode sheet meets a preset mutation threshold, determining the initial change duration corresponding to the capacitance change; after the initial change duration, performing baseline value delay following according to the self-capacitance change following baseline corresponding to the target detection electrode sheet to generate a real-time water ingress following baseline, wherein the following step length of the real-time water ingress following baseline is the same as the change time step length.
[0049] In one embodiment of the present specification, according to the real-time target capacitance data corresponding to the target detection electrode sheet, when the target detection electrode sheet just begins to change, the capacitance change is monitored, and when the capacitance change of the target detection electrode sheet meets the preset mutation threshold, the initial change duration corresponding to the capacitance change is determined. It should be noted that the mutation threshold here can be set by the R&D personnel based on the theoretical capacitance change curve of each electrode sheet according to experience. When the capacitance change of the target detection electrode sheet meets the corresponding mutation threshold, the time period between the beginning of the change and the mutation is set to the initial change duration. In other words, the duration between the last moment under the anhydrous stability law and the mutation moment that meets the mutation threshold is the initial change duration. After the initial change duration, the baseline value is delayed and followed according to the self-capacitance change following baseline corresponding to the target detection electrode sheet, and a real-time water inlet following baseline is generated. The following step length of the real-time water inlet following baseline is the same as the change time step length corresponding to the self-capacitance change curve.
[0050] After the initial change duration, the baseline value is delayed and followed according to the self-capacitance change following baseline corresponding to the target detection electrode sheet to generate a real-time water inlet following baseline, specifically including: determining the constant end node before water inlet corresponding to the constant law of the capacitance before water inlet corresponding to the self-capacitance change following baseline; postponing the constant end node before water inlet to the moment after the initial change duration, and determining the capacitance following value of the self-capacitance change following baseline at the following moment corresponding to the following step length according to the following step length, and generating the real-time water inlet following baseline with the following moment and the capacitance following value.
[0051] In one embodiment of the present specification, the self-capacitance change following baseline is a complete change curve, and the capacitance value corresponding to its ordinate is the capacitance value in the theoretical capacitance change curve, but in order to realize the following action of the self-capacitance change following baseline, its abscissa changes with the change of the real-time capacitance data, and then presents the real-time following baseline at different stages. First, the corresponding pre-water inlet constant end node corresponding to the constant law of the capacitance before water inlet, this pre-water inlet constant end node is extended to the moment after the initial change duration, that is, after the initial change duration, the state is followed according to the situation after the real-time capacitance data has a sudden change. Secondly, when the curve is updated according to the change time compensation in the real-time capacitance change curve, it is followed according to the corresponding following step length. In the following process, the ordinate of the real-time water inlet following baseline is determined according to the following step length. The capacitance following value of the self-capacitance change following baseline at the following moment corresponding to the following step length is determined, and the ordinate of the real-time water inlet following baseline is determined by the capacitance following value, and the real-time water inlet following baseline is generated in the above manner. In other words, if the real-time capacitance change is caused by water level fluctuations, the baseline value of the real-time water inlet following baseline will slowly approach the real-time capacitance value when the water level continues to change.
[0052] When the detection liquid level corresponding to the target detection electrode piece is in a static state, the real-time baseline value in the real-time water inlet following baseline corresponding to the target detection electrode piece is the same as the real-time capacitance value of the target detection electrode piece; when the detection liquid level corresponding to the target detection electrode piece is in a non-static state, the real-time baseline value of the real-time water inlet following baseline corresponding to the target detection electrode piece changes with the change of the real-time capacitance value of the target detection electrode piece, and the change speed of the real-time baseline value is less than the change speed of the real-time capacitance value.
[0053] Figure 3 A schematic diagram of a real-time capacitance change curve of an electrode sheet and a real-time water inflow following baseline provided in an embodiment of this specification, such as Figure 3As shown in the figure, when the liquid level does not touch the electrode sheet, the real-time capacitance change curve is stable at a small capacitance value, and the real-time water inflow following baseline coincides with the real-time capacitance change curve. As the water level gradually increases, the real-time capacitance value in the real-time capacitance change curve gradually increases. At this time, when a sudden change in the current capacitance value on the electrode sheet is detected, the real-time water inflow following baseline begins to increase slowly according to the preset change rule. Since the real-time capacitance change curve is not affected by other interference factors in this example, Figure 3 In the process, the real-time water inflow following baseline slowly approaches the real-time capacitance value in the real-time capacitance change curve with a preset change rule, until the water submerges the electrode sheet, and the real-time capacitance value in the real-time capacitance change curve stabilizes at a certain value, and the real-time water inflow following baseline coincides with the real-time capacitance change curve again. In this process, the following state of the real-time water inflow following baseline is delayed following, and after the real-time capacitance value stabilizes again when the water submerges the electrode sheet, the real-time water inflow following baseline also coincides with the real-time capacitance change curve with delay. Correspondingly, if the real-time capacitance change curve is the capacitance change caused by temperature, since the capacitance change caused by temperature is relatively slow, in the process of the slow change of the real-time capacitance change curve, the real-time water inflow following curve is delayed following, which will result in a situation where the real-time water inflow following curve changes more slowly; or the capacitance change caused by temperature does not meet the conditions of mutation, resulting in the real-time water inflow following curve not following. In this way, the misjudgment of water level caused by using the capacitance change caused by temperature as the water level judgment standard can be avoided.
[0054] Based on the real-time change curve and the real-time water inlet following baseline, determine whether to trigger the detection water level corresponding to the target detection electrode sheet, specifically including: determining the real-time capacitance value and the real-time baseline value at the same time according to the real-time change curve and the real-time water inlet following baseline; when the difference between the real-time capacitance value and the real-time baseline value is greater than a preset relative change threshold, determine that the detection water level corresponding to the target detection electrode sheet is triggered.
[0055] In one embodiment of the present specification, at each time point, the real-time capacitance value at the current moment is extracted from the real-time change curve. The real-time baseline value at the corresponding moment is extracted from the real-time water inlet following baseline. The difference between the real-time capacitance value and the real-time baseline value is calculated. If this difference is greater than the preset relative change threshold, the detection water level corresponding to the triggered target detection electrode sheet is determined. It should be noted that the relative change threshold here can be determined by the standard dynamic capacitance change curve and the standard following baseline generated by the electrode sheet under the condition of water level change. The difference between the capacitance value and the baseline value at each same time point is obtained through the standard dynamic capacitance change curve and the standard following baseline, and the preset threshold is determined based on multiple differences. For example, the average value of multiple differences can be taken as the relative change threshold.
[0056] Since the water level rise is a continuous process and there may be noise interference, the relationship between the difference between the current capacitance and the baseline value and the threshold value can be judged continuously for multiple times. The number of times is determined according to the processing time of the control module and the speed of the liquid level rise when the water is inlet. Generally, it is required that the number of times when the difference between the current capacitance and the baseline value exceeds the threshold value is more than 4 times as the trigger condition for reaching the water level line. For example, if the processing speed of the control module is fast and the water inlet speed is slow, multiple judgments can be made to ensure accuracy. At the same time, when water is detected on the target electrode sheet, the water inlet speed can be appropriately reduced. Appropriately reducing the water inlet speed can help to more accurately judge the water level and avoid errors between the current water level and the target water level. In order to further improve the accuracy, the current capacitance of the electrode sheet can be used to further calibrate the above judgment process. First, a preset range of self-capacitance values is determined. Only when the trigger condition of the water level line is reached within the preset range can the target water level be determined. The preset range can be determined based on the state of the electrode sheet, the water temperature in the pot, and the capacitance sampling data before the capacitance of the target electrode sheet suddenly changes.
[0057] By real-time monitoring of the capacitance value of the target detection electrode and comparing it with the real-time water inlet tracking baseline, it is possible to accurately determine whether the water level has reached the predetermined target, reducing misjudgment caused by interference factors and improving detection accuracy; by continuously determining whether the difference between the current capacitance value and the baseline value exceeds the preset threshold and using the self-capacitance value for calibration, the system can still maintain accurate judgment capabilities in complex and changing environments; accurately determining whether the water level has reached the target can ensure that the device operates at the correct water level, thereby optimizing device performance and user experience.
[0058] Determining whether the current water level has reached the target water level specifically includes: when the detection water level corresponding to the target detection electrode sheet is triggered, judging whether the current water level is above the multiple reference electrode sheets by following the baseline based on the real-time capacitance data of the multiple reference electrode sheets located below the target detection electrode sheet and the self-capacitance change corresponding to each of the reference electrode sheets; when the current water level is above the multiple reference electrode sheets, determining that the current water level has reached the target water level.
[0059] In one embodiment of the present specification, in order to avoid detection errors in the process of detecting the target water level using only the target detection electrode sheet, when judging whether the current water level has reached the target water level, multiple reference electrode sheets located below the target detection electrode sheet can also be used for auxiliary judgment. Generally, if the detection water level corresponding to the target detection electrode sheet is triggered, the electrode sheets located below the target detection electrode sheet are all in a state of being submerged by water, that is, they are all in a triggered state. Therefore, when the detection water level corresponding to the target detection electrode sheet is triggered, the real-time capacitance data of the multiple reference electrode sheets located below the target detection electrode sheet and the self-capacitance change corresponding to each reference electrode sheet are collected to follow the baseline to judge whether the current water level has submerged the multiple reference electrode sheets; when the current water level has submerged the multiple reference electrode sheets, it is determined that the current water level has reached the target water level.
[0060] The real-time capacitance data of multiple reference electrode sheets located below the target detection electrode sheet and the self-capacitance change following baseline corresponding to each of the reference electrode sheets are used to determine whether the current water level is above the multiple reference electrode sheets, specifically including: generating a current capacitance change curve corresponding to each of the reference electrode sheets through the real-time capacitance data of the multiple reference electrode sheets, and determining the current capacitance value corresponding to each of the reference electrode sheets at the current moment; determining the current electrode following baseline corresponding to each of the reference electrode sheets according to the self-capacitance change following baseline corresponding to each of the reference electrode sheets, and determining the current following baseline value corresponding to each of the reference electrode sheets at the current moment; if the current capacitance value corresponding to each of the reference electrode sheets and the current following baseline value are equal, it is determined that the current water level is above the multiple reference electrode sheets.
[0061] In one embodiment of the present specification, by collecting the real-time capacitance data of multiple reference electrode sheets located below the target detection electrode sheet, a current capacitance change curve corresponding to each reference electrode sheet is generated. The current capacitance value corresponding to each reference electrode sheet at the current moment is determined. According to the generation process of the real-time follow-up baseline corresponding to the target detection electrode sheet, the current electrode follow-up baseline corresponding to each reference electrode sheet is determined according to the self-capacitance change follow-up baseline corresponding to each reference electrode sheet. Determine the current follow-up baseline value corresponding to each reference electrode sheet at the current moment. Compare the current capacitance value corresponding to each reference electrode sheet with the corresponding current follow-up baseline value. If the current capacitance value corresponding to each reference electrode sheet and the current follow-up baseline value are equal, it is determined that the current water level is submerged over the multiple reference electrode sheets. In addition, in addition to the above method, in addition to the current capacitance value corresponding to the reference electrode sheet and the current follow-up baseline value are equal, the magnitude relationship between the current capacitance value and the waterless capacitance value corresponding to the electrode sheet can also be auxiliary judged. That is, the current capacitance value corresponding to the reference electrode sheet and the current follow-up baseline value are equal and the current capacitance value corresponding to the reference electrode sheet is greater than the waterless capacitance value corresponding to the electrode sheet.
[0062] Comprehensive judgment is made through the real-time capacitance data of multiple reference electrodes and the self-capacitance change following baseline, which can significantly reduce the detection error caused by a single electrode. The collaborative work of multiple electrodes forms a redundant detection mechanism. When the target detection electrode triggers the water level detection, by confirming that all the reference electrodes below are submerged in water (i.e., all are triggered), it can be further confirmed that the water level has indeed reached the target height. The verification method of multiple electrode sheets reduces the possibility of false alarms and missed alarms and improves the accuracy of detection. In addition to comparing the current capacitance value with the current following baseline value, comparison with the water-free capacitance value is also introduced, which provides additional basis for judgment and helps to distinguish capacitance changes caused by water level changes and other non-water level factors (such as temperature changes, humidity changes, etc.).
[0063] In actual application scenarios, if there is enough water before taking water, if the glass container of the liquid heater is transparent glass, the user can intuitively see the current water volume. If it is made of non-transparent material, in general, the user usually lifts the kettle before triggering the water inlet command, and puts it back after lifting the kettle. Under this condition, after the kettle is put back with water, the water surface will fluctuate, so the change in self-capacitance can be used to detect the liquid level. The change in the self-capacitance of the electrode sheet generated by the fluctuation of the water surface is used for liquid level detection.
[0064] Through the above technical solution, the traditional self-capacitance detection solution is easily disturbed by temperature changes when judging the water level. The capacitance value of the electrode sheet will slowly increase with the increase of temperature. By introducing the self-capacitance change following baseline, the change of the capacitance value of the electrode sheet can be dynamically tracked. When judging whether the current water level has reached the target water level, the interference caused by the temperature change can be more accurately eliminated, thereby improving the accuracy of water level detection; by real-time monitoring of the real-time capacitance data of the target detection electrode sheet and comparing it with the preset self-capacitance change following baseline, it is possible to more accurately judge whether the current water level has reached the target water level, overcoming the limitation of the traditional solution that simply relies on the capacitance value to judge the water level, and improving the accuracy and reliability of water level detection; more accurately judging whether the current water level has reached the target water level, so that the stop time of the water pump can be more accurately controlled, thereby avoiding excessive or insufficient water inflow, and improving the operating efficiency of the liquid heater; the self-capacitance change following baseline is a curve that changes according to the preset change law and follows the change of the real-time capacitance data, which means that it can adapt to the change of the capacitance value of the electrode sheet under different temperature conditions, has strong adaptability and flexibility, and can be applied to different types of liquid heaters and different working environments.
[0065] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0066] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0067] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0068] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0069] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0070] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0071] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0072] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0073] The above description is only one or more embodiments of this specification and is not intended to limit this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the scope of the claims of this specification.
Claims
1. A water inlet control method based on self-capacitance detection, applied to a liquid heater, the liquid heater comprising a liquid container and a water pump, and a water level detection area arranged on the side wall of the liquid container, wherein a plurality of electrode sheets distributed longitudinally are arranged in the water level detection area, characterized in that: The method comprises: Under the triggering of the user's water inlet instruction, the corresponding target water level is obtained to determine the target detection electrode sheet corresponding to the target water level; Monitor the real-time capacitance data corresponding to the target detection electrode sheet to collect the real-time target capacitance data, and obtain a preset self-capacitance change following baseline corresponding to the target detection electrode sheet, wherein the self-capacitance change following baseline is a curve that changes according to a preset change rule and follows the change of the real-time capacitance data; According to the real-time target capacitance data corresponding to the target detection electrode sheet and the self-capacitance change following baseline, it is determined whether the current water level has reached the target water level. When the current water level has reached the target water level, the water pump is controlled to stop the water intake.
2. A water inlet control method based on self-capacitance detection according to claim 1, characterized in that: Before obtaining the preset self-capacitance change following baseline corresponding to the target detection electrode sheet, the method further includes: Conduct a capacitance change test on the pre-set electrode sheets to collect the theoretical capacitance change curve of each electrode sheet during the water inflow process; The variation law of the self-capacitance following the baseline is determined based on the variation law of the theoretical capacitance variation curve, wherein the variation law includes a constant capacitance value before water ingress, an increase in capacitance value during water ingress, and a constant capacitance value after water ingress.
3. A water inlet control method based on self-capacitance detection according to claim 2, characterized in that: According to the real-time target capacitance data corresponding to the target detection electrode sheet and the self-capacitance change following baseline, judging whether the current water level reaches the target water level specifically includes: According to the real-time target capacitance data corresponding to the target detection electrode sheet, the capacitance change of the target detection electrode sheet is monitored to determine the real-time change parameters corresponding to the target detection electrode sheet, so as to determine the real-time change curve corresponding to the target detection electrode sheet, wherein the real-time change parameters include the change time step and the real-time capacitance value corresponding to each change time step; Generate a real-time water inflow following baseline according to the real-time target capacitance data corresponding to the target detection electrode sheet and the self-capacitance change following baseline; Based on the real-time change curve and the real-time water inflow following baseline, it is determined whether the detection water level corresponding to the target detection electrode sheet is triggered to determine whether the current water level reaches the target water level.
4. A water inlet control method based on self-capacitance detection according to claim 3, characterized in that: According to the real-time target capacitance data corresponding to the target detection electrode sheet, the capacitance change of the target detection electrode sheet is monitored to determine the real-time change parameter corresponding to the target detection electrode sheet, specifically including: When the capacitance change between the real-time target capacitance data and the pre-acquired water-free capacitance value meets a preset change threshold, determining a change duration corresponding to the capacitance change and determining a change time step; The capacitance data of the target detection electrode sheet are sequentially collected according to the change time step, and the real-time capacitance value corresponding to the target detection electrode sheet after each change time step is determined.
5. The water inlet control method based on self-capacitance detection according to claim 3 is characterized in that: Generating a real-time water inflow following baseline according to the real-time target capacitance data corresponding to the target detection electrode sheet and the self-capacitance change following baseline specifically includes: According to the real-time target capacitance data corresponding to the target detection electrode sheet, when the capacitance change of the target detection electrode sheet meets a preset mutation threshold, determining the initial change duration corresponding to the capacitance change; After the initial change duration, the baseline value is delayed and followed according to the self-capacitance change following baseline corresponding to the target detection electrode sheet to generate a real-time water ingress following baseline, wherein the following step length of the real-time water ingress following baseline is the same as the change time step length.
6. The water inlet control method based on self-capacitance detection according to claim 3, characterized in that: Based on the real-time change curve and the real-time water inflow following baseline, determining whether to trigger the detection water level corresponding to the target detection electrode sheet specifically includes: Determine the real-time capacitance value and the real-time baseline value at the same time according to the real-time change curve and the real-time water inflow following baseline; When the difference between the real-time capacitance value and the real-time baseline value is greater than a preset relative change threshold, it is determined that the detection water level corresponding to the target detection electrode sheet is triggered.
7. The water inlet control method based on self-capacitance detection according to claim 5, characterized in that: After the initial change time, the baseline value is delayed and followed according to the self-capacitance change following baseline corresponding to the target detection electrode sheet to generate a real-time water inflow following baseline, specifically including: Determine the constant end node before water inflow corresponding to the constant law of capacitance before water inflow corresponding to the baseline according to which the self-capacitance change follows; The constant end node before water inflow is extended to the moment after the initial change duration, and according to the following step, the capacitance following value of the self-capacitance change following baseline at the following moment corresponding to the following step is determined, and the real-time water inflow following baseline is generated with the following moment and the capacitance following value.
8. The water inlet control method based on self-capacitance detection according to claim 7, characterized in that: When the detection liquid level corresponding to the target detection electrode sheet is in a stationary state, the real-time baseline value in the real-time water inflow following baseline corresponding to the target detection electrode sheet is the same as the real-time capacitance value of the target detection electrode sheet; When the detection liquid level corresponding to the target detection electrode piece is in a non-static state, the real-time baseline value of the real-time water inflow following baseline corresponding to the target detection electrode piece changes with the change of the real-time capacitance value of the target detection electrode piece, and the change speed of the real-time baseline value is lower than the change speed of the real-time capacitance value.
9. The water inlet control method based on self-capacitance detection according to claim 2, characterized in that: Determining whether the current water level reaches the target water level specifically includes: When the detection water level corresponding to the target detection electrode sheet is triggered, the real-time capacitance data of multiple reference electrode sheets located below the target detection electrode sheet and the self-capacitance change corresponding to each reference electrode sheet are used to follow the baseline to determine whether the current water level is above the multiple reference electrode sheets; When the current water level is above the plurality of reference electrode sheets, it is determined that the current water level has reached the target water level.
10. A water inlet control method based on self-capacitance detection according to claim 9, characterized in that: By using the real-time capacitance data of multiple reference electrode sheets located below the target detection electrode sheet and the self-capacitance change following baseline corresponding to each of the reference electrode sheets, it is determined whether the current water level is above the multiple reference electrode sheets, specifically including: Generate a current capacitance change curve corresponding to each reference electrode sheet through the real-time capacitance data of the multiple reference electrode sheets, and determine the current capacitance value corresponding to each reference electrode sheet at the current moment; Determine the current electrode following baseline corresponding to each reference electrode sheet according to the self-capacitance change following baseline corresponding to each reference electrode sheet, and determine the current following baseline value corresponding to each reference electrode sheet at the current moment; If the current capacitance value corresponding to each of the reference electrode sheets is equal to the current following baseline value, it is determined that the current water level is above the multiple reference electrode sheets.