资源描述:
《模糊温度控制器的软硬件设计》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、摘要本设计完成基于单片机的模糊温度控制器的软硬件设计。本设计完成了将模糊控制与PID控制相结合方法用于工业温度控制领域,实现了对大滞后、慢时变、非线性的复杂系统的控制。在硬件方面,Fuzzy-PID温控器采用单片机作为控制核心,采用Pt100作为温度传感器,设计了温度测量转换电路,模/数转换器TLC2543实现温度数据采集。HD7279构成良好的人机接口模块,完成温度设定值的输入和温度数据实时显示。输出通道由D/A转换器和AD694芯片组成,将控制量转换为现场总线标准的电流信号4~20mA。在软
2、件方面,本设计完成了并行Fuzzy-PID复合控制器的主流程图和各子流程图。编写的软件程序经过编译连接无误。在设计过程中,采用Multisim软件对Pt100的测温电路进行了仿真,实现了温度采集精度的设计要求。本设计中的模糊PID控制器,既具有模糊控制灵活、适应性强的优点,不依赖于控制对象有精确的数学模型,同时又具有控温精度高,动态性能好、受系统参数变化影响小的优点。关键词:Pt100;温度控制;单片机;模糊-PID控制;MultisimIIABSTRACTThisdesignhascomple
3、tedthedesignofsoftwareandhardwareoftheFuzzy-PIDtemperaturecontrollerbasedonMCU.IthasmadethecombinationmethodofFuzzycontrolandthePIDcontrolusedintheindustrytemperaturecontroldomain,whichhasrealizedthecontrolofcomplexsystemoflong-timedelay,slowtime-var
4、iable,andthenon-linear.Inthehardwaredesign,Fuzzy-PIDtemperaturecontrollertakesSMCasthecoreofthecontrol,adoptsPt100asthetemperaturesensor,andhasdesignedthetemperaturesignalmeasurementandconvertcircuit;ADCTLC2543isusedtofinishithetemperaturedatagatheri
5、ng.Thefriendlyman-machineinterfacemoduleiscomposedofHD7279,whichcancarryonthefunctionsoftheinputofthetemperaturesettingvalueandtherealtimedisplayoftemperaturedata.TheoutputchanneliscomposedofDACandAD694,whichcanconvertthecontrolquantityintofieldbusst
6、andardcurrentsignal4~20mA.Inthesoftwaredesign,thisdesignhascompletedthemainflowchartoftheparallelFuzzy-PIDcompoundcontrollerandeachsub-flowchart.Theprocedureofsoftwareisunmistakableaftercompilationandlink.Inthedesignprocess,itadoptsMultisimsoftwareto
7、carryonthesimulationofthePt100temperaturesignalmeasurementandconvertcircuit,andthedesignhasmettherequestsoftemperaturemeasurementprecision.TheFuzzy-PIDcontrollerinthisdesign,notonlyhasthecharactericsofflexibilityandadaptabilityofFuzzycontrol,whichdoe
8、snotdependonthecontrolledobjectthathastheprecisemathematicalmodel,butalsohasadvantagesofhighprecisiontemperaturecontrol,andthegooddynamicperformance,whichisaffectedlittlebythechangeofsystemparameters.Keywords:Pt100;TemperatureControl;SMC;Fuzzy-PIDCon