作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程

• 体系结构与软件技术 • 上一篇    下一篇

三维数字沙盘标准模块的设计与实现

杨奇,车明   

  1. (天津大学 计算机科学与技术学院 天津市认知计算与应用重点实验室,天津 300350)
  • 收稿日期:2016-03-03 出版日期:2017-03-15 发布日期:2017-03-15
  • 作者简介:杨奇(1991—),男,硕士研究生,主研方向为嵌入式系统;车明,副教授、硕士。
  • 基金资助:
    “十二五”国家科技支撑计划项目(2012BAJ24B04-4)。

Design and Implementation of Standard 3D Digital Sandbox Module

YANG Qi,CHE Ming   

  1. (Tianjin Key Laboratory of Cognitive Computing and Application,School of Computer Science and Technology, Tianjin University,Tianjin 300350,China)
  • Received:2016-03-03 Online:2017-03-15 Published:2017-03-15

摘要: 为完成对三维数字沙盘机械装置的控制,设计基于嵌入式的三维数字沙盘标准模块,并针对机械装置自身硬件误差导致的行程中断异常以及突发性断电后数据丢失等问题,提出从软件角度弥补硬件行程中断误差以及预防断电的数据保护方案。硬件行程中断误差的弥补方案通过模拟中断过滤层,设计消抖机制和中断合法性机制,过滤杂波并判断中断的合法性,保留正确的中断脉冲,从而保证中断模块的准确响应。防断电的数据保护方案是基于EEPROM对目标数据、数据状态及模块状态的存储,通过模块状态判断是否对装置进行恢复,根据数据状态判定目标数据的有效性,为装置的恢复提供有效数据。理论分析及实验结果表明,与原始方法相比,该方案机械装置出错率降至0.5%,并在供电异常时可进行有效恢复,提高了机械装置的稳定性和可靠性。

关键词: 三维数字沙盘, 硬件误差, 电擦除可编程只读存储器, 可靠控制, 数据保护

Abstract: To control the mechanical device of 3D digital sandbox,a 3D standard module digital sandbox based on embedded system is designed and implemented. Aiming at the problems that the errors of hardware system of mechanical device lead to abnormality of process interruption and the target data are lost when the power is off,a set of hardware interrupt error compensation and data protection schemes are proposed to increase accuracy and reliability of the mechanical device. The conceptual interrupt filter layer which can filter pulses and judge the validity of interrupt is designed to compensate the hardware process interrupt error to reserve the correct pulses and increase accuracy of interrupt module. The data protection scheme against power failure is based on Electrically Erasable Programmable Read-only Memory(EEPROM) storing target data,data status and standard module status. The recovery of device is determined by the standard module status,and the validity of target data is determined by the data status,which provide valid data for device recovery. Theor etical analysis and experimental results show that compared with the original methods,the error probability of the scheme decreases to 0.5%,which can effectively reduce the error rate of mechanical devices and recover the data validly to improve the stability and reliability of mechanical device.

Key words: 3D digital sandbox, hardware error, Electrically Erasable Programmable Read-only Memory (EEPROM), reliable control, data protection

中图分类号: