基于plc的锅炉温度控制系统毕业设?- 百度文库 ر

̵ʱ䡣

2.·ƹɵѡ

ôƣֵ֮֡ã涯ãѡɵĻ㡣ǹղҪָ꣬ķΧСһҪˣһѡPIPIDƣΪ˱֤ĿһΧڱ仯˸ֻҪѡPƹɾͿԡڱϵͳУǽ¯ˮ¶Ϊ¯¶ΪƲPIƣPơ

3.÷ʽȷ ÷ʽȷ

ȷڷհȫǣɿعѹӦѡʽ֤ϵͳֹʹڷ𻵶ȫ״ֹ̬ȼϽ¯ȷ豸ȫڷ Kv >0 Ȼȷع̵K02ڷ󣬵ѹ¯ˮ¶ K02 >0 ȷΪ֤·ǸڷŴϵ()˻ΪԸ K 2<0 ÷ʽΪ÷ʽ

÷ʽȷ

¯ˮ¶ߣˮ¶Ҳߣع K01 > 0Ϊ֤·ΪڷŴϵ˻ΪķŴϵ K1< 0÷ʽΪ÷ʽ[7]

4.ڵķ

TsԽСֵԽܷӦ¶ȵı仯ǣTs̫СͻCPU㹤ڵβֵûʲô仯PID΢ֲֽӽ0ԲӦʹʱ̫СȷʱӦ֤Ѹٱ仯ʱ㹻IJ㣬Ա֤ϡʧɼģеҪϢ

Ϊϵͳ¶ȿϵͳ¶ȾӳԵĹԻڣԲʱ䲻̫̣һ15s20sϵͳ17s

ķ¶ȿϵͳѾȷˣϵͳͶ֮ǰ

ҪпIJõɹΪ࣬ۼ͹

ۼ֪ضѧģ͵Ļϣѡȡָ꣬۵ļ㣨΢ַ̡켣Ƶʷȣѵ෽Ƚϸӣ󣬶ڷʵⶨõĶѧģֻܽƵķӳ̵Ķ̬ĽȲǺܸߣδڹܵ㷺Ӧá

ڹԱ֪ѧģͣ߱ۼѧ֪ʶͿڿϵͳֱӽ򵥡ʵãʵʹб㷺ӦóõĹоٽȷ˥߷ȡDzþIJֵΪȱٻ֣΢֡ 1

С䵽󣬹۲ӦֱõӦ졢СӦߡ

ڱ̬ҪֿơȽ裨1ѡıϵСΪԭ5080ٽʱһϴֵ۲ӦߡȻСʱ䣬ӴãӦϵԴõӦȷͻֵIJ 3΢ֻ

裨2PIֻ̬̬̲⣬Ӧ΢ֿƣPIDơ΢ʱTD=0𽥼ӴTDͬʱӦظıϵͻʱ䣬ԴĿЧPIDƲ

PLC

PLCϵͳҪӲƺֱӲϣϸ

ϵͳ

ܱĿƣҪƵĻ衢

STEP7-Micro/WINĽԼĿijơ

4.1 PLCƵķ

PLCƳõķҪоƷ̵Ƶ·תΪͼ˳Ʒ߼Ʒȡ

1.ƷƷһЩ͵ĿƵ·ĻϣݱƶľҪ󣬽ѡϣηԺ޸ͼʱһЩм̻ڣܴﵽҪַûйɿѭõʱߵľкܴĹϵʳΪƷ

2.̵Ƶ·תΪͼPLCⲿӲߺͼʵ̵ּϵͳĹܡ

3.˳ƷݹͼԲΪģʼʼһһȥֱɡ˷Ĺؼǻͼ

4. ߼ƷͨмϵʵϾҵĹϵ

4.2 STEP7--Micro/WIN

STEP7-Micro/WIN ǻWindowsӦӹ˾רΪS7-200ϵпɱ̿ƿǿҪΪûƳʹãͬʱҲʵʱûִ״̬

4.2.1 STEP7--Micro/WIN 򵥽

STEP7-Micro/WINΪͨSTEP7-Micro/WIN˫STEP7 -Micro/WINͼ꣬ͼ4-1ʾSTEP7-Micro/WINĿڽṩڴĹռ䡣˶鰴ťڷSTEP7--Micro/WINIJͬԡָʾڴƳĿָ༭߼;ֲзʱֲķӳжϳڳ༭ڵĵĵײǩʾ

ͼ 4-1 STEP7--Micro/WINĿ

Ŀ STEP7--Micro/WIN V4.0 SP5ͼ4-1ʾĿĻ顢ݿ顢ϵͳ顢ű״̬ñ

4.2.2 PLCͨ

STEP7-Micro/WIN ˫ָеġͨšͼִ꣬в˵ġ

//ͨš֡ͨšԻ,ͼ4-2ڽµصS7-200֮ǰӦԶվĵַS7-200ĵַ˫ͨšԻС˫ˢ¡Աߵɫͷɵͼ꣬ԶϵS7-200ͼʾS7-200

4.3 4.3.1 ˼·

PLCʱ̵ͨSM0.0ʼгʼ¶趨ֵPIDֵȴݼĴϵͳʼ¶Ȳ17룬TT1(ˮ¶ȴ)ɼijˮ¶źתΪźţźͨAIW0PLCΪ·ķֵPID0PIźţΪ·ĸֵTT2(¯ˮ´)ɼ¯ˮ¶źתΪźţźͨAIW2PLCΪ·ķֵPID1Pź,AQW04-20mAźſƿɿعĵͨǣӶƵ˿ĵѹɶ¶ȵĿơ

4.3.2 PIDָ