摘要
近年来,单片机由于其优良的性价比在我国许多领域均得到了广泛的应用,目前黄河三角洲地区现有的日光温室抵抗自然灾害能力较弱,环境调控能力较差。该文以89C51为核心元件,对单片机的硬件和软件进行设计。硬件部分包括采样电路、A/D转换器与单片机接口电路、单片机及存储器电路等;软件部分均采用汇编语言编程实现,包括主程序、数据采集及数字滤波子程序和模糊控制子程序等。最后,采用Matlab程序进行了仿真试验,结果表明系统具有良好的可行性与控制功能。
In recent years,single chip microcomputer technology was widely applicated in many fields in China.Now,ability of resistance to natural disasters and environment control of solar greenhouses were really weak.Hardware and software of single chip microcomputer were designed with 89C51 as core component.Parts of hardware included sampling circuit,interface circuits between A/D converter and single chip microcomputer,single chip microcomputer and memory circuit,etc.Parts of software were all programmed with assembly language,it included main program,data collection and digital filtering subprograms,etc.Finally,simulation experiment was did with Matlab program.Results showed that system was good at feasibility and control function.
出处
《农业工程》
2012年第9期27-29,共3页
AGRICULTURAL ENGINEERING
关键词
单片机
智能温室控制
模糊控制
Single chip microcomputer,Intelligent greenhouse control,Fuzzy control