摘要
针对传统仪表具有的硬件资源不足、速度慢等功能缺陷,提出了一种基于单片机的CPU设计方案,即扩展CPU,直接从主CPU对应的数据显示I/O口上获取数据,这种获取数据的双CPU设计方案中主从CPU之间在功能上相互独立,主CPU不受扩展CPU加入的影响,实现其固有功能,保证了测量数据的准确性;扩展CPU从主CPU中获取数据,不受主CPU的控制,按照现场的需求进行功能扩展。给出了详细的软硬件设计结构。该方案为传统仪表的升级改造提供了一种新思路,实践证明是可行的。
Against the shortages of conventional instalments, e.g. less hardware resources, slower speed, etc. , the design strategy of dual CPU based on single chip computer is proposed, i.e. the expanded CPU acquired data directly from data display I/O port of main CPU. In such scheme, two CPUs operate independently te each other, the main CPU implements its own functions and ensures the accuracy of measured data without any influence from the expanded CPU, the expanded CPU gets data from main CPU but not under control of main CPU te expand the functions in accordance with the requirements in field. Detailed design structures of hardware and software are given. This provides a new concept for retrofitting and upgrading the conventional instruments and has been proven its feasibility.
出处
《自动化仪表》
CAS
2006年第3期65-66,共2页
Process Automation Instrumentation
关键词
传统仪表
检测系统
单片机
Conventional instrument Detecting system Single chip computer