欢迎来到天天文库
浏览记录
ID:12472781
大小:25.00 KB
页数:0页
时间:2018-07-17
《基于cpld的超声波测距仪研制》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、基于CPLD的超声波测距仪研制摘要:一般的超声波测距仪可用于固定物位或液位的测量,适用于建筑物内部、液位高度的测量。本超声波测距仪采用CPLD器件,运用VHDL编写程序,使用MAX+plusII软件进行软硬件设计的仿真和调试,最终实现测距功能。本超声波测距仪设计中采用的是MAX7000s系列中的EPM7128SLC84-15的CPLD器件,其最高频率可达,可用于组合逻辑电路、时序逻辑电路、算法、双端口RAM等的设计。充分利用了其多达128个宏单元、68pin可编程I/O口,使该器件可以将分频功能、计数功能、显示编码功能、振荡功能全部集于一体。又因其延
2、时平均的特点,保证了测距结果精度高、响应速度快。关键词:可编程逻辑器件超声波测距Abstract:Generallyspeaking,theultrasonicrangefindercanbeusedtomeasuretheobjectpositionandliquidlevel,itissuitedtomeasurethehEightofbuilding’sinternalandwaterline.MydevicemakeuseofCPLD(ComplexProgrammableLogicDevice)andusesVHDL(VeryHighSpe
3、edIntegratedCircuitHardwareDescriptionLanguage)toprogram.UtilizingthesoftwareofMAXPlusIItocarryoutthesimulationanddebug.ThedesignoftheultrasonicrangefinderappliestheEPM7128SLC84-1appliance.ThehighestworkingfrequencyisuptoanditisbelongtotheMAX7000Sdevicesseries.TheEPM7128SLC84-1
4、canrealizethedesignofthecompoundinglogiccircuit,sequentiallogiccircuit,calculation,doubleports-settingsRAMandthelike.TomakeuseoftheEPM7128SLC84-1withupto12macrocellsthatarecombinedintoof1macrocellsgroupsandmaximumuserI/Opins,thedevicehascomprisedfrequencydivider,counterfunction
5、block,displayfunctionandoscillator.EnsurethehighmeasurementprecisionandquickrespondduetotheEPM7128SLC84-15’saveragepin-to-pinlogicResourceArchivesSystem(HRAS)issuitableforfilinghousingresourcerelatedfile.Throughthesystem,userscaninput,auditandmanagehousingresourcefiles.Moreimpo
6、rtant,onecouldeasilytranslatetheoriginalhardcopytoelectronicrecordfileviascanningsystemandsavetotheHPMSsystemforbrowsingfutureordevelopforotherpotentialusage;HPMSdoesnotonlyhaveaverystrongenginetosupporthousingpropertyfileinput,browse,reviewandmanagement,buthasextendableandgene
7、ralfeature.Thispaperintroducesthedetailofmainfunctiondevelopmentanddescribesthedevelopmentprocessofsubmanagementsystem.Keyword:CPLD,VHDL,Ultrasonicwave,Distancemeasurement
此文档下载收益归作者所有