文章编号:1673-887X(2023)01-0069-04基于复合PID算法的农业测控系统设计许梁,杜治锐(延安大学物理与电子信息学院,陕西延安716000)摘要针对农业温室大棚温湿度每天变化不同的特点,采用基于复合PID控制算法的农业测控系统结合温度湿度每天变化趋势的方式,精准控制环境参数设计了一套集数据处理与控制为一体的大棚测控系统,可通过手机app和PC端远程访问智慧大棚,实时了解大棚内农作物的生长状况。仿真实验结果表明:该算法的测控精度、响应速度均优于常规PID算法,能更好地满足实践要求。为了减少环境参数采集误差,在传统PID算法的基础上,采用分段、分类控制的复合PID算法进行调节。关键词温室大棚;复合PID算法;精准;调节;测控中图分类号S24文献标志码Adoi:10.3969/j.issn.1673-887X.2023.01.024DesignofAgriculturalMeasurementandControlSystemBasedonCompoundPIDAlgorithmXuLiang,DuZhirui(SchoolofPhysicsandElectronicInformation,Yan'anUniversity,Yan'an716000,Shaanxi,China)AbstractAbstract:Accordingtothedifferentcharacteristicsoftemperatureandhumiditychangesinagriculturalgreenhouseseveryday,theagriculturalmeasurementandcontrolsystembasedonthecompoundPIDcontrolalgorithmisusedtoaccuratelycontroltheenviron‐mentalparameterscombinedwiththetrendoftemperatureandhumiditychangeseveryday.Agreenhousemeasurementandcontrolsystemintegratingdataprocessingandcontrolisdesigned.ThesmartgreenhousecanbeaccessedremotelythroughmobilephoneappandPCterminal,andthegrowthstatusofcropsinthegreenhousecanbeknowninrealtime.ThesimulationresultsshowedthatthemeasurementandcontrolaccuracyandresponsespeedofthealgorithmarebetterthantheconventionalPIDalgorithm,whichcanmeetthepracticalrequirements.Inordertoreducetheacquisitionerrorofenvironmentalparameters,thispaperadoptedthecom‐poundPIDalgorithmwithsegmentationandclassificationcontrolonthebasisofthetraditionalPIDalgorithm.Keywords:greenhouse,compoundPIDalgorithm,precision,regulation,measurementandcontrol目前,我国农业大棚的种植模式多数还停留在人工种植的阶段,耗时耗力且不利于大规模种植[1],严重制约着我国设施农业的发展。自我国开展农业现代化建设以来,已经有不少学者将目光锁定在农业现代化对环境参数的调...