KR102188746B1 - Distributed control device including a real-time compensation means - Google Patents

Distributed control device including a real-time compensation means Download PDF

Info

Publication number
KR102188746B1
KR102188746B1 KR1020180170798A KR20180170798A KR102188746B1 KR 102188746 B1 KR102188746 B1 KR 102188746B1 KR 1020180170798 A KR1020180170798 A KR 1020180170798A KR 20180170798 A KR20180170798 A KR 20180170798A KR 102188746 B1 KR102188746 B1 KR 102188746B1
Authority
KR
South Korea
Prior art keywords
time
data
slave device
real
slave
Prior art date
Application number
KR1020180170798A
Other languages
Korean (ko)
Other versions
KR20200080866A (en
Inventor
최성훈
Original Assignee
알에스오토메이션주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 알에스오토메이션주식회사 filed Critical 알에스오토메이션주식회사
Priority to KR1020180170798A priority Critical patent/KR102188746B1/en
Priority to PCT/KR2019/015143 priority patent/WO2020138704A1/en
Publication of KR20200080866A publication Critical patent/KR20200080866A/en
Application granted granted Critical
Publication of KR102188746B1 publication Critical patent/KR102188746B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/407Bus networks with decentralised control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0008Synchronisation information channels, e.g. clock distribution lines

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

본 발명의 분산 제어 장치는, 네트워크 마스터에 직렬형 또는 이중화 네트워크로 연결된 복수의 슬레이브 기기; 상기 각 슬레이브 기기의 초기화시 실시간성을 보장하는 제1 연산 및 어느 한 곳의 네트워크 연결이 끊어져 이중화 연결된 경우에 변동된 시간 정보를 고려하여 상기 각 슬레이브 기기의 실시간성을 보장하는 제2 연산을 수행하는 실시간 보상 수단; 을 포함한다.The distributed control apparatus of the present invention includes a plurality of slave devices connected to a network master through a serial or redundant network; When each slave device is initialized, a first operation to ensure real-time performance and a second operation to guarantee real-time of each slave device are performed in consideration of changed time information in the case of a redundant connection due to disconnection of any one network Real-time compensation means; Includes.

Figure R1020180170798
Figure R1020180170798

Description

실시간 보상 수단을 구비한 분산 제어 장치{DISTRIBUTED CONTROL DEVICE INCLUDING A REAL-TIME COMPENSATION MEANS}Distributed control device equipped with real-time compensation means {DISTRIBUTED CONTROL DEVICE INCLUDING A REAL-TIME COMPENSATION MEANS}

본 발명은 네트워크에 기반한 분산 제어 장치에 관한 것이다.The present invention relates to a network-based distributed control device.

공장 자동화의 발전으로 제어 대상 시스템이 크고 복잡해지면서 단일 제어 시스템에서 점차 네트워크에 기반한 분산 제어 시스템으로 기술이 발전하고 있다.As the control target system becomes large and complex with the development of factory automation, technology is gradually developing from a single control system to a distributed control system based on a network.

분산 제어 시스템(Distributed Control System)을 위하여 산업용 네트워크가 사용될 수 있다. 산업용 네트워크는 필드 레벨의 분산 제어 기기를 통제하는 필드 버스를 말한다.An industrial network can be used for the Distributed Control System. Industrial networks refer to field buses that control distributed control devices at the field level.

산업용 네트워크의 직렬형(라인 토폴로지) 연결에서 어느 한 연결이 끊어지면 안정성 확보를 위하여 이중화(Ring) 연결이 사용될 수 있다.If any one connection is disconnected from the serial (line topology) connection of an industrial network, a ring connection can be used to ensure stability.

분산된 제어 기기의 통제 및 제어 안정성을 위한 산업용 네트워크의 이중화 연결에서 실시간성을 보장하는 기술이 필요하다. There is a need for a technology that guarantees real-time in the redundant connection of industrial networks for control and control stability of distributed control devices.

본 발명은, 실시간 보상 수단을 구비하며, 이중화 연결시 분산된 각각의 제어 기기의 실시간 통제 및 제어를 가능하게 한다.The present invention is provided with a real-time compensation means, and enables real-time control and control of each distributed control device upon redundant connection.

본 발명의 분산 제어 장치는, 네트워크 마스터에 직렬형 또는 이중화 네트워크로 연결된 복수의 슬레이브 기기; 상기 각 슬레이브 기기의 초기화시 실시간성을 보장하는 제1 연산 및 어느 한 곳의 네트워크 연결이 끊어져 이중화 연결된 경우에 변동된 시간 정보를 고려하여 상기 각 슬레이브 기기의 실시간성을 보장하는 제2 연산을 수행하는 실시간 보상 수단; 을 포함한다.The distributed control apparatus of the present invention includes a plurality of slave devices connected to a network master through a serial or redundant network; When each slave device is initialized, a first operation to ensure real-time performance and a second operation to guarantee real-time of each slave device are performed in consideration of changed time information in the case of a redundant connection due to disconnection of any one network Real-time compensation means; Includes.

슬레이브 기기는 분산 제어 시스템에서 네트워크 마스터에 연결된 각각의 제어 기기를 말한다. Slave device refers to each control device connected to the network master in the distributed control system.

본 발명은 각 슬레이브 기기의 초기화시 실시간성을 보장하는 제1 연산 및 어느 한 곳의 네트워크 연결이 끊어져 이중화 연결된 경우에 변동된 시간 정보를 고려하여 슬레이브 기기의 실시간성을 보장하는 제2 연산을 수행하는 실시간 보상 수단을 구비한다.The present invention performs a first operation that guarantees real-time performance when initializing each slave device and a second operation that guarantees real-time performance of a slave device in consideration of changed time information when a network connection is disconnected and redundantly connected at any one place. And a real-time compensation means.

산업용 네트워크의 직렬형 혹은 이중화 연결에서 실시간성을 보장하는 수단이 필요하다. 본 발명은 슬레이브 기기의 초기 설정시는 물론 이중화 연결시 각 슬레이브 기기의 실시간성을 보장할 수 있다. 이중화 연결에서 어느 한 연결이 끊어지는 경우 실시간성을 보장할 수 있는 실시간 보상 수단이 마련된다. There is a need for a means of ensuring real-time in serial or redundant connections in industrial networks. The present invention can guarantee real-time performance of each slave device when the slave device is initially set as well as when the slave device is connected in redundancy. A real-time compensation means is provided that can guarantee real-time when any one connection is disconnected in a redundant connection.

본 발명의 실시간 보상 수단은 안정성과 신뢰성을 요구하여 이중화 연결을 채택하는 생산 자동화, 원자력 발전소 등의 산업 분야에서 결함 허용 내에 실시간성을 유지하고, 안정성과 신뢰성뿐만 아니라 고정밀성을 갖춘 분산 제어 장치를 구현할 수 있게 한다.The real-time compensation means of the present invention requires stability and reliability and maintains real-time within fault tolerance in industrial fields such as production automation and nuclear power plants that adopt a redundant connection, and provides a distributed control device with high precision as well as stability and reliability. Make it possible to implement.

도 1은 본 발명의 실시간 보상 수단이 마스터 시간, 시간 지연, 지터를 보정하는 순서도이다.
도 2는 본 발명의 실시간 보상 수단이 보정하는 로우 데이터의 구조를 나타낸다.
도 3은 본 발명의 이중화 연결시 네트워크 마스터 및 실시간 보상 수단을 도시한 블록도이다.
도 4는 본 발명의 전송 데이터, 반송 데이터, 시간 보상 데이터, 처리 완료 데이터를 도시한 블록도이다.
도 5는 본 발명의 실시간 보상 수단의 세부 구성을 도시한 블록도이다.
도 6은 본 발명의 이중화 연결시 데이터 반송 시간, 데이터 복사 시간, 전송 지연 시간을 도시한 블록도이다.
1 is a flowchart for correcting master time, time delay, and jitter by the real-time compensation means of the present invention.
2 shows the structure of raw data corrected by the real-time compensation means of the present invention.
3 is a block diagram showing a network master and a real-time compensation means during a redundant connection according to the present invention.
4 is a block diagram showing transmission data, conveyance data, time compensation data, and processed data according to the present invention.
5 is a block diagram showing a detailed configuration of a real-time compensation means of the present invention.
6 is a block diagram showing a data transfer time, a data copy time, and a transmission delay time in a redundant connection according to the present invention.

도 1 내지 도 3을 참조하면, 제1 연산시 실시간 보상 수단(150)은 각 슬레이브 기기의 동기화 신호를 발생하는 타이머를 보정할 수 있다. 즉, 실시간성 보장을 위하여 각 슬레이브 기기의 타이머를 네트워크 마스터(100)의 타이머와 일치하도록 보정할 수 있다.Referring to FIGS. 1 to 3, the real-time compensation unit 150 may correct a timer generating a synchronization signal of each slave device during a first operation. That is, the timer of each slave device may be corrected to match the timer of the network master 100 in order to guarantee real-time performance.

산업용 네트워크에서 실시간성을 보장하기 위해서는 연결된 각 슬레이브 기기들에 대하여, 동기화를 위한 기준 시간인 마스터 시간(MASTER TIME, 절대 시간)의 차이, 각 슬레이브 기기들이 데이터를 받기까지 걸리는 시간 지연, 각 슬레이브 기기들이 가지는 지터(JITTER)를 제거하거나 보정할 필요가 있다. In order to guarantee real-time in an industrial network, for each connected slave device, the difference in master time (MASTER TIME, absolute time), which is the reference time for synchronization, the time delay for each slave device to receive data, and each slave device. It is necessary to remove or correct the jitter that has been introduced.

실시간 보상 수단(150)은, 각 슬레이브 기기들의 마스터 시간 차이, 각 슬레이브 기기들의 시간 지연, 각 슬레이브 기기들의 지터를 제거하거나 보정하는 제1 연산을 수행한다. 제1 연산을 위하여 실시간 보상 수단(150)은, 주기적으로 마스터 시간을 전달할 수 있다. The real-time compensation unit 150 performs a first operation for removing or correcting a master time difference of each slave device, a time delay of each slave device, and jitter of each slave device. For the first operation, the real-time compensation unit 150 may periodically transmit the master time.

실시간 보상 수단(150)의 제1 연산시, 마스터 시간 차이 및 시간 지연의 보정은 각 슬레이브 기기들을 초기화할 때 이루어질 수 있다. 지터 보정은 주기적으로 데이터를 보내기 직전에 정해진 횟수만큼 마스터 시간을 반복 전송함으로써 이루어질 수 있다. During the first calculation of the real-time compensation means 150, the correction of the master time difference and the time delay may be performed when each slave device is initialized. Jitter correction can be performed by periodically transmitting the master time a predetermined number of times immediately before sending data.

도 1을 참조하면, 마스터 시간 차이와 시간 지연의 보정값은, 각 슬레이브 기기들을 초기화할 때, 각 슬레이브 기기들로부터 획득한 시간 정보들을 근거로 계산될 수 있다. 각 슬레이브 기기들의 초기화시 획득한 시간 정보에 따라 각 슬레이브 기기들의 마스터 시간 차이와 시간 지연의 보정값이 설정될 수 있다. Referring to FIG. 1, the correction value of the master time difference and the time delay may be calculated based on time information obtained from each slave device when initializing each slave device. A correction value of a master time difference and a time delay of each slave device may be set according to time information acquired during initialization of each slave device.

지터 보정은 주기적으로 데이터를 보내기 직전에 짧은 구간 내에서 정해진 횟수만큼 마스터 시간을 반복 전송하는 것으로서 보정할 수 있다. 예를 들면, 3회 마스터 시간을 반복 전송하고 각각의 마스터 시간에 대한 편차를 평균해서 지터를 제거할 수 있다.Jitter correction can be corrected by repeatedly transmitting the master time a predetermined number of times within a short period immediately before sending data periodically. For example, jitter can be eliminated by repeatedly transmitting the master time three times and averaging the deviation for each master time.

실시간 보상 수단(150)은 분산 제어 장치의 동작 시작 플래그가 온되었는지 여부를 확인한다(S10 단계). 동작 시작 플래그가 온되었으면, 실시간 보상 수단(150)은 연결된 각 슬레이브 기기를 확인한다(S11 단계). 연결된 슬레이브 기기의 시간 정보를 확인한다(S12 단계). 연결된 슬레이브 기기들의 마스터 시간, 네트워크 마스터(100)의 마스터 시간의 차이값을 계산한다(S13 단계). 실시간 보상 수단(150)은 연결된 슬레이브 기기들에게 마스터 시간 차이를 전송한다(S14 단계). S10 단계부터 S14 단계에 따라 각 슬레이브 기기들의 마스터 시간 차이는 제거되거나 보정될 수 있다. 다음은 각 슬레이브 기기들이 데이터를 받기까지 걸리는 시간 지연을 제거하거나 보정할 필요가 있다.The real-time compensation unit 150 checks whether the operation start flag of the distributed control device is on (step S10). When the operation start flag is turned on, the real-time compensation means 150 checks each connected slave device (step S11). Check the time information of the connected slave device (step S12). The difference between the master time of the connected slave devices and the master time of the network master 100 is calculated (step S13). The real-time compensation means 150 transmits the master time difference to the connected slave devices (step S14). The difference in master time of each slave device may be removed or corrected according to steps S10 to S14. Next, it is necessary to remove or correct the delay in the time it takes for each slave device to receive data.

실시간 보상 수단(150)은 연결된 슬레이브 기기가 데이터를 받기까지 걸리는 시간 지연을 계산한다(S15 단계). 연결된 슬레이브 기기들에게 시간 지연을 전송한다(S16 단계). S15 단계 및 S16 단계에 의하여 각 슬레이브 기기들이 데이터를 받기까지 걸리는 시간 지연이 제거되거나 보정될 수 있다. 다음으로 지터를 보정할 필요가 있다.The real-time compensation means 150 calculates a time delay before the connected slave device receives data (step S15). A time delay is transmitted to the connected slave devices (step S16). The time delay required for each slave device to receive data may be removed or corrected by steps S15 and S16. Next, you need to correct the jitter.

실시간 보상 수단(150)은 마스터 시간을 각 슬레이브 기기들에게 전송한다(S17 단계). The real-time compensation means 150 transmits the master time to each slave device (step S17).

S17 단계, S18단계 및 S18 단계에서 정해진 횟수만큼 마스터 시간을 반복 전송하며, 이에 따라 지터가 보정될 수 있다. 실시간 보상 수단(150)은 주기적으로 데이터를 보내기 직전에 짧은 시간 구간 내에서 정해진 횟수만큼 마스터 시간을 반복 전송한다. 이에 따라 각 슬레이브 기기의 지터를 보정할 수 있다.The master time is repeatedly transmitted a predetermined number of times in steps S17, S18, and S18, and jitter may be corrected accordingly. The real-time compensation unit 150 periodically transmits the master time repeatedly a predetermined number of times within a short time period immediately before sending data. Accordingly, jitter of each slave device can be corrected.

동작 시작 플래그가 오프되지 않고 계속 온상태이면(S21 단계), 주기적으로 데이터를 보내고 이에 의하여 동기화 상태를 유지할 수 있다. 아직 주기적으로 데이터를 보내기까지 시간이 남았으므로 주기 시간에서 남은 시간을 대기하고(S22 단계), 다음의 주기 시간이 돌아오면 주기적으로 마스터 시간과 데이터를 전송한다(S20 단계). If the operation start flag is not turned off and continues to be turned on (step S21), data can be periodically sent and thereby the synchronization state can be maintained. Since there is still time until periodically sending data, the remaining time from the cycle time is waited (step S22), and when the next cycle time returns, the master time and data are periodically transmitted (step S20).

각 슬레이브 기기의 동기화 신호를 발생하는 각 슬레이브 기기의 타이머를 보정하였으므로, 실시간 보상 수단(150)은 실시간 전송 데이터를 동기화할 수 있다. 도 1과 ƒˆ이 실시간 보상 수단(150)이 각 슬레이브 기기들의 마스터 시간 차이, 각 슬레이브 기기들의 시간 지연, 각 슬레이브 기기들의 지터를 제거하거나 보정하였으면, 데이터가 동기화될 수 있다.Since the timer of each slave device that generates the synchronization signal of each slave device is corrected, the real-time compensation unit 150 may synchronize real-time transmission data. If the real-time compensation means 150 shown in FIG. 1 and ƒˆ removes or corrects the master time difference of each slave device, the time delay of each slave device, and jitter of each slave device, data can be synchronized.

산업용 네트워크에서 각 슬레이브 기기들이 네트워크 마스터(100)와 하나의 기기인 것처럼 동작하여야 한다. 이를 위해서 네트워크 마스터(100)와 각 슬레이브 기기들의 타이머를 동기화시켰다. 이러한 동기화 신호에 맞추어 데이터를 주기적으로 보내면서 동기화 상태를 유지한다. In an industrial network, each slave device must operate as if it were one device with the network master 100. To this end, the network master 100 and the timers of each slave device were synchronized. In accordance with this synchronization signal, data is sent periodically to maintain synchronization.

네트워크 마스터(100)와 각 슬레이브 기기들은 같은 시간에 동기화 신호를 발생시키므로 받은 데이터를 같은 시간에 처리할 수 있다. 주기적으로 보내지는 데이터에는 지터를 계속 보정할 수 있는 마스터 시간이 반복 전송되고, 슬레이브 기기들은 마스터 시간을 받아 동기화 발생 타이머(Timer)를 지속적으로 보정할 수 있다. 결과적으로 타이머 동기 후에 주기적인 데이터 전송으로 데이터까지 동기화될 수 있다.Since the network master 100 and each of the slave devices generate a synchronization signal at the same time, the received data can be processed at the same time. A master time for continuously correcting jitter is repeatedly transmitted to the periodically transmitted data, and slave devices receive the master time and can continuously correct a synchronization occurrence timer. As a result, data can be synchronized through periodic data transmission after timer synchronization.

그러나, 위와 같은 제1 연산은 각 슬레이브 기기의 초기화시에 확인된 시간 정보가 변경되지 않는 경우로 국한될 수 있다. 예를 들면 어느 한 곳의 연결이 끊어지지 않고 초기 상태와 동일한 경우 또는 직전의 동기화시 a 지점의 연결이 끊어진 상태였는데 계속 a 지점의 연결이 끊어진 상태를 유지하는 경우에 제1 연산이 필요할 수 있다.However, the first operation as described above may be limited to a case in which time information checked at the time of initializing each slave device is not changed. For example, the first operation may be necessary when the connection to one location is not disconnected and the initial state is the same, or when the connection of point a was disconnected at the time of the previous synchronization, but the connection of point a remains disconnected. .

실시간 보상 수단(150)은 제1 연산에 한정되지 않고, 분산 제어 장치의 이중화 연결에서 어느 한 부분의 연결이 중간에 끊어진 경우에도 변화된 시간 지연을 빠르게 계산하고, 타이머 및 데이터를 동기화하는 제2 연산을 수행할 수 있다. 예를 들면, 어느 한 곳의 연결이 끊어져 초기 상태와 다른 네크워크 상태가 된 경우, 또는 직전의 동기화시 a 지점의 연결이 끊어진 상태였는데 b 지점의 연결이 새로 끊어진 경우에 제2 연산이 수행될 수 있다.The real-time compensation means 150 is not limited to the first operation, and a second operation that quickly calculates the changed time delay and synchronizes the timer and data even when the connection of any part of the distributed control device is disconnected in the middle. Can be done. For example, the second operation can be performed when the connection at one place is disconnected and the network state is different from the initial state, or when the connection at point a was disconnected at the time of the previous synchronization and the connection at point b was newly disconnected. have.

다음은 실시간 보상 수단(150)의 제2 연산을 설명한다. Next, the second operation of the real-time compensation means 150 will be described.

도 3과 같이 이중화(Ring) 연결에서 어느 한 부분의 연결이 끊어진 경우에(Cable Failure), 각 슬레이브 기기들이 데이터를 받기까지 시간 지연이 새롭게 유발될 수 있다. 각 슬레이브 기기의 초기화 시점과 대비할 때, 이중화 연결에서 새로이 발생한 시간 지연만큼 동기화 신호의 차이가 발생할 수 있다. 심한 경우 전체 시스템의 실시간성이 틀어질 수 있다.As shown in FIG. 3, when a part is disconnected from the ring connection (Cable Failure), a time delay may be newly induced before each slave device receives data. In contrast to the initialization time of each slave device, a difference in synchronization signal may occur as much as a new time delay in the redundant connection. In severe cases, the real-time performance of the entire system may be distorted.

네트워크형 분산 제어 장치에서 마스터 시간을 기준으로 기기 간의 실시간성 또는 동기화가 보장되어야 한다. 슬레이브 기기 간의 동기는 인터락, 동시 운전 등, 시스템 운영 중에도 항상 보장되어야 한다. In a networked distributed control device, real-time or synchronization between devices must be guaranteed based on the master time. Synchronization between slave devices must always be guaranteed even during system operation, such as interlock and simultaneous operation.

본 발명의 실시간 보상 수단(150)은 어느 한 곳의 연결이 끊어져 이중화 연결이 이루어지고 제1 연산의 실시간성 보장을 할 수 없게 되는 경우에, 새로 이루어진 이중화 연결에 관한 제2 연산을 수행하며 시간 지연을 빠르게 계산하고 분산 제어 장치의 운영 도중에도 각 슬레이브 기기간의 동기화를 계속 유지할 수 있게 한다.The real-time compensation means 150 of the present invention performs a second operation on the newly made redundant connection when a redundant connection is made due to disconnection of any one place, and it is impossible to guarantee the real-time performance of the first operation. It calculates the delay quickly and keeps the synchronization between each slave device even during the operation of the distributed control device.

도 3 및 도 4를 참조하면, 실시간 보상 수단(150)은 네트워크 스택(110,120,130,140) 아래에 위치할 수 있다. 네트워크 마스터(100)는 네트워크 스택(110,120,130,140), 패킷 전달부(190) 및 실시간 보상 수단(150)을 포함할 수 있다. 실시간 보상 수단(150)의 Rx 단자 / Tx 단자는 네트워크 마스터(100)의 Rx 단자 / Tx 단자와 동일할 수 있다.3 and 4, the real-time compensation means 150 may be located under the network stacks 110, 120, 130 and 140. The network master 100 may include a network stack 110, 120, 130, 140, a packet forwarding unit 190, and a real-time compensation unit 150. The Rx terminal / Tx terminal of the real-time compensation means 150 may be the same as the Rx terminal / Tx terminal of the network master 100.

실시간 보상 수단(150)은 네트워크 스택(110,120,130,140)으로부터 패킷 전달부(190)를 통하여 전달받은 도 2의 패킷 형태의 로우(RAW) 데이터를 처리 및 가공할 수 있다. The real-time compensation means 150 may process and process the raw data in the form of a packet of FIG. 2 received from the network stacks 110, 120, 130, and 140 through the packet transfer unit 190.

산업용 네트워크 스택(110,120,130,140)은 일반적인 필드 버스를 의미하며 대표적으로 EtherCAT이 될 수 있다. 패킷 전달부(190)는 산업용 네트워크 스택(110,120,130,140)에서 생성된 로우 데이터를 전송하는 메모리 블록, 메시지 큐 등의 데이터 전달 모듈이 될 수 있다.The industrial network stacks 110, 120, 130, and 140 mean a general field bus and may be representatively EtherCAT. The packet transfer unit 190 may be a data transfer module such as a memory block or a message queue that transfers raw data generated by the industrial network stacks 110, 120, 130, and 140.

도 4를 참조하면, 실시간 보상 수단(150)과 각 슬레이브 기기 간의 데이터는 전송 데이터, 반송 데이터, 시간 보상 데이터, 처리 완료 데이터를 포함할 수 있다. 이들은 모두 도 2의 로우 데이터 형식이 될 수 있다.Referring to FIG. 4, data between the real-time compensation means 150 and each slave device may include transmission data, conveyance data, time compensation data, and processing completion data. These can all be of the raw data format of FIG. 2.

도 3 및 도 6을 참조하면, 여러 개의 슬레이브 기기들이 직렬로 연결되었을 때 슬레이브 기기 배열(200)을 이룬다. 설명을 위하여 네트워크 마스터(100)에 처음으로 연결된 슬레이브 기기는 제1 슬레이브 기기(210a), 정상적으로 데이터가 전송된 최종 위치의 슬레이브 기기를 제2 슬레이브 기기(210b), 연결이 끊어져 이중화 연결이 이루어지고 역방향으로 데이터가 재전송되어야 할 위치의 슬레이브 기기를 제N-1 슬레이브 기기로 정의한다. 여기서, N은 4 이상의 자연수이다.Referring to FIGS. 3 and 6, when several slave devices are connected in series, a slave device arrangement 200 is formed. For the sake of explanation, the slave device connected to the network master 100 for the first time is the first slave device 210a, the second slave device 210b, the slave device at the final location to which data is normally transmitted, and the connection is disconnected to establish a redundant connection. The slave device at the position where data is to be retransmitted in the reverse direction is defined as the N-1th slave device. Here, N is a natural number of 4 or more.

도 4를 참조하면, 제2 연산시, 실시간 보상 수단(150)은 전송 데이터, 반송 데이터, 시간 보상 데이터, 처리 완료 데이터를 전송할 수 있다. 실시간 보상 수단(150)은 전송 데이터의 실시간성 보장을 위한 시간 정보와, 각 슬레이브 기기의 전송 데이터 처리 유무를 확인하는 정보를 전송할 수 있다. Referring to FIG. 4, in the second operation, the real-time compensation unit 150 may transmit transmission data, conveyance data, time compensation data, and processing completion data. The real-time compensation means 150 may transmit time information for guaranteeing real-time quality of the transmitted data and information for confirming whether or not the transmission data is processed by each slave device.

전송 데이터는 슬레이브 기기의 제어 및 통제를 위한 데이터로서, 슬레이브 기기의 실시간성 보장을 위한 시간 정보를 포함할 수 있다. The transmission data is data for controlling and controlling the slave device, and may include time information for guaranteeing real-time performance of the slave device.

반송 데이터는 네트워크 연결이 끊기거나 에러에 의하여 제N-1 슬레이브 기기에서 미처 처리가 완료되지 않은 데이터이다. 반송 데이터는 정상적으로 최종 처리된 제2 슬레이브 기기(210b)의 위치 정보 또는 ID 정보를 포함할 수 있다.The return data is data that has not yet been processed by the N-1th slave device due to a network disconnection or an error. The conveyance data may include location information or ID information of the second slave device 210b that has been normally processed.

시간 보상 데이터는 처리되지 못한 데이터인 반송 데이터를 다시 받을 제N-1 슬레이브 기기의 실시간성을 보상하기 위한 정보이다. 시간 보상 데이터는 반송 데이터와 함께 제N-1 슬레이브 기기에 재전송될 수 있다. The time compensation data is information for compensating the real-time property of the N-1th slave device to receive the return data, which is the unprocessed data. The time compensation data may be retransmitted to the N-1th slave device together with the carrier data.

처리 완료 데이터는 네트워크 마스터(100)에 연결된 각 슬레이브 기기에서 처리가 완료된 데이터이다. The processed data is data that has been processed by each slave device connected to the network master 100.

도 4 내지 도 6을 참조하면, 제2 연산시 네트워크 마스터(100) 또는 실시간 보상 수단(150)이 반송 데이터를 입수하면, 슬레이브 기기의 실시간성 보장을 위하여 도 2의 로우 데이터를 가공하여 시간 보상 데이터를 제N-1 슬레이브 기기로 다시 전송할 수 있다. 4 to 6, when the network master 100 or the real-time compensation means 150 obtains the conveyance data during the second calculation, the raw data of FIG. 2 is processed to ensure the real-time performance of the slave device to compensate for time. Data may be transmitted back to the N-1th slave device.

도 6을 참조하면, 제2 연산시 실시간 보상 수단(150)은 이중화 연결에서 어느 한 곳의 연결이 끊어진 경우에도 데이터의 안정성을 보장하고 각 슬레이브 기기 간의 실시간성을 보장하여 동기화가 가능하도록 한다. Referring to FIG. 6, the real-time compensation means 150 during the second operation ensures the stability of data even when a connection is disconnected from a redundant connection and guarantees real-time between each slave device to enable synchronization.

도 5를 참조하면, 실시간 보상 수단(150)은, 반송 데이터를 입수하고 기기 연결 진단부(151), 기기 데이터 전달부(153), 시간 보상 처리부(157)를 거쳐, 분산 제어 장치의 실시간성을 보장하는 시간 보상 데이터를 생성할 수 있다. 5, the real-time compensation means 150 obtains the conveyance data and passes through the device connection diagnosis unit 151, the device data transmission unit 153, and the time compensation processing unit 157, and the real-time performance of the distributed control device It is possible to generate time compensation data that guarantees.

기기 연결 진단부(151)는 반송 데이터를 입수하고, 반송 데이터를 토대로 정상 처리된 최종 슬레이브 기기인 제2 슬레이브 기기(210b)의 위치 정보 또는 ID 정보를 확인할 수 있다.The device connection diagnosis unit 151 may obtain the conveyance data, and check the location information or ID information of the second slave device 210b, which is the final slave device normally processed based on the conveyance data.

기기 데이터 전달부(153)는 처리되지 못한 슬레이브 기기인 제N-1 슬레이브 기기의 데이터가 손상되지 않도록 데이터를 전달할 수 있다. 즉, 기기 데이터 전달부(153)는 제1 슬레이브 기기(210a) 방향으로 전송되었다가 제2 슬레이브 기기(210b)에서 반송된 반송 데이터의 전송 방향을 제N-1 슬레이브 기기 방향으로 전환할 수 있다.The device data transmission unit 153 may transmit data so that data of the N-1th slave device, which is an unprocessed slave device, is not damaged. That is, the device data transfer unit 153 may change the transmission direction of the transport data transmitted in the direction of the first slave device 210a and then conveyed from the second slave device 210b to the direction of the N-1th slave device. .

시간 보상 처리부(157)는 마스터 시간을 기준으로 지연된 시간을 계산하고 데이터 처리를 하지 못한 제N-1 슬레이브 기기의 실시간성을 보장하기 위하여 제N-1 슬레이브 기기의 실시간성을 보장하는 새로운 데이터를 생성할 수 있다.The time compensation processing unit 157 calculates the delayed time based on the master time and generates new data that guarantees the real-time properties of the N-1th slave device in order to guarantee the real-time properties of the N-1th slave device that did not process the data Can be generated.

시간 보상 처리부(157)는 데이터 반송 시간 계산부(154), 데이터 복사 시간 계산부(155), 전송 지연 시간 계산부(156)를 포함할 수 있다.The time compensation processing unit 157 may include a data transfer time calculation unit 154, a data copy time calculation unit 155, and a transmission delay time calculation unit 156.

데이터 반송 시간 계산부(154)는 정상 처리된 최종 슬레이브 기기인 제2 슬레이브 기기(210b)로부터 데이터가 반송될 때 발생한 지연 시간을 계산할 수 있다.The data transfer time calculation unit 154 may calculate a delay time generated when data is transferred from the second slave device 210b, which is the last slave device that has been normally processed.

데이터 복사 시간 계산부(155)는 제N-1 슬레이브 기기에 전달될 데이터를 손상없이 전달하는 기기 데이터 전달부(153)에서 데이터를 복사할 때 발생한 지연 시간을 계산할 수 있다.The data copy time calculation unit 155 may calculate a delay time generated when data is copied from the device data transfer unit 153 that transmits data to be transmitted to the N-1th slave device without damage.

전송 지연 시간 계산부(156)는 데이터가 반송될 때 및 시간 보상 데이터를 전송할 때 물리적으로 발생할 수 있는 전송 지연 시간을 통계학적인 방법을 사용하여 예측할 수 있다.The transmission delay time calculation unit 156 may estimate a transmission delay time that may physically occur when data is conveyed and when time-compensated data is transmitted, using a statistical method.

도 6을 참조하면, 시간 보상 처리부(157)에서 보상 시간값을 계산하기 위해 받아야 할 시간 정보가 도시된다.Referring to FIG. 6, time information to be received in order for the time compensation processing unit 157 to calculate a compensation time value is shown.

데이터 반송 시간에 해당하는 시간 정보는 T1, T2 이다. Time information corresponding to the data transfer time is T1 and T2.

예를 들어, T1은 네트워크 마스터(100)로부터 제2 슬레이브 기기(210b)까지 전송 데이터가 전달되는 시간, 또는 네트워크 마스터(100)의 Tx 단자로부터 제2 슬레이브 기기(210b)까지 전송 데이터가 전달되는 시간이다.For example, T1 is the time when the transmission data is transmitted from the network master 100 to the second slave device 210b, or the transmission data is transmitted from the Tx terminal of the network master 100 to the second slave device 210b. It's time.

예를 들어, T2는 제2 슬레이브 기기(210b)로부터 네트워크 마스터(100)까지 반송 데이터가 전달되는 시간, 또는 제2 슬레이브 기기(210b)로부터 네트워크 마스터(100)의 Rx 단자까지 반송 데이터가 전달되는 시간이다.For example, T2 is the time at which the transfer data is transferred from the second slave device 210b to the network master 100, or the transfer data is transferred from the second slave device 210b to the Rx terminal of the network master 100. It's time.

데이터 복사 시간에 해당하는 시간 정보는 T3, T4 이다. Time information corresponding to the data copy time is T3 and T4.

전송 데이터 및 반송 데이터는 도 4의 제1 포트(160)를 통하여 실시간 보상 수단(150)으로 입수될 수 있다. 이중화 연결시 역방향 전송을 위하여 시간 보상 데이터 및 처리 완료 데이터는 도 4의 제2 포트(170)를 통하여 실시간 보상 수단(150)으로부터 출력될 수 있다. 제1 포트(160) 및 제2 포트(170)는 데이터를 입수하는 Rx 단자 및 데이터를 출력하는 Tx 단자를 각각 구비할 수 있다.Transmission data and carrier data may be obtained by the real-time compensation means 150 through the first port 160 of FIG. 4. In the case of a duplex connection, time compensation data and processing completion data may be output from the real-time compensation unit 150 through the second port 170 of FIG. 4 for reverse transmission. The first port 160 and the second port 170 may each include an Rx terminal for receiving data and a Tx terminal for outputting data.

예를 들어, T3는 네트워크 마스터(100), 실시간 보상 수단(150) 또는 기기 데이터 전달부(153)의 내부에서 데이터를 역방향으로 전환시키는 시간이다. 또는, T3는 실시간 보상 수단(150)의 제1 포트(160)의 Rx 단자 또는 Tx 단자로부터 실시간 보상 수단(150)의 제2 포트(170)의 Rx 단자 또는 Tx 단자로 데이터가 전달되는 시간이 될 수 있다.For example, T3 is a time for converting data in the reverse direction inside the network master 100, the real-time compensation unit 150, or the device data transmission unit 153. Alternatively, T3 is the time at which data is transferred from the Rx terminal or Tx terminal of the first port 160 of the real-time compensation unit 150 to the Rx terminal or the Tx terminal of the second port 170 of the real-time compensation unit 150 Can be.

예를 들어, T4는 이중화 연결을 통하여 역방향으로 반송 데이터 또는 시간 보상 데이터가 네트워크 마스터(100)로부터 제N-1 슬레이브 기기까지 전달되는 시간이다. 또는, T4는 이중화 연결시 역방향으로 반송 데이터 또는 시간 보상 데이터가 네트워크 마스터(100)의 Tx 단자로부터 제N-1 슬레이브 기기까지 전달되는 시간이다. For example, T4 is a time during which carrier data or time compensation data is transferred from the network master 100 to the N-1th slave device in the reverse direction through a redundant connection. Alternatively, T4 is a time during which the carrier data or time compensation data is transferred from the Tx terminal of the network master 100 to the N-1th slave device in the reverse direction during the redundancy connection.

전송 지연 시간에 해당하는 시간 정보는 T5 내지 T8 이다. Time information corresponding to the transmission delay time is T5 to T8.

예를 들어, 전송 지연 시간은 Tx 단자 / Rx 단자의 내부에서 하드웨어적 또는 물리적으로 소요되는 시간 또는 각 슬레이브 기기의 내부에 설치된 처리부에서 데이터 처리에 소요되는 시간을 포함할 수 있다. 전송 지연 시간은 반복 수행 결과나 통계학적인 방법을 통해 추정될 수 있다.For example, the transmission delay time may include a time required by hardware or physically inside the Tx terminal / Rx terminal, or a time required for data processing in a processing unit installed inside each slave device. The transmission delay time can be estimated through repetitive performance results or statistical methods.

T1 내지 T4 는 네트워크 마스터(100)나 슬레이브 기기의 내부에 설치된 시간 카운터로 알 수 있거나, 네트워크 마스터(100)나 슬레이브 기기의 내부에 설치된 Rx 단자 및 Tx 단자에서 로우 데이터의 전송 또는 수신이 이루어질 때의 시간 캡처 정보로 알 수 있다. T1 to T4 can be known as a time counter installed inside the network master 100 or slave device, or when raw data is transmitted or received from the Rx terminal and Tx terminal installed inside the network master 100 or slave device. It can be known by the time capture information of.

T5 내지 T8 은 네트워크 마스터(100)의 Tx 단자 / Rx 단자나 각 슬레이브 기기 내부에 설치된 처리부에서 하드웨어적으로 소모하는 시간일 수 있다. T5 to T8 may be time consumed by hardware in the Tx terminal / Rx terminal of the network master 100 or a processing unit installed inside each slave device.

예를 들어 T5 내지 T8 은 직렬 네트워크가 정상일 때 제1 방향으로 데이터가 흐르는 경우와, 이중화 연결로 인하여 제1 방향의 역방향인 제2 방향으로 데이터가 흐르는 경우에 서로 차이날 수 있다. T5 내지 T8 은 초기화시에 확인한 각 슬레이브 기기의 시간 정보와, T1 내지 T4 에서 캡쳐된 시간 정보를 통해 예상값을 산출하고 통계 기법을 통해 최종값을 추정할 수 있다.For example, T5 to T8 may differ from each other when data flows in the first direction when the serial network is normal and when data flows in the second direction, which is the reverse direction of the first direction due to the redundancy connection. For T5 to T8, predicted values may be calculated based on time information of each slave device checked at the time of initialization and time information captured at T1 to T4, and a final value may be estimated through a statistical technique.

T1 내지 T8 을 더한 값을 보상 시간값(Tcomp)으로 정의하면, 새로운 마스터 시간은 다음의 수학식 1에 의하여 계산될 수 있다. 보상 시간값에 의하여 갱신된 새로운 마스터 시간은 도 2의 로우 데이터의 'MASTER TIME' 필드에 새로 기록(overriding)될 수 있다.When a value obtained by adding T1 to T8 is defined as a compensation time value Tcomp, a new master time may be calculated by Equation 1 below. The new master time updated by the compensation time value may be newly recorded (overriding) in the'MASTER TIME' field of the raw data of FIG. 2.

(수학식 1)(Equation 1)

새로운 마스터 시간 = 종전의 마스터 시간 + 보상 시간값(Tcomp)New Master Time = Previous Master Time + Compensation Time Value (Tcomp)

보상 시간값(Tcomp) = T1 내지 T8 을 더한 값Compensation time value (Tcomp) = the sum of T1 to T8

100...네트워크 마스터 110,120,130,140...네트워크 스택
150...실시간 보상 수단 151...기기 연결 진단부
153...기기 데이터 전달부 157...시간 보상 처리부
154...데이터 반송 시간 계산부 155...데이터 복사 시간 계산부
156...전송 지연 시간 계산부 160...제1 포트
170...제2 포트 190...패킷 전달부
200...슬레이브 기기 배열 210a...제1 슬레이브 기기
210b...제2 슬레이브 기기 210n...제N 슬레이브 기기
100...network master 110,120,130,140...network stack
150...Real-time compensation means 151...Device connection diagnostics
153...device data transmission unit 157...time compensation processing unit
154...Data transfer time calculation unit 155...Data copy time calculation unit
156...transmission delay time calculation unit 160...first port
170...second port 190...packet delivery
200...Slave device arrangement 210a...First slave device
210b...2nd slave device 210n...Nth slave device

Claims (11)

네트워크 마스터에 직렬형 또는 이중화 네트워크로 연결된 복수의 슬레이브 기기;
각 슬레이브 기기의 초기화시 실시간성을 보장하는 제1 연산 및 어느 한 곳의 네트워크 연결이 끊어져 이중화 연결된 경우에 변동된 시간 정보를 고려하여 상기 각 슬레이브 기기의 실시간성을 보장하는 제2 연산을 수행하는 실시간 보상 수단; 을 포함하고,
상기 제1 연산시 상기 실시간 보상 수단은,
상기 각 슬레이브 기기의 동기화 신호를 발생하는 타이머를 상기 네트워크 마스터의 타이머와 일치하도록 보정하며,
상기 실시간 보상 수단은,
상기 각 슬레이브 기기들의 마스터 시간 차이, 상기 각 슬레이브 기기들의 시간 지연, 상기 각 슬레이브 기기들의 지터를 제거하거나 보정하는 상기 제1 연산을 수행하고, 상기 제1 연산을 위하여 상기 실시간 보상 수단은, 주기적으로 상기 마스터 시간을 상기 각 슬레이브 기기들에 전달하며,
상기 실시간 보상 수단의 상기 제1 연산시,
상기 각 슬레이브 기기들의 마스터 시간 차이 및 상기 각 슬레이브 기기들의 시간 지연의 보정은 상기 각 슬레이브 기기들을 초기화할 때 상기 각 슬레이브 기기들로부터 획득한 시간 정보들을 근거로 계산되고,
상기 각 슬레이브 기기들의 지터 보정은 주기적으로 데이터를 보내기 직전에 정해진 횟수만큼 상기 마스터 시간을 반복 전송함으로써 이루어지는 분산 제어 장치.
A plurality of slave devices connected to the network master through a serial or redundant network;
When each slave device is initialized, a first operation that guarantees real-time performance and a second operation that guarantees real-time performance of each slave device are performed in consideration of changed time information in the case of redundant connection due to disconnection of a network connection at any one place. Real-time compensation means; Including,
During the first calculation, the real-time compensation means,
Correcting a timer for generating a synchronization signal of each of the slave devices to match the timer of the network master,
The real-time compensation means,
The first operation for removing or correcting the master time difference between the slave devices, the time delay of the slave devices, and the jitter of the slave devices is performed. For the first calculation, the real-time compensation means periodically Transfer the master time to each of the slave devices,
During the first calculation of the real-time compensation means,
The correction of the master time difference of each of the slave devices and the time delay of each of the slave devices is calculated based on time information obtained from each of the slave devices when initializing each of the slave devices,
The jitter correction of each of the slave devices is performed by repeatedly transmitting the master time a predetermined number of times immediately before sending data periodically.
삭제delete 삭제delete 삭제delete 제1항에 있어서,
상기 네트워크 마스터는 네트워크 스택, 패킷 전달부 및 상기 실시간 보상 수단을 포함하고,
상기 실시간 보상 수단은 상기 네트워크 스택과 상기 패킷 전달부에 의하여 연결되며,
상기 실시간 보상 수단의 Rx 단자 / Tx 단자는 상기 네트워크 마스터의 Rx 단자 / Tx 단자와 동일하고,
상기 실시간 보상 수단은 상기 네트워크 스택으로부터 상기 패킷 전달부를 통하여 전달받은 패킷 형태의 로우(RAW) 데이터를 보정하는 분산 제어 장치.
The method of claim 1,
The network master includes a network stack, a packet forwarding unit, and the real-time compensation means,
The real-time compensation means is connected by the network stack and the packet forwarding unit,
The Rx terminal / Tx terminal of the real-time compensation means is the same as the Rx terminal / Tx terminal of the network master,
The real-time compensation means is a distributed control device for correcting raw data in the form of a packet transmitted from the network stack through the packet transfer unit.
제1항에 있어서,
상기 네트워크 마스터에 처음으로 연결된 상기 슬레이브 기기를 제1 슬레이브 기기, 정상적으로 상기 데이터가 전송된 최종 위치의 상기 슬레이브 기기를 제2 슬레이브 기기, 상기 이중화 연결이 이루어지고 역방향으로 데이터가 재전송되어야 할 위치의 상기 슬레이브 기기를 제N-1 슬레이브 기기(여기서, N은 4이상의 자연수)로 정의할 때,
상기 실시간 보상 수단과 상기 각 슬레이브 기기 간에 전달되는 데이터는, 전송 데이터, 반송 데이터, 시간 보상 데이터 및 처리 완료 데이터를 포함하고,
상기 전송 데이터는 상기 슬레이브 기기의 제어 및 통제를 위한 데이터로서, 상기 슬레이브 기기의 실시간성 보장을 위한 시간 정보를 포함하며,
상기 반송 데이터는 네트워크 연결이 끊기거나 에러에 의하여 상기 제N-1 슬레이브 기기에서 처리가 완료되지 않은 데이터이고,
상기 시간 보상 데이터는 상기 반송 데이터를 다시 받을 상기 제N-1 슬레이브 기기의 실시간성을 보상하기 위한 정보이며,
상기 처리 완료 데이터는 상기 네트워크 마스터에 연결된 상기 각 슬레이브 기기에서 처리가 완료된 데이터인 분산 제어 장치.
The method of claim 1,
The slave device connected to the network master for the first time is a first slave device, and the slave device at the final position to which the data is normally transmitted is a second slave device, and the redundant connection is made and the data is retransmitted in the reverse direction. When the slave device is defined as the N-1th slave device (here, N is a natural number of 4 or more),
The data transmitted between the real-time compensation means and each of the slave devices includes transmission data, conveyance data, time compensation data, and processing completion data,
The transmission data is data for control and control of the slave device, and includes time information for guaranteeing real-time performance of the slave device,
The conveyance data is data that has not been processed by the N-1th slave device due to a network disconnection or an error,
The time compensation data is information for compensating the real-time property of the N-1th slave device to receive the conveyance data again,
The processed data is data that has been processed by each of the slave devices connected to the network master.
제1항에 있어서,
상기 네트워크 마스터에 처음으로 연결된 상기 슬레이브 기기를 제1 슬레이브 기기, 정상적으로 상기 데이터가 전송된 최종 위치의 상기 슬레이브 기기를 제2 슬레이브 기기, 상기 이중화 연결이 이루어지고 역방향으로 데이터가 재전송되어야 할 위치의 상기 슬레이브 기기를 제N-1 슬레이브 기기(여기서, N은 4이상의 자연수)로 정의할 때,
상기 제2 연산시 상기 네트워크 마스터 또는 상기 실시간 보상 수단이,
상기 제2 슬레이브 기기로부터 반송된 로우 데이터를 입수하면, 상기 로우 데이터를 가공한 시간 보상 데이터를 상기 제N-1 슬레이브 기기로 전송하는 분산 제어 장치.
The method of claim 1,
The slave device connected to the network master for the first time is a first slave device, and the slave device at the final position to which the data is normally transmitted is a second slave device, and the redundant connection is made and the data is retransmitted in the reverse direction. When the slave device is defined as the N-1th slave device (here, N is a natural number of 4 or more),
In the second calculation, the network master or the real-time compensation means,
A distributed control device configured to transmit time compensation data obtained by processing the raw data to the N-1th slave device when raw data conveyed from the second slave device is received.
제1항에 있어서,
상기 네트워크 마스터에 처음으로 연결된 상기 슬레이브 기기를 제1 슬레이브 기기, 정상적으로 상기 데이터가 전송된 최종 위치의 상기 슬레이브 기기를 제2 슬레이브 기기, 상기 이중화 연결이 이루어지고 역방향으로 데이터가 재전송되어야 할 위치의 상기 슬레이브 기기를 제N-1 슬레이브 기기(여기서, N은 4이상의 자연수)로 정의할 때,
상기 실시간 보상 수단은, 상기 제2 슬레이브 기기로부터 반송된 반송 데이터를 입수하고 기기 연결 진단부, 기기 데이터 전달부, 및 시간 보상 처리부를 거쳐, 제N-1 슬레이브 기기의 실시간성을 보장하는 시간 보상 데이터를 생성하는 분산 제어 장치.
The method of claim 1,
The slave device connected to the network master for the first time is a first slave device, and the slave device at the final position to which the data is normally transmitted is a second slave device, and the redundant connection is made and the data is retransmitted in the reverse direction. When the slave device is defined as the N-1th slave device (here, N is a natural number of 4 or more),
The real-time compensation means obtains the conveyed data conveyed from the second slave device, and passes through a device connection diagnosis unit, a device data transfer unit, and a time compensation processing unit, to ensure real-time performance of the N-1th slave device. Distributed control device that generates data.
제8항에 있어서,
상기 기기 연결 진단부는 상기 반송 데이터를 입수하고, 상기 반송 데이터를 토대로 상기 제2 슬레이브 기기의 위치 정보 또는 ID 정보를 확인하며,
상기 기기 데이터 전달부는 상기 반송 데이터의 전송 방향을 상기 제N-1 슬레이브 기기 방향으로 전환하고,
상기 시간 보상 처리부는 동기화된 마스터 시간을 기준으로 지연된 시간을 계산하고 상기 제N-1 슬레이브 기기의 실시간성을 보장하는 새로운 데이터를 생성하는 분산 제어 장치.
The method of claim 8,
The device connection diagnostic unit obtains the conveyance data, checks the location information or ID information of the second slave device based on the conveyance data,
The device data transfer unit switches the transmission direction of the transport data to the N-1th slave device direction,
The time compensation processor calculates the delayed time based on the synchronized master time and generates new data that guarantees real-time performance of the N-1th slave device.
제1항에 있어서,
상기 네트워크 마스터에 처음으로 연결된 상기 슬레이브 기기를 제1 슬레이브 기기, 정상적으로 상기 데이터가 전송된 최종 위치의 상기 슬레이브 기기를 제2 슬레이브 기기, 상기 이중화 연결이 이루어지고 역방향으로 데이터가 재전송되어야 할 위치의 상기 슬레이브 기기를 제N-1 슬레이브 기기(여기서, N은 4이상의 자연수)로 정의할 때,
상기 네트워크 마스터 및 상기 각 슬레이브 기기는, 이전의 마스터 시간에 보상 시간값을 더한 새로운 마스터 시간으로 동기화되고,
상기 보상 시간값은 T1 내지 T4를 합한 값이며,
상기 T1은 상기 네트워크 마스터로부터 상기 제2 슬레이브 기기까지 전송 데이터가 전달되는 시간이고,
상기 T2는 상기 제2 슬레이브 기기로부터 상기 네트워크 마스터까지 반송 데이터가 전달되는 시간이며,
상기 T3는 상기 이중화 연결시 상기 네트워크 마스터의 내부에서 데이터를 역방향으로 전환시키는 시간이고,
상기 T4는 상기 이중화 연결시 상기 반송 데이터 또는 시간 보상 데이터가 상기 네트워크 마스터로부터 상기 제N-1 슬레이브 기기까지 전달되는 시간인 분산 제어 장치.
The method of claim 1,
The slave device connected to the network master for the first time is a first slave device, and the slave device at the final position to which the data is normally transmitted is a second slave device, and the redundant connection is made and the data is retransmitted in the reverse direction. When the slave device is defined as the N-1th slave device (here, N is a natural number of 4 or more),
The network master and each of the slave devices are synchronized with a new master time obtained by adding a compensation time value to the previous master time,
The compensation time value is a sum of T1 to T4,
The T1 is a time when transmission data is transferred from the network master to the second slave device,
The T2 is a time at which carrier data is transferred from the second slave device to the network master,
The T3 is a time to reverse data in the network master during the redundant connection,
The T4 is a distributed control device that is a time when the carrier data or time compensation data is transferred from the network master to the N-1th slave device during the redundancy connection.
제10항에 있어서,
상기 보상 시간값은,
상기 T1 내지 T4를 합한 값에 상기 네트워크 마스터 또는 상기 각 슬레이브 기기에 설치된 Tx 단자 및 Rx 단자의 내부에서 소요되는 시간을 합한 값이거나,
상기 T1 내지 T4를 합한 값에 상기 각 슬레이브 기기의 내부에 설치된 처리부에서 데이터 처리에 소요되는 시간을 더한 값인 분산 제어 장치.
The method of claim 10,
The compensation time value is,
The sum of the T1 to T4 and the time required inside the Tx terminal and Rx terminal installed in the network master or each slave device, or
A distributed control device that is a value obtained by adding a sum of the T1 to T4 to a time required for data processing by a processing unit installed inside each of the slave devices.
KR1020180170798A 2018-12-27 2018-12-27 Distributed control device including a real-time compensation means KR102188746B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020180170798A KR102188746B1 (en) 2018-12-27 2018-12-27 Distributed control device including a real-time compensation means
PCT/KR2019/015143 WO2020138704A1 (en) 2018-12-27 2019-11-08 Distributed control apparatus having real-time compensation means

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180170798A KR102188746B1 (en) 2018-12-27 2018-12-27 Distributed control device including a real-time compensation means

Publications (2)

Publication Number Publication Date
KR20200080866A KR20200080866A (en) 2020-07-07
KR102188746B1 true KR102188746B1 (en) 2020-12-09

Family

ID=71129827

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180170798A KR102188746B1 (en) 2018-12-27 2018-12-27 Distributed control device including a real-time compensation means

Country Status (2)

Country Link
KR (1) KR102188746B1 (en)
WO (1) WO2020138704A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11742972B2 (en) 2021-02-04 2023-08-29 Sangmyung University Industry-Academy Cooperation Foundation Method of guaranteeing jitter upper bound for a network without time-synchronization

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101332339B1 (en) * 2012-11-08 2013-11-22 재단법인대구경북과학기술원 Data transmitting method in can system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6373834B1 (en) * 1997-12-19 2002-04-16 Telefonaktiebolaget Lm Ericsson Synchronization for cellular telecommunications network
KR100468577B1 (en) * 2000-12-27 2005-01-31 엘지전자 주식회사 clock and frame sync signal stability device of the duplex system
KR20090104532A (en) * 2008-03-31 2009-10-06 삼성전자주식회사 Synchronizing apparatus and method of packet network
EP2150062B1 (en) * 2008-07-28 2022-10-26 Imagine Communications Corp. Improved method, system and apparatus for synchronizing signals
EP2712100A1 (en) * 2012-09-19 2014-03-26 Alcatel Lucent Method for switching from a one-way into a two-way signalling mode as a protection scheme for the distribution of time and frequency over a packet switched network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101332339B1 (en) * 2012-11-08 2013-11-22 재단법인대구경북과학기술원 Data transmitting method in can system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11742972B2 (en) 2021-02-04 2023-08-29 Sangmyung University Industry-Academy Cooperation Foundation Method of guaranteeing jitter upper bound for a network without time-synchronization

Also Published As

Publication number Publication date
KR20200080866A (en) 2020-07-07
WO2020138704A1 (en) 2020-07-02

Similar Documents

Publication Publication Date Title
US5694542A (en) Time-triggered communication control unit and communication method
US7549072B2 (en) Method and device for synchronizing the global time of a plurality of buses and a corresponding bus system
CN109155788B (en) Method for fast reconfiguration of GM clocks in a TSN network by means of explicit tear-down messages
US20060092858A1 (en) Method for transmitting data in a communication system
EP1901488B1 (en) Network system and audio signal processor
US7826580B2 (en) Network system and audio signal processor
US10624089B2 (en) Network system and communication method
CN104065569A (en) Information Processing System, Information Processing Device, Data Transfer Device, And Information Processing System Control Method
EP1901489B1 (en) Network system and audio signal processor
US10104657B2 (en) Communication system, wireless communication apparatus, and wireless communication method
KR102188746B1 (en) Distributed control device including a real-time compensation means
CN104092528A (en) Clock synchronization method and device
US6836851B2 (en) Two-step synchronization method in which two modules are synchronized first by frequency followed by a synchronization in phase
JP4224100B2 (en) Method, apparatus and system for exchanging data via a bus system
JP2007101306A (en) Time synchronization system for plc
JP4868212B2 (en) Time information communication system
US10880043B2 (en) Method and computer system for establishing an interactive consistency property
JP3538374B2 (en) Time supply system and time supply device
US10394669B2 (en) Time-triggered process for the periodic fault-tolerant transmission of real-time data in a distributed computer system
EP3288197B1 (en) System and method of synchronizing clocks in a computer network
EP3288198A1 (en) System and method of clock synchronization in a computer network
CN107070575B (en) Clock synchronization monitoring in an Ethernet-based network
KR101148060B1 (en) Apparatus and method for robot control based network
CN112073162B (en) Method for operating a redundant automation system
JP2002330146A (en) Method of communication and path control in ring type network

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant