ei
strume
tisverypracticalusi
gwireli
edatacommu
icatio
sthewaywillbesubjecttoma
ye
viro
me
talqualityfu
ctio
alitya
dotheraspectsi
thedatarecordisalsostillrelyo
ma
ualtra
scriptio
do
otcreateautomaticco
trolsystemsTemperatureco
trolisofte
e
cou
teredi
theprocessofi
dustrialproductio
processco
trola
dsomeprocesstoco
trolthetemperatureeffecto
theirdirectimpacto
thequalityofproductshasdesig
edamoreidealtemperatureco
trolsystemisveryvaluableWithSCMtech
ologyhasbecomemoresophisticatedsi
glechiptemperatureco
trolapplicatio
sarebecomi
gi
creasi
glywidespreadI
thispaperSTC89C52separatemicroco
trollerwithi
tegralPIDalgorithma
dthedeadzo
eofthePIDalgorithmtwoki
dsofco
trolmodea
dthroughcompariso
oftestresultsa
dfou
dthattheco
trolsystemhighprecisio
a
drespo
sespeedofaslowersystemwithdeadzo
eofthePIDalgorithmis
otreallypracticalbuttheformershouldbesuppleme
tedwithacertai
degreeRuozaifirstdiffere
tialisge
erallyadequatetomeetsystemrequireme
ts
KeywordsSTC89C52microco
trollerPIDalgorithmsplitpoi
tsdiffere
tialfirst目录
一、方案设计
总体方案选择……………………………3方案一
1带死区的PID算法简介………………………………………………5
f2算法程序流程图………………………………………………………73软件设计………………………………………………………………84硬件设计………………………………………………………………9方案二
1积分分离式PID算法简介……………………………………………142算法程序流程图………………………………………………………153软件设计………………………………………………………………154硬件设计………………………………………………………………15二、总结与展望
1设计总结………………………………………………………………152改进方向………………………………………………………………16三、附录
1主程序…………………………………………………………………172参考资料…………………………………………………………………正文
一、方案选择
总体方案选择:总体方案选择:
电热锅炉温度控制系统由核心处理模块、温度采集模块、键盘显示模块、及控制执行模块等组成。
f总体方案一:采用8031作为控制核心以使用最为普遍的器件ADC0809作模数转换控制上使用对电阻丝加电使其升温和开动风扇使其降温。此方案简易可行器件的价格便宜但8031内部没有程序存储器需要扩展增加了电路的复杂性且ADC0809是8位的模数转换不能满足本题目的r