1、 I 温室温度及通风控制系统软件设计 摘 要 本设计是针对于养殖场的温室温度及通风控制系统的软件设计。在设计中我 们主要是做到用温度传感器检测到室内的实际温度,并与要求的温度相比较,根 据比较的结果来控制温室温度维持在规定的范围内。同时要定时的依次开动风机 对室内进行通风换气,达到通风控制的效果。 在整个设计中,主要采用了可编程序控制器进行自动检测和控制温度和通风, 用温度传感器对室内温度进行检测,传感器将检测的结果送入模拟输入输出模块 EM235 中,经转化后将其结果送入 PLC 中,由 PLC 将其与设定值进行比较,再发 出相应的指令驱动调温系统、风机等设备运行或停止来调节室内的温度和空气
2、的 清洁度,达到智能化、自动化控制的目的。 最后,运用西门子 S7-200 CPU226 的编程语言来进行软件设计来实现自动控 制的要求,并通过最后运用 STEP7-Micro/WIN32 编程软件进行仿真调试,进而来 满足设计的要求。 关键词:可编程序控制器,温度及通风控制,S7-200 CPU226 II The Software Design about Greenhouse Temperature and Ventilations Control System ABSTRACT This design is based on the farm of the greenhouse tem
3、perature and ventilation control systems software design. In the design of our main is make it by temperature sensor test to indoor actual temperature and compared with the temperature of the requirements, according to the result of the comparison to control the greenhouse temperature maintain with
4、the specified scope. And at the same time in turn to start the fan to make the indoors ventilated take a breath in timing, achieve the effect of ventilation control. In the whole design, we mainly adopts PLC automatic detection and control temperature and ventilation, using the temperature sensors to detect the indoor temperature, the sensors will test results into analog input output module EM235, is converted into its results into PLC , by PLC will compare with the set value, then sends ou