The invention discloses a high-
voltage charging and discharging circuit based on
digital control and a self-adaptive regulation and control method thereof, and belongs to the technical field of charging and discharging, and the circuit mainly comprises an ARM
microprocessor digital control module, a charging
signal trigger module, a charging and discharging module, an isolation driving module and a
signal isolation sampling module. An ARM
microprocessor digital control framework is introduced on the basis of a traditional analog circuit, and an
ARM microcontroller generates a PWM
signal to drive a power switch device high-frequency switch control
transformer to convert input
voltage into high-frequency square-wave pulse electric
voltage to charge a high-
voltage pulse capacitor. The signal isolation sampling module samples a charging voltage value in real time, a
software control algorithm is combined to adjust a PWM signal in time to form charging closed-
loop control, and when it is detected that the charging voltage value reaches a preset threshold value, a discharging signal is directly generated in the ARM
microprocessor to drive a power switch device to complete a discharging action. And the control precision, the response speed and the autonomy of charging and discharging are greatly improved.