KR20030045576A - Data packet recording media, management method thereof and bi-directional communication method applying on power line communication - Google Patents

Data packet recording media, management method thereof and bi-directional communication method applying on power line communication Download PDF

Info

Publication number
KR20030045576A
KR20030045576A KR1020010076335A KR20010076335A KR20030045576A KR 20030045576 A KR20030045576 A KR 20030045576A KR 1020010076335 A KR1020010076335 A KR 1020010076335A KR 20010076335 A KR20010076335 A KR 20010076335A KR 20030045576 A KR20030045576 A KR 20030045576A
Authority
KR
South Korea
Prior art keywords
address
power line
area
hale
home code
Prior art date
Application number
KR1020010076335A
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 KR1020010076335A priority Critical patent/KR20030045576A/en
Publication of KR20030045576A publication Critical patent/KR20030045576A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/544Setting up communications; Call and signalling arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B2203/00Indexing scheme relating to line transmission systems
    • H04B2203/54Aspects of powerline communications not already covered by H04B3/54 and its subgroups
    • H04B2203/5404Methods of transmitting or receiving signals via power distribution lines
    • H04B2203/5408Methods of transmitting or receiving signals via power distribution lines using protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE: A data packet recorded medium applied to a power line communication method, an operating method and a bidirectional communication method are provided to continuously respond to an ACK signal with 2 bits on a back end of a command transmitted by a master, without packet-processing the ACK signal for bidirectional communication, thereby remarkably reducing data traffic at a high speed. CONSTITUTION: When power is supplied, a transmission equipment enters a standby state(900). If a host directs to start finding a home code(902), the equipment transmits an optional home code with a home code hail request signal(904). All receiving equipments receiving the home code hail request signal decide whether received home code data are the same as self home codes. If so, each receiving equipment immediately transmits a hail NAK signal(906). If the home code data are not the same, each receiving equipment does not respond to the data, and transmits a hail ACK signal(910). The transmission equipment deletes the transmitted home code, and transmits the home code hail request signal again with new home code data(908). If none of the receiving equipments transmits the hail NAK signal, the transmission equipment completes a home code finding process, and reports a finally-received home code to the host, to be assigned with the home code(912).

Description

전력선 통신 방법에 적용되는 데이터 패킷 기록 매체, 운용 방법 및 양방향 통신 방법 {Data packet recording media, management method thereof and bi-directional communication method applying on power line communication}Data packet recording media, management method and bi-directional communication method applied to power line communication method {Data packet recording media, management method, etc. and bi-directional communication method applying on power line communication}

본 발명은 전력선 통신에 적용되는 데이터 패킷 기록 매체, 그 운용 방법 및 양방향 통신을 위한 응답 방법에 관한 것으로서, 보다 상세하게는, 종래의 X-10 기반의 전력선 통신을 보다 확장시키는 데이터 패킷 기록 매체, 그 운용 방법 및 신호의 물리적 계층에 적용되는 양방향 통신을 위한 응답 방법에 관한 것이다.The present invention relates to a data packet recording medium applied to power line communication, an operation method thereof, and a response method for bidirectional communication. More particularly, the present invention relates to a data packet recording medium that extends conventional X-10 based power line communication. A method of operation and a response method for bidirectional communication applied to a physical layer of a signal.

일반적으로 가정이나 사무실 또는 공장 등에서 구비하고 있는 다수의 기기 또는 장치들을 원격 조정하기 위하여 최근에는 전력선 통신을 이용한 제어 방법이 그 편리성으로 인해서 널리 이용되고 있다.In general, in order to remotely control a large number of devices or devices provided in a home, an office, or a factory, a control method using power line communication has recently been widely used due to its convenience.

일반적으로 전력선 상의 제로 크로스 포인트(Zero Cross Point)에서의 데이터 통신은 데이터 비트마다 전원 주파수의 1 사이클 단위로 이루어지며, 1/2 사이클 당 캐리어 신호의 위치에 따라 데이터 비트를 표시한다. 즉, 종래의 X-10 기반의 통신 방법에 따르면, 기본적으로 전력선의 전력 레벨의 제로 크로스 포인트에서 120KHz 전력선 신호를 1ms 동안 발생시키면서 신호를 실어 보내고, 이러한 데이터를 조합해서 전력선 통신을 수행한다.In general, data communication at a zero cross point on a power line is performed in units of one cycle of power frequency for each data bit, and indicates data bits according to positions of carrier signals per half cycle. That is, according to the conventional X-10 based communication method, a signal is generated while generating a 120KHz power line signal for 1 ms at a zero cross point of the power line's power level, and power line communication is performed by combining these data.

도 1a 및 도 1b는 일반적인 전력선의 제로 크로스 포인트를 이용한 데이터 통신 방법에서의 데이터 비트를 도시한 파형도이다.1A and 1B are waveform diagrams showing data bits in a data communication method using zero cross points of a general power line.

도 1a 및 도 1b에 도시되어 있듯이 캐리어 신호가 있는 경우를 '온', 없는 경우를 '오프'라 하면, 데이터 비트 '1'은 캐리어 신호 '온'에서 캐리어 신호 '오프'인 상태로 표시하고, 데이터 비트 '0'은 캐리어 신호 '오프'에서 캐리어 신호 '온'인 상태로 표시한다.As shown in FIGS. 1A and 1B, when a carrier signal is present as 'ON' and when there is no 'OFF', the data bit '1' is displayed as a carrier signal 'OFF' in the carrier signal 'ON'. The data bit '0' is indicated by the carrier signal 'on' from the carrier signal 'off'.

전력선의 제로 크로스 포인트를 이용한 데이터 통신은 이러한 정의를 근거로 전력선을 이용하여 제어 기기들이 상호 데이터를 송수신하는 것이다.Data communication using a zero cross point of a power line is based on this definition, in which control devices transmit and receive data to and from each other using the power line.

이러한 기존의 제로 크로스 포인트를 이용한 데이터 통신 방법에 대해서는 본 출원인이 이미 출원하여 등록받은 '양 방향 전력선 통신을 이용한 원격 제어 장치 및 그 제어 방법'(공개 번호 : 10-2000-002198) 및 '전력선의 제로 크로스 포인트를 이용한 우선 순위 데이터 통신 방법'(공개 번호 : 10-1999-053820)에 상세하게 기재되어 있으며, 이러한 전력선 통신 방법은 X-10 기반의 통신 방법을 활용하고 있다.For the data communication method using the existing zero cross point, the present inventors have already applied for and registered the 'remote control apparatus using bidirectional power line communication and its control method' (Publication No. 10-2000-002198) and the Priority data communication method using zero cross point '(published number: 10-1999-053820) is described in detail, and this power line communication method utilizes an X-10 based communication method.

이러한 X-10 기반의 통신 방법을 살펴 보면, 다음과 같다.The X-10 based communication method is as follows.

도 2a는 종래의 X-10 기반의 프로토콜의 시작점을 도시한 데이터 구조도이고, 도 2b는 도 2a에 도시된 데이터 구조를 파형으로 도시한 파형도로서, 이를 설명하면, 다음과 같다.FIG. 2A is a data structure diagram illustrating a starting point of a conventional X-10 based protocol, and FIG. 2B is a waveform diagram illustrating the data structure illustrated in FIG. 2A as a waveform.

먼저, 도 2a에 도시되어 있듯이, X-10 기반의 프로토콜 시작점은 'Start Code'가 2 사이클, 'House Code'가 4 사이클, 'Number Code' 또는 'Function Code'가 5 사이클로 구성되어 있으며, 이러한 신호를 연이어 두 번씩 보낸다. 이때, 'Start Code'는 오직 1110만 존재하며, 1/2 사이클에 한 데이터를 전송하고, 그 이외의 다른 코드들은 1 사이클이 1 비트의 데이터를 의미하므로 데이터가 L1이면, 1과 0으로 데이터가 확장되어 전송되고, L0이면, 0과 1로 확장되어 송출한다. 이를 나타낸 것이 도 2b이다.First, as shown in FIG. 2A, the X-10-based protocol start point includes two cycles of 'Start Code', four cycles of 'House Code', and five cycles of 'Number Code' or 'Function Code'. Send the signal twice in succession. At this time, 'Start Code' exists only 1110, and one data is transmitted in 1/2 cycle, and other codes are data of 1 and 0 if data is L1 because one cycle means 1 bit of data. Is extended and transmitted, and if L0, it is extended to 0 and 1 and sent. This is illustrated in Figure 2b.

한편, 상기 L1과 L0는 다음과 같이 정의된다.Meanwhile, L1 and L0 are defined as follows.

제로 크로스 포인트에 캐리어 주파수가 존재하면 '1', 존재하지 아니하면 '2'로 정의되고, '논리적 1(L1)'은 제로 크로스 포인트에 캐리어 주파수가 존재하고 그 다음은 존재하지 아니하는 1과 0이 조합된 것이며, '논리적 0(L0)'는 제로 크로스 포인트에 캐리어 주파수가 존재하고 있지 아니하며 다음 제로 크로스 포인트에 캐리어 주파수가 존재하는, 즉, 0과 1의 조합을 의미한다.If the carrier frequency is present at the zero cross point, it is defined as '1', and if it is not present, it is defined as '2', and 'logical 1 (L1)' is defined as '1' where the carrier frequency is present at the zero cross point and not present. 0 is a combination, and 'logical 0 (L0)' means a carrier frequency does not exist at a zero cross point and a carrier frequency exists at a next zero cross point, that is, a combination of 0 and 1.

따라서, 도 2b에 의하면, 'Start Code'는 '1110', 'House Code'는 'L0,L0,L0,L1', 'Number/Function Code'는 'L0,L0,L0,L1,L1'이 된다.Therefore, according to FIG. 2B, 'Start Code' is '1110', 'House Code' is 'L0, L0, L0, L1', and 'Number / Function Code' is 'L0, L0, L0, L1, L1'. do.

한편, 최근 들어 거의 모든 가전 기기의 전원부로는 SMPS(스위칭 모드 파워 서플라이 : Switching Mode Power Supply)가 사용되고 있으며, 이들 SMPS에서 발생되는 노이즈와 함께 에어컨, 진공 청소기, 믹서 등의 가정용 전기 기기들로부터 발생하는 노이즈로 인하여 전력선 통신 방법의 신뢰성은 점점 위협받고 있는 상황이다. 따라서, 종래의 캐리어 검출 방법과 단방향이라는 통신 시스템으로는 통신 내용에 대하여 신뢰성을 확보하기 힘들다는 문제점이 있다.Recently, SMPS (Switching Mode Power Supply) is used as a power supply unit of almost all home appliances, and the noise generated from these SMPSs is generated from household electrical appliances such as air conditioners, vacuum cleaners, mixers, and the like. Due to the noise, the reliability of the power line communication method is increasingly threatened. Therefore, there is a problem that it is difficult to secure the reliability of the communication contents with the conventional carrier detection method and the one-way communication system.

상기와 같은 종래 기술의 문제점을 해결하기 위한 본 발명의 목적은 종래의X-10 기반의 전력선 통신을 보다 확장시키는 데이터 패킷 기록 매체, 그 운용 방법 및 신호의 물리적 계층에 적용되는 양방향 통신을 위한 응답 방법을 제공하기 위한 것이다.An object of the present invention for solving the problems of the prior art as described above is a response for bidirectional communication applied to the data packet recording medium, its operation method and the physical layer of the signal to further extend the conventional X-10 based powerline communication. It is to provide a method.

도 1a 및 도 1b는 일반적인 전력선의 제로 크로스 포인트를 이용한 데이터 통신 방법에서의 데이터 비트를 도시한 파형도이고,1A and 1B are waveform diagrams showing data bits in a data communication method using zero cross points of a general power line,

도 2a는 종래의 X-10 기반의 프로토콜의 시작점을 도시한 데이터 구조도이고,Figure 2a is a data structure diagram showing the starting point of the conventional X-10 based protocol,

도 2b는 도 2a에 도시된 데이터 구조를 파형으로 도시한 파형도이고,FIG. 2B is a waveform diagram showing a waveform of the data structure shown in FIG. 2A;

도 3은 본 발명의 일 실시예에 따른 Z256 프로토콜의 데이터 흐름을 보여주는 도면이고,3 is a view showing a data flow of the Z256 protocol according to an embodiment of the present invention,

도 4a 및 도 4b는 본 발명의 일 실시예에 따른 RHC 표준 패킷 구조를 나타낸 데이터 구조도이고,4A and 4B are data structure diagrams illustrating an RHC standard packet structure according to an embodiment of the present invention.

도 5a는 본 발명의 일 실시예에 따른 RHC 커맨드 패킷의 구조도이고,5A is a structural diagram of an RHC command packet according to an embodiment of the present invention;

도 5b는 Z256 디바이스의 어드레스가 1번 유닛을 온(On) 시킬 경우의 패킷 구조도이고,5B is a packet structure diagram when an address of a Z256 device turns on unit 1;

도 6a는 RHC 응답 커맨드의 패킷 구조도이고,6A is a packet structure diagram of an RHC response command,

도 6b는 RHC 응답 커맨드의 패킷 값에 따른 정의를 보여주는 도면이고,6B is a diagram illustrating definition according to a packet value of an RHC response command.

도 7a는 본 발명의 일 실시예에 따른 RHC 결과 패킷의 구조도이고,7A is a structural diagram of an RHC result packet according to an embodiment of the present invention,

도 7b는 결과 커맨드의 목록에 따른 정의를 보여주는 도면이고,7B is a diagram illustrating a definition according to a list of result commands.

도 7c는 Z256 디바이스의 어드레스가 1번 유닛을 온(On) 시키는 경우의 RHC 결과 패킷의 구조도이고,7C is a structural diagram of an RHC result packet when an address of a Z256 device turns on unit 1;

도 8a는 본 발명의 일 실시예에 따른 RHC 충돌 패킷의 구조도이고,8A is a structural diagram of an RHC collision packet according to an embodiment of the present invention;

도 8b는 본 발명의 일 실시예에 따른 데이터 전송 취소 패킷의 구조도이고,8B is a structural diagram of a data transmission cancellation packet according to an embodiment of the present invention;

도 9는 본 발명의 일 실시예에 따른 홈 코드 탐색 과정을 보여주는 흐름도이고,9 is a flowchart illustrating a home code search process according to an embodiment of the present invention;

도 10은 본 발명의 일 실시예에 따른 홈 코드 설정 과정을 보여주는 흐름도이고,10 is a flowchart illustrating a home code setting process according to an embodiment of the present invention.

도 11은 본 발명의 일 실시예에 따른 홈 코드 삭제 과정을 보여 주는 흐름도이고,11 is a flowchart illustrating a home code deletion process according to an embodiment of the present invention.

도 12는 본 발명의 일 실시예에 따른 어드레스 탐색 과정을 나타내는 흐름도이고,12 is a flowchart illustrating an address searching process according to an embodiment of the present invention;

도 13은 본 발명의 일 실시예에 따른 어드레스 수정 과정을 나타낸 흐름도이고,13 is a flowchart illustrating an address modification process according to an embodiment of the present invention;

도 14는 본 발명의 일 실시예에 따른 기기들의 파워-온 리셋 통보 과정을 나타낸 흐름도이고,14 is a flowchart illustrating a power-on reset notification process of devices according to an embodiment of the present invention.

도 15는 본 발명의 일 실시예에 따른 양방향 ACK 통신 방법의 개념을 보여주는 파형도이다.15 is a waveform diagram illustrating a concept of a bidirectional ACK communication method according to an embodiment of the present invention.

상기한 목적을 달성하기 위하여 본 발명에 따르면, 전력선 통신의 RS232c 호스트와 전력선 통신 디바이스간에 적용되는 데이터 패킷을 기록한 컴퓨터로 읽을 수 있는 기록 매체에 있어서, 통신 시작에 대한 정보를 입력, 수정, 조회 및 삭제할 수 있는 스타트 영역; 상기 데이터 패킷의 길이를 입력, 수정 조회 및 삭제할 수 있는 패킷 길이 영역; 상기 전력선 통신 디바이스에 대한 명령 코드를 입력, 수정, 조회 및 삭제할 수 있는 커맨드 코드 영역; 상기 커맨드 코드에서 목표로 하는 전력선 통신 디바이스에 대한 어드레스 및 실제 명령 내용을 입력, 수정, 조회 및 삭제할 수 있는 메시지 데이터 영역; 및 상기 스타트 영역, 패킷 길이 영역, 커맨드 코드 영역 및 데시지 데이터 영역 값들의 배타적 논리합(XOR)을 입력, 수정, 조회 및 삭제할 수 있는 체크섬 영역; 을 포함하고, 상기 패킷 길이 영역은 상기 커맨드 코드 영역, 메시지 데이터 영역 및 체크섬 영역의 길이를 합친 값인 것을 특징으로 하는 전력선 통신의 RS232c 호스트와 전력선 통신 디바이스간에 적용되는 데이터 패킷을 기록한 컴퓨터로 읽을 수 있는 기록 매체가 제공된다.In order to achieve the above object, according to the present invention, a computer-readable recording medium that records a data packet applied between an RS232c host of a power line communication and a power line communication device, comprising: inputting, modifying, inquiring and A start area that can be deleted; A packet length area for inputting, modifying, and deleting a length of the data packet; A command code area for entering, modifying, querying, and deleting command codes for the powerline communication device; A message data area for inputting, modifying, inquiring, and deleting an address and actual command contents for a target power line communication device in said command code; And a checksum area for inputting, modifying, querying, and deleting an exclusive logical sum (XOR) of the start area, packet length area, command code area, and message data area values. Wherein the packet length region is a sum of the lengths of the command code region, the message data region, and the checksum region. The computer-readable recording data packet applied between the RS232c host and the powerline communication device of the powerline communication may be used. A recording medium is provided.

또한, 전력선으로 바인딩(Binding)된 RS232c 호스트에서 전력선 통신 디바이스로 RS232c를 통하여 상기 전력선 통신 디바이스를 제어하는 커맨드 패킷을 기록한 컴퓨터로 읽을 수 있는 기록 매체에 있어서, 통신 시작에 대한 정보를 입력, 수정, 조회 및 삭제할 수 있는 스타트 영역; 상기 데이터 패킷의 길이를 입력, 수정 조회 및 삭제할 수 있는 패킷 길이 영역; 상기 전력선 통신 디바이스에 대한 명령 코드를 입력, 수정, 조회 및 삭제할 수 있는 커맨드 코드 영역; 상기 커맨드 코드에서 목표로 하는 전력선 통신 디바이스에 대한 어드레스에 대한 정보를 입력, 수정, 조회 및 삭제할 수 있는 메시지 데이터 영역; 및 상기 스타트 영역, 패킷 길이 영역, 커맨드 코드 영역 및 데시지 데이터 영역 값들의 배타적 논리합(XOR)을 입력, 수정, 조회 및 삭제할 수 있는 체크섬 영역; 을 포함하고, 상기 패킷 길이 영역은 상기 커맨드 코드 영역, 메시지 데이터 영역 및 체크섬 영역의 길이를 합친 값이며, 상기 모든 영역들의 길이는 1 바이트로 구성된 것을 특징으로 하는 전력선으로 바인딩(Binding)된 RS232c 호스트에서 전력선 통신 디바이스로 RS232c를 통하여 상기 전력선 통신 디바이스를 제어하는 커맨드 패킷을 기록한 컴퓨터로 읽을 수 있는 기록 매체가 제공된다.A computer-readable recording medium having recorded a command packet for controlling the power line communication device via RS232c from an RS232c host bound to a power line to a power line communication device, comprising: inputting, modifying, A start area for viewing and deleting; A packet length area for inputting, modifying, and deleting a length of the data packet; A command code area for entering, modifying, querying, and deleting command codes for the powerline communication device; A message data area for inputting, modifying, inquiring, and deleting information about an address for a target power line communication device in said command code; And a checksum area for inputting, modifying, querying, and deleting an exclusive logical sum (XOR) of the start area, packet length area, command code area, and message data area values. Wherein the packet length region is a sum of the lengths of the command code region, the message data region, and the checksum region, and the lengths of all the regions consist of 1 byte. A computer readable recording medium having recorded a command packet for controlling the power line communication device via RS232c to a power line communication device is provided.

또한, 커맨드 패킷을 전송받은 상기 전력선 통신 디바이스의 응답 커맨드 패킷을 기록한 컴퓨터로 읽을 수 있는 기록 매체에 있어서, 상기 전력선 통신 디바이스가 전송받은 커맨드에 대한 응답을 입력, 수정, 조회 및 삭제할 수 있는 응답 커맨드 영역을 포함하고, 상기 응답 커맨드 영역은 RS232c 통신이 성공하는 경우, RS232c 통신 중 패킷 에러가 발생하는 경우 및 현재 전력선으로 패킷을 송신할 수 없슴의 세가지 경우로 나누어 이를 입력, 수정, 조회 및 삭제할 수 있는 것을 특징으로 하는 커맨드 패킷을 전송받은 상기 전력선 통신 디바이스의 응답 커맨드 패킷을 기록한 컴퓨터로 읽을 수 있는 기록 매체가 제공된다.In addition, a computer-readable recording medium recording a response command packet of the power line communication device receiving a command packet, the response command capable of inputting, modifying, inquiring, and deleting a response to a command received by the power line communication device. The response command area can be input, modified, inquired, and deleted in three cases: RS232c communication is successful, a packet error occurs during RS232c communication, and a packet cannot be transmitted to the current power line. There is provided a computer-readable recording medium having recorded thereon a response command packet of the power line communication device which has received a command packet.

또한, 커맨드 패킷을 전송받은 상기 전력선 통신 디바이스의 결과 패킷을 기록한 컴퓨터로 읽을 수 있는 기록 매체에 있어서, 통신 시작에 대한 정보를 입력, 수정, 조회 및 삭제할 수 있는 스타트 영역; 상기 데이터 패킷의 길이를 입력, 수정 조회 및 삭제할 수 있는 패킷 길이 영역; 상기 전력선 통신 디바이스에 대한 명령 코드를 입력, 수정, 조회 및 삭제할 수 있는 커맨드 코드 영역; 상기 커맨드 코드에서 목표로 하는 전력선 통신 디바이스에 대한 어드레스에 대한 정보를 입력, 수정, 조회 및 삭제할 수 있는 메시지 데이터 영역; 및 상기 스타트 영역, 패킷 길이 영역, 커맨드 코드 영역 및 데시지 데이터 영역 값들의 배타적 논리합(XOR)을 입력, 수정, 조회 및 삭제할 수 있는 체크섬 영역; 을 포함하고, 상기 커맨드 코드 영역은 현재 상태가 OFF인 경우, 현재 상태가 ON인 경우, 제 4 항의 커맨드 코드에 대한 목표 디바이스가 존재하지 않는 경우 및 상태가 없는 경우로 나누어 이를 입력, 수정, 조회 및 삭제할 수 있는 것을 특징으로 하는 커맨드 패킷을 전송받은 상기 전력선 통신 디바이스의 결과 패킷을 기록한 컴퓨터로 읽을 수 있는 기록 매체가 제공된다.A computer-readable recording medium having recorded a result packet of the power line communication device receiving a command packet, the computer-readable recording medium comprising: a start area for inputting, modifying, inquiring, and deleting information about a communication start; A packet length area for inputting, modifying, and deleting a length of the data packet; A command code area for entering, modifying, querying, and deleting command codes for the powerline communication device; A message data area for inputting, modifying, inquiring, and deleting information about an address for a target power line communication device in said command code; And a checksum area for inputting, modifying, querying, and deleting an exclusive logical sum (XOR) of the start area, packet length area, command code area, and message data area values. The command code area may be divided into a case in which the current state is OFF, the present state is ON, the target device for the command code of claim 4 does not exist, and the state does not exist. And a computer readable recording medium having recorded thereon a result packet of the powerline communication device that has received the command packet, which can be deleted.

또한, RS232c 호스트와 RS232c로 연결되어 있는 전력선 통신 디바이스가 전력선으로 데이터를 전송하려 할 때, 전력선 상에 이미 다른 데이터가 전송되고 있거나, 충돌 감지(C/D : Collision Detect)에 의해서 송신하고자 하는 데이터의 우선 순위가 낮아 전송하지 못할 때, 사용하는 충돌 패킷을 기록한 컴퓨터로 읽을 수 있는 기록 매체에 있어서, 통신 시작에 대한 정보를 입력, 수정, 조회 및 삭제할수 있는 스타트 영역; 상기 데이터 패킷의 길이를 입력, 수정 조회 및 삭제할 수 있는 패킷 길이 영역; 상기 전력선 통신 디바이스에 대한 명령 코드를 입력, 수정, 조회 및 삭제할 수 있는 커맨드 코드 영역; 상기 커맨드 코드에서 목표로 하는 전력선 통신 디바이스에 대한 어드레스에 대한 정보를 입력, 수정, 조회 및 삭제할 수 있는 메시지 데이터 영역; 및 상기 스타트 영역, 패킷 길이 영역, 커맨드 코드 영역 및 데시지 데이터 영역 값들의 배타적 논리합(XOR)을 입력, 수정, 조회 및 삭제할 수 있는 체크섬 영역; 을 포함하고, 상기 커맨드 코드 영역은 데이터 전송을 취소한다는 메시지를 기록할 수 있는 것을 특징으로 하는 충돌 패킷을 기록한 컴퓨터로 읽을 수 있는 기록 매체가 제공된다.In addition, when the power line communication device connected to the RS232c host and the RS232c attempts to transmit data to the power line, other data is already being transmitted on the power line or data to be transmitted by collision detection (C / D: Collision Detect). A computer readable recording medium recording a collision packet to be used when the transmission priority is low due to a low priority, comprising: a start area for inputting, modifying, inquiring, and deleting information about a communication start; A packet length area for inputting, modifying, and deleting a length of the data packet; A command code area for entering, modifying, querying, and deleting command codes for the powerline communication device; A message data area for inputting, modifying, inquiring, and deleting information about an address for a target power line communication device in said command code; And a checksum area for inputting, modifying, querying, and deleting an exclusive logical sum (XOR) of the start area, packet length area, command code area, and message data area values. And the command code area is capable of recording a message indicating that data transmission is canceled. A computer readable recording medium having recorded thereon a collision packet is provided.

또한, 헤일(Hail) 통신 방식을 이용한 전력선 통신의 홈 코드 세팅 방법에 있어서, 전력선 통신 기기 중 호스트가 홈 코드 탐색 시작을 지시하면, 송신 기기는 홈 코드 헤일 Request 신호와 함께 사용을 원하는 임의의 홈 코드를 송신하는 제 1 단계; 상기 수신된 홈 코드 데이터가 자신의 홈 코드와 상이하면, 각각의 수신 기기는 아무런 응답을 하지 않음으로써, 헤일 ACK 신호를 송신함으로써, 전력선 통신을 수행하는 제 2 단계; 상기 홈 코드 헤일 Request 신호를 수신한 모든 수신 기기는 수신된 홈 코드 데이터가 자신의 홈 코드와 동일한지 여부를 판단하여, 자신의 홈 코드와 동일하면, 상기 각각의 수신 기기는 헤일 NAK 신호를 송신하는 제 3 단계; 및 상기 헤일 NAK 신호를 수신하면, 송신 기기는 이전에 송신한 홈 코드를 삭제하고, 새로운 홈 코드 데이터와 함께 재차 홈 코드 헤일 Request 신호를 송신한 후, 상기 제 2 단계로 복귀하는 제 4 단계; 를 포함하는 헤일(Hail) 통신 방식을 이용한 전력선 통신의 홈 코드 세팅 방법이 제공된다.Further, in the home code setting method of power line communication using a hale communication method, when a host instructs to start a home code search among power line communication devices, the transmitting device wants to use any home with a home code hale request signal. A first step of transmitting a code; If the received home code data is different from its home code, a second step of performing power line communication by transmitting a hale ACK signal by not responding to each receiving device; All receiving devices that have received the home code hale request signal determine whether the received home code data is the same as their own home code, and if they are identical to their own home code, each receiving device transmits a hale NAK signal. A third step of doing; And a fourth step of, upon receiving the hale NAK signal, the transmitting device deletes the previously transmitted home code, transmits a home code hale request signal together with new home code data, and then returns to the second step. Provided is a home code setting method of power line communication using a hale communication method including a.

또한, 전력선 통신 시스템에서 홈 코드가 설정된 기기가 헤일(Hail) 통신 방식을 이용하여 어드레스를 설정하는 방법에 있어서, 호스트가 초기화 작업 수행을 명령하면, 기기는 어드레스 헤일 Request 신호와 함께 사용을 원하는 임의의 어드레스를 송신하는 제 1 단계; 상기 수신된 어드레스 데이터가 자신의 어드레스와 상이하면, 각각의 수신 기기는 아무런 응답을 하지 않음으로써, 헤일 ACK 신호를 송신하여 수신된 어드레스 데이터의 사용을 허락하는 제 2 단계; 상기 어드레스를 수신한 기기가 수신된 어드레스 데이터가 자신의 어드레스와 동일하면, 각각의 수신 기기는 즉시 헤일 NAK 신호를 송신하는 제 3 단계; 및 상기 헤일 NAK 신호를 수신하면, 상기 송신 기기는 새로운 어드레스 데이터와 함께 재차 어드레스 헤일 Request 신호를 송신한 후, 상기 제 2 단계로 복귀하는 제 4 단계; 를 포함하는 것을 특징으로 하는 어드레스 설정 방법이 제공된다.Also, in the power line communication system, a device having a home code set an address by using a hale communication method. When the host instructs to perform an initialization operation, the device wants to use the address along with an address hale request signal. A first step of transmitting the address of; If the received address data is different from its own address, each receiving device makes no response, thereby transmitting a hale ACK signal to allow use of the received address data; A third step in which each receiving device immediately transmits a Hale NAK signal if the receiving device has the same address data received by the receiving device; And a fourth step of, when receiving the Hale NAK signal, the transmitting device again transmits an Address Hale Request signal together with new address data and then returns to the second step; There is provided an address setting method comprising a.

또한, 어드레스가 설정된 후, 어드레스 변경 요구에 의하여 어드레스를 갱신하는 방법에 있어서, 호스트가 어드레스 수정을 명령하면, 명령을 받은 기기는 어드레스 헤일 Request 신호와 함께 사용을 원하는 어드레스를 송신하는 제 1 단계; 상기 수신된 어드레스 데이터가 자신의 어드레스와 상이하면, 각각의 수신 기기는 아무런 응답을 하지 않음으로써, 헤일 ACK 신호를 송신하여 수신된 어드레스 데이터의 사용을 허락하는 제 2 단계; 상기 수신된 어드레스 데이터가 자신의 어드레스와 동일하면, 각각의 수신 기기는 즉시 헤일 NAK 신호를 송신하는 제 3 단계; 상기 헤일 NAK 신호를 수신하면, 송신 기기는 새로운 어드레스 데이터와 함께 재차 어드레스 헤일 Request 신호를 송신한 후, 상기 제 2 단계로 복귀하는 것을 특징으로 하는 어드레스 갱신 방법이 제공된다.A method of updating an address by an address change request after an address is set, the method comprising: a first step of, when a host instructs address modification, the device receiving the command transmits an address to be used with an address hale request signal; If the received address data is different from its own address, each receiving device makes no response, thereby transmitting a hale ACK signal to allow use of the received address data; If the received address data is identical to its own address, each receiving device immediately sends a Hale NAK signal; Upon receiving the Hale NAK signal, the transmitting device transmits the Address Hale Request signal again with the new address data, and then returns to the second step.

또한, 양방향 전력선 통신 방법에 있어서, 마스터(Master)가 전력선 통신 디바이스에 패킷을 전송하면, 상기 패킷을 전송받은 전력선 통신 디바이스는 수신한 패킷 끝단에 자신이 수행하고 있는 상태(ACK 메시지)를 부가하여 상기 마스터에 전송하며, 상기 ACK 메시지는 수신한 전력선 통신 디바이스의 상태가 On인 경우, 수신한 전력선 통신 디바이스의 상태가 Off인 경우 및 수신한 전력선 통신 디바이스의 상태가 없는 경우로 나누어서 기록하는 것을 특징으로 하는 양방향 전력선 통신 방법이 제공된다.In the bidirectional power line communication method, when a master transmits a packet to a power line communication device, the power line communication device receiving the packet adds a state (ACK message) to the end of the received packet. The ACK message is transmitted to the master, and the ACK message is divided into two states: when the state of the received power line communication device is On, when the state of the received power line communication device is Off, and when there is no state of the received power line communication device. A bidirectional power line communication method is provided.

이하, 첨부된 도면을 참조하면서 본 발명의 일 실시예에 따른 종래의 X-10 기반의 전력선 통신을 보다 확장시키는 데이터 패킷 기록 매체, 그 운용 방법 및 신호의 물리적 계층에 적용되는 양방향 통신을 위한 응답 방법을 보다 상세하게 설명하기로 한다.Hereinafter, referring to the accompanying drawings, a response for bidirectional communication applied to a data packet recording medium, a method of operating the same, and a physical layer of a signal, which further extends conventional X-10 based powerline communication according to an embodiment of the present invention. The method will be described in more detail.

1. Z256 통신 방법 및 이에 적용되는 패킷 구조1. Z256 communication method and packet structure applied thereto

본원 발명에 적용되는 전력선 통신 방법에 사용되는 통신 패킷 및 통신 규약(이하 Z256이라 명명.)을 설명하면, 다음과 같다.The communication packet and communication protocol (hereinafter referred to as Z256) used in the power line communication method applied to the present invention will be described as follows.

Z256 통신은 기본적으로 양방향 통신을 위한 CSMA(Carrier Sense Multiple Access : 반송파 동시 공동 이용) / CDCA(Collision Detection CollisionAvoidance) 통신 방법을 사용하고 있으며, 기존의 Defector Standard(사실상의 표준)로 사용되고 있는 X10 프로토콜과도 호환을 이룰 수 있도록 설계되었다. Z256은 X10과 호환을 이루기는 하지만, X10에 없는 많은 부분의 보완이 있으며, 이것은 X10에서 이룰 수 없었던 완전한 양방향 통신 방법, 다중 접속(Multiple Access) 및 모니터링(Monitoring)이 가능하게 하고 있다.Z256 communication basically uses CSMA (Carrier Sense Multiple Access) / CDCA (Collision Detection CollisionAvoidance) communication method for bidirectional communication. It is also designed to be compatible. While the Z256 is compatible with the X10, there are a number of complements to the X10 that make it a complete bidirectional communication method, multiple access and monitoring that could not be achieved in the X10.

또한, Z256에 따른 PLC(전력선 통신 : Power Line Communication) 프로토콜은 주로 저속의 통신에 의한 전력선 제어에 초점이 맞추어져 있으며, 본 발명에서 제시하고 있는 통신 방법은 PLT-10 PLC 송수신기(Transceiver)에 적용된다.In addition, the PLC (Power Line Communication) protocol according to Z256 is mainly focused on power line control by low-speed communication, and the communication method proposed in the present invention is applied to a PLT-10 PLC transceiver. do.

Z256은 아래 [표 1]과 같이 RHC(Rs232c Hic Communication) 프로토콜 및 H2C(Hic To hic Communication) 프로토콜의 서브 프로토콜이 존재한다. 상기 RHC 프로토콜은 Z256 디바이스와 RS232c Host 간의 인터페이스를 위한 프로토콜이고, 상기 H2C 프로토콜은 Z256 디바이스간의 PLC 통신을 위한 프로토콜이다.Z256 has sub-protocols of RHC (Rs232c Hic Communication) protocol and H2C (Hic Tohic Communication) protocol as shown in Table 1 below. The RHC protocol is a protocol for the interface between the Z256 device and the RS232c Host, and the H2C protocol is a protocol for PLC communication between the Z256 devices.

[표 1]TABLE 1

ItemItem DescriptionDescription RemarkRemark RHCRHC RS232c HIC CommunicationRS232c HIC Communication RS232c 호스트와 Z256 디바이스와의 RS232c 인터페이스 프로토콜RS232c interface protocol between RS232c host and Z256 device H2CH2C HIC To HIC CommunicationHIC To HIC Communication Z256 디바이스와 Z256 디바이스와의 PLC 통신 프로토콜PLC communication protocol between Z256 device and Z256 device

도 3은 본 발명의 일 실시예에 따른 Z256 프로토콜의 데이터 흐름을 보여주는 도면으로서, 이를 설명하면 다음과 같다.3 is a diagram illustrating a data flow of the Z256 protocol according to an embodiment of the present invention.

도 3에 도시되어 있듯이, RHC 프로토콜은 RS232c 호스트와 Z256 디바이스간의 통신 프로토콜이다.As shown in Figure 3, the RHC protocol is a communication protocol between the RS232c host and the Z256 device.

RHC 프로토콜은 RS232c 호스트가 관리하며, 전력선으로 신호를 보낼 RHC 패킷을 구성하는 규칙에 해당한다.The RHC protocol is managed by the RS232c host and corresponds to the rules for configuring RHC packets to send signals to the powerline.

먼저, 상기 RS232c 호스트가 상기 Z256 디바이스 측에 커맨드(CMD : Command)로 구성된 RHC 패킷을 보내면, 상기 Z256 디바이스는 커맨드에 상응하는 응답(RHC Response CMD)을 상기 RS232c 호스트에 전송함과 동시에 상기 Z256 디바이스는 상기 커맨드로 구성된 RHC 패킷을 전송받으면서, 커맨드의 종료점이 어디인지를 확인하기 위하여 상기 RS232c 호스트에게 메시지 종료 지점을 문의하는 패킷(PLC Tx End)을 전송하고, 상기 RS232c 호스트는 이에 대한 응답을 하게 된다.(RHC Response CMD)First, when the RS232c host sends an RHC packet composed of a command (CMD: Command) to the Z256 device side, the Z256 device transmits an RHC Response CMD corresponding to a command to the RS232c host and at the same time the Z256 device. Receives an RHC packet composed of the command, transmits a packet (PLC Tx End) that inquires a message end point to the RS232c host to determine where the end point of the command is, and the RS232c host makes a response. (RHC Response CMD)

한편, 상기 Z256 디바이스는 상기 커맨드를 해석하여 이에 대응하는 또 다른 Z256 디바이스에게 상기 커맨드 패킷을 전송한 후(H2C Packet), 이에 상응하는 ACK 메시지(H2C Status ACK)를 전송받는다. 이 경우의 프로토콜은 위에서 정의한 H2C 프로토콜에 해당한다.Meanwhile, the Z256 device interprets the command, transmits the command packet to another Z256 device corresponding thereto (H2C Packet), and then receives a corresponding ACK message (H2C Status ACK). The protocol in this case corresponds to the H2C protocol defined above.

도 4a 및 도 4b는 본 발명의 일 실시예에 따른 RHC 표준 패킷 구조를 나타낸 데이터 구조도이다.4A and 4B are data structure diagrams illustrating an RHC standard packet structure according to an embodiment of the present invention.

도 4a 및 도 4b에 도시되어 있듯이, RHC 패킷은 STX(Start 코드) 1 바이트, Len.P(패킷 길이) 1 바이트, CMD(커맨드 코드) 1 바이트, MSG(메시지 데이터) n 바이트 및 C/S(체크섬) 1 바이트로 구성되어 있다.As shown in Figs. 4A and 4B, an RHC packet includes one byte of STX (Start code), one byte of Len.P (packet length), one byte of CMD (command code), n bytes of MSG (message data) and C / S. (Checksum) It consists of 1 byte.

또한, 상기 MSG는 어드레스 또는 데이터가 기록되는 영역으로써, 어드레스만존재하는 경우는 어드레스 1 바이트만 기록되며, 어드레스와 데이터가 동시에 존재하는 경우는 최대 8 바이트까지만 기록된다.In addition, the MSG is an area in which an address or data is recorded. When only an address is present, only 1 byte of the address is recorded. When the address and data exist simultaneously, up to 8 bytes are recorded.

한편, STX의 값은 FEh로 기록되며, 패킷의 시작을 의미한다.On the other hand, the value of STX is recorded as FEh, which means the start of a packet.

또한, Len.P의 값은 Hex로 기록되며, CMD, MSG, C/S의 길이를 합친 값을 의미한다.In addition, the value of Len.P is recorded as Hex, and means the sum of the lengths of CMD, MSG, and C / S.

또한, CMD의 값은 Hex로 기록되며, RHC 커맨드 코드를 의미한다.In addition, the value of CMD is recorded as Hex, and means an RHC command code.

또한, MSG의 값은 Hex로 기록되며, 최대 8 바이트에 한정된다.In addition, the value of MSG is recorded in Hex and is limited to a maximum of 8 bytes.

또한, C/S의 값은 Hex로 기록되며, STX 내지 MSG 값의 배타적 논리합(Exclusive OR)을 의미한다.In addition, the value of C / S is recorded as Hex, and means an exclusive OR of STX to MSG values.

도 5a는 본 발명의 일 실시예에 따른 RHC 커맨드 패킷의 구조도이고, 도 5b는 Z256 디바이스의 어드레스가 1번 유닛을 온(On) 시킬 경우의 패킷 구조도이다.5A is a structural diagram of an RHC command packet according to an embodiment of the present invention, and FIG. 5B is a packet structural diagram when an address of a Z256 device turns on unit one.

도 5a에 도시되어 있듯이, RHC 커맨드 패킷의 구조는 STX 영역 1 바이트, Len.P 영역 1 바이트, CMD 영역 1 바이트, MSG 영역 1 바이트 및 C/S 영역 1 바이트로 구성되어 있다.As shown in Fig. 5A, the structure of the RHC command packet is composed of 1 byte of STX area, 1 byte of Len.P area, 1 byte of CMD area, 1 byte of MSG area and 1 byte of C / S area.

RHC 커맨드 패킷은 전력선으로 바인딩(Binding)된 Z256 디바이스를 제어하는데 사용하는 패킷으로서, RS232c 호스트에서 Z256 디바이스로 RS232c를 통하여 전송된다.The RHC command packet is a packet used to control a Z256 device bound to a power line, and is transmitted through RS232c from an RS232c host to a Z256 device.

한편, CMD 영역은 1 바이트의 커맨드 코드로 구성되고, MSG 영역은 목표 어드레스 1 바이트로 구성된다. Z256 디바이스에서 사용할 수 있는 어드레스는 00h~ 3Fh 까지이며, 어드레스 00h는 모든 기기를 지정하는 예약된 어드레스이다.On the other hand, the CMD area consists of one byte of command code, and the MSG area consists of one byte of the target address. The addresses available on the Z256 device are 00h through 3Fh, and address 00h is a reserved address that specifies all devices.

한편, Z256 디바이스의 어드레스가 1번 유닛을 온시킬 경우 패킷 구조는 STX 영역에는 FEh가 기록되고, Len.P 영역에는 03h가 기록되며, CMD 영역에는 34h가 기록되고, MSG 영역에는 01h가 기록되며, C/S 영역에는 C8h가 기록된다.On the other hand, when the address of the Z256 device turns on unit 1, FEh is recorded in the STX area, 03h is recorded in the Len.P area, 34h is recorded in the CMD area, and 01h is recorded in the MSG area. , C8S is recorded in the C / S area.

도 6a는 RHC 응답 커맨드의 패킷 구조도이고, 도 6b는 RHC 응답 커맨드의 패킷 값에 따른 정의를 보여주는 도면이다.6A is a diagram illustrating a packet structure of an RHC response command, and FIG. 6B is a diagram illustrating a definition according to a packet value of an RHC response command.

도 6a 및 도 6b에 도시되어 있듯이, RHC 응답 커맨드 패킷은 응답 CMD 영역 1 바이트로 구성되어 있다.As shown in Figs. 6A and 6B, the RHC response command packet is composed of one byte of the response CMD area.

또한, 'ACK' 목록은 RS232c 통신이 성공하였음을 의미하고, 'NAK' 목록은 RS232c 통신 중 패킷 에러가 발생하였음을 의미하며, 'Busy' 목록은 현재 전력선으로 패킷을 송신할 수 없슴을 의미한다.In addition, the 'ACK' list means that the RS232c communication was successful, the 'NAK' list means that a packet error occurred during RS232c communication, and the 'Busy' list means that the packet cannot be transmitted to the current power line. .

RHC 통신은 RHC 패킷이 수신되면, 10ms 안에 응답 CMD를 전송하는데, C/S 값을 비교하고, 모뎀의 상태에 따라 전송한다. 또한, RHC 통신 중에 H2C로부터 MSG를 수신하면, RHC는 RS232c 호스트로 'NAK'를 송신한 후, H2C로부터 수신받을 MSG를 RS232c 호스트로 송신한다.RHC communication transmits a response CMD within 10ms when the RHC packet is received. The RHC communication compares the C / S values and transmits them according to the state of the modem. In addition, when receiving the MSG from the H2C during the RHC communication, the RHC transmits the 'NAK' to the RS232c host, and then transmits the MSG to be received from the H2C to the RS232c host.

이때, RHC 통신은 'NAK' 신호나 타임 아웃에 대하여 재전송을 해야할 의무는 없다.At this time, the RHC communication is not obliged to retransmit the 'NAK' signal or timeout.

한편, 응답 CMD가 Busy인 경우에는 전력선에 충돌(Collision) 등의 이유로 전력선으로 데이터를 전송할 수 없는 상태이고, 이러한 데이터를 취소할 경우, 별도의 패킷(후술하는 RHC 충돌 패킷)을 사용하여 처리할 수 있게 설계한다.On the other hand, if the response CMD is Busy, data cannot be transmitted to the power line due to collision or the like on the power line. If the data is canceled, a separate packet (hereinafter referred to as RHC collision packet) can be processed. Design to be possible.

도 7a는 본 발명의 일 실시예에 따른 RHC 결과 패킷의 구조도이고, 도 7b는 결과 커맨드의 목록에 따른 정의를 보여주는 도면이며, 도 7c는 Z256 디바이스의 어드레스가 1번 유닛을 온(On) 시키는 경우의 RHC 결과 패킷의 구조도이다.FIG. 7A is a structural diagram of an RHC result packet according to an embodiment of the present invention, FIG. 7B is a diagram illustrating a definition according to a list of result commands, and FIG. 7C shows an address of a Z256 device turning unit 1 on. Structure diagram of RHC result packet in case.

도 7a에 도시되어 있듯이, RHC 결과 패킷의 구조는 STX 영역 1 바이트, Len.P 영역 1 바이트, CMD 영역 1 바이트, MSG 영역 1 바이트 및 C/S 영역 1 바이트로 구성되어 있다.As shown in Fig. 7A, the structure of the RHC result packet is composed of 1 byte of STX area, 1 byte of Len.P area, 1 byte of CMD area, 1 byte of MSG area and 1 byte of C / S area.

RS232c 호스트에서 커맨드 패킷이 전송된 후, Z256 디바이스의 상태가 RHC 결과 패킷으로 수신되는 바, 상기 CMD 영역은 1 바이트의 결과 커맨드로 구성된다.After the command packet is transmitted from the RS232c host, the state of the Z256 device is received as an RHC result packet, and the CMD region is composed of one byte of the result command.

이러한 결과 커맨드의 목록에 따른 정의를 보여주는 도면이 도 7b로서, 'Status OFF' 목록은 현재 상태가 OFF 상태임을 의미하고, 'Status ON' 목록은 현재 상태가 ON 상태임을 의미하며, 'Status Fail' 목록은 장치를 찾을 수 없슴을 의미하고, 'Status Nothing' 목록은 상태가 없는 Z256 디바이스임을 의미한다.7B is a diagram showing the definition according to the result of the command list, 'Status OFF' list means that the current state is OFF state, 'Status ON' list means that the current state is ON state, 'Status Fail' The list means that the device could not be found, and the 'Status Nothing' list means that there is no Z256 device.

또한, 도 7c에 도시되어 있듯이, Z256 디바이스의 어드레스가 1번 유닛을 온시키는 경우에는 RHC 결과 패킷의 구조는 STX 영역에 FEh가 기록되고, Len.P 영역에는 03h가 기록되며, CMD 영역에는 3Bh가 기록되고, MSG 영역에는 01h가 기록되며, C/S 영역에는 C7h가 기록된다.In addition, as shown in FIG. 7C, when the address of the Z256 device turns on unit 1, the structure of the RHC result packet is recorded with FEh in the STX area, 03h in the Len.P area, and 3Bh in the CMD area. Is recorded, 01h is recorded in the MSG area, and C7h is recorded in the C / S area.

도 8a는 본 발명의 일 실시예에 따른 RHC 충돌 패킷의 구조도이고, 도 8b는본 발명의 일 실시예에 따른 데이터 전송 취소 패킷의 구조도이다.8A is a structural diagram of an RHC collision packet according to an embodiment of the present invention, and FIG. 8B is a structural diagram of a data transmission cancellation packet according to an embodiment of the present invention.

RS232c 호스트와 RS232c로 연결되어 있는 Z256 디바이스는 전력선 모니터링 모드로 세팅되어 있으며, RHC 프로토콜을 통하여 전력선에 어떠한 데이터들이 전송되는지 알 수 있다.The Z256 device, which is connected to an RS232c host and an RS232c, is set to powerline monitoring mode and can see what data is sent to the powerline via the RHC protocol.

모니터링 모드는 Z256 디바이스가 전력선으로 데이터를 전송하려 할 때, 전력선 상에 이미 다른 데이터가 전송되고 있거나, C/D(충돌 감지 : Collision Detect)에 의해서 송신하고자 하는 데이터의 우선 순위가 낮아 전송하지 못 할 경우, RHC 충돌 패킷을 사용하여 아직 자신의 데이터를 전력선으로 전송하지 못함을 알린다. 이러한 RHC 충돌 패킷은 STX 영역, Len.P 영역의 1 바이트, CMD 영역, MSG 영역 1 바이트 및 C/S 영역 1 바이트로 구성되어 있다.In the monitoring mode, when the Z256 device attempts to transmit data to the power line, other data is already being transmitted on the power line, or the data to be transmitted by C / D (collision detection) is low and cannot be transmitted. If so, the RHC collision packet is used to indicate that it has not yet transmitted its data to the power line. This RHC collision packet is composed of STX area, 1 byte of Len.P area, CMD area, 1 byte of MSG area and 1 byte of C / S area.

RS232c 호스트에서 RHC 충돌 패킷을 받고, 전력선으로 데이터 전송을 취소하려면, 데이터 전송 취소 패킷을 보낸다. 이러한 데이터 전송 취소 패킷은 STX 영역, Len.P 영역 1 바이트, CMD 영역, MSG 영역 1 바이트 및 C/S 영역 1 바이트로 구성되어 있다.To receive an RHC collision packet from the RS232c host and cancel the data transmission over the powerline, send a data transmission cancel packet. This data transmission cancellation packet is composed of an STX area, Len.P area 1 byte, CMD area, MSG area 1 byte, and C / S area 1 byte.

한편, 전력선 통신에서는 호스트와 클라이언트, 또는 마스터와 클라이언트가 절대적으로 구분되는 것은 아니다. 즉, 이러한 구분은 전력선 통신에서는 상대적인 개념으로써, 모든 전력선 통신 기기가 마스터가 될 수도 있고, 클라이언트가 될 수도 있다.On the other hand, in power line communication, a host and a client, or a master and a client are not absolutely distinguished. That is, this division is a relative concept in power line communication, in which all power line communication devices may be masters or clients.

2. Z256에서의 디바이스 홈코드 세팅 방법2. How to set device home code in Z256

상술한 Z256 데이터 패킷 구조를 이용한 전력선 통신 방법을 설명하면, 다음과 같다.The power line communication method using the above-described Z256 data packet structure will be described below.

먼저, 본원 발명에서 이용되는 헤일(Hail) 통신 방식을 정의하면 다음과 같다.First, a hale communication method used in the present invention is defined as follows.

헤일 통신 방식이란, 소스(Source)와 목적지(Destination)를 갖는 통신 방식이 아니라, 한 개의 소스 기기로부터 소스 데이터가 송신되고, 모든 기기가 이를 수신하여 처리하는 방식을 말한다.(브로드캐스트 방식 : Broadcast)The hale communication method is not a communication method having a source and a destination, but a method in which source data is transmitted from one source device and all devices receive and process it. (Broadcast method: Broadcast )

헤일 통신 방식은 헤일 Request와 헤일 Acknowledge의 두 가지 방식이 있다.There are two types of Hale communication methods: Hale Request and Hale Acknowledge.

헤일 Request 방식은 데이터를 가지고 있는 소스 기기가 헤일을 발생시켜 모든 기기들로부터 응답을 요구하는 방식으로, 이때 수신한 기기들은 수신한 데이터를 허락할 경우, 무응답으로 답하며, 허락하지 않는 경우에는 헤일 NAK로 응답한다. 소스 기기는 헤일을 송신하여 응답 시간(Acknowledge Time) 안에 응답이 없을 경우, 허락으로 인정하고 이를 수행하며, 헤일 NAK를 수신하면 자신의 데이터를 소멸시킨다.The Hale Request method is a method in which a source device having data generates a hale and requests a response from all devices. If the received device accepts the received data, it responds with no response. Answer If the source device transmits a hale and receives no response within the Acknowledge Time, it acknowledges with permission and performs it, and upon receipt of the Hale NAK, it destroys its data.

헤일 Acknowledge 방식은 데이터를 가지고 있는 소스 기기가 헤일을 발생시켜 모든 기기에게 송신하며, 이때 수신한 기기가 자신과 맞는 데이터일 경우 해당 데이터를 처리하는 방식이다. 헤일을 발생시킨 소스 기기는 일방적인 송신을 하고 응답을 기다리는 절차가 없으며, 수신한 기기들은 수신 데이터를 판단하여 처리만을 하는 방식이다.The hale acknowledgment method is a method in which a source device having data generates a hale and transmits it to all devices. The source device that generated the hale does not have a one-way transmission and waits for a response, and the received devices only receive and process the received data.

홈 코드는 타 가정에 설치되어 있는 전력선 기기들의 통신상의 구분을 하게해 주는 코드로서, 통신 간섭을 해결하며, 다른 사용자로부터의 해킹을 방지하는 방화벽 역할을 하는 고유 그룹 코드이다.The home code is a code that makes a communication distinction between power line devices installed in other homes. A home code is a unique group code that solves communication interference and prevents hacking from other users.

전력선 통신 기기의 홈 코드 세팅 방식은 헤일 통신 방식을 이용하여 자동으로 부여되며 사용자 임의의 코드를 부여할 수 없고, 다시 설정할 수 있다. 본 발명에서 헤일 통신을 이용하여 송수신되는 신호에는 다음과 같은 3가지 종류가 있다.The home code setting method of the power line communication device is automatically assigned by using the hale communication method, and a user's arbitrary code cannot be given and can be set again. In the present invention, there are three types of signals transmitted and received using hale communication.

헤일 Request : 모든 기기에 대하여 브로드캐스트할 데이터를 가진 기기가 헤일을 발생시켜 모든 기기로부터 응답을 요구하는 신호.Hale Request: A signal that a device with data to broadcast for all devices generates a hale and requests a response from all devices.

헤일 ACK(Acknowledge) : 상기 헤일 Request에 의한 브로드캐스트 데이터를 수신한 기기가 수신 데이터의 내용이 자신에게 해당하는 내용일 경우, 내용에 대한 허락을 표시하는 신호. 헤일 ACK 신호는 상기 헤일 Request에 대하여 아무런 응답을 하지 않는 형태를 취한다.Hale ACK (Acknowledge): Signal indicating the permission for the content when the device receiving the broadcast data according to the hale request is the content corresponding to the content. The Hale ACK signal takes the form of no response to the Hale Request.

헤일 NAK(No Acknowledge) : 상기 헤일 Request에 의한 브로드캐스트 데이터를 수신한 기기가 수신 데이터의 내용이 자신에게 해당하는 내용일 경우, 내용에 대한 부정을 표시하는 신호. 헤일 NAK 신호는 수신 데이터 마지막에 지연없이, 즉, 수신 데이터를 받자마자 연속적으로 송신된다.Hale NAK (No Acknowledge): A signal indicating that the device receiving the broadcast data according to the Hale Request indicates a negative for the content when the content of the received data corresponds to the content thereof. The Hale NAK signal is transmitted continuously without delay at the end of the received data, ie as soon as the received data is received.

기기들이 처음 설치되어 전원이 투입되었을 때의 초기 조건에서 홈 코드 어드레스는 'FFFFh'이며 이는 홈 코드가 없는 상태이다. 홈 코드 세팅 상태는 3가지가 있으며, 이를 분설하면, 다음과 같다.In the initial conditions when the devices are first installed and powered up, the home code address is 'FFFFh', which is without a home code. There are three home code settings, which are divided into the following.

(1) 홈 코드 탐색 상태(1) home code search status

도 9는 홈 코드 탐색 과정을 보여주는 흐름도이다.9 is a flowchart illustrating a home code search process.

홈 코드 탐색 상태는 전력선 통신 기기가 처음 설치되었을 경우, 사용자에 의하여 홈 코드를 배정하기 위한 과정으로서, 다른 가정 또는 통신이 가능한 전 지역을 탐색하여 사용하지 않는 홈 코드를 알아내게 된다. 만일, 여러 기기 중에 호스트가 존재하는 경우, 홈 코드 탐색 상태는 호스트 기기에만 적용되어 실행된다. 바람직한 실시예에 있어서, 호스트 기기로 동작하는 기기는 송신 기기와 동일한 것으로서, 송신 기기에 적재된 홈 코드 탐색 모듈이 호스트 기능을 수행한다. 그렇지만, 다른 실시예에 있어서는 사용자가 호스트로서 리모콘이나 기기의 버튼을 눌러서 송신 기기를 인위적으로 동작시킬 수도 있다. 후자의 경우, 기기의 버튼 또는 기기 동작 제어부와 본 발명의 프로그램은 미들웨어로 동작하는 API(Application Program Interface)에 의하여 연동된다.The home code search state is a process for assigning a home code by a user when a power line communication device is first installed, and searches for an unused home code by searching for another home or an entire area where communication is possible. If a host exists among several devices, the home code search state is applied to only the host device and executed. In a preferred embodiment, the device operating as the host device is the same as the transmitting device, and the home code search module loaded in the transmitting device performs the host function. However, in another embodiment, the user may artificially operate the transmitting device by pressing a button on the remote control or the device as a host. In the latter case, a button of a device or a device operation control unit and a program of the present invention are linked by an API (Application Program Interface) operating as middleware.

먼저, 전력선 통신 기기가 처음 설치된 후, 전력이 공급되면, 송신 기기는 대기 상태에 진입한다(제 900 단계). 호스트가 홈 코드 탐색 시작을 지시하면(제 902 단계), 송신 기기는 홈 코드 헤일 Request 신호와 함께 사용을 원하는 임의의 홈 코드를 송신한다(제 904 단계).First, after the power line communication device is first installed, when power is supplied, the transmitting device enters a standby state (step 900). When the host instructs to start home code search (step 902), the transmitting device transmits any home code that it wants to use with the home code hale request signal (step 904).

홈 코드 헤일 Request 신호를 수신한 모든 수신 기기는 수신된 홈 코드 데이터가 자신의 홈 코드와 동일한지 여부를 판단한다. 만약, 수신된 홈 코드 데이터가 자신의 홈 코드와 동일한 경우, 각각의 수신 기기는 즉시 헤일 NAK 신호를 송신한다(제 906 단계). 한편, 수신된 홈 코드 데이터가 자신의 홈 코드와 상이한 경우, 각각의 수신 기기는 아무런 응답을 하지 않음으로써, 헤일 ACK 신호를 송신한다(제 910 단계).Every receiving device that receives the home code hale request signal determines whether the received home code data is the same as its own home code. If the received home code data is the same as its home code, each receiving device immediately transmits a Hale NAK signal (step 906). On the other hand, when the received home code data is different from its home code, each receiving device transmits a hale ACK signal by not responding at all (step 910).

헤일 NAK 신호를 수신하면, 송신 기기는 이전에 송신한 홈 코드를 삭제하고, 새로운 홈 코드 데이터와 함께 재차 홈 코드 헤일 Request 신호를 송신한다(제 908 단계). 이와 같은 과정은 어떠한 수신 기기로부터도 헤일 NAK 신호를 수신하지 않게 될 때까지 반복되거나 사전에 설정된 탐색 시간이 만료될 때까지 반복된다.Upon receiving the Hale NAK signal, the transmitting device deletes the previously transmitted home code and transmits a home code hale request signal again with the new home code data (step 908). This process is repeated until no Hale NAK signal is received from any receiving device or until a preset search time expires.

홈 코드 헤일 Request 신호를 수신한 수신 기기들 중 아무도 헤일 NAK를 송신하지 않는 경우, 송신 기기는 헤일 ACK로 간주하고, 홈 코드 탐색 과정을 종료하며, 최종 송신한 홈 코드를 호스트에 보고하여 자신의 홈 코드로 배정하게 한다(제 912 단계).If none of the receiving devices that receive the Home Code Hale Request signal transmit a Hale NAK, the sending device considers the Hale ACK, terminates the home code search process, reports the last transmitted home code to the host, Assign a home code (step 912).

(2) 홈 코드 설정 상태(2) Home code setting status

도 10은 홈 코드 설정 과정을 보여주는 흐름도이다.10 is a flowchart illustrating a home code setting process.

호스트 기기에 대하여 홈 코드 설정이 완료된 상태에서, 사용자 또는 프로그램은 호스트 기기에 배정된 홈 코드를 다른 모든 기기에 설정하도록 지시할 수 있다(제 920 단계).In the state where the home code is set for the host device, the user or the program may instruct to set the home code assigned to the host device to all other devices (step 920).

송신 기기가 모든 기기에 대하여 홈 코드 정보를 브로드캐스트하면(제 922 단계), 홈 코드가 없는 수신 기기들은 수신된 홈 코드를 자신의 홈 코드로 배정하게 되며(제 922 단계), 이러한 상태를 호스트 기기에 알려 준다. 이에 따라 홈 코드가 배정된 기기가 한 개 이상 있는 경우, 홈 코드가 배정되지 아니한 모든 기기에 한꺼번에 홈 코드 정보를 브로드캐스트하여 알려줌으로써, 기기가 계속적으로 추가 접속되어도 한번의 조작으로 홈 코드를 배정할 수 있게 된다. 상술한 바와같이, 호스트 기기가 존재하는 경우 홈 코드 설정 과정은 호스트 기기에 대해서만 적용된다.When the transmitting device broadcasts home code information for all devices (step 922), receiving devices without a home code assign the received home code to their home code (step 922), and host this state. Notify the device. Accordingly, if there is more than one device assigned a home code, the home code information is broadcasted to all devices that have not been assigned a home code at one time, so that even if the device is continuously connected, the home code is assigned in one operation. You can do it. As described above, when the host device exists, the home code setting process is applied only to the host device.

(3) 홈 코드 삭제 상태(3) home code deletion status

도 11은 홈 코드 삭제 과정을 보여 주는 흐름도이다.11 is a flowchart illustrating a home code deletion process.

만약, 설치되는 기기가 다른 곳에서 사용되었던 기기이거나 사용 중인 기기를 이전하게 되는 경우에는, 모든 기기의 홈 코드를 변경하거나, 특정 기기의 홈 코드를 재설정할 필요가 있다. 호스트가 홈 코드 삭제를 지시하면(제 960 단계), 명령을 받은 기기는 자신의 홈 코드를 초기값(FFFFh)으로 변경한 후, 이를 통지하게 된다(제 962 단계).If the device to be installed is a device that has been used elsewhere, or if the device being used is transferred, it is necessary to change the home code of all devices or reset the home code of a specific device. When the host instructs to delete the home code (step 960), the device receiving the command changes its home code to an initial value (FFFFh) and then notifies it (step 962).

3. 헤일에 의한 기기 어드레스 설정(플러그 앤 플레이 방식)3. Device address setting by Hale (plug and play)

홈 코드가 설정된 기기는 헤일 통신 방식을 이용하여 어드레스를 자동으로 부여할 수 있으며, 사용자 임의의 어드레스를 부여하거나 다시 설정할 수도 있다.A device having a home code may be automatically assigned an address by using a hale communication method, and may be assigned or reset by an arbitrary user address.

기기는 종류에 따라 어드레스 그룹을 설정할 수 있으며, 어드레스의 중복 사용도 가능하다.The device can set an address group according to the type, and the address can be used repeatedly.

(1) 플러그 앤 플레이 어드레스 탐색 상태(1) Plug and Play Address Search Status

어드레스가 설정되지 아니한 기기의 초기 어드레스는 'FFh'로 설정되어 있으며, 이 상태는 어드레스가 없는 상태이다. 어드레스가 없는 기기는 전원 투입 후, 자신이 특정한 동작(기능)을 처음 개시할 때, 자동으로 플러그 앤 플레이 어드레스 헤일 Request를 송출하여 자신의 어드레스를 획득, 설정한다. 플러그 앤 플레이에의한 어드레스 설정은 어드레스의 중복을 허락하지 않는다.The initial address of the device whose address is not set is set to 'FFh', and this state is without an address. The device without an address automatically issues a plug and play address hale request and acquires and sets its address the first time a specific operation (function) is started after the power is turned on. Address setting by plug and play does not allow duplication of addresses.

도 12는 어드레스 탐색 과정을 나타내는 흐름도이다.12 is a flowchart illustrating an address searching process.

먼저, 기기에 전원이 공급되면, 송신 기기는 대기 상태에 진입한 후, 호스트가 초기화 작업 수행을 지시하면(제 1000 단계), 기기는 어드레스 헤일 Request 신호와 함께 사용을 원하는 임의의 어드레스를 송신한다(제 1002 단계). 만약, 수신된 어드레스 데이터가 자신의 어드레스와 동일하면, 각각의 수신 기기는 즉시 헤일 NAK 신호를 송신한다(제 1004 단계). 한편, 수신된 어드레스 데이터가 자신의 어드레스와 상이하면, 각각의 수신 기기는 아무런 응답을 하지 않음으로써, 헤일 ACK 신호를 송신하여 수신된 어드레스 데이터의 사용을 허락한다(제 1008 단계).First, when the device is powered on, the transmitting device enters the standby state, and when the host instructs to perform the initialization operation (step 1000), the device transmits an arbitrary address to be used with the address hale request signal. (Step 1002). If the received address data is the same as its own address, each receiving device immediately transmits a Hale NAK signal (step 1004). On the other hand, if the received address data is different from its own address, each receiving device does not respond at all, thereby transmitting a hale ACK signal to allow use of the received address data (step 1008).

헤일 NAK 신호를 수신하면, 송신 기기는 새로운 어드레스 데이터와 함께 재차 어드레스 헤일 Request 신호를 송신한다(제 1006 단계). 이와 같은 과정은 어떠한 수신 기기로부터도 헤일 NAK 신호를 수신하지 않게 될 때까지 반복되거나 사전에 설정된 탐색 시간이 만료될 때까지 반복된다. 어드레스 헤일 Request 신호를 수신한 수신 기기들 중 아무도 헤일 NAK를 송신하지 않는 경우, 송신 기기는 헤일 ACK로 간주하고, 어드레스 탐색 과정을 종료하고, 최종 송신한 홈 코드를 호스트에 보고하여 자신의 어드레스로 배정하게 한다(제 1010 단계).Upon receiving the Hale NAK signal, the transmitting device again transmits the Address Hale Request signal together with the new address data (step 1006). This process is repeated until no Hale NAK signal is received from any receiving device or until a preset search time expires. If none of the receiving devices that have received the address Hale Request signal transmit a Hale NAK, the sending device considers the Hale ACK, terminates the address search process, reports the last transmitted home code to the host, and sends it to its own address. Assignment (step 1010).

(2) 어드레스 수정 상태(2) Address modification status

사용하고 있던 기기의 어드레스를 재설정하거나, 동기 제어를 위하여 중복되는 어드레스를 설정하고자 하는 경우, 또는, 동기 제어 해제를 위하여 어드레스를변경하고자 하는 경우에는, 사용하고 있던 기기의 어드레스를 수정할 필요가 있게 된다.When resetting the address of a used device, setting a duplicate address for synchronous control, or changing an address for releasing synchronous control, it is necessary to correct the address of the used device. .

도 13은 어드레스 수정 과정을 나타낸 흐름도이다.13 is a flowchart illustrating an address modification process.

호스트가 어드레스 수정을 지시하면(제 1050 단계), 명령을 받은 기기는 어드레스 헤일 Request 신호와 함께 사용을 원하는 어드레스를 송신한다(제 1052 단계). 만약, 수신된 어드레스 데이터가 자신의 어드레스와 동일한 경우, 각각의 수신 기기는 즉시 헤일 NAK 신호를 송신한다(제 1054 단계). 한편, 수신된 어드레스 데이터가 자신의 어드레스와 상이하면, 각각의 수신 기기는 아무런 응답을 하지 않음으로써, 헤일 ACK 신호를 송신하여 수신된 어드레스 데이터의 사용을 허락한다(제 1056 단계).If the host instructs the address modification (step 1050), the device receiving the command transmits an address to be used with the address hale request signal (step 1052). If the received address data is the same as its own address, each receiving device immediately transmits a Hale NAK signal (step 1054). On the other hand, if the received address data is different from its own address, each receiving device does not respond at all, thereby transmitting a hale ACK signal to allow use of the received address data (step 1056).

헤일 NAK 신호를 수신하면, 송신 기기는 새로운 어드레스 데이터와 함께 재차 어드레스 헤일 Request 신호를 송신한다(제 1058 단계). 이와 같은 과정은 어떠한 수신 기기로부터도 헤일 NAK 신호를 수신하지 않게 될 때까지 반복되거나 사전에 설정된 탐색 시간이 만료될 때까지 반복된다. 어드레스 헤일 Request 신호를 수신한 수신 기기들 중 아무도 헤일 NAK를 송신하지 않는 경우, 송신 기기는 헤일 ACK로 간주하고, 어드레스 탐색 과정을 종료하고, 최종 송신한 홈 코드를 호스트에 보고하여 자신의 어드레스로 배정하게 한다(제 1060 단계).Upon receiving the Hale NAK signal, the transmitting device again transmits the Address Hale Request signal together with the new address data (step 1058). This process is repeated until no Hale NAK signal is received from any receiving device or until a preset search time expires. If none of the receiving devices that have received the address Hale Request signal transmit a Hale NAK, the sending device considers the Hale ACK, terminates the address search process, reports the last transmitted home code to the host, and sends it to its own address. (Step 1060).

(3) 기기들의 파워-온 리셋 통보(3) Power-on reset notification of devices

홈 코드 및 어드레스가 부여된 각각의 기기들에 있어서, 전원 제거 후, 재차전력이 투입되면, 기기의 정보를 브로드캐스트하여 해당 기기가 활성화되었음을 타 기기들에 알려준다.In each of the devices to which the home code and the address are assigned, when the power is applied again after the power is removed, the device broadcasts the information of the device to inform other devices that the device is activated.

도 14는 기기들의 파워-온 리셋 통보 과정을 나타낸 흐름도이다.14 is a flowchart illustrating a power-on reset notification process of devices.

사용자가 기기에 전력을 투입한 직후(제 1070 단계), 해당 기기는 만약 홈 코드 및 어드레스가 부여되어 있으면, 타 기기들에 자신이 활성화되었음을 브로드캐스트한다(제 1072 단계).Immediately after the user inputs power to the device (step 1070), if the device is given a home code and address, the device broadcasts that the other device is activated (step 1072).

4. Z256에서의 개선된 양방향 ACK 통신 방법4. Improved Bidirectional ACK Communication Method in Z256

도 15는 본 발명의 일 실시예에 따른 양방향 ACK 통신 방법의 개념을 보여주는 파형도로써, 이를 설명하면, 다음과 같다.15 is a waveform diagram illustrating a concept of a bidirectional ACK communication method according to an embodiment of the present invention.

일반적인 종래의 양방향 전력선 통신 방법은 마스터(Master)가 내린 명령에 대하여 그 실행 여부를 확인할 수 있는 방법으로써, ACK 신호를 패킷 처리하는 방법을 제공하고 있다.In general, the conventional two-way power line communication method is a method that can determine whether the execution of the command issued by the master (Master), and provides a method for packet processing the ACK signal.

그러나, 본원 발명에서는 마스터가 내린 명령에 대하여 그 실행 여부를 ACK를 이용하여 알려줌으로써, 통신에 대한 신뢰성을 확보할 수 있는 바, 본 발명에서는 송신 측에서 명령을 내리면, 이 명령을 수신한 기기는 수신한 패킷 끝에 바로 자기가 수행한 상태를 실어 다시 재전송함으써, 이러한 통신 신뢰성을 확보하게 된다.However, in the present invention, it is possible to ensure the reliability of the communication by informing the master whether or not the command issued by the ACK, in the present invention, when the sender gives a command, the device receiving the command This communication reliability is secured by re-transmitting the state performed by the end of the received packet immediately.

즉, 송신측에서는 이러한 ACK(응답)를 수신하여 동작 여부 및 상태를 알 수 있게 된다.That is, the transmitting side can receive the ACK (response) to know whether the operation and status.

재전송하는 상태는 아래와 같이 3 종류가 있다.(2 비트의 ACK 메시지)There are three types of retransmissions (2 bit ACK message).

1,0 : On(수신한 기기의 상태가 On 일 때)1,0: On (when the status of the receiving device is On)

0,1 : Off(수신한 기기의 상태가 Off 일 때)0,1: Off (When the state of the receiving device is Off)

0,0 : 상태 없슴(수신한 기기의 상태가 없을 때)0,0: No state (when there is no state of the receiving device)

도 15에 도시되어 있듯이, 명령을 수신한 기기는 송신 패킷의 끝 부분에 ACK 패킷을 부가하여 마스터에게 전송하는 바, 'On', 'Off', '상태 없슴'의 각각의 경우를 나타내고 있다.As shown in FIG. 15, the device receiving the command adds an ACK packet to the end of the transmission packet and transmits the ACK packet to the master, which shows cases of 'On', 'Off', and 'No state'.

위에서 양호한 실시예에 근거하여 이 발명을 설명하였지만, 이러한 실시예는 이 발명을 제한하려는 것이 아니라 예시하려는 것이다. 이 발명이 속하는 분야의 숙련자에게는 이 발명의 기술사상을 벗어남이 없이 위 실시예에 대한 다양한 변화나 변경 또는 조절이 가능함이 자명할 것이다. 그러므로, 이 발명의 보호범위는 첨부된 청구범위에 의해서만 한정될 것이며, 위와 같은 변화예나 변경예 또는 조절예를 모두 포함하는 것으로 해석되어야 할 것이다.While the invention has been described above based on the preferred embodiments thereof, these embodiments are intended to illustrate rather than limit the invention. It will be apparent to those skilled in the art that various changes, modifications, or adjustments to the above embodiments can be made without departing from the spirit of the invention. Therefore, the protection scope of the present invention will be limited only by the appended claims, and should be construed as including all such changes, modifications or adjustments.

이상과 같이 본 발명에 의하면, 종래의 X-10을 개량한 Z256의 패킷 구조를 제공함으로써, 보다 탄력성있는 전력선 통신 방법을 제공하게 되었다.As described above, the present invention provides a more flexible power line communication method by providing a packet structure of Z256 in which the conventional X-10 is improved.

또한, 본 발명에 따르면, 전력선 통신 기기 설치시 자동으로 또는 이용자가 직접 손쉽게 각각의 기기의 홈 코드나 기기 어드레스를 설정하고 변경하며, 설정 /변경 내용을 타 기기에 전파할 수 있게 된다. 이러한 방법은 사용하기 편리할 뿐만 아니라, 외부로부터의 해킹을 방지할 수 있게 되며, 가전 제품과 같이 적은 용량의 소프트웨어 프로그램을 요구하는 소형 기기들에서 손쉽게 플러그 앤 플레이를 구현하는 효과가 있다.In addition, according to the present invention, when the power line communication device is installed, the user can easily set and change the home code or device address of each device easily and propagate the setting / change contents to other devices. This method is not only convenient to use, but also prevents hacking from the outside, and can be easily plug and play in small devices such as home appliances requiring small software programs.

또한, 양방향 통신 실현을 위한 ACK 신호를 패킷 처리하지 않고, 마스터가 전송한 명령 뒷단에 2 비트로 ACK를 연속으로 응답하기 때문에 마스터의 명령에 대하여 ACK를 패킷으로 처리하는 경우보다 훨씬 신속하고 데이터의 트래픽을 현저히 줄이는 효과가 있다.In addition, since ACK is continuously responded with 2 bits after the command sent by the master without packet processing the ACK signal for realizing bidirectional communication, data traffic is much faster and faster than when the ACK is processed as a packet for the master command. There is a significant effect to reduce.

Claims (21)

전력선 통신의 RS232c 호스트와 전력선 통신 디바이스간에 적용되는 데이터 패킷을 기록한 컴퓨터로 읽을 수 있는 기록 매체에 있어서,A computer-readable recording medium having recorded a data packet applied between an RS232c host of a power line communication and a power line communication device, 통신 시작에 대한 정보를 입력, 수정, 조회 및 삭제할 수 있는 스타트 영역;A start area for inputting, modifying, inquiring, and deleting information about communication start; 상기 데이터 패킷의 길이를 입력, 수정 조회 및 삭제할 수 있는 패킷 길이 영역;A packet length area for inputting, modifying, and deleting a length of the data packet; 상기 전력선 통신 디바이스에 대한 명령 코드를 입력, 수정, 조회 및 삭제할 수 있는 커맨드 코드 영역;A command code area for entering, modifying, querying, and deleting command codes for the powerline communication device; 상기 커맨드 코드에서 목표로 하는 전력선 통신 디바이스에 대한 어드레스 및 실제 명령 내용을 입력, 수정, 조회 및 삭제할 수 있는 메시지 데이터 영역; 및A message data area for inputting, modifying, inquiring, and deleting an address and actual command contents for a target power line communication device in said command code; And 상기 스타트 영역, 패킷 길이 영역, 커맨드 코드 영역 및 데시지 데이터 영역 값들의 배타적 논리합(XOR)을 입력, 수정, 조회 및 삭제할 수 있는 체크섬 영역; 을 포함하고,A checksum area for inputting, modifying, querying, and deleting an exclusive logical sum (XOR) of the start area, packet length area, command code area and message data area values; Including, 상기 패킷 길이 영역은 상기 커맨드 코드 영역, 메시지 데이터 영역 및 체크섬 영역의 길이를 합친 값인 것을 특징으로 하는 전력선 통신의 RS232c 호스트와 전력선 통신 디바이스간에 적용되는 데이터 패킷을 기록한 컴퓨터로 읽을 수 있는 기록 매체.And said packet length area is the sum of the lengths of said command code area, message data area and checksum area. A computer-readable recording medium having recorded thereon a data packet applied between an RS232c host and a power line communication device of power line communication. 제 1 항에 있어서,The method of claim 1, 상기 스타트 영역은 FEh로 기록되고, 나머지 영역은 Hex로 기록되는 것을 특징으로 하는 전력선 통신의 RS232c 호스트와 전력선 통신 디바이스간에 적용되는 데이터 패킷을 기록한 컴퓨터로 읽을 수 있는 기록 매체.And the start area is recorded as FEh, and the remaining area is recorded as Hex. A computer readable recording medium having recorded thereon a data packet applied between an RS232c host and a power line communication device of power line communication. 제 1 항에 있어서,The method of claim 1, 상기 메시지 데이터 영역은 어드레스만 존재하면, 어드레스 1 바이트로 구성되고, 어드레스와 데이터가 동시에 존재하면, 어드레스와 데이터를 합친 값이 최대 8 바이트로 기록되며,If only the address exists, the message data area is composed of 1 byte of address. If the address and data exist at the same time, the combined value of the address and data is recorded up to 8 bytes. 나머지 영역은 1 바이트로 구성된 것을 특징으로 하는 전력선 통신의 RS232c 호스트와 전력선 통신 디바이스간에 적용되는 데이터 패킷을 기록한 컴퓨터로 읽을 수 있는 기록 매체.And the remaining area is composed of 1 byte. 전력선으로 바인딩(Binding)된 RS232c 호스트에서 전력선 통신 디바이스로 RS232c를 통하여 상기 전력선 통신 디바이스를 제어하는 커맨드 패킷을 기록한 컴퓨터로 읽을 수 있는 기록 매체에 있어서,A computer-readable recording medium having recorded a command packet for controlling the power line communication device via RS232c from an RS232c host bound to a power line to a power line communication device, 통신 시작에 대한 정보를 입력, 수정, 조회 및 삭제할 수 있는 스타트 영역;A start area for inputting, modifying, inquiring, and deleting information about communication start; 상기 데이터 패킷의 길이를 입력, 수정 조회 및 삭제할 수 있는 패킷 길이영역;A packet length area for inputting, modifying, and deleting a length of the data packet; 상기 전력선 통신 디바이스에 대한 명령 코드를 입력, 수정, 조회 및 삭제할 수 있는 커맨드 코드 영역;A command code area for entering, modifying, querying, and deleting command codes for the powerline communication device; 상기 커맨드 코드에서 목표로 하는 전력선 통신 디바이스에 대한 어드레스에 대한 정보를 입력, 수정, 조회 및 삭제할 수 있는 메시지 데이터 영역; 및A message data area for inputting, modifying, inquiring, and deleting information about an address for a target power line communication device in said command code; And 상기 스타트 영역, 패킷 길이 영역, 커맨드 코드 영역 및 데시지 데이터 영역 값들의 배타적 논리합(XOR)을 입력, 수정, 조회 및 삭제할 수 있는 체크섬 영역; 을 포함하고,A checksum area for inputting, modifying, querying, and deleting an exclusive logical sum (XOR) of the start area, packet length area, command code area and message data area values; Including, 상기 패킷 길이 영역은 상기 커맨드 코드 영역, 메시지 데이터 영역 및 체크섬 영역의 길이를 합친 값이며, 상기 모든 영역들의 길이는 1 바이트로 구성된 것을 특징으로 하는 전력선으로 바인딩(Binding)된 RS232c 호스트에서 전력선 통신 디바이스로 RS232c를 통하여 상기 전력선 통신 디바이스를 제어하는 커맨드 패킷을 기록한 컴퓨터로 읽을 수 있는 기록 매체.The packet length region is a sum of the lengths of the command code region, the message data region, and the checksum region, and the lengths of all the regions consist of 1 byte. The power line communication device of the RS232c host bound to the power line. And a computer-readable recording medium having recorded thereon a command packet for controlling the power line communication device via RS232c. 제 4 항의 커맨드 패킷을 전송받은 상기 전력선 통신 디바이스의 응답 커맨드 패킷을 기록한 컴퓨터로 읽을 수 있는 기록 매체에 있어서,A computer-readable recording medium having recorded a response command packet of the power line communication device receiving the command packet of claim 4, comprising: 상기 전력선 통신 디바이스가 전송받은 커맨드에 대한 응답을 입력, 수정, 조회 및 삭제할 수 있는 응답 커맨드 영역을 포함하고,A response command area for inputting, modifying, inquiring, and deleting a response to a command received by the powerline communication device; 상기 응답 커맨드 영역은 RS232c 통신이 성공하는 경우, RS232c 통신 중 패킷 에러가 발생하는 경우 및 현재 전력선으로 패킷을 송신할 수 없슴의 세가지 경우로 나누어 이를 입력, 수정, 조회 및 삭제할 수 있는 것을 특징으로 하는 커맨드 패킷을 전송받은 상기 전력선 통신 디바이스의 응답 커맨드 패킷을 기록한 컴퓨터로 읽을 수 있는 기록 매체.The response command area can be input, modified, inquired, and deleted by dividing into three cases: when a RS232c communication is successful, a packet error occurs during RS232c communication, and a packet cannot be transmitted to the current power line. A computer-readable recording medium having recorded a response command packet of the power line communication device receiving the command packet. 제 4 항의 커맨드 패킷을 전송받은 상기 전력선 통신 디바이스의 결과 패킷을 기록한 컴퓨터로 읽을 수 있는 기록 매체에 있어서,A computer-readable recording medium having recorded a result packet of the power line communication device receiving the command packet of claim 4, comprising: 통신 시작에 대한 정보를 입력, 수정, 조회 및 삭제할 수 있는 스타트 영역;A start area for inputting, modifying, inquiring, and deleting information about communication start; 상기 데이터 패킷의 길이를 입력, 수정 조회 및 삭제할 수 있는 패킷 길이 영역;A packet length area for inputting, modifying, and deleting a length of the data packet; 상기 전력선 통신 디바이스에 대한 명령 코드를 입력, 수정, 조회 및 삭제할 수 있는 커맨드 코드 영역;A command code area for entering, modifying, querying, and deleting command codes for the powerline communication device; 상기 커맨드 코드에서 목표로 하는 전력선 통신 디바이스에 대한 어드레스에 대한 정보를 입력, 수정, 조회 및 삭제할 수 있는 메시지 데이터 영역; 및A message data area for inputting, modifying, inquiring, and deleting information about an address for a target power line communication device in said command code; And 상기 스타트 영역, 패킷 길이 영역, 커맨드 코드 영역 및 데시지 데이터 영역 값들의 배타적 논리합(XOR)을 입력, 수정, 조회 및 삭제할 수 있는 체크섬 영역; 을 포함하고,A checksum area for inputting, modifying, querying, and deleting an exclusive logical sum (XOR) of the start area, packet length area, command code area and message data area values; Including, 상기 커맨드 코드 영역은 현재 상태가 OFF인 경우, 현재 상태가 ON인 경우, 제 4 항의 커맨드 코드에 대한 목표 디바이스가 존재하지 않는 경우 및 상태가 없는 경우로 나누어 이를 입력, 수정, 조회 및 삭제할 수 있는 것을 특징으로 하는 커맨드 패킷을 전송받은 상기 전력선 통신 디바이스의 결과 패킷을 기록한 컴퓨터로 읽을 수 있는 기록 매체.The command code area can be input, modified, inquired, and deleted when the current state is OFF, when the current state is ON, when the target device for the command code of claim 4 does not exist, and when there is no state. And a resultant packet of the power line communication device receiving the command packet. RS232c 호스트와 RS232c로 연결되어 있는 전력선 통신 디바이스가 전력선으로 데이터를 전송하려 할 때, 전력선 상에 이미 다른 데이터가 전송되고 있거나, 충돌 감지(C/D : Collision Detect)에 의해서 송신하고자 하는 데이터의 우선 순위가 낮아 전송하지 못할 때, 사용하는 충돌 패킷을 기록한 컴퓨터로 읽을 수 있는 기록 매체에 있어서,When a power line communication device connected to an RS232c host and an RS232c attempts to transmit data to the power line, other data is already being transmitted on the power line, or priority of data to be transmitted by collision detection (C / D: Collision Detect). In a computer-readable recording medium that records a collision packet to be used when the transmission is low due to low ranking, 통신 시작에 대한 정보를 입력, 수정, 조회 및 삭제할 수 있는 스타트 영역;A start area for inputting, modifying, inquiring, and deleting information about communication start; 상기 데이터 패킷의 길이를 입력, 수정 조회 및 삭제할 수 있는 패킷 길이 영역;A packet length area for inputting, modifying, and deleting a length of the data packet; 상기 전력선 통신 디바이스에 대한 명령 코드를 입력, 수정, 조회 및 삭제할 수 있는 커맨드 코드 영역;A command code area for entering, modifying, querying, and deleting command codes for the powerline communication device; 상기 커맨드 코드에서 목표로 하는 전력선 통신 디바이스에 대한 어드레스에 대한 정보를 입력, 수정, 조회 및 삭제할 수 있는 메시지 데이터 영역; 및A message data area for inputting, modifying, inquiring, and deleting information about an address for a target power line communication device in said command code; And 상기 스타트 영역, 패킷 길이 영역, 커맨드 코드 영역 및 데시지 데이터 영역 값들의 배타적 논리합(XOR)을 입력, 수정, 조회 및 삭제할 수 있는 체크섬 영역; 을 포함하고,A checksum area for inputting, modifying, querying, and deleting an exclusive logical sum (XOR) of the start area, packet length area, command code area and message data area values; Including, 상기 커맨드 코드 영역은 데이터 전송을 취소한다는 메시지를 기록할 수 있는 것을 특징으로 하는 충돌 패킷을 기록한 컴퓨터로 읽을 수 있는 기록 매체.And the command code area can record a message indicating that data transmission is canceled. 헤일(Hail) 통신 방식을 이용한 전력선 통신의 홈 코드 세팅 방법에 있어서,In the home code setting method of power line communication using a Hale communication method, 전력선 통신 기기 중 호스트가 홈 코드 탐색 시작을 지시하면, 송신 기기는 홈 코드 헤일 Request 신호와 함께 사용을 원하는 임의의 홈 코드를 송신하는 제 1 단계;When the host instructs the home code search start of the power line communication device, the transmitting device transmits any home code desired to be used with the home code hale request signal; 상기 수신된 홈 코드 데이터가 자신의 홈 코드와 상이하면, 각각의 수신 기기는 아무런 응답을 하지 않음으로써, 헤일 ACK 신호를 송신함으로써, 전력선 통신을 수행하는 제 2 단계;If the received home code data is different from its home code, a second step of performing power line communication by transmitting a hale ACK signal by not responding to each receiving device; 상기 홈 코드 헤일 Request 신호를 수신한 모든 수신 기기는 수신된 홈 코드 데이터가 자신의 홈 코드와 동일한지 여부를 판단하여, 자신의 홈 코드와 동일하면, 상기 각각의 수신 기기는 헤일 NAK 신호를 송신하는 제 3 단계; 및All receiving devices that have received the home code hale request signal determine whether the received home code data is the same as their own home code, and if they are identical to their own home code, each receiving device transmits a hale NAK signal. A third step of doing; And 상기 헤일 NAK 신호를 수신하면, 송신 기기는 이전에 송신한 홈 코드를 삭제하고, 새로운 홈 코드 데이터와 함께 재차 홈 코드 헤일 Request 신호를 송신한 후, 상기 제 2 단계로 복귀하는 제 4 단계;Receiving a hale NAK signal, the transmitting device deletes a previously transmitted home code, transmits a home code hale request signal again with new home code data, and then returns to the second step; 를 포함하는 헤일(Hail) 통신 방식을 이용한 전력선 통신의 홈 코드 세팅 방법.Home code setting method of power line communication using a Hale (Hail) communication method comprising a. 제 8 항에 있어서,The method of claim 8, 상기 단계들은 어떠한 수신 기기로부터도 헤일 NAK 신호를 수신하지 않게 될 때까지 반복되거나 사전에 설정된 탐색 시간이 만료될 때까지 반복되는 것을 특징으로 하는 헤일(Hail) 통신 방식을 이용한 전력선 통신의 홈 코드 세팅 방법.The above steps are repeated until no Hale NAK signal is received from any receiving device or until a preset search time expires, wherein the home code setting of the power line communication using the Hale communication method is performed. Way. 제 8 항에 있어서,The method of claim 8, 홈 코드 헤일 Request 신호를 수신한 수신 기기들 중 아무도 헤일 NAK를 송신하지 않는 경우, 송신 기기는 헤일 ACK로 간주하고, 홈 코드 탐색 과정을 종료하며, 최종 송신한 홈 코드를 호스트에 보고하여 자신의 홈 코드로 배정하는 단계를 더 포함하는 것을 특징으로 하는 헤일(Hail) 통신 방식을 이용한 전력선 통신의 홈 코드 세팅 방법.If none of the receiving devices that receive the Home Code Hale Request signal transmit a Hale NAK, the sending device considers the Hale ACK, terminates the home code search process, reports the last transmitted home code to the host, The method of claim 1, further comprising assigning a home code. 제 8 항 내지 제 10 항 중 어느 한 항에 있어서,The method according to any one of claims 8 to 10, 홈 코드 설정이 완료된 후, 호스트 기기에 배정된 홈 코드를 다른 모든 기기에 설정하도록 명령하는 단계; 및After the home code setting is completed, instructing all other devices to set a home code assigned to the host device; And 상기 홈 코드 설정 명령이 입력되면, 송신 기기가 모든 기기에 대하여 홈 코드 정보를 브로드캐스트하면, 홈 코드가 없는 수신 기기들은 수신된 홈 코드를 자신의 홈 코드로 배정하는 단계; 를 포함하고,When the home code setting command is input, when the transmitting device broadcasts home code information to all devices, receiving devices having no home code assign the received home code to their home code; Including, 홈 코드가 배정된 기기가 한 개 이상 있는 경우, 홈 코드가 배정되지 아니한 모든 기기에 한꺼번에 홈 코드 정보를 브로드캐스트하여 알려주는 것을 특징으로 하는 헤일(Hail) 통신 방식을 이용한 전력선 통신의 홈 코드 세팅 방법.When there is more than one device assigned a home code, the home code setting of the power line communication using the hale communication method characterized by broadcasting the home code information to all devices not assigned the home code at once. Way. 제 11 항에 있어서,The method of claim 11, 호스트가 홈 코드 삭제를 명령하면, 명령을 받은 기기는 자신의 홈 코드를 초기값으로 변경하는 단계를 더 포함한 헤일(Hail) 통신 방식을 이용한 전력선 통신의 홈 코드 세팅 방법.If the host command to delete the home code, the device receiving the command further comprises the step of changing its home code to the initial value home code setting method of the power line communication using the Hale (Hail) communication method. 전력선 통신 시스템에서 홈 코드가 설정된 기기가 헤일(Hail) 통신 방식을 이용하여 어드레스를 설정하는 방법에 있어서,A method in which a device having a home code set in a power line communication system sets an address using a hale communication method, 호스트가 초기화 작업 수행을 명령하면, 기기는 어드레스 헤일 Request 신호와 함께 사용을 원하는 임의의 어드레스를 송신하는 제 1 단계;If the host instructs the initialization operation to perform, the device transmits an arbitrary address that it wants to use with an address hale request signal; 상기 수신된 어드레스 데이터가 자신의 어드레스와 상이하면, 각각의 수신 기기는 아무런 응답을 하지 않음으로써, 헤일 ACK 신호를 송신하여 수신된 어드레스 데이터의 사용을 허락하는 제 2 단계;If the received address data is different from its own address, each receiving device makes no response, thereby transmitting a hale ACK signal to allow use of the received address data; 상기 어드레스를 수신한 기기가 수신된 어드레스 데이터가 자신의 어드레스와 동일하면, 각각의 수신 기기는 즉시 헤일 NAK 신호를 송신하는 제 3 단계; 및A third step in which each receiving device immediately transmits a Hale NAK signal if the receiving device has the same address data received by the receiving device; And 상기 헤일 NAK 신호를 수신하면, 상기 송신 기기는 새로운 어드레스 데이터와 함께 재차 어드레스 헤일 Request 신호를 송신한 후, 상기 제 2 단계로 복귀하는 제 4 단계; 를 포함하는 것을 특징으로 하는 어드레스 설정 방법.A fourth step of, upon receiving the Hale NAK signal, the transmitting device again transmits an Address Hale Request signal together with new address data, and then returns to the second step; Address setting method comprising a. 제 13 항에 있어서,The method of claim 13, 상기 단계들은 어떠한 수신 기기로부터도 헤일 NAK 신호를 수신하지 않게 될 때까지 반복되거나 사전에 설정된 탐색 시간이 만료될 때까지 반복되는 것을 특징으로 하는 어드레스 설정 방법.Wherein the steps are repeated until no Hale NAK signal is received from any receiving device or until a preset search time expires. 제 13 항에 있어서,The method of claim 13, 어드레스 헤일 Request 신호를 수신한 수신 기기들 중 아무도 헤일 NAK를 송신하지 않는 경우, 상기 송신 기기는 헤일 ACK로 간주하고, 어드레스 탐색 과정을 종료하고, 최종 송신한 홈 코드를 호스트에 보고하여 자신의 어드레스로 배정하는 단계를 더 포함하는 것을 특징으로 하는 어드레스 설정 방법.If none of the receiving devices that have received the address Hale Request signal transmit a Hale NAK, the transmitting device considers the Hale ACK, terminates the address searching process, reports the last transmitted home code to the host, and sends its own address. And assigning to the address. 제 13 항에 있어서,The method of claim 13, 사용자가 기기에 전력을 투입한 직후, 해당 기기는 만약 홈 코드 및 어드레스가 부여되어 있으면, 타 기기들에 자신이 활성화되었음을 브로드캐스트하는 단계를 더 포함하는 것을 특징으로 하는 어드레스 갱신 방법.Immediately after the user powers on the device, if the device has been given a home code and address, the device further comprises broadcasting to other devices that it has been activated. 제 13 항 내지 제 16 항 중 어느 한 항에 의하여 어드레스가 설정된 후, 어드레스 변경 요구에 의하여 어드레스를 갱신하는 방법에 있어서,A method of updating an address by an address change request after the address is set by any one of claims 13 to 16, 호스트가 어드레스 수정을 명령하면, 명령을 받은 기기는 어드레스 헤일 Request 신호와 함께 사용을 원하는 어드레스를 송신하는 제 1 단계;If the host commands an address modification, the first device sends the address with the address hale request signal that it wants to use; 상기 수신된 어드레스 데이터가 자신의 어드레스와 상이하면, 각각의 수신 기기는 아무런 응답을 하지 않음으로써, 헤일 ACK 신호를 송신하여 수신된 어드레스 데이터의 사용을 허락하는 제 2 단계;If the received address data is different from its own address, each receiving device makes no response, thereby transmitting a hale ACK signal to allow use of the received address data; 상기 수신된 어드레스 데이터가 자신의 어드레스와 동일하면, 각각의 수신 기기는 즉시 헤일 NAK 신호를 송신하는 제 3 단계;If the received address data is identical to its own address, each receiving device immediately sends a Hale NAK signal; 상기 헤일 NAK 신호를 수신하면, 송신 기기는 새로운 어드레스 데이터와 함께 재차 어드레스 헤일 Request 신호를 송신한 후, 상기 제 2 단계로 복귀하는 것을 특징으로 하는 어드레스 갱신 방법.And upon receiving the Hale NAK signal, the transmitting device returns to the second step after transmitting the Address Hale Request signal together with the new address data. 제 17 항에 있어서,The method of claim 17, 상기 단계들은 어떠한 수신 기기로부터도 헤일 NAK 신호를 수신하지 않게 될 때까지 반복되거나 사전에 설정된 탐색 시간이 만료될 때까지 반복되는 것을 특징으로 하는 어드레스 갱신 방법.Wherein said steps are repeated until no Hale NAK signal is received from any receiving device or until a preset search time expires. 제 17 항에 있어서,The method of claim 17, 상기 어드레스 헤일 Request 신호를 수신한 수신 기기들 중 아무도 헤일 NAK를 송신하지 않는 경우, 송신 기기는 헤일 ACK로 간주하고, 어드레스 탐색 과정을 종료하고, 최종 송신한 홈 코드를 호스트에 보고하여 자신의 어드레스로 배정하는 단계를 더 포함하는 것을 특징으로 하는 어드레스 갱신 방법.If none of the receiving devices that have received the address Hale Request signal transmit a Hale NAK, the transmitting device considers the Hale ACK, terminates the address search process, reports the last transmitted home code to the host, and sends its own address. The method of claim 1, further comprising assigning an address to the address. 양방향 전력선 통신 방법에 있어서,In the two-way power line communication method, 마스터(Master)가 전력선 통신 디바이스에 패킷을 전송하면, 상기 패킷을 전송받은 전력선 통신 디바이스는 수신한 패킷 끝단에 자신이 수행하고 있는 상태(ACK 메시지)를 부가하여 상기 마스터에 전송하며,When the master transmits a packet to the power line communication device, the power line communication device receiving the packet adds a state (ACK message) to the end of the received packet to transmit to the master. 상기 ACK 메시지는 수신한 전력선 통신 디바이스의 상태가 On인 경우, 수신한 전력선 통신 디바이스의 상태가 Off인 경우 및 수신한 전력선 통신 디바이스의 상태가 없는 경우로 나누어서 기록하는 것을 특징으로 하는 양방향 전력선 통신 방법.The ACK message is recorded when the state of the received power line communication device is On, the state of the received power line communication device is Off, and when the state of the received power line communication device is not recorded. . 제 20 항에 있어서,The method of claim 20, 상기 ACK 메시지는,The ACK message, 10이면, 수신한 기기의 상태가 On 임을 의미하고,10 means that the state of the received device is On, 01이면, 수신한 기기의 상태가 Off임을 의미하며,01 means that the received device is Off. 00이면, 수신한 기기의 상태가 없슴을 의미하는 것을 특징으로 하는 양방향 전력선 통신 방법.If 00, it means that there is no state of the device received.
KR1020010076335A 2001-12-04 2001-12-04 Data packet recording media, management method thereof and bi-directional communication method applying on power line communication KR20030045576A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020010076335A KR20030045576A (en) 2001-12-04 2001-12-04 Data packet recording media, management method thereof and bi-directional communication method applying on power line communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020010076335A KR20030045576A (en) 2001-12-04 2001-12-04 Data packet recording media, management method thereof and bi-directional communication method applying on power line communication

Related Child Applications (2)

Application Number Title Priority Date Filing Date
KR10-2003-0096821A Division KR100423868B1 (en) 2003-12-24 2003-12-24 Bi-directional power line communication method
KR10-2003-0096820A Division KR100438689B1 (en) 2003-12-24 2003-12-24 Data packet recording media applying on power line communication

Publications (1)

Publication Number Publication Date
KR20030045576A true KR20030045576A (en) 2003-06-11

Family

ID=29572994

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020010076335A KR20030045576A (en) 2001-12-04 2001-12-04 Data packet recording media, management method thereof and bi-directional communication method applying on power line communication

Country Status (1)

Country Link
KR (1) KR20030045576A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100932148B1 (en) * 2004-04-13 2009-12-16 엘에스산전 주식회사 Master module and slave module communication method of PLC network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5471190A (en) * 1989-07-20 1995-11-28 Timothy D. Schoechle Method and apparatus for resource allocation in a communication network system
WO1999066655A1 (en) * 1998-06-17 1999-12-23 Chul Kim Appliance control system utilizing bidirectional power line communications
WO2001063788A2 (en) * 2000-02-23 2001-08-30 Oneline Ag A power line communications system
KR20020067429A (en) * 2001-02-14 2002-08-22 마츠시타 덴끼 산교 가부시키가이샤 Communications setting method and communications setting system for power line communication network system
KR20020091312A (en) * 2001-05-30 2002-12-06 주식회사 엘지이아이 Control System for Home Appliance Network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5471190A (en) * 1989-07-20 1995-11-28 Timothy D. Schoechle Method and apparatus for resource allocation in a communication network system
WO1999066655A1 (en) * 1998-06-17 1999-12-23 Chul Kim Appliance control system utilizing bidirectional power line communications
WO2001063788A2 (en) * 2000-02-23 2001-08-30 Oneline Ag A power line communications system
KR20020067429A (en) * 2001-02-14 2002-08-22 마츠시타 덴끼 산교 가부시키가이샤 Communications setting method and communications setting system for power line communication network system
KR20020091312A (en) * 2001-05-30 2002-12-06 주식회사 엘지이아이 Control System for Home Appliance Network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100932148B1 (en) * 2004-04-13 2009-12-16 엘에스산전 주식회사 Master module and slave module communication method of PLC network

Similar Documents

Publication Publication Date Title
JP2509061B2 (en) Electric equipment operating device
US7136914B2 (en) System, computer program product and method for managing and controlling a local network of electronic devices
JP5114206B2 (en) Intelligent device mesh network that communicates over power lines and radio frequencies
US6865428B2 (en) Method and apparatus for providing distributed control of a home automation system
CN105580313B (en) Method and apparatus for controlling device for smart home service
US8130701B2 (en) System, computer program product and method for accessing a local network of electronic devices
US8122135B2 (en) System, computer program product and method for managing and controlling a local network of electronic devices and reliably and securely adding an electronic device to the network
US7197011B2 (en) System, computer program product and method for managing and controlling a local network of electronic devices
KR100505230B1 (en) Home Network System and Home Appliance Reducing Method for the Same
CN105093942A (en) Intelligent household system and group control method based on the intelligent household system
US8484323B2 (en) Network system connected with multiple master devices and method for operating the same
US20100005325A1 (en) Energy saving information appliance network and energy saving control method
JP2001230708A (en) Power line data transmission system
JPH05219077A (en) Multiple station bus system and station using such system
JP2010514244A (en) Selection of transmission and reception channels for communication between transmitter unit and receiver unit
KR100443949B1 (en) Address estimation method for plug-and-play power line communication device
KR100438689B1 (en) Data packet recording media applying on power line communication
KR100423868B1 (en) Bi-directional power line communication method
KR20030045576A (en) Data packet recording media, management method thereof and bi-directional communication method applying on power line communication
KR100425762B1 (en) Control System for Home Appliance Network
JP3480262B2 (en) Tuner selector, tuner, and method of controlling tuner selector
JP2003152733A (en) Wireless communication device and wireless communication system
KR100565499B1 (en) Plug-in method of master appliances
KR20040039043A (en) Control message transmission method for universal plug and play network system
KR20040016921A (en) Control System for Home Appliance Network

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
A107 Divisional application of patent
E902 Notification of reason for refusal
E601 Decision to refuse application
J201 Request for trial against refusal decision
J301 Trial decision

Free format text: TRIAL DECISION FOR APPEAL AGAINST DECISION TO DECLINE REFUSAL REQUESTED 20040708

Effective date: 20051228