计算机与网络
計算機與網絡
계산궤여망락
CHINA COMPUTER & NETWORK
2014年
16期
54-56
,共3页
李思嘉%刘秋朋%张继学%张爱丽
李思嘉%劉鞦朋%張繼學%張愛麗
리사가%류추붕%장계학%장애려
数字电压表%自动转换%控制%单片机
數字電壓錶%自動轉換%控製%單片機
수자전압표%자동전환%공제%단편궤
digital voltage meter%automatic switching%control%single chip microcomputer
针对传统数字电压表结构复杂、成本高、寿命短和不便升级等问题,提出来一种基于C语言以P89V51单片机为控制核心的数字电压表,硬件电路采用正负双积分型A/D转换器;电源电路用稳压芯片LM7805和LM7905来处理,电压负荷在+5 V和-5 V电压之间;数字信号处理采用CD4052B,由LM324构成量程自动转换电路。控制功能用C语言编程实现。测量范围:10 mV-2 V,分辨率1 mV(2 V档);测量误差小于±0.5 V;输入电阻大于1 MΩ。实验结果表明,该电压表能够抑制工频干扰且测量精度高,具有自动校零、量程自动切换功能和便于自动升级等优点。
針對傳統數字電壓錶結構複雜、成本高、壽命短和不便升級等問題,提齣來一種基于C語言以P89V51單片機為控製覈心的數字電壓錶,硬件電路採用正負雙積分型A/D轉換器;電源電路用穩壓芯片LM7805和LM7905來處理,電壓負荷在+5 V和-5 V電壓之間;數字信號處理採用CD4052B,由LM324構成量程自動轉換電路。控製功能用C語言編程實現。測量範圍:10 mV-2 V,分辨率1 mV(2 V檔);測量誤差小于±0.5 V;輸入電阻大于1 MΩ。實驗結果錶明,該電壓錶能夠抑製工頻榦擾且測量精度高,具有自動校零、量程自動切換功能和便于自動升級等優點。
침대전통수자전압표결구복잡、성본고、수명단화불편승급등문제,제출래일충기우C어언이P89V51단편궤위공제핵심적수자전압표,경건전로채용정부쌍적분형A/D전환기;전원전로용은압심편LM7805화LM7905래처리,전압부하재+5 V화-5 V전압지간;수자신호처리채용CD4052B,유LM324구성량정자동전환전로。공제공능용C어언편정실현。측량범위:10 mV-2 V,분변솔1 mV(2 V당);측량오차소우±0.5 V;수입전조대우1 MΩ。실험결과표명,해전압표능구억제공빈간우차측량정도고,구유자동교령、량정자동절환공능화편우자동승급등우점。
Aiming at the shortcomings of traditional digital voltage meter such as complex structure, high cost, short service life and difficult upgrade, a digital voltage meter is proposed, which is based on C language and uses P89V51 single chip microcomputer as control core. The hardware circuit uses dual integrating A/D converter;the power supply circuit is handled by steady voltage chip LM7805 and LM7905;the voltage load ranges from+5 V to-5 V;the digital signal processing adopts CD4052B, and the automatic range conversion circuit is constituted by LM324. The control function is implemented by C language programming. The measurement range is from 10 mV to 2 V, the resolution ratio is 1 mV (2V gear);the measurement error is less than ±0.5 V;the input resistance is greater than 1 MΩ. The experimental results show that the voltage meter can restrain the power interference, has high measurement accuracy and such advantages as automatic zero, automatic range switching and automatic upgrade.