摘要本设计完成基于单片机的模糊温度控制器的软硬件设计。本设计完成了将模糊控制与PID控制相结合方法用于工业温度控制领域,实现了对大滞后、慢时变、非线性的复杂系统的控制。在硬件方面,Fuzzy-PID温控器采用单片机作为控制核心,采用Pt100作为温度传感器,设计了温度测量转换电路,模/数转换器TLC2543实现温度数据采集。HD7279构成良好的人机接口模块,完成温度设定值的输入和温度数据实时显示。输出通道由D/A转换器和AD694芯片组成,将控制量转换为现场总线标准的电流信号4~20mA。在软件方面,本设计完成了并行Fuzzy-PID复合控制器的主流程图和各子流程图。编写的软件程序经过编译连接无误。在设计过程中,采用Multisim软件对Pt100的测温电路进行了仿真,实现了温度采集精度的设计要求。本设计中的模糊PID控制器,既具有模糊控制灵活、适应性强的优点,不依赖于控制对象有精确的数学模型,同时又具有控温精度高,动态性能好、受系统参数变化影响小的优点。关键词:Pt100;温度控制;单片机;模糊-PID控制;MultisimABSTRACTThisdesignhascompletedthedesignofsoftwareandhardwareoftheFuzzy-PIDtemperaturecontrollerbasedonMCU.IthasmadethecombinationmethodofFuzzycontrolandthePIDcontrolusedintheindustrytemperaturecontroldomain,whichhasrealizedthecontrolofcomplexsystemoflong-timedelay,slowtime-variable,andthenon-linear.Inthehardwaredesign,Fuzzy-PIDtemperaturecontrollertakesSMCasthecoreofthecontrol,adoptsPt100asthetemperaturesensor,andhasdesignedthetemperaturesignalmeasurementandconvertcircuit;ADCTLC2543isusedtofinishithetemperaturedatagathering.Thefriendlyman-machineinterfacemoduleiscomposedofHD7279,whichcancarryonthefunctionsoftheinputofthetemperaturesettingvalueandtherealtimedisplayoftemperaturedata.TheoutputchanneliscomposedofDACandAD694,whichcanconvertthecontrolquantityintofieldbusstandardcurrentsignal4~20mA.Inthesoftwaredesign,thisdesignhascompletedthemainflowchartoftheparallelFuzzy-PIDcompoundcontrollerandeachsub-flowchart.Theprocedureofsoftwareisunmistakableaftercompilationandlink.Inthedesignprocess,itadoptsMultisimsoftwaretocarryonthesimulationofthePt100temperaturesignalmeasurementandconvertcircuit,andthedesignhasmettherequestsoftemperaturemeasurementprecision.TheFuzzy-PIDcontrollerinthisdesign,notonlyhasthecharactericsofflexibilityandadaptabilityofFuzzycontrol,whichdoesnotdependonthecontrolledobjectthathastheprecisemathematicalmodel,butalsohasadvantagesofhighprecisiontemperaturecontrol,andthegooddynamicperformance,whichisaffectedlittlebythechangeofsystemparameters.Keywords:Pt100;TemperatureControl;SMC;Fuzzy-PIDControl;Multisim目录摘要………………………………………………………………………………………ⅠAbstract…………………………………………………………………………………Ⅱ第1章引言………………………………………………………………………………11.1序言………………………………………………………………………………11.2模糊控制的现状研究……………………………………………………………11.3选题的目的、意义和主要内容…………………………………………………21.3.1本课题研究的目的、意义…………………………………………………21.3.2本设计的主要内容和结构………………………………………………3第2章模糊控制的理论研究………………………………………………………42.1模糊控制的理论基础……………………………………………………………42.1.1模糊集合…………………………………………………………………42.1.2模糊集合的运算…………………………………………………………52.1.3模糊关系…………………………………………………………………52.1.4模糊关系的合成………………………………………………...