Multi-core main controller and data synchronization system and method between main and auxiliary multi-core controllers

A main controller, data synchronization technology, applied in general control systems, control/regulation systems, program control and other directions, can solve problems such as interference and increase the overhead of task scheduling, reduce overhead, ensure real-time and reliability, good economical effect

Pending Publication Date: 2022-03-01
NANJING GUODIAN NANZI WEIMEIDE AUTOMATION CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention aims at realizing the data synchronization function between the master controller and the backup controller in the prior art by using the master controller to send the backup data to the backup controller uninterruptedly and regularly, resulting in increased task scheduling overhead and easy to cause important tasks To solve the technical problem that execution is interfered, a method and system for data synchronization between primary and secondary multi-core processors are provided

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
  • Multi-core main controller and data synchronization system and method between main and auxiliary multi-core controllers
  • Multi-core main controller and data synchronization system and method between main and auxiliary multi-core controllers
  • Multi-core main controller and data synchronization system and method between main and auxiliary multi-core controllers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] Embodiment 1: a multi-core master controller, the master controller adopts a multi-core processor, including a core task execution unit and a first task execution unit respectively arranged on different cores;

[0024] The core task execution unit is used to run the kernel of the operating system and handle interrupt tasks, and receives control instructions from the network and interlocking variable data from other controllers (interlocking variable data, also known as interlocking information or interlocking data);

[0025] The first task execution unit is used to regularly send the hot standby data to the auxiliary controller so that the auxiliary controller updates the hot standby data to the running area; it is also used to input the collected hardware device data and receive the data sent by the core task execution unit Interlock variable data and control instructions, perform logic operations based on hardware device data, interlock variable data and control instru...

Embodiment 2

[0029] Embodiment 2: On the basis of Embodiment 1, the multi-core master controller provided by this embodiment sets a shared data area, and the shared data area includes a receiving data area and a sending data area;

[0030] The multi-core main controller also includes a second task execution unit, the first task execution unit is used to receive the control instruction sent by the core task execution unit through the second task execution unit and the interlocking variable data from other controllers , including:

[0031] The second task unit is used to communicate with the core task execution unit, communicate with other controllers by means of inquiry and waiting, wait for the network communication data sent by the core task execution unit, and immediately update the network communication data to the received data Area;

[0032] The first task execution unit checks the accepted data area to obtain control instructions and interlocking variable data from other controllers...

Embodiment 3

[0036] Embodiment 3: On the basis of Embodiment 1 or Embodiment 2, the multi-core main controller provided by this embodiment includes a hot standby data area; the multi-core main controller also includes a third task execution unit,

[0037] The first task execution unit regularly sends the hot backup data to the secondary controller through the third task execution unit or sends the updated hot backup data to the secondary controller, specifically including: the first task execution unit sending the third task The execution unit sends a message to start the hot standby command, and the third task execution unit regularly sends the hot standby data to the secondary controller;

[0038] The first task execution unit obtains the updated hot backup data, sends a message of stopping the hot backup instruction to the third task execution unit, and sends the updated hot backup data to the hot backup data area;

[0039]The first task execution unit sends a message of starting the ho...

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 provides a multi-core main controller and a data synchronization system and method between the main and auxiliary multi-core controllers, and the multi-core main controller runs a core of an operating system and processes an interrupt task through a core task execution unit, and receives linkage variable data and a control instruction from a network; sending the hot standby data to the auxiliary controller through the first task execution unit so as to enable the auxiliary controller to update the hot standby data to the operation area; the data processing unit is used for inputting acquired hardware equipment data, receiving linkage variable data and a control instruction sent by the core task execution unit, performing logical operation according to the hardware equipment data, the linkage variable data and the control instruction to obtain an operation result and a control output instruction, and determining updated hot standby data; and then the timing sending of the hot standby data is paused, and the updated hot standby data is sent to the auxiliary controller. According to the invention, each task of the decentralized controller is limited to run on a fixed processor core, so that the execution of important tasks is not interfered.

Description

technical field [0001] The invention belongs to the technical field of industrial control, and in particular relates to a multi-core master controller and a data synchronization system and method between master and auxiliary multi-core controllers. Background technique [0002] Decentralized control system (DCS) adopts the design principle of decentralized control and centralized operation, and is widely used in industrial control fields such as electric power and chemical industry. DCS system consists of workstations, communication network, distributed controllers and input and output modules. Among them, the distributed controller is the core component of the DCS system. In order to ensure the performance of the control system and the reliable operation of the equipment, the distributed controller is usually required to adopt a redundant design in pairs. As an important node in the DCS system, each distributed controller undertakes functions such as data collection of inp...

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
IPC IPC(8): G05B19/418
CPCG05B19/4183G05B2219/33273Y02P90/02
Inventor 杨春瑜吴胜华
Owner NANJING GUODIAN NANZI WEIMEIDE AUTOMATION CO LTD
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