KR101435181B1 - Time synchronization and transmission delay time correction method between the master and the slave of intelligent power distribution system - Google Patents

Time synchronization and transmission delay time correction method between the master and the slave of intelligent power distribution system Download PDF

Info

Publication number
KR101435181B1
KR101435181B1 KR1020130124878A KR20130124878A KR101435181B1 KR 101435181 B1 KR101435181 B1 KR 101435181B1 KR 1020130124878 A KR1020130124878 A KR 1020130124878A KR 20130124878 A KR20130124878 A KR 20130124878A KR 101435181 B1 KR101435181 B1 KR 101435181B1
Authority
KR
South Korea
Prior art keywords
time
master
slave
transmission delay
delay time
Prior art date
Application number
KR1020130124878A
Other languages
Korean (ko)
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 KR1020130124878A priority Critical patent/KR101435181B1/en
Application granted granted Critical
Publication of KR101435181B1 publication Critical patent/KR101435181B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0016Arrangements for synchronising receiver with transmitter correction of synchronization errors
    • H04L7/0033Correction by delay

Landscapes

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

Abstract

According to the present invention, a method to correct time synchronization and transmission delay time between a master and a slave of an intelligent power distribution system comprises a first step of making a master side broadcast a first master time (T_m1), having time information of a server, to a slave side; a second step of synchronizing real time clock (RTC) of a slave side remote controller with the received first master time (T_m1); a third step of setting standby time (T_s) at the remote controller and executing the waiting time; a fourth step of unicasting first slave time (T_s1), where the standby time (T_s) information is described, to the master side; a fifth step of calculating transmission delay time (ΔT3) of a communication network between the server and the remote controller using information on the received first slave time (T_s1); a sixth step of unicasting the calculated transmission delay time (ΔT3) to the slave side; and a seventh step of correcting time of the real time clock (RTC) of the slave side remote controller via information on the received transmission delay time (ΔT3).

Description

배전 지능화 시스템의 마스터와 슬레이브 간 시각동기 및 전송 지연시간 보정 방법{TIME SYNCHRONIZATION AND TRANSMISSION DELAY TIME CORRECTION METHOD BETWEEN THE MASTER AND THE SLAVE OF INTELLIGENT POWER DISTRIBUTION SYSTEM} BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a time synchronization method and a transmission delay time correction method for a master and a slave of a distribution intelligent system,

본 발명은 배전 지능화 시스템의 마스터와 슬레이브 간 시각동기 및 전송 지연시간 보정 방법에 관한 것으로, 더욱 상세하게는 원격제어장치에서 구현되는 대기시간 설정 방법과 서버에서 구현되는 전송 지연시간 계산 방법을 제공함으로써, 이더넷 네트워크를 기반으로 구성된 배전지능화시스템의 서버와 다수의 원격제어장치 간, 및 원격제어장치 상호 간에 동일한 시각정보를 공유하도록 하는, 배전 지능화 시스템의 마스터와 슬레이브 간 시각동기 및 전송 지연시간 보정 방법에 관한 것이다.The present invention relates to a time synchronization and a transmission delay time correction method between a master and a slave of a distribution intelligent system, and more particularly, to a delay time setting method implemented in a remote control device and a transmission delay time calculation method implemented in a server A time synchronization and a transmission delay time correction method between a master and a slave of a distribution intelligent system which makes it possible to share the same time information between a server of a distribution intelligent system configured based on an Ethernet network and a plurality of remote control devices and a remote control device .

원격제어장치(Remote Control Unit, RTU)는 배전선로의 상태를 감시하고 제어하는 것을 주목적으로 설치된 장비로, 선로상의 각종 측정값을 기록하여 주 장치로 전달하는 것을 기본기능으로 동작하고 있다. The remote control unit (RTU) is a device installed mainly for monitoring and controlling the condition of the power distribution line. It records and records various measured values on the line and operates as a basic function.

일반적으로, 패킷 교환 방식의 네트워크에서 분산되어 있는 적어도 2개의 장치 또는 시스템들의 타임 동기(Time Synchronization)를 이루기 위해서는 타임 동기를 위한 프로토콜(Protocol)이 필요하다. In general, a protocol for time synchronization is required to achieve time synchronization of at least two devices or systems dispersed in a packet-switched network.

타임 동기화를 위해 기준 시간을 제공하는 장치 또는 시스템을 마스터(Master)로 설정하고, 마스터에 타임 동기를 이루고자 하는 장치 또는 시스템을 슬레이브(Slave)로 설정한 후, 마스터와 슬레이브 간에 타임 정보가 포함된 메시지를 서로 교환함으로써 슬레이브는 마스터와 타임 동기를 이루게 된다.A device or a system providing a reference time for time synchronization is set as a master and a device or system to be time synchronized with the master is set as a slave and then a master or a slave By exchanging messages, the slave is time synchronized with the master.

한편 배전선로에서 측정된 각종 데이터 값은 서버 및 원격제어장치(RTU) 상호간 정확한 시각적 동기가 전제되어야만 데이터로써 의미를 부여할 수 있기 때문에, 배전 지능화 시스템에서의 시각정보 동기화는 매우 중요한 요소로 다루어지고 있다. On the other hand, since various data values measured in the distribution line can give meaning as data only when precise visual synchronization between the server and the remote control unit (RTU) is premised, synchronization of visual information in the distribution intelligent system is treated as a very important factor have.

종래 기술에 따른 시각정보 동기화 방법으로, 서버에 연계된 GPS 및 NTP 서버의 시각정보를 UDP 123번 포트를 이용하여 이더넷 네트워크로 전송하여 원격제어장치(RTU)의 RTC(Real Time Clock)를 동기화 시키고 있다.According to the conventional method, the time information of the GPS and the NTP server connected to the server is transmitted to the Ethernet network using the UDP port 123 to synchronize the RTC (Real Time Clock) of the remote control unit (RTU) have.

하지만 이러한 방식은, 기본적으로 통신망 즉 이더넷 네트워크의 전송지연시간을 고려하지 않는 방식으로, 통신망의 노드수와 통신선로의 길이에 영향을 받을 수밖에 없는 기술적 한계를 가지고 있는 문제점이 있었다. However, this method basically has a problem that it has a technical limitation that it is influenced by the number of nodes of the communication network and the length of the communication line in a way that does not consider the transmission delay time of the communication network, that is, the Ethernet network.

또한 종래 기술에 따른 또 다른 시각정보 동기화 방법으로, IEEE1588 에서 전송지연시간을 보정하기 위하여, 슬레이브 장치가 자신의 클럭과 마스터 장치의 클럭 간에 오프셋(offset) 값을 구할 수 있게 해주고, 이를 이용하여 동기화되도록 하고 있지만, 이 역시 구현방법과 동작 알고리즘이 복잡한 문제점이 있었다.
In addition, in order to correct the transmission delay time in IEEE1588, a slave device can obtain an offset value between its own clock and the clock of the master device by using another conventional time information synchronization method according to the related art, However, there is also a problem that the implementation method and the operation algorithm are complicated.

대한민국 공개특허 제10-2009-0125032호Korea Patent Publication No. 10-2009-0125032

본 발명이 해결하고자 하는 기술적 과제는, 원격제어장치에서 구현되는 대기시간 설정 방법과 서버에서 구현되는 전송 지연시간 계산 방법을 제공함으로써, 이더넷 네트워크를 기반으로 구성된 배전지능화시스템의 서버와 다수의 원격제어장치 간, 및 원격제어장치 상호 간에 동일한 시각정보를 공유하도록 하는 배전 지능화 시스템의 마스터와 슬레이브 간 시각동기 및 전송 지연시간 보정 방법을 제공하는데 있다.
It is an object of the present invention to provide a method of setting a waiting time and a method of calculating a transmission delay time which are implemented in a server by a remote control apparatus and a server of a distribution intelligent system based on an Ethernet network, Time synchronization between a master and a slave of a distribution intelligent system, and a method of correcting a transmission delay time, in which the same time information is shared between devices and remote control devices.

상기 기술적 과제를 이루기 위한 본 발명에 따른 배전 지능화 시스템의 마스터와 슬레이브 간 시각동기 및 전송 지연시간 보정 방법은, 마스터 측에서 서버의 시각정보를 갖는 제1 마스터 시각(Tm1)을 슬레이브 측으로 브로드 캐스트(broadcast) 전송하는 제1 과정; 상기 슬레이브 측 원격제어장치의 RTC(Real Time Clock)를 수신된 상기 제1 마스터 시각(Tm1)으로 동기화시키는 제2 과정; 상기 원격제어장치에서 대기시간(Ts)을 설정하고 실행하는 제3 과정; 상기 대기시간(Ts) 정보가 적시된 제1 슬레이브 시각(Ts1)을 마스터 측으로 유니 캐스트(Unicast) 전송하는 제4 과정; 상기 수신된 제1 슬레이브 시각(Ts1) 정보를 이용하여, 상기 서버와 상기 원격제어장치 간 통신망의 전송 지연시간(△T3)을 계산하는 제5 과정; 상기 계산된 전송 지연시간(△T3)을 상기 슬레이브 측으로 유니 캐스트(Unicast) 전송하는 제6 과정; 및 수신된 상기 전송 지연시간(△T3) 정보를 통해 상기 슬레이브 측 원격제어장치의 RTC(Real Time Clock)의 시각을 보정하는 제7 과정을 포함하는 기술을 제공한다.
According to another aspect of the present invention, there is provided a method for correcting time synchronization between a master and a slave of a power distribution intelligent system and a method of correcting a transmission delay time by broadcasting a first master time (T m1 ) a first step of transmitting a broadcast signal; A second step of synchronizing the RTC (Real Time Clock) of the slave remote control device with the received first master time (T m1 ); A third step of setting the waiting time (T s) in the remote control unit and running; A fourth step of unicasting the first slave time (T s1 ) at which the waiting time (T s ) information is written to the master side; A fifth step of calculating a transmission delay time (DELTA T3) of a communication network between the server and the remote control device using the received first slave time (T s1 ) information; A sixth step of unicasting the calculated transmission delay time DELTA T3 to the slave side; And a seventh step of correcting the time of the RTC (Real Time Clock) of the slave remote control device through the received transmission delay time (DELTA T3).

본 발명은 원격제어장치에서 구현되는 대기시간 설정 방법과 서버에서 구현되는 전송 지연시간 계산 방법을 간단히 제공함으로써, 배전지능화시스템의 서버와 다수의 원격제어장치 간, 및 원격제어장치 상호 간에 동일한 시각정보를 공유할 수 있도록 해주는 기술적 효과가 있다.
The present invention provides a method of setting a waiting time and a method of calculating a transmission delay time which are implemented in a server by simply setting a waiting time to be implemented in a remote control device, There is a technical effect that allows you to share.

도 1은 본 발명에 따른 이더넷 기반 배전 지능화 시스템의 통신망 구성을 나타낸 것이다.
도 2는 본 발명에 따른 배전 지능화 시스템의 마스터와 슬레이브 간 시각동기 및 전송지연시간 보정 방법을 구현하는 과정을 나타낸 것이다.
도 3은 도 2의 시각동기 방법 중 응답 메시지 충돌회피를 위한 대기시간 설정 과정을 설명하기 위한 도면을 나타낸 것이다.
1 illustrates a network configuration of an Ethernet based distribution intelligent system according to the present invention.
FIG. 2 is a flowchart illustrating a method of implementing a time synchronization and a transmission delay time correction method between a master and a slave in a distribution intelligent system according to the present invention.
FIG. 3 is a view for explaining a waiting time setting process for avoiding a collision of a response message in the time synchronization method of FIG. 2. FIG.

이하에서는 본 발명의 구체적인 실시예를 도면을 참조하여 상세히 설명하도록 한다. Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

도 1은 본 발명에 따른 이더넷 기반 배전 지능화 시스템의 통신망 구성을 나타낸 것이다. 1 illustrates a network configuration of an Ethernet based distribution intelligent system according to the present invention.

도 1을 참조하면, 본 발명에 따른 이더넷 기반 배전 지능화 시스템(100)은, 서버(110), 마스터 측 L2 스위치(120), 복수개의 슬레이브 측 L2 스위치(131~ 134), 복수개의 원격제어장치(RTU, 141~144)를 포함하여 구성된다. 1, an Ethernet-based distribution intelligence system 100 according to the present invention includes a server 110, a master side L2 switch 120, a plurality of slave side L2 switches 131 to 134, (RTUs) 141-144.

서버(110)는 외부의 GPS를 포함한 SNTP(Simple Network Time Protocol) 또는 NTP( Network Time Protocol) 장치를 통해 정형화된 시각(time) 정보를 제공 받는다. The server 110 is provided with time information formatted through an SNTP (Simple Network Time Protocol) or an NTP (Network Time Protocol) apparatus including an external GPS.

서버(110)와 마스터(Master)는 SNTP(Simple Network Time Protocol) 또는 NTP( Network Time Protocol) 통신 프로토콜을 통해 통신되며, 마스터 측 L2 스위치(120)를 턴온 할 경우 서버(110)로부터 수신된 패킷(packet)을 목적지인 슬레이브(Slave)로 전송한다. The server 110 and the master are communicated through a Simple Network Time Protocol (SNTP) or a Network Time Protocol (NTP) communication protocol. When the master side L2 switch 120 is turned on, (packet) to the destination slave (slave).

마스터(Master)와 복수개의 슬레이브(Slave)는 링(ring) 형태의 광 통신망을 형성함으로써, 마스터 측 L2 스위치(120)를 턴온 할 경우, 슬레이브 측 각각의 L2 스위치(131~134)의 스위칭 동작에 따라, 서버로부터 수신된 패킷을 각각의 슬레이브에 연결된 각각의 원격제어장치(141~144)로 전송할 수 있게 된다. The master and the plurality of slaves form a ring optical communication network so that when the master side L2 switch 120 is turned on, the switching operation of each of the L2 switches 131 to 134 on the slave side , It is possible to transmit the packet received from the server to each of the remote controllers 141 to 144 connected to the respective slaves.

이 경우 각각의 슬레이브와 각각의 원격제어장치(141~144)는 LAN(Local Area Network) 통신을 통해 연결되는데, 이를테면 이더넷(Ethernet) 인터페이스, UDP(User Datagram Protocol) 등을 사용할 수 있다. In this case, the respective slaves and the respective remote controllers 141 to 144 are connected through LAN (Local Area Network) communication, for example, an Ethernet interface, UDP (User Datagram Protocol), or the like.

도 2는 본 발명에 따른 배전 지능화 시스템의 마스터와 슬레이브 간 시각동기 및 전송지연시간 보정 방법을 구현하는 과정을 나타낸 것이고, 도 3은 도 2의 시각동기 방법 중 응답 메시지 충돌회피를 위한 대기시간 설정 과정을 설명하기 위한 도면을 나타낸 것이다.FIG. 2 illustrates a procedure for implementing a time synchronization and a transmission delay time correction method between a master and a slave in a distribution intelligent system according to the present invention. FIG. 3 is a diagram illustrating a waiting time setting 1 is a view for explaining a process.

도 2를 참조하면, 우선 마스터 측에서 제1 마스터 시각(Tm1)을 슬레이브 측으로 브로드 캐스트(broadcast) 전송하는 제1 과정(S10)을 갖는다. Referring to FIG. 2, the first step (S10) broadcasts the first master time (T m1 ) from the master side to the slave side.

이 경우 제1 마스터 시각(Tm1)은 배전 지능화 시스템의 SNTP 또는 NTP의 시각정보를 전송직전에 타임 스템프로 기록하고, 마스터 측에 연결된 서버(110)에 저장되며, 제1 마스터 시각(Tm1)은 네트워크 내부의 각각의 슬레이브와 연결된 각각의 원격제어장치(RTU, 141~144)로 전송된다. In this case, the first master time (T m1 ) is time stamped with the time information of the SNTP or NTP of the distribution intelligent system, is stored in the server 110 connected to the master side, and the first master time (T m1 Is transmitted to each remote control unit (RTU) 141-144 connected to each slave in the network.

다음 과정으로, 슬레이브 측 원격제어장치의 RTC(Real Time Clock)를 수신된 상기 제1 마스터 시각(Tm1)으로 동기화시키는 즉 제1 RTC 셋팅 작업을 수행하는 제2 과정(S20)을 갖는다. In a next step, a second process (S20) is performed to synchronize the RTC (Real Time Clock) of the slave remote control device with the received first master time (T m1 ), that is, perform a first RTC setting operation.

다음과정으로, 슬레이브 측에서는 CPU Task Management 및 통신 인터페이스를 분석하여 대기시간(Ts)을 설정하고 실행하는 제3 과정(S30)을 갖는다. In the next step, the slave side has a third step (S30) of analyzing the CPU task management and the communication interface to set and execute the waiting time (T s ).

이 경우 원격제어장치의 CPU는 제1 마스터 시각(Tm1)의 수신 후에 CPU의 태스크(Task)를 감지하여 클래스 응답(Class response)을 감시하고, 버퍼 메모리의 상태 값을 모니터 링 하여 신속응답(Unsolicited Response) 메시지의 전송상태를 예측할 수가 있다. In this case, the CPU of the remote control device monitors the task of the CPU after receiving the first master time (T m1 ), monitors the class response, monitors the state value of the buffer memory, Unsolicited Response message can be predicted.

또한 CPU는 통신 인터페이스(이를테면, RS232, 10/100 Ethernet MAC PHY 등)를 감지하여 원격제어장치의 네트워크 점유상태를 판단할 수 있으므로, 대기시간(Ts)을 설정하는데 이를 고려한다. In addition, the CPU can determine the network occupancy state of the remote control apparatus to detect the communication interface (for example, RS232, Ethernet 10/100 MAC PHY and the like), it is considered to set the waiting time (T s).

이하 도 3을 참조하여, 본 발명에 따른 제3 과정(S30)에서 대기시간(Ts)의 존재 이유 및 설정 방법 등에 대하여 상세히 설명한다. With reference to Figure 3, in a third step (S30) according to the present invention will be described in detail why such presence and method of setting the waiting time (T s).

첫째, 본 발명에 따른 제3 과정(S30)에서 대기시간(Ts)의 존재 이유를 이하 설명한다. First, the reason why the waiting time (T s ) exists in the third step S30 according to the present invention will be described below.

슬레이브 측에서는 수신된 제1 마스터 시각(Tm1)을 이용해 수신 즉시 자체 RTC를 서버 장치의 시각과 동기(synchronization)시키며, 동시에 동기 된 시각정보를 제1 슬레이브 시각(Ts1)으로 정의한 후, 다시 마스터로 응답해야만 마스터 측에서 지연시간(△T3)을 계산할 수 있게 된다.On the slave side, the first master time (T m1 ) is used to synchronize the own RTC with the time of the server device immediately upon receipt. The synchronized time information is defined as the first slave time (T s1 ) The delay time? T3 can be calculated at the master side.

하지만 서버 장치와 원격제어장치는 실시간으로 원격제어장치에 대한 계측, 제어와 관련된 요청(Request)을 하면, 원격제어장치는 그에 대한 응답(Response) 메시지를 즉시 이행하는 구조로 일반적으로 설계되어 있다.However, when the server device and the remote control device make a request related to the measurement and control of the remote control device in real time, the remote control device is generally designed to immediately execute the response message to the request.

따라서 서버 장치와 원격제어장치 간에 시각정보 보정 프로세스와 요청(Request) / 응답(Response) 프로세스가 동일시각에 중복될 가능성이 있고, 만약 두개의 프로세스가 중복되어 시각정보 보정 프로세스가 즉시 수행되지 않고, 대기시간(stand by time)을 가지게 된다면, 서버 장치에서 수행하는 전송 지연시간(△T3) 연산과정에서 보정시각에 대한 신뢰성에 문제가 발생한다. Therefore, there is a possibility that the time information correction process and the request / response process between the server apparatus and the remote control apparatus may be duplicated at the same time. If the two processes are overlapped, the time information correction process is not performed immediately, If the system has a stand-by time, there is a problem in the reliability of the correction time in the calculation of the transmission delay time (DELTA T3) performed by the server apparatus.

이와 같은 이유로 인해, 본 발명에 따른 원격제어장치는 시각정보 보정 프로세스를 진행하기 전에 CPU의 어플리케이션 및 네트워크 전송로를 감지하여 응답(Response) 메시지가 전송될 예정이거나 진행 중일 경우에는, 일정시간의 대기시간(Ts)을 갖은 후 CPU와 네트워크 전송로를 독점한 상태에서 시각정보 보정 프로세스를 진행하도록 하고 있다. For this reason, the remote control apparatus according to the present invention detects the application of the CPU and the network transmission path before proceeding with the time information correction process, and if a response message is to be transmitted or in progress, The time information correction process is performed in a state in which the CPU and the network transmission path are monopolized after having the time T s .

둘째, 본 발명에 따른 제3 과정(S30)에서 대기시간(Ts)의 설정 방법에 대해 이하 설명한다. Secondly, a method of setting the waiting time T s in the third step S30 according to the present invention will be described below.

일반적으로 대기시간(Ts)의 설정 값(이를 테면, 10초)은 서버 장치와 원격제어장치 간의 클래스(Class) 정보에 기반 한 요청(Request)/응답(Response)의 통신구조에 의해서 정해진다.In general, the set value of the waiting time (T s ) (for example, 10 seconds) is determined by the communication structure of the request / response based on the class information between the server device and the remote control device .

서버 장치와 원격제어장치 간의 메시지를 교환하는 방법은 요청(Request)/ 응답(Response)과 신속응답(Unsolicited Response)로 구분할 수 있다.A method for exchanging messages between a server device and a remote control device can be classified into a Request / Response and an Unsolicited Response.

서버장치는 원격제어장치에서 데이터를 취득하기 위해, 도 3에 도시된 바대로, Class 0 ~ Class 3 까지 차등적으로 정보를 요청(Request) 하며, 동시에 다수의 원격제어장치를 위해 스케쥴 링 계획에 따라 Class 0 ~ Class 3을 순차적으로 호출하고 있다.In order to acquire data from the remote control device, the server device separately requests information from Class 0 to Class 3 as shown in FIG. 3, and at the same time, requests the information to a scheduling plan for a plurality of remote control devices Therefore, Class 0 through Class 3 are sequentially called.

Class 0은 디폴트 요청(Default request)으로 평상시 정적 데이터(Static data)를 요구하며, Class 1 ~ Class 3은 원격제어장치의 변경된 이력정보를 의미하는 이벤트 데이터(Event data)를 요구하는 것으로, 운영자에 의해 자유롭게 설정되며 동시에 Class 1 부터 Class 3 까지를 한꺼번에 요구할 수도 있다. Class 0 is a default request and normally requests static data. Class 1 ~ Class 3 is requesting event data which means changed history information of the remote control device. And can request Class 1 through Class 3 at the same time.

따라서 본 발명에 따른 원격제어장치는 서버 장치의 어떠한 요청(Request)에도 패킷 전송에 영향을 받지 않도록, 가장 많은 전송시간이 소요되는 Class 1 ~ Class 3 까지 메시지를 고려하여, 대기시간(Ts)의 초기 디폴트 값을 0 ~ 10sec로 설정하였지만, 이에 한정되지 않고 상황에 맞게 다양하게 응용하여 실시할 수 있음은 당연하다. Therefore, the remote control apparatus according to the present invention can reduce the waiting time (T s ) in consideration of the messages from Class 1 to Class 3, which requires the longest transmission time, so that any request of the server apparatus is not affected by packet transmission, The initial default value is set to 0 to 10 seconds. However, the present invention is not limited to this, and it is of course possible to carry out various applications in accordance with the circumstances.

다음과정으로, 슬레이브 측에서 제1 슬레이브 시각(Ts1)을 마스터 측으로 유니 캐스트(Unicast) 전송하는 제4 과정(S40)을 갖는다. In a next step, there is a fourth step (S40) of unicasting the first slave time (T s1 ) from the slave side to the master side.

이 경우 전송방식은 전송 목표인 서버의 IP 주소로만 데이터를 전송하는 유니 캐스트(Unicast) 방식을 사용한다. In this case, the transmission method uses a unicast method in which data is transmitted only to the IP address of the server which is the transmission target.

제1 슬레이브 시각(Ts1)을 전송함에 있어서, 만일 제1 마스터 시각(Tm1)을 수신한 원격제어장치가 버퍼 메모리, 어플리케이션 태스크, 통신 인터페이스 등을 감지하고 분석하여 대기시간(Ts)을 설정하고 실행할 필요가 없다고 판단한 경우, 즉 시각정보 보정 프로세스와 요청(Request)/응답(Response) 프로세스가 독립적일 경우, 제1 슬레이브 시각(Ts1)을 즉시 전송한다. In transmitting the first slave time T s1 , if the remote control device receiving the first master time T m1 detects and analyzes the buffer memory, the application task, the communication interface, and the like to determine the waiting time T s The first slave time T s1 is immediately transmitted when it is determined that the time information correction process and the request / response process are independent.

반면, 원격제어장치가 클래스 응답(Class response) 및 신속응답(Unsolicited Response)에 의해 대기시간(Ts)을 설정하고 실행한 경우에는, 소요된 대기시간(Ts)을 제1 슬레이브 시각(Ts1)에 적시하여 마스터 측의 서버 장치로 전송한다. On the other hand, when the remote control device sets and executes the waiting time T s by a class response and an unsolicited response, the waiting time T s is calculated as the first slave time T s1 ) to the server apparatus on the master side.

다음과정으로, 마스터 측에서 수신된 제1 슬레이브 시각(Ts1)을 제2 마스터 시각(Tm2)으로 정의 한 후, 수신된 시각정보를 이용하여 서버와 원격제어장치 간에 통신망의 전송 지연시간(△T3)을 계산하는 제5 과정(S50)을 갖는다. In the next step, the first slave time (T s1 ) received from the master side is defined as the second master time (T m2 ), and the transmission delay time of the communication network between the server and the remote control device (Step S50).

이 경우 전송 지연시간(△T3)은 하기 수학식 1 ~3 과정을 통해 계산된다. In this case, the transmission delay time [Delta] T3 is calculated through the following equations (1) to (3).

Figure 112013094416541-pat00001
Figure 112013094416541-pat00001

Figure 112013094416541-pat00002
Figure 112013094416541-pat00002

Figure 112013094416541-pat00003
Figure 112013094416541-pat00003

여기서, Tm1 은 마스터 측의 송신 시간인 제1 마스터 시각, Tm2 은 마스터 측에 수신된 제2 마스터 시각, Ts 은 대기시간을 각각 나타낸 것이다. Here, T m1 is the first master time, which is the transmission time on the master side, T m2 is the second master time received on the master side, and T s is the waiting time, respectively.

한편, 대기시간(Ts)의 실행, 알고리즘의 실행주기, 프로그램의 시작 시점 등은 프로그래밍 상에서 선택할 수 있도록 하여, 실행 시스템의 트래픽 부하에 영향을 주지 않도록 함이 바람직하다. On the other hand, it is preferable that the execution of the waiting time (T s ), the execution period of the algorithm, the start time of the program, etc. are selected by programming so as not to affect the traffic load of the execution system.

다음과정으로, 제5 과정(S50)에서 계산된 전송 지연시간(△T3)을 제3 마스터 시각(Tm3)으로 설정하고, 이를 슬레이브 측으로 유니 캐스트(Unicast) 전송하는 제6 과정(S60)을 갖는다. To the next step, in the fifth process (S50) a transmission delay time (△ T3) to the third master time sixth step (S60) to set (T m3), and transmits it toward the slave unicast (Unicast) calculated in .

마지막과정으로, 슬레이브 측에 수신된 제3 마스터 시각(Tm3) 정보를 통해 원격제어장치의 RTC(Real Time Clock)의 시각을 보정하는 즉 제2 RTC 셋팅 작업을 수행하는 제7 과정(S70)을 갖는다. As a final step, a seventh step (S70) of correcting the time of the RTC (Real Time Clock) of the remote controller through the third master time (T m3 ) information received on the slave side, that is, Respectively.

이로써, 본 발명은 원격제어장치에서 구현되는 대기시간 설정 방법과 서버에서 구현되는 전송 지연시간 계산 방법을 간단히 제공함으로써, 배전지능화시스템의 서버와 다수의 원격제어장치 간, 및 원격제어장치 상호 간에 동일한 시각정보를 공유할 수 있도록 해준다. Accordingly, the present invention provides a simple method of setting a wait time and a method of calculating a transmission delay time, which are implemented in a server, in a remote control device, and thereby, a server and a plurality of remote control devices of the distribution intelligence system, And to share visual information.

이상에서는 본 발명에 대한 기술사상을 첨부 도면과 함께 서술하였지만 이는 본 발명의 바람직한 실시 예를 예시적으로 설명한 것이지 본 발명을 한정하는 것은 아니다. 또한 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 누구나 본 발명의 기술적 사상의 범주를 이탈하지 않는 범위 내에서 다양한 변형 및 모방이 가능함은 명백한 사실이다.
While the present invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not limited to the disclosed embodiments. It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit of the invention.

110 : 서버
120 : 마스터 측의 L2 스위치
125 : SNTP
131 ~ 134 : 슬레이브 측의 제1 ~제4 L2 스위치
141 ~ 144 : 제1 ~ 제4 원격제어장치
110: Server
120: L2 switch on the master side
125: SNTP
131 to 134: First to fourth L2 switches on the slave side
141 to 144: First to fourth remote control devices

Claims (8)

마스터 측에서 서버의 시각정보를 갖는 제1 마스터 시각(Tm1)을 슬레이브 측으로 브로드 캐스트(broadcast) 전송하는 제1 과정;
상기 슬레이브 측 원격제어장치의 RTC(Real Time Clock)를 수신된 상기 제1 마스터 시각(Tm1)으로 동기화시키는 제2 과정;
상기 원격제어장치에서 대기시간(Ts)을 설정하고 실행하는 제3 과정;
상기 대기시간(Ts) 정보가 적시된 제1 슬레이브 시각(Ts1)을 마스터 측으로 유니 캐스트(Unicast) 전송하는 제4 과정;
상기 수신된 제1 슬레이브 시각(Ts1) 정보를 이용하여, 상기 서버와 상기 원격제어장치 간 통신망의 전송 지연시간(△T3)을 계산하는 제5 과정;
상기 계산된 전송 지연시간(△T3)을 상기 슬레이브 측으로 유니 캐스트(Unicast) 전송하는 제6 과정; 및
수신된 상기 전송 지연시간(△T3) 정보를 통해 상기 슬레이브 측 원격제어장치의 RTC(Real Time Clock)의 시각을 보정하는 제7 과정을 포함하며,
상기 제3 과정은,
상기 원격제어장치에서 CPU Task Management 및 통신 인터페이스를 분석하여 대기시간(Ts)을 설정하고 실행하는 것을 특징으로 하는 배전 지능화 시스템의 마스터와 슬레이브 간 시각동기 및 전송 지연시간 보정 방법.
A first step of broadcasting, at a master side, a first master time (T m1 ) having time information of a server to a slave side;
A second step of synchronizing the RTC (Real Time Clock) of the slave remote control device with the received first master time (T m1 );
A third step of setting the waiting time (T s) in the remote control unit and running;
A fourth step of unicasting the first slave time (T s1 ) at which the waiting time (T s ) information is written to the master side;
A fifth step of calculating a transmission delay time (DELTA T3) of a communication network between the server and the remote control device using the received first slave time (T s1 ) information;
A sixth step of unicasting the calculated transmission delay time DELTA T3 to the slave side; And
And a seventh step of correcting the time of the RTC (Real Time Clock) of the slave remote control device through the received transmission delay time (DELTA T3)
In the third step,
Wherein the remote control device analyzes the CPU task management and the communication interface to set and execute the waiting time (T s ) and execute the time synchronization and the transmission delay time correction method between the master and the slave of the distribution intelligent system.
삭제delete 제 1항에 있어서, 상기 CPU Task Management는,
클래스 응답(Class response)을 감시하고, 버퍼 메모리의 상태 값을 모니터 링 하여 신속응답(Unsolicited Response) 메시지의 전송상태를 예측하는 것을 특징으로 하는 배전 지능화 시스템의 마스터와 슬레이브 간 시각동기 및 전송 지연시간 보정 방법.
The system according to claim 1, wherein the CPU Task Management comprises:
Monitoring a class response and monitoring a state value of a buffer memory to predict a transmission state of a fast response (Unsolicited Response) message. The time synchronization and transmission delay time between master and slave of the distribution intelligent system Correction method.
제 3항에 있어서, 상기 클래스 응답(Class response)은,
디폴트 요청(Default request)으로 정적 데이터(Static data)를 요구하는 Class 0 ; 및
변경된 이력정보를 요구하는 Class 1 내지 Class 3을 포함하는 것을 특징으로 하는 배전 지능화 시스템의 마스터와 슬레이브 간 시각동기 및 전송 지연시간 보정 방법.
4. The method of claim 3, wherein the class response comprises:
Class 0 requesting static data as a default request; And
And Class 1 to Class 3 requesting changed history information. 2. The method of claim 1, further comprising:
제 4항에 있어서,
상기 Class 1 내지 Class 3을 고려하여 대기시간(Ts)을 설정하는 것을 특징으로 하는 배전 지능화 시스템의 마스터와 슬레이브 간 시각동기 및 전송 지연시간 보정 방법.
5. The method of claim 4,
And a waiting time (T s ) is set in consideration of the Class 1 to Class 3. The time synchronization and the transmission delay time correction method between the master and the slave of the distribution intelligent system.
제 5항에 있어서, 상기 대기시간(Ts)은,
0 내지 10 초로 초기 디폴트 값을 설정하는 것을 특징으로 하는 배전 지능화 시스템의 마스터와 슬레이브 간 시각동기 및 전송 지연시간 보정 방법.
The method of claim 5, wherein the waiting time (T s) is
Wherein the initial default value is set to 0 to 10 seconds. ≪ RTI ID = 0.0 > 11. < / RTI >
제 1항에 있어서, 상기 통신 인터페이스는,
RS232 또는 10/100 Ethernet MAC PHY 인 것을 특징으로 하는 배전 지능화 시스템의 마스터와 슬레이브 간 시각동기 및 전송 지연시간 보정 방법.
The communication system according to claim 1,
RS232 or 10/100 Ethernet MAC PHY. A method for correcting time synchronization and transmission delay time between a master and a slave in a distribution intelligent system.
제 1항에 있어서, 상기 전송 지연시간(△T3)은,
하기 [수학식]

△T3 = {(Tm2 - Tm1 ) - Ts } / 2
(여기서, Tm1 은 마스터 측의 송신 시간인 제1 마스터 시각, Tm2 은 마스터 측에 수신된 제2 마스터 시각, Ts 은 대기시간을 각각 의미함)
으로 결정되는 것을 특징으로 하는 배전 지능화 시스템의 마스터와 슬레이브 간 시각동기 및 전송 지연시간 보정 방법.
2. The method of claim 1, wherein the transmission delay time (DELTA T3)
[Mathematical Expression]

T3 = {(T m2 - T m1 ) - T s } / 2
(Where, T m1 is also the master transmission time of the first time of the master, T m2 is the second master time, T s received on the master side will mean waiting time, respectively)
The time synchronization and the transmission delay time correction method between the master and the slave of the distribution intelligent system.
KR1020130124878A 2013-10-18 2013-10-18 Time synchronization and transmission delay time correction method between the master and the slave of intelligent power distribution system KR101435181B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020130124878A KR101435181B1 (en) 2013-10-18 2013-10-18 Time synchronization and transmission delay time correction method between the master and the slave of intelligent power distribution system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020130124878A KR101435181B1 (en) 2013-10-18 2013-10-18 Time synchronization and transmission delay time correction method between the master and the slave of intelligent power distribution system

Publications (1)

Publication Number Publication Date
KR101435181B1 true KR101435181B1 (en) 2014-09-01

Family

ID=51758861

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130124878A KR101435181B1 (en) 2013-10-18 2013-10-18 Time synchronization and transmission delay time correction method between the master and the slave of intelligent power distribution system

Country Status (1)

Country Link
KR (1) KR101435181B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101784408B1 (en) * 2015-11-27 2017-10-11 한전케이디엔주식회사 Time synchronized system
CN115297364A (en) * 2022-07-27 2022-11-04 北京奇艺世纪科技有限公司 Method and system for determining cloud game video transmission time delay and electronic equipment
US11985416B2 (en) 2021-12-28 2024-05-14 Samsung Electronics Co., Ltd. Electronic device and method with independent time point management

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013516928A (en) * 2010-01-11 2013-05-13 ファロ テクノロジーズ インコーポレーテッド Method and apparatus for synchronizing measurements made by multiple measuring devices

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013516928A (en) * 2010-01-11 2013-05-13 ファロ テクノロジーズ インコーポレーテッド Method and apparatus for synchronizing measurements made by multiple measuring devices

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101784408B1 (en) * 2015-11-27 2017-10-11 한전케이디엔주식회사 Time synchronized system
US11985416B2 (en) 2021-12-28 2024-05-14 Samsung Electronics Co., Ltd. Electronic device and method with independent time point management
CN115297364A (en) * 2022-07-27 2022-11-04 北京奇艺世纪科技有限公司 Method and system for determining cloud game video transmission time delay and electronic equipment
CN115297364B (en) * 2022-07-27 2024-01-23 北京奇艺世纪科技有限公司 Cloud game video transmission time delay determining method, cloud game video transmission time delay determining system and electronic equipment

Similar Documents

Publication Publication Date Title
US9906320B2 (en) Industrial network apparatus and data communication method
CN101610145B (en) Method and system for realizing synchronous control of distributed system
EP2688240B1 (en) Method, system and device for switching and selecting clock source device
US11228520B2 (en) Distributed database for synchronizing the accessibility of nodes and shared devices
US9514073B2 (en) Device and method for global time information in event-controlled bus communication
WO2015196685A1 (en) Clock synchronization method and apparatus
CN102843205A (en) Method and device for time synchronization convergence based on precision time protocol
CN106664145A (en) Method for transmitting time synchronization messages in a communication network, network component, and communication network
CN107402534B (en) Adjusting method, EtherCAT main station and computer readable storage medium
KR101435181B1 (en) Time synchronization and transmission delay time correction method between the master and the slave of intelligent power distribution system
JP2005159754A (en) Transmission timing determining method, bus usage right arbitrating method, network system and program
CN114338267B (en) Maintenance method, device, equipment, bus network and medium for multiple management nodes
CN104202204A (en) Clock synchronous control method, device and system based on SNTP
CN106487611B (en) Method and device for detecting SDN cluster split
US8804770B2 (en) Communications system and related method for reducing continuity check message (CCM) bursts in connectivity fault management (CFM) maintenance association (MA)
KR102475744B1 (en) Control apparatis and control system
WO2014050493A1 (en) Backup device, main device, redundancy configuration system, and load dispersion method
KR20160000843A (en) Time synchronization method, time synchronization system, time master device, and time slave device
WO2012152124A1 (en) Externally connected temporal port changeover method and device
JP2013175852A (en) Time synchronization system, master unit, slave unit, time synchronization method and time synchronization program
KR101156097B1 (en) Master redundancy method in Ethernet powerlink
KR101204445B1 (en) Time synchronization system and time synchronization method between a master device and a slave device
KR101498561B1 (en) System and method for can communication based tdma digital technology for global synchronization
Li et al. A high-accuracy clock synchronization method in distributed real-time system
CN104993920A (en) SNTP-based synchronization time method and SNTP client

Legal Events

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

Payment date: 20170821

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20180821

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20190821

Year of fee payment: 6