Ultrasonic-based areal density measurement method, system, and electronic device

By real-time monitoring of the voltage and time integral value of the ultrasonic pulse signal as a reference value and adjusting the duty cycle of the ultrasonic pulse signal, the problem of drift in the coating surface density measurement value of the ultrasonic surface density meter during long-term operation is solved, and stable output and accurate measurement are achieved.

CN119354804BActive Publication Date: 2025-10-14SHENZHEN MANST TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411920054.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-10-14
Estimated Expiration
2044-12-25

AI Technical Summary

Technical Problem

During long-term operation of existing ultrasonic surface densitometers, the measured value of coating surface density drifts due to environmental changes and equipment aging, and the existing adjustment method is not ideal.

Method used

By real-time monitoring of the voltage and time integral value of the ultrasonic pulse signal as a reference value, the duty cycle of the ultrasonic pulse signal is adjusted to achieve stable regulation of the output voltage and suppress data drift errors.

Benefits of technology

The stable output of ultrasonic pulse signals is achieved, which effectively suppresses the data drift error caused by external factors and ensures the accuracy of coating surface density measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119354804B_ABST
    Figure CN119354804B_ABST
Patent Text Reader

Abstract

The application provides an ultrasonic-based surface density measurement method and system and electronic equipment, and relates to the technical field of signal processing.The method uses the integral value of the voltage and time of an ultrasonic pulse signal as a reference value of the ultrasonic pulse signal, and then uses an adjustment strategy determined by the reference value to adjust the duty cycle of the ultrasonic pulse signal, so that the integral value is used to adjust the output voltage of the ultrasonic pulse signal, the stable output of the ultrasonic pulse signal is realized, and the data drift error caused by external factors can be effectively inhibited.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of signal processing technology, and in particular to an ultrasonic-based surface density measurement method, system and electronic equipment. Background Art

[0002] For devices that utilize ultrasonic air-coupled measurement technology, such as ultrasonic densitometers, accurately measuring the coating surface density is crucial to the overall production process. Over extended periods of operation, these devices can be affected by environmental changes and aging, leading to drift in the measured coating surface density. Existing techniques rely on collecting the ultrasonic pulse signals emitted by the device and deriving the corresponding voltage for adjustment, but this approach is not ideal. Summary of the Invention

[0003] In view of this, the purpose of the present invention is to provide an ultrasonic-based surface density measurement method, system and electronic equipment. The method monitors the integral value of the voltage and time of the ultrasonic pulse signal in real time as a reference value of the ultrasonic pulse signal, and then uses the adjustment strategy determined by the reference value to adjust the duty cycle of the ultrasonic pulse signal, thereby realizing the use of the integral value to adjust the output voltage of the ultrasonic pulse signal, realizing the stable output of the ultrasonic pulse signal, and being able to effectively suppress data drift errors caused by external factors.

[0004] In a first aspect, an embodiment of the present invention provides an ultrasonic surface density measurement method, which is applied to an ultrasonic surface density meter; the ultrasonic surface density meter stably measures the coating surface density based on an ultrasonic pulse signal; the method comprises:

[0005] Initialize the ultrasonic pulse signal based on the fluid setting parameters of the ultrasonic surface density meter;

[0006] Obtaining a voltage value and a time parameter corresponding to the ultrasonic pulse signal, and determining a reference value of the ultrasonic pulse signal using an integral value corresponding to the voltage value and the time parameter;

[0007] Determining an adjustment strategy for the ultrasonic pulse signal according to the reference value, and adjusting the duty cycle of the ultrasonic pulse signal using the adjustment strategy to obtain an updated reference value;

[0008] The updated reference value is used to obtain the output voltage corresponding to the ultrasonic pulse signal, and the ultrasonic surface density meter is controlled based on the output voltage to stably measure the coating surface density.

[0009] Optionally, the ultrasonic pulse signal is initialized based on the fluid setting parameters of the ultrasonic areal density meter, including:

[0010] Acquire historical data corresponding to the ultrasonic surface density meter based on fluid setting parameters of the ultrasonic surface density meter, and determine voltage data corresponding to the ultrasonic pulse signal in the historical data;

[0011] Obtaining time data corresponding to the voltage data, calculating the integral average value corresponding to the voltage data using the time data, and determining the initial value of the ultrasonic pulse signal based on the integral average value;

[0012] Initialize the ultrasonic pulse signal using the initial value.

[0013] Optionally, obtaining a voltage value and a time parameter corresponding to the ultrasonic pulse signal, and determining a reference value of the ultrasonic pulse signal using an integral value corresponding to the voltage value and the time parameter, includes:

[0014] Obtaining an analog quantity corresponding to the ultrasonic pulse signal, and performing analog-to-digital conversion on the analog quantity to determine a digital quantity corresponding to the ultrasonic pulse signal;

[0015] Determine the voltage value corresponding to the ultrasonic pulse signal according to the digital quantity, and determine the time value corresponding to the voltage value;

[0016] The time value is used to determine the time parameter corresponding to the ultrasonic pulse signal, and the integral value is calculated based on the voltage value and the time parameter;

[0017] The reference value of the ultrasonic pulse signal is determined according to the integrated value.

[0018] Optionally, determining an adjustment strategy for the ultrasonic pulse signal based on the reference value includes:

[0019] Calculate the difference between the reference value and the initial value;

[0020] If the difference exceeds a preset threshold, a duty cycle adjustment value of the ultrasonic pulse signal is determined according to the difference, and an adjustment strategy of the ultrasonic pulse signal is determined using the duty cycle adjustment value.

[0021] Optionally, if the difference does not exceed a preset threshold, the method further includes:

[0022] The current reference value is used to obtain the current output voltage corresponding to the ultrasonic pulse signal, and the ultrasonic surface density meter is controlled based on the current output voltage to stably measure the coating surface density.

[0023] Optionally, after adjusting the duty cycle of the ultrasonic pulse signal using an adjustment strategy, obtaining an updated reference value includes:

[0024] Obtaining pulse width modulation parameters of the ultrasonic pulse signal, and determining a duty cycle of the ultrasonic pulse signal according to the pulse width modulation parameters;

[0025] The PID control strategy corresponding to the pulse width modulation parameters is determined by using the adjustment strategy, and the negative feedback parameters corresponding to the ultrasonic pulse signal are determined by using the PID control strategy;

[0026] After the ultrasonic pulse signal is updated using the negative feedback parameter, the voltage value and time parameter of the updated ultrasonic pulse signal are obtained, and the updated reference value of the ultrasonic pulse signal is determined using the integral value corresponding to the voltage value and the time parameter.

[0027] Optionally, the updated reference value is used to obtain an output voltage corresponding to the ultrasonic pulse signal, and an ultrasonic surface density meter is controlled based on the output voltage to stably measure the coating surface density, including:

[0028] Determining steady-state parameters of the ultrasonic pulse signal according to the updated reference value, and determining working state parameters of the ultrasonic surface density meter using the steady-state parameters;

[0029] When the ultrasonic surface density meter is determined to be in steady-state operation based on the working state parameters, the output voltage corresponding to the current ultrasonic pulse signal is obtained;

[0030] The ultrasonic surface density meter is controlled to use the output voltage to stably measure the coating surface density.

[0031] Optionally, after initializing the ultrasonic pulse signal based on the fluid setting parameters of the ultrasonic areal densitometer, the method further includes:

[0032] Obtain the filtering strategy corresponding to the ultrasonic pulse signal;

[0033] The ultrasonic pulse signal is filtered and denoised using a filtering strategy, and the obtained filtering and denoising results are updated to the ultrasonic pulse signal.

[0034] In a second aspect, the present invention provides an ultrasonic surface density measurement system, which is applied to an ultrasonic surface density meter; the ultrasonic surface density meter stably measures the coating surface density based on ultrasonic pulse signals; the system comprises:

[0035] An initialization module, used for initializing an ultrasonic pulse signal based on fluid setting parameters of an ultrasonic surface density meter;

[0036] An acquisition module is used to obtain a voltage value and a time parameter corresponding to the ultrasonic pulse signal, and determine a reference value of the ultrasonic pulse signal using an integral value corresponding to the voltage value and the time parameter;

[0037] An updating module is used to determine an adjustment strategy for the ultrasonic pulse signal according to the reference value, and to adjust the duty cycle of the ultrasonic pulse signal using the adjustment strategy to obtain an updated reference value;

[0038] The measuring module is used to obtain the output voltage corresponding to the ultrasonic pulse signal using the updated reference value, and control the ultrasonic surface density meter to stably measure the coating surface density based on the output voltage.

[0039] In a third aspect, an embodiment of the present invention further provides an electronic device comprising a processor and a memory, wherein the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the steps of the ultrasonic-based surface density measurement method provided in the first aspect.

[0040] In a fourth aspect, an embodiment of the present invention further provides a storage medium storing computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the steps of the ultrasonic-based surface density measurement method provided in the first aspect.

[0041] The present invention provides an ultrasonic-based areal density measurement method, system, and electronic device. In the process of stably measuring the coating areal density in an ultrasonic areal density meter or other device, the method first initializes an ultrasonic pulse signal based on the fluid setting parameters of the ultrasonic areal density meter; then obtains the voltage value and time parameter corresponding to the ultrasonic pulse signal, and determines the reference value of the ultrasonic pulse signal using the integral value corresponding to the voltage value and time parameter; then determines an adjustment strategy for the ultrasonic pulse signal based on the reference value, and adjusts the duty cycle of the ultrasonic pulse signal using the adjustment strategy to obtain an updated reference value; finally, obtains the output voltage corresponding to the ultrasonic pulse signal using the updated reference value, and controls the ultrasonic areal density meter based on the output voltage to stably measure the coating areal density. The method uses the integral value of the voltage and time of the ultrasonic pulse signal as the reference value of the ultrasonic pulse signal in real time, and then adjusts the duty cycle of the ultrasonic pulse signal using the adjustment strategy determined by the reference value, thereby achieving the output voltage of the ultrasonic pulse signal adjusted by the integral value, achieving stable output of the ultrasonic pulse signal, and effectively suppressing data drift errors caused by external factors.

[0042] Other features and advantages of the present invention will be described in the following description, and in part will become apparent from the description, or understood by practicing the present invention. The purposes and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0043] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0045] Figure 1 A flow chart of an ultrasonic surface density measurement method provided in an embodiment of the present invention;

[0046] Figure 2 Flowchart of step S101 in an ultrasonic surface density measurement method provided in an embodiment of the present invention;

[0047] Figure 3 A flowchart of step S102 in an ultrasonic surface density measurement method provided in an embodiment of the present invention;

[0048] Figure 4 A flowchart of determining an adjustment strategy for an ultrasonic pulse signal according to a reference value in an ultrasonic-based areal density measurement method provided in an embodiment of the present invention;

[0049] Figure 5 A flowchart of obtaining an updated reference value after adjusting the duty cycle of an ultrasonic pulse signal using an adjustment strategy in an ultrasonic-based areal density measurement method provided in an embodiment of the present invention;

[0050] Figure 6 A flowchart of step S104 in an ultrasonic surface density measurement method provided in an embodiment of the present invention;

[0051] Figure 7 This is a flow chart after step S101 in an ultrasonic surface density measurement method provided in an embodiment of the present invention;

[0052] Figure 8 A control logic diagram of an ultrasonic surface density measurement method provided in an embodiment of the present invention;

[0053] Figure 9 A schematic diagram of an ultrasonic-based areal density measurement system provided in an embodiment of the present invention;

[0054] Figure 10 A schematic structural diagram of an electronic device provided by an embodiment of the present invention.

[0055] icon:

[0056] 910-initialization module; 920-acquisition module; 930-update module; 940-measurement module;

[0057] 101 - processor; 102 - memory; 103 - bus; 104 - communication interface. DETAILED DESCRIPTION

[0058] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0059] For equipment using ultrasonic air-coupled measurement technology, such as ultrasonic densitometers, accurately measuring the coating density is crucial to the overall production process. Over extended periods of operation, these devices can be affected by environmental changes and aging, leading to drift in coating density measurements. These drifts can be caused by factors such as air turbulence, temperature and humidity fluctuations, equipment heating, fluctuations in the ultrasonic densitometer's transducer frequency, and fluctuations in the signal generator's operation, all of which can affect measurement accuracy.

[0060] In the prior art, the ultrasonic pulse signal emitted by the device is collected and its corresponding voltage value is obtained for adjustment, but the effect of this type of adjustment is not ideal. Based on this, the present invention provides an ultrasonic-based areal density measurement method, system, and electronic device. By monitoring the integral value of the voltage and time of the ultrasonic pulse signal in real time as a reference value for the ultrasonic pulse signal, the duty cycle of the ultrasonic pulse signal is adjusted using an adjustment strategy determined by the reference value. This achieves the use of the integral value to adjust the output voltage of the ultrasonic pulse signal, achieves stable output of the ultrasonic pulse signal, and can effectively suppress data drift errors caused by external factors.

[0061] To facilitate understanding of this embodiment, first, a method for measuring surface density based on ultrasound disclosed in an embodiment of the present invention is introduced in detail. This method is applied to equipment such as an ultrasonic surface density meter, which measures the coating surface density stably based on ultrasonic pulse signals. On this basis, the method is as follows: Figure 1 Shown, including:

[0062] Step S101, initializing an ultrasonic pulse signal based on fluid setting parameters of an ultrasonic surface densitometer;

[0063] Step S102, obtaining a voltage value and a time parameter corresponding to the ultrasonic pulse signal, and determining a reference value of the ultrasonic pulse signal using an integral value corresponding to the voltage value and the time parameter;

[0064] Step S103, determining an adjustment strategy for the ultrasonic pulse signal according to the reference value, and adjusting the duty cycle of the ultrasonic pulse signal using the adjustment strategy, and then obtaining an updated reference value;

[0065] Step S104 , using the updated reference value to obtain the output voltage corresponding to the ultrasonic pulse signal, and controlling the ultrasonic surface density meter to stably measure the coating surface density based on the output voltage.

[0066] Specifically, when performing non-contact distance measurement and non-destructive material testing using equipment such as an ultrasonic surface density meter, the ultrasonic pulse signal is first initialized according to the fluid setting parameters of the ultrasonic surface density meter. The initialization process can be implemented using parameters such as fluid parameters, ultrasonic parameters, and time parameters.

[0067] After the ultrasonic pulse signal is initialized, the ultrasonic densitometer begins operation. The voltage and time parameters corresponding to the ultrasonic pulse signal are acquired in real time and integrated to obtain a reference value for the ultrasonic pulse signal, which serves as a parameter for feedback adjustment. Specifically, an adjustment strategy for the ultrasonic pulse signal is determined based on the reference value. After adjusting the duty cycle of the ultrasonic pulse signal using the adjustment strategy, the updated reference value is obtained and compared with the relevant threshold.

[0068] By comparing the results, the numerical gap between the two can be gradually narrowed until the ultrasonic surface density meter equipment enters a stable working state. The updated reference value can be used to obtain the output voltage corresponding to the ultrasonic pulse signal, and the ultrasonic surface density meter can be controlled based on the output voltage to perform stable measurement of the coating surface density.

[0069] It can be seen that the above process monitors the integral value of the voltage and time of the ultrasonic pulse signal in real time as the reference value of the ultrasonic pulse signal, and then uses the adjustment strategy determined by the reference value to adjust the duty cycle of the ultrasonic pulse signal, thereby realizing the use of the integral value to adjust the output voltage of the ultrasonic pulse signal, thereby ensuring that the ultrasonic pulse signal can be output stably and effectively suppressing data drift errors caused by external factors.

[0070] Optionally, the ultrasonic pulse signal is initialized in step S101 based on the fluid setting parameters of the ultrasonic surface density meter, such as Figure 2 Shown, including:

[0071] Step S201, acquiring historical data corresponding to the ultrasonic surface density meter based on the fluid setting parameters of the ultrasonic surface density meter, and determining voltage data corresponding to the ultrasonic pulse signal in the historical data;

[0072] Step S202, obtaining time data corresponding to the voltage data, calculating the integral average value corresponding to the voltage data using the time data, and determining the initial value of the ultrasonic pulse signal based on the integral average value;

[0073] Step S203: Initialize the ultrasonic pulse signal using the initial value.

[0074] During the initialization process, the corresponding historical data is first obtained based on the fluid setting parameters of the ultrasonic surface density meter, and the voltage data corresponding to the ultrasonic pulse signal is obtained from the historical data; then, based on the time corresponding to the voltage data, the integral average value corresponding to the voltage data and the time data is calculated, and the obtained integral average value is used as the initial value, and the initial value is used as a constant variable for subsequent steps.

[0075] Optionally, the step S102 of obtaining the voltage value and time parameter corresponding to the ultrasonic pulse signal and determining the reference value of the ultrasonic pulse signal using the integral value corresponding to the voltage value and the time parameter is as follows: Figure 3 Shown, including:

[0076] Step S301, obtaining an analog quantity corresponding to an ultrasonic pulse signal, and performing analog-to-digital conversion on the analog quantity to determine a digital quantity corresponding to the ultrasonic pulse signal;

[0077] Step S302, determining a voltage value corresponding to the ultrasonic pulse signal according to the digital value, and determining a time value corresponding to the voltage value;

[0078] Step S303, using the time value to determine the time parameter corresponding to the ultrasonic pulse signal, and calculating the integral value according to the voltage value and the time parameter;

[0079] Step S304: determining a reference value of the ultrasonic pulse signal according to the integrated value.

[0080] In the process of obtaining a reference value for an ultrasonic pulse signal, the ultrasonic pulse signal can be sampled using an ADC to obtain an analog quantity corresponding to the ultrasonic pulse signal. This analog quantity is then converted to a digital quantity to determine the digital quantity corresponding to the ultrasonic pulse signal. Furthermore, a discrete voltage value corresponding to the ultrasonic pulse signal is determined based on the digital quantity, and a time value corresponding to the voltage value is determined. The time value is then used to determine the time parameter corresponding to the ultrasonic pulse signal. The integrated value of the voltage value and the time parameter is calculated in real time using the MCU processing unit associated with the ultrasonic surface density meter. The integrated value thus calculated in real time is then used to determine the reference value for the ultrasonic pulse signal.

[0081] Optionally, an adjustment strategy for the ultrasonic pulse signal is determined based on the reference value, such as Figure 4 Shown, including:

[0082] Step S401, calculating the difference between the reference value and the initial value;

[0083] Step S402: If the difference exceeds a preset threshold, a duty cycle adjustment value of the ultrasonic pulse signal is determined according to the difference, and an adjustment strategy of the ultrasonic pulse signal is determined using the duty cycle adjustment value.

[0084] The process of determining the adjustment strategy is obtained by the difference between the reference value and the initial value. If the difference between the two exceeds the threshold, the specific size of the difference is used to determine the duty cycle adjustment value of the ultrasonic pulse signal, and then the duty cycle adjustment value is used to determine the final adjustment strategy. Under this adjustment strategy, it can be ensured that the difference between the reference value and the initial value is reduced.

[0085] Optionally, if the difference does not exceed a preset threshold, the areal density measurement method further includes: using the current reference value to obtain a current output voltage corresponding to the ultrasonic pulse signal, and controlling the ultrasonic areal density meter to stably measure the coating areal density based on the current output voltage. In this case, the areal density measurement method may skip subsequent steps and instead directly use the current reference value to obtain a current output voltage corresponding to the ultrasonic pulse signal, and control the ultrasonic areal density meter to stably measure the coating areal density based on the current output voltage.

[0086] Optionally, after adjusting the duty cycle of the ultrasonic pulse signal using an adjustment strategy, an updated reference value is obtained, such as Figure 5 Shown, including:

[0087] Step S501, obtaining a pulse width modulation parameter of an ultrasonic pulse signal, and determining a duty cycle of the ultrasonic pulse signal according to the pulse width modulation parameter;

[0088] Step S502, determining a PID control strategy corresponding to a pulse width modulation parameter using an adjustment strategy, and determining a negative feedback parameter corresponding to an ultrasonic pulse signal using the PID control strategy;

[0089] Step S503 , after updating the ultrasonic pulse signal using the negative feedback parameter, the voltage value and time parameter of the updated ultrasonic pulse signal are obtained, and the updated reference value of the ultrasonic pulse signal is determined using the integral value corresponding to the voltage value and the time parameter.

[0090] During the reference value update process, the PWM duty cycle of the ultrasonic pulse signal can be adjusted using the pulse width modulation parameters of the ultrasonic pulse signal, and the pulse width modulation parameters are then used to determine the duty cycle of the ultrasonic pulse signal. The acquired adjustment strategy is then used to determine the PID control strategy corresponding to the pulse width modulation parameters. This PID control strategy corresponds to a specific PID control algorithm, and the PID control algorithm is used to determine the negative feedback parameters corresponding to the ultrasonic pulse signal, thereby dynamically adjusting the ultrasonic pulse signal.

[0091] After dynamically adjusting the ultrasonic pulse signal, the voltage value and time parameter of the updated ultrasonic pulse signal are obtained, and the updated reference value of the ultrasonic pulse signal is determined using the integral value corresponding to the voltage value and the time parameter.

[0092] Optionally, the updated reference value is used to obtain the output voltage corresponding to the ultrasonic pulse signal, and the ultrasonic surface density meter is controlled based on the output voltage to stably measure the coating surface density in step S104, such as Figure 6 Shown, including:

[0093] Step S601, determining steady-state parameters of the ultrasonic pulse signal according to the updated reference value, and determining working state parameters of the ultrasonic surface density meter using the steady-state parameters;

[0094] Step S602, when it is determined based on the working state parameters that the ultrasonic surface density meter is in steady-state operation, obtaining the output voltage corresponding to the current ultrasonic pulse signal;

[0095] Step S603: Control the ultrasonic surface density meter to stably measure the coating surface density using the output voltage.

[0096] When measuring the coating area density using an updated ultrasonic pulse signal, the operating state of the ultrasonic densitometer needs to be considered. First, the steady-state parameters of the ultrasonic pulse signal are determined based on the updated reference value. The obtained steady-state parameters are then used to determine the operating state parameters of the ultrasonic densitometer. These operating state parameters are used to characterize the operating state of the ultrasonic densitometer. When the ultrasonic densitometer is in steady-state operation, the operating state parameters can be directly obtained. Therefore, after determining that the ultrasonic densitometer is in steady-state operation, the output voltage corresponding to the current ultrasonic pulse signal is obtained. Then, based on this output voltage, the ultrasonic densitometer is controlled to perform stable measurement of the coating area density.

[0097] Optionally, after step S101 of initializing the ultrasonic pulse signal based on the fluid setting parameters of the ultrasonic surface density meter, the method is as follows Figure 7 As shown, it also includes:

[0098] Step S701, obtaining a filtering strategy corresponding to an ultrasonic pulse signal;

[0099] Step S702: Filter and de-noise the ultrasonic pulse signal using a filtering strategy, and update the obtained filtering and de-noising result into the ultrasonic pulse signal.

[0100] In real-world scenarios, initializing an ultrasonic pulse signal requires data cleaning to extract useful information. Specifically, a filtering strategy corresponding to the ultrasonic pulse signal is first obtained. This filtering strategy is then used to filter and reduce noise on the ultrasonic pulse signal. The resulting filtering and noise reduction results are then applied to the ultrasonic pulse signal, removing noise and extracting useful information.

[0101] like Figure 8 The control logic diagram shown in Figure 8 The ADC module is used to collect the transmitter voltage signal; the MCU module is configured to perform the integral calculation and PID control logic; and the PWM module is used to adjust the duty cycle according to the MCU output to change the transmitter output voltage.

[0102] First, an initially set voltage-time integral value of the transmitting pulse signal is obtained. The integral value is the average value of the voltage-time integral value of the transmitting pulse signal in the historical time period. The integral value is used as a given variable, that is, the initial value in the above embodiment.

[0103] The ADC samples the voltage of the transmitted pulse signal to obtain a discrete voltage value. After calculation by the MCU, the voltage-time integral value of the transmitted pulse signal in the current time period is obtained. The integral value is used as the actual variable, that is, the reference value in the above embodiment.

[0104] Comparing the given variable with the actual variable, if the difference between the two exceeds the allowable range, the PID control algorithm dynamically adjusts the PWM duty cycle, thereby adjusting the voltage of the transmitted pulse signal, thereby narrowing the gap between the actual variable and the given variable. Specifically, a negative feedback process can be used to dynamically adjust the PWM duty cycle based on the difference between the given variable and the actual variable. Repeat these steps until the ultrasonic density meter enters steady-state operating mode. Based on the output voltage, the ultrasonic density meter is controlled to stably measure the coating surface density.

[0105] From the ultrasonic-based surface density measurement method mentioned in the above embodiment, it can be seen that this method monitors the integral value of the voltage and time of the ultrasonic pulse signal in real time as the reference value of the ultrasonic pulse signal, and then uses the adjustment strategy determined by the reference value to adjust the duty cycle of the ultrasonic pulse signal, thereby realizing the use of the integral value to adjust the output voltage of the ultrasonic pulse signal, realizing the stable output of the ultrasonic pulse signal, and can effectively suppress data drift errors caused by external factors.

[0106] Corresponding to the ultrasonic surface density measurement method provided in the above embodiment, an embodiment of the present invention provides an ultrasonic surface density measurement system, which is applied to an ultrasonic surface density meter; the ultrasonic surface density meter stably measures the coating surface density based on ultrasonic pulse signals;Figure 9 As shown, the system includes:

[0107] Initialization module 910, for initializing ultrasonic pulse signals based on fluid setting parameters of the ultrasonic areal densitometer;

[0108] An acquisition module 920 is configured to acquire a voltage value and a time parameter corresponding to the ultrasonic pulse signal, and determine a reference value of the ultrasonic pulse signal using an integral value corresponding to the voltage value and the time parameter;

[0109] An updating module 930 is configured to determine an adjustment strategy for the ultrasonic pulse signal according to the reference value, and to adjust the duty cycle of the ultrasonic pulse signal using the adjustment strategy to obtain an updated reference value;

[0110] The measurement module 940 is used to obtain the output voltage corresponding to the ultrasonic pulse signal using the updated reference value, and control the ultrasonic surface density meter to stably measure the coating surface density based on the output voltage.

[0111] From the ultrasonic-based surface density measurement system mentioned in the above embodiment, it can be seen that the system can use the integral value of the voltage and time of the ultrasonic pulse signal as the reference value of the ultrasonic pulse signal in real time, and then use the adjustment strategy determined by the reference value to adjust the duty cycle of the ultrasonic pulse signal, thereby realizing the use of the integral value to adjust the output voltage of the ultrasonic pulse signal, realizing the stable output of the ultrasonic pulse signal, and being able to effectively suppress data drift errors caused by external factors.

[0112] The ultrasonic-based surface density measurement system provided in the embodiment of the present invention has the same implementation principle and technical effects as the aforementioned ultrasonic-based surface density measurement method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference can be made to the corresponding content in the aforementioned ultrasonic-based surface density measurement method embodiment.

[0113] This embodiment also provides an electronic device. The structural diagram of the electronic device is as follows: Figure 10 As shown, the device includes a processor 101 and a memory 102; wherein the memory 102 is used to store one or more computer instructions, and the one or more computer instructions are executed by the processor to implement the steps of the above-mentioned ultrasonic-based area density measurement method.

[0114] Figure 10 The electronic device shown further includes a bus 103 and a communication interface 104 , and the processor 101 , the communication interface 104 and the memory 102 are connected via the bus 103 .

[0115] The memory 102 may include a high-speed random access memory (RAM) and may also include a non-volatile memory, such as at least one disk storage. The bus 103 may be an ISA bus, a PCI bus, or an EISA bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 10 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or one type of bus.

[0116] The communication interface 104 is used to connect to at least one user terminal and other network units through a network interface, and send the encapsulated IPv4 message or IPv4 message to the user terminal through the network interface.

[0117] The processor 101 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by an integrated logic circuit of hardware in the processor 101 or by instructions in the form of software. The above-mentioned processor 101 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The various methods, steps, and logic block diagrams disclosed in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in memory 102, and processor 101 reads information in memory 102 and, in conjunction with its hardware, completes the steps of the method of the aforementioned embodiment.

[0118] An embodiment of the present invention further provides a storage medium storing a computer program. When the computer program is executed by a processor, the steps of the ultrasonic-based area density measurement method in the aforementioned embodiment are executed.

[0119] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interface, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0120] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0121] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0122] If the functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include various media capable of storing program code, such as USB flash drives, mobile hard drives, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.

[0123] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the above-described embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above-described embodiments within the technical scope disclosed by the present invention, or replace some of the technical features therein with equivalents. Such modifications, changes, or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.

Claims

1. A method for measuring surface density based on ultrasound, characterized in that: The method is applied to an ultrasonic surface density meter; the ultrasonic surface density meter stably measures the coating surface density based on an ultrasonic pulse signal; the method comprises: Initializing the ultrasonic pulse signal based on the fluid setting parameters of the ultrasonic areal density meter; Acquire a voltage value and a time parameter corresponding to the ultrasonic pulse signal, and determine a reference value of the ultrasonic pulse signal using an integral value corresponding to the voltage value and the time parameter; determining an adjustment strategy for the ultrasonic pulse signal according to the reference value, and adjusting the duty cycle of the ultrasonic pulse signal using the adjustment strategy to obtain the updated reference value; Obtaining an output voltage corresponding to the ultrasonic pulse signal using the updated reference value, and controlling the ultrasonic surface density meter to stably measure the coating surface density based on the output voltage; Initializing the ultrasonic pulse signal based on the fluid setting parameters of the ultrasonic surface density meter includes: Acquiring historical data corresponding to the ultrasonic surface density meter based on fluid setting parameters of the ultrasonic surface density meter, and determining voltage data corresponding to the ultrasonic pulse signal in the historical data; Acquiring time data corresponding to the voltage data, calculating an integral average value corresponding to the voltage data using the time data, and determining an initial value of the ultrasonic pulse signal according to the integral average value; Initializing the ultrasonic pulse signal using the initial value; Determining an adjustment strategy for the ultrasonic pulse signal according to the reference value includes: calculating a difference between the reference value and the initial value; If the difference exceeds a preset threshold, determining a duty cycle adjustment value of the ultrasonic pulse signal according to the difference, and determining the adjustment strategy of the ultrasonic pulse signal using the duty cycle adjustment value; After adjusting the duty cycle of the ultrasonic pulse signal using the adjustment strategy, obtaining the updated reference value includes: Acquiring a pulse width modulation parameter of the ultrasonic pulse signal, and determining the duty cycle of the ultrasonic pulse signal according to the pulse width modulation parameter; Determine a PID control strategy corresponding to the pulse width modulation parameter using the adjustment strategy, and determine a negative feedback parameter corresponding to the ultrasonic pulse signal using the PID control strategy; After the negative feedback parameter is used to update the ultrasonic pulse signal, the voltage value and time parameter of the updated ultrasonic pulse signal are obtained, and the reference value of the updated ultrasonic pulse signal is determined using the integral value corresponding to the voltage value and the time parameter.

2. The method for measuring surface density based on ultrasound according to claim 1, wherein: Acquiring a voltage value and a time parameter corresponding to the ultrasonic pulse signal, and determining a reference value of the ultrasonic pulse signal using an integral value corresponding to the voltage value and the time parameter, including: Acquiring an analog quantity corresponding to the ultrasonic pulse signal, and performing analog-to-digital conversion on the analog quantity to determine a digital quantity corresponding to the ultrasonic pulse signal; Determine the voltage value corresponding to the ultrasonic pulse signal according to the digital quantity, and determine the time value corresponding to the voltage value; Determine the time parameter corresponding to the ultrasonic pulse signal using the time value, and calculate the integral value according to the voltage value and the time parameter; The reference value of the ultrasonic pulse signal is determined according to the integrated value.

3. The method for measuring surface density based on ultrasound according to claim 1, wherein: If the difference does not exceed the preset threshold, the method further includes: The current reference value is used to obtain the current output voltage corresponding to the ultrasonic pulse signal, and the ultrasonic surface density meter is controlled based on the current output voltage to perform stable measurement of the coating surface density.

4. The method for measuring surface density based on ultrasound according to claim 1, wherein: The method comprises: obtaining an output voltage corresponding to the ultrasonic pulse signal by using the updated reference value, and controlling the ultrasonic surface density meter to stably measure the coating surface density based on the output voltage, comprising: Determining steady-state parameters of the ultrasonic pulse signal according to the updated reference value, and determining working state parameters of the ultrasonic surface density meter using the steady-state parameters; When it is determined based on the working state parameter that the ultrasonic surface density meter is in steady-state operation, obtaining the output voltage corresponding to the current ultrasonic pulse signal; The ultrasonic surface density meter is controlled to stably measure the coating surface density using the output voltage.

5. The method for measuring surface density based on ultrasound according to claim 1, wherein: After initializing the ultrasonic pulse signal based on the fluid setting parameters of the ultrasonic surface density meter, the method further includes: Obtaining a filtering strategy corresponding to the ultrasonic pulse signal; The ultrasonic pulse signal is filtered and denoised using the filtering strategy, and the obtained filtering and denoising result is updated to the ultrasonic pulse signal.

6. An ultrasonic-based areal density measurement system, characterized in that: The system is applied to an ultrasonic surface density meter; the ultrasonic surface density meter stably measures the coating surface density based on ultrasonic pulse signals; the system comprises: an initialization module, configured to initialize the ultrasonic pulse signal based on fluid setting parameters of the ultrasonic areal densitometer; an acquisition module, configured to acquire a voltage value and a time parameter corresponding to the ultrasonic pulse signal, and determine a reference value of the ultrasonic pulse signal using an integral value corresponding to the voltage value and the time parameter; an updating module, configured to determine an adjustment strategy for the ultrasonic pulse signal according to the reference value, and obtain the updated reference value after adjusting the duty cycle of the ultrasonic pulse signal using the adjustment strategy; a measuring module, configured to obtain an output voltage corresponding to the ultrasonic pulse signal using the updated reference value, and control the ultrasonic surface density meter to stably measure the coating surface density based on the output voltage; The initialization module is further configured to: obtain historical data corresponding to the ultrasonic surface density meter based on fluid setting parameters of the ultrasonic surface density meter, and determine voltage data corresponding to the ultrasonic pulse signal in the historical data; obtain time data corresponding to the voltage data, calculate an integral average value corresponding to the voltage data using the time data, and determine an initial value of the ultrasonic pulse signal based on the integral average value; and initialize the ultrasonic pulse signal using the initial value; In the process of determining the adjustment strategy of the ultrasonic pulse signal according to the reference value, the update module is further configured to: calculate a difference between the reference value and the initial value; if the difference exceeds a preset threshold, determine a duty cycle adjustment value of the ultrasonic pulse signal according to the difference, and determine the adjustment strategy of the ultrasonic pulse signal using the duty cycle adjustment value; In the process of obtaining the updated reference value after adjusting the duty cycle of the ultrasonic pulse signal using the adjustment strategy, the update module is also used to: obtain the pulse width modulation parameters of the ultrasonic pulse signal, and determine the duty cycle of the ultrasonic pulse signal based on the pulse width modulation parameters; determine the PID control strategy corresponding to the pulse width modulation parameters using the adjustment strategy, and determine the negative feedback parameters corresponding to the ultrasonic pulse signal using the PID control strategy; after updating the ultrasonic pulse signal using the negative feedback parameters, obtain the updated voltage value and time parameter of the ultrasonic pulse signal, and determine the updated reference value of the ultrasonic pulse signal using the integral value corresponding to the voltage value and the time parameter.

7. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the steps of the ultrasonic-based area density measurement method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Calibration and verification system and method for noise monitoring device

    CN118225229A

  • Drive circuit of ultrasonic motor

    JP1995107760A