Data communication of motion controller and method and device thereof for interrupt dispatch

A motion controller, data communication technology, applied in the direction of digital control, electrical program control, etc., can solve the problems of read and write confusion, data competition, real-time and reliability problems of multi-CPU communication, and improve system efficiency and reliability. improved effect

Active Publication Date: 2009-06-03
XI AN JIAOTONG UNIV
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a solution to the real-time and reliability problems of multi-CPU communication in the high-speed motion controller, which can avoid data competition and read and write confusion problems that may occur in the motion controller. Interrupt scheduling method and device thereof

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
  • Data communication of motion controller and method and device thereof for interrupt dispatch
  • Data communication of motion controller and method and device thereof for interrupt dispatch
  • Data communication of motion controller and method and device thereof for interrupt dispatch

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] As shown in Figure 1. CPLD is used as the intermediate bridge of CPU1 (1) and CPU2 (5) data communication, internally by first, second address comparator (2), (6), first, second address counter (3), (7), dual-port RAM (4), dual-port RAM output selector (8) and dual-port RAM address selector (9). When CPU1(1) reads and writes data to dual-port RAM(4), the address signal of CPU1(1) is compared with the first address comparator (2), and two output signals 1S1 and 1S2 can be generated. When the operating address of CPU1 (1) is 1S1, the output signal 1S1 is low level, and the loading (LOAD) terminal of the first address counter (3) is selected, and CPU1 (1) changes the first address counter by writing the 1S1 address The current value of (3), and then realize the random reading and writing to dual-port RAM (4). When the operating address of CPU1 was 1S2, the output signal 1S2 was a low level, and the dual-port RAM address selector (9) was selected to be effective as the fi...

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 discloses the data communication of a motion controller and a method and a device thereof for interrupt dispatch. The device establishes a dual-port RAM structure to realize data communication among multi CPUs through adopting random access memory (RAM) in an Embedded Array Block (EAB) inside a complex programmable logic device (CPLD). An interrupt synchronous system is designed by utilizing inside logic unit of the CPLD to realize communication coordination among multiple CPUs. Through the triggering and removal of system interruption signals, the multiple CPUs of a motion controller can realize the read/write to the specific unit address of the RAM, so that the communication data transfer of the multi-CPU system corresponds to the use tempo and is not influenced by the CPU scan period. The invention has the advantages that the reliability of the data communication is greatly increased, the time for CPU enquiry is saved, repeat response or lose phenomenon of interruption are avoided and safety, reliability and stability of the high-speed motion control system are improved.

Description

technical field [0001] The invention belongs to the technical field of numerical control of mechanical equipment, and in particular relates to a method and device for data communication and interrupt scheduling of a motion controller. Background technique [0002] In the motion controller, multiple CPUs are usually used to realize data processing with different functions, so that the advantages of various CPU functions and operating systems can be fully utilized to solve the characteristics and requirements of different tasks in motion control. [0003] However, when designing a complex control system, the CPU needs to process a large number of transactions, and at the same time it needs to perform different processing on the same or a batch of data. The fast and real-time exchange of data between CPUs is the key to determining whether the control system meets the requirements. The core, especially in the actual application environment, there are a large number of uncertain ...

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 Applications(China)
IPC IPC(8): G05B19/414
Inventor 陶涛梅雪松刘栋姜歌东许睦旬马振群杨虎
Owner XI AN JIAOTONG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products