Measuring range broadening method, device and equipment of viscosity sensor and medium
By adjusting the excitation signal parameters and segmentation processing, the range of the vibration viscosity sensor is widened, and the problem of narrow range is solved, achieving accurate measurement and stable production under complex conditions.
Patent Information
- Application Number
- CN202510681501.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-26
- Publication Date
- 2025-08-12
AI Technical Summary
The range of the vibration viscosity sensor is narrow, making it difficult to meet the needs of complex and changeable practical application scenarios, resulting in unstable product quality and increased equipment operation failures during the production process.
By adjusting the amplitude or frequency of the excitation signal, the resonant response waveform of the viscosity sensor meets the exponential attenuation law, the range of the vibration range is processed in segments, and the parameters of the excitation signal are determined based on the amplitude and frequency boundary values, segmented excitation and calibration are realized, and the range of the sensor is widened.
When the fluid viscosity fluctuates due to factors such as temperature, pressure, and composition changes, the fluid viscosity can be accurately and continuously measured, meet the needs of complex and changeable application scenarios, improve product quality stability, and reduce equipment failure rate.
Smart Images

Figure BDA0005419395470000111 
Figure HDA0005419395480000011 
Figure HDA0005419395480000012
Abstract
Description
Technical Field
[0001] The present application relates to the field of viscosity measurement technology, and in particular to a method, device, equipment and medium for expanding the measuring range of a viscosity sensor. Background Art
[0002] Measuring fluid viscosity is crucial in many industrial fields and scientific research today. For example, in the petrochemical industry, the viscosity characteristics of crude oil and its derivatives directly impact pipeline transportation efficiency, mixing uniformity, and product quality stability during the production process. In food processing, the viscosity of products like sauces and beverages plays a key role in ensuring consistent taste and ensuring operations like filling and stirring during production. In biomedicine, changes in the viscosity of biological fluids like blood and cell culture fluids are often closely related to the occurrence and development of diseases and the cell growth environment. Accurate viscosity measurement provides an important basis for disease diagnosis and biopharmaceutical process optimization.
[0003] Viscosity sensors can measure the viscosity of fluids. Depending on their working mode, viscosity sensors can be divided into two categories: rotary and vibratory. The rotary measurement structure mainly includes a rotatable rotor and a measuring cup containing the liquid. During the measurement process, the liquid is injected into the gap between the rotor and the shell of the viscometer. The rotor is driven to rotate by a driving device such as a motor. The viscous resistance generated by the liquid on the rotor will hinder the rotation of the rotor. The torque or speed of the rotor is measured, and then the viscosity of the liquid can be calculated based on the predetermined relationship formula between the rotor and the viscosity of the liquid. By designing the shape and size of the rotor, liquids with different viscosity ranges can be measured; the vibratory viscosity sensor immerses a vibrating element (such as a vibrating fork, vibrating rod, vibrating plate, etc.) in the liquid to be tested, and uses a driving element such as piezoelectric ceramics to make it vibrate. The viscosity of the liquid will affect the vibration frequency change and amplitude attenuation of the vibrating element. These changes are measured by the detection element, and combined with internal calculations, the viscosity information of the liquid can be obtained.
[0004] The vibration of the vibrating element of a vibrating viscosity sensor requires a driver and control circuit to generate the vibration. Under the sensor's calibrated excitation conditions, the resonant response of the vibrating element may be underdamped or overdamped. The resonant response waveform extracted by the control circuitry is difficult to accurately analyze and calculate fluid viscosity information. This results in a relatively narrow sensor range, making it difficult to meet the complex and diverse demands of practical applications. In many industrial processes, the viscosity of fluids can fluctuate over a wide range due to factors such as temperature, pressure, and composition changes. Narrow-range sensors cannot accurately and continuously monitor these fluctuations, potentially leading to unstable product quality and increased equipment failures during production. Summary of the Invention
[0005] The purpose of this application is to provide a method, device, equipment and medium for expanding the measuring range of a viscosity sensor.
[0006] To achieve the above objectives, this application provides the following solutions:
[0007] In a first aspect, the present application provides a method for expanding the measuring range of a viscosity sensor, comprising:
[0008] obtaining resonance response waveforms of a vibrating element of the viscosity sensor in fluids of different viscosities after applying an excitation signal to a driving element of the viscosity sensor;
[0009] When the amplitude or frequency of the excitation signal is adjusted so that the resonant response waveform satisfies a first exponential decay law, a viscosity measurement boundary value of the viscosity sensor is determined based on the viscosity value of the fluid at that time, and an amplitude boundary value and a frequency boundary value of the excitation signal are determined based on the amplitude and frequency of the excitation signal at that time;
[0010] Based on the viscosity measurement boundary value, the measuring range of the viscosity sensor is segmented to obtain a plurality of sub-range segments; based on the amplitude boundary value and the frequency boundary value, the amplitude and frequency value of the excitation signal applied to the driving element within each of the sub-range segments are determined;
[0011] When adjusting the amplitude or frequency of the excitation signal of each sub-range segment so that the sub-resonance response waveform in the corresponding sub-range segment satisfies the second exponential decay law, determining the target amplitude and target frequency of the excitation signal for the corresponding sub-range segment based on the amplitude and frequency of the excitation signal at this time;
[0012] Based on the target amplitude and target frequency of each sub-range segment, the viscosity of the viscosity sensor is calibrated for the corresponding sub-range segment to obtain a viscosity sensor with a range within the viscosity measurement boundary value.
[0013] In a second aspect, the present application provides a range expansion device for a viscosity sensor, comprising:
[0014] an acquisition module, configured to acquire a resonance response waveform of a vibrating element of the viscosity sensor in fluids of different viscosities after applying an excitation signal to a driving element of the viscosity sensor;
[0015] a first determining module, configured to determine, when adjusting the amplitude or frequency of the excitation signal so that the resonant response waveform satisfies a first exponential decay law, a viscosity measurement boundary value of the viscosity sensor based on the viscosity value of the fluid at that time, and to determine an amplitude boundary value and a frequency boundary value of the excitation signal based on the amplitude and frequency of the excitation signal at that time;
[0016] a second determining module, configured to segment the measuring range of the viscosity sensor based on the viscosity measurement boundary value to obtain a plurality of sub-range segments; and determine the amplitude and frequency of the excitation signal applied to the driving element within each of the sub-range segments based on the amplitude boundary value and the frequency boundary value;
[0017] a third determining module, configured to determine a target amplitude and a target frequency of the excitation signal for the corresponding sub-range segment based on the amplitude and frequency of the excitation signal at that time when adjusting the amplitude or frequency of the excitation signal for each sub-range segment so that the sub-resonance response waveform in the corresponding sub-range segment satisfies a second exponential decay law;
[0018] The calibration module is used to calibrate the viscosity of the viscosity sensor for the corresponding sub-range segment based on the target amplitude and target frequency of each sub-range segment, so as to obtain a viscosity sensor with a range within the viscosity measurement boundary value.
[0019] In a third aspect, the present application provides a computer device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the range widening method for a viscosity sensor as described above.
[0020] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above-mentioned methods for widening the range of a viscosity sensor.
[0021] In a fifth aspect, the present application provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of any of the above-mentioned methods for widening the range of a viscosity sensor.
[0022] According to the specific embodiments provided in this application, this application discloses the following technical effects:
[0023] The present application provides a method, apparatus, device, medium, and product for expanding the measuring range of a viscosity sensor. The method segments the measuring range of the viscosity sensor based on viscosity measurement boundary values to obtain multiple sub-range segments. The method then determines the amplitude and frequency of the excitation signal applied to the driving element within each sub-range segment based on the amplitude boundary value and the frequency boundary value, thereby enabling segmented excitation of different sub-range segments. The method calibrates the viscosity of the viscosity sensor for the corresponding sub-range segment based on the target amplitude and target frequency of each sub-range segment, thereby enabling segmented calibration of different sub-range segments. Through segmented excitation and segmented calibration, the viscosity sensor satisfies the exponential decay law throughout the entire set measuring range, thereby effectively expanding the measuring range of the viscosity sensor. Even when the viscosity of the fluid fluctuates over a large range due to factors such as temperature, pressure, and composition changes, the method can still accurately and continuously measure the fluid viscosity and more accurately analyze and calculate fluid viscosity information. This method can meet the needs of complex and changing practical application scenarios, improve the stability of product quality during the production process, and reduce the failure rate of equipment operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0025] Figure 1 A schematic flow chart of a method for expanding the measuring range of a viscosity sensor provided in one embodiment of the present application;
[0026] Figure 2 A schematic diagram of a viscosity measurement structure of a cantilever beam piezoelectric resonant viscosity sensor provided in one embodiment of the present application;
[0027] Figure 3 A schematic diagram of a viscosity sensing measurement device provided in one embodiment of the present application;
[0028] Figure 4 A schematic flow chart of a method for expanding the measuring range of a viscosity sensor provided in another embodiment of the present application;
[0029] Figure 5 A schematic diagram of a first resonant response waveform and a second resonant response waveform provided in one embodiment of the present application;
[0030] Figure 6 A schematic diagram of damped vibration of a vibration viscosity sensor provided in one embodiment of the present application;
[0031] Figure 7A schematic flow chart of a method for expanding the measuring range of a viscosity sensor provided in yet another embodiment of the present application;
[0032] Figure 8 A schematic flow chart of a method for expanding the measuring range of a viscosity sensor provided in yet another embodiment of the present application;
[0033] Figure 9 A schematic flow chart of a method for expanding the measuring range of a viscosity sensor provided in another embodiment of the present application;
[0034] Figure 10 A schematic flow chart of a method for expanding the measuring range of a viscosity sensor provided in another embodiment of the present application;
[0035] Figure 11 A schematic diagram of a viscosity-sensitive structure provided in one embodiment of the present application;
[0036] Figure 12 A schematic diagram of waveforms for extracting upper and lower limit values of viscosity measurement of a cantilever beam oscillator structure under different excitation amplitudes provided in one embodiment of the present application;
[0037] Figure 13 A schematic diagram of the resonant response waveform of a cantilever beam oscillator structure provided in one embodiment of the present application under different excitation amplitude conditions at a viscosity segmentation point;
[0038] Figure 14 A schematic diagram comparing viscosity measurement results of a viscosity sensor provided in one embodiment of the present application;
[0039] Figure 15 A schematic diagram of the functional modules of a range expansion device for a viscosity sensor provided in one embodiment of the present application;
[0040] Figure 16 A schematic diagram of the structure of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0042] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0043] In an exemplary embodiment, Figure 1As shown, a method for widening the measuring range of a viscosity sensor is provided. The method is executed by a computer device, specifically, a computer device such as a terminal or a server, or a terminal and a server. In the embodiment of the present application, the method includes the following steps 102 to 110. Among them:
[0044] Step 102: Obtaining resonance response waveforms of a vibrating element of the viscosity sensor in fluids of different viscosities after applying an excitation signal to a driving element of the viscosity sensor;
[0045] Among them, the viscosity sensor is also called a viscosity measurement structure, a viscosity sensitive structure, an oscillator structure or an oscillator. The viscosity sensor consists of a driving element and a vibrating element. The driving element is the component in the viscosity sensor that applies the excitation signal and is responsible for converting electrical energy into mechanical vibration energy to excite the vibrating element to produce periodic motion. The vibrating element is a component that is in direct contact with the fluid and is excited by the driving element to produce resonance. Its vibration characteristics are affected by the viscosity of the fluid. The resonant response waveform is generated by the vibration signal generated by the vibrating element in the viscosity sensor after being excited in the fluid. Its characteristics directly reflect the viscosity, density and other parameters of the fluid. The key parameters of the resonant response waveform include amplitude, frequency and phase. The viscosity sensor can be combined with a power supply, a signal generator, an oscilloscope / PC (Personal Computer) to form a viscosity sensing measurement device. Fluids with different viscosities include two situations: one is the viscosity difference of different types of fluids under the same conditions (such as temperature and pressure); the other is the viscosity change of the same fluid due to changes in temperature, pressure and other conditions.
[0046] Exemplarily, the viscosity sensor may be a cantilever beam piezoelectric resonant viscosity sensor, wherein the driving element of the cantilever beam piezoelectric resonant viscosity sensor is a piezoelectric ceramic piece, and the vibrating element of the cantilever beam piezoelectric resonant viscosity sensor is a cantilever beam; Figure 2 As shown, the embodiment of the present application provides a viscosity measurement structure of a cantilever beam piezoelectric resonant viscosity sensor, wherein the viscosity measurement structure includes a vibration element 21, a driving element 22 and a supporting base 23. The vibration element 21 of the viscosity measurement structure is a cantilever beam structure, and the driving element 22 of the viscosity measurement structure is a three-electrode piezoelectric ceramic piece that integrates excitation and vibration pickup. The three-electrode piezoelectric ceramic piece includes electrode 01, electrode 02, electrode 03 and piezoelectric ceramic base 04. Figure 3 As shown in FIG. 1 , a viscosity sensing measuring device that can be used in an embodiment of the present application is shown. The viscosity sensing measuring device includes a power supply 31, a viscosity sensor 32, a signal generator 33, an oscilloscope 34, and a PC 35. The structural configuration of the viscosity sensor 32 can be the same as that of FIG. Figure 2 The medium viscosity measurement structure is the same.
[0047] The power supply 31 supplies power to the viscosity sensor 32. The viscosity sensor 32 is placed in liquids of different viscosities and connected to the signal generator 33. Figure 2 Electrode 01 and electrode 02 of the piezoelectric ceramic piece 22 apply a sinusoidal signal (i.e., an excitation signal) of fixed frequency and amplitude to the piezoelectric ceramic piece 22, and the piezoelectric ceramic piece 22 generates an inverse piezoelectric effect to generate a driving force to drive the cantilever beam 21 to vibrate; an oscilloscope 34 is used to connect Figure 2 The vibration response of cantilever beam 21 generated by electrodes 01 and 02 of piezoelectric ceramic 22 generates an electrical signal through the piezoelectric effect of piezoelectric ceramic 22, which is received by oscilloscope 34. Oscilloscope 34 or PC 35 can filter, amplify, and digitize the electrical signal to obtain a resonant response waveform. PC 35 can be used to extract the signal characteristics of the resonant response waveform output by viscosity sensor 33, including information such as peak location, amplitude, and frequency. The information about the picked-up resonant response waveform can be observed using oscilloscope 34 or PC 35.
[0048] Step 104: When the amplitude or frequency of the excitation signal is adjusted so that the resonant response waveform satisfies a first exponential decay law, a viscosity measurement boundary value of the viscosity sensor is determined based on the viscosity value of the fluid at that time, and an amplitude boundary value and a frequency boundary value of the excitation signal are determined based on the amplitude and frequency of the excitation signal at that time;
[0049] The exponential decay law of the resonant response waveform refers to the physical phenomenon in which the amplitude of the vibrating element in a vibratory viscosity sensor decreases exponentially over time when it vibrates freely in a viscous fluid. The amplitude or frequency of the excitation signal can be adjusted to observe whether the extracted resonant response waveform satisfies the first exponential decay law. If this law is satisfied, the viscosity measurement boundary value of the viscosity sensor, as well as the amplitude and frequency boundary values of the excitation signal, can be determined under a given vibrator structure.
[0050] Step 106: Based on the viscosity measurement boundary value, segment the measuring range of the viscosity sensor to obtain a plurality of sub-range segments; based on the amplitude boundary value and the frequency boundary value, determine the amplitude and frequency value of the excitation signal applied to the driving element within each sub-range segment;
[0051] Among them, the measurement range of the viscosity sensor can be determined according to the viscosity measurement boundary value determined by the current oscillator structure, and the range can be segmented; based on the segmentation, the amplitude and frequency values of the excitation signal of each sub-range segment can be determined.
[0052] Step 108: When the amplitude or frequency of the excitation signal of each sub-range segment is adjusted so that the sub-resonance response waveform in the corresponding sub-range segment satisfies the second exponential decay law, a target amplitude and target frequency of the excitation signal for the corresponding sub-range segment are determined based on the amplitude and frequency of the excitation signal at this time;
[0053] Among them, within each sub-range segment, an excitation signal corresponding to the sub-range segment can be applied to the vibration element to observe whether the extracted sub-resonance response waveform satisfies the second exponential decay law. If it does not satisfy the second exponential decay law, the amplitude or frequency of the excitation signal of the corresponding sub-range segment is adjusted until the sub-resonance response waveform in the corresponding sub-range segment satisfies the second exponential decay law.
[0054] Step 110: Based on the target amplitude and target frequency of each sub-range segment, the viscosity of the viscosity sensor is calibrated for the corresponding sub-range segment to obtain a viscosity sensor with a range within the viscosity measurement boundary value.
[0055] Among them, viscosity calibration of the viscosity sensor can refer to the process of establishing a quantitative relationship between the output signal of the viscosity sensor (such as the resonant frequency of the resonant response waveform, the amplitude attenuation rate, etc.) and the viscosity value of the fluid, with the purpose of converting the original electrical signal (such as voltage, frequency change) collected by the viscosity sensor into a viscosity value with physical significance (in cP or Pa·s) to ensure the accuracy and traceability of the measurement results; after determining the excitation conditions (i.e., target amplitude and target frequency) within each sub-range segment (i.e., segmented viscosity interval), the viscosity of the viscosity sensor is calibrated for the corresponding interval segment using the excitation conditions determined in each segmented viscosity interval. The calibration process needs to cover the entire segmented interval, thereby obtaining a viscosity sensor with a viscosity measurement range within the viscosity measurement boundary value.
[0056] In an embodiment of the present application, the measuring range of the viscosity sensor is segmented based on the viscosity measurement boundary value to obtain multiple sub-range segments, and the amplitude and frequency values of the excitation signal applied to the driving element in each sub-range segment are determined based on the amplitude boundary value and the frequency boundary value, thereby achieving segmented excitation of different sub-range segments; by calibrating the viscosity of the viscosity sensor for the corresponding sub-range segment based on the target amplitude and target frequency of each sub-range segment, segmented calibration of different sub-range segments can be achieved; through segmented excitation and segmented calibration, the viscosity sensor satisfies the exponential decay law throughout the set range interval, thereby effectively widening the measuring range of the viscosity sensor. When the viscosity of the fluid fluctuates within a large range due to factors such as temperature, pressure, and composition changes, the fluid viscosity can still be accurately and continuously measured, and the fluid viscosity information can be more accurately analyzed and calculated, which can meet the needs of complex and changeable actual application scenarios, improve the stability of product quality in the production process, and reduce the equipment operation failure rate.
[0057] In an exemplary embodiment, Figure 4 As shown, step 102 can be replaced by the following step 1021:
[0058] Step 1021: Obtaining a first resonant response waveform of a vibrating element of the viscosity sensor in a fluid within a first viscosity range and a second resonant response waveform of a vibrating element of the viscosity sensor in a fluid within a second viscosity range after applying an excitation signal to a driving element of the viscosity sensor, wherein all viscosity values within the first viscosity range are greater than all viscosity values within the second viscosity range;
[0059] Wherein, the fluid in the first viscosity range may be a relatively high viscosity fluid, and the fluid in the second viscosity range may be a relatively low viscosity fluid; for example, a signal generator may be used to apply an excitation signal to the piezoelectric ceramic piece of the driving element, and an oscilloscope may be used to collect the first resonant response waveform of the vibration element under different relatively high viscosity fluids; a signal generator may also be used to apply an excitation signal to the piezoelectric ceramic piece of the driving element, and an oscilloscope may be used to collect the second resonant response waveform of the vibration element under different relatively low viscosity fluids, such as Figure 5 As shown, the first resonant response waveform 41 is a resonant response waveform picked up in a fluid with a relatively high viscosity, and the second resonant response waveform 42 is a resonant response waveform picked up in a fluid with a relatively low viscosity.
[0060] Correspondingly, step 104 can be replaced by the following steps 1041 and 1042:
[0061] Step 1041: When the amplitude or frequency of the excitation signal is adjusted so that the first resonant response waveform satisfies a first sub-exponential decay law, an upper limit value of viscosity measurement of the viscosity sensor is determined based on the viscosity value of the fluid at that time, and an upper limit value of amplitude and an upper limit value of frequency of the excitation signal are determined based on the amplitude and frequency of the excitation signal at that time.
[0062] The amplitude can be expressed as A, the frequency can be expressed as f, and the upper limit of viscosity measurement can be expressed as η. max , the upper limit of the amplitude can be expressed as A max , the upper frequency limit can be expressed as f max When the vibrating element is in different relatively high viscosity fluids, the amplitude A or frequency f of the excitation signal can be adjusted to observe whether the extracted first resonance response waveform has a complete exponential decay waveform and decay rate, thereby preliminarily determining the viscosity measurement upper limit η of the viscosity sensor under a certain vibrator structure. max , and the upper limit of the amplitude of the excitation signal A max and the upper frequency limit f max .
[0063] In an exemplary embodiment, the first sub-exponential decay law includes that the first resonant response waveform has a complete exponential decay waveform, and the decay rate of the first resonant response waveform is less than the first decay rate;
[0064] Among them, the exponential decay waveform refers to an oscillation signal whose amplitude decreases exponentially with time. The integrity of the exponential decay waveform refers to the number of oscillation cycles that can be clearly identified in the resonant response waveform. In fluids with too high viscosity, the vibration energy is dissipated quickly, causing the first resonant response waveform to decay to the noise level within a few cycles. At this time, there is no complete exponential decay waveform; the decay rate is the decay rate of the amplitude. There is a correlation between the exponential decay characteristics of the resonant response waveform and the fluid viscosity. By analyzing the integrity and decay rate of the exponential decay waveform of the resonant response waveform, the viscosity value of the fluid can be analyzed; when the fluid viscosity is too high, the decay rate is too fast, such as Figure 6 As shown, Figure 6The resonant response of the vibrating element in (a) may be overdamped (the vibrating element cannot overcome the fluid damping). At this time, it is difficult to accurately analyze the viscosity value of the fluid based on the first resonant response waveform, that is, the fluid viscosity exceeds the measurement upper limit of the viscosity sensor. Therefore, it is possible to judge whether the current fluid viscosity value has reached the viscosity measurement upper limit of the viscosity sensor based on the integrity of the exponential decay waveform of the first resonant response waveform and the decay rate of the first resonant response waveform; the viscosity of the fluid can be gradually increased, and the amplitude or frequency of the excitation signal can be adjusted at each viscosity until the first resonant response waveform does not have a complete exponential decay waveform for the first time, or the decay rate of the first resonant response waveform is greater than or equal to the first decay rate, and the viscosity value of the fluid and the amplitude and frequency of the excitation signal are determined when the first resonant response waveform has a complete exponential decay waveform and the decay rate of the first resonant response waveform is less than the first decay rate. The viscosity value of the fluid at this time is determined as the viscosity sensor. The upper limit of viscosity measurement is determined by determining the amplitude and frequency of the excitation signal at this time as the upper limit of the amplitude and frequency of the excitation signal; exemplarily, the first attenuation rate is 90%. When the viscosity of the fluid is 5000 cP, if the amplitude of the excitation signal is adjusted to 2 volts (unit: V) and the frequency is 7 kilohertz (unit: kHz), the resonant response waveform decays for the first time to the point where a complete cycle cannot be extracted (such as less than 10 peaks), or the amplitude attenuation rate is greater than or equal to 90%. It can be determined that the viscosity of the fluid when the first resonant response waveform had a complete exponential decay waveform and the attenuation rate of the first resonant response waveform was less than 90% is 4900 cP, and the amplitude of the excitation signal is 1.5 V and the frequency is 6.5 kHz. Then, 4900 cP at this time can be determined as the upper limit of viscosity measurement of the viscosity sensor, 1.5 V at this time can be determined as the upper limit of the amplitude of the viscosity sensor, and 6.5 kHz at this time can be determined as the upper limit of the frequency of the viscosity sensor.
[0065] Step 1042: When the amplitude or frequency of the excitation signal is adjusted so that the second resonant response waveform satisfies the second sub-exponential attenuation law, the viscosity measurement lower limit of the viscosity sensor is determined based on the viscosity value of the fluid at this time, and the amplitude lower limit and frequency lower limit of the excitation signal are determined based on the amplitude and frequency of the excitation signal at this time.
[0066] Wherein, the viscosity measurement lower limit can be expressed as η min , the lower limit of the amplitude can be expressed as A min , the lower frequency limit can be expressed as f minWhen the vibrating element is in different relatively low viscosity fluids, the amplitude A or frequency f of the excitation signal can be adjusted to observe whether the extracted second resonance response waveform has a complete exponential decay waveform and decay rate, thereby preliminarily determining the viscosity measurement lower limit η of the viscosity sensor under a certain vibrator structure. min , and the lower limit of the amplitude of the excitation signal A min and the frequency lower limit f min .
[0067] In an exemplary embodiment, the second sub-exponential decay law includes that the second resonant response waveform has a complete exponential decay waveform, and the decay rate of the second resonant response waveform is greater than the second decay rate, and the first decay rate is greater than the second decay rate.
[0068] Among them, in the fluid with too low viscosity, the vibration energy is slowly dissipated, resulting in the waveform to continue to oscillate with equal amplitude for a long period with almost no attenuation. At this time, there is no complete exponential decay waveform; when the fluid viscosity is too low, the decay rate is too slow, such as Figure 6 As shown, Figure 6The resonant response of the vibrating element in (b) may also be underdamped (the vibrating element oscillates back and forth under the action of fluid damping, and then the amplitude gradually decays). In this case, it is difficult to accurately analyze the viscosity value of the fluid based on the second resonant response waveform, that is, the fluid viscosity exceeds the lower measurement limit of the viscosity sensor. Therefore, it is possible to determine whether the current fluid viscosity value has reached the lower viscosity measurement limit of the viscosity sensor based on the integrity of the exponential decay waveform of the second resonant response waveform and the decay rate of the second resonant response waveform; the viscosity of the fluid can be gradually reduced, and the amplitude or frequency of the excitation signal can be adjusted at each viscosity until the second resonant response waveform does not have a complete exponential decay waveform for the first time, or the decay rate of the second resonant response waveform is less than or equal to the second decay rate, and the viscosity value of the fluid and the amplitude and frequency of the excitation signal are determined when the second resonant response waveform had a complete exponential decay waveform and the decay rate of the second resonant response waveform was greater than the second decay rate. , the viscosity value of the fluid at this time is determined as the viscosity measurement lower limit of the viscosity sensor, and the amplitude and frequency of the excitation signal at this time are determined as the amplitude lower limit and frequency lower limit of the excitation signal; exemplarily, the second attenuation rate is 10%. When the viscosity value of the fluid is 10 cP, if the amplitude of the excitation signal is adjusted to 0.5 V and the frequency is 6 kHz, the resonant response waveform begins to decay too slowly (such as the first 20 peaks have no obvious attenuation), or the amplitude attenuation rate is less than or equal to 10%, it can be determined that the last time the second resonant response waveform had a complete exponential decay waveform, and the viscosity value of the fluid when the attenuation rate of the second resonant response waveform was greater than 10% was 12 cP, and the amplitude of the excitation signal was 0.6 V and the frequency was 6 kHz, then 12 cP at this time can be determined as the viscosity measurement lower limit of the viscosity sensor, 0.6 V at this time can be determined as the amplitude lower limit of the viscosity sensor, and 6 kHz at this time can be determined as the frequency lower limit of the viscosity sensor.
[0069] In the embodiment of the present application, by independently adjusting the amplitude or frequency of the excitation signal for high-viscosity fluid (first viscosity range) and low-viscosity fluid (second viscosity range), and setting different response waveform judgment conditions (first / second sub-exponential decay laws), the viscosity sensor has a complete exponential decay waveform and a suitable decay rate in the entire set range, avoiding underdamping or overdamping, thereby ensuring that the resonant response waveform is always in a resolvable stable state, avoiding measurement errors caused by waveform distortion, and solving the range limitation problem of traditional sensors caused by fixed excitation parameters.
[0070] In an exemplary embodiment, Figure 7As shown, the step 106 of "segmenting the measuring range of the viscosity sensor based on the viscosity measurement boundary value to obtain a plurality of sub-range segments" can be replaced by the following step 1061:
[0071] Step 1061: Based on the viscosity measurement upper limit value and the viscosity measurement lower limit value, the measuring range of the viscosity sensor is divided into equally spaced segments by linear interpolation to obtain a plurality of equally spaced sub-range segments.
[0072] Assuming that the measuring range of the viscosity sensor is divided into N equally spaced sub-range segments, the kth segment point can be calculated using the following formula (1):
[0073]
[0074] Among them, η min is the lower limit of viscosity measurement, η max is the upper limit of viscosity measurement, k is greater than or equal to 1 and less than or equal to N-1; For example, if it is divided into two equidistant sub-range segments, one segmentation point can be selected as (η max +η min ) / 2; if it is divided into three equally spaced sub-range segments, there are two segmentation points that can be selected in sequence as (η max +2η min ) / 3、(2η max +η min ) / 3, and so on, it can be divided into 2 sections, 3 sections, 4 sections, etc. according to the range requirements.
[0075] It should be noted that the intervals between each sub-range segment can be dynamically adjusted based on historical measurement data. It is also possible to use denser intervals for the ultra-high viscosity area or the ultra-low viscosity area, and equally spaced segments for the middle area, taking into account both efficiency and boundary accuracy.
[0076] In the embodiment of the present application, by dividing the total range into sub-range segments with fixed intervals, each sub-range segment corresponds to a set of optimized excitation parameters (amplitude and frequency), thereby achieving regular range segmentation.
[0077] In an exemplary embodiment, Figure 8 As shown, the multiple equidistant sub-range segments include a first sub-range segment and a second sub-range segment, and the lower limit of the viscosity value that can be measured by the first sub-range segment is higher than the upper limit of the viscosity value that can be measured by the second sub-range segment; in step 106, "determining the amplitude and frequency values of the excitation signal applied to the driving element in each of the sub-range segments based on the amplitude boundary value and the frequency boundary value" can be replaced by the following steps 1062 and 1063:
[0078] Step 1062: Determine the amplitude upper limit value and the frequency upper limit value as the amplitude and frequency values of the excitation signal applied to the driving element within the first sub-range segment;
[0079] Wherein, the viscosity measurement range of the first sub-range segment can be ((η max +η min ) / 2,η max ), an excitation signal A can be applied to the vibration element within the first sub-range segment. max 、f max .
[0080] Step 1063: Determine the amplitude lower limit value and the frequency upper limit value as the amplitude and frequency values of the excitation signal applied to the driving element within the second sub-range segment.
[0081] The viscosity measurement range of the second sub-range segment can be (η min , (η max +η min ) / 2), the excitation signal A can be applied to the vibration element in the second sub-range segment. min 、f max .
[0082] In the embodiment of the present application, high-energy excitation is used in the high viscosity range, and large-amplitude driving is used to overcome fluid damping. Low-energy excitation is used in the low viscosity range, and small amplitude is used to suppress noise interference, so that the viscosity sensor has a complete exponential decay waveform and a suitable decay rate in the entire set range, avoiding underdamping or overdamping, thereby effectively widening the range of the viscosity sensor.
[0083] In an exemplary embodiment, Figure 9 As shown, step 108 can be replaced by the following steps 1081 and 1082:
[0084] Step 1081: When the amplitude or frequency of the excitation signal of the first sub-range segment is adjusted so that the first sub-resonance response waveform in the first sub-range segment has a complete exponential decay waveform and the decay rate of the first resonant response waveform is less than the first decay rate, a first target amplitude and a first target frequency of the excitation signal of the first sub-range segment are determined based on the amplitude and frequency of the excitation signal at this time;
[0085] It should be noted that special attention should be paid to (η max +η min) / 2 viscosity value condition, usually we can observe whether there is obvious attenuation in the first 10 peaks of the resonance response waveform, or between the 5th peak and the 10th peak. If there is obvious attenuation, the excitation signal in the first sub-range can be determined to be A max 、f max If there is no obvious attenuation, the amplitude or frequency of the excitation signal can be adjusted until it is found that (η max +η min ) / 2 viscosity value condition, the resonant response waveform has obvious attenuation in the first 10 peaks, or between the 5th peak and the 10th peak.
[0086] Step 1082: When the amplitude or frequency of the excitation signal of the second sub-range segment is adjusted so that the second sub-resonance response waveform in the second sub-range segment has a complete exponential decay waveform and the decay rate of the second resonant response waveform is greater than the second decay rate, the second target amplitude and the second target frequency of the excitation signal of the second sub-range segment are determined based on the amplitude and frequency of the excitation signal at this time.
[0087] It should be noted that special attention should be paid to (η max +η min ) / 2 viscosity value condition, usually we can observe whether the first 10 peaks of the resonance response waveform are complete. If they are complete, the excitation signal in the second sub-range can be determined to be A min 、f max If incomplete, the amplitude or frequency of the excitation signal can be adjusted until it is found that (η max +η min ) / 2 viscosity value condition, the first 10 peaks of the resonant response waveform are relatively complete.
[0088] Through segmented excitation and segmented calibration, the viscosity sensor has a complete exponential decay waveform and a decay rate that is not too large in the higher first sub-range interval, avoiding over-damping. The viscosity sensor has a complete exponential decay waveform and a decay rate that is not too small in the lower second sub-range interval, avoiding under-damping, thereby effectively widening the range of the viscosity sensor.
[0089] In an exemplary embodiment, Figure 10 As shown, the range expansion method of the viscosity sensor further includes:
[0090] Step 1091: When the amplitude or frequency of the excitation signal of the first sub-range segment is adjusted so that the first sub-resonance response waveform in the first sub-range segment does not have a complete exponential decay waveform, or the decay rate of the first resonant response waveform is not less than the first decay rate, reducing the amplitude or frequency of the excitation signal;
[0091] Among them, when the first sub-resonance response waveform in the first sub-range segment does not have a complete exponential decay waveform, or the decay rate of the first resonant response waveform is not less than the first decay rate, the amplitude or frequency of the excitation signal can be reduced until the first sub-resonance response waveform in the first sub-range segment has a complete exponential decay waveform and the decay rate of the first resonant response waveform is less than the first decay rate. For example, if there is no obvious attenuation in the first 10 peaks of the resonant response waveform, or between the 5th peak and the 10th peak, the amplitude of the excitation signal can be reduced to A1 until it is found that (η max +η min The resonant response waveform under the viscosity value of ) / 2 has obvious attenuation in the first 10 peaks or between the 5th peak and the 10th peak, where A1 is less than or equal to A max ; or maintain the excitation amplitude A max unchanged, reduce the frequency of the excitation signal to f1, until it is found that (η max +η min ) / 2 viscosity value condition has obvious attenuation in the first 10 peaks or between the 5th peak and the 10th peak, where f1 is less than or equal to f max .
[0092] Step 1092: When adjusting the amplitude or frequency of the excitation signal of the second sub-range segment so that the second sub-resonance response waveform in the second sub-range segment does not have a complete exponential decay waveform, or the decay rate of the second resonant response waveform is not greater than the second decay rate, increase the amplitude of the excitation signal.
[0093] Wherein, when the second sub-resonance response waveform in the second sub-range segment does not have a complete exponential decay waveform, or the decay rate of the second resonant response waveform is not greater than the second decay rate, the amplitude of the excitation signal can be increased until the amplitude or frequency of the excitation signal in the second sub-range segment is such that the second sub-resonance response waveform in the second sub-range segment has a complete exponential decay waveform, and the decay rate of the second resonant response waveform is greater than the second decay rate. For example, if the first 10 peaks of the resonant response waveform are incomplete, the excitation frequency f can be maintained. max The amplitude of the excitation signal is increased to A. 0, Until it is found that (η max +η min ) / 2 viscosity value condition, the first 10 peaks of the resonance response waveform are relatively complete, where A0 is greater than or equal to A min , A0 is smaller than A1.
[0094] In an embodiment of the present application, by adjusting the amplitude or frequency of the excitation signal so that the first sub-resonance response waveform and the second sub-resonance response waveform meet the conditions when the first sub-resonance response waveform within the first sub-range segment or the second sub-resonance response waveform within the second sub-range segment does not have a complete exponential decay waveform or the decay rate is too large or too small, adaptive control adjustment of the viscosity sensor can be achieved; the viscosity sensor has a complete exponential decay waveform and a suitable decay rate in the entire set range interval, avoiding underdamping or overdamping, thereby effectively widening the range of the viscosity sensor.
[0095] The embodiment of the present application provides a method for widening the measuring range of a cantilever beam piezoelectric resonant viscosity sensor. The cantilever beam vibrator structure is also called a viscosity sensitive structure. The size of the cantilever beam vibrator structure is 2.5 mm × 0.5 mm × 5.7 mm. Figure 11 As shown, a viscosity sensitive structure 51 is provided in an embodiment of the present application, and 320# gear oil is used as a method verification object. By heating or cooling it, it meets different viscosity conditions.
[0096] The viscosity sensor was placed in a measuring cup filled with 320# gear oil, which was then placed in a reactor equipped with heating and cooling functions. The viscosity sensor was connected to a power supply, a signal generator, an oscilloscope, and a PC. A sinusoidal signal of a certain amplitude and frequency was input to the piezoelectric element of the viscosity sensor via the signal generator.
[0097] The temperature of the reactor can be adjusted from high to low to gradually increase the viscosity value in the measuring cup, and the corresponding excitation signal amplitude and frequency can be adjusted, especially gradually increasing the excitation amplitude to find the upper limit of the sensor viscosity measurement under the oscillator element. Figure 12 As shown in the figure, when the temperature of the reactor is 22°C, the viscosity of the oil is 1033.27 square millimeters per second (unit: mm 2 / s), set the excitation amplitude to 1.5V, and the excitation frequency to 6.25kHz, the oscilloscope can pick up the complete resonant response waveform and the first 5 to 10 peaks of the waveform have obvious attenuation, such as Figure 12 As shown in (a), the upper limit value of the structural viscosity η is determined max =1033.27mm 2 / s; when the temperature of the reactor is 65℃, the viscosity of the oil drops to 79.36mm 2 / s, with an excitation amplitude of 0.5V and an excitation frequency of 6.25kHz, the oscilloscope can pick up a complete resonant response waveform and the first 5 to 10 peaks of the waveform have obvious attenuation, such as Figure 12 As shown in (b), the lower limit of the structural viscosity η is determinedmin =79.36mm 2 / s.
[0098] The cantilever beam oscillator structure can measure the viscosity range of 79.36 ~ 1033.27mm 2 / s is divided into segments, and the viscosity η of the segmentation point is selected s =292.02mm 2 / s, the sensor is divided into high viscosity range 292.02mm 2 / s~1033.27mm 2 / s, low viscosity range 79.36mm 2 / s~292.02mm 2 / s. Using high viscosity interval excitation condition A max =1.5V, f max =6.25kHz and low viscosity range excitation condition A min =0.5V, f min = 6.25kHz, excite the oscillator at each segmented viscosity point and observe the integrity and attenuation rate of the oscillator's resonant response waveform, such as Figure 13 As shown, it is obvious that near the segmentation point, such as Figure 13 As shown in (a), the first 5 to 10 peaks of the oscillator resonance response waveform under high amplitude excitation conditions in the high viscosity range have obvious attenuation, such as Figure 13 As shown in (b), the oscillator resonance response waveform under low amplitude excitation conditions in the low viscosity range has a complete exponential decay waveform. Therefore, the segmented range of the sensor is determined to be the high viscosity range 292.02mm 2 / s~1033.27mm 2 / s, incentive condition is A max =1.5V, f max =6.25kHz; low viscosity range is 79.36mm 2 / s~292.02mm 2 / s, incentive condition is A min =0.5V, f min =6.25kHz.
[0099] The sensor is calibrated in sections according to the excitation conditions in the high viscosity range and low viscosity range. The high viscosity range is calibrated with an excitation amplitude of 1.5V and an excitation signal of 6.25kHz, and the low viscosity range is calibrated with an excitation amplitude of 0.5V and an excitation signal of 6.25kHz. After the calibration is completed, the sensor range can reach 79.36~1033.27mm 2 / s. Figure 14The figure shows the comparison of viscosity measurement results using a calibrated viscosity sensor. It is obvious that after segmented excitation and segmented calibration, the sensor's range is significantly widened compared to the single excitation mode, and the sensor's measurement error is better than 3% within the range.
[0100] Based on the same inventive concept, embodiments of the present application also provide a viscosity sensor range expansion device for implementing the aforementioned viscosity sensor range expansion method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of the one or more viscosity sensor range expansion device embodiments provided below can be found in the aforementioned limitations of the viscosity sensor range expansion method and will not be further elaborated here.
[0101] In an exemplary embodiment, Figure 15 As shown, a range expansion device 600 of a viscosity sensor is provided, comprising:
[0102] An acquisition module 601 is configured to acquire a resonance response waveform of a vibrating element of the viscosity sensor in fluids of different viscosities after applying an excitation signal to a driving element of the viscosity sensor;
[0103] A first determining module 602 is configured to determine a viscosity measurement boundary value of the viscosity sensor based on the viscosity value of the fluid when the amplitude or frequency of the excitation signal is adjusted so that the resonant response waveform satisfies a first exponential decay law, and to determine an amplitude boundary value and a frequency boundary value of the excitation signal based on the amplitude and frequency of the excitation signal at that time;
[0104] A second determining module 603 is configured to segment the measuring range of the viscosity sensor based on the viscosity measurement boundary value to obtain a plurality of sub-range segments; and determine the amplitude and frequency of the excitation signal applied to the driving element within each sub-range segment based on the amplitude boundary value and the frequency boundary value;
[0105] a third determining module 604 for determining a target amplitude and a target frequency of the excitation signal for each sub-range segment based on the amplitude and frequency of the excitation signal when adjusting the amplitude or frequency of the excitation signal for each sub-range segment so that the sub-resonance response waveform within the corresponding sub-range segment satisfies a second exponential decay law;
[0106] The calibration module 605 is configured to calibrate the viscosity of the viscosity sensor for the corresponding sub-range segment based on the target amplitude and target frequency of each sub-range segment, so as to obtain a viscosity sensor with a range within the viscosity measurement boundary value.
[0107] As an optional embodiment, the acquisition module 601 includes: an acquisition submodule for acquiring, after applying an excitation signal to the driving element of the viscosity sensor, a first resonant response waveform of the vibrating element of the viscosity sensor in a fluid within a first viscosity range and a second resonant response waveform in a fluid within a second viscosity range, wherein all viscosity values within the first viscosity range are greater than all viscosity values within the second viscosity range; the first determination module 602 includes a first determination submodule for determining, when adjusting the amplitude or frequency of the excitation signal so that the first resonant response waveform satisfies a first sub-exponential decay law, an upper limit value of viscosity measurement of the viscosity sensor based on the viscosity value of the fluid at that time, and an upper limit value of amplitude and an upper limit value of frequency of the excitation signal at that time; and a second determination submodule for determining, when adjusting the amplitude or frequency of the excitation signal so that the second resonant response waveform satisfies a second sub-exponential decay law, an upper limit value of viscosity measurement of the viscosity sensor based on the viscosity value of the fluid at that time, and an upper limit value of amplitude and an upper limit value of frequency of the excitation signal at that time.
[0108] As an optional embodiment, the first sub-exponential decay law includes that the first resonant response waveform has a complete exponential decay waveform, and the decay rate of the first resonant response waveform is less than the first decay rate; the second sub-exponential decay law includes that the second resonant response waveform has a complete exponential decay waveform, and the decay rate of the second resonant response waveform is greater than the second decay rate, and the first decay rate is greater than the second decay rate.
[0109] As an optional embodiment, the second determination module 603 includes a segmentation submodule configured to segment the measuring range of the viscosity sensor into equally spaced segments by linear interpolation based on the viscosity measurement upper limit and the viscosity measurement lower limit, thereby obtaining a plurality of equally spaced sub-range segments.
[0110] As an optional embodiment, the multiple equidistant sub-range segments include a first sub-range segment and a second sub-range segment, and the lower limit of the viscosity value that can be measured by the first sub-range segment is higher than the upper limit of the viscosity value that can be measured by the second sub-range segment; the second determination module 603 also includes: a third determination sub-module, used to determine the amplitude upper limit value and the frequency upper limit value as the amplitude and frequency values of the excitation signal applied to the driving element in the first sub-range segment; a fourth determination sub-module, used to determine the amplitude lower limit value and the frequency upper limit value as the amplitude and frequency values of the excitation signal applied to the driving element in the second sub-range segment.
[0111] As an optional embodiment, the third determination module 604 includes: a fifth determination submodule, which is used to determine the first target amplitude and the first target frequency of the excitation signal of the first sub-range segment based on the amplitude and frequency of the excitation signal at this time when the amplitude or frequency of the excitation signal of the first sub-range segment is adjusted so that the first sub-resonance response waveform in the first sub-range segment has a complete exponential decay waveform and the decay rate of the first resonant response waveform is less than the first decay rate; and a sixth determination submodule, which is used to determine the second target amplitude and the second target frequency of the excitation signal of the second sub-range segment based on the amplitude and frequency of the excitation signal at this time when the amplitude or frequency of the excitation signal of the second sub-range segment is adjusted so that the second sub-resonance response waveform in the second sub-range segment has a complete exponential decay waveform and the decay rate of the second resonant response waveform is greater than the second decay rate.
[0112] As an optional embodiment, the device also includes: a first adjustment module, which is used to reduce the amplitude or frequency of the excitation signal when adjusting the amplitude or frequency of the excitation signal of the first sub-range segment so that the first sub-resonance response waveform in the first sub-range segment does not have a complete exponential decay waveform, or the decay rate of the first resonant response waveform is not less than the first decay rate; and a second adjustment module, which is used to increase the amplitude of the excitation signal when adjusting the amplitude or frequency of the excitation signal of the second sub-range segment so that the second sub-resonance response waveform in the second sub-range segment does not have a complete exponential decay waveform, or the decay rate of the second resonant response waveform is not greater than the second decay rate.
[0113] In an exemplary embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Figure 16 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. 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, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for widening the range of a viscosity sensor is implemented.
[0114] Those skilled in the art will understand that Figure 16 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0115] In an exemplary embodiment, a computer device is further provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.
[0116] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0117] In an exemplary embodiment, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0118] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0119] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0120] The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processors involved in the various embodiments provided herein may include, but are not limited to, general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic units, data processing logic units based on quantum computing, and the like.
[0121] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0122] This document uses specific examples to illustrate the principles and implementation methods of this application. The description of the above examples is only intended to help understand the method and core concept of this application. At the same time, for those skilled in the art, based on the concept of this application, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A method for expanding the measuring range of a viscosity sensor, characterized in that: The method for expanding the measuring range of the viscosity sensor includes: obtaining resonance response waveforms of a vibrating element of the viscosity sensor in fluids of different viscosities after applying an excitation signal to a driving element of the viscosity sensor; When the amplitude or frequency of the excitation signal is adjusted so that the resonant response waveform satisfies a first exponential decay law, a viscosity measurement boundary value of the viscosity sensor is determined based on the viscosity value of the fluid at that time, and an amplitude boundary value and a frequency boundary value of the excitation signal are determined based on the amplitude and frequency of the excitation signal at that time; Based on the viscosity measurement boundary value, the measuring range of the viscosity sensor is segmented to obtain a plurality of sub-range segments; based on the amplitude boundary value and the frequency boundary value, the amplitude and frequency value of the excitation signal applied to the driving element within each of the sub-range segments are determined; When adjusting the amplitude or frequency of the excitation signal of each sub-range segment so that the sub-resonance response waveform in the corresponding sub-range segment satisfies the second exponential decay law, determining the target amplitude and target frequency of the excitation signal for the corresponding sub-range segment based on the amplitude and frequency of the excitation signal at this time; Based on the target amplitude and target frequency of each sub-range segment, the viscosity of the viscosity sensor is calibrated for the corresponding sub-range segment to obtain a viscosity sensor with a range within the viscosity measurement boundary value.
2. The method for expanding the measuring range of a viscosity sensor according to claim 1, wherein: The obtaining of the resonance response waveform of the vibration element of the viscosity sensor in fluids with different viscosities after applying an excitation signal to the driving element of the viscosity sensor comprises: Obtaining a first resonant response waveform of a vibrating element of the viscosity sensor in a fluid within a first viscosity range and a second resonant response waveform of a fluid within a second viscosity range after applying an excitation signal to a driving element of the viscosity sensor, wherein all viscosity values within the first viscosity range are greater than all viscosity values within the second viscosity range; When the amplitude or frequency of the excitation signal is adjusted so that the resonant response waveform satisfies a first exponential decay law, determining the viscosity measurement boundary value of the viscosity sensor based on the viscosity value of the fluid at that time, and determining the amplitude boundary value and frequency boundary value of the excitation signal based on the amplitude and frequency of the excitation signal at that time, includes: When the amplitude or frequency of the excitation signal is adjusted so that the first resonant response waveform satisfies a first sub-exponential decay law, an upper limit value of viscosity measurement of the viscosity sensor is determined based on the viscosity value of the fluid at that time, and an upper limit value of the amplitude and an upper limit value of the frequency of the excitation signal are determined based on the amplitude and frequency of the excitation signal at that time; When the amplitude or frequency of the excitation signal is adjusted so that the second resonant response waveform satisfies the second sub-exponential decay law, the viscosity measurement lower limit of the viscosity sensor is determined based on the viscosity value of the fluid at this time, and the amplitude lower limit and frequency lower limit of the excitation signal are determined based on the amplitude and frequency of the excitation signal at this time.
3. The method for expanding the measuring range of a viscosity sensor according to claim 2, wherein: The first sub-exponential decay law includes that the first resonant response waveform has a complete exponential decay waveform, and the decay rate of the first resonant response waveform is less than the first decay rate; The second sub-exponential decay law includes that the second resonant response waveform has a complete exponential decay waveform, the decay rate of the second resonant response waveform is greater than the second decay rate, and the first decay rate is greater than the second decay rate.
4. The method for expanding the measuring range of a viscosity sensor according to claim 2, wherein: The viscosity sensor's measuring range is segmented based on the viscosity measurement boundary value to obtain a plurality of sub-range segments, including: Based on the viscosity measurement upper limit value and the viscosity measurement lower limit value, the measuring range of the viscosity sensor is divided into equally spaced segments by linear interpolation to obtain a plurality of equally spaced sub-range segments.
5. The method for expanding the measuring range of a viscosity sensor according to claim 4, wherein: The plurality of equally spaced sub-range segments include a first sub-range segment and a second sub-range segment, wherein a lower limit of a viscosity value that can be measured by the first sub-range segment is higher than an upper limit of a viscosity value that can be measured by the second sub-range segment; Determining the amplitude and frequency of the excitation signal applied to the driving element within each sub-range segment based on the amplitude boundary value and the frequency boundary value includes: Determining the amplitude upper limit value and the frequency upper limit value as the amplitude and frequency values of the excitation signal applied to the driving element within the first sub-range segment; The amplitude lower limit value and the frequency upper limit value are determined as the amplitude and frequency values of the excitation signal applied to the driving element within the second sub-range segment.
6. The method for expanding the measuring range of a viscosity sensor according to claim 5, wherein: When adjusting the amplitude or frequency of the excitation signal of each sub-range segment so that the sub-resonance response waveform in the corresponding sub-range segment satisfies the second exponential decay law, determining the target amplitude and target frequency of the excitation signal for the corresponding sub-range segment based on the amplitude and frequency of the excitation signal at this time includes: When adjusting the amplitude or frequency of the excitation signal in the first sub-range segment so that the first sub-resonance response waveform in the first sub-range segment has a complete exponential decay waveform and the decay rate of the first resonant response waveform is less than the first decay rate, determining a first target amplitude and a first target frequency of the excitation signal in the first sub-range segment based on the amplitude and frequency of the excitation signal at this time; When the amplitude or frequency of the excitation signal of the second sub-range segment is adjusted so that the second sub-resonance response waveform in the second sub-range segment has a complete exponential decay waveform and the decay rate of the second resonant response waveform is greater than the second decay rate, the second target amplitude and the second target frequency of the excitation signal of the second sub-range segment are determined based on the amplitude and frequency of the excitation signal at this time.
7. The method for expanding the measuring range of a viscosity sensor according to claim 5, wherein: The method for expanding the measuring range of the viscosity sensor further includes: When the amplitude or frequency of the excitation signal of the first sub-range segment is adjusted so that the first sub-resonance response waveform in the first sub-range segment does not have a complete exponential decay waveform, or the decay rate of the first resonant response waveform is not less than the first decay rate, the amplitude or frequency of the excitation signal is reduced; When the amplitude or frequency of the excitation signal of the second sub-range segment is adjusted so that the second sub-resonance response waveform in the second sub-range segment does not have a complete exponential decay waveform, or the decay rate of the second resonant response waveform is not greater than the second decay rate, the amplitude of the excitation signal is increased.
8. A range expansion device for a viscosity sensor, characterized in that: The range expansion device of the viscosity sensor comprises: an acquisition module, configured to acquire a resonance response waveform of a vibrating element of the viscosity sensor in fluids of different viscosities after applying an excitation signal to a driving element of the viscosity sensor; a first determining module, configured to determine, when adjusting the amplitude or frequency of the excitation signal so that the resonant response waveform satisfies a first exponential decay law, a viscosity measurement boundary value of the viscosity sensor based on the viscosity value of the fluid at that time, and to determine an amplitude boundary value and a frequency boundary value of the excitation signal based on the amplitude and frequency of the excitation signal at that time; a second determining module, configured to segment the measuring range of the viscosity sensor based on the viscosity measurement boundary value to obtain a plurality of sub-range segments; and determine the amplitude and frequency of the excitation signal applied to the driving element within each of the sub-range segments based on the amplitude boundary value and the frequency boundary value; a third determining module, configured to determine a target amplitude and a target frequency of the excitation signal for the corresponding sub-range segment based on the amplitude and frequency of the excitation signal at that time when adjusting the amplitude or frequency of the excitation signal for each sub-range segment so that the sub-resonance response waveform in the corresponding sub-range segment satisfies a second exponential decay law; The calibration module is used to calibrate the viscosity of the viscosity sensor for the corresponding sub-range segment based on the target amplitude and target frequency of each sub-range segment, so as to obtain a viscosity sensor with a range within the viscosity measurement boundary value.
9. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the range widening method for the viscosity sensor according to any one of claims 1 to 7.
10. 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 method for widening the measuring range of a viscosity sensor according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Method and system for measuring viscosity of lubricating oil and electronic equipment
CN120846916A
Lubricating oil viscosity measurement method, system, and electronic device
CN120846916B