Design of digital controlled DC voltage regulated power supply based on single chip microcomputer

Publisher:风轻迟Latest update time:2014-03-10 Source: elecfansKeywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
  With the continuous emergence of new power electronic devices and circuit topologies suitable for higher switching frequencies, traditional application technologies have minimized the impact of switching power supply performance due to the limitations of power device performance. New power supply circuit topologies and new control technologies can enable power switches to operate in zero voltage or zero current states. In order to improve the working efficiency of switching power supplies, it is necessary to design switching power supplies with excellent performance.

  1. Comparison of several CNC DC regulated power supply design schemes

  1.1 Circuit principles of several design schemes

  Solution 1: Use analog discrete components and pure hardware to realize functions. Through power transformer, rectifier filter circuit and voltage regulator circuit, the voltage regulator can output ±5 V, ±12 V, ±15 V stably and can output 0~30 V voltage, as shown in Figure 1. However, due to the large dispersion of analog discrete components and the large influence between resistors and capacitors, the designed indicators are not high and do not meet the design requirements. In addition, there are many devices used, the connection is complex, the flexibility is poor, the power consumption is also large, and there are many solder joints and lines, which affects the stability and accuracy of the finished product.


Figure 1 Circuit principle of solution 1

  Solution 2: This solution adopts the traditional adjustment tube solution. Its main feature is to use a set of dual counters to complete the control function of the system. The output of the binary counter is converted by D/A to control the reference voltage of the error amplification to control the output step. The decimal counter drives the digital tube to display the output voltage value after decoding. In order for the system to work properly, the dual counters must work synchronously.


Figure 2 Circuit principle of solution 2

  Solution 3: This solution is different from Solution 1 in that it uses a set of decimal counters to decode and display the voltage on the one hand, and its output is used as the address input of the EPROM on the other hand. The output of the EPROM is converted by D/A to control the error amplification synchronization problem. However, since the control data is burned into the EPROM, the flexibility of system design is reduced.


Figure 3 Circuit principle of solution 3

  Solution 4: This solution uses the 51 series single-chip microcomputer as the control unit of the whole machine. By changing the input digital quantity to change the output voltage value, the output voltage of the switch-controlled power supply changes, and the output voltage is indirectly changed. In order to enable the system to detect the actual output voltage value, the analog-to-digital conversion is performed through ADC0809, and the voltage is indirectly sampled in real time by the single-chip microcomputer, and then the data is processed. The single-chip microcomputer is used to program the output of the digital signal, and the analog quantity is output through the D/A converter (DA0830), and then the output voltage is controlled by the switch power supply circuit to achieve the purpose of voltage stabilization. The single-chip microcomputer system also takes into account the real-time monitoring of the constant voltage source. After the output voltage is converted from current to voltage, the analog quantity is converted into data quantity in real time through the A/D conversion chip. After the single-chip microcomputer analyzes and processes it, the voltage is more stable through the feedback link in the form of data, forming a stable voltage-controlled voltage source. In addition, the PWM-controlled switching power supply has the advantages of high integration, high cost performance, simplest peripheral circuit, best performance index, and can form a high-efficiency isolated switching power supply without industrial frequency transformer. Moreover, the cost is comparable to that of a linear regulated power supply of the same power, while the power efficiency is significantly improved and the size and weight are greatly reduced. [page]


Figure 4 Circuit principle of scheme 4

  2. Comparison and demonstration of the schemes

  (1) Output module

  Solution 1: Use a linear voltage regulator to increase/decrease the output by changing its reference voltage. In this way, the influence of the ripple after rectification and filtering on the output ground cannot be ignored. This output can only be measured with a multimeter. In Solution 2 and Solution 3, an operational amplifier is used as the front-end operational amplifier. Since the operational amplifier has a large power supply voltage rejection ratio, the ripple voltage at the output end can be reduced. In Solution 1, the large capacitor connected in parallel at the output end of the linear voltage regulator to suppress the ripple reduces the response speed of the system, so that the output voltage is difficult to track the fast-changing input. The output voltage waveform in Solution 4 is the same as the D/A conversion output waveform. It can not only output DC level, but also generate a variety of waveform outputs as long as the quantized data of the waveform is generated in advance, so that the system has a signal source with a certain driving capability.

  (2) CNC module

  Solution 1 uses pure hardware to control the output of voltage. The most basic circuit principle analysis requires the calculation of the load size and the selection of the voltage regulator. Solution 2 and Solution 3 use medium and small-scale devices to implement the numerical control part of the system. Many chips are used, resulting in complicated internal circuit interface signals, many interrelationships in the middle, and poor anti-interference ability. For example, once the dual counters in Solution 1 count out of sync, the displayed voltage will be inconsistent with the output voltage. In Solution 4, the AT89C51 microcontroller is used to complete the functions of the entire numerical control part. At the same time, as an intelligent programmable device, AT89C51 is convenient for the expansion of system functions.


Figure 5 Scheme 5 CNC module

  (3) Control module

  In this system, a PWM regulation circuit with D/A conversion function, a chopper circuit, a current regulator and an adjustable voltage regulator (LM317) are used to control the output reference voltage. A/D conversion sampling is used to make the output more accurate, with small ripple, expandable current, and easy circuit protection.

  (4) Display module

  The display output in Scheme 2 and Scheme 3 directly decodes and displays the quantized value of the voltage. The displayed value is the input of the D/A conversion. Due to the error introduced by the D/A conversion and the power drive circuit, there may be a large deviation between the displayed value and the actual output value of the power supply. Scheme 4 uses an A/D conversion circuit to sample the output voltage, analyze and process it through the single-chip microcomputer, and make the voltage more stable through the data feedback link, so that the deviation between the displayed value and the actual output is minimized. Scheme 4 uses a 4-bit digital voltmeter to directly sample the output voltage and display the actual output voltage value. Once the system works abnormally and the deviation between the preset value and the output value is too large, the user can process it according to the information. The query time of the keyboard/display is also used to improve the CPU utilization.

  3. Conclusion

  As mentioned earlier, although Scheme 3 has many advantages over the previous two, Schemes 1 and 2 are not unfeasible for meeting the design requirements, and they even have advantages in some aspects. One of the important considerations for adopting Scheme 4 is that the system uses a single-chip microcomputer, which makes further functional expansion more convenient.

Keywords:MCU Reference address:Design of digital controlled DC voltage regulated power supply based on single chip microcomputer

Previous article:Design of wireless sensor telemetry system
Next article:Design of wireless access point based on Bluetooth

Recommended ReadingLatest update time:2024-11-15 15:04

Design of a smart home watering device using AT89S52 microcontroller
With the improvement of people's living standards, flowers are gradually favored by people, cultivating sentiment and purifying the air. Using a single-chip microcomputer, a home intelligent watering device is designed to realize automatic watering, saving manpower and facilitating people's business trips without affe
[Microcontroller]
Design of a smart home watering device using AT89S52 microcontroller
A simple digital tube clock based on 51 single chip microcomputer
Looking at the materials in the drawer, I wanted to make something for fun. I originally wanted to make a 99-meter meter, but there were not enough key switches, so I changed it to a clock. Without further ado, here are the pictures. The final simulation schematic diagram of the minimum system   display module is as
[Microcontroller]
A simple digital tube clock based on 51 single chip microcomputer
Design of running water lamp based on 51 single chip microcomputer
Three buttons: A button to start, B button to control different water flow speeds (low, medium and high), C button Design idea 1 (no interruption): The positive poles of the 8 LED lights are connected to the power supply, and the negative poles are connected to the microcontroller I/O port. Infinite loop: Set port
[Microcontroller]
Design of running water lamp based on 51 single chip microcomputer
MCU label information and package type
        I personally use stc chips, so I will give a brief introduction based on the numbers on the stc chips.          All the numbers on a chip are STC89C52RC 40C-PDIP 1046N1K877.90C.         Logo Explanation:         STC - chip manufacturing company.         8——Indicates that the chip is an 8051 core chip  
[Microcontroller]
MCU Keyboard Learning
Keyboard categories:        Keyboards are divided into coded keyboards and non-coded keyboards.        The recognition of closed keys on the keyboard is realized by a dedicated hardware encoder, and the key code number or key value is called an encoded keyboard, such as a computer keyboard; The keyboard that is identi
[Microcontroller]
MCU Keyboard Learning
51 MCU Tutorial (IV): Independent-Matrix Keyboard Application and Design
Introduction: The previous lecture introduced and applied the serial port communication of the microcontroller, and gave examples. From this lecture, the peripheral circuits of the microcontroller will be introduced. This lecture introduces the circuit of the microcontroller external keyboard. Through this lecture, re
[Microcontroller]
51 MCU Tutorial (IV): Independent-Matrix Keyboard Application and Design
Summary of LCD1602 based on 51 single chip microcomputer to realize minute and second timing
Completion requirements 1. Realize the timing of minutes and seconds. 2. Use buttons to control the adjustment of minutes and seconds (two buttons control the increase of minutes and seconds respectively). 3. Realize the function of telling time in whole and minute (buzzer sounds). 4. Drawing and welding of PCB board
[Microcontroller]
Summary of LCD1602 based on 51 single chip microcomputer to realize minute and second timing
51 single chip microcomputer experiment - simulating three machine fault detection and indication systems
1. Experimental topic: A three-machine fault detection and indication system is simulated in Proteus, as shown in Figure 2. When there is no fault, LED0 is on; when there is a fault, LED0 is off. When fault 1 (P2.0 is 0), LED1 is on; when fault 2 (P2.1 is 0), LED1 is on; when fault 3 (P2.2 is 0), LED3 is on. 2.KEIL
[Microcontroller]
51 single chip microcomputer experiment - simulating three machine fault detection and indication systems
Latest Microcontroller 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号