Digital push-pull high-voltage power supply with controllable boost time
By designing a digital push-pull high-voltage power supply with controllable boost time in a high pulse discharge system, and using the MCU main controller and PID closed-loop control algorithm, the problem of uncontrollable power boost time is solved and the stable output of the power system is achieved. and precise control of boost time.
Patent Information
- Application Number
- CN202410669356.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-09-17
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing high pulse discharge system, the power supply voltage boost time is uncontrollable, requiring the establishment of complex mathematical models, the control time is not accurate, and the implementation process is complex.
Design a digital push-pull high-voltage power supply with controllable boost time, using MCU main controller, push-pull boost topology circuit, PWM drive circuit, auxiliary power circuit, input current sampling circuit and output voltage sampling circuit, through PID The closed-loop control algorithm and timer control the PID reference value to achieve stable output voltage and controllable boost time.
It achieves stable output of DC voltage of the power system and achieves precise control of the voltage boost time within the range of 150ms-500ms, with a control error within 5%.
Smart Images

Figure CN118659670A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of high pulse discharge, and aims to charge an output capacitor of a high pulse discharge system. Technical Background
[0002] High pulse discharge systems are now widely used in high-voltage ignition, electrostatic dust removal, electromagnetic weapons and other fields. For example, in the field of electromagnetic weapons, the high-voltage capacitor in the high-pulse discharge system is used to instantly discharge to the solenoid or metal rail to generate a strong magnetic field, which promotes the launch of the missile or the take-off of the carrier-based aircraft; in the field of high-voltage ignition, the high-voltage capacitor in the high-pulse discharge system is used to instantly discharge to the discharge tube to generate high-speed flying pieces to cause electric sparks, which then trigger the detonation of explosives or the ignition of fuel; in the field of electrostatic dust removal, the electrostatic precipitator connects the metal rod of the discharge electrode to the negative electrode of the high-voltage capacitor in the high-pulse discharge system, and the dust collecting electrode to the positive electrode. The dust collecting electrode uses a round tube or a flat plate. After the capacitor is discharged, under the action of the electric field, the dust in the gas is ionized and tends to deposit on the anode surface to achieve the dust removal effect.
[0003] The high pulse discharge system is a circuit system that releases the electric energy stored in the energy storage element to the load in a single pulse or a short pulse of a certain frequency. The system is generally composed of four parts, namely the primary power supply, the charging power supply, the energy storage element and the energy release network. The function of the primary power supply is to use a voltage regulator to provide the system with an initial voltage; the function of the charging power supply is to convert the low DC voltage into a DC high voltage and then store it in the energy storage element. Because of its special role, it is also called a special power supply; the energy storage element exists in various forms, and the common ones are high-voltage capacitors and high-voltage inductors. Among them, there are many studies on energy storage using high-voltage capacitors, the technology is relatively mature, and the application is more extensive. The energy release network is generally played by a load connected to an electronic switch. The work of the high pulse discharge system is divided into two stages: energy storage and energy release. In the energy storage stage, the high-voltage special power supply is first used to charge the high-voltage capacitor in a short time, and when the rated voltage is reached. In the energy release stage, the stored energy is released in a very short time. After the discharge is completed, the next charging and discharging process will begin.
[0004] In a high pulse discharge system, the power converter must be able to boost the initial voltage of tens of volts to thousands of volts or even more than ten kilovolts. As the core of the entire system, it is directly related to whether the system can operate efficiently, normally and stably. In different occasions, such as high-voltage ignition, laser power supply, vacuum coating, electrostatic dust removal and electromagnetic weapons, there are different requirements for the power boost time. The existing high pulse discharge power supply adopts active disturbance rejection control (ADRC) to achieve controllable boost time. See Kang Z, Li Y. Active Disturbance Rejection Control of Full-Bridge DC-DC Converter for a Pulse Power Supply with Controllable Charging Time. Electronics. 2023; 12(24): 5018. This technology establishes a mathematical model based on the proposed converter pulse power supply topology. According to the mathematical model, the unmodeled model parameters and coupling variables of the DC-DC converter are regarded as system disturbances, and a linear extended state observer is established. Then, a linear active disturbance rejection controller is designed to control the charging current of the pulse power supply. This control method can track the charging current and thus control the charging time of the pulse power supply 0 0. However, the problem brought by this control method is that the control time is not accurate, a complex mathematical model needs to be established, and the implementation process is relatively complicated. Summary of the invention
[0005] In view of the above problems, the present invention designs a digital push-pull high-voltage power supply with controllable boost time. The power supply uses a push-pull topology as the main power circuit and an MCU as the main control. The system input voltage of 20V-33V DC voltage is converted into a 2KV DC high voltage to charge the output capacitor, so that the device is in a standby state; through the output voltage closed-loop control algorithm, a stable output of 2KV voltage is achieved; at the same time, according to different boost time requirements, a soft start time control method is used to complete the control of the output voltage boost time.
[0006] The technical solution of the present invention is: Figure 1 , a digital push-pull high-voltage power supply with controllable boost time, characterized by comprising an MCU main controller circuit, a push-pull boost topology circuit, a PWM drive circuit, an auxiliary power supply circuit, an input current sampling circuit and an output voltage sampling circuit;
[0007] The push-pull boost topology circuit is connected in series with the input and output ends of the system voltage to control the output voltage. In the push-pull boost topology circuit, the input voltage is converted into a high-frequency voltage pulse through the control of the switch tube on the primary side of the transformer. The voltage pulse is coupled to the secondary side through the transformer step-up. After rectification and filtering, the DC high voltage is obtained to charge the output capacitor;
[0008] The auxiliary power supply circuit has three levels: a first auxiliary power supply circuit, a second auxiliary power supply circuit and a third auxiliary power supply circuit; the first auxiliary power supply circuit is connected in parallel to the voltage input end of the power supply system; the first auxiliary power supply circuit converts the input voltage into a V1 DC voltage to provide a working power supply for the PWM drive circuit; the second auxiliary power supply circuit converts the V1 DC voltage output by the first auxiliary power supply into a V2 DC voltage to provide a working power supply for the MCU main controller circuit, the input current sampling circuit and the output voltage sampling circuit secondary side; the third auxiliary power supply circuit converts the V2 DC voltage output by the second auxiliary power supply into a V3 DC voltage through isolation transformation to provide a working power supply for the primary side of the output voltage sampling circuit.
[0009] The input current sampling circuit is connected in series to the voltage input terminal of the power supply system; the input current sampling circuit collects the input current signal and inputs it into the MCU main controller circuit.
[0010] The output voltage sampling circuit is connected in parallel to the voltage output terminal, collects the output voltage signal and inputs it into the MCU main controller circuit.
[0011] The PWM driving circuit is connected in series to the PWM signal output end of the MCU main controller circuit and the PWM signal input end of the push-pull boost topology circuit.
[0012] The MCU main controller circuit outputs a corresponding PWM signal after algorithm calculation based on the collected output voltage signal, and controls the push-pull boost topology circuit to adjust the output voltage and control the boost time of the output voltage through the PWM drive circuit; in addition, the MCU main controller circuit performs overcurrent monitoring on the collected input current signal. When it is detected that the input current exceeds a predetermined value, the MCU main controller circuit outputs a corresponding PWM signal or a level signal to deal with the circuit input current overcurrent problem.
[0013] The control algorithm of the MCU main controller circuit is as follows:
[0014] Step 1: Before powering on, set the PID algorithm reference value V in the program ref The initial value is U a and the output voltage target value V target =U b (The output voltage preset value is U bWhen the actual output voltage is 2KV, set the interrupt time of timer TIMx. Each time timer TIMx is interrupted, the reference value V ref Add U c .
[0015] Step 2: After the system is powered on, a 20V-33V DC voltage is input to the input end, the auxiliary power supply module starts working, the first auxiliary power supply circuit converts the input DC voltage into a DC voltage V1 to power the PWM drive circuit and the second auxiliary power supply circuit, the PWM drive circuit starts working, and the second auxiliary power supply circuit converts the DC voltage V1 into a DC voltage V2. The DC voltage V2 output by the second auxiliary power supply circuit powers the MCU main controller circuit, the input current sampling circuit, the secondary side of the output voltage sampling circuit, and the third auxiliary power supply circuit. The MCU main controller circuit and the input current sampling circuit start working, and the third auxiliary power supply circuit converts the DC voltage V2 into an isolated DC voltage V3. The isolated DC voltage V3 output by the third auxiliary power supply circuit powers the primary side of the output voltage sampling circuit, and the output voltage sampling circuit starts working.
[0016] Step 3: After the auxiliary power supply circuit, MCU main controller circuit, input current sampling circuit, output voltage sampling circuit and PWM drive circuit are working normally, the MCU program starts to run. The MCU program is first initialized to complete ADC initialization, timer TIMx initialization, system clock initialization, HRTIM timer initialization, PID initialization, serial port initialization, etc.
[0017] Step 4: After initialization, the MCU main controller circuit controls the PWM drive circuit to enable through the I / O port output level signal; the control program defines the various parameter variables, flags, and structures set by the hardware system; then resets the variables and the system enters the working mode; the MCU main controller ADC module starts running and performs cyclic detection on the output voltage signal collected by the output voltage sampling circuit and the input current signal collected by the input current sampling circuit.
[0018] Step 5: After the HRTIM timer is initialized, it enters the HRTIM interrupt polling, and the PID algorithm starts running; at the same time, after the timer TIMx is initialized, it enters the interrupt polling, and the reference value V ref At the beginning of the program running, the HRTIM timer and timer TIMx enter the first interrupt polling, the ADC module of the MCU main controller detects that the output voltage is zero, and the PID algorithm calls the reference value V output by the general timer TIM interrupt program ref Initial value, i.e. V ref =U a The PID algorithm samples the output voltage signal V o and reference value Vref Perform PID calculation (V ref -V o =V err >0), after the operation, the MCU main controller circuit outputs two high-resolution PWM signals with the same frequency, a phase difference of 180°, and an equal and smaller duty cycle to the drive circuit through two high-resolution PWM signal output ports. After the drive, the two switch tubes in the push-pull boost topology circuit are controlled to be on and off, and the push-pull boost topology circuit starts to boost.
[0019] Step 6: Then, the program calculates the reference value V ref and the target value V target For comparison, when the reference value V ref Less than the target value V target When the PID algorithm continues to call the reference value V output by the timer TIMx interrupt program ref At this time, the general timer TIM interrupt program has completed the overflow interrupt and entered the next polling, the reference value V ref =U a +U c PID algorithm samples the output voltage signal V o and reference value V ref Continue to perform PID calculation and output a PWM signal with a corresponding duty cycle to the PWM signal input end of the drive circuit. After being driven, the on and off of the two switch tubes in the push-pull boost topology circuit are controlled, and the push-pull boost topology circuit continues to boost.
[0020] Step 7: Repeat this cycle, when the reference value V ref Greater than or equal to the target value V target When the PID algorithm stops calling the reference value V output by the timer TIMx interrupt program ref , at this time the reference value V ref ≥U b The PID algorithm samples the output voltage signal V o and reference value V ref Continue to perform PID calculation and output a PWM signal with a corresponding duty cycle to the signal input end of the drive circuit. After driving, the on and off of the two switch tubes in the push-pull boost topology circuit are controlled. The push-pull boost topology circuit outputs a 2KV voltage and enters a voltage regulation state, and the boost time control ends.
[0021] The intentional effects of the present invention are as follows: in order to realize the stable output of the DC voltage of the power supply system, the system adopts the output voltage isolation sampling circuit and the PID closed-loop control algorithm to complete the closed-loop control of the power supply system, and realizes the stable output of the power supply system by reasonably setting the proportional, integral and differential parameters of the PID algorithm; secondly, in order to realize the function of controllable boost time of the power supply system, the system adopts the method of timer controlling the PID reference value, and controls the increase of the reference value of the PID algorithm through each interruption of the timer, thereby realizing the controllable boost time. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 This is the hardware design block diagram of a digital push-pull high-voltage power supply with controllable boost time.
[0023] Figure 2 This is a test result diagram of a digital push-pull high-voltage power supply system with controllable boost time in an embodiment.
[0024] Figure 3 MCU controller circuit diagram in the embodiment
[0025] Figure 4 The driving circuit diagram in the embodiment is
[0026] Figure 5 The output voltage sampling circuit diagram in the embodiment
[0027] Figure 6 This is a push-pull boost topology circuit diagram in the embodiment
[0028] Figure 7 The auxiliary power supply circuit diagram in the embodiment
[0029] Figure 8 This is a working diagram of a digital push-pull high-voltage power supply system with controllable boost time in an embodiment. DETAILED DESCRIPTION
[0030] In this embodiment, the MCU main controller circuit: the controller circuit is as follows Figure 1 As shown in the dashed box, it is an integrated microcontroller, which includes a central processing unit (CPU), internal memory and various peripherals. This system needs to use its most basic general purpose input and output port (GPIO) peripherals, ADC, general timer and high-precision timer. This design uses the controller chip STM32F334R8T6 with a high-precision timer as the main control, which can meet the high-resolution PWM required for the device to boost, and can also use the built-in ADC of the chip according to actual conditions. The ADC samples the output voltage and input current analog signals, and the main controller controls the output voltage through a closed-loop control algorithm. The hardware circuit diagram is shown in Figure 3 shown.
[0031] Among them, the output voltage signal collected by the output voltage sampling circuit is input into the single-chip microcomputer through ADC_IN1, and the input current signal collected by the input current sampling circuit is input into the single-chip microcomputer through ADC_IN2; the ENA and ENB ports output high-level or low-level signals to the driver chip to control the enablement or disablement of the driver chip; the HRTIM_CHA1 and HRTIM_CHA2 ports output two high-resolution PWM signals with the same frequency, equal duty cycle and phase difference of 180° to the INA and INB signal input terminals of the driver chip, which control the on and off of the two switching tubes in the push-pull boost topology circuit after driving, thereby controlling the output voltage.
[0032] PWM drive circuit: Since the MCU cannot directly control the on and off of the power MOS tube, it is necessary to drive the PWM signal output by the MCU. This design uses the SLM27524 chip to complete the drive circuit design. The SLM27524 chip is a dual-channel, high-speed, low-side gate driver that can provide 4.5A of current driving capability under 12V power supply, and the signal delay is about 13ns. The MCU main control circuit outputs two high-resolution PWM signals. The PWM signal is input into the INA and INB ports of the driver chip SLM27524. After being driven, it is output through the chip OUTA and OUTB ports, thereby controlling the operation of the two switch tubes in the push-pull boost topology circuit. Among them, the ENA and ENB ports of the SLM27524 chip are the enable ends of the A channel and the B channel of the driver chip. The MCU inputs a high-level signal to control the channel enable. After the channel is enabled, the driver chip OUTA and OUTB ports can output PWM signals. The hardware circuit diagram is as follows Figure 4 shown.
[0033] Output voltage sampling circuit: In order to achieve feedback regulation of the output voltage, this article needs to design an output voltage sampling circuit; at the same time, in order to effectively eliminate electromagnetic interference and electric shock threats, reduce signal distortion and sampling errors, this design uses the isolation operational amplifier NSI1311 to complete the output voltage sampling circuit design and complete the output voltage sampling work. The isolated voltage sampling circuit divides the output voltage through a resistor and then transmits the isolated electrical signal through the isolation operational amplifier NSI1311, and then inputs the collected signal into the MCU for further processing through the differential circuit and RC filter circuit. The hardware circuit diagram is as follows Figure 5 shown.
[0034] Among them, V out is the system output voltage, V o is the output voltage signal value read by the microcontroller through the ADC_IN1 port. The calculation formula is:
[0035]
[0036] When the output voltage is 2KV, Vo =2V.
[0037] Input current sampling circuit: To achieve feedback regulation of input current, it is necessary to first design a current sampling circuit to collect input current. This design uses the Hall element CC6904SO10 chip to complete the input current sampling circuit design. The current sampling circuit collects the power supply input current value and converts it into a voltage signal. After filtering by a low-pass filter circuit, the signal is input to the MCU. The hardware circuit diagram is shown in the figure below. Figure 5 As shown, I i The MCU reads the input current signal value. in is the system input current, I i It is the input current signal value read by the microcontroller through the ADC_IN2 port. The calculation formula is:
[0038] I i =(I in +12.5)×132×10 -3
[0039] When the input current I in When it is greater than 2.5A, I i =1.85V. When the input current is set to be greater than 2.5A, it is considered overcurrent. i When ≥1.85V, the microcontroller stops outputting PWM.
[0040] Push-pull boost topology circuit: In the push-pull boost topology circuit, after the input power is filtered by the 10μF / 50V input capacitor connected in parallel to the voltage input end, the positive pole of the input power is connected to the middle tap of the primary side of the transformer, and the transformer selects the PC44EPC13 magnetic core; the two ends of the primary side of the transformer are connected to the two switch tubes respectively, and the switch tube selects the power MOS tube IRF540; the two ends of the primary side of the transformer are connected to the drain of IRF540 respectively, and the source of the two MOS tubes IRF540 is grounded; the gates of the two MOS tubes IRF540 are connected to the signal output end of the PWM drive circuit respectively; since the PWM operating frequency in this design is 400KHz, at this frequency, due to the MOS tube meter The circuit impact caused by the Le effect cannot be ignored. At the same time, in order to protect the MOS tube, this design requires a 51-ohm drive resistor to be connected in series between each MOS tube gate and the PWM drive circuit output pin to limit the drive current and prevent damage to the chip due to excessive instantaneous drive current. The secondary side of the transformer adopts a full-bridge rectifier circuit. The full-bridge rectification has low voltage requirements for the rectifier diodes. The voltage borne by each diode is small, which can greatly improve the reliability and safety of the system. The diode uses a fast recovery diode SP5LG. After full-bridge rectification, the AC voltage output by the transformer is converted to DC voltage and the output capacitor is charged. The output capacitor uses a 0.22μF / 3KV capacitor. The hardware circuit diagram is as follows Figure 6 shown.
[0041] Auxiliary power supply circuit: In this circuit system, whether it is the single-chip microcomputer chip, driver chip, current detection chip or isolation amplifier chip, auxiliary power supply is required. Therefore, this section designs an auxiliary power supply circuit. In order to meet the power supply requirements of the driver chip, this design uses the L7812 linear buck converter to convert the input voltage into a 12V stable voltage to power the driver chip. In order to meet the 3.3V power supply requirements of the output side of the single-chip microcomputer circuit, current sampling circuit and voltage sampling circuit, this design uses the linear buck regulator LM317 chip to complete the design of the 12V to 3.3V DC conversion circuit. In order to ensure the safety of the circuit, an isolated power supply is required for the auxiliary power supply on the high-voltage side. For this purpose, this design uses the SGM46000 chip to complete the DC 3.3V-5V isolated conversion power supply design. This chip is an integrated main-side controller, driver and full-bridge conversion circuit chip, which can be used for auxiliary power supply of isolated power supply circuits. The chip only needs to connect a set of parallel RC circuits to provide an oscillation signal. The internal field-effect transistor driver will output two complementary PWM signals with a duty cycle of 50%. After the 1.2:2 transformer coupling boost, a DC 5V voltage output is achieved through full-wave rectification. To prevent overshoot and voltage spikes, a 5.1V TVS tube is connected in parallel at the output to protect the components in the circuit from damage. The hardware circuit diagram is as follows Figure 7 shown.
[0042] See also Figure 8 , the control algorithm of the MCU main controller circuit in this example is as follows: The program flow of the digital push-pull high-voltage power supply with controllable boost time is as follows:
[0043] Step 1: Before powering on, set the PID algorithm reference value V in the program ref The initial value is 0.001 and the output voltage target value V target =2V (when the program sets the output voltage preset value to 2V, the actual output voltage value is 2KV); set the TIM2 timer interrupt time, each time the TIM2 timer is interrupted, the PID algorithm reference value V ref Add 0.001.
[0044] Step 2: After the system is powered on, a 20V-33V DC voltage is input to the input end, and the auxiliary power supply module starts working. The L7812 buck circuit in the auxiliary power supply circuit converts the 20V-33V DC voltage into a DC 12V voltage to power the PWM drive circuit and the LM317 buck circuit. The PWM drive circuit starts working, and the LM317 buck circuit converts the 12V DC voltage into a DC 3.3V. The LM317 buck circuit outputs a 3.3V DC voltage to power the MCU main controller circuit, the input current sampling circuit, the secondary side of the output voltage sampling circuit, and the DC 3.3V-5V isolated power conversion circuit. The MCU main controller circuit and the input current sampling circuit start working, and the DC 3.3V-5V isolated power conversion circuit converts the 3.3V voltage into an isolated DC 5V voltage. The DC 3.3V-5V isolated power conversion circuit isolates the DC 3.3V voltage and converts it into a DC 5V voltage through the SGM46000 chip to power the primary side of the voltage sampling circuit, and the output voltage sampling circuit starts working.
[0045] Step 3: After the auxiliary power supply circuit, MCU main controller circuit, input current sampling circuit, output voltage sampling circuit and PWM drive circuit are working normally, the MCU program starts to run. The MCU program is first initialized to complete ADC initialization, TIM2 timer initialization, system clock initialization, HRTIM timer initialization, PID initialization, serial port initialization, etc.
[0046] Step 4: After initialization, the MCU outputs a high level to the driver chip through the ENA and ENB ports, and the PWM drive circuit is enabled; then the various parameter variables, flags, and structures set by the hardware system are defined; the variables are reset, and the system enters the working mode; the MCU ADC module starts running, and the output voltage signal collected by the output voltage sampling circuit and the input current signal collected by the input current sampling circuit are cyclically detected.
[0047] Step 5: After the HRTIM timer is initialized, it enters the HRTIM interrupt polling, and the PID algorithm starts running; at the same time, after the TIM2 timer is initialized, it enters the TIM2 interrupt polling, and the reference value V ref At the beginning of the program running, the HRTIM timer and TIM2 timer enter the first interrupt polling, the MCU ADC module detects that the output voltage is zero, and the PID algorithm calls the reference value V output by the TIM2 interrupt program. ref Initial value, i.e. V ref =0.001. The PID algorithm samples the output voltage signal V o and reference value V ref Perform PID calculation (V ref -V o =V err>0), after the operation, the single-chip microcomputer circuit outputs two high-resolution PWM signals with the same frequency, phase difference of 180°, and equal and smaller duty cycle to the driver chip INA and INB signal input terminals through the two ports HRTIM_CHA1 and HRTIM_CHA2. After driving, the two switch tubes in the push-pull boost topology circuit are controlled to be on and off, and the push-pull boost topology circuit starts to boost.
[0048] Step 6: Then, the program calculates the reference value V ref and the target value V target For comparison, when the reference value V ref Less than the target value V target When the PID algorithm continues to call the reference value V output by the TIM2 interrupt program ref At this time, the TIM2 interrupt program has completed the overflow interrupt and entered the next polling, the reference value V ref =0.001+0.001=0.002V, PID algorithm samples the output voltage signal V o and reference value V ref Continue to perform PID calculation and output PWM signals with corresponding duty cycle to the INA and INB signal input terminals of the driver chip. After driving, the on and off of the two switch tubes in the push-pull boost topology circuit are controlled, and the push-pull boost topology circuit continues to boost.
[0049] Step 7: Repeat this cycle, when the reference value V ref Greater than or equal to the target value V target When the PID algorithm stops calling the reference value V output by the TIM2 interrupt program ref , at this time the reference value V ref ≥2V. PID algorithm samples the output voltage signal V o and reference value V ref Continue to perform PID calculation and output PWM signals with corresponding duty cycle to the INA and INB signal input terminals of the driver chip. After driving, the on and off of the two switching tubes in the push-pull boost topology circuit are controlled. The push-pull boost topology circuit outputs 2KV voltage and enters the voltage regulation state, and the boost time control ends.
[0050] In this embodiment, firstly, in order to achieve a stable output of 2KV DC voltage of the power supply system, the system adopts an output voltage isolation sampling circuit and a PID closed-loop control algorithm to complete the closed-loop control of the power supply system, and realizes the stable output of the power supply system by reasonably setting the proportional, integral and differential parameters of the PID algorithm; secondly, in order to realize the controllable boost time of the power supply system, the system adopts a method of controlling the PID reference value by a timer, and controls the increase of the reference value of the PID algorithm through each interruption of the timer, thereby realizing the controllable boost time.
[0051] The test results of this embodiment are as follows. The boost time is set by the single chip program. After the system is powered on, the output waveform is observed and the test results are recorded. The test is shown in Table 1 below. The output voltage and boost time waveforms are shown in Table 1 below. Figure 2 The test results show that the push-pull high-voltage power supply system with controllable boost time can achieve a stable output of 2KV output voltage, a boost time control of 150ms-500ms, and a control error within 5%.
[0052] Table 1 Digital push-pull high voltage power supply boost time test results
[0053]
Claims
1. A digital push-pull high-voltage power supply with controllable boost time, characterized in that: It includes MCU main controller circuit, push-pull boost topology circuit, PWM drive circuit, auxiliary power supply circuit, input current sampling circuit and output voltage sampling circuit; The push-pull boost topology circuit is connected in series with the input and output ends of the system voltage to control the output voltage. In the push-pull boost topology circuit, the input voltage is converted into a high-frequency voltage pulse through the control of the switch tube on the primary side of the transformer. The voltage pulse is coupled to the secondary side through the transformer step-up. After rectification and filtering, a DC high voltage is obtained to charge the output capacitor. The auxiliary power supply circuit has three levels: a first auxiliary power supply circuit, a second auxiliary power supply circuit and a third auxiliary power supply circuit; the first auxiliary power supply circuit is connected in parallel to the voltage input terminal; the first auxiliary power supply circuit converts the input voltage into a V1 DC voltage to provide a working power supply for the PWM drive circuit; the second auxiliary power supply converts the V1 DC voltage output by the first auxiliary power supply into a V2 DC voltage to provide a working power supply for the MCU main controller circuit, the input current sampling circuit and the output voltage sampling circuit secondary side; the third auxiliary power supply circuit converts the V2 DC voltage output by the second auxiliary power supply into a V3 DC voltage through isolation transformation to provide a working power supply for the primary side of the output voltage sampling circuit; The input current sampling circuit is connected in series to the voltage input terminal of the power supply system; the input current sampling circuit collects the input current signal and inputs it into the MCU main controller circuit; The output voltage sampling circuit is connected in parallel to the voltage output terminal, collects the output voltage signal and inputs it into the MCU main controller circuit; The PWM driving circuit is connected in series to the PWM signal output end of the MCU main controller circuit and the PWM signal input end of the push-pull boost topology circuit; The MCU main controller circuit outputs a corresponding PWM signal after algorithm calculation based on the collected output voltage signal, and controls the push-pull boost topology circuit to adjust the output voltage and control the boost time of the output voltage through the PWM drive circuit; in addition, the MCU main controller circuit performs overcurrent monitoring on the collected input current signal. When it is detected that the input current exceeds a predetermined value, the MCU main controller circuit outputs a corresponding PWM signal or a level signal to deal with the circuit input current overcurrent problem.
2. A digital push-pull high-voltage power supply with controllable boost time as shown in claim 1, wherein the control algorithm of the MCU main controller circuit is characterized in that: The steps include: Step 1: Before powering on, set the PID algorithm reference value V in the program ref The initial value is U a and the output voltage target value V target =U b ; Set the overflow time of the general timer TIM counter. Every time the general timer TIM counter overflows, the PID algorithm reference value V ref Add U c ; Step 2: After the system is powered on, a 20V-33V DC voltage is input to the input end, and the auxiliary power supply module starts working. The first auxiliary power supply circuit converts the input DC voltage into a DC voltage V1 to power the PWM drive circuit and the second auxiliary power supply circuit. The PWM drive circuit starts working, and the second auxiliary power supply circuit converts the DC voltage V1 into a DC voltage V2; the second auxiliary power supply circuit outputs a DC voltage V2 to power the MCU main controller circuit, the input current sampling circuit, the secondary side of the output voltage sampling circuit, and the third auxiliary power supply circuit. The MCU main controller circuit and the input current sampling circuit start working, and the third auxiliary power supply circuit converts the DC voltage V2 into an isolated DC voltage V3; the isolated DC voltage V3 output by the third auxiliary power supply circuit powers the primary side of the output voltage sampling circuit, and the output voltage sampling circuit starts working; Step 3: After the auxiliary power supply circuit, MCU main controller circuit, input current sampling circuit, output voltage sampling circuit and PWM drive circuit are working normally, the MCU program starts to run; the MCU program is first initialized to complete ADC initialization, general timer TIM initialization, system clock initialization, HRTIM timer initialization, PID initialization, serial port initialization, etc.; Step 4: After the initialization is completed, the MCU main controller circuit controls the PWM drive circuit to enable through the I / O port output level signal; the control program defines the various parameter variables, flags, and structures set by the hardware system; then resets the variables, and the system enters the working mode; the ADC module of the MCU main controller starts running, and performs cyclic detection on the output voltage signal collected by the output voltage sampling circuit and the input current signal collected by the input current sampling circuit; Step 5: After the HRTIM timer is initialized, it enters the HRTIM interrupt polling, and the PID algorithm starts running; at the same time, after the general timer TIM is initialized, it enters the interrupt polling, and the reference value V ref Start accumulating; at the beginning of the program running, the HRTIM timer and the general timer TIM enter the first interrupt polling, the ADC module of the MCU main controller detects that the output voltage is zero, and the PID algorithm calls the reference value V output by the general timer TIM interrupt program ref Initial value, i.e. V ref =U a PID algorithm samples the output voltage signal V o and reference value V ref Perform PID calculation (V ref -V o =V err >0), after the operation, the MCU main controller circuit outputs two high-resolution PWM signals with the same frequency, a phase difference of 180°, and an equal and smaller duty cycle to the driving circuit through two high-resolution PWM signal output ports, and after the driving, controls the on and off of the two switch tubes in the push-pull boost topology circuit, and the push-pull boost topology circuit starts to boost; Step 6: Then, the program calculates the reference value V ref and the target value V target For comparison, when the reference value V ref Less than the target value V target When the PID algorithm continues to call the reference value V output by the general timer TIM interrupt program ref At this time, the general timer TIM interrupt program has completed the overflow interrupt and entered the next polling, the reference value V ref =U a +U c PID algorithm samples the output voltage signal V o and reference value V ref Continue to perform PID calculation and output a PWM signal with a corresponding duty cycle to the PWM signal input terminal of the driving circuit. After driving, the two switch tubes in the push-pull boost topology circuit are controlled to be turned on and off, and the push-pull boost topology circuit continues to boost the voltage. Step 7: Repeat this cycle, when the reference value V ref Greater than or equal to the target value V target When the PID algorithm stops calling the reference value V output by the general timer TIM interrupt program ref , at this time the reference value V ref ≥U b PID algorithm samples the output voltage signal V o and reference value V ref Continue to perform PID calculation and output a PWM signal with a corresponding duty cycle to the signal input end of the drive circuit. After driving, the on and off of the two switch tubes in the push-pull boost topology circuit are controlled. The push-pull boost topology circuit outputs a 2KV voltage and enters a voltage regulation state, and the boost time control ends.
Citation Information
Patent Citations
Push-pull circuit of DC / DC (Direct Current / Direct Current) part
CN102386780A
MCU-controlled push-pull boosted circuit
CN105790593A
Regulated switched mode power supplies having adjustable output voltages
CN113141100A
Three-phase three-level high-power-factor rectifying device and method
CN113437889A
Adjusting device and adjusting method for electroporation energy storage voltage and electroporation instrument
CN116827119A
Cited By
Power supply circuit, circuit control method, electronic device, and storage medium
CN121441058A
Power supply circuit, circuit control method, electronic device, and storage medium
CN121441058B
High-voltage charging and discharging circuit based on digital control and self-adaptive regulation and control method thereof
CN121906690A
A digital control-based high-voltage charging and discharging circuit and an adaptive regulation method thereof
CN121906690B
