Multi-objective synchronization control system, method and medium based on EPA network
By configuring the synchronous start command and data packaging mechanism for the multi-objective synchronous control system in the EPA network, the problems of data packet loss and synchronization deviation are solved, the control accuracy and system adaptability are improved, and a flexible network topology is realized.
Patent Information
- Application Number
- CN202311247803.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-26
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2043-09-26
AI Technical Summary
Existing multi-objective synchronous control systems have problems with data packet loss and network link congestion in large-capacity multi-objective situations. As a result, the control system data cannot be guaranteed to be delivered, and there is a lack of appropriate synchronization control methods, which affects system control accuracy and startup. Synchronicity.
Using a multi-target synchronous control system based on the EPA network, the control host configures the synchronous start command for each EPA node in the period of the EPA communication cycle, so that it starts at the same time at the scheduled time, and is packaged according to the scheduled and actual node order through the switch. data, ensuring the certainty and synchronization of data transmission.
It achieves the network topology flexibility and data certainty of the multi-objective synchronous control system, improves the control accuracy, shortens the control cycle, solves the problems of low synchronous control accuracy and large system startup synchronization deviation, and increases the adaptability and flexibility sex.
Smart Images

Figure CN117221041B
Abstract
Description
Technical Field
[0001] The present invention generally relates to the field of industrial control, and more specifically, to a multi-objective synchronous control system based on an EPA network, a multi-objective synchronous control method and a computer-readable storage medium. Background Art
[0002] EPA (Ethernet for Plant Automation, Industrial Ethernet) bus, as a fieldbus standard with completely independent intellectual property rights in China, has been accepted and published by the International Electrotechnical Commission (IEC) as an international fieldbus standard, becoming my country's first international standard for industrial automation. The EPA network is based on the OSI (Open System Interconnect) model, uses the physical layer of Ethernet as the transmission basis, and realizes high-speed, strong real-time reliability transmission through the EPA protocol. It has been widely used in the field of industrial automation control.
[0003] A multi-target synchronous control system is an industrial control system that requires synchronous control of multiple targets. It generally includes a control host, networking equipment, execution controller, etc., and is widely used in motion control scenarios such as ship assembly and equipment handling. The network networking of a multi-target synchronous control system is one of the key technologies that determine the real-time performance and synchronization control accuracy of a multi-target synchronous control system. At present, multi-target synchronous control systems often use CAN (Controller Area Network), UDP (User Datagram Protocol), EtherCAT (Ethernet Control Automation Technology), etc. as the communication protocol basis for network networking.
[0004] However, the multi-target synchronous control system that uses CAN, UDP and other systems for networking does not have a suitable deterministic data processing method for its networking network (there is no special processing for data transmission and reception, and no priority or sequential processing), which leads to data packet loss or network link congestion in the case of large-capacity multi-targets. As a result, the control system data cannot be guaranteed to be delivered to the target node, and the data of the nodes in the control system are not synchronized. In addition, this type of multi-target synchronous control system lacks an appropriate synchronous control method when used in motion control applications, resulting in the inability of the system's multiple targets to start motion synchronously, which in turn affects the system's control accuracy; and the network topology of this type of multi-target synchronous control system is single, which is not conducive to system networking. Summary of the invention
[0005] In view of at least one of the above problems, the present invention provides a multi-objective synchronous control system based on an EPA network.
[0006] According to one aspect of the present invention, a multi-target synchronous control system based on an EPA network is provided. The multi-target synchronous control system includes a control host and a plurality of EPA node communication devices connected to the control host through the EPA network. The control host is configured to: configure a synchronous start command for each EPA node communication device in a periodic time period of an EPA communication cycle to command the plurality of EPA node communication devices to start simultaneously at a predetermined time; send the synchronous start command to each EPA node communication device through the EPA network, wherein each EPA node communication device is configured to: determine the predetermined time based on the synchronous start command; and at the predetermined time, turn on the synchronous output port to control the start of the execution controller connected to the EPA node communication device.
[0007] In some implementations, the synchronization start command includes a start flag bit, and configuring the synchronization start command for each EPA node communication device includes: setting the start flag bit to 1.
[0008] In some implementations, the synchronization start command includes the predetermined time.
[0009] In some implementations, the predetermined time is fixedly set in advance for the multi-objective synchronous control system.
[0010] In some implementations, the predetermined time includes an end time of a periodic time period of the EPA communication cycle.
[0011] In some implementations, the control host is configured to configure the synchronization start command for the EPA node communication device in a cycle time slice dedicated to each EPA node communication device in a cycle time period of the EPA communication cycle.
[0012] In some implementations, the control host is further configured to: package the data to be sent to each EPA node communication device into a downlink data packet according to a predetermined node order, and the multi-target synchronous control system also includes a switch, which is configured to split the downlink data packet into downlink data for each EPA node communication device based on the predetermined node order and the actual node order of the multiple EPA node communication devices; and send the downlink data to the EPA node communication device according to the actual node order.
[0013] In some implementations, the switch is configured to send the downlink data to the EPA node communication device through the EPA network in a time slice for each EPA node communication device during a periodic time period of the EPA communication cycle.
[0014] In some implementations, the switch is further configured to: receive uplink data from each EPA node communication device, wherein the uplink data includes an actual node order of the EPA node communication device; based on the actual node order and a predetermined node order of the multiple EPA node communication devices, package the uplink data into an uplink data packet according to the predetermined node order; and send the uplink data packet to the control host.
[0015] In some implementations, the switch receives uplink data of the EPA node communication device through the EPA network at a time slice for each EPA node communication device during a periodic time period of the EPA communication cycle.
[0016] In some implementations, the switch and the EPA node communication device are configured with a communication interface, and wherein the switch is configured to send the downlink data to the EPA node communication device and receive uplink data from each EPA node communication device through the communication interface.
[0017] In some implementations, each EPA node communication device also includes a fault output port, and the EPA node communication device is configured to output a fault signal to an execution controller connected to the EPA node communication device through the fault output port when a fault occurs in the network of the multi-target synchronous control system, so that the execution controller performs a control operation based on the fault signal.
[0018] In some implementations, the plurality of EPA node communication devices are connected to the switch in a ring shape.
[0019] In some implementations, the plurality of EPA node communication devices are divided into a plurality of groups, each group is star-connected to the switch, and the EPA node communication devices in each group are line-connected.
[0020] According to another aspect of the present invention, a multi-target synchronous control method based on an EPA network is provided. The method comprises: in a periodic time period of an EPA communication cycle, a control host configures a synchronous start command for each EPA node communication device to command multiple EPA node communication devices to start simultaneously at a predetermined time, and sends the synchronous start command to each EPA node communication device through the EPA network; each EPA node communication device determines the predetermined time based on the synchronous start command, and at the predetermined time, turns on a synchronous output port to control the start of an execution controller connected to the EPA node communication device.
[0021] In some implementations, the method further includes: the control host configuring the synchronization start command for the EPA node communication device in a cycle time slice dedicated to each EPA node communication device in a cycle time period of the EPA communication cycle.
[0022] In some implementations, the method further includes: the control host packages the data to be sent to each EPA node communication device into a downlink data packet according to a predetermined node order; the switch splits the downlink data packet into downlink data for each EPA node communication device based on the predetermined node order and the actual node order of the multiple EPA node communication devices, and sends the downlink data to the EPA node communication device according to the actual node order.
[0023] In some implementations, the method further includes: the switch receives uplink data of each EPA node communication device, wherein the uplink data includes an actual node order of the EPA node communication device; based on the actual node order and a predetermined node order of the multiple EPA node communication devices, packing the uplink data into an uplink data packet according to the predetermined node order; and sending the uplink data packet to the control host.
[0024] According to another aspect of the present invention, a computer-readable storage medium is provided, on which a computer program code is stored. When the computer program code is executed by a processor, the method described above is executed.
[0025] By using the scheme of the present invention, by applying the EPA communication protocol to the multi-target synchronous control system, using the network characteristics of the EPA network, using it as the networking network of the multi-target synchronous control system, and combining the synchronous control method of the multi-target synchronous control system based on the EPA network proposed by the present invention, the characteristics of flexible and changeable network topology and data certainty of the multi-target synchronous control system are realized, the problems of low synchronous control accuracy and large system startup synchronization deviation of the multi-target synchronous control system are solved, the control cycle of the multi-target synchronous control system is shortened, and the control accuracy of the multi-target synchronous control system is improved. In addition, the synchronous control method of the multi-target synchronous control system based on the EPA network of the present invention can be used for non-real-time network execution controllers, which increases the adaptability and flexibility of the multi-target synchronous control system. In addition, in some embodiments, the multi-target control system of the present invention also designs a method for combining and sub-packaging between the control host and the multi-targets, shortens the system control cycle, and solves the problems of single network topology, data packet loss and system network congestion of the multi-target synchronous control system. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The present invention will be better understood and other objects, details, features and advantages of the present invention will become more apparent through the following description of specific embodiments of the present invention given with reference to the accompanying drawings.
[0027] Figure 1A and Figure 1B A schematic diagram of a multi-objective synchronous control system with a ring topology according to some embodiments of the present invention is shown.
[0028] Figure 2A and Figure 2B Schematic diagrams of multi-objective synchronous control systems with hybrid topology structures according to other embodiments of the present invention are shown.
[0029] Figure 3 A schematic diagram showing the communication cycle of an EPA network.
[0030] Figure 4 A schematic diagram of a package-to-package mechanism according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0031] The preferred embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the preferred embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present invention more thorough and complete, and to fully convey the scope of the present invention to those skilled in the art.
[0032] In the following description, certain specific details are set forth for the purpose of illustrating various embodiments of the invention to provide a thorough understanding of the various embodiments of the invention. However, those skilled in the relevant art will recognize that the embodiments may be practiced without one or more of these specific details. In other cases, well-known devices, structures, and techniques associated with the present application may not be shown or described in detail to avoid unnecessarily obscuring the description of the embodiments.
[0033] Unless the context requires otherwise, throughout the specification and claims, the word "comprise" and variations such as "include" and "have" should be construed in an open, inclusive sense, ie, should be interpreted as "including, but not limited to."
[0034] References throughout the specification to "one embodiment" or "some embodiments" indicate that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment. Thus, the appearance of "in one embodiment" or "some embodiments" in various places throughout the specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any manner in one or more embodiments.
[0035] In addition, the terms "first", "second", "third", etc. used in the specification and claims are only used to distinguish each object for the sake of clarity of description, and do not limit the size or other order of the objects described, unless otherwise specified.
[0036] Figure 1A and Figure 1B A schematic diagram of a multi-objective synchronous control system 100 with a ring topology according to some embodiments of the present invention is shown. Figure 2A and Figure 2B A schematic diagram of a multi-objective synchronous control system 100 with a hybrid topology according to some other embodiments of the present invention is shown.
[0037] like Figure 1A , Figure 1B and Figure 2A , Figure 2B As shown in , the multi-target synchronous control system 100 may include a control host 110 and a plurality of EPA node communication devices 120 connected to the control host 110. The control host 110 and the EPA node communication devices 120 and the adjacent EPA node communication devices 120 are connected via an EPA bus and communicate using the EPA communication protocol, thereby forming an EPA network. Under the current limitations of Ethernet communication, the communication of up to 255 EPA node communication devices 120 can be supported in the multi-target synchronous control system 100.
[0038] exist Figure 1A and Figure 1BIn the EPA bus, multiple EPA node communication devices 120 are connected in a ring, and the control host 110 can be connected to any EPA node communication device 120, thereby forming a ring topology. In this case, even if the EPA bus is disconnected at one point, it is still possible to ensure that the information from the control host 110 reaches each EPA node communication device 120. Figure 2A and Figure 2B In the figure, multiple EPA node communication devices 120 are divided into multiple groups (such as each row in Figure 2), and the EPA bus connects the control host 110 with each group (specifically, the first EPA node communication device 120 of each group) in a star shape, and connects the EPA node communication devices 120 in each group in a linear shape, thereby forming a star + linear hybrid topology.
[0039] Figure 1A , Figure 1B and Figure 2A , Figure 2B The topological structure of the multi-objective synchronous control system 100 shown can meet the application scenarios of most control systems and greatly improve the flexibility of the multi-objective synchronous control system. However, those skilled in the art can understand that the multi-objective synchronous control system 100 described in the present invention is not limited to the topological structure shown in the figure, but can be applied to other forms of topological structures.
[0040] exist Figure 1A and Figure 2A In the embodiment, the control host 110 can be directly connected to the EPA node communication device 120, so that the control host 110 can directly send downlink data to the EPA node communication device 120 and receive uplink data from the EPA node communication device 120.
[0041] exist Figure 1B and Figure 2B In the embodiment, the multi-target synchronous control system 100 may further include a switch 130. The switch 130 is used to perform data exchange between the control host 110 and the EPA node communication device 120. In this case, the control host 110 may be connected only to the switch 130, and send downlink data to the EPA node communication device 120 and receive uplink data from the EPA node communication device 120 via the switch 130.
[0042] The switch 130 may be a common switch or an EPA switch supporting the EPA communication protocol. In the former case, the switch 130 is only used to control the data routing between the host 110 and the EPA node communication device 120. In the latter case, the switch 130 may also participate in controlling the data exchange between the host 110 and the EPA node communication device 120 according to the EPA communication protocol, such as merging and sub-packetizing data, as described in detail below.
[0043] In addition, in some embodiments, the multi-objective synchronous control system 100 may further include an execution controller 140 (only one execution controller is shown in the figure for example) connected to each EPA node communication device 120, for directly controlling each industrial device (not shown in the figure). The execution controller 140 may be a part of the multi-objective synchronous control system 100 or an independent component, such as a device provided by the demand unit itself.
[0044] The main difficulty of the multi-target synchronous control system 100 is the synchronous control of multiple targets (ie, industrial equipment connected to the execution controller 140). In the present invention, this synchronous control is achieved through the EPA network.
[0045] Figure 3 The schematic diagram of the communication cycle of the EPA network is shown. In the EPA network, each network node uses time division multiplexing to perform periodic communication, that is, under the premise of determining that the same time base is used, a communication cycle T of a specified time length is formulated according to the specific application scenario of the system, which is also called a macro cycle. The communication cycle T is usually divided into a periodic time period Tp and a non-periodic time period Tn, wherein the periodic time period Tp is used to transmit periodic messages (i.e., data sent periodically at a fixed frequency), and the non-periodic time period Tn is competed by each network node to send non-periodic messages, such as burst data and system messages generated by the network itself. The communication cycle T is divided into multiple time slices, and each network node can occupy a time slice in the periodic time period Tp for communication, and can compete for one or more time slices in the non-periodic time period Tn. For example, the network node can carry a non-periodic declaration in the periodic message sent in the periodic time period Tp as needed to declare the start time and length of the time slice in the non-periodic time period Tn that it needs to occupy. In the multi-target synchronous control system 100 according to the present invention, each EPA node communication device 120 can be allocated a time slice t in the periodic time period Tp. i For example, in the case where there are 255 EPA node communication devices 120 , the periodic time period Tp may be divided into 255 time slices, each time slice being used for one EPA node communication device 120 .
[0046] In the present invention, the control host 110 can use the time slice t for each EPA node communication device 120 in the periodic time period Tp. i A synchronization control command is sent to the corresponding EPA node communication device 120, and the synchronization control command instructs all EPA node communication devices 120 to execute the corresponding instruction operation at the same time. Figure 3As shown in , in the periodic message of the periodic time period Tp, a command field CMD for each EPA node communication device 120 may be included, and the command field CMD may include one or more commands for each EPA node communication device 120. For example, the command field CMD may include multiple flag bits, each flag bit corresponding to a command type, such as a start command, a stop command, a data output terminal (DO) conduction command, etc. In addition, optionally, the command field CMD may also include other data, such as operation data corresponding to each command type, device parameters, etc.
[0047] The synchronous control of the multi-target synchronous control system 100 may include initial startup synchronization and synchronization of various instruction operations during operation.
[0048] When performing initial synchronous control on the multi-target synchronous control system 100 , the control host 110 may send a start instruction to each EPA node communication device 120 .
[0049] Specifically, the control host 110 may configure a synchronous start command for each EPA node communication device 120 in the period time period Tp of the EPA communication cycle T so as to command these EPA node communication devices 120 to start simultaneously at a predetermined time.
[0050] like Figure 3 As shown in , the EPA switch 110 may set the start flag bit for the start command in the command field CMD to 1, and use the command field CMD containing the start flag bit as a synchronous start command.
[0051] In some embodiments, the predetermined time for the simultaneous startup of the EPA node communication devices 120 is pre-set for the multi-target synchronous control system 100. For example, when the multi-target synchronous control system 100 is constructed, the effective time of all EPA node communication devices 120 relative to the synchronous startup command is set by default.
[0052] For example, Figure 3 As shown in , the scheduled time ts may be the end time of the period time period Tp of the current communication cycle T. Alternatively, the scheduled time ts may also be set by default to other times, such as the end time of the current communication cycle T, the end time of the period time period of the next communication cycle, etc. In this case, the synchronization start command may or may not include the scheduled time, that is, a static synchronization start time setting is used.
[0053] In other embodiments, the predetermined time may be included in the synchronous start command. In this way, the control host 130 may set or change the specific time of the synchronous start each time, thereby realizing dynamic synchronous start time setting.
[0054] The control host 110 may send the synchronization start command to each EPA node communication device 120 through the EPA network between the control host 110 and the EPA node communication device 120 (for the sake of simplicity, only some of the EPA node communication devices 120 are marked and the first EPA node communication device 120 is marked as 120-1 and the last EPA node communication device 120 is marked as 120-255). For example, in Figure 2A and Figure 2B In the multi-target synchronous control system 100 shown in FIG. 1 , the control host 110 can directly or via the switch 130 send a periodic message containing all synchronous start commands to the first EPA node communication device 120 in each group of EPA node communication devices 120 through a star connection with each group of EPA node communication devices 120, and the first EPA node communication device 120 sends the periodic message to the subsequent EPA node communication devices 120 in the group in sequence along the linear connection. Figure 1A and Figure 1B In the multi-target synchronous control system 100 shown, the control host 110 can send a periodic message containing all synchronous start commands to the EPA node communication device 120 directly connected to the control host 110 or the switch 130 directly or via the switch 130 through the EPA bus, and traverse all EPA node communication devices 120 in a clockwise or counterclockwise direction.
[0055] Upon receiving the synchronous start command, each EPA node communication device 120 may determine a scheduled time for simultaneous start based on the synchronous start command. For example, the EPA node communication device 120 may unpack the periodic message to extract the start flag in the command field CMD therein. If the start flag is set to 1, it may be determined that the periodic message is used to synchronously start all EPA node communication devices 120. In this case, the EPA node communication device 120 may further parse the scheduled time from the command field CMD or the periodic message or may determine the scheduled time according to a default setting.
[0056] At the predetermined time, the EPA node communication device 120 may turn on its synchronous output port (DO) to control the execution controller 140 connected to the EPA node communication device 120 to start.
[0057] Since all nodes of the multi-objective synchronous control system 100 based on the EPA network are clock-synchronized with a synchronization accuracy of 50ns, which is equivalent to all nodes in the system having a pre-calibrated "high-precision watch", each EPA node communication device 120 can accurately determine the conduction time of its synchronous output port through the synchronous start command in the periodic message to control the execution controller 140 connected thereto to start simultaneously. Each execution controller 140 can synchronously start the industrial equipment connected thereto based on the signal from the synchronous output port of the connected EPA node communication device 120 to start the control process.
[0058] In addition, for various other operation instructions, the control host 110 and the EPA node communication device 120 can also process them in a manner substantially the same as the synchronous start command. In addition, each EPA node communication device 120 can also use the time slice in the periodic message or the non-periodic message to upload its own node status, control command, etc. to the control host 110 directly or via the switch 130.
[0059] In addition, each EPA node communication device 120 may also include a fault output port, through which the EPA node communication device 120 may output a fault signal to the execution controller 140 connected thereto when a fault occurs in the network of the multi-target synchronous control system 100. The execution controller 140 may perform a control operation such as an emergency stop based on the fault signal.
[0060] In addition, for downlink data transmission from the control host 110 to the execution controller 140 and uplink data transmission from the execution controller 140 to the control host 110, Figure 1B and Figure 2B When the switch 130 shown is an EPA switch supporting EPA communication, the multi-target synchronous control system 100 according to the present invention also sets a special packet splitting and packet combining mechanism to improve the flexibility and accuracy of data transmission.
[0061] Specifically, in the multi-target synchronous control system 100 of the present invention, the control host 110 is configured to send downlink data or receive uplink data only in a fixed order without considering the actual order of each execution controller 140 .
[0062] For downlink data transmission, the control host 110 may package the downlink data to be sent to each execution controller 140 (EPA node communication device 120 ) into a downlink data packet according to a predetermined node sequence, and send the downlink data packet to the switch 130 .
[0063] When receiving the downlink data packet, the switch 130 may split the downlink data packet into downlink data for each EPA node communication device 120 based on the predetermined node sequence and the actual node sequence of the multiple EPA node communication devices 120 .
[0064] Figure 4 FIG. 2 shows a schematic diagram of a package-packaging and package-splitting mechanism according to an embodiment of the present invention. Figure 4 As shown in , in the downlink direction, the control host 110 can package the downlink data into downlink data packets according to a predetermined node order (such as EPA node communication devices 120-1, 120-2, 120-3...120-255) and send them to the switch 130. The switch 130 can split the downlink data packets into downlink data corresponding to the actual node order based on the relationship between the predetermined node order and the actual node order. For example, the switch 130 can determine the actual node order of each EPA node communication device 120 according to the front and back order of each EPA node communication device 120 in the multi-target synchronous control system 100 during the EPA bus transmission process. For example, Figure 4 As shown in , it is assumed that the actual node order of each EPA node communication device 120 in the EPA network is EPA node communication devices 120-253, 120-254, 120-255, ... 120-1, 120-2, 120-3.
[0065] Then, the switch 130 may send the downlink data of each EPA node communication device 120 to the corresponding EPA node communication device 120 according to the actual node order.
[0066] In other embodiments, for example, Figure 1A and 2A The switch 130 is not shown or is not included in Figure 1B and 2B In the case where the switch 130 shown is not a switch supporting the EPA function, the downlink data transmission can be performed through the EPA network between the control host 110 and each EPA node communication device. Specifically, the control host 110 can transmit the data in the periodic time period Tp of the EPA communication cycle T, in the time slice t for each EPA node communication device 120-i (i is, for example, 1, 2, 3, ... 255). i , the downlink data for the EPA node communication device 120 - i is sent to the EPA node communication device 120 - i directly through the EPA network or via the switch 130 .
[0067] On the other hand, for uplink data transmission, the switch 130 may receive uplink data from each EPA node communication device 120, and the uplink data includes the actual node sequence of the EPA node communication device 120. The switch 130 may package the uplink data into an uplink data packet according to the predetermined node sequence based on the actual node sequence and the predetermined node sequence of the plurality of EPA node communication devices 120, and send the uplink data packet to the control host 110.
[0068] like Figure 4 As shown in , assuming that the actual node order of each EPA node communication device 120 in the EPA network is EPA node communication devices 120-253, 120-254, 120-255, ... 120-1, 120-2, 120-3, and the fixed node order that the switch 130 hopes to receive is EPA node communication devices 120-1, 120-2, 120-3 ... 120-255, then the switch 130 can package the uplink data according to the predetermined node order according to the relationship between the predetermined node order and the actual node order.
[0069] In this way, the control host 110 can always send and receive data in the same order regardless of the actual order of the EPA node communication devices 120 / execution controllers 140, without having to modify according to the actual topology of the multi-target synchronous control system 100.
[0070] Similarly, for example, Figure 1A and Figure 2A The switch 130 is not shown or is not included in Figure 1B and Figure 2B In the case where the switch 130 shown is not a switch supporting the EPA function, the uplink data transmission can be performed through the EPA network between the control host 110 and each EPA node communication device 120. Specifically, the control host 110 can transmit the data in the period time period Tp of the EPA communication cycle T, in the time slice t for each EPA node communication device 120-i. i , receiving the uplink data of the EPA node communication device 120 - i directly through the EPA network or via the switch 130 .
[0071] In some embodiments, the control host 110 is configured with a communication interface, which can be connected to the EPA node communication device 120 and / or the switch 130. In addition to the communication interface used for EPA network networking, the EPA node communication device 120 can also be configured with a communication interface connected to an external device, which can be used to connect to the execution controller 140 associated therewith and / or to the control host 110. Here, the communication interface can be, for example, a known or future developed communication interface such as UDP, TCP, Ethernet interface, etc.
[0072] By using the multi-target synchronous control system of the present invention, the synchronous control of each EPA node communication device 120 / execution controller 140 can be easily realized through the EPA network, which effectively solves the problem of large synchronization deviation at system startup, shortens the control cycle of the multi-target synchronous control system, and improves the control accuracy of the multi-target synchronous control system. In addition, the synchronous control method of the multi-target synchronous control system based on the EPA network of the present invention is applicable to the execution controller of the non-real-time communication network, which increases the adaptability and flexibility of the multi-target synchronous control system.
[0073] The present invention may be implemented as a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present invention.
[0074] In one or more exemplary designs, the functions described in the present invention may be implemented using hardware, software, firmware, or any combination thereof. For example, if implemented using software, the functions may be stored as one or more instructions or codes on a computer-readable medium, or transmitted as one or more instructions or codes on a computer-readable medium.
[0075] The various units of the apparatus disclosed herein may be implemented using discrete hardware components or may be integrated on a hardware component, such as a processor. For example, the various exemplary logic blocks, modules, and circuits described in conjunction with the present invention may be implemented or executed using a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof for performing the functions described herein.
[0076] Those skilled in the art should also understand that the various illustrative logical blocks, modules, circuits, and algorithm steps described in conjunction with the embodiments of the present invention may be implemented as electronic hardware, computer software, or a combination of the two.
[0077] The above description of the present invention is intended to enable any person of ordinary skill in the art to implement or use the present invention. Various modifications of the present invention are apparent to those of ordinary skill in the art, and the general principles defined herein may also be applied to other variations without departing from the spirit and scope of the present invention. Therefore, the present invention is not limited to the examples and designs described herein, but is consistent with the broadest range of principles and novel features disclosed herein.
Claims
1. A multi-objective synchronous control system based on EPA network, comprising: A control host and a plurality of EPA node communication devices connected to the control host via the EPA network, The control host is configured as: In a periodic time period of the EPA communication cycle, configuring a synchronous start command for each EPA node communication device to command the multiple EPA node communication devices to start simultaneously at a predetermined time; Sending the synchronization start command to each EPA node communication device via the EPA network, Each EPA node communication device is configured as: Determining the predetermined time based on the synchronization start command; and At the predetermined time, the synchronous output port is turned on to control the execution controller connected to the EPA node communication device to start, The control host is further configured to: package the data to be sent to each EPA node communication device into downlink data packets according to a predetermined node order, And the multi-target synchronous control system further includes a switch, and the switch is configured as: Splitting the downlink data packet into downlink data for each EPA node communication device based on the predetermined node order and the actual node order of the plurality of EPA node communication devices; and The downlink data is sent to the EPA node communication device according to the actual node order.
2. The multi-target synchronous control system according to claim 1, wherein the synchronous start command includes a start flag, and configuring the synchronous start command for each EPA node communication device includes: The start flag is set to 1. 3 . The multi-target synchronous control system according to claim 1 , wherein the synchronous start command includes the predetermined time. 4 . The multi-objective synchronous control system according to claim 1 , wherein the predetermined time is fixedly set in advance for the multi-objective synchronous control system. 5 . The multi-target synchronous control system according to claim 4 , wherein the predetermined time includes an end time of a cycle time period of the EPA communication cycle.
6. The multi-target synchronous control system according to claim 1, wherein the control host is configured as: The synchronization start command is configured for the EPA node communication device in a cycle time slice dedicated to each EPA node communication device in a cycle time period of the EPA communication cycle.
7. A multi-target synchronous control system as described in claim 1, wherein the switch is configured to send the downlink data to the EPA node communication device through the EPA network in a periodic time period of the EPA communication cycle and in a time slice for each EPA node communication device.
8. The multi-target synchronous control system according to claim 1, wherein the switch is further configured to: receiving uplink data from each EPA node communication device, wherein the uplink data includes an actual node order of the EPA node communication device; Based on the actual node order and the predetermined node order of the plurality of EPA node communication devices, packaging the uplink data into an uplink data packet according to the predetermined node order; and Send the uplink data packet to the control host.
9. A multi-target synchronous control system as described in claim 8, wherein the switch receives the uplink data of the EPA node communication device through the EPA network in the time slice for each EPA node communication device during the periodic time period of the EPA communication cycle.
10. A multi-target synchronous control system as described in claim 8, wherein the EPA node communication device is configured with a communication interface connected to an external device, which is used to connect to an execution controller associated with the EPA node communication device and / or to the control host.
11. A multi-target synchronous control system as described in claim 1, wherein each EPA node communication device also includes a fault output port, and the EPA node communication device is configured to output a fault signal to an execution controller connected to the EPA node communication device through the fault output port when a fault occurs in the network of the multi-target synchronous control system, so that the execution controller performs a control operation based on the fault signal.
12. The multi-target synchronous control system according to claim 1, wherein the plurality of EPA node communication devices are connected to the switch in a ring shape.
13. The multi-target synchronous control system as described in claim 1, wherein the multiple EPA node communication devices are divided into multiple groups, each group is star-connected to the switch, and the EPA node communication devices in each group are linearly connected.
14. A multi-objective synchronous control method based on EPA network, comprising: In a periodic time period of the EPA communication cycle, the control host configures a synchronous start command for each EPA node communication device to command multiple EPA node communication devices to start simultaneously at a predetermined time, and sends the synchronous start command to each EPA node communication device through the EPA network; Each EPA node communication device determines the predetermined time based on the synchronous start command, and at the predetermined time, turns on the synchronous output port to control the execution controller connected to the EPA node communication device to start, The method further comprises: The control host packages the data to be sent to each EPA node communication device into downlink data packets according to a predetermined node order; The switch of the EPA network splits the downlink data packet into downlink data for each EPA node communication device based on the predetermined node order and the actual node order of the multiple EPA node communication devices, and sends the downlink data to the EPA node communication device according to the actual node order.
15. The multi-objective synchronous control method according to claim 14, further comprising: The control host configures the synchronization start command for the EPA node communication device in a cycle time slice dedicated to each EPA node communication device in a cycle time period of the EPA communication cycle.
16. The multi-objective synchronous control method according to claim 14, further comprising: The switch receives uplink data of each EPA node communication device, wherein the uplink data includes an actual node sequence of the EPA node communication device; Based on the actual node order and the predetermined node order of the plurality of EPA node communication devices, packaging the uplink data into an uplink data packet according to the predetermined node order; as well as Send the uplink data packet to the control host.
17. A computer-readable storage medium having a computer program code stored thereon, wherein the computer program code, when executed by a processor, performs the method according to any one of claims 14 to 16.
