Rapid tracking device for resonant frequency of ultrasonic transducer and ultrasonic driving system
Through the combination of the sampling module and the processor, the signal of the ultrasonic transducer is preprocessed and calculated, which solves the problem of insufficient resonant frequency tracking speed and accuracy in the prior art, and achieves more efficient frequency tracking and output signal stability.
Patent Information
- Application Number
- CN202510007563.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-02
- Publication Date
- 2025-04-11
AI Technical Summary
The prior art lacks speed and accuracy when tracking the resonant frequency of ultrasonic transducers, and cannot meet the needs of high-performance equipment such as wire bonding machines.
Using a combination of a sampling module, a first processor and a second processor, the ultrasonic output is controlled by preprocessing and calculating the voltage signal and current signal of the ultrasonic transducer, the first amplitude value of the voltage signal, the second amplitude value of the current signal, and the phase difference between the voltage signal and the current signal.
It improves the tracking speed and accuracy of the resonant frequency, can complete the tracking of the resonant frequency in a shorter time, meets the needs of high-performance equipment, and effectively reduces noise interference and improves the stability of the output signal.
Smart Images

Figure CN119793855A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of signal processing, and in particular relates to a rapid tracking device for the resonant frequency of an ultrasonic transducer and an ultrasonic driving system. Background Art
[0002] Ultrasonic generator is a commonly used device, and its core function is to emit ultrasonic waves of a specific frequency through a transducer. In order to ensure the output quality of ultrasonic waves, it is necessary to track the resonant frequency of the transducer in real time to ensure the stability of the output power and frequency of the ultrasonic waves. At the same time, in high-performance equipment such as wire bonding machines, the tracking speed and accuracy of the ultrasonic generator are required to be high.
[0003] There are two existing technical solutions. The first is to rectify and filter the transducer feedback signal through the circuit, and then send the effective value of the signal to the MCU through the AD. The MCU tracks the transducer resonant frequency through the maximum current method. The second is to use the zero-crossing detection circuit, and the FPGA compares the zero-crossing time difference of the feedback signal to find and track the transducer resonant frequency.
[0004] There are some problems with the existing technical solutions. First, the DC signal coming out of the rectifier and filter circuit on the circuit is delayed, and there is interference from other frequency noises, resulting in inaccurate resonant frequency. Secondly, through the zero-crossing circuit detection, when there is noise interference in the signal, especially when the signal fluctuates at the zero-crossing point, it will affect the judgment of the software, resulting in inaccurate resonant frequency. In addition, the existing technical solutions cannot meet the requirements of high-performance equipment such as wire welding machines in terms of tracking speed and accuracy. Therefore, a new technical solution is needed to optimize the speed and accuracy of the ultrasonic generator tracking the resonant frequency of the transducer. Summary of the invention
[0005] The present invention aims to solve the defects in the above-mentioned prior art and provide a fast tracking device and an ultrasonic driving system of the resonant frequency of an ultrasonic transducer which can improve the tracking speed and accuracy.
[0006] A first aspect of the present invention provides a device for quickly tracking the resonant frequency of an ultrasonic transducer, comprising a sampling module, a first processor, and a second processor. The sampling module is configured to sample a voltage signal and a current signal of the ultrasonic transducer. The first processor comprises a first preprocessing module, which is configured to preprocess the voltage signal and the current signal and output a preprocessed signal. The second processor comprises a calculation module, which is configured to calculate a first amplitude of the voltage signal, a second amplitude of the current signal, and a phase difference between the voltage signal and the current signal based on the preprocessed signal, and control the ultrasonic output of the ultrasonic transducer based on the first amplitude, the second amplitude, and the phase difference.
[0007] In the first aspect of the present invention, the tracking of the resonant frequency is completed by the cooperation of the first processor and the second processor. This data processing method can obtain the complete ultrasonic output signal of the ultrasonic transducer in a short time, thereby speeding up the tracking speed of the resonant frequency. Compared with the prior art, the data processing method of the present invention is more efficient and can complete the tracking of the resonant frequency in a shorter time, thereby meeting the needs of high-performance equipment; in addition, the signal processing method of the present invention of first preprocessing and then further calculating can effectively reduce noise interference and improve the tracking accuracy of the ultrasonic output signal of the ultrasonic transducer. Compared with the method of detecting through a rectifier filter circuit or a zero-crossing circuit in the prior art, the sampling method of the present invention is more accurate and can better eliminate noise interference, thereby improving the accuracy of the resonant frequency.
[0008] In the fast tracking device for the resonant frequency of an ultrasonic transducer involved in the first aspect of the present invention, optionally, the second processor includes a second preprocessing module, the preprocessed signal is non-full-cycle data about the voltage signal and the current signal, the second preprocessing module is configured to process the non-full-cycle data into full-cycle data, and the calculation module is configured to calculate the first amplitude, the second amplitude, and the phase difference based on the full-cycle data.
[0009] In the rapid tracking device for the resonant frequency of an ultrasonic transducer involved in the first aspect of the present invention, optionally, the calculation module includes a first calculation module and a second calculation module, the first calculation module is configured to calculate a first output value based on the first amplitude and the second amplitude, and control the amplifier to control the ultrasonic output of the ultrasonic transducer based on the first output value; the second calculation module is configured to calculate a second output value based on the phase difference, and output the second output value to the first processor, and the first processor controls the ultrasonic output of the ultrasonic transducer based on the second output value.
[0010] In the device for fast tracking the resonant frequency of an ultrasonic transducer involved in the first aspect of the present invention, optionally, the second processor is also configured to determine the initial frequencies of the voltage signal and the current signal, and the first processor controls the sampling module to perform high-speed sampling based on the initial frequencies.
[0011] In the device for fast tracking the resonant frequency of an ultrasonic transducer involved in the first aspect of the present invention, optionally, it also includes a waveform generator and a converter, and the first processor outputs the waveform generating signal to the ultrasonic transducer after the waveform generator converts the waveform signal through the converter.
[0012] In the fast tracking device for the resonant frequency of an ultrasonic transducer involved in the first aspect of the present invention, optionally, the calculation module performs FFT calculation to obtain the first amplitude of the voltage signal, the second amplitude of the current signal, and the phase difference between the voltage signal and the current signal.
[0013] In the device for quickly tracking the resonant frequency of an ultrasonic transducer involved in the first aspect of the present invention, optionally, the first calculation module performs PID calculation based on the first amplitude and the second amplitude to obtain a first output value.
[0014] In the device for fast tracking the resonant frequency of an ultrasonic transducer involved in the first aspect of the present invention, optionally, the second calculation module calculates the second output value based on the phase difference by using a dichotomy method and a frequency fine-tuning algorithm.
[0015] In the device for fast tracking the resonant frequency of an ultrasonic transducer involved in the first aspect of the present invention, optionally, it also includes a DAC multiplier, and the DAC multiplier controls the ultrasonic output of the ultrasonic transducer based on the first output value.
[0016] In the device for quickly tracking the resonant frequency of an ultrasonic transducer involved in the first aspect of the present invention, optionally, the first processor is an FPGA, and the second processor is a DSP.
[0017] A second aspect of the present invention provides an ultrasonic drive system, comprising an ultrasonic transducer and a device for quickly tracking the resonant frequency of the ultrasonic transducer as described in the first aspect.
[0018] According to the present invention, a fast tracking device for the resonant frequency of an ultrasonic transducer and an ultrasonic driving system which can improve the tracking speed and accuracy can be provided. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the description 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.
[0020] Figure 1 It is a functional module diagram of Example 1 of the ultrasonic drive system involved in the embodiment of the present invention.
[0021] Figure 2 It is a functional module diagram of the ultrasonic drive system embodiment 2 involved in the embodiment of the present invention.
[0022] Figure 3 It is a flow chart of a device for quickly tracking the resonant frequency of an ultrasonic transducer involved in an embodiment of the present invention.
[0023] Figure 4 It is a flow chart of a method for calculating a second output value using a binary division method and a frequency fine-tuning algorithm according to an embodiment of the present invention. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the invention clearer, the technical solution in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the 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 making creative work are within the scope of protection of the present invention.
[0025] The first aspect of the present invention provides a rapid tracking device for the resonant frequency of an ultrasonic transducer (hereinafter referred to as a rapid tracking device). The rapid tracking device can track the resonant frequency of the ultrasonic transducer to ensure the stability of the output power and frequency of the ultrasonic wave, and can also improve the tracking speed and accuracy.
[0026] The second aspect of the present invention provides an ultrasonic drive system, which includes an ultrasonic transducer and the fast tracking device described in the first aspect. The ultrasonic transducer can be connected to the fast tracking device for communication, and the fast tracking device can track the resonant frequency of the ultrasonic transducer, thereby controlling the output power and frequency of the ultrasonic wave of the ultrasonic transducer.
[0027] In some embodiments, the fast tracking device 10 may include a sampling module 13, a first processor 11, and a second processor 12. The sampling module 13 may be configured to sample a voltage signal and a current signal of the ultrasonic transducer 20.
[0028] In some embodiments, the first processor 11 may include a first preprocessing module 110. The first preprocessing module 110 may be configured to preprocess the voltage signal and the current signal and output a preprocessed signal.
[0029] In some embodiments, the second processor 12 may include a calculation module 120. The calculation module 120 may be configured to calculate a first amplitude of the voltage signal, a second amplitude of the current signal, and a phase difference between the voltage signal and the current signal based on the preprocessed signal. The calculation module 120 may control the ultrasonic output of the ultrasonic transducer based on the first amplitude, the second amplitude, and the phase difference.
[0030] In the first aspect of the present invention, the tracking of the resonant frequency can be completed by the cooperation of the first processor 11 and the second processor 12. This data processing method can obtain the complete ultrasonic output signal of the ultrasonic transducer in a short time, thereby speeding up the tracking speed of the resonant frequency. Compared with the prior art, the data processing method of the present invention is more efficient and can complete the tracking of the resonant frequency in a shorter time, thereby meeting the needs of high-performance equipment; in addition, the signal processing method of the present invention of first preprocessing and then further calculating can effectively reduce noise interference and improve the tracking accuracy of the ultrasonic output signal of the ultrasonic transducer. Compared with the method of detecting through a rectifier filtering circuit or a zero-crossing circuit in the prior art, the sampling method of the present invention is more accurate and can better eliminate noise interference, thereby improving the accuracy of the resonant frequency.
[0031] In some embodiments, the first processor 11 may be an FPGA. The second processor 12 may be a DSP. The sampling module 13 may be an ADC, which is used to sample the analog signal output by the ultrasonic transducer 20 and convert it into a digital signal that can be recognized by the first processor 10. The present invention uses FPGA+DSP+high-speed AD to sample the ultrasonic output signal of the ultrasonic transducer, and the sampling rate can be greater than 10 times the frequency of the ultrasonic output signal. This method can effectively reduce the delay caused by the rectification and filtering circuit on the circuit and the interference of other frequency noises, and improve the accuracy of the resonant frequency.
[0032] In some embodiments, the second processor 12 may include a second preprocessing module 121. In some embodiments, the preprocessing signal may be non-full-cycle data about a voltage signal and a current signal. The second preprocessing module 121 may be configured to process the non-full-cycle data into full-cycle data. The calculation module 120 may be configured to calculate the first amplitude, the second amplitude, and the phase difference based on the full-cycle data. In this case, the non-full-cycle data of the ultrasonic output signal is collected by the first processor 11, and then the non-full-cycle data is directly completed by the second processor 12, and then the second processor 12 calculates the first amplitude, the second amplitude, and the phase difference. This data processing method can obtain the complete cycle information of the ultrasonic output signal in a short time, thereby speeding up the tracking speed of the resonant frequency. Compared with the prior art, this data processing method of the present invention is more efficient and can complete the tracking of the resonant frequency in a shorter time, thereby meeting the needs of high-performance equipment.
[0033] In some embodiments, the fast tracking device may further include a memory 14. The memory 14 may be a shared memory of the first processor 11 and the second processor 12. In some embodiments, the memory 14 may be a RAM, a ROM, a FLASH, and the like.
[0034] In some embodiments, after collecting the non-full cycle data, the first preprocessing module 110 in the first processor 11 can write the non-full cycle data into the memory 14. The second preprocessing module 121 of the second processor 12 can read the non-full cycle data in the memory 14 and process the non-full cycle data into full cycle data.
[0035] In some embodiments, the signals processed by the first processor 11 and the second processor 12 may be sine wave signals or cosine wave signals. Full-cycle data may be a complete sine wave or cosine wave, and correspondingly, a non-full-cycle signal may be an incomplete sine wave or cosine wave.
[0036] In some embodiments, the non-full-period signal may be half a sine wave or a cosine wave, a quarter of a sine wave or a cosine wave, etc. It is understandable that due to the regularity of the sine wave or the cosine wave, the second pre-processing module 121 can conveniently supplement the non-full-period signal of the sine wave or the cosine wave into a full-period signal.
[0037] In some embodiments, the calculation module 120 may include a first calculation module 120a and a second calculation module 120b. The first calculation module 120a may be configured to calculate a first output value based on the first amplitude and the second amplitude, and control the amplifier to control the ultrasonic output of the ultrasonic transducer 20 based on the first output value. Here, the ultrasonic output of the ultrasonic transducer 20 may be the output power of the ultrasonic output signal of the ultrasonic transducer 20.
[0038] In some embodiments, the second calculation module 120b can be configured to calculate a second output value based on the phase difference, and output the second output value to the first processor 11. The first processor 11 can control the ultrasonic output of the ultrasonic transducer based on the second output value. Here, the ultrasonic output of the ultrasonic transducer 20 can be the output frequency of the ultrasonic output signal of the ultrasonic transducer 20.
[0039] In some embodiments, the second processor 12 may also be configured to determine an initial frequency (or calibration frequency) of the voltage signal and the current signal. The second processor 12 may transmit the initial frequency to the first processor 11, and the first processor 11 may control the sampling module 13 to perform high-speed sampling based on the initial frequency.
[0040] In some embodiments, the fast tracking device 10 further includes a waveform generator 111 and a converter 15. The first processor 11 can convert the waveform generated signal through the waveform generator 111 through the converter 15 and output it to the ultrasonic transducer.
[0041] In some embodiments, the waveform generator 111 may be a DDS (Direct Digital Synthesis) or may be integrated into the first processor 11 .
[0042] In some embodiments, the converter 14 may be a DAC, which is used to convert a digital signal into an analog signal and output it to the ultrasonic transducer 20 .
[0043] In some embodiments, the calculation module 120 may perform FFT (Fast Fourier Transform) calculation to obtain a first amplitude of the voltage signal, a second amplitude of the current signal, and a phase difference between the voltage signal and the current signal.
[0044] In some embodiments, the fast tracking device 10 may further include a DAC multiplier 16. The DAC multiplier 16 may control the ultrasonic output of the ultrasonic transducer 20 based on the first output value.
[0045] In some embodiments, the fast tracking device 10 may further include a power method circuit 17. One end of the power method circuit 17 may be connected to the DAC multiplier 16, and the other end may be connected to the ultrasonic transducer 20. The power method circuit 17 may amplify the control signal and output it to the ultrasonic transducer 20.
[0046] In some embodiments, the first calculation module 120a can perform PID (Proportional-Integral-Derivative Controller) calculation based on the first amplitude and the second amplitude to obtain a first output value. The first output value can be the output value of the DAC multiplier 16 in the next cycle. In this case, the present invention performs PID calculation through DSP, determines the value of the DAC multiplier in the next cycle, and controls it by DSP to achieve constant ultrasonic output. This control method can accurately adjust the ultrasonic output power to keep it stable. Compared with the prior art, the control method of the present invention is more accurate and can effectively improve the stability of the ultrasonic output power.
[0047] In some embodiments, the second calculation module 120b can calculate the second output value based on the phase difference through a binary search and a frequency fine-tuning algorithm. The second output value can be the output frequency of the next cycle. In this case, the present invention tracks the resonant frequency of the transducer by combining a binary search and a frequency fine-tuning method. When the phase difference of the current and voltage signals is greater than a preset angle, the frequency of the next cycle is determined by a binary search based on whether the phase difference is ahead or behind. When the phase difference of the current and voltage is less than a preset angle, the ultrasonic frequency of the next cycle is fine-tuned (for example, plus 1 or minus 1) based on whether the phase difference is ahead or behind. This algorithm combines the advantages of a binary search and a frequency fine-tuning algorithm, and can accurately track the resonant frequency of the transducer under different circumstances. Compared with the prior art, the algorithm of the present invention is more optimized and can adapt to more complex working conditions, thereby improving the tracking accuracy and speed of the resonant frequency.
[0048] The present invention also provides a method for quickly tracking the resonant frequency of an ultrasonic transducer (hereinafter referred to as the fast tracking method).
[0049] In some embodiments, the fast tracking method may include step S100, sampling the voltage signal and the current signal of the ultrasonic transducer 20. Specifically, the sampling module 13 samples the voltage signal and the current signal of the ultrasonic transducer 20.
[0050] In some embodiments, the fast tracking method may include step S200, preprocessing the voltage signal and the current signal and outputting the preprocessed signal. Specifically, the first preprocessing module 110 in the first processor 10 preprocesses the voltage signal and the current signal and outputs the preprocessed signal.
[0051] In some embodiments, the fast tracking method may include step S300, calculating a first amplitude of the voltage signal, a second amplitude of the current signal, and a phase difference between the voltage signal and the current signal based on the preprocessed signal, and controlling the ultrasonic output of the ultrasonic transducer based on the first amplitude, the second amplitude, and the phase difference. Specifically, the calculation module 120 in the second processor 12 calculates the first amplitude of the voltage signal, the second amplitude of the current signal, and the phase difference between the voltage signal and the current signal based on the preprocessed signal. The calculation module 120 controls the ultrasonic output of the ultrasonic transducer based on the first amplitude, the second amplitude, and the phase difference.
[0052] In the present invention, the tracking of the resonant frequency can be completed by the cooperation of the first processor 11 and the second processor 12. This data processing method can obtain the complete ultrasonic output signal of the ultrasonic transducer in a short time, thereby speeding up the tracking speed of the resonant frequency. Compared with the prior art, the data processing method of the present invention is more efficient and can complete the tracking of the resonant frequency in a shorter time, thereby meeting the needs of high-performance equipment; in addition, the signal processing method of the present invention of first preprocessing and then further calculating can effectively reduce noise interference and improve the tracking accuracy of the ultrasonic output signal of the ultrasonic transducer. Compared with the method of detecting through a rectifier filtering circuit or a zero-crossing circuit in the prior art, the sampling method of the present invention is more accurate and can better eliminate noise interference, thereby improving the accuracy of the resonant frequency.
[0053] In some embodiments, the first processor 11 may be an FPGA. The second processor 12 may be a DSP. The sampling module 13 may be an ADC, which is used to sample the analog signal output by the ultrasonic transducer 20 and convert it into a digital signal that can be recognized by the first processor 10. The present invention uses FPGA+DSP+high-speed AD to sample the ultrasonic output signal of the ultrasonic transducer, and the sampling rate can be greater than 10 times the frequency of the ultrasonic output signal. This method can effectively reduce the delay caused by the rectification and filtering circuit on the circuit and the interference of other frequency noises, and improve the accuracy of the resonant frequency.
[0054] In some embodiments, step S300 may include processing the non-full cycle data into full cycle data, and calculating the first amplitude, the second amplitude, and the phase difference based on the full cycle data. Specifically, the second pre-processing module 121 may be configured to process the non-full cycle data into full cycle data. The calculation module 120 may be configured to calculate the first amplitude, the second amplitude, and the phase difference based on the full cycle data.
[0055] In some embodiments, the fast tracking device may further include a memory 14. The memory 14 may be a shared memory of the first processor 11 and the second processor 12. In some embodiments, the memory 14 may be a RAM, a ROM, a FLASH, and the like.
[0056] In some embodiments, the fast tracking method may further include, after collecting the non-full cycle data, writing the non-full cycle data into the memory 14. Specifically, after collecting the non-full cycle data, the first pre-processing module 110 in the first processor 11 may write the non-full cycle data into the memory 14.
[0057] In some embodiments, the fast tracking method may further include reading the non-full cycle data in the memory 14 and processing the non-full cycle data into full cycle data. Specifically, the second pre-processing module 121 of the second processor 12 may read the non-full cycle data in the memory 14 and process the non-full cycle data into full cycle data.
[0058] In some embodiments, the signals processed by the first processor 11 and the second processor 12 may be sine wave signals or cosine wave signals. Full-cycle data may be a complete sine wave or cosine wave, and correspondingly, a non-full-cycle signal may be an incomplete sine wave or cosine wave.
[0059] In some embodiments, the non-full-period signal may be half a sine wave or a cosine wave, a quarter of a sine wave or a cosine wave, etc. It is understandable that due to the regularity of the sine wave or the cosine wave, the second pre-processing module 121 can conveniently supplement the non-full-period signal of the sine wave or the cosine wave into a full-period signal.
[0060] In some embodiments, step S300 may include calculating a first output value based on the first amplitude and the second amplitude, and controlling the amplifier to control the ultrasonic output of the ultrasonic transducer 20 based on the first output value. Specifically, the first calculation module 120a may calculate the first output value based on the first amplitude and the second amplitude, and control the amplifier to control the ultrasonic output of the ultrasonic transducer 20 based on the first output value. Here, the ultrasonic output of the ultrasonic transducer 20 may be the output power of the ultrasonic output signal of the ultrasonic transducer 20.
[0061] In some embodiments, step S300 may include calculating a second output value based on the phase difference, and outputting the second output value to the first processor 11, and the first processor 11 may control the ultrasonic output of the ultrasonic transducer based on the second output value. Specifically, the second calculation module 120b may be configured to calculate the second output value based on the phase difference, and output the second output value to the first processor 11. The first processor 11 may control the ultrasonic output of the ultrasonic transducer based on the second output value. Here, the ultrasonic output of the ultrasonic transducer 20 may be the output frequency of the ultrasonic output signal of the ultrasonic transducer 20.
[0062] In some embodiments, the fast tracking method may further include determining the initial frequency (or calibration frequency) of the voltage signal and the current signal, transmitting the initial frequency to the first processor 11, and the first processor 11 may control the sampling module 13 to perform high-speed sampling based on the initial frequency. Specifically, the second processor 12 determines the initial frequency (or calibration frequency) of the voltage signal and the current signal, and the second processor 12 may transmit the initial frequency to the first processor 11, and the first processor 11 may control the sampling module 13 to perform high-speed sampling based on the initial frequency.
[0063] In some embodiments, the fast tracking device 10 further includes a waveform generator 111 and a converter 15. The first processor 11 can convert the waveform generated signal through the waveform generator 111 through the converter 15 and output it to the ultrasonic transducer.
[0064] In some embodiments, the waveform generator 111 may be a DDS (Direct Digital Synthesis) or may be integrated into the first processor 11 .
[0065] In some embodiments, the converter 14 may be a DAC, which is used to convert a digital signal into an analog signal and output it to the ultrasonic transducer 20 .
[0066] In some embodiments, the calculation module 120 may perform FFT (Fast Fourier Transform) calculation to obtain a first amplitude of the voltage signal, a second amplitude of the current signal, and a phase difference between the voltage signal and the current signal.
[0067] In some embodiments, the fast tracking device 10 may further include a DAC multiplier 16. The DAC multiplier 16 may control the ultrasonic output of the ultrasonic transducer 20 based on the first output value.
[0068] In some embodiments, the fast tracking device 10 may further include a power method circuit 17. One end of the power method circuit 17 may be connected to the DAC multiplier 16, and the other end may be connected to the ultrasonic transducer 20. The power method circuit 17 may amplify the control signal and output it to the ultrasonic transducer 20.
[0069] In some embodiments, the fast tracking method may include performing a PID calculation based on the first amplitude and the second amplitude to obtain a first output value. Specifically, the first calculation module 120a may perform a PID calculation based on the first amplitude and the second amplitude to obtain a first output value. The first output value may be the output value of the DAC multiplier 16 in the next cycle. In this case, the present invention performs a PID calculation through a DSP to determine the value of the DAC multiplier in the next cycle, and is controlled by the DSP to achieve constant ultrasonic output. This control method can accurately adjust the ultrasonic output power to keep it stable. Compared with the prior art, the control method of the present invention is more accurate and can effectively improve the stability of the ultrasonic output power.
[0070] In some embodiments, the fast tracking method may include calculating the second output value based on the phase difference through a binary method and a frequency fine-tuning algorithm. Specifically, the second calculation module 120b can calculate the second output value based on the phase difference through a binary method and a frequency fine-tuning algorithm. The second output value can be the output frequency of the next cycle. In this case, the present invention tracks the resonant frequency of the transducer by combining a binary method and a frequency fine-tuning method. When the phase difference of the current and voltage signals is greater than a preset angle, the frequency of the next cycle is determined by a binary method based on the phase difference leading or lagging judgment. When the current and voltage phase difference is less than a preset angle, the ultrasonic frequency of the next cycle is fine-tuned (for example, plus 1 or minus 1) based on the phase difference leading or lagging judgment. This algorithm combines the advantages of binary method and frequency fine-tuning, and can accurately track the resonant frequency of the transducer under different circumstances. Compared with the prior art, the algorithm of the present invention is more optimized and can adapt to more complex working conditions, thereby improving the tracking accuracy and speed of the resonant frequency.
[0071] The method for calculating the second output value by using the binary method and the frequency fine-tuning algorithm may include the following steps.
[0072] The first step is to determine whether the flag bit of the FFT calculation result is refreshed. If not, return to re-judge. If refreshed, execute the second step.
[0073] The second step is to determine whether the phase difference is greater than a preset angle (preferably 5°). If it is not greater than the preset angle, execute the third step. If it is greater than the preset angle, execute the fourth step.
[0074] The third step is to determine whether the phase current leads the voltage (for example, if the phase difference between the current and the voltage is positive, the phase current leads the voltage; if the phase difference between the current and the voltage is negative, the phase voltage leads the current). If not, execute the fifth step; if yes, execute the sixth step.
[0075] The fourth step is to determine whether the phase current leads the voltage. If so, proceed to step 7; if not, proceed to step 8.
[0076] The fifth step, that is, when the phase difference is not greater than the preset angle, if the phase current does not lead the voltage, the current frequency f=f-1.
[0077] The sixth step, that is, when the phase difference is not greater than the preset angle, if the phase current leads the voltage, the current frequency f=f+1.
[0078] Step 7, that is, when the phase difference is greater than the preset angle, if the phase current leads the voltage, the current frequency f=(f+f _max ) / 2.
[0079] Step 8, that is, when the phase difference is greater than the preset angle, if the phase current does not lead the voltage, the current frequency f=(f+f _min ) / 2.
[0080] Step nine, enter a new cycle.
[0081] In summary, compared with the prior art, the present invention has significant advantages in tracking accuracy, tracking speed, algorithm optimization and output power stability, and can meet the needs of high-performance equipment such as wire bonding machines.
[0082] According to the present invention, a fast tracking device, method and ultrasonic driving system for the resonant frequency of an ultrasonic transducer which can improve the tracking speed and accuracy can be provided.
[0083] The technical solution of the present invention can be widely used in the fields of ultrasonic welding equipment, high-precision measuring instruments, industrial automation control, etc. In the field of ultrasonic welding equipment, the technical solution can realize the rapid adjustment of ultrasonic output frequency and power, thereby improving the accuracy and efficiency of welding. In particular, in high-performance wire bonding machines, the technical solution can meet the high requirements for ultrasonic generator tracking speed and accuracy, thereby improving the quality and stability of welding. In the field of high-precision measuring instruments, the technical solution can realize high-precision sampling and analysis of ultrasonic signals, thereby improving the accuracy and accuracy of measurement. For example, in applications such as ultrasonic ranging and ultrasonic flaw detection, the technical solution can provide more accurate measurement results. In the field of industrial automation control, the technical solution can realize real-time monitoring and control of ultrasonic signals, thereby improving the level of industrial automation. For example, in an automated production line, the technical solution can realize real-time monitoring of ultrasonic sensor signals, thereby improving the operating efficiency and safety of the production line. In general, the technical solution has broad application prospects in the fields of signal processing systems, ultrasonic technology, and programmable logic device design, and can meet the market demand for high-precision, high-efficiency, and high-stability ultrasonic equipment.
[0084] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents, and these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A fast tracking device for the resonant frequency of an ultrasonic transducer, characterized in that: The ultrasonic transducer comprises a sampling module, a first processor and a second processor, wherein the sampling module is configured to sample a voltage signal and a current signal of the ultrasonic transducer, the first processor comprises a first preprocessing module, the first preprocessing module is configured to preprocess the voltage signal and the current signal and output a preprocessing signal, the second processor comprises a calculation module, the calculation module is configured to calculate a first amplitude of the voltage signal, a second amplitude of the current signal, and a phase difference between the voltage signal and the current signal based on the preprocessing signal, and control the ultrasonic output of the ultrasonic transducer based on the first amplitude, the second amplitude and the phase difference.
2. The rapid tracking device for the resonant frequency of an ultrasonic transducer according to claim 1, characterized in that: The second processor includes a second preprocessing module, the preprocessing signal is non-full-cycle data about the voltage signal and the current signal, the second preprocessing module is configured to process the non-full-cycle data into full-cycle data, and the calculation module is configured to calculate the first amplitude, the second amplitude, and the phase difference based on the full-cycle data.
3. The rapid tracking device for the resonant frequency of an ultrasonic transducer according to claim 2, characterized in that: The calculation module includes a first calculation module and a second calculation module, wherein the first calculation module is configured to calculate a first output value based on the first amplitude and the second amplitude, and control the amplifier to control the ultrasonic output of the ultrasonic transducer based on the first output value; The second calculation module is configured to calculate a second output value based on the phase difference, and output the second output value to the first processor, and the first processor controls the ultrasonic output of the ultrasonic transducer based on the second output value.
4. The rapid tracking device for the resonant frequency of an ultrasonic transducer according to claim 1, characterized in that: The second processor is further configured to determine initial frequencies of the voltage signal and the current signal, and the first processor controls the sampling module to perform high-speed sampling based on the initial frequencies.
5. The device for fast tracking the resonant frequency of an ultrasonic transducer according to claim 4, characterized in that: It also includes a waveform generator and a converter. The first processor uses the waveform generator to convert the waveform signal through the converter and then outputs it to the ultrasonic transducer.
6. According to the device for fast tracking the resonant frequency of an ultrasonic transducer as claimed in claim 1, the calculation module performs FFT calculation to obtain the first amplitude of the voltage signal, the second amplitude of the current signal, and the phase difference between the voltage signal and the current signal.
7. The device for fast tracking the resonance frequency of an ultrasonic transducer according to claim 3, characterized in that: The first calculation module performs PID calculation based on the first amplitude and the second amplitude to obtain a first output value.
8. The device for fast tracking the resonance frequency of an ultrasonic transducer according to claim 3, characterized in that: The second calculation module calculates a second output value based on the phase difference by using a binary method and a frequency fine-tuning algorithm.
9. The device for fast tracking the resonant frequency of an ultrasonic transducer according to claim 7, characterized in that: Also included is a DAC multiplier that controls the ultrasonic output of the ultrasonic transducer based on the first output value.
10. An ultrasonic drive system, characterized in that: The invention comprises an ultrasonic transducer and a device for quickly tracking the resonant frequency of the ultrasonic transducer as claimed in any one of claims 1 to 9.