Supercharge Your Innovation With Domain-Expert AI Agents!

Method for synchronizing kernel data of real-time system and non-real-time system of industrial Ethernet numerical control system

A system kernel and real-time system technology, applied in the direction of digital control, data exchange through path configuration, electrical program control, etc., can solve the problems of complex programming, inability to guarantee data synchronization, and inability to guarantee real-time performance of the system to achieve simple programming, Strong real-time effects

Active Publication Date: 2012-01-11
中国科学院沈阳计算技术研究所有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, because the interrupts generated by the industrial Ethernet hardware are not generated regularly, it is related to the size of the data transmitted on the industrial Ethernet and whether there is packet loss. The interrupts generated by the industrial Ethernet hardware are directly used to drive the motion control process and the industrial Ethernet drive process. For data exchange, there is a buffer mutual exclusion problem, which cannot guarantee the periodic data synchronization between the motion control process in the real-time system kernel and the industrial Ethernet driver process in the non-real-time kernel, cannot guarantee the real-time performance of the system, and the programming is complicated

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for synchronizing kernel data of real-time system and non-real-time system of industrial Ethernet numerical control system
  • Method for synchronizing kernel data of real-time system and non-real-time system of industrial Ethernet numerical control system
  • Method for synchronizing kernel data of real-time system and non-real-time system of industrial Ethernet numerical control system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Such as figure 1 As shown, it is a block diagram of the numerical control system architecture of the present invention, which shows the relationship between real-time tasks and non-real-time tasks of the numerical control system and the position of the numerical control operating system where the industrial Ethernet is located. The method of the present invention is based on Linux+RTAI real-time extension, that is, the real-time system kernel 16 in the numerical control operating system is RTAI (Real Time Application Interface, the interface of real-time application program), and the non-real-time system kernel 11 is Linux. The motion control process 12 and other real-time processes 14 run in the real-time system kernel 16 . The non-real-time system kernel 11 runs the industrial Ethernet driver process 9 and other non-real-time processes 15 . The motion control process 12 and the industrial Ethernet driver process 9 are connected and exchange data through the inter-ker...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a method for synchronizing kernel data of a real-time system and a non-real-time system of an industrial Ethernet numerical control system, comprising the following steps of: initializing buffer zones between the kernels of the real-time system and the non-real-time system; establishing a priority interrupt channel between the kernels of the real-time system and the non-real-time system; and carrying out data synchronization between the kernels of the real-time system and the non-real-time system, wherein initializing the buffer zones between the kernels of the real-time system and the non-real-time system comprises steps that a motion control program in the kernel of the real-time system applies for two buffer zones from the kernel of the real-time system, and the two buffer zones are respectively defined as a transmitting buffer zone and a receiving buffer zone; and an industrial Ethernet driving program in the kernel of the non-real-time system applies for using the two buffer zones from the kernel of the non-real-time system to directly obtain head pointers of the two buffer zones. The method can accomplish synchronization operation by only needing to transmit one virtual interrupt to the kernel of the non-real-time system in each motion period, and has very simple programming and strong instantaneity.

Description

technical field [0001] The invention relates to a numerical control system with an industrial Ethernet communication interface, in particular to a method for synchronizing real-time and non-real-time system core data of the industrial Ethernet numerical control system. Background technique [0002] At present, the latest fieldbus technology adopted in the numerical control system has the following characteristics: (1) openness of the system; (2) interoperability and interoperability; (3) intelligent control; (4) complete distribution of system structure ; (5) Adaptability to the site environment. Due to the above characteristics, a lot of research has been carried out at home and abroad, and many field bus standards have been formed, such as: Profibus, SERCOS, Foundation Bus, Industrial Ethernet, etc. Compared with other industrial fieldbus technologies, industrial Ethernet is the fastest-growing fieldbus technology after the standard is formulated, and more and more CNC sy...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G05B19/414H04L12/28
Inventor 林浒陶耀东秦承刚尹震宇于东吴文江
Owner 中国科学院沈阳计算技术研究所有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More