摘要: 为满足嵌入式多核数控系统高速、高精的应用需求,针对现有多核通信延迟过高、通信数据量过小等不足,研究基于ARM与DSP双核架构嵌入式数控系统,设计并实现一种基于该数控系统平台的多核数据通信机制。该通信机制基于共享内存实现,包括硬件驱动实现、内存划分、通信同步、共享缓存池建立以及通信协议搭建等关键部分。针对双核间数据传输延迟和数据传输量 2个影响系统性能的重要参数开展实验测试,并于实际数控系统环境进行应用测试,结果表明,该通信方法可满足ARM与DSP双核架构的嵌入式数控系统2 MB数据通信量与20 ms通信延迟的性能需求。
关键词:
嵌入式数控系统,
异构处理器,
多核通信,
共享内存,
通信延迟
Abstract: In order to meet the application needs of embedded multi-core, high-speed and high-precision numerical control system, owing to the high latency, low communication capacity of current multi-core communication, this paper studies the design of embedded numerical control system based on ARM and DSP dual-core architecture, designs and implements a multi-core data communication mechanism based on the numerical control system platform. The communication mechanism is based on shared memory, including hardware driver realization, memory division, communication synchronization and the establishment of a shared cache pool and communication protocol. It completes the measurement of dual-core data transmission latency and data transmission capacity, which affects system performance, and carries out the application test. The results prove that this design can meet the performance requirements of 2 MB data communications volume and 20 ms communication delay of the embedded ARM and DSP dual-core architecture numerical control system.
Key words:
embedded numerical control system,
heterogeneous processor,
multi-core communication,
shared memory,
communication delay
中图分类号:
冯强,胡毅,于东,陆小虎. 基于OMAP处理器的核间通信机制设计与实现[J]. 计算机工程.
FENG Qiang, HU Yi, YU Dong, LU Xiao-hu. Design and Implementation of Inter-core Communication Mechanism Based on OMAP Processor[J]. Computer Engineering.