基于模糊控制算法的温度控制系统的设计
电气自动化专业
摘要:以 AT89C2051 单片机为模糊控制器,结合温度传感变送器、A/D 转换器、LED
显 示 器 、 固 态 继 电 器 等 , 组 成 一 个 基 于 模 糊 控 制 算 法 的 温 度 控 制 系 统 。
在此系统中,单片机将给定的温度与测量温度的相比较,得出偏差量。然后根据模糊控
制算法得出控制量。采用模拟的 PWM 控制方法,改变同一个周期中固态继电器的导通时间,
从而调节电炉温度,达到控制的目的。
从仿真结果可以看出,系统达到了预期目标。
关键词:单片机;模糊控制;测量变送
Abstract: Using the AT89C2051 single chip computer as the Fuzzy controller, with
temperature measure and adjust-convection instrument, A/D transformer , LED displayer, solid
switch and so on, form a temperature control which based on Fuzzy control arithmetic.
In such system, the single chip computer educe the control value based on the difference
between the initialization and the measure value. Solid switch used as a analog PWM converter
executor, change the close time in a decided periods, which aimed at control the temperature.
Seen from the emulation result, system has reach the target.
Keywords: Single chip microcomputer, Fuzzy control, measure and adjust-convection
1 引言
温度控制在工业自动化控制中占有非常重要的地位。但是其控制对象存在着很大的时滞
性和对象模型的不精确性
[1]
,采用一般的控制方法如 PID 控制,都不能很好地满足要求。将
模糊控制方法运用到温度控制系统中,可以克服温度控制系统中存在的严重的滞后现象,在
提高采样频率的基础上可以很大程度的提高控制效果和控制精度
[2]
。
基 于 模 糊 控 制 算 法 的 温 度 控 制 系 统 的 设 计 达 到 的 目 标 :
( 1 ) 被 控 对 象 可 以 是 电 炉 或 燃 烧 炉 , 温 度 控 制 在 0~100 ℃ , 误 差 为 ± 0.5 ℃ ;