天津科技大学学报
天津科技大學學報
천진과기대학학보
JOURNAL OF TIANJIN UNIVERSITY OF SCIENCE & TECHNOLOGY
2014年
1期
65-68,74
,共5页
李亚峻%徐世超%黄建民%王洁%马强
李亞峻%徐世超%黃建民%王潔%馬彊
리아준%서세초%황건민%왕길%마강
现场可编程门阵列%VHDL语言%模数转换%BCD码
現場可編程門陣列%VHDL語言%模數轉換%BCD碼
현장가편정문진렬%VHDL어언%모수전환%BCD마
FPGA%VHDL%ADC%BCD code
将FPGA与模数转换器TLV571相结合设计了数字电压表。用VHDL语言编程实现了模拟电压的测量、模数转换、计算与读取,用状态机完成了FPGA对TLV571的控制。将数字电压、模拟电压的BCD码与ROM地址、数据一一对应,用查找表的方式从相应的ROM地址中取出高4位和低4位BCD码,对二者进行BCD码加法运算即可获得模拟电压值。通过实验平台测试验证了数字电压表设计的正确性。
將FPGA與模數轉換器TLV571相結閤設計瞭數字電壓錶。用VHDL語言編程實現瞭模擬電壓的測量、模數轉換、計算與讀取,用狀態機完成瞭FPGA對TLV571的控製。將數字電壓、模擬電壓的BCD碼與ROM地阯、數據一一對應,用查找錶的方式從相應的ROM地阯中取齣高4位和低4位BCD碼,對二者進行BCD碼加法運算即可穫得模擬電壓值。通過實驗平檯測試驗證瞭數字電壓錶設計的正確性。
장FPGA여모수전환기TLV571상결합설계료수자전압표。용VHDL어언편정실현료모의전압적측량、모수전환、계산여독취,용상태궤완성료FPGA대TLV571적공제。장수자전압、모의전압적BCD마여ROM지지、수거일일대응,용사조표적방식종상응적ROM지지중취출고4위화저4위BCD마,대이자진행BCD마가법운산즉가획득모의전압치。통과실험평태측시험증료수자전압표설계적정학성。
Combining FPGA with ADC TLV571,a digital voltmeter was designed. The analog voltage measurement, analog-digital conversion,computing and reading were realized with VHDL language. TLV571,was controlled by FPGA with a state machine. The digital voltage and BCD codes of analog voltage are in one-to-one correspondence with theROM address and data. Using the look-up tables,the highest four bit BCD codes and the lowest four bit BCD codes can be read from corresponding ROM addresses and then the analog voltage can be computed through the addition operation of the two BCD codes. Experiments with experimental platform confirmed the validity of the digital voltmeter’s design.