摘要
传统的数字系统通过设计线路板实现系统性能,而可编程器件是通过设计芯片内部的互联逻辑来实现系统功能。文章采用在系统可编程器件FLEX20K和一个模数转换器ADC0809以及外围显示数码管,在MAX+PLUSII开发软件环境下,采用VHDL语言,实现了对0-5V范围的采样电压测量系统。模数转换器在接口控制模块的作用下,将输入的模拟信号转换为8位二进制数字信号;然后通过存储器将其转换为相应大小值的七段显示码,送到显示电路中,显示转换后数据值。系统功能经过验证,测量结果符合ADC0809的精度要求。该系统中除A/D转换器和数码管是对应的外围器件,其余所有电路都集成在可编程器件FLEX20K上,可以使系统在不改变整体结构的基础上,进行扩展和维护。
The programmable digital devices implement the logical function by designed internal logic array block while the traditional digital systems do it by designed printed circuit block. This paper had proposed a design of measure system to sample ADC0809 and numeral codes. voltage ranged from zero to The design adopted VHDL five volt by using the device FLEX20K, the device language under the environment of MAX + PLUS II Firstly, the device ADC0809 converts analog data into 8 bit digital data under control of ADC0809 interface block. Secondly, the memory block converts 8 bit digital data into 7 bit displayed numeral codes. Lastly, decimal numerical value is displayed under control of display circuit block. The function of system was tested and verified. The conclusion is consistent with exactitude of A/D device. Except the device ADC0809 and the displayed numeral codes, the other circuits is integrated on the In-system programmable FLEX20K device, so this measure system has expediently characteristic of maintaining and expanding.
出处
《电子测量与仪器学报》
CSCD
2006年第5期103-108,共6页
Journal of Electronic Measurement and Instrumentation
基金
青岛大学科研基金资助项目(编号:2004.3)。
关键词
在系统可编程技术
VHDL语言
A/D转换接口
十进制转换
显示控制
in-system programmable technology, VHDL language, A/D interface circuit, decimalization, control of display circuit.