Design requirements:
(1) The circuit input is 15~26V, the output is 15~35V, and the maximum current is 5A;
( 2) It can monitor and close-loop control the output voltage and current in real time, and the single-chip microcomputer PWM controls the output of the Boost circuit;
(3) The LCD screen displays the power output mode and parameters, and the buttons can switch modes.
Power circuit
1 Boost main circuit
The PWM modulation signal output by the microcontroller is input into the power switch driver. After the signal energy is amplified inside the driver, the power switch can be driven more effectively.
2 Auxiliary power circuit
The K7812-2000R3 switching regulator converts the input voltage to 12V to provide the operating voltage for the UCC27517DBVR driver;
The LM1117IMPX linear voltage regulator can convert 12V voltage to 3.3V and 5.0V, respectively providing operating voltage for the control circuit and current sensor ACS712ELCTR-20A composed of the STM32F103 minimum system circuit, key control circuit and TFT LCD color screen display circuit.
3 Voltage and current sampling circuit
The voltage sampling uses three voltage dividing resistors with resistance values of 22k, 10k and 3.3k respectively;
The current sensor ACS712ELCTR-20A-T is used for current sampling . The output voltage has a linear relationship with the detected DC current within the specified detection range.
Control circuit
1 STM32F103 minimum system circuit
The STM32F1038T6 minimum system circuit mainly implements functions such as PWM modulation signal output, TFT LCD screen control, button control, and voltage and current sampling.
It also includes sub-module circuits such as external high-speed crystal oscillator circuit, power supply pin decoupling filter circuit, reset circuit, indicator light circuit and SWD circuit.
2 button control circuit
6 buttons with distinct functions are used as the control circuit.
3 TFT LCD digital boost circuit
It adopts 128×128 resolution and 1.44-inch color TFT high-definition display.
Testing and Analysis
Constant voltage mode test
Set the reference voltage to 20V and change the load resistance. The test data is as shown in the table:
During the change of the load resistance from 15 to 30Ω, the output voltage floats within the normal range, the output current gradually decreases, and the system works in constant voltage mode.
Constant current mode test
Set the reference current to 2A and change the load resistance. The test data is as shown in the table:
During the change of the load resistance from 15 to 30Ω, the output current floats within the normal range, the output voltage gradually increases, and the system works in constant current mode.
Digital Boost system in action