CN111076790A - Liquid level monitoring method, storage medium and electronic equipment - Google Patents

Liquid level monitoring method, storage medium and electronic equipment Download PDF

Info

Publication number
CN111076790A
CN111076790A CN201911396311.3A CN201911396311A CN111076790A CN 111076790 A CN111076790 A CN 111076790A CN 201911396311 A CN201911396311 A CN 201911396311A CN 111076790 A CN111076790 A CN 111076790A
Authority
CN
China
Prior art keywords
capacitance
value
liquid level
preset period
signal set
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911396311.3A
Other languages
Chinese (zh)
Other versions
CN111076790B (en
Inventor
苑芳生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Kohler Electronics Ltd
Original Assignee
Shanghai Kohler Electronics Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Kohler Electronics Ltd filed Critical Shanghai Kohler Electronics Ltd
Priority to CN201911396311.3A priority Critical patent/CN111076790B/en
Publication of CN111076790A publication Critical patent/CN111076790A/en
Application granted granted Critical
Publication of CN111076790B publication Critical patent/CN111076790B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F23/00Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm
    • G01F23/22Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water
    • G01F23/26Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water by measuring variations of capacity or inductance of capacitors or inductors arising from the presence of liquid or fluent solid material in the electric or electromagnetic fields
    • G01F23/263Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water by measuring variations of capacity or inductance of capacitors or inductors arising from the presence of liquid or fluent solid material in the electric or electromagnetic fields by measuring variations in capacitance of capacitors

Abstract

The invention provides a liquid level monitoring method, a storage medium and an electronic device, wherein the method comprises the following steps: responding to a liquid level monitoring starting signal, sequentially acquiring capacitance signal sets according to a preset period, wherein each capacitance signal set comprises capacitance values of all capacitance induction electrodes in the preset period; determining an environment basic signal set according to the capacitance signal sets from the nth preset period to the (n + m) th preset period, wherein n is larger than or equal to 1, m is larger than or equal to 1, the value of n is increased along with the increase of the total number of the preset periods, and the (n + m) is smaller than the total number of the preset periods; and acquiring a capacitance signal set at the current moment, and determining the liquid level height at the current moment according to the capacitance signal set at the current moment and the environment basic signal set. According to the scheme, the environment basic signal set can be updated immediately, and when the liquid level height is monitored, judgment is carried out according to the capacitance signal set and the environment basic signal set at the current moment, so that the interference of environment change can be avoided, and an accurate liquid level height value can be obtained.

Description

Liquid level monitoring method, storage medium and electronic equipment
Technical Field
The invention relates to the technical field of liquid level height measurement, in particular to a liquid level monitoring method, a storage medium and electronic equipment.
Background
The existing method for measuring the liquid level height by capacitance induction in the prior art has the following principle: a plurality of capacitance induction electrodes are pasted on the outer surface of the container to form a liquid level height measuring component, the liquid levels at different heights can trigger the capacitance induction electrodes at different positions due to the sensitivity of capacitance to water, and the single chip microcomputer can calculate the height of the liquid level according to the position of the triggered capacitance induction electrodes. However, the capacitive sensing electrode is easily interfered by water and metal parts, so that the accuracy of the measurement result is not high.
In order to reduce the influence of the environment on the capacitive sensing electrode, one group of capacitive sensing electrode signals is selected in the existing anti-interference algorithm to calculate to obtain an environment basic signal value, and then whether the capacitive sensing electrode is really triggered by the rising liquid level is judged by judging whether the difference value between the current real-time signal value and the environment basic signal is larger than a threshold value when the capacitive sensing electrode is monitored in real time, wherein the environment basic signal is calculated from the group of capacitive signal values. In the above scheme, if the environment where the capacitive sensing electrode is located is an ideal condition, the capacitive sensing electrode has a certain anti-interference effect. However, in the actual environment where the liquid level height needs to be measured, the stability of the environment is very poor, and for example, large water drops, accumulated water, wet objects mistakenly placed in the container, wet areas in kitchens and toilets, or water mist accumulation at the position of the capacitance sensing electrode for a long time can cause the fluctuation of the environment signal value to be very large. Therefore, the accuracy of the anti-interference algorithm in the prior art is still not high, and misjudgment often occurs, so that the liquid level height monitoring method needs to be improved.
Disclosure of Invention
The embodiment of the invention aims to provide a liquid level monitoring method, a storage medium and electronic equipment, so as to solve the problem of low accuracy of a liquid level height monitoring result caused by liquid level monitoring environment change in the prior art.
Therefore, the invention provides a liquid level monitoring method, which comprises the following steps:
responding to a liquid level monitoring starting signal, and sequentially acquiring capacitance signal sets according to a preset period, wherein each capacitance signal set comprises capacitance values of all capacitance induction electrodes in the preset period;
determining an environment basic signal set according to the capacitance signal sets from the nth preset period to the (n + m) th preset period, wherein n is larger than or equal to 1, m is larger than or equal to 1, the value of n is increased along with the increase of the total number of the preset periods, and the (n + m) is smaller than the total number of the preset periods;
and acquiring a capacitance signal set at the current moment, and determining the liquid level height at the current moment according to the capacitance signal set at the current moment and the environment basic signal set.
Optionally, in the above liquid level monitoring method, the step of determining the environment basic signal set according to the capacitance signal sets in the nth preset period to the (n + m) th preset period includes:
for each capacitance sensing electrode, taking the average capacitance value of the capacitance sensing electrode in the nth preset period to the (n + m) th preset period as an environment basic value;
and taking the environment basic value of all the capacitance sensing electrodes as the environment basic signal set.
Optionally, in the above liquid level monitoring method, the step of determining the environment basic signal set according to the capacitance signal sets in the nth preset period to the (n + m) th preset period includes:
for each capacitance induction electrode, acquiring the maximum capacitance value and the minimum capacitance value of the capacitance induction electrode in the nth preset period to the (n + m) th preset period;
if the difference value between the maximum capacitance value and the minimum capacitance value is smaller than a set threshold value, taking the average capacitance value of the capacitor in the nth preset period to the (n + m) th preset period as the environment basic value;
and taking the environment basic value of all the capacitance sensing electrodes as the environment basic signal set.
Optionally, in the above liquid level monitoring method, the step of determining an environment basic signal set according to the capacitance signal sets in the nth preset period to the (n + m) th preset period further includes:
if the difference value between the maximum capacitance value and the minimum capacitance value is larger than or equal to the set threshold value, increasing the value of n in sequence, and repeating the step of determining the environment basic signal set according to the capacitance signal sets from the nth preset period to the (n + m) th preset period.
Optionally, in the above liquid level monitoring method, the step of determining an environment basic signal set according to the capacitance signal sets in the nth preset period to the (n + m) th preset period further includes:
judging an environment liquid level height change value according to the ith group of environment basic capacitance signal values and the (i +1) th group of environment basic signal sets;
if the environment liquid level height variation value exceeds the height range threshold value, taking the latest group of capacitance signal sets corresponding to the (i +1) th group of environment basic signal sets as the (i +2) th group of environment basic signal sets; wherein i is greater than or equal to 1.
Optionally, in the above liquid level monitoring method, a capacitance signal set at the current time is obtained, and the step of determining the liquid level height at the current time according to the capacitance signal set at the current time and the environment base signal set includes:
determining a capacitance sensing electrode triggered by the liquid level according to the capacitance value of each capacitance sensing electrode in the capacitance signal set at the current moment and the capacitance value of each capacitance sensing electrode in the environment basic signal set;
and obtaining the liquid level height at the current moment according to the position of the capacitance induction electrode triggered by the liquid level.
Optionally, in the liquid level monitoring method, the step of obtaining a capacitance signal set at the current time, and determining the capacitance sensing electrode triggered by the liquid level according to the capacitance value of each capacitance sensing electrode in the capacitance signal set at the current time and the capacitance value of each capacitance sensing electrode in the environment basic signal set includes:
if the capacitance value of the capacitance sensing electrode satisfies Cbt-Cb0If delta C is greater than delta C, the capacitance induction electrode is judged to be triggered, wherein CbtThe capacitance value, C, of the capacitance sensing electrode in the capacitance signal concentration at the current momentb0The capacitance value of the same capacitive sensing electrode in the environment basic signal set is delta C, and the trigger threshold value is delta C.
Optionally, in the above liquid level monitoring method, the step of determining the liquid level height at the current time according to the capacitance signal set at the current time and the environment base signal set further includes:
and if the liquid level height at the current moment exceeds the height range threshold value according to the position of the capacitance induction electrode triggered by the liquid level, taking the capacitance signal set at the current moment as a latest group of environment basic signal sets, and returning to the step of sequentially acquiring the capacitance signal sets according to a preset period after taking the current moment as a first preset period.
The invention also provides a computer readable storage medium, wherein the storage medium is stored with program information, and the computer reads the program information and then executes the liquid level monitoring method according to any scheme.
The invention also provides liquid level monitoring electronic equipment which comprises at least one processor and at least one memory, wherein program information is stored in the at least one memory, and the at least one processor reads the program information and then executes the liquid level monitoring method in any scheme.
Compared with the prior art, the technical scheme provided by the invention at least has the following beneficial effects:
according to the liquid level monitoring method, the storage medium and the electronic equipment, the data of the environment basic signal set is updated in real time along with the increase of the acquisition quantity of the capacitance signal sets, so that the environment basic signal set can be updated in real time, and when the liquid level height is monitored, judgment is carried out according to the capacitance signal set and the environment basic signal set at the current moment, so that the interference of environment change can be avoided, and an accurate liquid level height value can be obtained.
Drawings
FIG. 1 is a flow chart of a method of monitoring liquid level according to an embodiment of the present invention;
FIG. 2 is a block diagram of the structure of the device for monitoring the liquid level by the capacitive sensing electrode;
FIG. 3 is a schematic diagram illustrating a manner of obtaining a base capacitance value of a capacitive sensing electrode environment according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a modification process of the environmental base signal value by the liquid level monitoring method according to an embodiment of the invention;
fig. 5 is a schematic diagram of a hardware connection relationship of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention. In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description of the present invention, and do not indicate or imply that the device or assembly referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Wherein the terms "first position" and "second position" are two different positions.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; the two components can be directly connected or indirectly connected through an intermediate medium, and the two components can be communicated with each other. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art. In addition, the schemes in the following embodiments of the present invention may be combined according to actual needs as long as they do not conflict with each other.
Example 1
The embodiment provides a liquid level monitoring method, which can be applied to a controller of a liquid level monitoring device, as shown in fig. 1, and includes the following steps:
s101: and responding to a liquid level monitoring starting signal, and sequentially acquiring capacitance signal sets according to a preset period, wherein each capacitance signal set comprises capacitance values of all capacitance induction electrodes in the preset period. The liquid level monitoring start signal can be triggered by a controller start signal.
S102: and determining an environment basic signal set according to the capacitance signal sets from the nth preset period to the (n + m) th preset period, wherein n is more than or equal to 1, m is more than or equal to 1, the value of n is increased along with the increase of the total number of the preset periods, and (n + m) is less than the total number of the preset periods.
S103: and acquiring a capacitance signal set at the current moment, and determining the liquid level height at the current moment according to the capacitance signal set at the current moment and the environment basic signal set.
As shown in fig. 2, the conventional device for monitoring the liquid level includes a PCB, wherein a plurality of independent capacitive sensing electrodes are designed on the surface of the PCB, and the capacitive sensing electrodes are shaped as metal filling areas with a certain area and are distributed at different heights of the container. According to a calculation formula of the capacitance: c ═ S/4 pi kd, where e is the dielectric constant, S is the area directly opposite the capacitor plate, d is the distance of the capacitor plate, and k is the electrostatic force constant. When epsilon, d and k are constant, the larger the area of the capacitance sensing electrode is, the higher the sensing sensitivity is. In fig. 2, it is assumed that there are five capacitive sensing electrodes 202, and the capacitance value of each capacitive sensing electrode 202 is directly sent to the controller 201, and since each capacitive sensing electrode 202 corresponds to a different liquid level height, the controller 201 can determine the height of the liquid level in the container according to the output result of the capacitive sensing electrode 202. If there is no liquid in the container, the capacitance value to ground that 5 capacitance-sensing electrodes 202 gathered is stable basically and smaller, and if the water pipe blockked up, the liquid level can reach certain height, and the capacitance value that capacitance-sensing electrode that different heights corresponded will change this moment, for example the capacitance-sensing electrode that highly is the lowest can be triggered at first, along with the change of liquid level height, the capacitance-sensing electrode of second, third, fourth, fifth height can be triggered in proper order. The controller 201 collects the capacitance value of each capacitive sensing electrode according to a preset period, determines whether the capacitive sensing electrode is triggered, and accordingly can determine which the highest capacitive sensing electrode triggered by the liquid level is, so that the liquid level height can be determined.
And if humidity in the environment is great, or when fog is great, then can probably exert an influence to the capacitance value of electric capacity response electrode, can update in real time the environmental basis signal among the above-mentioned method of this scheme to eliminate the influence of environmental humidity itself to the high monitoring result of liquid level. Specifically, reference may be made to the drawing shown in fig. 3, where a capacitance variation curve of a certain capacitance sensing electrode is given, and as the collected capacitance is more and more, the environment basic signal is also changed in real time. It can be seen that before tx, the capacitance value fluctuates around 6416, which can be used as the ambient base signal value for the capacitor, and after tx, the capacitance value has increased, which fluctuates around 6420, which can be used as the ambient base signal value for the capacitor.
The preset period may be set according to a requirement for monitoring the water level height, for example, it may be set to several seconds, several minutes, etc., and the updating of the environment basic signal may be set according to the humidity condition of the environment, for example, the environment basic signal may be updated once every fifteen minutes, or the environment basic signal may be updated immediately. For example, the first set of environment basic signals is obtained by the capacitance signal sets from 1 st preset period to 20 th preset period, the second set of environment basic signals is obtained by the capacitance signal sets from 2 nd preset period to 21 st preset period, and so on. Of course, the second group of environment basic signals can also be obtained from the capacitance signal sets from the 5 th preset period to the 24 th preset period, and can be selected according to actual situations.
By adopting the method in the scheme, the data of the environment basic signal set is updated in real time along with the increase of the acquisition quantity of the capacitance signal sets, so that the environment basic signal set can be updated immediately, and when the liquid level height is monitored, the judgment is carried out according to the capacitance signal set and the environment basic signal set at the current moment, so that the interference of environment change can be avoided, and the accurate liquid level height value can be obtained.
In the above scheme, step S102 includes: for each capacitive sensing electrode, the average capacitance value of the capacitive sensing electrode in the nth preset period to the (n + m) th preset period is used as the environment basic value, and the environment basic values of all the capacitive sensing electrodes are used as the environment basic signal set. The description will be given by taking five capacitance sensing electrodes shown in fig. 2 as an example:
suppose that the capacitance signal set collected in the nth preset period is [ C ]10,C20,C30,C40,C50]The capacitance signal set collected in the (n +1) th preset period is [ C ]11,C21,C31,C41,C51]The capacitance signal set collected in the (n +2) th preset period is [ C ]12,C22,C32,C42,C52]… … th (n + m) th preThe capacitance signal set collected in the period is set as C1m,C2m,C3m,C4m,C5m]Then, the environment base value of each capacitive sensing electrode can be obtained as follows:
C1=(C10+C11+C12+……+C1m)/(m+1);C2=(C20+C21+C22+……+C2m)/(m+1);……C5=(C50+C51+C52+……+C5m) /(m + 1). The resulting set of ambient basis signals may then be: [ C ]1,C2,C3,C4,C5]. The basic value of each capacitance induction electrode is obtained by calculating the average value, and the operation is simple and the efficiency is high.
As another implementation, step S102 may be implemented as follows: for each capacitance induction electrode, acquiring the maximum capacitance value and the minimum capacitance value of the capacitance induction electrode in the nth preset period to the (n + m) th preset period; if the difference between the maximum capacitance value and the minimum capacitance value is smaller than a set threshold, taking the average capacitance value of the capacitance sensing electrodes in the nth preset period to the (n + m) th preset period as the environment basic value, and taking the environment basic values of all the capacitance sensing electrodes as the environment basic signal set. And if the difference value between the maximum capacitance value and the minimum capacitance value is larger than or equal to the set threshold value, increasing the value of n in sequence and repeating the step. That is, if there is a sudden change in signal value in the data obtained from the nth preset period to the (n + m) th preset period, which may be noise interference, the difference between the maximum capacitance value and the minimum capacitance value obtained by monitoring is too large, and in this case, the environmental basic signal value is not obtained by using the data of the group. And if the difference value between the maximum capacitance value and the minimum capacitance value is within the allowable range, the average value of all data can be used as the basic capacitance value, so that the monitoring accuracy of the environment basic value can be further improved.
In addition, in the above scheme, the processing of the environment basic signal set further includes the following steps:
judging an environment liquid level height change value according to the ith group of environment basic capacitance signal values and the (i +1) th group of environment basic signal sets; if the environment liquid level height variation value exceeds the height range threshold value, taking the latest group of capacitance signal sets corresponding to the (i +1) th group of environment basic signal sets as the (i +2) th group of environment basic signal sets; wherein i is greater than or equal to 1. As mentioned above, each group of capacitance signal sets can correspond to a monitoring result of liquid level height, the environment basic signal value also corresponds to environment liquid level height, and if the difference value of the environment liquid level heights corresponding to the two adjacent monitored environment basic signal sets is too large, the latest group of monitoring results in the next group of environment signal sets is used as a new environment basic signal set. Through the mode, if the environment basic signal value is changed greatly under the emergency situation caused by the fact that a user carries out error processing (for example, a cleaning cloth with water is prevented from being in a container) or the capacitance sensing electrode is influenced by large liquid drops, accumulated water vapor and the like, the latest data can be directly used as a new environment basic signal value, unnecessary operation can be avoided, and the signal processing speed is increased.
Further, step S103 in the above scheme includes the following steps:
determining a capacitance sensing electrode triggered by the liquid level according to the capacitance value of each capacitance sensing electrode in the capacitance signal set at the current moment and the capacitance value of each capacitance sensing electrode in the environment basic signal set; and obtaining the liquid level height at the current moment according to the position of the capacitance induction electrode triggered by the liquid level.
That is, whether each capacitive sensing electrode is triggered or not is determined by comparing the relationship between the capacitance value of each capacitive sensing electrode and the corresponding environment basic capacitance value, and accordingly, the height of the triggered capacitive sensing electrode can be determined, and the liquid level height can be further determined.
Preferably, the step S103 in the above scheme includes the following steps:
if the capacitance value of the capacitance sensing electrode satisfies Cbt-Cb0If delta C is greater than delta C, the capacitance induction electrode is judged to be triggered, wherein CbtThe capacitance value, C, of the capacitance sensing electrode in the capacitance signal concentration at the current momentb0Is the same capacitorThe capacitance value of the sensing electrode in the environment basic signal set is delta C, and is a trigger threshold value. The purpose of setting the trigger threshold is to prevent false triggering in the presence of water mist, water droplets, etc. Thereby further improving the accuracy of the ambient basis signal values.
Further preferably, step S103 in the above scheme further includes:
and if the liquid level height at the current moment exceeds the height range threshold value according to the position of the capacitance induction electrode triggered by the liquid level, taking the capacitance signal set at the current moment as a latest group of environment basic signal sets, and taking the current moment as a first preset period. As mentioned above, if the difference between the capacitance signal set monitored at the current time and the environment basic signal value suddenly changes greatly due to an emergency caused by a user's own mishandling (for example, preventing a rag with water from being held in a container) or due to a large droplet, accumulated moisture, or the like affecting the capacitance sensing electrode, the capacitance value of each capacitance sensing electrode monitored at the current time can be used as its new environment basic signal value. Meanwhile, in the subsequent liquid level height monitoring process, the steps S101 to S103 are repeated by taking the current moment as a first preset period.
Referring to fig. 4, for the capacitive sensing electrode, when the container is normally used, the environmental basic signal value is a condition, and when the water pipe is blocked or wet objects are placed in the container, the liquid level rises, the environmental basic signal value is adjusted to be consistent with the current liquid level value while the liquid level height is obtained, and after the blockage is removed or the wet objects are taken away, the capacitance value of the capacitive sensing electrode is suddenly reduced, and at this time, the reduced capacitance value is directly used as the latest environmental basic signal value.
Through the scheme of the invention, the environment basic signal set is updated along with the change of the environment, the difference value between the current capacitance signal value and the environment basic signal is almost zero and is not greater than the threshold value, and the water mist or the humid environment can not be triggered by mistake. After wet rag or big water droplet trigger suddenly, if tap washes by water again and runs out of water, because the signal value when the environment basic signal value who gathers is less than there is the rag, the signal value of environment basic signal value updates and replaces for last monitoring result, triggers by mistake and obtains correcting.
Example 2
The present embodiment provides a computer-readable storage medium, wherein the storage medium stores program information, and after the program information is read by a computer, the computer executes the liquid level monitoring method according to embodiment 1.
Example 3
The present embodiment provides an electronic device for monitoring a liquid level, as shown in fig. 5, including at least one processor 501 and at least one memory 502, where at least one of the memories 502 stores program information, and after the at least one processor 501 reads the program information, the method for monitoring a liquid level according to any one of the technical solutions in embodiment 1 is executed.
In fig. 5, one processor 501 is taken as an example. The apparatus for performing the liquid level monitoring method may further comprise: an input device 503 and an output device 504. The processor 501, the memory 502, the input device 503 and the output device 504 may be connected by a bus or other means, and fig. 4 illustrates the connection by a bus as an example.
Memory 502, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The processor 501 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 502, so as to implement the liquid level monitoring method of the above method embodiment.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in the embodiments of the present application.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A liquid level monitoring method is characterized by comprising the following steps:
responding to a liquid level monitoring starting signal, and sequentially acquiring capacitance signal sets according to a preset period, wherein each capacitance signal set comprises capacitance values of all capacitance induction electrodes in the preset period;
determining an environment basic signal set according to the capacitance signal sets from the nth preset period to the (n + m) th preset period, wherein n is larger than or equal to 1, m is larger than or equal to 1, the value of n is increased along with the increase of the total number of the preset periods, and the (n + m) is smaller than the total number of the preset periods;
and acquiring a capacitance signal set at the current moment, and determining the liquid level height at the current moment according to the capacitance signal set at the current moment and the environment basic signal set.
2. The method of claim 1, wherein the step of determining the set of ambient ground signals from the set of capacitance signals over the nth predetermined period to the (n + m) th predetermined period comprises:
for each capacitance sensing electrode, taking the average capacitance value of the capacitance sensing electrode in the nth preset period to the (n + m) th preset period as an environment basic value;
and taking the environment basic value of all the capacitance sensing electrodes as the environment basic signal set.
3. The method of claim 1, wherein the step of determining the set of ambient ground signals from the set of capacitance signals over the nth predetermined period to the (n + m) th predetermined period comprises:
for each capacitance induction electrode, acquiring the maximum capacitance value and the minimum capacitance value of the capacitance induction electrode in the nth preset period to the (n + m) th preset period;
if the difference value between the maximum capacitance value and the minimum capacitance value is smaller than a set threshold value, taking the average capacitance value of the capacitor in the nth preset period to the (n + m) th preset period as the environment basic value;
and taking the environment basic value of all the capacitance sensing electrodes as the environment basic signal set.
4. The method of claim 3, wherein the step of determining the set of ambient ground signals from the set of capacitance signals over the nth predetermined period to the (n + m) th predetermined period further comprises:
if the difference value between the maximum capacitance value and the minimum capacitance value is larger than or equal to the set threshold value, increasing the value of n in sequence, and repeating the step of determining the environment basic signal set according to the capacitance signal sets from the nth preset period to the (n + m) th preset period.
5. The method of claim 4, wherein the step of determining the set of ambient ground signals from the set of capacitance signals over the nth predetermined period to the (n + m) th predetermined period further comprises:
judging an environment liquid level height change value according to the ith group of environment basic capacitance signal values and the (i +1) th group of environment basic signal sets;
if the environment liquid level height variation value exceeds the height range threshold value, taking the latest group of capacitance signal sets corresponding to the (i +1) th group of environment basic signal sets as the (i +2) th group of environment basic signal sets; wherein i is greater than or equal to 1.
6. The method of any one of claims 1 to 5, wherein the step of obtaining a set of capacitance signals at a current time and determining a level of the liquid at the current time from the set of capacitance signals at the current time and the set of environmental base signals comprises:
determining a capacitance sensing electrode triggered by the liquid level according to the capacitance value of each capacitance sensing electrode in the capacitance signal set at the current moment and the capacitance value of each capacitance sensing electrode in the environment basic signal set;
and obtaining the liquid level height at the current moment according to the position of the capacitance induction electrode triggered by the liquid level.
7. The method of claim 6, wherein the step of obtaining a current time capacitance signal set and determining the capacitance sensing electrode triggered by the liquid level according to the current time capacitance signal set and the capacitance value of each capacitance sensing electrode in the environmental base signal set comprises:
if the capacitance value of the capacitance sensing electrode satisfies Cbt-Cb0If delta C is greater than delta C, the capacitance induction electrode is judged to be triggered, wherein CbtThe capacitance value, C, of the capacitance sensing electrode in the capacitance signal concentration at the current momentb0The capacitance value of the same capacitive sensing electrode in the environment basic signal set is delta C, and the trigger threshold value is delta C.
8. The method of claim 7, wherein determining the level of the liquid at the current time based on the set of capacitance signals and the set of environmental base signals further comprises:
and if the liquid level height at the current moment exceeds the height range threshold value according to the position of the capacitance induction electrode triggered by the liquid level, taking the capacitance signal set at the current moment as a latest group of environment basic signal sets, and returning to the step of sequentially acquiring the capacitance signal sets according to a preset period after taking the current moment as a first preset period.
9. A computer-readable storage medium, wherein program information is stored in the storage medium, and a computer reads the program information and executes the method of monitoring a liquid level according to any one of claims 1-8.
10. Electronic liquid level monitoring equipment, comprising at least one processor and at least one memory, wherein program information is stored in at least one memory, and the at least one processor reads the program information and executes the liquid level monitoring method according to any one of claims 1 to 8.
CN201911396311.3A 2019-12-30 2019-12-30 Liquid level monitoring method, storage medium and electronic equipment Active CN111076790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911396311.3A CN111076790B (en) 2019-12-30 2019-12-30 Liquid level monitoring method, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911396311.3A CN111076790B (en) 2019-12-30 2019-12-30 Liquid level monitoring method, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111076790A true CN111076790A (en) 2020-04-28
CN111076790B CN111076790B (en) 2021-06-22

Family

ID=70319682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911396311.3A Active CN111076790B (en) 2019-12-30 2019-12-30 Liquid level monitoring method, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111076790B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112816023A (en) * 2020-12-23 2021-05-18 中国船舶重工集团有限公司第七一0研究所 Water quantity acquisition filtering method and water quantity acquisition method
CN113029287A (en) * 2021-02-04 2021-06-25 惠州拓邦电气技术有限公司 Coffee machine water level detection method and coffee machine

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4194195A (en) * 1978-02-27 1980-03-18 Robertshaw Controls Company Portable liquid level maintenance monitor system for vehicles
US5461321A (en) * 1993-09-17 1995-10-24 Penberthy, Inc. Apparatus and method for measuring capacitance from the duration of a charge-discharge charge cycle
US5652521A (en) * 1995-12-19 1997-07-29 Square D Company Insulation monitoring system for insulated high voltage apparatus
EP1384586B1 (en) * 2002-07-24 2005-04-13 Sony Corporation Liquid detecting apparatus, liquid-amount detecting apparatus, liquid detecting method, and liquid-amount detecting method
CN101551264A (en) * 2009-04-28 2009-10-07 哈尔滨威帝汽车电子有限公司 Capacitance electronic type fuel sensor
CN101903755A (en) * 2007-12-28 2010-12-01 飞思卡尔半导体公司 Liquid level sensing device and method
CN102451497A (en) * 2010-10-21 2012-05-16 胡涯影 Liquid level monitor device for infusion device and monitoring method thereof
CN202304947U (en) * 2011-11-03 2012-07-04 十速科技股份有限公司 Liquid level sensing device for soap dispenser
CN102997974A (en) * 2012-12-24 2013-03-27 电子科技大学 Adaptive capacitance liquid level meter
CN105115567A (en) * 2015-09-18 2015-12-02 苏州工业职业技术学院 Real-time water level data monitor system for farmland
CN105674869A (en) * 2016-03-30 2016-06-15 华北理工大学 Method and device for automatically measuring thicknesses of different mediums
CN107569739A (en) * 2017-07-17 2018-01-12 福建星网锐捷通讯股份有限公司 Detection method and device for the capacitance inductor of woven hose liquid detecting
CN109899584A (en) * 2019-01-24 2019-06-18 广州市迦元智能家居有限公司 A kind of capacitive induction triggering tap and its touch-control control method, storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4194195A (en) * 1978-02-27 1980-03-18 Robertshaw Controls Company Portable liquid level maintenance monitor system for vehicles
US5461321A (en) * 1993-09-17 1995-10-24 Penberthy, Inc. Apparatus and method for measuring capacitance from the duration of a charge-discharge charge cycle
US5652521A (en) * 1995-12-19 1997-07-29 Square D Company Insulation monitoring system for insulated high voltage apparatus
EP1384586B1 (en) * 2002-07-24 2005-04-13 Sony Corporation Liquid detecting apparatus, liquid-amount detecting apparatus, liquid detecting method, and liquid-amount detecting method
CN101903755A (en) * 2007-12-28 2010-12-01 飞思卡尔半导体公司 Liquid level sensing device and method
CN101551264A (en) * 2009-04-28 2009-10-07 哈尔滨威帝汽车电子有限公司 Capacitance electronic type fuel sensor
CN102451497A (en) * 2010-10-21 2012-05-16 胡涯影 Liquid level monitor device for infusion device and monitoring method thereof
CN202304947U (en) * 2011-11-03 2012-07-04 十速科技股份有限公司 Liquid level sensing device for soap dispenser
CN102997974A (en) * 2012-12-24 2013-03-27 电子科技大学 Adaptive capacitance liquid level meter
CN105115567A (en) * 2015-09-18 2015-12-02 苏州工业职业技术学院 Real-time water level data monitor system for farmland
CN105674869A (en) * 2016-03-30 2016-06-15 华北理工大学 Method and device for automatically measuring thicknesses of different mediums
CN107569739A (en) * 2017-07-17 2018-01-12 福建星网锐捷通讯股份有限公司 Detection method and device for the capacitance inductor of woven hose liquid detecting
CN109899584A (en) * 2019-01-24 2019-06-18 广州市迦元智能家居有限公司 A kind of capacitive induction triggering tap and its touch-control control method, storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112816023A (en) * 2020-12-23 2021-05-18 中国船舶重工集团有限公司第七一0研究所 Water quantity acquisition filtering method and water quantity acquisition method
CN113029287A (en) * 2021-02-04 2021-06-25 惠州拓邦电气技术有限公司 Coffee machine water level detection method and coffee machine
CN113029287B (en) * 2021-02-04 2024-02-02 惠州拓邦电气技术有限公司 Water level detection method of coffee machine and coffee machine

Also Published As

Publication number Publication date
CN111076790B (en) 2021-06-22

Similar Documents

Publication Publication Date Title
CN111076790B (en) Liquid level monitoring method, storage medium and electronic equipment
CN100547362C (en) Detecting probe liquid level detector and method
US9207110B2 (en) Liquid level detecting device
RU2341780C1 (en) Method of adjusting measuring device for capacitive measurement of level of medium and measuring device (versions)
CN108709301A (en) Condensed water elimination method, air conditioner and storage medium
CN112134544B (en) Filtering method, device, equipment and computer readable storage medium
WO2011026119A2 (en) Method and apparatus for simultaneous localization and mapping of mobile robot environment
EP3707384B1 (en) Liquid level sensor
CN109238314B (en) Detection method and device for proximity sensing
US20120291541A1 (en) Digital field-induction water-level intelligent sensing system and its implementation method
WO2007048777A1 (en) Capacitive gauge
CN113833547A (en) Engine oil liquid level determination method and device
CN106643978B (en) Data processing method and module
CN106781659B (en) A kind of parking space state a reference value scaling method and device
CN109141577B (en) Detection method of water level detection device
CN109186044B (en) Human body sensing method and device and air conditioner
CN102242487B (en) A kind of method of automatic calibration water level of washing machine
CN101287969A (en) Capacitive gauge
CN102169006A (en) Method for automatically calibrating water level of washing machine
CN113028617B (en) Water level monitoring device, air conditioner and water level monitoring method of air conditioner
CN111879334B (en) Step counting method, step counting device and computer readable storage medium
CN114720968A (en) Method and device based on radar interference target and vehicle
CN111206393A (en) Liquid level detection device and method and washing machine
KR102553579B1 (en) Double conduction type rainfall measuring instrument and method performing thereof
CN108088689A (en) A kind of water equipment draining fault detection method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant