Disclosure of Invention
The present invention has been made in view of the above-described problems occurring in the prior art.
Therefore, the invention provides an anti-adhesion viscous material liquid level control method which solves the problem that in the prior art, the accuracy and stability of measurement are difficult to maintain under a complex working environment.
In order to solve the technical problems, the invention provides the following technical scheme:
in a first aspect, the present invention provides a method for controlling the level of an anti-sticking viscous material, comprising, starting an acoustic oscillator to perform high frequency acoustic vibration;
When the liquid contacts the sensor surface, the frequency and the amplitude of the acoustic wave oscillator are adjusted according to the adhesion condition, and frequency adjustment information is output;
Based on the frequency adjustment information and the change of the dielectric property of the liquid, the measuring parameters are updated in real time by utilizing a multidimensional dynamic impedance regulation mechanism;
feeding back the updated measurement parameters to the microcontroller for liquid level regulation;
and further dynamically optimizing working parameters of the acoustic wave oscillator according to the liquid level regulation and control result, and adjusting vibration intensity and frequency.
As a preferable scheme of the anti-adhesion viscous material liquid level control method, the method comprises the following specific steps of starting a sonic oscillator to perform high-frequency sonic vibration,
Calculating an initial resonant frequency according to the thickness of a piezoelectric element in the acoustic wave oscillator and the sound velocity of a material;
setting a signal generator output frequency based on the initial resonant frequency;
The acoustic wave oscillator is connected with the signal generator and the power amplifier, and corresponding driving signals are provided by the signal generator to output high-frequency acoustic wave vibration.
As a preferable scheme of the anti-adhesion viscous material liquid level control method, the method comprises the following steps of adjusting the frequency and amplitude of a sonic oscillator according to adhesion conditions when liquid contacts the surface of a sensor, outputting frequency adjustment information,
When the liquid contacts the surface of the sensor, the frequency change of the oscillator is monitored in real time through the high-frequency sound wave vibration output by the signal generator;
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 is matched with the new resonance frequency after the liquid is contacted;
according to the adhesion condition of the liquid, adjusting the output power of the power amplifier, and recording an offset value generated in the adjustment process of the output power;
the offset value of the output power is integrated in a nonlinear way to form frequency adjustment information;
the frequency adjustment information is transmitted to the control unit via a feedback loop.
As a preferable scheme of the anti-adhesion viscous material liquid level control method, the invention uses a multidimensional dynamic impedance regulation mechanism to update measurement parameters in real time based on the frequency adjustment information and the change of the dielectric property of the material liquid, and comprises the following specific steps of,
Measuring an initial total impedance value of the liquid according to the frequency adjustment information;
The physical characteristics of the liquid are collected in real time, and the impedance model is updated by combining the initial total impedance value, wherein the expression is as follows:
;
Wherein, Is time ofThe total impedance value at the moment in time,For the liquid at timeThe resistivity of the time of day is such that,For the liquid at timeThe dielectric constant of the moment of time,Is time ofThe oscillation frequency of the moment in time,For the liquid at timeThe dynamic viscosity value of the moment of time,For the liquid at timeThe temperature at the moment of time is,Is an impedance adjustment coefficient;
Will total impedance value Smoothing fluctuations in a short time using an integration filter;
Setting an impedance threshold K, and when the total impedance value after filtering is larger than the impedance threshold K, reducing the oscillation frequency and increasing the output power of the power amplifier.
As a preferable scheme of the anti-adhesion viscous material liquid level control method, the method comprises the following specific steps of:
preliminary measurement is carried out on different types of liquid, and an impedance value range is determined;
using a statistical method to analyze the range of impedance value variations of different liquid samples;
if the impedance value fluctuates, setting an impedance threshold K by using quantiles;
if no history data exists, the value of the liquid impedance under different environments is used as the basis for setting the impedance threshold K.
As a preferable scheme of the anti-adhesion viscous material liquid level control method, the method comprises the following specific steps of feeding back updated measurement parameters to a microcontroller for liquid level regulation:
The microcontroller cooperates with the dielectric constant of the liquid according to the total impedance value measured in real time And dynamic viscosity valueDistinguishing the difference of different liquid levels by an impedance spectrum analysis method;
By the difference of different liquid levels and the total impedance value The nonlinear relation between the liquid level height expressions are set as follows:
;
Wherein, Time of presentationThe liquid level at the moment in time is high,The impedance value at the time of the empty level is indicated,Representing the proportionality coefficient between the difference of different liquid levels and the change of the impedance value,A reference offset representing a liquid level height;
According to the calculation result of the liquid level height, the microcontroller realizes the output of the regulation and control instruction through a 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 is matched with the liquid level change.
As a preferable scheme of the anti-adhesion viscous material liquid level control method, the method for controlling the viscous material liquid level comprises the following specific steps of:
Gradually scanning the frequency and recording the impedance value of each frequency point through a sweep frequency signal generator;
through the measured impedance values, an equivalent circuit model of the liquid is constructed, the impedance under different liquid levels is fitted, and the expression is as follows:
;
Wherein, Is the oscillation frequencyAnd time ofThe impedance of the lower part of the circuit,In the form of a resistor, the resistor,In order for the phase difference to be a function of the phase difference,
In order to be of an angular frequency,Is a capacitor;
as the liquid level rises, the length of the conductive path of the liquid increases, increasing the resistance;
at the same time, the dielectric constant of the liquid increases and the capacitance increases, so that the reactance decreases, which is inversely proportional to the dielectric constant.
As a preferable scheme of the anti-adhesion viscous material liquid level control method, the invention further dynamically optimizes working parameters of the acoustic wave oscillator according to a liquid level regulation result, adjusts vibration intensity and frequency, and comprises the following specific steps:
calculating the deviation from the target liquid level according to the liquid level height ;
According to the deviation of the liquid levelThe vibration intensity of the acoustic wave oscillator is regulated in real time, and the expression is as follows:
;
Wherein, Is time ofThe intensity of the vibration at the moment in time,For the initial vibration intensity to be high,Is the maximum liquid level height value;
According to the change of liquid impedance, the frequency of the acoustic wave oscillator is regulated in real time, and the expression is:
;
Wherein, Time of presentationThe oscillation frequency of the moment in time,Indicating the initial resonant frequency of the wave-shaped resonator,Representing the frequency adjustment coefficient.
In a second aspect, the invention provides a computer device comprising a memory and a processor, the memory storing a computer program, wherein the computer program when executed by the processor implements any of the steps of the anti-sticking viscous material level control method according to the first aspect of the invention.
In a third aspect, the present invention provides a computer readable storage medium having a computer program stored thereon, wherein the computer program when executed by a processor implements any of the steps of the anti-sticking viscous material level control method according to the first aspect of the present invention.
The invention has the beneficial effects that by introducing the acoustic wave oscillator and the multidimensional dynamic impedance regulation mechanism, the accumulation of high-viscosity or easily-adhered liquid on the surface of the sensor can be effectively prevented, the measurement error caused by the adhesion effect is avoided, meanwhile, the frequency and the amplitude of the oscillator can be adjusted in real time according to the actual adhesion condition and the dielectric property of the liquid, so that the measurement process is more accurate and reliable, in addition, the dynamic optimization mechanism can continuously adjust the acoustic wave vibration parameters, the stability and the accuracy under the complex working condition are ensured, the precision and the efficiency of liquid level monitoring are obviously improved, the service life is prolonged, and the maintenance cost is reduced.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to specific embodiments thereof which are illustrated in the appended drawings.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways other than those described herein, and persons skilled in the art will readily appreciate that the present invention is not limited to the specific embodiments disclosed below.
Further, reference herein to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic can be included in at least one implementation of the invention. The appearances of the phrase "in one embodiment" in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments.
Embodiment 1, referring to fig. 1 and 2, is a first embodiment of the present invention, which provides an anti-adhesion viscous material level control method, comprising the steps of:
s1, starting an acoustic wave oscillator to perform high-frequency acoustic wave vibration.
Further, according to the thickness of the piezoelectric element in the acoustic wave oscillator and the sound velocity of the material, calculating an initial resonance frequency;
Among them, piezoelectric materials suitable for high-frequency acoustic vibration, such as lithium niobate (LiNbO 3) or barium titanate (BaTiO 3), which are capable of rapidly generating mechanical vibration under the action of an electric field, should be used for the piezoelectric element in the acoustic wave oscillator.
Setting a signal generator output frequency based on the initial resonant frequency;
for example, if the calculated frequency is 2MHz, the output frequency of the signal generator is set to 2MHz.
It should be further 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 is capable of providing 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.
The coaxial cable is used for connecting the acoustic wave oscillator with the signal generator and the power amplifier, and the signal generator is used for providing corresponding driving signals and outputting high-frequency acoustic wave vibration so as to ensure that the connecting wire has good shielding performance and avoid interference of the high-frequency signals.
It should be noted that "starting the sonic oscillator to perform high frequency sonic vibration" is the basis of the whole anti-adhesion viscous material level control method, the vibrator generates sonic waves through the high frequency vibration of the piezoelectric element, which is generally used for detecting the liquid level or other physical phenomena, and all subsequent detection, feedback and adjustment depend on the normal operation of the vibrator, so that the vibrator provides a core vibration source for subsequent detection and control.
When a high frequency sound wave comes into contact with a liquid, a series of physical changes such as reflection, damping and adhesion effects of the sound wave are induced, and these phenomena affect the propagation characteristics of the sound wave, thereby changing measurement parameters such as frequency, amplitude and impedance.
S2, when the material liquid contacts the surface of the sensor, adjusting the frequency and the amplitude of the acoustic wave oscillator according to the adhesion condition, and outputting frequency adjustment information.
Further, when the liquid contacts the surface of the sensor, the frequency change of the oscillator is monitored in real time through the high-frequency sound wave vibration output by the signal generator;
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 is matched with the new resonance frequency after the liquid is contacted, and the oscillator is ensured to continuously vibrate in the optimal working state;
Preferably, by this matching, an efficient propagation of sound waves and an optimal coupling effect between the liquid and the sensor surface are ensured, thereby improving the measurement accuracy.
Wherein, the new resonance frequency refers to the resonance frequency shifted due to the change of external conditions (such as the contact of liquid, the change of temperature, the change of load, etc.), thereby forming a new resonance point.
It should be noted that the frequency change of the oscillator is caused by the intervention of the liquid, and thus the frequency of the signal generator must be adjusted according to the change to maintain the resonance state.
According to the adhesion condition (such as viscosity, mass load and the like) of the liquid, the output power of the power amplifier is adjusted to adjust the amplitude of the oscillator so as to adapt to a new working state, and an offset value generated in the adjustment process of the output power is recorded;
specifically, according to the adhesion condition (such as viscosity, mass load, etc.) of the liquid, the output power of the power amplifier is adjusted as follows:
When the liquid contacts the sensor surface, the adhesion of the liquid can affect the oscillator, particularly in terms of variations in amplitude. The sticking of liquids (e.g., viscosity, mass loading, etc.) increases the damping of the vibrating surface, which in turn results in a reduced or unbalanced amplitude of the oscillator. At this time, the amplitude variation of the oscillator is monitored in real time by a feedback loop of the sensor.
And calculating the power offset required to be adjusted by the power amplifier according to the amplitude change information fed back by the sensor. The sticking of the liquid typically causes a decrease in the oscillator amplitude, so the power amplifier needs to increase the output power to compensate for the damping effect caused by the liquid.
And automatically adjusting the output power of the power amplifier according to the calculated power offset. If the sticking of the liquid results in a decrease of the amplitude, the power output will be increased, whereas if the amplitude is too large, the power output will be decreased. This adjustment process ensures that the vibration amplitude of the oscillator remains within a stable operating range.
In the process of adjusting the power, the offset value after each power adjustment is recorded. The recorded data can reflect the specific influence on the working state of the oscillator after the liquid is contacted, and provide basis for subsequent frequency adjustment or further feedback control.
After adjusting the power, the feedback loop is used to continuously monitor whether the amplitude of the oscillator has recovered to the ideal state. If the new power output fails to fully compensate for the effects of liquid sticking, fine tuning continues until the oscillator amplitude stabilizes within the desired range.
The offset value of the output power is integrated into frequency adjustment information and transmitted to the control unit through a feedback loop.
S3, based on the frequency adjustment information and the change of the dielectric property of the material liquid, the measuring parameters are updated in real time by utilizing a multidimensional dynamic impedance regulation mechanism.
Further, an initial total impedance value of the liquid is measured based on the frequency adjustment information.
The liquid physical characteristics (including dielectric constant, viscosity and temperature) are collected in real time, and the impedance model is updated by combining the initial total impedance value, wherein the expression is as follows:
;
Wherein, Is time ofThe total impedance value at the moment in time, representing the electrical impedance between the liquid and the sensor,
For the liquid at timeThe resistivity at the moment reflects the conductivity of the liquid. A higher resistivity means that the liquid has a poorer conductivity,For the liquid at timeThe dielectric constant at time, representing the dielectric properties of the liquid, a higher dielectric constant means that the liquid can store more charge,Is time ofThe oscillation frequency at the moment represents the operating frequency of the acoustic wave oscillator,For the liquid at timeThe 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 the liquid at timeThe temperature at the moment, which represents the current temperature of the liquid, the temperature variation will affect the physical properties and the impedance of the liquid,Is a constant for adjusting the impedance, and is used for adjusting the influence of the liquid viscosity and the temperature coupling on the impedance. This value is related to the sensor material and the type of liquid.
It should be noted that the second term in the impedance modelThe coupling effect of the liquid viscosity and the temperature is introduced, so that the device is used for coping with impedance changes of different liquids when the temperature and the viscosity are obviously changed, and the measurement accuracy in a dynamic environment can be obviously improved.
Will total impedance valueAn integral filter is adopted to smooth fluctuation in a short time, so that the frequency adjustment information is ensured not to be affected by instantaneous noise;
setting an impedance threshold K, and when the total impedance value after filtering is larger than the impedance threshold K, reducing the oscillation frequency and increasing the output power of the power amplifier;
it should be noted that increasing the output power of the power amplifier serves to maintain signal strength, ensuring that the change in liquid characteristics does not lead to signal attenuation.
It should be further noted that the specific steps for setting the impedance threshold K are as follows:
first, different types of liquids (e.g., more conductive liquids vs. more insulating liquids) are initially measured to determine their impedance ranges.
For example, the impedance of a conductive liquid is generally low, while the impedance of an insulating liquid is relatively high, and through multiple measurements, the impedance values of the liquid under different conditions (such as temperature, pressure, viscosity change, etc.) are obtained, and an empirical curve or mathematical model of the impedance change is established.
Statistical methods (e.g., mean, variance, etc.) are then used to analyze the range of impedance variation for the different liquid samples.
If the impedance data fluctuates significantly, a quantile (e.g., 95% quantile) may be used to set a preliminary threshold.
If no history data exists, the numerical value of the liquid impedance under different environments is obtained through experiments and is used as the basis for setting the threshold value.
Second, initial thresholdShould be set above the upper limit of the normal impedance range of the liquid to ensure timely response when the liquid impedance exceeds the threshold.
For example, if experimental data indicate that the impedance of the liquid is generally atTo the point ofFluctuation between them, can be setAs a preliminary threshold.
It should be noted that during operation, the threshold value is initially setMay not be applicable in all situations. Therefore, the threshold value can be continuously adjusted during the operation by monitoring the change trend of the impedance value in real time. If found outContinuously approaching or exceeding for a period of timeThe threshold value can be appropriately increased or decreased。
For example, using a rolling window method, the mean and standard deviation of impedance values over the last period of time are calculated, and the threshold value is dynamically updated based on these statistics。
Further, in addition to the threshold valueIn addition, a safety margin can be setTo ensure that frequent adjustments due to transient fluctuations are not made. This safety boundary may be a threshold valueIs a percentage of the total weight of the composition;
In particular, safety boundaries Can be set as90% Or 95% of (a), i.eOr (b);
When (when)Exceeding the limitBut not reachWhen the frequency or power is adjusted, the frequency or power is not adjusted immediately, and frequent adjustment caused by short fluctuation is prevented.
And S4, feeding the updated measurement parameters back to the microcontroller for liquid level regulation.
Furthermore, the microcontroller cooperates with the dielectric constant of the liquid according to the total impedance value measured in real timeAnd dynamic viscosity valueDistinguishing the difference of different liquid levels by an impedance spectrum analysis method;
The method can apply the biological sensing technology, and further refine the classification and the liquid level change of the liquid medium by referring to the principle of real-time detection of the dielectric characteristics of different biological materials.
Specifically, gradually scanning the frequency and recording the impedance value of each frequency point through a sweep frequency signal generator;
through the measured impedance values, an equivalent circuit model of the liquid is constructed, the impedance under different liquid levels is fitted, and the expression is as follows:
;
Wherein, Is the oscillation frequencyAnd time ofThe impedance of the lower part of the circuit,In the form of a resistor, the resistor,In order for the phase difference to be a function of the phase difference,
In order to be of an angular frequency,Is a capacitor;
at the same time, the dielectric constant of the liquid increases, and the capacitance increases, so that the reactance decreases and the reactance is inversely proportional to the dielectric constant.
Specifically, as the liquid level rises, the conductive path of the liquid becomes longer, the resistanceAn increase reflecting a change in conductivity of the liquid;
As the liquid level rises, the dielectric constant of the liquid changes, resulting in a decrease in reactance.
It should be noted that the impedance change in the high frequency band is more dependent on the dielectric properties of the liquid, so that the difference in liquid level can be distinguished by analyzing the impedance in the high frequency band.
Through the liquid level and the total impedance valueThe nonlinear relation between the liquid level height expressions are set as follows:
;
Wherein, Time of presentationThe liquid level at the moment in time is high,The impedance value at the time of the empty level is indicated,Indicating the proportionality coefficient between the level height and the impedance value change,A reference offset representing a liquid level height;
it should be noted that, Is the liquid levelThe ratio of the impedance to the change reflects the total impedance of the liquidThe degree of influence of the variation on the level height.
Level height when impedance of liquid changesWill be changed in response to this,The magnitude of this change is controlled. Specifically, the change in the level height is proportional to the logarithmic change in the impedance, whileIs the regulator of this ratio. Its value depends on the properties of the liquid (e.g. dielectric constant, viscosity, etc.) and the characteristics of the sensor.
If it isLarger means that the change in impedance has a greater effect on the level height (i.e., a smaller change in impedance will result in a more significant change in level height), ifSmaller, then less impact of impedance change on the level height is indicated.
According to the calculation result of the liquid level height, the microcontroller realizes the output of the regulation and control instruction through a feedback loop;
wherein, differential controller (PID controller) is adopted here to ensure the accuracy and response speed of regulation.
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 is matched with the liquid level change.
And S5, further dynamically optimizing working parameters of the acoustic wave oscillator according to the liquid level regulation and control result, and adjusting vibration intensity and frequency.
Further, a deviation amount from the target liquid level is calculated based on the liquid level height;
According to the deviation of the liquid levelThe vibration intensity of the acoustic wave oscillator is regulated in real time, and the expression is as follows:
;
Wherein, Is time ofThe intensity of the vibration at the moment in time,For the initial vibration intensity to be high,Is the maximum liquid level height value;
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 and further optimizing the measurement accuracy of the liquid level.
According to the change of liquid impedance, the frequency of the acoustic wave oscillator is regulated in real time, and the expression is:
;
Wherein, Time of presentationThe oscillation frequency of the moment in time,Indicating the initial resonant frequency of the wave-shaped resonator,Representing the frequency adjustment coefficient;
Furthermore, by combining liquid level feedback and dynamic change of liquid impedance, the working parameters of the acoustic wave oscillator are further optimized through a self-adaptive control algorithm, and real-time adjustment of vibration intensity and frequency is realized. The dynamic optimization ensures that the acoustic wave oscillator can always maintain the optimal working state under different working conditions, and improves the precision and stability of liquid level measurement.
The embodiment also provides computer equipment, which is suitable for the situation of the anti-adhesion viscous material liquid level control method and comprises a memory and a processor, wherein the memory is used for storing computer executable instructions, and the processor is used for executing the computer executable instructions to realize the anti-adhesion viscous material liquid level control method as provided in the embodiment.
The computer device may be a terminal comprising a processor, a memory, a communication interface, a display screen and input means connected by a system bus. Wherein the processor of the computer device is configured 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 computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
The present embodiment also provides a storage medium having a computer program stored thereon, which when executed by a processor implements the method for achieving anti-stiction control of a viscous material level as set forth in the above embodiments, the storage medium may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as a static random access Memory (Static Random Access Memory, SRAM for short), an electrically erasable Programmable Read-Only Memory (ELECTRICALLY ERASABLE PROGRAMMABLE READ-Only Memory, EEPROM for short), an erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM for short), a Programmable Read-Only Memory (PROM for short), a Read-Only Memory (ROM for short), a magnetic Memory, a flash Memory, a magnetic disk, or an optical disk.
In summary, the invention can effectively prevent the accumulation of high-viscosity or easily-adhered liquid on the surface of the sensor and avoid measurement errors caused by adhesion effect by introducing the acoustic wave oscillator and the multidimensional dynamic impedance regulation mechanism, and simultaneously, the invention can adjust the frequency and the amplitude of the oscillator in real time according to the actual adhesion condition and the dielectric property of the liquid so as to lead the measurement process to be more accurate and reliable.
Example 2 referring to table 1, experimental simulation data of the anti-sticking viscous material level control method are given for further verification of the technical scheme of the present invention for the second example of the present invention.
Three typical viscous liquids, honey, syrup and motor oil, were chosen as test subjects. The liquids have different dynamic viscosity and dielectric characteristics, and can fully reflect the application effect of the anti-adhesion liquid level control method in various viscous materials.
First, according to the characteristics of the liquid, the initial operation parameters of the acoustic wave oscillator are set. The initial resonance frequency is calculated from the thickness of the piezoelectric element in the acoustic wave 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 engine oil is set to 180 kHz. The high-frequency sound wave vibration is output by connecting the sound wave oscillator with the signal generator and the power amplifier and providing corresponding driving signals.
Second, the liquid is gradually injected into the container, and the frequency change of the oscillator is monitored in real time as the liquid contacts the sensor surface. Because the adhesion characteristics of different liquids are different greatly, the adhesion of honey is higher, the variation range of the oscillation frequency is larger, and the variation 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 be matched with the new resonance frequency after the liquid is contacted. And simultaneously, adjusting the output power of the power amplifier, and recording the offset value generated in the adjustment process of the output power. By non-linearly integrating these frequency and power adjustment information, it is transmitted to the control unit.
Then, the control unit updates the measurement parameters in real time by utilizing a multidimensional dynamic impedance regulation mechanism according to the frequency adjustment information and the dielectric characteristics of the liquid. The total impedance value Z (t) of the liquid is calculated by collecting the resistivity, the dielectric constant and the dynamic viscosity of the liquid at different time points, and is subjected to integral filtering to smooth the fluctuation in a short time. The impedance threshold is set to 10Ω, and 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.
Finally, the microcontroller distinguishes the difference of different liquid levels through an impedance spectrum analysis method, and regulates and controls the output frequency of the signal generator in real time through a 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 level height formula to match the vibration intensity to the level change. Through the process, experiments prove that the liquid level control method has high efficiency in viscous materials.
The details are shown in table 1 below:
table 1 comparison table of experimental data
From experimental data, the anti-adhesion viscous material liquid level control method of the invention has obvious advantages in different viscous materials, and is concretely as follows:
The initial resonance frequencies of the three liquids of the honey, the syrup and the engine oil are respectively 150 kHz, 200 kHz and 180 kHz, and after the liquids contact the sensor, the resonance frequency is reduced to a certain extent by adjusting the frequency of the sonic oscillator, particularly the frequency of the honey is reduced to 140 kHz, and the variation range is maximum, so that higher adhesiveness is reflected. In contrast, the prior art has a weak frequency adjustment capability in syrup, and the resonance frequency is reduced to 180 kHz after contact, which indicates that the prior art has a defect in the aspect of coping with the adhesiveness of viscous materials.
The adjustment of the output power also shows the advantages of the invention. In the invention, the output power is dynamically adjusted according to the adhesion condition of the liquid, for example, honey needs higher power (5.5W) to overcome the stronger adhesion of the honey, and engine oil needs only 4.2W due to weaker adhesion. In contrast, the prior art has an output of 5.0W in syrup, but is not sufficiently optimized for fluid adhesion, resulting in less accurate power adjustment.
According to the invention, the measuring parameters are updated in real time through the multidimensional dynamic impedance regulation mechanism, so that the liquid level can be effectively controlled in different liquids. Experimental data show that in three liquids of honey, syrup and engine oil, the total impedance value Z (t) is 12.5 omega, 9.8 omega and 8.2 omega respectively, and syrup under the prior art is 10.5 omega, so that the impedance value adjustment is not flexible enough, and accurate liquid level control is difficult to realize. In the invention, the frequency of the oscillator and the output power of the power amplifier can be timely adjusted by setting the impedance threshold value K=10Ω, so that the stability of liquid level control is ensured.
The calculation result of the liquid level height shows that the invention can control the liquid level of the viscous material more accurately. For example, the level of syrup is 10.8 cm, whereas the level of the prior art is only 10 cm, with a clear gap. The difference is mainly derived from the fact that the difference of different liquid levels is accurately distinguished through an impedance spectrum analysis method, and the working parameters of the acoustic wave oscillator are adjusted in real time through a feedback loop, so that the accuracy of liquid level control is higher.
It should be noted that the above embodiments are only for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that the technical solution of the present invention may be modified or substituted without departing from the spirit and scope of the technical solution of the present invention, which is intended to be covered in the scope of the claims of the present invention.