A digital ultrasonic power supply and control method thereof
Through digitally designed ultrasonic power supply, high-speed ADC sampling and FPGA microprocessor are used to realize automatic frequency tracking and power control, which solves the problems of imperfect frequency tracking and unstable output in the existing technology, and achieves efficient resonant frequency tracking and constant Current control.
Patent Information
- Application Number
- CN202210502975.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-09
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-05-09
AI Technical Summary
Existing ultrasonic power supplies are imperfect in frequency tracking technology, resulting in unstable output, and are prone to detuning due to changes in load characteristics and reduced mechanical vibration efficiency.
The ultrasonic power supply adopts digital design, including DC power supply, BUCK adjustable voltage circuit, power amplifier inverter circuit, boost module, high-speed ADC sampling circuit, MCU processor and FPGA microprocessor, which can quickly detect the output current and voltage phase difference and amplitude. value, realizing automatic resonant frequency search and power control to ensure the stability of the output current.
It achieves frequency tracking capability with stronger anti-interference, resonant frequency error ±5Hz, and constant current control effect with output current error less than 5%, which improves the stability and efficiency of the ultrasonic power supply.
Smart Images

Figure CN114825996B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of ultrasonic power supplies, in particular to a digital ultrasonic power supply and a control method thereof. Background Art
[0002] Power ultrasonic technology has been developed in China for decades, and ultrasonic power supply has also experienced several generations of iterative development. However, there are still many technical problems, such as large size, high cost, low conversion rate, etc. The most important frequency tracking technology is imperfect, which leads to the instability of ultrasonic power supply, and often the mechanical vibration output of ultrasonic transducer is low or even no output. At present, several revolutionary developments in power supply technology have solved the problem of unstable output of inverter circuit, which has also improved the stability of ultrasonic power supply output to a certain extent. However, affected by the load characteristics of ultrasonic transducer, changes in the surrounding environment, vibration fatigue, temperature increase, aging and wear and other factors cause the load parameters of ultrasonic transducer to change, resulting in the resonant frequency of transducer load drift. At this time, the ultrasonic power supply needs to adjust the output frequency in time so that the ultrasonic transducer always works at the resonant frequency to ensure the maximum mechanical efficiency output, otherwise it is easy to detune and the mechanical vibration efficiency is greatly reduced. Therefore, in the design of ultrasonic power supply, how to accurately detect the phase difference and amplitude of ultrasonic transducer, and quickly perform frequency tracking and power control, is of great practical significance to the research of ultrasonic power supply control system. Summary of the invention
[0003] In view of the problems existing in the above-mentioned prior art, the present invention proposes a digital ultrasonic power supply, which adopts a digital design and has stronger anti-interference ability than the traditional full hardware structure. It can accurately detect the phase difference and amplitude of the output current and voltage, and has the functions of automatic resonant frequency search, automatic resonant frequency tracking and adjustable output power.
[0004] The present invention adopts the following technical solutions to solve the above technical problems:
[0005] A digital ultrasonic power supply, characterized in that it includes a DC power supply, a BUCK adjustable voltage circuit, a power amplifier inverter circuit, a boost module, a drive circuit, a high-speed ADC sampling circuit, an MCU processor and an FPGA microprocessor;
[0006] The DC power supply provides the input voltage of the BUCK adjustable voltage circuit, and the output voltage of the BUCK adjustable voltage circuit is input to the power amplifier inverter circuit, inverted into an ultrasonic frequency AC signal by the power amplifier inverter circuit, and then boosted to the required voltage by the boost module, so as to obtain the output voltage of the digital ultrasonic power supply and provide it to the load;
[0007] The MCU processor controls the output voltage of the BUCK adjustable voltage circuit;
[0008] The FPGA microprocessor generates an AC drive signal to drive the power amplifier inverter circuit to work through the drive circuit;
[0009] The high-speed ADC sampling circuit samples the output current and output voltage of the digital ultrasonic power supply respectively and sends them to the FPGA microprocessor;
[0010] The MCU processor and the FPGA microprocessor are connected via the SPI interface.
[0011] The BUCK adjustable voltage circuit adopts a wide range synchronous buck controller LM5116.
[0012] It also includes a protection circuit, which is an enable end of the controller LM5116 connected to an I / O port of the MCU processor.
[0013] The MCU processor outputs an analog signal through a built-in DAC module to control the output voltage of the BUCK adjustable voltage circuit.
[0014] The DDS generator inside the FPGA microprocessor generates an AC drive signal, which is transmitted to the drive circuit via the I / O port of the FPGA microprocessor, and is output by the drive circuit to drive the power amplifier inverter circuit to work.
[0015] The structure of the power amplifier inverter circuit is as follows: the AC drive signal input terminal A1 is connected in series with a resistor R1 and a DC blocking capacitor C1, and then connected to the gate of the MOS tube Q1. A diode D3 is connected in parallel between the source and drain of the MOS tube Q1. A R2C2 resistor-capacitor absorption circuit is connected in parallel between the source and drain of the MOS tube Q1. The R2C2 resistor-capacitor absorption circuit is a resistor R2 and a capacitor C2 connected in series. Meanwhile, the source of the MOS tube Q1 is grounded; the AC drive signal input terminal A2 is connected in series with a resistor R6 and a DC blocking capacitor C6, and then connected to the gate of the MOS tube Q2. A diode D4 is connected in parallel between the source and drain of the MOS tube Q2. A R5C5 resistor-capacitor absorption circuit is a resistor R5 and a capacitor C5 connected in series. Meanwhile, the source of the MOS tube Q2 is grounded; at the DC voltage input terminal V IN Connect a common mode inductor L in series;
[0016] The boost module structure is as follows: one end of the primary side of the transformer T is connected to the drain of the MOS tube Q1, and the other end is connected to the drain of the MOS tube Q2. INA common-mode inductor L is connected in series with the neutral line of the primary side of the transformer T; one end of the primary side of the transformer T is connected to the positive electrode of the diode D1, and the negative electrode of the diode D1 and the neutral line of the primary side of the transformer T are connected in parallel with the resistor R3 and the capacitor C3; the other end of the primary side of the transformer T is connected to the positive electrode of the diode D2, and the negative electrode of the diode D2 and the neutral line of the primary side of the transformer T are connected in parallel with the resistor R4 and the capacitor C4; the secondary side of the transformer T outputs an AC voltage V OUT That is the output voltage of the digital ultrasonic power supply.
[0017] The driving circuit adopts UCC27324 chip.
[0018] The MCU processors are also connected to human-computer interaction modules respectively, and the human-computer interaction modules use existing display screens and keyboards, or use touch screens.
[0019] The control method of a digital ultrasonic power supply comprises the following steps:
[0020] (1) The digital ultrasonic power supply is started, and the FPGA microprocessor and MCU processor are initialized;
[0021] (2) A DC power supply inputs a DC voltage to the BUCK adjustable voltage circuit, which is then input to the power amplifier inverter circuit after voltage regulation by the BUCK adjustable voltage circuit. The FPGA microprocessor sets the initial frequency control word of the internal DDS generator, and the DDS generator outputs an AC drive signal, which is transmitted to the drive circuit via the I / O port of the FPGA microprocessor, and the drive circuit outputs an AC drive signal to drive the power amplifier inverter circuit to work; the output voltage of the power amplifier inverter circuit is boosted to the required voltage by the boost module and then output to the load; the MCU processor sets the input frequency sweep range and the target constant current peak value respectively; and the digital ultrasonic power supply starts working;
[0022] (3) The high-speed ADC sampling circuit samples the output current and output voltage of the digital ultrasonic power supply and sends them to the FPGA microprocessor. The FPGA microprocessor filters the sampled output current and output voltage into standard sine waves and calculates the current and voltage phase difference, voltage frequency, voltage amplitude and current amplitude respectively.
[0023] (4) The MCU processor performs frequency sweeping in the frequency sweeping range according to the frequency interval unit, and reads the current and voltage phase difference, voltage frequency, voltage amplitude and current amplitude corresponding to each frequency sweeping frequency in the calculation result of the FPGA microprocessor in step (3) respectively; compares the voltage frequency with the initial frequency control word to determine whether the frequency needs to be adjusted, and if the frequency needs to be adjusted, proceeds to step (5); compares the current amplitude with the target constant current peak value to determine whether the voltage needs to be adjusted, and if the voltage needs to be adjusted, proceeds to step (6); otherwise, proceeds to step (3);
[0024] (5) The MCU processor uses the sweep frequency corresponding to the minimum current-voltage phase difference as the new resonant frequency and sends it to the FPGA microprocessor. The FPGA microprocessor sets the frequency control word of the DDS signal generator with the new resonant frequency. The DDS signal generator outputs an AC drive signal through the drive circuit to drive the power amplifier inverter circuit to operate, and then proceeds to execute step (7);
[0025] (6) The MCU processor takes the output current of the digital ultrasonic power supply as the control object and uses an incremental PID algorithm to adjust the output voltage of the BUCK adjustable voltage circuit so that the output current peak value of the digital ultrasonic power supply is always equal to the target constant current peak value, and then proceeds to execute step (7);
[0026] (7) During the operation of the digital ultrasonic power supply, the MCU processor monitors the output voltage and the resonant frequency respectively. If an abnormal state such as the voltage amplitude being too high or the frequency being detuned occurs, an enable instruction is output through the I / O port to stop the BUCK adjustable voltage circuit from working and disconnect the power supply to protect the load and the digital ultrasonic power supply. If no abnormality occurs, the process goes back to loop and executes step (3).
[0027] Compared with the prior art, the present invention has the following advantages:
[0028] The digital ultrasonic power supply of the present invention adopts a digital design and has stronger anti-interference ability than the traditional ultrasonic power supply with a full hardware structure. Even if the output waveform of the ultrasonic power supply is seriously distorted due to load characteristics, it can still achieve frequency tracking of the resonant frequency error of ±5Hz and a constant current control effect with an output current error range of less than 5%. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is a structural block diagram of the digital ultrasonic power supply of the present invention.
[0030] Figure 2 yes Figure 1 Circuit diagram of the power amplifier inverter circuit and transformer boost module.
[0031] Figure 3 yes Figure 1 Circuit diagram of the drive circuit.
[0032] Figure 4 It is a control flow chart of the digital ultrasonic power supply of the present invention. DETAILED DESCRIPTION
[0033] like Figure 1 As shown, the digital ultrasonic power supply of the present invention, the load is an ultrasonic transducer, which is a capacitive load, and includes a DC power supply, a BUCK adjustable voltage circuit, a power amplifier inverter circuit, a transformer boost module, a drive circuit, a high-speed ADC sampling circuit, a human-computer interaction module, an MCU processor and an FPGA microprocessor.
[0034] The DC power supply provides the DC input voltage of the BUCK adjustable voltage circuit. The MCU processor outputs an analog signal through its own DAC module, i.e., a digital / analog conversion module, to control the output of the BUCK adjustable voltage circuit. The BUCK adjustable voltage circuit converts the DC power supply output voltage into an adjustable DC voltage of 0 to 48V, which is then input into the power amplifier inverter circuit. After being inverted into an ultrasonic frequency AC signal with a frequency of 20 to 50KHz by the power amplifier inverter circuit, it is then boosted to the required voltage by the transformer boost module, and then output to drive the ultrasonic transducer to work. The DDS generator inside the FPGA microprocessor generates an AC drive signal with adjustable frequency, which is transmitted to the drive circuit through the I / O port of the FPGA microprocessor, and is output by the drive circuit to drive the power amplifier inverter circuit to work. The MCU processor and the FPGA microprocessor are connected via an SPI interface.
[0035] The high-speed ADC sampling circuit adopts a high-speed ADC, i.e., an analog-to-digital converter, with a conversion time of less than 1us, to sample the voltage and current output by the digitized ultrasonic power supply respectively, and transmit them to the FPGA microprocessor through the I / O port of the FPGA microprocessor. After the filtering algorithm inside the FPGA microprocessor, the sampled voltage and current are filtered into standard sine waves respectively, and the current and voltage phase difference, current amplitude, voltage amplitude and voltage frequency are calculated respectively, and then the calculation results are transmitted to the MCU processor.
[0036] The BUCK adjustable voltage circuit adopts a wide range synchronous buck controller LM5116, which is suitable for high input voltage or wide input voltage environment.
[0037] The digital ultrasonic power supply also includes a protection circuit, which is an I / O port of the MCU processor connected to the enable end of the LM5116. The MCU processor makes a system abnormality judgment based on the current and voltage phase difference, current amplitude, voltage amplitude and voltage frequency calculated by the above-mentioned FPGA microprocessor. If it is found that the output voltage is too high, or the resonant frequency cannot be tracked due to damage to the load, or the frequency is detuned, etc., the MCU processor outputs an enable signal to the enable end of the controller LM5116 through the I / O port, so that the controller LM5116 stops working and quickly cuts off the power supply, thereby protecting the entire digital ultrasonic power supply system and the load.
[0038] The structure of the power amplifier inverter circuit is as follows Figure 2 As shown, the inverter part adopts a push-pull circuit, the AC drive signal input terminal A1 is connected in series with the resistor R1 and the DC blocking capacitor C1 in sequence, and then connected to the gate of the MOS tube Q1, the diode D3 is connected in parallel between the source and drain of the MOS tube Q1, and an R2C2 resistance-capacitance absorption circuit is also connected in parallel between the source and drain of the MOS tube Q1, the R2C2 resistance-capacitance absorption circuit is a resistor R2 and a capacitor C2 connected in series, and the source of the MOS tube Q1 is grounded. The diode D3 can effectively reduce the drain spike voltage. The spike voltage generated by the drain at the moment when the MOS tube Q1 is turned off can be used to release the residual voltage at both ends of the MOS tube Q1 by the conduction effect of the diode D3. At this time, the resistor R2 and the capacitor C2 form a loop, and the voltage on the capacitor C2 rises slowly, which will not cause an overvoltage shock to the MOS tube Q1. When the MOS tube Q1 is turned on, the energy stored in the capacitor C2 is released through the resistor R2. Similarly, the AC drive signal input terminal A2 is connected in series with the resistor R6 and the DC blocking capacitor C6 in sequence, and then connected to the gate of the MOS tube Q2. The diode D4 is connected in parallel between the source and drain of the MOS tube Q2. A R5C5 resistor-capacitor absorption circuit is also connected in parallel between the source and drain of the MOS tube Q2. The R5C5 resistor-capacitor absorption circuit is a resistor R5 and a capacitor C5 connected in series, and the source of the MOS tube Q2 is grounded. The series connection of the DC blocking capacitors C1 and C6 can remove DC interference. The input AC drive signal makes the MOS tube Q1 and the MOS tube Q2 operate alternately, and one is always in the on state and the other is in the off state, and the on and off time each occupy half a cycle.
[0039] At the DC voltage input terminal V IN A common-mode inductor L is connected in series to suppress the common-mode signal. In order to meet the voltage required by the load, a transformer T with a transformation ratio of 1:3 is added to boost the voltage, considering the need for reserve. One end of the primary side of the transformer T is connected to the drain of the MOS tube Q1, and the other end is connected to the drain of the MOS tube Q2. The DC voltage input terminal V INA common-mode inductor L is connected in series and then connected to the neutral line of the primary side of transformer T. One end of the primary side of transformer T is connected to the positive electrode of diode D1, and resistor R3 and capacitor C3 are connected in parallel between the negative electrode of diode D1 and the neutral line of the primary side of transformer T. Similarly, the other end of the primary side of transformer T is connected to the positive electrode of diode D2, and resistor R4 and capacitor C4 are connected in parallel between the negative electrode of diode D2 and the neutral line of the primary side of transformer T. The secondary side of transformer T outputs an AC voltage V OUT A current sampling resistor Rs is connected in series with one output end of the secondary side of the transformer T for the high-speed ADC sampling circuit to sample the output current. At the same time, the high-speed ADC sampling circuit also samples the output AC voltage V OUT , and send the sampled current and voltage data to the FPGA microprocessor respectively.
[0040] like Figure 3 As shown, the driving circuit adopts the UCC27324 chip, and the DDS signal generator inside the FPGA microprocessor outputs an AC driving signal, which is output through the I / O port of the FPGA microprocessor. The positive half-axis signal output terminal P1 and the negative half-axis signal output terminal P2 of the AC driving signal are respectively connected to the two input terminals INA and INB of the UCC27324 chip, and the output terminals OUTA and OUTB of the UCC27324 chip are each connected in series with a 10Ω resistor and are respectively connected to the AC driving signal input terminal A1 and the AC driving signal input terminal A2.
[0041] The MCU processors are also connected to human-computer interaction modules respectively, and the human-computer interaction modules use existing display screens and keyboards, or use touch screens.
[0042] Taking an ultrasonic transducer load with a resonant frequency of 40KHz and a constant current peak of 1A as an example, the control method of the digital ultrasonic power supply of the present invention is as follows: Figure 4 As shown, the steps are as follows:
[0043] (1) The digital ultrasonic power supply is started, and the FPGA microprocessor and MCU processor are initialized;
[0044] (2) A DC power supply inputs a DC voltage to the BUCK adjustable voltage circuit, which is then input to the power amplifier inverter circuit after voltage regulation by the BUCK adjustable voltage circuit. The FPGA microprocessor sets the initial frequency control word of the internal DDS generator, and the DDS generator outputs an AC drive signal, which is transmitted to the drive circuit via the I / O port of the FPGA microprocessor, and the drive circuit outputs an AC drive signal to drive the power amplifier inverter circuit to work; the output voltage of the power amplifier inverter circuit is boosted to the required voltage by the boost module and then output to the load; the MCU processor sets the input sweep frequency range to 39-41KHz and the target constant current peak value to 1A; the digital ultrasonic power supply starts working;
[0045] (3) The high-speed ADC sampling circuit samples the output current and output voltage of the digital ultrasonic power supply and sends them to the FPGA microprocessor. The FPGA microprocessor uses an internal filtering algorithm to filter the sampled output current and output voltage into standard sine waves, and calculates the current and voltage phase difference, voltage frequency, voltage amplitude and current amplitude respectively;
[0046] (4) The MCU processor performs a frequency sweep within the frequency sweep range of 39 to 41 kHz at a frequency interval of 10 Hz, and reads the current and voltage phase difference, voltage frequency, voltage amplitude, and current amplitude corresponding to each frequency sweep frequency in the calculation result of the FPGA microprocessor in step (3); compares the voltage frequency with the initial frequency control word to determine whether the frequency needs to be adjusted, and if the frequency needs to be adjusted, proceeds to step (5); compares the current amplitude with the target constant current peak value to determine whether the voltage needs to be adjusted, and if the voltage needs to be adjusted, proceeds to step (6); otherwise, proceeds to step (3);
[0047] (5) In the result read in step (4), the MCU processor uses the sweep frequency corresponding to the minimum current-voltage phase difference as the new resonant frequency and sends it to the FPGA microprocessor. The FPGA microprocessor sets the frequency control word of the DDS signal generator with the new resonant frequency. The DDS signal generator outputs an AC drive signal through the drive circuit to drive the power amplifier inverter circuit to operate, and then proceeds to step (7);
[0048] (6) The MCU processor takes the output current of the digital ultrasonic power supply as the control object and uses an incremental PID algorithm to adjust the output voltage of the BUCK adjustable voltage circuit so that the output current peak value of the digital ultrasonic power supply is always equal to the target constant current peak value 1A, and then proceeds to execute step (7);
[0049] (7) The MCU processor outputs the output current, output voltage, and resonant frequency to the display screen for display. During the operation of the digital ultrasonic power supply, the MCU processor monitors the output voltage amplitude and resonant frequency respectively. If an abnormal state such as excessive voltage amplitude or frequency detuning occurs, the BUCK adjustable voltage circuit is stopped by outputting an enable instruction through the I / O port, and the power supply is disconnected to protect the load and the digital ultrasonic power supply. If no abnormality occurs, the process goes back to loop and executes step (3).
[0050] The filtering algorithm inside the FPGA microprocessor in step (3) can adapt to frequency waveforms with a bandwidth of 20 to 80 kHz. The filtering algorithm uses a first first-order FIR filter to filter the input signal, then outputs it to a high-pass filter to filter out DC low-frequency signals, and finally outputs it to a second first-order FIR filter to filter out high-order harmonic interference.
[0051] The first and second first-order FIR filters are the same first-order FIR filters. The high-speed ADC sampling frequency is fs. When MATLAB simulates the first-order FIR filter, it is usually normalized to fs / 2. The requirements and parameters of the first-order FIR filter are as follows:
[0052] Sampling frequency: fs=10MHz.
[0053] Passband cutoff frequency Wp: Wp=20KHz.
[0054] Stop band cut-off frequency Ws: Ws=80KHz.
[0055] The minimum attenuation of the stop band is not less than: 50dB.
[0056] Function transition bandwidth: 0.92pi / N.
[0057] The transition band Wdelta of the first-order FIR filter is:
[0058] Wdelta=(Ws-Wp)×pi / (fs / 2)=0.012pi.
[0059] The order N of the first-level FIR filter can be calculated as:
[0060] N=0.92pi / Wdelta=0.92pi / 0.012pi=77.
[0061] Therefore, the order of the first-stage FIR filter is at least 77. Considering the implementation of the first-stage FIR filter in the FPGA microprocessor, the FPGA microprocessor shift operation is preferably a power of 2, and finally the first-stage FIR filter is selected to have an order of 128.
[0062] The algorithm formula of the high-pass filter is as follows:
[0063] Y(n)=X(n)+X(n-2)-2×X(n-1)
[0064] In the above formula, Y(n) is the nth value output by the high-pass filter, and X(n-2), X(n-1), and X(n) correspond to the n-2th, n-1th, and nth values output by the first-order FIR filter to the high-pass filter, respectively.
[0065] In the specification of the present invention, it is uniformly defined that pi=π=3.14, and N is the order of the first-order FIR filter.
[0066] The steps of calculating the current and voltage phase difference by the FPGA microprocessor in step (3) are as follows:
[0067] 1) Assume that the time when the current i leads the voltage v at the zero crossing is Dt1, ..., Dt n , the calculation method is as follows:
[0068]
[0069] Among them, vt1, …, vt n They correspond to the time when the voltage v crosses the zero point from the first to the nth time, it1, ..., it n They correspond one to one to the time when current i crosses zero from the first to the nth time.
[0070] 2) Calculate the total phase difference time Dt according to formula (1):
[0071]
[0072] In formula (1), Dt1, ..., Dt n and vt1, ..., vt n and it1, …, it n The definition of is the same as step 1).
[0073] 3) Calculate the current i waveform period tc according to formula (2):
[0074]
[0075] In formula (2), suppose step 2) from it1 to it n The time is a calculation cycle, k represents the number of sine wave cycles in the calculation cycle, it 2j 、it 2j-1 They respectively correspond to the time when the current i crosses the zero point for the 2jth and 2j-1th times within the calculation cycle.
[0076] The output voltage v waveform period is also equal to tc.
[0077] 4) Calculate the phase difference angle dt_angle according to formula (3):
[0078]
[0079] In formula (3), Dt, tc, and k are defined the same as in steps 1) to 3).
[0080] In step (3), the FPGA microprocessor calculates the frequency f of the output voltage: Where tc is the voltage v waveform period.
[0081] In step (3), the FPGA microprocessor calculates the amplitude of the output voltage: Where U is the effective value of the output voltage, U m is the maximum value of the output voltage.
[0082] In step (3), the FPGA microprocessor calculates the amplitude of the output current: Where I is the effective value of the output current, I m is the maximum value of the output current.
[0083] The digital ultrasonic power supply and control method of the present embodiment can achieve frequency tracking of the resonant frequency error of ±5 Hz and a constant current control effect with an output current error range of less than 5%, even when the output waveform of the ultrasonic power supply is severely distorted due to load characteristics.
Claims
1. A control method for a digital ultrasonic power supply, characterized in that: The digital ultrasonic power supply comprises a DC power supply, a BUCK adjustable voltage circuit, a power amplifier inverter circuit, a boost module, a drive circuit, a high-speed ADC sampling circuit, an MCU processor and an FPGA microprocessor; The DC power supply provides the input voltage of the BUCK adjustable voltage circuit, and the output voltage of the BUCK adjustable voltage circuit is input to the power amplifier inverter circuit, inverted into an ultrasonic frequency AC signal by the power amplifier inverter circuit, and then boosted to the required voltage by the boost module, so as to obtain the output voltage of the digital ultrasonic power supply and provide it to the load; The MCU processor controls the output voltage of the BUCK adjustable voltage circuit; The FPGA microprocessor generates an AC drive signal to drive the power amplifier inverter circuit to work through the drive circuit; The high-speed ADC sampling circuit samples the output current and output voltage of the digital ultrasonic power supply and sends them to the FPGA microprocessor; The MCU processor and the FPGA microprocessor are connected via the SPI interface; The BUCK adjustable voltage circuit adopts a wide range synchronous buck controller LM5116; It also includes a protection circuit, wherein the protection circuit is an enable end of the LM5116 connected to an I / O port of the MCU processor; The MCU processor outputs an analog signal through its own DAC module to control the output voltage of the BUCK adjustable voltage circuit; The DDS generator inside the FPGA microprocessor generates an AC drive signal, which is transmitted to the drive circuit via the I / O port of the FPGA microprocessor, and is output by the drive circuit to drive the power amplifier inverter circuit to work; The structure of the power amplifier inverter circuit is as follows: the AC drive signal input terminal A1 is connected in series with a resistor R1 and a DC blocking capacitor C1, and then connected to the gate of the MOS tube Q1. A diode D3 is connected in parallel between the source and drain of the MOS tube Q1. A R2C2 resistor-capacitor absorption circuit is connected in parallel between the source and drain of the MOS tube Q1. The R2C2 resistor-capacitor absorption circuit is a resistor R2 and a capacitor C2 connected in series. Meanwhile, the source of the MOS tube Q1 is grounded; the AC drive signal input terminal A2 is connected in series with a resistor R6 and a DC blocking capacitor C6, and then connected to the gate of the MOS tube Q2. A diode D4 is connected in parallel between the source and drain of the MOS tube Q2. A R5C5 resistor-capacitor absorption circuit is a resistor R5 and a capacitor C5 connected in series. Meanwhile, the source of the MOS tube Q2 is grounded; at the DC voltage input terminal V IN Connect a common mode inductor L in series; The structure of the boost module is as follows: one end of the primary side of the transformer T is connected to the drain of the MOS tube Q1, and the other end is connected to the drain of the MOS tube Q2, and the neutral line of the primary side of the transformer T is connected to one end of the common mode inductor L; one end of the primary side of the transformer T is connected to the positive electrode of the diode D1, and a resistor R3 and a capacitor C3 are connected in parallel between the negative electrode of the diode D1 and the neutral line of the primary side of the transformer T; the other end of the primary side of the transformer T is connected to the positive electrode of the diode D2, and a resistor R4 and a capacitor C4 are connected in parallel between the negative electrode of the diode D2 and the neutral line of the primary side of the transformer T; the secondary side of the transformer T outputs an AC voltage V OUT That is, the output voltage of the digital ultrasonic power supply; The driving circuit adopts UCC2732 chip; The MCU processor is also connected to a human-computer interaction module, and the human-computer interaction module adopts an existing display screen and keyboard, or adopts a touch screen; The control method of a digital ultrasonic power supply comprises the following steps: (1) The digital ultrasonic power supply is started, and the FPGA microprocessor and MCU processor are initialized; (2) The FPGA microprocessor sets the initial frequency control word of the DDS generator, and the DDS generator outputs an AC drive signal, which is transmitted to the drive circuit through the I / O port of the FPGA microprocessor, and the drive circuit outputs the signal to drive the power amplifier inverter circuit to work; the user inputs the sweep frequency range and the target constant current peak value to the MCU processor through the human-computer interaction module; the digital ultrasonic power supply starts working; (3) The high-speed ADC sampling circuit samples the output current and output voltage of the digital ultrasonic power supply and sends them to the FPGA microprocessor respectively. The FPGA microprocessor filters the sampled output current and output voltage into standard sine waves respectively, and calculates the current and voltage phase difference, voltage frequency, voltage amplitude and current amplitude respectively; (4) The MCU processor performs a frequency sweep within the frequency sweep range according to the frequency interval unit, and reads the current and voltage phase difference, voltage frequency, voltage amplitude and current amplitude corresponding to each frequency sweep point in the calculation result of the FPGA microprocessor in step (3) respectively; compares the voltage frequency with the initial frequency control word to determine whether the frequency needs to be adjusted, and if the frequency needs to be adjusted, proceeds to step (5); compares the current amplitude with the target constant current peak value to determine whether the voltage needs to be adjusted, and if the voltage needs to be adjusted, proceeds to step (6); otherwise, proceeds to step (3); (5) The MCU processor uses the sweep frequency corresponding to the minimum current-voltage phase difference as the new resonant frequency and sends it to the FPGA microprocessor. The FPGA microprocessor sets the frequency control word of the DDS signal generator with the new resonant frequency. The DDS signal generator outputs an AC drive signal through the drive circuit to drive the power amplifier inverter circuit to operate, and then proceeds to step (7). (6) The MCU processor takes the output current of the digital ultrasonic power supply as the control object and uses an incremental PID algorithm to adjust the output voltage of the BUCK adjustable voltage circuit so that the output current peak value of the digital ultrasonic power supply is always equal to the target constant current peak value, and then proceeds to execute step (7); (7) The MCU processor outputs the output current, output voltage and resonant frequency to the display screen for display. During the operation of the digital ultrasonic power supply, the MCU processor monitors the output voltage and resonant frequency respectively. If an abnormal state such as excessive voltage or frequency detuning occurs, the BUCK adjustable voltage circuit is stopped by outputting an enable instruction through the I / O port, and the power supply is disconnected to protect the load and the digital ultrasonic power supply. If no abnormality occurs, the process goes back to loop and executes step (3).
Citation Information
Patent Citations
Rotary ultrasonic machining driver based on BUCK circuit
CN104135163A
Voltage-regulating variable-frequency hierarchical control ultrasonic plastic welding power supply
CN105226984A
Ultrasonic driving power supply for automatically tracking series resonance frequency of transducer
CN110702971A
Sinusoidal wave ultrasonic power supply of ultra -large -power
CN208445485U
Transformer-free ultrasonic generator for a handheld device
DE102012109035A1
