A dual-core data communication method for embedded numerical control system

An embedded numerical control and data communication technology, applied in electrical digital data processing, instruments, etc., can solve the problem of high data transmission delay, reduce hardware costs, improve data communication efficiency, and achieve zero-copy effects

CN103377157BActive Publication Date: 2016-06-01SHENYANG GOLDING NC & INTELLIGENCE TECH CO LTD
3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2016-06-01

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention relates to the embedded technology filed, particularly to dual-core namely the ARM and the DSP data communication method for an embedded type numerical control system. The RAM (Random Access Memory) of the embedded type numerical control system is divided into four parts namely a LINUX operating system for the ARM terminal, a BIOS pseudo operating system for the DSP terminal, communication sharing and communication softwares; the communication sharing is used for storing communication data; initialization is performed on the ARM terminal and the DSP terminal to set up a shared memory pool, set up critical section management objects which enable the ARM terminal and the DSP terminal mutually exclude read-write communication data and set up a handshake protocol; when the ARM terminal or the DSP terminal secretly accesses a shared memory area by utilizing a mutual exclusive lock and obtains the mutual exclusive lock, read-write is directly performed on the communication data, and the mutual exclusive lock is released when the read-write is achieved. According to the dual-core data communication method for the embedded type numerical control system, the hardware costs are reduced due to the fact that extra hardware chips are not used; software transportation costs are reduced due to the fact that a third-party software can be transported without modification; block data zero copy is achieved and data communication efficiency between multicores are improved due to the fact that the data transmission is achieved through communication sharing and messages between cores.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of embedded technology, in particular to an ARM and DSP dual-core data communication method for an embedded numerical control system. Background technique

[0002] With the continuous development of electronic technology, various embedded system microprocessors such as ARM and DSP are widely used in the field of embedded system development because of their low cost, low power consumption, simple structure and stable performance. The embedded CNC system is developed by using ARM and DSP heterogeneous dual-core processors. It has the characteristics of simple hardware structure, low power consumption, high performance and low cost, and meets the market demand for high-end CNC system products.

[0003] However, because ARM and DSP processors have different hardware characteristics, how to make them play their respective advantages, share different tasks, coordinate and cooperate between the dual cores, and make the overa...

Examples

Embodiment Construction

[0026] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0027] figure 1 The embedded numerical control system architecture platform used in the present invention includes motors, servos, controllers and man-machine interface units. Such as figure 2 Shown is a hardware structure diagram of an embodiment of the present invention, including an ARM core and a DSP core, and an off-chip DDR is used for communication data sharing in the invention. Among them, ARM acts as the main controller of the CNC system, and DSP acts as an arithmetic unit. The ARM processor writes the data passed in from the bottom board to the shared storage area, and the DSP obtains the data from it for calculation and writes the calculation result to the shared storage area. For the ARM processor to return the underlying board and interface display; the embodiment of the present invention is based on the OMAP3530 processor, and...