A method for controlling liquid level of viscous materials to prevent adhesion
By introducing acoustic oscillators and multi-dimensional dynamic impedance control mechanisms into liquid level control technology, the liquid level measurement accuracy and stability problems of high viscosity or easy-to-adhesive materials are solved, and more efficient and reliable liquid level monitoring is achieved.
Patent Information
- Application Number
- CN202411675955.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2044-11-22
AI Technical Summary
When using high viscosity or adhesion materials, the measurement accuracy decreases, the response speed becomes slower, and may even lead to sensor failure. It lacks a dynamic adjustment mechanism and an effective impedance regulation mechanism, making it difficult to maintain accuracy and stability in complex environments.
The acoustic oscillator is used to perform high-frequency acoustic wave vibration, adjust the frequency and amplitude of the acoustic oscillator according to the adhesion of the liquid, update the measurement parameters in real time using a multi-dimensional dynamic impedance control mechanism, and adjust the liquid level through the microcontroller to dynamically optimize the working parameters of the acoustic oscillator.
It effectively prevents liquid from accumulating on the sensor surface, avoids measurement errors, improves measurement accuracy and stability, and is suitable for liquid level monitoring under complex working conditions, extends service life and reduces maintenance costs.
Smart Images

Figure FT_1 
Figure FT_2 
Figure QLYQS_1
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of liquid level measurement, in particular to an anti-adhesion viscous material liquid level control method. Background Art
[0002] In industrial production processes, liquid level control technology has a wide range of applications when it comes to high-viscosity or highly adhesive liquid materials, typical fields include chemical, pharmaceutical, food processing, etc. However, traditional liquid level control methods, such as physical floats, pressure sensors, capacitive sensors, and ultrasonic sensors, often show great limitations when dealing with high-viscosity or easily adhered materials. Since liquids tend to adhere to the sensor surface, the measurement accuracy of these technologies will be significantly reduced, the response speed will be slowed down, and the sensor may even fail. For example, although ultrasonic sensors and radar sensors have the characteristics of non-contact measurement and can avoid direct liquid adhesion to a certain extent, the propagation of their sound waves or microwave signals will still be affected by the surface characteristics of high-viscosity liquids, resulting in inaccurate measurement results.
[0003] The existing technology has the following main problems when dealing with liquid level measurement of high-viscosity liquids: first, the sensor surface is easily contaminated by adhesive liquids, resulting in unstable sensor readings, especially for high-viscosity materials. Liquid residue on the surface of the sensor probe will interfere with subsequent measurements and reduce long-term working accuracy; second, the traditional liquid level measurement method lacks a dynamic adjustment mechanism and cannot adjust the measurement parameters in real time according to the situation of adhesion on the sensor surface, resulting in the inability to timely reflect the actual liquid level changes of the liquid; in addition, the existing technology usually lacks an effective impedance control mechanism for liquids with different viscosities and dielectric properties and temperature changes, so it is difficult to maintain measurement accuracy and stability in complex working environments. Summary of the invention
[0004] In view of the above existing problems, the present invention is proposed.
[0005] Therefore, the present invention provides an anti-adhesion viscous material level control method to solve the problem in the prior art that it is difficult to maintain measurement accuracy and stability in a complex working environment.
[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0007] In a first aspect, the present invention provides a method for controlling the liquid level of a viscous material for preventing adhesion, which comprises starting an acoustic oscillator to perform high-frequency acoustic vibration;
[0008] When liquid contacts the sensor surface, the frequency and amplitude of the acoustic oscillator are adjusted according to the adhesion condition, and frequency adjustment information is output;
[0009] Based on the frequency adjustment information and the changes in the dielectric properties of the liquid, the measurement parameters are updated in real time using a multi-dimensional dynamic impedance control mechanism;
[0010] Feedback updated measurement parameters to the microcontroller for liquid level control;
[0011] According to the liquid level control results, the working parameters of the acoustic oscillator are further dynamically optimized to adjust the vibration intensity and frequency.
[0012] As a preferred solution of the anti-adhesion viscous material level control method of the present invention, wherein: the sonic oscillator is started to perform high-frequency sonic vibration, and the specific steps are as follows:
[0013] Calculate the initial resonant frequency based on the thickness of the piezoelectric element and the material sound velocity in the acoustic oscillator;
[0014] Based on the initial resonant frequency, the output frequency of the signal generator is set;
[0015] The acoustic wave oscillator is connected to the signal generator and the power amplifier, and the corresponding driving signal is provided by the signal generator to output high-frequency acoustic wave vibration.
[0016] As a preferred solution of the anti-adhesion viscous material level control method of the present invention, when the liquid contacts the sensor surface, the frequency and amplitude of the acoustic oscillator are adjusted according to the adhesion situation, and the frequency adjustment information is output. The specific steps are as follows:
[0017] When the liquid contacts the sensor surface, the high-frequency sound wave vibration output by the signal generator monitors the frequency change of the oscillator in real time;
[0018] Based on the frequency change of the oscillator, the frequency output of the signal generator is adjusted in real time so that the output frequency of the signal generator matches the new resonant frequency after contact with the liquid;
[0019] According to the adhesion of the liquid, the output power of the power amplifier is adjusted, and the offset value generated during the output power adjustment process is recorded;
[0020] The output power offset value is integrated nonlinearly to form frequency adjustment information;
[0021] The frequency adjustment information is transmitted to the control unit via a feedback loop.
[0022] As a preferred solution of the anti-adhesion viscous material level control method of the present invention, wherein: based on the frequency adjustment information and the change of the dielectric properties of the material liquid, a multi-dimensional dynamic impedance control mechanism is used to update the measurement parameters in real time. The specific steps are as follows:
[0023] measuring an initial total impedance value of the liquid according to the frequency adjustment information;
[0024] The physical properties of the liquid are collected in real time, and combined with the initial total impedance value, the impedance model is updated, and the expression is:
[0025] ;
[0026] in, For time The total impedance value at time For liquid in time The resistivity at time, For liquid in time The dielectric constant at time, For time The oscillation frequency at the moment, For liquid in time The dynamic viscosity value at time For liquid in time The temperature of the moment, is the impedance adjustment coefficient;
[0027] The total impedance An integral filter is used to smooth short-term fluctuations;
[0028] The impedance threshold K is set. When the total impedance value after filtering is greater than the impedance threshold K, the oscillation frequency will be reduced and the output power of the power amplifier will be increased.
[0029] As a preferred solution of the anti-adhesion viscous material level control method of the present invention, wherein: the impedance threshold K is set, and the specific steps are as follows:
[0030] Conduct preliminary measurements on different types of liquids to determine the impedance value range;
[0031] Using statistical methods to analyze the range of impedance value variations of different liquid samples;
[0032] If the impedance value fluctuates, use the quantile to set the impedance threshold K;
[0033] If there is no historical data, the impedance threshold K is set based on the value of the liquid impedance under different environments.
[0034] As a preferred solution of the anti-adhesion viscous material level control method of the present invention, wherein: the updated measurement parameters are fed back to the microcontroller for level control, and the specific steps are as follows:
[0035] The microcontroller measures the total impedance in real time and combines it with the dielectric constant of the liquid. and dynamic viscosity , the difference of different liquid levels is distinguished by impedance spectroscopy analysis;
[0036] The difference between different liquid levels and the total impedance value The nonlinear relationship between them is set to the liquid level height expression:
[0037] ;
[0038] in, Indicates time The liquid level at the time, Indicates the impedance value at the empty liquid level, Indicates the proportionality coefficient between the difference in different liquid levels and the change in impedance value, Indicates the reference offset of the liquid level height;
[0039] According to the calculation result of the liquid level height, the microcontroller outputs the control command through the feedback loop;
[0040] The output frequency of the signal generator is changed in real time through the control value output by the controller, so that the output frequency of the signal generator matches the change of the liquid level.
[0041] As a preferred solution of the anti-adhesion viscous material liquid level control method of the present invention, wherein: the impedance spectrum analysis method is used to distinguish the differences in different liquid levels, and the specific steps are as follows:
[0042] Use a sweep signal generator to gradually scan the frequency and record the impedance value at each frequency point;
[0043] Through the measured impedance value, the equivalent circuit model of the liquid is constructed to fit the impedance under different liquid levels. The expression is:
[0044] ;
[0045] in, is the oscillation frequency and time The impedance under is the resistance, is the phase difference,
[0046] is the angular frequency, is the capacitor;
[0047] As the liquid level rises, the length of the conductive path of the liquid increases, and the resistance increases;
[0048] At the same time, the dielectric constant of the liquid increases, the capacitance increases, and thus the reactance decreases, and the reactance is inversely proportional to the dielectric constant.
[0049] As a preferred solution of the anti-adhesion viscous material level control method of the present invention, wherein: according to the liquid level control result, the working parameters of the acoustic oscillator are further dynamically optimized to adjust the vibration intensity and frequency, and the specific steps are as follows:
[0050] Calculate the deviation from the target level based on the liquid level height ;
[0051] According to the liquid level deviation , adjust the vibration intensity of the sound wave oscillator in real time, the expression is:
[0052] ;
[0053] in, For time The vibration intensity at the moment, is the initial vibration intensity, is the maximum liquid level height value;
[0054] According to the change of liquid impedance, the frequency of the acoustic oscillator is adjusted in real time, and the expression is:
[0055] ;
[0056] in, Indicates time The oscillation frequency at the moment, represents the initial resonant frequency, Indicates the frequency adjustment coefficient.
[0057] In a second aspect, the present invention provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: when the computer program is executed by the processor, any step of the anti-adhesion viscous material level control method as described in the first aspect of the present invention is implemented.
[0058] In a third aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program is executed by a processor, any step of the anti-adhesion viscous material level control method as described in the first aspect of the present invention is implemented.
[0059] The beneficial effects of the present invention are as follows: by introducing an acoustic wave oscillator and a multi-dimensional dynamic impedance control mechanism, the present invention can effectively prevent the accumulation of high-viscosity or easily adherent liquids on the sensor surface, thereby avoiding measurement errors caused by the adhesion effect; at the same time, the present invention can adjust the frequency and amplitude of the oscillator in real time according to the actual adhesion conditions and dielectric properties of the liquid, thereby making the measurement process more accurate and reliable; in addition, the dynamic optimization mechanism of the present invention can continuously adjust the acoustic wave vibration parameters, ensuring stability and accuracy under complex working conditions, significantly improving the accuracy and efficiency of liquid level monitoring, extending service life, and reducing maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0061] Figure 1 This is a flow chart of the anti-adhesion viscous material level control method in Example 1;
[0062] Figure 2 This is a flow chart of starting the acoustic wave oscillator to perform high-frequency acoustic wave vibration in Example 1. DETAILED DESCRIPTION
[0063] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.
[0064] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0065] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.
[0066] Example 1, reference Figure 1 and Figure 2 , which is the first embodiment of the present invention, provides a method for controlling the liquid level of viscous materials to prevent adhesion, comprising the following steps:
[0067] S1. Start the sonic oscillator to perform high-frequency sonic vibration.
[0068] Furthermore, the initial resonance frequency is calculated based on the thickness of the piezoelectric element and the material sound velocity in the acoustic wave oscillator;
[0069] Among them, the piezoelectric elements in the acoustic wave oscillator should use piezoelectric materials suitable for high-frequency acoustic wave vibrations, such as lithium niobate (LiNbO3) or barium titanate (BaTiO3). These materials can quickly generate mechanical vibrations under the action of an electric field.
[0070] Based on the initial resonant frequency, the output frequency of the signal generator is set;
[0071] For example, if the calculated frequency is 2 MHz, then the output frequency of the signal generator is set to 2 MHz.
[0072] It should also be noted that the frequency range of the amplifier must cover the output frequency of the signal generator (i.e. the resonant frequency of the piezoelectric element), while ensuring that the power amplifier can provide sufficient output voltage and current to effectively drive the piezoelectric element to vibrate. Typically, the output voltage of the power amplifier is between 10V and 100V, depending on the specifications of the piezoelectric element.
[0073] Use a coaxial cable to connect the acoustic oscillator to the signal generator and the power amplifier. The signal generator provides a corresponding driving signal to output high-frequency acoustic vibrations to ensure that the connecting line has good shielding performance to avoid interference from high-frequency signals.
[0074] It should be noted that "starting the acoustic oscillator to perform high-frequency acoustic vibration" is the basis of the entire anti-adhesion viscous material level control method; the oscillator generates sound waves through the high-frequency vibration of the piezoelectric element, which is usually used to detect liquid level or other physical phenomena; all subsequent detection, feedback and adjustment depend on the normal operation of the oscillator, so it provides the core vibration source for subsequent detection and control.
[0075] When high-frequency sound waves come into contact with liquids, a series of physical changes are triggered, such as reflection, damping and adhesion effects of the sound waves; these phenomena affect the propagation characteristics of the sound waves and thus change the measurement parameters such as frequency, amplitude and impedance.
[0076] S2. When the material liquid contacts the sensor surface, the frequency and amplitude of the acoustic oscillator are adjusted according to the adhesion situation, and the frequency adjustment information is output.
[0077] Furthermore, when the liquid contacts the sensor surface, the frequency change of the oscillator is monitored in real time through the high-frequency sound wave vibration output by the signal generator;
[0078] Based on the frequency change of the oscillator, the frequency output of the signal generator is adjusted in real time so that the output frequency of the signal generator matches the new resonant frequency after contact with the liquid, ensuring that the oscillator continues to vibrate in the best working state;
[0079] Preferably, through such matching, effective propagation of sound waves and optimal coupling between the liquid and the sensor surface are ensured, thereby improving measurement accuracy.
[0080] The new resonant frequency refers to the resonant frequency shifted due to changes in external conditions (such as liquid contact, temperature changes, load changes, etc.), thereby forming a new resonant point.
[0081] It should also be noted that the frequency change of the oscillator is caused by the intervention of the liquid, so the frequency of the signal generator must be adjusted according to this change to maintain the resonant state.
[0082] According to the adhesion conditions of the liquid (such as viscosity, mass load, etc.), the output power of the power amplifier is adjusted to adjust the amplitude of the oscillator to adapt it to the new working state, and the offset value generated during the output power adjustment process is recorded;
[0083] Specifically, according to the adhesion of the liquid (such as viscosity, mass load, etc.), the output power of the power amplifier is adjusted as follows:
[0084] When liquid contacts the sensor surface, the adhesion of the liquid will affect the oscillator, especially in the change of amplitude. The adhesion of the liquid (such as viscosity, mass load, etc.) will increase the damping of the vibrating surface, which will cause the amplitude of the oscillator to decrease or become unbalanced. At this time, the amplitude change of the oscillator is monitored in real time through the feedback loop of the sensor.
[0085] Based on the amplitude change information fed back by the sensor, the power offset that the power amplifier needs to adjust is calculated. Liquid adhesion usually causes the oscillator amplitude to decrease, so the power amplifier needs to increase the output power to compensate for the damping effect caused by the liquid.
[0086] The output power of the power amplifier is automatically adjusted based on the calculated power offset. If the adhesion of the liquid causes the amplitude to decrease, the power output will be increased, and conversely, if the amplitude is too large, the power output will be reduced. This adjustment process ensures that the vibration amplitude of the oscillator remains within a stable operating range.
[0087] During the power adjustment process, the offset value after each power adjustment will be recorded. These recorded data can reflect the specific impact of liquid contact on the working state of the oscillator and provide a basis for subsequent frequency adjustment or further feedback control.
[0088] After the power is adjusted, a feedback loop continuously monitors whether the oscillator’s amplitude has returned to the desired state. If the new power output does not fully compensate for the effects of liquid adhesion, fine-tuning continues until the oscillator’s amplitude stabilizes within the desired range.
[0089] The output power offset value is integrated into frequency adjustment information and transmitted to the control unit through a feedback loop.
[0090] S3. Based on the frequency adjustment information and the changes in the dielectric properties of the material liquid, the measurement parameters are updated in real time using a multi-dimensional dynamic impedance control mechanism.
[0091] Furthermore, the initial total impedance value of the liquid is measured according to the frequency adjustment information.
[0092] The physical properties of the liquid (including dielectric constant, viscosity and temperature) are collected in real time, and combined with the initial total impedance value, the impedance model is updated. The expression is:
[0093] ;
[0094] in, For time The total impedance value at the moment represents the electrical impedance between the liquid and the sensor.
[0095] For liquid in time The resistivity at that moment reflects the conductivity of the liquid. A higher resistivity means that the liquid has poor conductivity. For liquid in time The dielectric constant at that moment represents the dielectric properties of the liquid. A higher dielectric constant means that the liquid can store more charge. For time The oscillation frequency at the moment indicates the operating frequency of the sound wave oscillator. For liquid in time The dynamic viscosity value at the moment indicates the flow resistance of the liquid. The higher the viscosity, the worse the fluidity of the liquid. For liquid in time The temperature at the moment indicates the current temperature of the liquid. Temperature changes will affect the physical properties and impedance of the liquid. Impedance adjustment coefficient, a constant used to adjust the effect of liquid viscosity and temperature coupling on impedance. This value is related to the sensor material and liquid type.
[0096] It should be noted that the second term in the impedance model The coupling effect of liquid viscosity and temperature is introduced to cope with the impedance changes of different liquids when the temperature and viscosity change significantly, which can significantly improve the measurement accuracy in dynamic environments.
[0097] The total impedance An integral filter is used to smooth short-term fluctuations to ensure that the frequency adjustment information is not affected by transient noise;
[0098] Set the impedance threshold K. When the total impedance value after filtering is greater than the impedance threshold K, the oscillation frequency will be reduced and the output power of the power amplifier will be increased.
[0099] It should be noted that the oscillation frequency is reduced to ensure that sufficient sensitivity can be maintained; the output power of the power amplifier is increased to maintain the signal strength and ensure that changes in liquid properties do not cause signal attenuation.
[0100] It should also be noted that the specific steps for setting the impedance threshold K are as follows:
[0101] First, preliminary measurements are made on different types of liquids (e.g., more conductive liquids vs. more insulating liquids) to determine their impedance range.
[0102] For example, the impedance of conductive liquids is usually low, while the impedance of insulating liquids is relatively high. Through multiple measurements, the impedance value of the liquid under different conditions (such as temperature, pressure, viscosity changes, etc.) is obtained, and an empirical curve or mathematical model of impedance change is established.
[0103] Next, statistical methods (such as mean, variance, etc.) are used to analyze the impedance variation range of different liquid samples.
[0104] If the impedance data have large fluctuations, quantiles (such as the 95% quantile) can be used to set a preliminary threshold.
[0105] If there is no historical data, the values of liquid impedance under different environments are obtained through experiments as a basis for setting the threshold.
[0106] Secondly, the initial threshold It should be set above the upper limit of the normal impedance range of the liquid to ensure timely response when the liquid impedance exceeds this threshold.
[0107] For example, if experimental data show that the impedance of a liquid is usually arrive If the value fluctuates between as a preliminary threshold.
[0108] It should be noted that during operation, the initial threshold It may not be applicable in all cases. Therefore, the threshold can be adjusted continuously during operation by monitoring the impedance value change trend in real time. Approaching or exceeding The threshold can be raised or lowered appropriately .
[0109] For example, using the rolling window method, calculate the mean and standard deviation of the impedance values over a recent period of time, and dynamically update the threshold based on these statistical data. .
[0110] Furthermore, in addition to the threshold In addition, you can also set a safety boundary To ensure that there is no frequent adjustment due to instantaneous fluctuations. This safety margin can be a threshold a certain percentage of
[0111] Specific, safe boundaries Can be set to 90% or 95% of or ;
[0112] when Exceed But it did not reach When a fault occurs, an early warning will be issued, but the frequency or power will not be adjusted immediately to prevent frequent adjustments due to short-term fluctuations.
[0113] S4. Feedback the updated measurement parameters to the microcontroller for liquid level control.
[0114] Furthermore, the microcontroller measures the total impedance in real time and combines it with the dielectric constant of the liquid. and dynamic viscosity , the difference of different liquid levels is distinguished by impedance spectroscopy analysis;
[0115] Among them, this method can apply biosensing technology, draw on the real-time detection principle of the dielectric properties of different biomaterials, and further refine the classification of liquid media and liquid level changes.
[0116] Specifically, the frequency is scanned step by step through a frequency sweep signal generator and the impedance value at each frequency point is recorded;
[0117] Through the measured impedance value, the equivalent circuit model of the liquid is constructed to fit the impedance under different liquid levels. The expression is:
[0118] ;
[0119] in, is the oscillation frequency and time The impedance under is the resistance, is the phase difference,
[0120] is the angular frequency, is the capacitor;
[0121] As the liquid level rises, the length of the conductive path of the liquid increases and the resistance increases; at the same time, the dielectric constant of the liquid increases, the capacitance increases, and thus the reactance decreases. The reactance is inversely proportional to the dielectric constant.
[0122] Specifically, as the liquid level rises, the conductive path of the liquid becomes longer and the resistance increases, reflecting changes in the conductivity of the liquid;
[0123] As the liquid level rises, the dielectric constant of the liquid changes, causing the reactance to decrease.
[0124] It should be noted that the impedance change in the high-frequency band is more dependent on the dielectric properties of the liquid, so the difference in liquid level can be distinguished by analyzing the impedance in the high-frequency band.
[0125] Through the liquid level height and total impedance value The nonlinear relationship between them is set to the liquid level height expression:
[0126] ;
[0127] in, Indicates time The liquid level at the time, Indicates the impedance value at the empty liquid level, Indicates the proportionality coefficient between the liquid level height and the impedance value change, Indicates the reference offset of the liquid level height;
[0128] It should be noted that is the liquid level The proportionality coefficient between the change in impedance reflects the total impedance of the liquid The degree of impact of the change on the liquid level height.
[0129] When the impedance of the liquid changes, the liquid level It will change accordingly. Specifically, the change in liquid level is proportional to the logarithmic change in impedance, while is the adjustment factor of this ratio. Its value depends on the properties of the liquid (such as dielectric constant, viscosity, etc.) and the characteristics of the sensor.
[0130] if If the impedance is larger, it means that the change in impedance has a greater impact on the liquid level (i.e., a smaller impedance change will result in a more significant change in the liquid level); if If it is smaller, it means that the impedance change has little effect on the liquid level height.
[0131] According to the calculation result of the liquid level height, the microcontroller outputs the control command through the feedback loop;
[0132] Among them, a differential controller (PID controller) is used here to ensure the accuracy and response speed of regulation.
[0133] The output frequency of the signal generator is changed in real time through the control value output by the controller, so that the output frequency of the signal generator matches the change of the liquid level.
[0134] S5. According to the liquid level control result, the working parameters of the acoustic oscillator are further dynamically optimized to adjust the vibration intensity and frequency.
[0135] Furthermore, according to the liquid level height, the deviation from the target liquid level is calculated. ;
[0136] According to the liquid level deviation , adjust the vibration intensity of the sound wave oscillator in real time, the expression is:
[0137] ;
[0138] in, For time The vibration intensity at the moment, is the initial vibration intensity, is the maximum liquid level height value;
[0139] It should be noted that by adjusting the vibration intensity, the transmission intensity of the sound wave can be changed, thereby affecting the coupling degree between the liquid and the sensor surface, thereby optimizing the measurement accuracy of the liquid level.
[0140] According to the change of liquid impedance, the frequency of the acoustic oscillator is adjusted in real time, and the expression is:
[0141] ;
[0142] in, Indicates time The oscillation frequency at the moment, represents the initial resonant frequency, represents the frequency adjustment coefficient;
[0143] Furthermore, by combining the liquid level feedback with the dynamic changes of the liquid impedance, the working parameters of the acoustic oscillator will be further optimized through the adaptive control algorithm, and the vibration intensity and frequency will be adjusted in real time. This dynamic optimization ensures that the acoustic oscillator can always maintain the best working state under different working conditions, and improves the accuracy and stability of liquid level measurement.
[0144] This embodiment also provides a computer device, which is suitable for the case of an anti-adhesion viscous material level control method, including: a memory and a processor; the memory is used to store computer executable instructions, and the processor is used to execute computer executable instructions to implement the anti-adhesion viscous material level control method proposed in the above embodiment.
[0145] The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.
[0146] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the method for controlling the liquid level of a viscous material with anti-adhesion is implemented as proposed in the above embodiment; the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic storage device, a flash memory, a disk or an optical disk.
[0147] In summary, the present invention can effectively prevent the accumulation of high-viscosity or easily adherent liquids on the sensor surface and avoid measurement errors caused by the adhesion effect by introducing an acoustic wave oscillator and a multi-dimensional dynamic impedance control mechanism; at the same time, the present invention can adjust the frequency and amplitude of the oscillator in real time according to the actual adhesion conditions and dielectric properties of the liquid, so that the measurement process is more accurate and reliable; in addition, the dynamic optimization mechanism of the present invention can continuously adjust the acoustic wave vibration parameters, ensuring stability and accuracy under complex working conditions, significantly improving the accuracy and efficiency of liquid level monitoring, extending service life, and reducing maintenance costs.
[0148] Example 2, referring to Table 1, is the second example of the present invention. To further verify the technical solution of the present invention, experimental simulation data of the anti-adhesion viscous material level control method are provided.
[0149] The experiment selected three typical viscous liquids as test objects, namely: honey, syrup and motor oil. These liquids have different dynamic viscosities and dielectric properties, which can fully reflect the application effect of the anti-adhesion liquid level control method in a variety of viscous materials.
[0150] First, the initial working parameters of the acoustic oscillator are set according to the characteristics of the liquid. The initial resonant frequency is calculated based on the thickness of the piezoelectric element in the acoustic oscillator and the material sound velocity. For example, the initial resonant frequency of honey is set to 150 kHz, syrup is set to 200 kHz, and motor oil is set to 180 kHz. By connecting the acoustic oscillator to a signal generator and a power amplifier, the corresponding driving signal is provided to output high-frequency acoustic vibrations.
[0151] Secondly, the liquid is gradually injected into the container. When the liquid contacts the sensor surface, the frequency change of the oscillator is monitored in real time. Due to the large differences in the adhesion properties of different liquids, honey has a higher adhesion and the oscillation frequency changes more, while the change of engine oil is smaller. According to the frequency change of the oscillator, the output frequency of the signal generator is adjusted in real time to match the new resonant frequency after contact with the liquid. At the same time, the output power of the power amplifier is adjusted, and the offset value of the output power generated during the adjustment process is recorded. These frequency and power adjustment information are transmitted to the control unit through nonlinear integration.
[0152] Then, the control unit uses a multi-dimensional dynamic impedance control mechanism to update the measurement parameters in real time based on the frequency adjustment information and the dielectric properties of the liquid. By collecting the resistivity, dielectric constant and dynamic viscosity of the liquid at different time points, the total impedance value Z(t) of the liquid is calculated, and it is integrated and filtered to smooth fluctuations in a short period of time. The impedance threshold is set to 10Ω. When the total impedance value exceeds this value, the oscillation frequency is reduced and the output power of the power amplifier is increased to optimize the liquid level control.
[0153] Finally, the microcontroller distinguishes the differences between different liquid levels through impedance spectrum analysis, and adjusts the output frequency of the signal generator in real time through the feedback loop. For example, when the honey level rises, the impedance value Z(t) increases significantly, and the microcontroller adjusts the output frequency according to the liquid level formula to match the vibration intensity with the liquid level change. Through this process, the experiment verifies the high efficiency of the liquid level control method of the present invention in viscous materials.
[0154] The details are shown in Table 1 below:
[0155] Table 1 Experimental data comparison table
[0156]
[0157] It can be seen from the experimental data that the anti-adhesion viscous material level control method of the present invention shows obvious advantages in different viscous materials, as follows:
[0158] The initial resonant frequencies of honey, syrup and motor oil are 150 kHz, 200 kHz and 180 kHz respectively. After the liquid contacts the sensor, the resonant frequencies are reduced by adjusting the frequency of the acoustic oscillator. In particular, the frequency of honey drops to 140 kHz, with the largest change, reflecting its high adhesion. In contrast, the existing technology has a weak frequency adjustment capability in syrup, and the resonant frequency is only reduced to 180 kHz after contact, indicating that the existing method is insufficient in dealing with the adhesion of viscous materials.
[0159] The adjustment of the output power also shows the advantages of the present invention. In the present invention, the output power is dynamically adjusted according to the adhesion of the liquid. For example, honey requires a higher power (5.5W) to overcome its strong adhesion, while engine oil has weaker adhesion and only requires 4.2W of power. In contrast, the output power of the prior art in syrup is 5.0W, but it fails to fully optimize according to the adhesion of the liquid, resulting in inaccurate power adjustment.
[0160] The present invention updates the measurement parameters in real time through a multi-dimensional dynamic impedance control mechanism, and can effectively control the liquid level in different liquids. Experimental data show that in the three liquids of honey, syrup and motor oil, the total impedance values Z(t) are 12.5Ω, 9.8Ω and 8.2Ω respectively, while the syrup under the prior art is 10.5Ω. The impedance value adjustment is not flexible enough, and it is difficult to achieve accurate liquid level control. In the present invention, by setting the impedance threshold K=10Ω, the frequency of the oscillator and the output power of the power amplifier can be adjusted in time to ensure the stability of the liquid level control.
[0161] The calculation results of the liquid level height show that the present invention can more accurately control the liquid level of viscous materials. For example, the liquid level height of syrup is 10.8 cm, while the liquid level height of the prior art is only 10 cm, which is a significant difference. This difference mainly comes from the fact that the present invention accurately distinguishes the differences between different liquid levels through impedance spectroscopy analysis, and adjusts the working parameters of the acoustic oscillator in real time through a feedback loop to ensure higher accuracy of liquid level control.
[0162] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A method for controlling the liquid level of viscous materials to prevent adhesion, characterized in that: include, Start the sonic oscillator to perform high-frequency sonic vibration; When liquid contacts the sensor surface, the frequency and amplitude of the acoustic oscillator are adjusted according to the adhesion condition, and frequency adjustment information is output; Based on the frequency adjustment information and the changes in the dielectric properties of the liquid, the measurement parameters are updated in real time using a multi-dimensional dynamic impedance control mechanism; Feedback updated measurement parameters to the microcontroller for liquid level control; According to the liquid level control results, the working parameters of the acoustic oscillator are further dynamically optimized to adjust the vibration intensity and frequency; The specific steps of starting the acoustic wave oscillator to perform high-frequency acoustic wave vibration are as follows: Calculate the initial resonant frequency based on the thickness of the piezoelectric element and the material sound velocity in the acoustic oscillator; Based on the initial resonant frequency, the output frequency of the signal generator is set; Connect the acoustic wave oscillator with the signal generator and the power amplifier, provide a corresponding driving signal through the signal generator, and output high-frequency acoustic wave vibration; When the liquid contacts the sensor surface, the frequency and amplitude of the acoustic oscillator are adjusted according to the adhesion condition, and the frequency adjustment information is output. The specific steps are as follows: When the liquid contacts the sensor surface, the high-frequency sound wave vibration output by the signal generator monitors the frequency change of the oscillator in real time; Based on the frequency change of the oscillator, the frequency output of the signal generator is adjusted in real time so that the output frequency of the signal generator matches the new resonant frequency after contact with the liquid; According to the adhesion of the liquid, the output power of the power amplifier is adjusted, and the offset value generated during the output power adjustment process is recorded; The output power offset value is integrated nonlinearly to form frequency adjustment information; transmitting frequency adjustment information to a control unit via a feedback loop; Based on the frequency adjustment information and the change of dielectric properties of the material liquid, the multi-dimensional dynamic impedance control mechanism is used to update the measurement parameters in real time. The specific steps are as follows: measuring an initial total impedance value of the liquid according to the frequency adjustment information; The physical properties of the liquid are collected in real time, and combined with the initial total impedance value, the impedance model is updated, and the expression is: ; in, For time The total impedance value at time For liquid in time The resistivity at time, For liquid in time The dielectric constant at time, For time The oscillation frequency at the moment, For liquid in time The dynamic viscosity value at time For liquid in time The temperature of the moment, is the impedance adjustment coefficient; The total impedance An integral filter is used to smooth short-term fluctuations; The impedance threshold K is set. When the total impedance value after filtering is greater than the impedance threshold K, the oscillation frequency will be reduced and the output power of the power amplifier will be increased.
2. The anti-adhesion viscous material level control method according to claim 1, characterized in that: The specific steps of setting the impedance threshold K are as follows: Conduct preliminary measurements on different types of liquids to determine the impedance value range; Using statistical methods to analyze the range of impedance value variations of different liquid samples; If the impedance value fluctuates, use the quantile to set the impedance threshold K; If there is no historical data, the impedance threshold K is set based on the value of the liquid impedance under different environments.
3. The anti-adhesion viscous material level control method according to claim 2, characterized in that: The updated measurement parameters are fed back to the microcontroller for liquid level control. The specific steps are as follows: The microcontroller measures the total impedance in real time and combines it with the dielectric constant of the liquid. and dynamic viscosity , the difference of different liquid levels is distinguished by impedance spectroscopy analysis; The difference between different liquid levels and the total impedance value The nonlinear relationship between them is set as follows: ; in, Indicates time The liquid level at the time, Indicates the impedance value at the empty liquid level, Indicates the proportionality coefficient between the difference in different liquid levels and the change in impedance value, Indicates the reference offset of the liquid level height; According to the calculation result of the liquid level height, the microcontroller outputs the control command through the feedback loop; The output frequency of the signal generator is changed in real time through the control value output by the controller, so that the output frequency of the signal generator matches the change of the liquid level.
4. The anti-adhesion viscous material level control method according to claim 3 is characterized in that: The impedance spectrum analysis method is used to distinguish the differences between different liquid levels, and the specific steps are as follows: Use a sweep signal generator to gradually scan the frequency and record the impedance value at each frequency point; Through the measured impedance value, the equivalent circuit model of the liquid is constructed to fit the impedance under different liquid levels. The expression is: ; in, Oscillation frequency and time The impedance under is the resistance, is the phase difference, is the angular frequency, is the capacitor; As the liquid level rises, the length of the conductive path of the liquid increases, and the resistance increases; At the same time, the dielectric constant of the liquid increases, the capacitance increases, and thus the reactance decreases, and the reactance is inversely proportional to the dielectric constant.
5. The anti-adhesion viscous material level control method according to claim 4, characterized in that: According to the liquid level control result, the working parameters of the acoustic oscillator are further dynamically optimized to adjust the vibration intensity and frequency. The specific steps are as follows: Calculate the deviation from the target level based on the liquid level height ; According to the liquid level deviation , adjust the vibration intensity of the sound wave oscillator in real time, the expression is: ; in, For time The vibration intensity at the moment, is the initial vibration intensity, is the maximum liquid level height value; According to the change of liquid impedance, the frequency of the acoustic oscillator is adjusted in real time, and the expression is: ; in, Indicates time The oscillation frequency at the moment, represents the initial resonant frequency, Indicates the frequency adjustment coefficient.
6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the anti-adhesion viscous material level control method according to any one of claims 1 to 5 are implemented.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the anti-adhesion viscous material level control method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Liquid level detection device and detection method thereof
CN116558603A
Level sensor for cooking apparatus
WO1999040396A1