摘要:本文主要论述了一种基于51 单片机为核心控制器的数控直流电源的设计原理和实现方法。该电源具有电压可预置、可步进调整、输出的电压信号和电流信号可同时显示功能。文章介绍了系统的总体设计方案,其主要由微控制器模块、稳压控制模块、电压/电流采样模块、显示模块、键盘模块、电源模块五部分构成。该系统原理是以STC89C52 单片机为控制单元,以数模转换芯片DAC0832 输出参考电压控制电压转换模块LM317 输出电压大小,同时输出稳压、恒流采用模数转换芯片ADC0832 对采样的电压、电流转换为数字信号,再通过单片机实现闭环控制。文章最后对数控直流电源的主要性能参数进行了测定和总结,并对其发展前景进行了展望。
关键词:单片机(MCU);数模转换器(DAC);模数转换器(ADC);闭环控制
Abstract:The method of this paper based on the 51 microcontroller core of the numerical controller DC power supply design theory and realization. The power supply has some functions such as presetting voltage, stepping adjustment, displaying the output voltage signals and current signals at the same time. This paper introduces a general designing plan of the system, which is mainly consisted of micro-controller module, DC Regulators module, voltage/current sampling module, display module keyboard module, power supply module. The system is based on the principle of single-chip, microcomputer to control the unit STC89C52 to DAC0832 digital-to-analog converter chip reference voltage to control the output voltage LM317 output voltage conversion module size, while the output voltage regulator, current use of analog-to-digital converter ADC0832 chip sampling of voltage and current converted to digital signals, and then through the single-chip closed-loop control to achieve. Article on the main DC power supply CNC performance parameters were measured and summarized and their development prospects.
Key words: microcontroller (MCU), the Digital to Analog (DAC),the Analog to Digital (ADC), the closed-loop control