Apparatus and method for PLC time synchronization for communication control of smart factory system
By implementing a PLC time synchronization device and method based on PTP and TSN, the challenges of communication delays and disconnections in smart factory systems are addressed, ensuring deterministic and real-time communication and enhancing productivity and safety.
Patent Information
- Application Number
- PCT/KR2023/020368
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-12-12
- Publication Date
- 2025-06-19
AI Technical Summary
Standard Ethernet networks in smart factory systems lack real-time performance and determinism, leading to communication delays and disconnections when traffic increases, which can impact productivity and safety in mission-critical industries.
A PLC time synchronization device and method using Precision Time Protocol (PTP) and Time-Sensitive Networking (TSN) to synchronize the time of PLCs, traffic generators, and monitoring devices, ensuring scheduled traffic transmission and preventing communication delays and disconnections.
The solution ensures deterministic and real-time communication in smart factory systems, preventing productivity declines and safety risks associated with communication delays and disconnections.
Smart Images

Figure KR2023020368_19062025_PF_FP_ABST
Abstract
Description
PLC time synchronization device and method for communication control of smart factory system
[0001] The present invention relates to a PLC time synchronization device and method for communication control of a smart factory system, and more particularly, to a PLC time synchronization device and method based on the Precision Time Protocol (PTP).
[0002] The present invention was filed as a result of performing the following tasks.
[0003] [Project ID] 1711152811
[0004] [Subject Number] 2020-0-00647-003
[0005] [Ministry Name] Ministry of Science and ICT
[0006] [Research Management Specialist Agency] Information and Communications Technology Planning and Evaluation Institute
[0007] [Research Project Name] Development of 5G-based IoT Core Technologies
[0008] [Research Project Title] Development of On-Device High-Speed Event Complex Analysis and Synchronization Technology for IoT Time-Series Data Applicable to Smart Factories
[0009] [Contribution rate] 1 / 1
[0010] [Host Organization] Korea Electronics Technology Institute
[0011] [Research Period] January 1, 2023 - December 31, 2023
[0012]
[0013] Typically, a PLC receives signals from equipment, processes them according to its internal programming, and then outputs the processed signals to the equipment. In other words, smooth PLC operation indicates efficient operation of the automated equipment within the factory. Therefore, continuous monitoring of PLC operation is necessary.
[0014] Since PLCs are mainly controlled unmanned, when abnormal behavior is discovered, a series of actions can be monitored or log data such as past history can be saved to take follow-up measures, thereby confirming how the abnormal behavior occurred.
[0015] The PLC's data log module has a configuration in which, when a user-set condition is satisfied, the values of the relevant equipment (device) are saved as log data along with the time, and the saved log data is stored in an external memory.
[0016] In order to provide multiple PLC data to a monitoring device, an Ethernet switch was previously placed between multiple PLCs and the monitoring device.
[0017] Figure 1 is an example of a connection between a PLC and a monitoring device in a conventional smart factory.
[0018] Referring to FIG. 1, a conventional smart factory can be configured to connect a plurality of PLCs (10) and a traffic generator (20) to one Ethernet switch (30) and communicate with a monitoring device (40) to provide data.
[0019] At this time, the Ethernet switch (30) does not have time synchronization and scheduling functions, and simply serves to connect communication lines to enable communication between devices.
[0020] A plurality of PLCs (10) each transmit the collected data to a monitoring device (40), and a traffic generator (20) can generate traffic for controlling the PLCs (10) or for checking the quality of the network.
[0021] Data from the traffic generator (20) can be provided to each PLC (10).
[0022] An Ethernet-based network of this type is a type of local area network (LAN) and is the most widely used network type.
[0023] However, standard Ethernet has the problem of not guaranteeing real-time performance and determinism.
[0024] Therefore, when traffic increases, communication delays and disconnections may occur.
[0025] However, the existing method has the limitation that there is no way to resolve communication delays or disconnections that occur for any reason.
[0026] This is because standard Ethernet does not define a solution to address communication disconnections due to increased traffic.
[0027] Normal internet communication is at a level where even if there is a slight delay, you only have to tolerate a brief buffering.
[0028] However, smart factories include manufacturing facilities and control systems that handle hazardous materials, so even minor communication delays can reduce overall productivity and lead to major accidents.
[0029] Especially in mission-critical industries such as energy, where systems can come to a halt due to communication disruptions, more sophisticated communication processing and system synchronization are required.
[0030]
[0031] The problem that the present invention seeks to solve in consideration of the problems of the prior art as described above is to provide a PLC time synchronization device and method for communication control of a smart factory system that can prevent communication from being delayed or disconnected even when traffic increases.
[0032]
[0033] In order to solve the above technical problem, a time synchronization device of a PLC according to one aspect of the present invention includes a plurality of PLCs, a traffic generator that provides control traffic to each of the plurality of PLCs, and a time-sensitive networking device that synchronizes the time of the PLCs and the traffic generator and schedules a traffic transmission time.
[0034] In an embodiment of the present invention, a monitoring device connected to the time-sensitive networking device for monitoring PLC data may be further included.
[0035] In an embodiment of the present invention, time synchronization can be achieved by the general Precision Time Protocol (gPTP).
[0036] In an embodiment of the present invention, the time-sensitive networking device can control the opening and closing of the gate according to the scheduled traffic transmission time.
[0037]
[0038] In addition, a time synchronization method of a PLC according to another aspect of the present invention is a method performed in a time-sensitive networking device that configures a time-sensitive network with a plurality of PLCs and traffic generators, and may include a) a step of synchronizing the time of the PLC and the traffic generator, and b) a step of scheduling a control traffic transmission time of the traffic generator.
[0039] In an embodiment of the present invention, a monitoring device is included that monitors the PLC data through the time-sensitive network device, and step a) can synchronize the time of the monitoring device together.
[0040] In an embodiment of the present invention, time synchronization can be achieved by the general Precision Time Protocol (gPTP).
[0041]
[0042] Figure 1 is an example diagram of a conventional PLC network configuration.
[0043] Figure 2 is an example diagram of a PLC network configuration of the present invention.
[0044] Figure 3 is an example diagram showing a time synchronization process using gPTP.
[0045] Figure 4 is an example of scheduling for transmitting control traffic of a traffic generator (2) to a PLC (1).
[0046]
[0047] - Explanation of symbols -
[0048] 1: PLC 2: Traffic generator
[0049] 3: Time-sensitive networking devices 4: Monitoring devices
[0050]
[0051] To fully understand the structure and effects of the present invention, preferred embodiments of the present invention will be described with reference to the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, but can be implemented in various forms and can be modified in various ways. However, the description of the present embodiments is provided to ensure that the disclosure of the present invention is complete and to fully inform those skilled in the art of the present invention of the scope of the invention. In the accompanying drawings, components are illustrated in an enlarged size for convenience of explanation, and the proportions of each component may be exaggerated or reduced.
[0052] Terms such as "first" and "second" may be used to describe various components, but the components should not be limited by these terms. These terms may only be used to distinguish one component from another. For example, without departing from the scope of the present invention, a "first component" may be referred to as a "second component," and similarly, a "second component" may also be referred to as a "first component." Furthermore, singular expressions include plural expressions unless the context clearly dictates otherwise. Terms used in the embodiments of the present invention may be interpreted as having meanings commonly known to those of ordinary skill in the art, unless otherwise defined.
[0053] Hereinafter, a time synchronization device and method of a PLC for communication control of a smart factory system according to an embodiment of the present invention will be specifically described with reference to the drawings.
[0054]
[0055] FIG. 2 is a block diagram of a time synchronization device of a PLC for communication control of a smart factory system according to a preferred embodiment of the present invention.
[0056] Referring to FIG. 2, the present invention can be configured to form a time-sensitive network by connecting a plurality of PLCs (1) and a traffic generator (2) to a single time-sensitive networking device (3), and to provide data to a monitoring device (4) connected to the time-sensitive network.
[0057] Time-Sensitive Networking (TSN) is a set of standards for implementing deterministic message delivery in standard Ethernet networks. Deterministic here means that network information transmission and reception are completed without exception, and in TSN, this must be completed within a specified timeframe.
[0058] A plurality of the above PLCs (1) and time-sensitive networking devices (3) use the general Precision Time Protocol (gPTP) to provide integrated settings for time synchronization, data traffic scheduling, and TSN compatibility.
[0059] Figure 3 is an example diagram showing a time synchronization process using gPTP.
[0060] Referring to FIG. 3, more accurate time synchronization can be achieved between a PLC (1) and a time-sensitive networking device (3) through a request for delay time information (Pdelay Request), a response thereto (Pdelay Response), and a follow-up of the response (Pdelay Response Follow Up).
[0061] In this state of time synchronization, the time-sensitive networking device (3) schedules data traffic of each PLC (1) and traffic generator (2).
[0062] The PLC (1) and traffic generator (2) transmit data according to a set schedule after time synchronization, and the time-sensitive networking device (3) controls the communication gate according to the schedule to provide data from each PLC (1) to the monitoring device (4), or provide PLC control traffic of the traffic generator (2) to each PLC (1).
[0063] Figure 4 is an example of scheduling for transmitting control traffic of a traffic generator (2) to a PLC (1).
[0064] Referring to Fig. 4, in order to transmit control traffic to PLC (1), a cycle is set to 1000 ms, and the gate is opened for 100 ms from the start of the cycle so that control traffic of the traffic generator (2) can be transmitted to PLC (1).
[0065] In this way, by synchronizing the time of each PLC (1) and traffic generator (2) and scheduling the traffic transmission time, traffic transmission can be guaranteed and data link disconnection can be prevented.
[0066] Therefore, the present invention can prevent a decline in productivity due to communication delay and disconnection in a smart factory and reduce the risk of accidents.
[0067]
[0068] While the embodiments of the present invention have been described above, they are merely exemplary, and those skilled in the art will understand that various modifications and equivalent embodiments are possible. Therefore, the true scope of technical protection of the present invention should be defined by the following claims.
[0069]
[0070] The present invention relates to a device and method for synchronizing the time of a PLC in a smart factory using natural laws, and has industrial applicability.
Claims
1. Multiple PLCs; A traffic generator that provides control traffic to each of a number of PLCs; A device comprising a time-sensitive networking device for synchronizing the time of the PLC and the traffic generator and scheduling the traffic transmission time.
2. In paragraph 1, A device further comprising a monitoring device connected to said time sensitive networking device for monitoring PLC data.
3. In paragraph 1, Time synchronization is, A device characterized by being implemented by the general Precision Time Protocol (gPTP).
4. In paragraph 1, The above time sensitive networking device, A device characterized by controlling the opening and closing of a gate in accordance with a scheduled traffic transmission time.
5. A method performed in a time-sensitive networking device comprising multiple PLCs and traffic generators and a time-sensitive network, a) a step of synchronizing the time of the PLC and the traffic generator; and b) A method comprising the step of scheduling a control traffic transmission time of the traffic generator.
6. In paragraph 5, Including a monitoring device for monitoring the PLC data through the time sensitive network device; A method characterized in that the step a) above synchronizes the time of the monitoring device together.
7. In paragraph 5, Time synchronization is, A method characterized by being performed by the general Precision Time Protocol (gPTP).
Citation Information
Patent Citations
Foldable attachment device covering tablet device and method of manufacturing attachment device having electric circuit to tablet device
KR1020230039239A
GRU deep learning model-based adaptive data transmission rate change method and apparatus considering mobility of terminal device
KR1020240071753A
Time-sensitive networking support over sidelink
US20220377684A1
KR20230014747A
KR20230105437A