变频控制器设计摘要近年来,随着城市居民区的不断扩建与改造,楼房层数的不断加高,我国居民用水难的问题越来越突出,原有的自来水管网的压力出现了不足,用水困难给生活带来极大不便。为解决上述问题,本文研制了变频供水控制器。该控制器是以AT89C51为核心,并与变频器、压力传感器等器件有机结合起来,构成了变频恒压供水系统。该系统是以管网水压为设定参数,通过控制变频器的输出频率来自动调节水泵电机的转速,并根据用水量的大小由单片机控制水泵数量及变频器对水泵的调速,实现管网水压的闭环调节,即变频供水。针对供水系统难以为被控对象确定精确的数学模型、水压精度要求不太高的特征,本文提出的是一种基于变频恒压的供水控制方案。并利用单片机对其进行控制,实现了变频调速控制相结合,抗干扰能力强,是一种很理想的控制器。此外,变频调速给水的供水压力可调,可以方便地满足各种供水压力的需要。在设计阶段可以降低对供水压力计算准确度的要求,因为随时可以方便地改变供水压力。但在选泵时应注意,泵的功率宜大一些,因为变频调速其最大压力受水泵限制。最低使用压力也不应太小,因为水泵不允许在低扬程大流量下长期超负荷工作,否则应加大变频器和水泵电机的容量,以防止发生过载。为了方便远程监控,用组太王进行了简单的动画连接,动画的形式实时显示现场设备的运行状态。综上所述,交流变频调速恒压供水是现代化城市和生活小区供水的发展方向。采用单片机控制的变频供水系统具有实现容易、价格低廉等特点,是较理想的控制器。关键字:变频恒压供水系统;组态AbstractInrecentyears,withthecontinuouslybuildingandrebuildingofresidentialareastheproblemofourinhabitant'susingwaterismoreandmoreserious,theoldtapwater'spressureappearsdeficient,thedifficultyofusingwaterbringthebiginconveniencetotheinhabitant'sdailylife.Inordertosolvetheaboveproblem,thispaperintroducesanewstyleofVVVFconstant-pressurewater-supplycontroller.Itcanbeusedinwatersupplyfordailylifeanduseincaseoffireandothercase.Thefrequency-conversionpumpsusecyclingsoft-startingandtimingcutting.Thesoftwareadoptsthedynamicdigitalfilterskills.Ithascompleteprotectivefunctions.Inthelightofthattheexcisemathematicalmodelofwatersupplysystemisdifficulttofindandnomoreforthecontrolprecision,thispaperputforwardsathdesignforwaterrequestsupplyunderconstantpressure.AndalsosimulatesystemwithMatlab,thesimulationresultshowsthatthiscompoundcontrolsystemmoresignificantrobustness.Moreover,theconfigurationmonitorsoftware--kingviewisalsointroduced.Thedataacquisitionandcontrolschemeareanalyzed.Sumuptheabove,theVVVFconstant-pressurewatersupplycontrolleristhedevelopmentdirectionofmodernizationcityandcommunity'swatersupply,andithasthecharacteristicssuchasstableworking,easilyrealizingandlowpriceetc.Soitismoreperfectcontroller.KeywordsWatersupplysystemunderconstantpressure;Kingview目录摘要.............................................................................................................................................1Abstract..........................................................................................................................................3第1章绪论..............................................................................................................................61.1交流变频恒压供水控制器的研究背景及意义....................................................................61.1.1课题提出的背景和意义..................................................................................................61.1.2变频技术的发展..............................................................................................................61.1.3关于变频给水的原理......................................................................................................71.1.4变频调速在供水中的应用............................................................................................101.2研究环境..............................................................................................................................101.3本文的组织结构..................................................................................................................11第2章基于AT89C51的变频恒压给水控制器的设计.......................................................122.1系统概述及控制原理..........................................................................................................122.1.1系统的组成....................................................................................................................132.1.2设计方案及系统优点....................................................................................................152.2控制的硬件系统设计..........................................................................................................182.2.1硬件总体说明................................................................................................................182.2.2系统的显示部分............................................................................................................182.2.3按键接口电路的设计....................................................................................................202.2.4单片机借口电路与MC1413集成电路........................................................................202.2.5EEPROM93C46在供水控制器中的应用....................................................................202.2.6定时复位电路................................................................................................................212.2.7锁存电路........................................................................................................................212.2.8数模(D/A)和模数(A/D)转换电路.................................................................................212.3软件系统设计......................................................................................................................222.3.1独立按键程序设计........................................................................................................232.3.2显示子程序.......................................................................................................