Design of intelligent soft-start high-power constant current source based on single-chip microcomputer control

Publisher:bettyloveLatest update time:2011-11-15 Source: OFweek半导体照明网Keywords:Intelligent Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

The instantaneous current impact during the power supply startup process is very large, which has a serious impact on the service life of the power supply and devices. Using a good control method to control the startup current to reduce its harm, so that there is no instantaneous impact during the startup process and it can change continuously, is a key step in the power supply startup control. The power supply soft start method is to control the output voltage and current so that the voltage and current of the load gradually increase. For the controlled object of the linear time-invariant model, properly adjusting the PID parameters can obtain a more satisfactory control effect, which can well solve the problem of excessive current. PID control can well solve the problems of oscillation and overshoot during the startup process, can better protect the power supply, and the startup is reliable and stable. Using a single-chip microcomputer as a controller , it is flexible in programming, cost-effective, and easy to implement human-machine interface management. Use software to adjust the nonlinearity of the system to reduce the deviation between the measured value and the set value. Factors such as fluctuations in power supply voltage or current, aging of circuit components , and ambient temperature will affect the stability of the power supply. In order to stably control the power supply, this solution adopts a high-speed AD and DA data acquisition system based on a single-chip microcomputer, and uses a PID algorithm to achieve soft start of a high-power power supply. The system uses PID voltage sampling feedback to control the output current to remain constant, with high accuracy, fast response speed, good flexibility and high stability.

1 Realization of high-power precision constant current source

1.1 Power System Design

With the microcontroller as the core, the following functions are completed: Processing keyboard input values, including circuit preset values ​​and "+" and "-" steps; Controlling digital LCD display Preset values ​​and actual values; Controlling ADC and DAC ; Compensating for deviation values ​​through program control algorithms based on the feedback signals obtained. Since one path of the op amp OPA549 is controlled by the D/A converter, the voltage at the input of the op amp OPA549 is adjusted, and one path is a proportional amplifier circuit. When the DAC outputs a preset value or a step value, the output of the current source varies within the range of 0 ~ 8 A. After the output voltage is sampled by a small resistor in series with the load, it is sent to the ADC. The sampled value and the preset value are calculated and compared inside the microcontroller to output the control signal to compensate for the deviation value. The nonlinearity of the system is adjusted by software to reduce the deviation between the measured value and the set value.

1.2 Power supply circuit Design

(1) CNC core

A single C8051F is used to control the keyboard and display of the digital control DC source, and to control the output current with the D/A converter and A/D converter. The reference voltage of the A/D converter is powered by a dedicated ±9 V power supply, and the reference voltage of the D/A converter is powered by a +20 V power supply. The data sent by the microcontroller is converted by the DAC to output the control voltage.

(2) Operational amplifier OPA549 current source amplifier circuit.

OPA549 is a high voltage and high current power operational amplifier newly launched by BB. It can provide excellent low-level signals, output high voltage and high current, and can drive various loads. The main features of this device are: large output current, continuous output current can reach 8 A, peak current can reach 10 A; wide operating voltage range, single power supply is +8 V~+60 V, dual power supply is ±4 V~±60 V; large output voltage swing; overheat shutdown function, current limit adjustable; enable and disable functions; overheat shutdown indication; conversion efficiency (slew rate) up to 9 V/μs; operating temperature range is -40℃~+85℃. This device is mainly used to drive high current loads such as industrial equipment, test equipment, power supplies, audio power amplifiers, etc.

In this power supply system, a large current is mainly provided to the load, and the PID control algorithm is used to control the luminous intensity of the load . The input is the control voltage output by the microcontroller through the DAC, and one path is a proportional amplifier circuit, as shown in Figure 1, with a gain of G=1+R3/R2. The current-type DAC is converted into a voltage through R1 to control OPA549. The output current is converted into a sampling voltage through a sampling resistor, sent to the A/D converter and fed back to the microcontroller for deviation compensation.

Figure 1 OPA549 constitutes an adjustable high current constant current source

(3) Heat dissipation and anti-interference.

When the OPA549 high-power tube is working, it generates a constant large current, consumes a lot of power, and generates a lot of heat. Heat dissipation has become an urgent problem for the power supply. The motor of a general axial fan is equipped with a pulse drive circuit. When driven, the pulse component can easily "overflow" along the motor power line directly, interfering with other electrical equipment. Interference on video equipment is manifested as horizontal diagonal lines, and noise is generated on audio equipment. For this reason, a large area of ​​copper heat sink is installed, and a fan is used to force the electronic components in the equipment to dissipate heat. When installing the fan, a high-frequency magnetic ring needs to be wound in series on the fan motor power line to resist interference. The series magnetic ring effectively filters out these interference components, and generally only 1 to 3 turns are needed.

2 PID Control Algorithm

The control function of the system soft start is realized by the proportional integral differential controller. It is a mature, widely used control method that compares the deviation between the given signal and the feedback signal and performs proportional, integral, differential and other operations. It has a simple structure, strong flexibility, and convenient system parameter adjustment, and does not require a model.

The PID control principle is shown in Figure 2. PID control is a linear regulator that subtracts the set value W from the actual output value to obtain the control deviation e. The deviation value e is linearly combined to form the control quantity U after proportional, integral, and differential, and controls the object. Among them, the proportional regulator plays a basic regulatory role, mainly affecting the sensitivity and control speed of the control system. The integral regulator can automatically adjust the control quantity, eliminate steady-state errors, and make the system stable. The differential regulator can reduce overshoot, overcome oscillation, and at the same time speed up the system's stabilization speed and shorten the adjustment time, thereby improving the system's dynamic performance.

Figure 2 PID control principle diagram

The relationship between the output and input of the PID controller can be expressed as:

Where: Ti is the integral time constant; Td is the differential time constant; Kp is the proportional coefficient; Ki is the integral constant, Ki=Kp/Ti; Kd is the differential constant, Kd=Kp/Td.

The system startup time is short, the startup voltage and current are large, and the impact on the load is also large, resulting in the dynamic load peak value of the load in the startup stage being much greater than the load during normal operation, which is easy to cause damage to the load. To solve this problem, a new PID control soft start power supply system is designed, which is mainly composed of a power supply, a large current constant current source, and a sampling and control system for the output large current end, and the test in the laboratory has been completed. When the power supply starts, the single-chip microcomputer system first gives the set voltage, current or power. PID soft start controls the output according to the law of linear load increase. In the process of linear increase of load voltage, if the current exceeds the specified range, the voltage closed loop is immediately put into use, so that the current value is limited within the set range, and then the voltage is gradually increased linearly to the rated value, and the light intensity of the system gradually increases from zero to complete the startup process.

Keywords:Intelligent Reference address:Design of intelligent soft-start high-power constant current source based on single-chip microcomputer control

Previous article:Overview and Flowchart of Monolithic Switching Power Supply Design
Next article:Design of Current Sensing Circuit in Current Mode Control DC/DC Converter

Latest Power Management Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号