Ultrasonic transducer driving method, device, equipment and storage medium

By generating and adjusting the initial sine wave to reduce harmonics, the problem of abnormal operation caused by excessive harmonics during the driving process of the ultrasonic transducer is solved, and the normal operation and service life of the ultrasonic transducer are achieved.

CN116475047BActive Publication Date: 2025-09-05CHONGQING XISHAN SCI & TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310477110.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-27
Publication Date
2025-09-05
Estimated Expiration
2043-04-27

AI Technical Summary

Technical Problem

In the prior art, an ultrasonic transducer cannot work properly due to excessive harmonics during the driving process, which shortens its service life.

Method used

By generating an initial sine wave, comparing the excitation frequency information with the preset excitation frequency ratio, adjusting the initial sine wave to reduce harmonics, the ultrasonic transducer can be effectively driven.

Benefits of technology

The influence of harmonics is reduced, so that the ultrasonic transducer can work normally, and its service life and efficiency are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116475047B_ABST
    Figure CN116475047B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of ultrasonic transducer technology, and in particular to an ultrasonic transducer driving method, device, equipment and storage medium, the method comprising: generating an initial sine wave according to excitation frequency information and a preset excitation frequency ratio, and obtaining an excitation frequency ratio according to the initial sine wave; comparing the excitation frequency ratio with the preset excitation frequency ratio to obtain a comparison result; adjusting the initial sine wave based on the comparison result, and driving a target ultrasonic transducer according to the adjusted sine wave. Since the present invention first determines the excitation frequency ratio of the initial sine wave, compares the excitation frequency ratio with the preset excitation frequency ratio, and then adjusts the initial sine wave based on the comparison result, compared to the existing square wave that carries many harmonic components, the present invention can adjust the initial sine wave based on the excitation frequency ratio of the sine wave, reduce harmonics, and thereby enable the ultrasonic transducer to operate normally and increase its service life.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of ultrasonic transducers, and in particular to an ultrasonic transducer driving method, device, equipment and storage medium. Background Art

[0002] Currently, ultrasonic transducers, as key components in ultrasonic equipment, are used to convert electrical and optical signals into and from ultrasonic waves. Typically, ultrasonic transducers are driven by a sine wave that matches their resonant frequency. During the control process, since the frequency needs to be adjusted, a typical sine generator converts a square wave into a sine wave to control the ultrasonic transducer's excitation frequency. When the excitation frequency matches the transducer's frequency, the ultrasonic transducer can be driven.

[0003] However, since the excitation source is a square wave converted into a sine wave, the square wave will bring many harmonic components to the sine wave during the conversion process due to its characteristics. Too many harmonics will cause the ultrasonic transducer to work abnormally or even fail to drive, affecting its service life.

[0004] The above content is only used to assist in understanding the technical solution of the present invention and does not constitute an admission that the above content is prior art. Summary of the Invention

[0005] The main purpose of the present invention is to provide an ultrasonic transducer driving method, device, equipment and storage medium, aiming to solve the technical problem in the prior art that excessive harmonics when driving an ultrasonic transducer will cause it to malfunction and affect its service life.

[0006] To achieve the above object, the present invention provides an ultrasonic transducer driving method, the method comprising the following steps:

[0007] Generate an initial sine wave according to the excitation frequency information and a preset excitation frequency ratio, and obtain the excitation frequency ratio according to the initial sine wave;

[0008] Comparing the excitation frequency ratio with the preset excitation frequency ratio to obtain a comparison result;

[0009] The initial sine wave is adjusted based on the comparison result, and the target ultrasonic transducer is driven according to the adjusted sine wave.

[0010] Optionally, the step of comparing the excitation frequency proportion value with the preset excitation frequency proportion value to obtain a comparison result includes:

[0011] When the excitation frequency ratio is higher than the preset excitation frequency ratio, taking the excitation frequency ratio as a comparison result;

[0012] Accordingly, the step of adjusting the initial sine wave based on the comparison result and driving the target ultrasonic transducer according to the adjusted sine wave includes:

[0013] The initial sine wave is adjusted based on the excitation frequency ratio, and the target ultrasonic transducer is driven according to the adjusted sine wave.

[0014] Optionally, the step of comparing the excitation frequency proportion value with the preset excitation frequency proportion value to obtain a comparison result includes:

[0015] When the excitation frequency ratio is lower than the preset excitation frequency ratio, taking the preset excitation frequency ratio as a comparison result;

[0016] Accordingly, the step of adjusting the initial sine wave based on the comparison result and driving the target ultrasonic transducer according to the adjusted sine wave includes:

[0017] The initial sine wave is adjusted based on the preset excitation frequency ratio, and the target ultrasonic transducer is driven according to the adjusted sine wave.

[0018] Optionally, the step of adjusting the initial sine wave based on the excitation frequency ratio and driving the target ultrasonic transducer according to the adjusted sine wave includes:

[0019] Updating the preset excitation frequency proportion value based on the excitation frequency proportion value;

[0020] The initial sine wave is adjusted according to the updated preset excitation frequency ratio, and the target ultrasonic transducer is driven according to the adjusted sine wave.

[0021] Optionally, the step of generating an initial sine wave according to the excitation frequency information and a preset excitation frequency proportion value, and obtaining the excitation frequency proportion value according to the initial sine wave includes:

[0022] Generate an initial square wave according to the excitation frequency information and the preset excitation frequency ratio;

[0023] The initial square wave is converted into an initial sine wave, and an excitation frequency ratio value is obtained according to the initial sine wave.

[0024] Optionally, the step of converting the initial square wave into an initial sine wave and obtaining an excitation frequency ratio value according to the initial sine wave includes:

[0025] Converting the initial square wave into an initial sine wave;

[0026] Perform fast Fourier transform on the initial sine wave to obtain an excitation frequency ratio value.

[0027] Optionally, after the step of converting the initial square wave into an initial sine wave, the method further includes:

[0028] Obtaining a preset amplification parameter, and proportionally amplifying the initial sine wave according to the preset amplification parameter;

[0029] Accordingly, the step of performing fast Fourier transform on the initial sine wave to obtain the excitation frequency ratio value includes:

[0030] Perform fast Fourier transform on the amplified initial sine wave to obtain the excitation frequency ratio value.

[0031] In addition, to achieve the above-mentioned object, the present invention further provides an ultrasonic transducer driving device, the device comprising:

[0032] A proportion value acquisition module is used to generate an initial sine wave according to the excitation frequency information and a preset excitation frequency proportion value, and obtain the excitation frequency proportion value according to the initial sine wave;

[0033] a proportion value comparison module, configured to compare the excitation frequency proportion value with the preset excitation frequency proportion value to obtain a comparison result;

[0034] The ultrasonic transducer driving module is configured to adjust the initial sine wave based on the comparison result and drive the target ultrasonic transducer according to the adjusted sine wave.

[0035] In addition, to achieve the above-mentioned purpose, the present invention also proposes an ultrasonic transducer driving device, which includes: a memory, a processor, and an ultrasonic transducer driver stored in the memory and capable of running on the processor, wherein the ultrasonic transducer driver is configured to implement the steps of the ultrasonic transducer driving method described above.

[0036] In addition, to achieve the above-mentioned purpose, the present invention also proposes a storage medium, on which an ultrasonic transducer driver is stored. When the ultrasonic transducer driver is executed by a processor, the steps of the ultrasonic transducer driving method described above are implemented.

[0037] The present invention generates an initial sine wave based on excitation frequency information and a preset excitation frequency ratio, and obtains an excitation frequency ratio based on the initial sine wave; compares the excitation frequency ratio with the preset excitation frequency ratio to obtain a comparison result; adjusts the initial sine wave based on the comparison result, and drives the target ultrasonic transducer based on the adjusted sine wave. Since the present invention first determines the excitation frequency ratio of the initial sine wave, then compares the excitation frequency ratio with the preset excitation frequency ratio, and finally adjusts the initial sine wave based on the comparison result, compared to the existing square wave that carries many harmonic components, the present invention can adjust the initial sine wave based on the excitation frequency ratio of the sine wave, reduce harmonics, and thus enable the ultrasonic transducer to operate normally and increase its service life. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A schematic diagram of the structure of an ultrasonic transducer driving device in the hardware operating environment involved in an embodiment of the present invention;

[0039] Figure 2 This is a flow chart of a first embodiment of an ultrasonic transducer driving method according to the present invention;

[0040] Figure 3 The waveform diagrams are square wave and sine wave;

[0041] Figure 4 1 is a flow chart of a second embodiment of an ultrasonic transducer driving method according to the present invention;

[0042] Figure 5 This is a structural block diagram of the first embodiment of the ultrasonic transducer driving device of the present invention.

[0043] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION

[0044] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0045] Reference Figure 1 , Figure 1 This is a schematic diagram of the structure of an ultrasonic transducer driving device in the hardware operating environment involved in an embodiment of the present invention.

[0046] like Figure 1As shown, the ultrasonic transducer driving device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to implement connection and communication between these components. The user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard). Optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a wireless fidelity (Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) or a stable non-volatile memory (NVM), such as a disk storage. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0047] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation to the ultrasonic transducer driving device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0048] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and an ultrasonic transducer driver.

[0049] exist Figure 1 In the ultrasonic transducer driving device shown, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the ultrasonic transducer driving device of the present invention can be set in the ultrasonic transducer driving device, and the ultrasonic transducer driving device calls the ultrasonic transducer driver stored in the memory 1005 through the processor 1001 and executes the ultrasonic transducer driving method provided in the embodiment of the present invention.

[0050] The embodiment of the present invention provides an ultrasonic transducer driving method, referring to Figure 2 , Figure 2 FIG. 4 is a flow chart of a first embodiment of an ultrasonic transducer driving method according to the present invention.

[0051] In this embodiment, the ultrasonic transducer driving method includes the following steps:

[0052] Step S10: generating an initial sine wave according to the excitation frequency information and a preset excitation frequency ratio, and obtaining the excitation frequency ratio according to the initial sine wave.

[0053] It should be noted that the method of this embodiment can be applied in a scenario where an ultrasonic transducer is driven. The execution subject of this embodiment can be an ultrasonic transducer driving device with data processing, network communication, and program execution functions, or other devices that can achieve the same or similar functions. This embodiment and the following embodiments are specifically described using the above-mentioned ultrasonic transducer driving device (hereinafter referred to as the device).

[0054] It is understandable that when converting square waves into sine waves, many harmonic components will be generated. Excessive harmonics may cause the ultrasonic transducer to not work properly. Even if it can work properly, its efficiency is very low. In this case, the ultrasonic transducer will lose a lot of working life in the long run. This problem can be solved by reducing harmonics. For ease of understanding, please refer to Figure 3 , Figure 3 The waveform diagrams of square wave and sine wave are as follows: Figure 3 As shown in FIG, when a square wave is converted into a sine wave, the area between the square wave and the sine wave is an invalid part, which will bring harmonic components to the entire sine wave.

[0055] It should be understood that the above-mentioned excitation frequency information may be information about the number of excitations within a certain period of time. After the square wave is expanded by fast Fourier transform, many frequencies may be obtained, including the excitation frequency. After determining the excitation frequency, the other frequencies are harmonic frequencies. The harmonic frequencies may cause the required excitation frequency to account for a smaller proportion in the entire waveform, thereby causing the ultrasonic transducer to be unable to accurately identify the excitation frequency and thus reduce efficiency when driving the ultrasonic transducer.

[0056] It should also be noted that the excitation frequency in the excitation frequency information can be set according to the ultrasonic transducer being driven, for example, the excitation frequency can be set according to the physical characteristics of the ultrasonic transducer, and this embodiment is not limited thereto. The preset excitation frequency ratio can be the ratio of the excitation frequency to the total frequency obtained, and can also be set according to actual conditions.

[0057] Furthermore, the above step S10 includes: generating an initial square wave according to the excitation frequency information and a preset excitation frequency ratio; converting the initial square wave into an initial sine wave, and obtaining the excitation frequency ratio according to the initial sine wave.

[0058] It should be emphasized that after the conversion and generation of the initial sine wave, the initial sine wave needs to be collected. To improve the accuracy of the collection, this embodiment can collect the data through a sensor. Of course, other methods can also be used for collection, such as through hardware circuits or audio pickup devices. However, if the waveform is directly scaled by the hardware circuit to obtain the signal, due to certain device deviations in the hardware circuit, different batches of products (device deviations) will also produce different excitation waveform signal states, which is not conducive to excitation frequency control. Alternatively, the ultrasonic waveform of the tool (in the air) is picked up by an audio pickup device and fed back to the collector to obtain the excitation waveform signal. Due to the characteristics of audio pickup, other audio signals will be picked up in the process. The piezoelectric signal directly obtained from the audio signal is very weak and needs to be proportionally amplified. During the amplification, the noise signal will also be amplified. As a result, the accuracy of the above two collection methods is low. However, the acquisition through the sensor in this embodiment can improve the collection accuracy.

[0059] It is understandable that the above steps of converting the initial square wave into an initial sine wave and obtaining the excitation frequency ratio value based on the initial sine wave may include: converting the initial square wave into an initial sine wave; performing fast Fourier transform on the initial sine wave to obtain the excitation frequency ratio value.

[0060] It should be understood that, in this embodiment, a waveform converter may be provided in the above-mentioned device, and the above-mentioned initial square wave may be converted into an initial sine wave through the above-mentioned waveform converter.

[0061] It should be emphasized that the above excitation frequency ratio is obtained by fast Fourier transform of the initial sine wave. After time domain conversion and frequency domain conversion, the excitation frequency ratio can be obtained.

[0062] In a specific implementation, during the initial period, the above-mentioned device can generate the above-mentioned initial square wave based on the excitation frequency in the excitation frequency information and the preset excitation frequency ratio while ensuring that the excitation frequency remains unchanged, and then convert the initial square wave into an initial sine wave, and perform a fast Fourier transform on the above-mentioned initial sine wave to obtain the excitation frequency ratio of the initial sine wave.

[0063] Step S20: Compare the excitation frequency ratio with the preset excitation frequency ratio to obtain a comparison result.

[0064] It should be noted that since harmonics cannot be completely eliminated, it is only possible to ensure that the excitation frequency ratio in the waveform is within a maximum range, thereby ensuring that the operating efficiency of the ultrasonic transducer reaches the highest. Therefore, through the above comparison, the size relationship between the above excitation frequency ratio and the preset excitation frequency ratio can be determined to obtain a comparison result.

[0065] Step S30: adjusting the initial sine wave based on the comparison result, and driving the target ultrasonic transducer according to the adjusted sine wave.

[0066] It can be understood that when the above-mentioned excitation frequency ratio is higher than the preset excitation frequency ratio, the above-mentioned device can generate an adjusted square wave according to the excitation frequency information and the excitation frequency ratio in the subsequent process, and then convert it into an adjusted sine wave to drive the target ultrasonic transducer device; when the above-mentioned excitation frequency ratio is lower than the preset excitation frequency ratio, the above-mentioned device can continue to drive the target ultrasonic transducer device according to the excitation frequency information and the preset excitation frequency ratio.

[0067] In a specific implementation, the obtained excitation frequency ratio value can be compared with the preset excitation frequency ratio value. When the excitation frequency ratio value is higher than the preset excitation frequency ratio value, an adjusted sine wave is obtained through the excitation frequency information and the excitation frequency ratio value, and then the target ultrasonic transducer device is driven.

[0068] Furthermore, in order to facilitate observation by staff, in this embodiment, after the above-mentioned step of converting the initial square wave into an initial sine wave, it also includes: obtaining a preset amplification parameter, and proportionally amplifying the initial sine wave according to the preset amplification parameter; accordingly, the step of performing a fast Fourier transform on the initial sine wave to obtain the excitation frequency proportion value includes: performing a fast Fourier transform on the amplified initial sine wave to obtain the excitation frequency proportion value.

[0069] It should be understood that the above-mentioned preset amplification parameters can be parameters used to proportionally amplify the initial sine wave. The specific parameters can be set according to actual conditions and are not limited in this embodiment.

[0070] In a specific implementation, after obtaining the initial sine wave, it can be scaled up using preset amplification parameters, and the amplification result can be displayed in the form of a histogram so that staff can observe the proportion of the excitation frequency.

[0071] The device of this embodiment can generate the above-mentioned initial square wave based on the excitation frequency in the excitation frequency information and the preset excitation frequency ratio, while ensuring that the excitation frequency remains unchanged, and then convert the initial square wave into an initial sine wave, and perform a fast Fourier transform on the initial sine wave to obtain the excitation frequency ratio of the initial sine wave; and compare the obtained excitation frequency ratio with the preset excitation frequency ratio. When the excitation frequency ratio is higher than the preset excitation frequency ratio, an adjusted sine wave is obtained based on the excitation frequency information and the excitation frequency ratio, and then the target ultrasonic transducer device is driven. Compared with the existing disadvantage of excessive harmonics during driving, which is not conducive to the efficient operation of the transducer, the present embodiment can adjust the generated initial square wave in real time, reduce the harmonics therein, so that the target ultrasonic transducer always operates at the highest efficiency, increase its service life, and at the same time ensure that the target ultrasonic transducer operates under benign conditions.

[0072] refer to Figure 4 , Figure 4 FIG. 4 is a flow chart of a second embodiment of an ultrasonic transducer driving method according to the present invention.

[0073] Furthermore, the above step S20 includes:

[0074] Step S211: when the excitation frequency ratio is higher than the preset excitation frequency ratio, taking the excitation frequency ratio as a comparison result.

[0075] Accordingly, the above step S30 includes:

[0076] Step S311: adjusting the initial sine wave based on the excitation frequency ratio, and driving the target ultrasonic transducer according to the adjusted sine wave.

[0077] In a specific implementation, when the above-mentioned excitation frequency ratio is higher than the preset excitation frequency ratio, an adjusted square wave can be obtained through the excitation frequency information and the excitation frequency ratio, and then the adjusted square wave is converted into a waveform to obtain an adjusted sine wave, and the target ultrasonic transducer is driven according to the adjusted sine wave.

[0078] Furthermore, the above step S20 further includes:

[0079] Step S221: when the excitation frequency ratio is lower than the preset excitation frequency ratio, taking the preset excitation frequency ratio as a comparison result.

[0080] Accordingly, the above step S30 further includes:

[0081] Step S321: adjusting the initial sine wave based on the preset excitation frequency ratio, and driving the target ultrasonic transducer according to the adjusted sine wave.

[0082] In a specific implementation, when the above-mentioned preset excitation frequency ratio is higher than the excitation frequency ratio, the adjusted square wave can be obtained through the excitation frequency information and the preset excitation frequency ratio, and then the adjusted square wave is converted into a waveform to obtain an adjusted sine wave, and the target ultrasonic transducer is driven by the adjusted sine wave.

[0083] Furthermore, in order to ensure that the excitation frequency proportion is in the highest state, in this embodiment, the above-mentioned step S10 includes: updating the preset excitation frequency proportion based on the excitation frequency proportion; adjusting the initial sine wave according to the updated preset excitation frequency proportion, and driving the target ultrasonic transducer according to the adjusted sine wave.

[0084] It should be noted that the above update is to replace the above-mentioned preset excitation frequency proportion value with the above-mentioned excitation frequency proportion value when the excitation frequency proportion value is higher than the preset excitation frequency proportion value, so that in subsequent comparisons, the excitation frequency proportion value of the adjusted initial sine wave is compared with the replaced preset excitation frequency proportion value; if it is not higher, no replacement is performed, and the comparison continues to be made through the preset excitation frequency proportion value.

[0085] In this embodiment, the above-mentioned device can compare the available excitation frequency ratio with the preset excitation frequency ratio, and replace the larger value with the preset excitation frequency ratio for driving, and continue the cycle until the excitation frequency ratio is maximized, which can effectively reduce the impact of harmonics.

[0086] In addition, an embodiment of the present invention further provides a storage medium, on which an ultrasonic transducer driver is stored. When the ultrasonic transducer driver is executed by a processor, the steps of the ultrasonic transducer driving method described above are implemented.

[0087] In addition, refer to Figure 5 , Figure 5 This is a structural block diagram of a first embodiment of an ultrasonic transducer driving device of the present invention. The embodiment of the present invention further provides an ultrasonic transducer driving device, the ultrasonic transducer driving device comprising:

[0088] The proportion value acquisition module 501 is used to generate an initial sine wave according to the excitation frequency information and the preset excitation frequency proportion value, and obtain the excitation frequency proportion value according to the initial sine wave;

[0089] The ratio comparison module 502 is configured to compare the excitation frequency ratio with the preset excitation frequency ratio to obtain a comparison result;

[0090] The ultrasonic transducer driving module 503 is configured to adjust the initial sine wave based on the comparison result, and drive the target ultrasonic transducer according to the adjusted sine wave.

[0091] The device of this embodiment can generate the above-mentioned initial square wave based on the excitation frequency in the excitation frequency information and the preset excitation frequency ratio, while ensuring that the excitation frequency remains unchanged, and then convert the initial square wave into an initial sine wave, and perform a fast Fourier transform on the initial sine wave to obtain the excitation frequency ratio of the initial sine wave; and compare the obtained excitation frequency ratio with the preset excitation frequency ratio. When the excitation frequency ratio is higher than the preset excitation frequency ratio, an adjusted sine wave is obtained based on the excitation frequency information and the excitation frequency ratio, and then the target ultrasonic transducer device is driven. Compared with the existing method that has more harmonics during driving, the present embodiment can adjust the generated initial square wave in real time to reduce the harmonics therein, so that the target ultrasonic transducer always operates at the highest efficiency, prolonging its service life, and at the same time ensuring that the target ultrasonic transducer operates under benign conditions, reducing the loss of life.

[0092] Other embodiments or specific implementations of the ultrasonic transducer driving device of the present invention can refer to the above-mentioned method embodiments and will not be described in detail here.

[0093] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.

[0094] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.

[0095] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as read-only memory / random access memory, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0096] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for driving an ultrasonic transducer, characterized in that: The method comprises the following steps: Generate an initial sine wave according to the excitation frequency information and a preset excitation frequency ratio, and obtain the excitation frequency ratio according to the initial sine wave, wherein the excitation frequency information is information about the number of excitations performed, and the preset excitation frequency ratio is the ratio of the excitation frequency in the excitation frequency information to the total frequency; Comparing the excitation frequency ratio with the preset excitation frequency ratio to obtain a comparison result; adjusting the initial sine wave based on the comparison result, and driving the target ultrasonic transducer according to the adjusted sine wave; The step of comparing the excitation frequency proportion value with the preset excitation frequency proportion value to obtain a comparison result includes: When the excitation frequency ratio is higher than the preset excitation frequency ratio, taking the excitation frequency ratio as a comparison result; Accordingly, the step of adjusting the initial sine wave based on the comparison result and driving the target ultrasonic transducer according to the adjusted sine wave includes: Adjusting the initial sine wave based on the excitation frequency ratio, and driving the target ultrasonic transducer according to the adjusted sine wave; The step of comparing the excitation frequency proportion value with the preset excitation frequency proportion value to obtain a comparison result includes: When the excitation frequency ratio is lower than the preset excitation frequency ratio, taking the preset excitation frequency ratio as a comparison result; Accordingly, the step of adjusting the initial sine wave based on the comparison result and driving the target ultrasonic transducer according to the adjusted sine wave includes: The initial sine wave is adjusted based on the preset excitation frequency ratio, and the target ultrasonic transducer is driven according to the adjusted sine wave.

2. The ultrasonic transducer driving method according to claim 1, wherein: The step of adjusting the initial sine wave based on the excitation frequency ratio and driving the target ultrasonic transducer according to the adjusted sine wave includes: Updating the preset excitation frequency proportion value based on the excitation frequency proportion value; The initial sine wave is adjusted according to the updated preset excitation frequency ratio, and the target ultrasonic transducer is driven according to the adjusted sine wave.

3. The ultrasonic transducer driving method according to claim 1, wherein: The step of generating an initial sine wave according to the excitation frequency information and the preset excitation frequency ratio, and obtaining the excitation frequency ratio according to the initial sine wave includes: Generate an initial square wave according to the excitation frequency information and the preset excitation frequency ratio; The initial square wave is converted into an initial sine wave, and an excitation frequency ratio value is obtained according to the initial sine wave.

4. The ultrasonic transducer driving method according to claim 3, wherein: The step of converting the initial square wave into an initial sine wave and obtaining an excitation frequency ratio value according to the initial sine wave includes: Converting the initial square wave into an initial sine wave; Perform fast Fourier transform on the initial sine wave to obtain an excitation frequency ratio value.

5. The ultrasonic transducer driving method according to claim 4, wherein: After the step of converting the initial square wave into an initial sine wave, the method further includes: Obtaining a preset amplification parameter, and proportionally amplifying the initial sine wave according to the preset amplification parameter; Accordingly, the step of performing fast Fourier transform on the initial sine wave to obtain the excitation frequency ratio value includes: Perform fast Fourier transform on the amplified initial sine wave to obtain the excitation frequency ratio value.

6. An ultrasonic transducer driving device, characterized in that: The device comprises: a proportion value acquisition module, configured to generate an initial sine wave according to the excitation frequency information and a preset excitation frequency proportion value, and obtain the excitation frequency proportion value according to the initial sine wave, wherein the excitation frequency information is information about the number of excitations performed, and the preset excitation frequency proportion value is the proportion of the excitation frequency in the excitation frequency information to the entire frequency; a proportion value comparison module, configured to compare the excitation frequency proportion value with the preset excitation frequency proportion value to obtain a comparison result; an ultrasonic transducer driving module, configured to adjust the initial sine wave based on the comparison result, and drive the target ultrasonic transducer according to the adjusted sine wave; The proportion comparison module is further configured to use the excitation frequency proportion as a comparison result when the excitation frequency proportion is higher than the preset excitation frequency proportion; The ultrasonic transducer driving module is further configured to adjust the initial sine wave based on the excitation frequency ratio, and drive the target ultrasonic transducer according to the adjusted sine wave; The proportion comparison module is further configured to use the preset excitation frequency proportion as a comparison result when the excitation frequency proportion is lower than the preset excitation frequency proportion; The ultrasonic transducer driving module is further configured to adjust the initial sine wave based on the preset excitation frequency ratio, and drive the target ultrasonic transducer according to the adjusted sine wave.

7. An ultrasonic transducer driving device, characterized in that: The device includes: a memory, a processor, and an ultrasonic transducer driver stored in the memory and executable on the processor, wherein the ultrasonic transducer driver is configured to implement the steps of the ultrasonic transducer driving method according to any one of claims 1 to 5.

8. A storage medium, characterized in that: The storage medium stores an ultrasonic transducer driver, which, when executed by the processor, implements the steps of the ultrasonic transducer driving method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Driving circuit, driving circuit board and driver

    CN112204866A

  • Multi-frequency current zero-crossing waveform signal processing method and device

    CN113267820A