计算机应用 ›› 2012, Vol. 32 ›› Issue (06): 1730-1733.DOI: 10.3724/SP.J.1087.2012.01730

• 计算机软件技术 • 上一篇    下一篇

CPS处理器中的时间指令扩展研究及实现

高振华1,杨帆1,陈闻杰2,柴志雷1   

  1. 1. 江南大学 物联网工程学院,江苏 无锡 214122
    2. 华东师范大学 软件学院,上海 200062
  • 收稿日期:2011-12-09 修回日期:2012-01-20 发布日期:2012-06-04 出版日期:2012-06-01
  • 通讯作者: 高振华
  • 作者简介:高振华(1986-),女,山东枣庄人,硕士研究生,主要研究方向:嵌入式Java图像处理;〓杨帆(1986-),男,湖北荆门人,硕士研究生,主要研究方向:嵌入式实时处理器;〓陈闻杰(1977-),男,浙江金华人,副教授,博士,主要研究方向:信息—物理融合系统与实时系统;〓柴志雷(1975-),男,山西太原人,副教授,主要研究方向:信息—物理融合系统处理器系统。
  • 基金资助:
    国家自然科学基金资助项目

Implementation of precision timed instructions for systems processors in cyber-physical

GAO Zhen-hua1,YANG Fan1,CHEN Wen-jie2,CHAI Zhi-lei1   

  1. 1. School of Internet of Things Engineering, Jiangnan University, Wuxi Jiangsu 214122, China
    2. Software Engineering Institute, East China Normal University, Shanghai 200062, China
  • Received:2011-12-09 Revised:2012-01-20 Online:2012-06-04 Published:2012-06-01
  • Contact: GAO Zhen-hua

摘要: 物理进程具有内在的并发及实时特性,因此发展信息—物理融合系统(CPS)需要计算进程能表达这类特性。而传统的计算模式为了方便用户逻辑描述,随着抽象程度的提高逐步丢弃了对时间特性的精确描述。在嵌入式Java处理器JPOR-32基础上面向CPS应用增加了时钟寄存器和时钟计数器,并根据程序员对时间特性的需求,结合异常机制扩展了四条时间指令,使得用户可根据不同需求对时间进行精确控制。最后通过采用时间指令后图像处理程序在该CPS处理器上的运行结果验证了该时间控制机制的可行性、正确性及精确性。

关键词: 信息-物理融合系统(CPS), 嵌入式系统, Java处理器, 异常, 时间指令

Abstract: The physical processes is inherently concurrent and real-time, so to express these characteristics is required when developing Cyber-Physical Systems (CPS). While the traditional computing model for the convenience of the user logic description, along with the abstract degree rise, description on the time characteristic was gradually discarded. On the basis of the embedded Java processor JPOR-32, a clock register and a clock counter were added for the CPS applications in this paper, and combined with the exception mechanisms, four time instructions were extended to face different requirements of the temporal characteristics, which enabled the user to control the time accurately according to different demands. Finally, the feasibility, validity and accuracy of this time control mechanism have been verified by analyzing the running results of the image processing program that uses time instructions in the CPS.

Key words: CPS, embedded systems, Java processor, exception, time instructions