摘要
针对提高嵌入式系统的开发效率、减少系统开发时间和降低重复工作等问题,提出基于K60动态配置通用测控系统方案。首先,采用构件化设计思想和组态软件设计思想,将系统设计成不针对具体应用的硬件可裁减、软件可配置的通用型测控系统。其次,将系统的配置参数通过修改LCF链接文件定义成Flash变量,存储在可指定的Flash参数扇区中,可单独动态在线擦写参数区而不影响其他部分。最后,将此方案成功地应用到温室大棚环境测控系统中。实践结果表明,可配置的通用型测控系统方案具可行性和高效性。
In order to improve the development efficiency of embedded system and reduce system development time and duplication of work and other issues,we proposed a method to dynamically configure generic measurement and control system based on K60 program.First,according to the theories of configuration software and component,we designed a general-purpose measurement and control system that can be cut for application-specific hardware and be configurable for software.Second,the configuration parameters of the system was defined by modifying the LCF linked file into Flash variables,stored in the parameters specified Flash sector,parameters area can be flashed online individually without affecting other parts.Finally,this program was successfully applied to the greenhouse environment monitoring and control system.The practical results showed the feasibility and efficiency of universal monitoring and control system that can be configured.
出处
《苏州大学学报(工科版)》
CAS
2012年第6期10-16,共7页
Journal of Soochow University Engineering Science Edition (Bimonthly)
基金
国家自然科学基金资助项目(编号60871086)
福建省自然科学基金资助项目(编号2012J01190)
关键词
构件化
动态配置
在线编程
Flash变量
components
dynamic configuration
online programming
Flash variables