Surface density measurement method and system based on ultrasonic waves and electronic equipment
By monitoring the integral value of the ultrasonic pulse signal in real time as a reference value and adjusting its duty cycle, the problem of measurement value drift of the ultrasonic surface density meter is solved, and the stability of the signal output and measurement accuracy are improved.
Patent Information
- Application Number
- CN202411920054.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-12-25
AI Technical Summary
The existing ultrasonic surface density meter is susceptible to environmental changes and equipment aging during long-term operation, resulting in drifting of the coating surface density measurement value, and the existing adjustment method is not ideal.
Through real -time monitoring of the voltage and time points of the ultrasonic pulse signal as the reference value, determine the adjustment strategy and adjust the duty cycle of the pulse signal to achieve stable adjustment of the output voltage and suppress the data drift error.
It achieves stable output of ultrasonic pulse signals, effectively suppresses data drift errors caused by external factors, and improves measurement accuracy.
Smart Images

Figure CN119354804A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of signal processing, and in particular to an ultrasonic-based surface density measurement method, system and electronic equipment. Background Art
[0002] For equipment that uses ultrasonic air-coupled measurement technology, such as ultrasonic surface densitometers, accurate measurement of the coating surface density in the equipment is crucial to the overall production process. Such equipment will be affected by environmental changes and equipment aging during long-term operation, resulting in drift in the measured value of the coating surface density. In the prior art, the ultrasonic pulse signal emitted by the equipment is collected and the corresponding voltage value is obtained for adjustment, but the effect of such adjustment is not ideal. Summary of the invention
[0003] In view of this, the purpose of the present invention is to provide a surface density measurement method, system and electronic device based on ultrasound. 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: Initialize the ultrasonic pulse signal based on the fluid setting parameters of the ultrasonic surface density meter; 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; 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; 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.
[0005] Optionally, the ultrasonic pulse signal is initialized based on the fluid setting parameters of the ultrasonic surface density meter, including: Acquire historical data corresponding to the ultrasonic surface density meter based on the fluid setting parameters of the ultrasonic surface density meter, and determine voltage data corresponding to the ultrasonic pulse signal in the historical data; Acquire time data corresponding to the voltage data, calculate the integral average value corresponding to the voltage data using the time data, and determine the initial value of the ultrasonic pulse signal according to the integral average value; Initialize the ultrasonic pulse signal using the initial value.
[0006] 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: Obtaining an analog quantity corresponding to the ultrasonic pulse signal, and determining a digital quantity corresponding to the ultrasonic pulse signal after performing analog-to-digital conversion on the analog quantity; 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; The time value is used to determine the time parameter corresponding to the ultrasonic pulse signal, and the integral value is calculated according to the voltage value and the time parameter; The reference value of the ultrasonic pulse signal is determined according to the integrated value.
[0007] Optionally, determining an adjustment strategy for the ultrasonic pulse signal according to the reference value includes: Calculate the difference between the reference value and the initial value; 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.
[0008] Optionally, if the difference does not exceed a 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.
[0009] Optionally, after adjusting the duty cycle of the ultrasonic pulse signal using an adjustment strategy, an updated reference value is obtained, including: Acquire a pulse width modulation parameter of the ultrasonic pulse signal, and determine a duty cycle of the ultrasonic pulse signal according to the pulse width modulation parameter; 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; After the ultrasonic pulse signal is updated by using the negative feedback parameter, the voltage value and time parameter of the updated ultrasonic pulse signal are obtained, and the reference value of the ultrasonic pulse signal after the update is determined by using the integral value corresponding to the voltage value and the time parameter.
[0010] Optionally, the updated reference value is used to obtain an output voltage corresponding to the ultrasonic pulse signal, and based on the output voltage, an ultrasonic surface density meter is controlled to stably measure the coating surface density, including: Determine the steady-state parameters of the ultrasonic pulse signal according to the updated reference value, and determine the working state parameters of the ultrasonic surface density meter using the steady-state parameters; 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; The ultrasonic surface density meter is controlled to use the output voltage to stably measure the coating surface density.
[0011] Optionally, after initializing the ultrasonic pulse signal based on the fluid setting parameters of the ultrasonic surface density meter, the method further includes: Obtain the filtering strategy corresponding to the ultrasonic pulse signal; 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.
[0012] 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: An initialization module, used for initializing an ultrasonic pulse signal based on fluid setting parameters of an ultrasonic surface density meter; An acquisition module is used 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, used to determine an adjustment strategy for the ultrasonic pulse signal according to the reference value, and to obtain an updated reference value after adjusting the duty cycle of the ultrasonic pulse signal using the adjustment strategy; 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.
[0013] In a third aspect, an embodiment of the present invention further provides an electronic device, including 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.
[0014] 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.
[0015] The embodiment of the present invention provides an ultrasonic surface density measurement method, system and electronic device. In the process of stably measuring the coating surface density in the ultrasonic surface density meter and other equipment, the ultrasonic pulse signal is first initialized based on the fluid setting parameters of the ultrasonic surface density meter; then the voltage value and time parameter corresponding to the ultrasonic pulse signal are obtained, and the reference value of the ultrasonic pulse signal is determined by the integral value corresponding to the voltage value and the time parameter; then the adjustment strategy of the ultrasonic pulse signal is determined according to the reference value, and the duty cycle of the ultrasonic pulse signal is adjusted by the adjustment strategy, and the updated reference value is obtained; finally, the output voltage corresponding to the ultrasonic pulse signal is obtained by using the updated reference value, and the ultrasonic surface density meter is controlled to stably measure the coating surface density based on the output voltage. 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 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 effectively suppressing the data drift error caused by external factors.
[0016] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0017] 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
[0018] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 A flow chart of a method for measuring surface density based on ultrasound provided in an embodiment of the present invention; Figure 2 A flowchart of step S101 in a method for measuring surface density based on ultrasound provided in an embodiment of the present invention; Figure 3 A flowchart of step S102 in a method for measuring surface density based on ultrasound provided in an embodiment of the present invention; Figure 4A flow chart of determining an adjustment strategy for an ultrasonic pulse signal according to a reference value in an ultrasonic surface density measurement method provided in an embodiment of the present invention; Figure 5 A flow chart of obtaining an updated reference value after adjusting the duty cycle of an ultrasonic pulse signal using an adjustment strategy in an ultrasonic surface density measurement method provided in an embodiment of the present invention; Figure 6 A flowchart of step S104 in a method for measuring surface density based on ultrasound provided in an embodiment of the present invention; Figure 7 A flowchart after step S101 in a method for measuring surface density based on ultrasound provided in an embodiment of the present invention; Figure 8 A control logic diagram of an ultrasonic surface density measurement method provided in an embodiment of the present invention; Fig. 9 A schematic diagram of an ultrasonic surface density measurement system provided in an embodiment of the present invention; Fig.10 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.
[0020] icon: 910-initialization module; 920-acquisition module; 930-update module; 940-measurement module; 101 - processor; 102 - memory; 103 - bus; 104 - communication interface. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described in combination with the embodiments below. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0022] For equipment such as ultrasonic surface density meters that use ultrasonic air-coupled measurement technology, accurate measurement of the coating surface density in the equipment is crucial to the overall production process. Such equipment will be affected by environmental changes and equipment aging during long-term operation, causing the measured value of the coating surface density to drift. For example, air disturbances, changes in temperature and humidity, equipment heating, fluctuations in the transducer frequency of the ultrasonic surface density meter, and fluctuations in the operation of the signal generator will all cause data drift, thereby affecting the measurement accuracy.
[0023] In the prior art, the ultrasonic pulse signal emitted by the device is collected and the corresponding voltage value is obtained for adjustment, but the effect of such adjustment is not ideal. Based on this, the present invention provides an ultrasonic-based surface density measurement method, system and electronic device, which uses the integral value of the voltage and time of the ultrasonic pulse signal as a reference value of the ultrasonic pulse signal by real-time monitoring, 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, achieving the stable output of the ultrasonic pulse signal, and effectively suppressing the data drift error caused by external factors.
[0024] To facilitate understanding of this embodiment, firstly, 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, this method is as follows: Figure 1 As shown, including: Step S101, initializing an ultrasonic pulse signal based on fluid setting parameters of an ultrasonic surface density meter; 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; 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 to obtain an updated reference value; Step S104, using the updated reference value to obtain the output voltage corresponding to the ultrasonic pulse signal, and based on the output voltage, controlling the ultrasonic surface density meter to stably measure the coating surface density.
[0025] 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 achieved using parameters such as fluid parameters, ultrasonic parameters, and time parameters.
[0026] After the ultrasonic pulse signal is initialized, the ultrasonic surface density meter starts to operate, and the voltage value and time parameters corresponding to the ultrasonic pulse signal are obtained in real time, and the reference value of the ultrasonic pulse signal is obtained by integrating the voltage value and time parameters, which is used as the parameter of feedback adjustment. Specifically, the adjustment strategy of the ultrasonic pulse signal is determined according to the reference value, and after the duty cycle of the ultrasonic pulse signal is adjusted by the adjustment strategy, the updated reference value is obtained, and the reference value is compared with the relevant threshold value.
[0027] 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.
[0028] 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.
[0029] Optionally, step S101 of initializing the ultrasonic pulse signal based on the fluid setting parameters of the ultrasonic surface density meter, such as Figure 2 As shown, including: 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; 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 according to the integral average value; Step S203, initializing the ultrasonic pulse signal using the initial value.
[0030] During the initialization process, first, the corresponding historical data is 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, according to 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 in subsequent steps.
[0031] Optionally, a step S102 of 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 is performed, such as Figure 3 As shown, including: Step S301, 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; Step S302, determining a voltage value corresponding to the ultrasonic pulse signal according to the digital quantity, and determining a time value corresponding to the voltage value; 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; Step S304: determining a reference value of the ultrasonic pulse signal according to the integral value.
[0032] In the process of obtaining the reference value of the ultrasonic pulse signal, the analog quantity corresponding to the ultrasonic pulse signal can be obtained by performing ADC sampling on the ultrasonic pulse signal, and the digital quantity corresponding to the ultrasonic pulse signal can be determined after performing analog-to-digital conversion on the analog quantity; then the discrete voltage value corresponding to the ultrasonic pulse signal can be determined according to the digital quantity, and the time value corresponding to the voltage value can be determined. Then, the time parameter corresponding to the ultrasonic pulse signal can be determined using the time value, and the integral value of the voltage value and the time parameter can be calculated in real time using the relevant MCU processing unit of the ultrasonic surface density meter, so as to determine the reference value of the ultrasonic pulse signal using the integral value calculated in real time.
[0033] Optionally, an adjustment strategy for the ultrasonic pulse signal is determined based on the reference value, such as Figure 4 As shown, including: Step S401, calculating the difference between the reference value and the initial value; 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.
[0034] 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, which can ensure that the difference between the reference value and the initial value is reduced.
[0035] Optionally, if the difference does not exceed the preset threshold, the surface density measurement method further includes: using the current reference value to obtain the current 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 current output voltage. At this time, the surface density measurement method may no longer perform subsequent steps, but directly use the current reference value to obtain the current output voltage corresponding to the ultrasonic pulse signal, and control the ultrasonic surface density meter to stably measure the coating surface density based on the current output voltage.
[0036] 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 As shown, including: Step S501, acquiring 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; Step S502, using the adjustment strategy to determine the PID control strategy corresponding to the pulse width modulation parameter, and using the PID control strategy to determine the negative feedback parameter corresponding to the ultrasonic pulse signal; 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 reference value of the ultrasonic pulse signal after the update is determined using the integral value corresponding to the voltage value and the time parameter.
[0037] In the process of updating the reference value, the PWM duty cycle of the ultrasonic pulse signal can be adjusted by the pulse width modulation parameter of the ultrasonic pulse signal, and then the duty cycle of the ultrasonic pulse signal is determined by the pulse width modulation parameter. Then, the PID control strategy corresponding to the pulse width modulation parameter is determined by using the obtained adjustment strategy, and the PID control strategy corresponds to a specific PID control algorithm. The negative feedback parameter corresponding to the ultrasonic pulse signal is determined by using the PID control algorithm, so as to dynamically adjust the ultrasonic pulse signal.
[0038] 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.
[0039] 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 As shown, including: 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; Step S602, 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; Step S603, controlling the ultrasonic surface density meter to stably measure the coating surface density using the output voltage.
[0040] When using the updated ultrasonic pulse signal to measure the coating surface density, it is necessary to consider the working state of the ultrasonic surface density meter. First, the steady-state parameters of the ultrasonic pulse signal are determined according to the updated reference value, and the working state parameters of the ultrasonic surface density meter are determined using the obtained steady-state parameters. The working state parameters are used to characterize the working state of the ultrasonic surface density meter. When the ultrasonic surface density meter is in steady-state operation, it can be directly obtained through the working state parameters. Therefore, after determining that the ultrasonic surface density meter is in steady-state operation, the output voltage corresponding to the current ultrasonic pulse signal is obtained, and then the ultrasonic surface density meter is controlled based on the output voltage to perform stable measurement of the coating surface density.
[0041] 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: Step S701, obtaining a filtering strategy corresponding to an ultrasonic pulse signal; 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.
[0042] In actual scenarios, when initializing the ultrasonic pulse signal, the data needs to be cleaned to extract useful data. Specifically, first obtain the filtering strategy corresponding to the ultrasonic pulse signal, and use the filtering strategy to filter and reduce noise on the ultrasonic pulse signal. After obtaining the filtering and reducing noise result, update it to the ultrasonic pulse signal, thereby removing the noise of the ultrasonic pulse signal and extracting useful information.
[0043] 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 execute the integral calculation and PID control logic; the PWM module is used to adjust the duty cycle according to the MCU output to change the transmitter output voltage.
[0044] 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.
[0045] The ADC samples the voltage of the transmitting pulse signal to obtain a discrete voltage value, and the MCU calculates the voltage-time integral value of the transmitting pulse signal in the current time period, which is used as the actual variable, that is, the reference value in the above embodiment.
[0046] Compare the given variable with the actual variable. If the difference between the two exceeds the allowable range, the PID control algorithm is used to dynamically adjust the PWM duty cycle to adjust 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 according to the difference between the given variable and the actual variable. Repeat the above steps until the ultrasonic surface density meter enters the steady-state working mode, and then control the ultrasonic surface density meter based on the output voltage to stably measure the coating surface density.
[0047] From the ultrasonic-based surface density measurement method mentioned in the above embodiment, it can be seen that this 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 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 the data drift error caused by external factors.
[0048] Corresponding to the ultrasonic surface density measurement method provided in the above-mentioned embodiment, the 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 measures the coating surface density stably based on the ultrasonic pulse signal; Fig. 9 As shown, the system includes: An initialization module 910 is used to initialize the ultrasonic pulse signal based on the fluid setting parameters of the ultrasonic surface density meter; An acquisition module 920 is used 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 930, configured to determine an adjustment strategy for the ultrasonic pulse signal according to the reference value, and to obtain an updated reference value after adjusting the duty cycle of the ultrasonic pulse signal using the adjustment strategy; The measuring 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.
[0049] 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 by real-time monitoring, 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 can effectively suppress the data drift error caused by external factors.
[0050] The ultrasonic-based surface density measurement system provided in the embodiment of the present invention has the same implementation principle and technical effects as those in the aforementioned ultrasonic-based surface density measurement method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned ultrasonic-based surface density measurement method embodiment.
[0051] This embodiment also provides an electronic device. The structural diagram of the electronic device is as follows: Fig.10As 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 surface density measurement method.
[0052] Fig.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 .
[0053] 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, Fig.10 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0054] 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.
[0055] The processor 101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 101. The above 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 disclosed methods, steps and logic block diagrams 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 a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 102, and the processor 101 reads the information in the memory 102 and completes the steps of the method of the above embodiment in combination with its hardware.
[0056] An embodiment of the present invention further provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the ultrasonic surface density measurement method in the above-mentioned embodiment are executed.
[0057] In the several embodiments provided in the present 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 interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0058] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0059] 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.
[0060] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that can be executed by a processor. Based on this understanding, the technical solution of the present invention can essentially or in other words, the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0061] 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 protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope 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 surface 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; The updated reference value is used to obtain an output voltage corresponding to the ultrasonic pulse signal, and based on the output voltage, the ultrasonic surface density meter is controlled to stably measure the coating surface density.
2. The method for measuring surface density based on ultrasound according to claim 1, characterized in that: 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 the fluid setting parameters of the ultrasonic surface density meter, and determining voltage data corresponding to the ultrasonic pulse signal in the historical data; Acquire time data corresponding to the voltage data, calculate the integral average value corresponding to the voltage data using the time data, and determine the initial value of the ultrasonic pulse signal according to the integral average value; The ultrasonic pulse signal is initialized using the initial value.
3. The method for measuring surface density based on ultrasound according to claim 1, characterized in that: 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: Acquire an analog quantity corresponding to the ultrasonic pulse signal, and determine a digital quantity corresponding to the ultrasonic pulse signal after performing analog-to-digital conversion on the analog quantity; 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.
4. The method for measuring surface density based on ultrasound according to claim 2, characterized in that: 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, a duty cycle adjustment value of the ultrasonic pulse signal is determined according to the difference, and the adjustment strategy of the ultrasonic pulse signal is determined using the duty cycle adjustment value.
5. The method for measuring surface density based on ultrasound according to claim 4, characterized in that: 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 stably measure the coating surface density.
6. The method for measuring surface density based on ultrasound according to claim 1, characterized in that: After adjusting the duty cycle of the ultrasonic pulse signal by 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 ultrasonic pulse signal is updated by using the negative feedback parameter, the voltage value and time parameter of the updated ultrasonic pulse signal are obtained, and the reference value of the ultrasonic pulse signal after the update is determined by using the integral value corresponding to the voltage value and the time parameter.
7. The method for measuring surface density based on ultrasound according to claim 1, characterized in that: 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: Determine the steady-state parameters of the ultrasonic pulse signal according to the updated reference value, and determine the 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 utilize the output voltage to stably measure the coating surface density.
8. The method for measuring surface density based on ultrasound according to claim 1, characterized in that: 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.
9. An ultrasonic surface 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, used for initializing the ultrasonic pulse signal based on the fluid setting parameters of the ultrasonic surface density meter; An acquisition module, used for 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; 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; The measuring module is used to obtain the output voltage corresponding to the ultrasonic pulse signal by using the updated reference value, and control the ultrasonic surface density meter to stably measure the coating surface density based on the output voltage.
10. 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 surface density measurement method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Feedback regulation charging circuit and electronic equipment
CN115693873A
Power device packaging insulation aging test method based on current and voltage integral monitoring
CN117572176A
Calibration and verification system and method for noise monitoring device
CN118225229A
Microwave carbonmeter
CN86102183A
Drive circuit of ultrasonic motor
JP1995107760A
Cited By
Ultrasonic surface density measuring method, system and equipment
CN120121465A
Error compensation method and device for ultrasonic surface density measurement and measurement equipment
CN121007805A
Error compensation method, apparatus and measuring equipment for ultrasonic areal density measurement
CN121007805B