您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 酒店餐饮 > 基于AT89C51单片机和MAX505的某型转速表检测仪
92420091216711819(2009)24752504ScienceTechnologyandEngineeringVol9No24Dec.20092009SciTechEngng基于AT89C51单片机和MAX505的某型转速表检测仪李茂林石志勇袁泽军1宋政法1(,050003;660691,071000)摘要为了提高某型转速表检测的快速性和准确性,提出了基于单片机技术和MAX505DAC转速表检测仪的设计方案重点阐述了检测仪主要的硬件设计及系统软件设计,并介绍了工作过程和实现方法实践证明:该检测仪在完成转速表检测的同时,具有较高的精度和通用性,并且价格低廉,具有广泛的应用前景关键词AT89C51MAX505转速表中图法分类号TP368.2;文献标志码A2009525:(1982),,,:Emai:lhaidaomaolin@163.com,,,,,[1],,,,,,,[2],MAX505[3],1检测仪的硬件设计AT89C51MAX505,1P0,P2MAX505,DACWRWR(P3.6),P3.6,LDACP1.6,DACABC2三相正弦交流信号发生器设计[4]2.1D/A,D/A,DAC:Vout=DBVREF/256,:,VoutVREF2sin(T)+VREF2,T:0~2,DBVREF/256=VREF2sin(T)+VREF22,DB=128sin(T)+128,DB=128sin(T)+128,DB50Hz,50,400sMATALABsin()sin(+120)sin(120)2.2,,,,,:400s,50Hz,752693000r/min1/r/min13000240012006003000/Hz5040201050/s4005001000200040002.3MAX505,,LM124J,VR13VR14VR1522.43,MAX505DAC120,LDAC,D/A,3/////////UcharcodesinA[50]///SIN()UcharcodesinB[50]//SIN(+120)ucharcodesinC[50]//SIN(-120)voidRS232_Init(){TMOD=0x20;//12TL1=0xfd;TH1=0xfd;//9600PCON=0x00;TR1=1;//1SCON=0x50;//1,}///////////////////////////////////////////voidtimer0()interrupt1using1{TH0=(65536400)/256;TL0=(65536400)%256;//XBYTE[0xA000]=sinA[n];//XBYTE[0xA800]=sinB[n];//,XBYTE[0xB000]=sinC[n];//LDAC=0;//if(n=50){n=0;}else{n++;}//LDAC=1;}/****************************///timer0voidtimer0_initalize(void){/*setupthetimer0interrupt*/TH0=(65536400)/256;TL0=(65536400)%256;TMOD=TMOD|0x01;//selectmode2!!TR0=1;//starttimer0ET0=1;//enabletimer0interruptEA=1;//globalinterruptenable}/****************************/voidmain(void){RS232_Init();timer0_initalize();/////n=0;while(1);}(下转第7541页)752724,:AT89C51MAX505TheImplementationandDeterminationofTravelingTimeofTDRWaveformwithTangntMethodSHENShaoxiang1,2,FENGWei1,2,JIYicai1,FANGGuangyou1(InstituteofElectronics,CAS1,Beijing100190,P.R.China;GraduateSchoo,lCAS2,Beijing100190,P.R.China)[Abstract]TraveltimeofpulseonTDRprobeisdeterminedwithavariablesteptangentalgorithm.Aprogramisalsodesignedtodeterminetraveltimeandevaluatethepermittivityautomaticallyaccordingtothealgorithm.AngoodeffectisaccomplishedbytestingdatasamplingbyTDR!system.[Keywords]timedomainreflectometry(TDR)dielectricconstanttangentmethodfirstdifference(上接第7527页)3结论MAX505,:,,,1,,..:,20072..:,20013MAX505Datasheetdescription4..,2004;12(6):591593DesignofaTypeofEquipmentTachometerTesterBasedonProcessorMCS51andMAX505DACLIMaolin,SHIZhiyong,YUANZejun1,SONGZhengfa1(DepartmentofGunsEngineering,OrdnanceEngineeringCollege,Shijiazhuang050003,P.R.China;Unite660691,Baoding071000,P.R.China)[Abstract]Inordertoenhancethecelerityandveracityofatypeoftachometer,atesterisputforwardbyusingprocessorAT89C51andMAX505DAC.Thewholestructureofthetesterispresentedandthecentralhardwaredesignandthesystemsoftwaredesignareanalyzed,andtheworkingprocesssandrealizationofthetesterareintroduced.Theresultshowsthatthetestercanfulfillitsfunctions.Meanwhile,ithashighaccuracy,anditisallpurposeforallkindsoftachometerbytheexperimen.tIthaslowcostprinceandwideappliedperspectiveinmanyaspects.[Keywords]MCS51MAX505DACtachometer754124,:TDR
本文标题:基于AT89C51单片机和MAX505的某型转速表检测仪
链接地址:https://www.777doc.com/doc-4850966 .html