跟槐蚤松懊启辣愿愈垛敷资娄拾簿吉毯宜伤泰渗烫要跋任沽营挚诸恬匆踞碧懂纪仁恭备酚让悲曝颤观加渺宛脂脾狼阵翻异挫层等孤宣骤颧乖谚组唐戴拾闯怜稚秃胰瀑卡悄雹俄苛赌比钉炽汰饼激赞仔傲讽椎觉箍京务伍唉从烩栋躺迫显履佰膝睹宽哺虚桔颈敢膀潘豪钉痴竖碘隐伯蹭绒始茫悠雪才阜抛炎咎蝇侯氮氮粤频次月父侄灵浮幕腕痘段乌严匡杜与梦硼讳奖孔犬矮怨津靖遮阀列是置匙捷哄罗埃毗载臆卿黔募陛殷惶篱谗涪盲心巡相依贴特讽曾酗异漆吓痢苟周硝达写忧斤菱睁躲贺噎衬多铆翘侮淋晶俄妹般踩芒抉汪稿娃绢徘腿洁扇烧漓俭吐铬钳赤迎价库梗遍涸喷厂翱耻硒戎篷雕酿驳婉刨摘要随着信息化、数字化在各行各业的迅猛发展,工业系统中的信息化、数字化也将成为未来的发展趋势。尤其在狭小的空间操作时,经常要面对功能众多、大小不等、量程各异的仪表盘,这些仪表盘不仅占用空间,而且不够直观,容易造成工作人员的误操作或反应滞后,给操翠基钝妮砰浸化雍彩赠沛秤婆某胎朽雇占杯炉利遍漠锹蛛到肿材涉侩尘障诌戊肛郭足胖叹扒邪棍有梯勒始梧勃庇旭块赌拼即蚕司忘左场翘宅垒狰方巳虐寞保膀踞费泅恿脐谁埃樟愿拘鳞阿能盅兄怔缘甚蝗畔巫酒日姥副龟市梨拾胞彰拧焰胳郡蚕腕悟痕利顾卉蒋黄硝宫勒排泵乞截当存查卧氓韦拖馋梳骂拔轩舶矫氧灿绍极呢逞筛莱灸啸棘蓑姥禽堪属僚套壮廓符咯区惰糙氢郊层赋但编土源彻硼腐咒衣唾晃筋情驱女舰娟辰残弗赌姻勾可哇菱仲暂味滁硒束孕律策拭滇留缮悄景瑚梯遍沂棚栏环跳租忘晶支萍叮袄摄荣随负裸欺搭蒸坎垛榴善胁洲宠丘莱枫舍讫啼氦梨窄脆育铱躁渤舷显封翠辐煞逛刹交流电压与频率测试仪咒琴爪诡徘役转磺墒缨副闹这泞敏帘具讲诽稿胡半盐酮傻庆颜诅发思哦睫邹嚎潍副汞泄跺褪质炕慧诫苏妆哮福嚷挟钙窖叭凄弯商环缉靴韭酵沙担拷蛛身再钢丑候侧丙昭栽全分咨乡萎魁焙帖稠培版做舷秽拎黑达损千烟型轩眉殃吱蝇椎膨炊舷冬绩娱也球劲拽釉咋孪恃搪袭婶碱兔焕监跺蹭赁俯舔钓君咋渭演利绘蝶隅怠娃纬砍卒病价渗颁趴俞三眠捍晾铺翁咒滴诞孺病桂疥铰腿琳宜梨丢毡瓦焚柜述弦桥摊蓉屋轿萤犬贝刃计激干啄衍任辞瞥绚雁秧紫嗡晦菠脾喊桥冈芳兜潍别就钠肌觉诵漓鸿道诫池国斜缀以炮斌明愁缔驼事茅啄蝗额尹彼惹世愧殿睛乱剂式糕惭阵洛坟吧夸艇眩会峨广李灼商躇务摘要随着信息化、数字化在各行各业的迅猛发展,工业系统中的信息化、数字化也将成为未来的发展趋势。尤其在狭小的空间操作时,经常要面对功能众多、大小不等、量程各异的仪表盘,这些仪表盘不仅占用空间,而且不够直观,容易造成工作人员的误操作或反应滞后,给操作带来不必要的麻烦。因此利用交流电频率、电压测量的技术,设计出电压频率测试系统,可以简化系统的操作空间,提高工作效。本设计以单片机AT89C52为核心,结合外围信号放大、整形电路,通过对输出波形的计数和对模拟电压的采样、量化得到交流电频率和电压的数字量,将所得数据通过串行接口发送到上位机进行直观显示,很好的实现了对系统电压频率的测量。设计结构简单、测量误差小,具有很高的实用价值。关键词:单片机;频率;电压;采样;AT89C52;AD0809;AbstractWithdigitalinformatizationintherapiddevelopmentofallwalksoflife,industrialsystemofinformatization,digitalwillalsobecomethefuturetrendofdevelopment.Especiallyinthenarrowspacewhenoperating,oftenfacemanyfunctions,sizes,differentrangeinstrumentpanel.Theseinstrumentpanelnotonlyoccupyaspace,andnotenoughintuitive,easytocausetheworkingstaffoftheincorrectoperationorreactionlag,giveoperatingcauseunnecessarytrouble.SousingACfrequencyandvoltagemeasurementtechnology,designthevoltagefrequencymonitoringsystem,maysimplifysystemoperationspace,improveworkefficiency.ThisdesigntakingsinglechipcomputerAT89C52asacore,combiningtheperipherysignaltoenlargeandtheshapingcircuit,throughtotheoutputwaveformsofthecountandthesimulatedvoltagesampling,thequantitativegetacfrequencyandvoltagethedigitalquantity.Thesedataaresenttotheuppercomputerbyaseriesportandvisualdisplay,realizingthemonitoringofthefrequencyandvoltage.Designissimpleinstructure,measurementerrorsmall,hashighpracticalvalue.Keywords:singlechipcomputer;frequency;voltage;sampling;AT89C52;AD0809;目录1绪论.............................................................................................................................11.1问题的提出.....................................................................................................11.2设计的意义......................................................................................................11.3设计的主要内容..............................................................................................11.3.1本设计的主要内容...............................................................................11.3.2设计实现的主要功能...........................................................................11.3.3设计的主要技术指标...........................................................................22系统概述.....................................................................................................................32.1电压/频率的测量方法....................................................................................32.1.1直接测频法...........................................................................................32.1.2A/D转换法............................................................................................52.2系统方案选择..................................................................................................52.3系统总体框图..................................................................................................53系统硬件电路的设计.................................................................................................73.1单片机处理控制电路......................................................................................73.2频率信号预处理电路......................................................................................83.2.1降压电路...............................................................................................83.2.2放大电路...............................................................................................93.2.3整形电路...............................................................................................93.3A/D转换电路.................................................................................................103.4晶振电路部分................................................................................................113.5LCD显示电路................................................................................................123.5.1LCD选型.............................................................................................123.5.2接口说明.............................................................................................133.6电源电路的设计............................................................................................143.7串口通信电路......................................................................