KR20010082875A - PCPM : Powerline Communication Protocol for Microcontroller - Google Patents

PCPM : Powerline Communication Protocol for Microcontroller Download PDF

Info

Publication number
KR20010082875A
KR20010082875A KR1020000008396A KR20000008396A KR20010082875A KR 20010082875 A KR20010082875 A KR 20010082875A KR 1020000008396 A KR1020000008396 A KR 1020000008396A KR 20000008396 A KR20000008396 A KR 20000008396A KR 20010082875 A KR20010082875 A KR 20010082875A
Authority
KR
South Korea
Prior art keywords
packet
transmission
address
bit
communication protocol
Prior art date
Application number
KR1020000008396A
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 KR1020000008396A priority Critical patent/KR20010082875A/en
Publication of KR20010082875A publication Critical patent/KR20010082875A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/542Systems for transmission via power distribution lines the information being in digital form
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/284Home automation networks characterised by the type of medium used
    • H04L2012/2843Mains power line

Abstract

PURPOSE: A power line communication protocol is provided to decrease a transmission efficiency and a data processing time by maximally summarizing information needed by each node of a network and inserting summarized information into a small packet to transmit information. CONSTITUTION: A specific byte of a transmission packet is designated as a packet characteristic byte in a communication protocol of a communication system using a power line, a high frequency, an infrared ray, and a twisted pair as a transmission medium. A characteristic of a current transmitted packet is defined by two bits. A response to the current transmitted packet is defined by one bit. It is defined whether the content of an address field of the current transmitted packet is a transmission address or a receipt address by one bit. A receipt address group is defined by residual four bits for establishing a data link between nodes.

Description

전력선통신 프로토콜 {PCPM : Powerline Communication Protocol for Microcontroller}Powerline Communication Protocol {PCPM: Powerline Communication Protocol for Microcontroller}

본 발명은 전력선을 이용한 데이터 통신에서의 데이타패켓(data packet) 구성방식과 전송방식에 관한 것으로서, 보다 상세히는 narrow band 전력선통신기술을 Home control network에 적용하였을 때의 효과적인 통신 프로토콜 구성에 관한 것이다.The present invention relates to a data packet configuration method and transmission method in data communication using a power line, and more particularly, to an effective communication protocol configuration when a narrow band power line communication technology is applied to a home control network.

전력선을 이용한 데이터 통신기술은, 전신주의 분배기를 기점으로,Data communication technology using the power line from the distributor of the telephone pole,

① 분배기와 Base Station 사이의 고속통신망(Mega bps급)을 구현하기 위한 기술과① Technology to implement high speed communication network (Mega bps) between distributor and base station

② 변압기와 일반가옥, 빌딩, 공장 등의 단말장치 간의 Home networking 구성을 위 한 저속통신망(Kilo bps급) 기술로 구분된다.② It is divided into low speed network (Kilo bps) technology for home networking between transformers and terminal devices such as houses, buildings, and factories.

이러한 Home networking은 다시 Home data networking과 Home control networking으로 나뉘어지며, Home data networking은,These home networking are divided into home data networking and home control networking. Home data networking,

-옥내의 PC 주변장치들과 소비재 전자제품(consumer electronics)과의 데이 터이동Data movement between indoor PC peripherals and consumer electronics

-PC간의 파일 공유File sharing between PCs

-프린터 공유-Share your printer

-인터넷 접속공유Internet access sharing

를 구현하기 위한 것이며,To implement

Home control networking은;Home control networking;

-옥내 전기·전자장치들의 원격제어Remote control of indoor electrical and electronic devices

-옥내 전기·전자장치들의 동작과 상태Operation and status of indoor electrical and electronic devices

에 대한 정보수집/교환을 구현하기 위한 것이다.To implement information gathering / exchange on

현재, 비교적 널리 사용되고 있는 전력선 Home Control Network용 데이터전송 프로토콜로서는;At present, as a data transmission protocol for power line Home Control Network, which is relatively widely used;

① X-10① X-10

② CEBus② CEBus

③ LonWorks③ LonWorks

등을 들 수 있다 -표 1-Etc. -Table 1-

구 분division X-10X-10 CEBusCEBus LonWorksLonworks 전송속도Transmission speed 60 bps60 bps 8K bps8K bps 4K bps4K bps 응용대상Application target 기존 주거용가옥Existing Residential House -기존 주거용가옥 및 신축 주거용가옥-공장자동화-Existing residential houses and new residential houses-Factory automation -신축가옥(복합가옥 및다세대주택)-공업용빌딩-공장자동화 시설-New houses (composite houses and multi-family houses)-Industrial buildings-Factory automation facilities 장점Advantages 응용제품의 종류가 다양(market sharing 90%)Wide range of applications (market sharing 90%) - 고기능, 안가((安價))-신뢰성이 높다-High performance, safety, high reliability -고기능-신뢰성이 높다-복합건물/다세대주택(아파트,호텔)에 적합-High performance-High reliability-Suitable for complex buildings / multi-family houses (apartments, hotels) 단점Disadvantages -전송거리가 짧다-단방향전송만 가능-단순정보만 수신-Short transmission distance-Only one way transmission-Receive only simple information -단순제어만이 요구되는 기기에는 성능/가격비가 낮다Low performance / price ratio for equipment requiring only simple control -고가(高價)-단순제어만이 요구되는 기기에는 성능/가격비가 낮다-High cost-Low performance / price ratio for equipment requiring only simple control

단순히 데이터 전송속도나 기능만을 고려할 때에는, CEBus나 LonWorks 프로토콜이 현재의 모든 전력선통신용 프로토콜에 비해 단연 우수한 특성을 갖고 있으나, 가장 큰 단점은 전송속도가 그리 높지 않은 현재의 기술 한계에서 전송패켓의 길이가 너무 크다는 점이다. 즉, 패켓 당 전송시간이 너무 길어 전송효율이 낮아지기 때문에, 네트워크에 연결되어 있는 노드 수가 많을 경우에는 노드접근시간(Node Access Time)이 길어진다는 점이다.When considering only data rates or functions, the CEBus or LonWorks protocols are superior to all current power line protocols. However, the biggest drawback is that the length of the transmission packet is limited at the current technical limitations. It's too big. That is, since the transmission time per packet is too long and the transmission efficiency is low, the node access time is long when the number of nodes connected to the network is large.

X-10의 경우의 노드접근시간은 800ms, CEBus인 경우에는 30ms의 노드접근시간을 필요로 한다.In the case of X-10, the node access time is 800ms and in the case of CEBus, the node access time is 30ms.

본 발명은;The present invention;

① 단방향전송방식인 X-10 프로토콜의 단점과,① The disadvantage of X-10 protocol, which is one-way transmission method,

② 패켓길이가 크기 때문에 초당 유효 데이터의 송수신속도가 떨어지는 CEBus 및 LonWorks의 단점② Disadvantages of CEBus and LonWorks that send and receive effective data per second due to large packet length

을 해결키 위해 창출된 것으로서, 본 발명의 목적은 소규모 지역에서의 각종 전기·전자장치가 전력선을 이용하여 정보를 송수신 함에 있어, 네트워크가 필요로 하는 정보를 보다 작은 규모의 패켓에 실어 보냄으로서, 전송효율과 데이터 처리시간을 단축시키기 위한 것이다.In order to solve the problem, an object of the present invention is to transmit and receive information required by a network on a smaller packet in a variety of electrical and electronic devices in a small area using a power line, This is to shorten the transmission efficiency and data processing time.

이를 위하여, 본 발명에서는,To this end, in the present invention,

첫째, 소규모 전력선 네트워크에서의 각종 전기·전자장치를 효율적으로 제어·관리할 수 있는 소형의 프로토콜을 구축하고,First, establish a small protocol that can efficiently control and manage various electrical and electronic devices in small powerline networks,

둘째, 이들이 주거용가옥 뿐만 아니라, 복합가옥 및 다세대주택에서도 이용될 수 있도록 하기 위한 Master/Slave형 Multi-Node 데이타전송 프로토콜을 구축한다.Second, we will build a master / slave type multi-node data transmission protocol so that they can be used not only in residential houses, but also in multi-family houses and multi-family houses.

본 발명에서 구현코자 하는 통신 프로토콜 PCPM에 대해 설명한다.The communication protocol PCPM to be implemented in the present invention will be described.

① 패켓 구조① Packet structure

- 6 byte (48 bit)6 byte (48 bit)

SYNCSYNC HCBHCB ADRSADRS CMD/DATACMD / DATA CRC1CRC1 CRC2CRC2

..

② SYNC - 동기용 byte② SYNC-Synchronization byte

- bit 동기를 확립한다.-establish bit synchronization

bit 7 6 5 4 3 2 1 0bit 7 6 5 4 3 2 1 0

00 1One 00 1One 00 1One 00 00

..

③ HCB - Packet 특성 byte③ HCB-Packet characteristic byte

- 현재 전송되고 있는 패켓의 특성 표시한다.-Display the characteristics of the packet currently being sent.

▶ bit 7 및 bit 6송신 패켓의 특성을 표시Bit 7 and bit 6 Display characteristics of outgoing packets

bit 7 6bit 7 6

00 00 명령패켓Command Packet 00 1One 데이타패켓Data Packet 1One 00 ACK 패켓ACK packet 1One 1One NACK 패켓NACK packet

▶ bit 5현재 전송되고 있는 패켓에 대한 응답여부를 지정한다.Bit 5 Specifies whether to respond to a packet currently being sent.

bit 5bit 5

00 ACK/NACK 응답 요구ACK / NACK response request 1One ACK/NACK 응답 요구하지 않음No ACK / NACK response required

▶ bit 4현재 전송되고 있는 패켓의 어드레스 field의 내용이 송신어드레스인가 또는 수신어드레스인가를 명시Bit 4 Specify whether the contents of the address field of the packet currently being transmitted are a send address or a receive address.

bit 4bit 4

00 송신 어드레스Send address 1One 수신 어드레스Receiving address

▶ bit 3 ∼ bit 0Bit 3 ~ bit 0

수신어드레스 그룹을 명시.Specify the receiving address group.

④ ADRS - 어드레스 byte④ ADRS-address byte

송수신 어드레스를 표시Display send / receive address

⑤ CMD/DATA - 명령/데이타 byte⑤ CMD / DATA-Command / Data byte

명령이나 데이타 내용을 명시.Specify command or data content.

⑥ CRC1 byte - CRC-16 High byte⑥ CRC1 byte-CRC-16 High byte

CRC-16 에러정정 코드의 상위 byteHigh byte of CRC-16 error correction code

노드접속시간Node connection time

⑦ CRC2 byte - CRC-16 low byte⑦ CRC2 byte-CRC-16 low byte

CRC-16 에러정정 코드의 하위 byteLower byte of CRC-16 error correction code

1. 본 발명으로 구현된 데이타 전송 프로토콜에서는 패켓길이가 48 비트에 불과하므로(X-10 : 47 비트, CEBus : 256 비트), 현재 저가 구입이 가능한 4.8K bps 급 전력선통신용 모뎀칩을 사용할 경우에도, 노드접속시간이 10ms에 불과하다.1. In the data transmission protocol implemented in the present invention, since the packet length is only 48 bits (X-10: 47 bits, CEBus: 256 bits), even when using a 4.8K bps class power line communication modem chip that can be purchased at a low cost. The node connection time is only 10ms.

2. 지정 가능한 노드 수는, 256개의 어드레스로 구성된 어드레스 그룹을 16개까지 지정가능하므로, 총 16 ×256 = 4096 개이다. 따라서, 복합가옥이나 다세대주택의 전기·전자장치의 제어·관리도 가능하다.2. The number of nodes that can be specified is 16, 256 = 4096 in total since up to 16 address groups composed of 256 addresses can be designated. Therefore, it is also possible to control and manage electric and electronic devices of multi-family houses and multi-family houses.

3. 패켓구조가 간단하기 때문에, 최소의 MCU 자원으로 프로토콜 구축이 가능하다.3. Due to the simple packet structure, it is possible to build protocol with minimum MCU resources.

4. master/slave형 구성이나 또는 peer-to-peer 구성이 모두 가능하다.4. Both master / slave or peer-to-peer configurations are available.

5. 전송로에 의존하지 않으므로, 전력선통신은 물론, 고주파통신, 적외선 통신에서도 사용할 수 있다.5. Since it does not depend on the transmission line, it can be used in high frequency communication and infrared communication as well as power line communication.

Claims (1)

전력선, 고주파, 적외선, twisted pair를 전송매체로 사용하는 통신시스템의통신 프로토콜에서, 전송패켓의 특정 바이트를 패켓 특성 바이트로 지정하여,In the communication protocol of the communication system using power line, high frequency, infrared ray, and twisted pair as transmission medium, a specific byte of the transmission packet is designated as a packet characteristic byte, ① 2개의 비트로, 현재 전송되고 있는 패켓의 특성명령패켓, 데이타패켓, ACK 패켓, NACK 패켓을 명시하고,1. The characteristics of the packet currently being transmitted in two bits. Command Packet, Data Packet, ACK Packet, NACK Packet , And ② 1개의 비트로, 현재 전송되고 있는 패켓에 대한 응답여부를 명시하고,② One bit, which specifies whether to respond to the packet currently being transmitted. ③ 1개의 비트로, 현재 전송되고 있는 패켓의 어드레스 field의 내용이 송신어드레스인가 또는 수신어드레스인가를 명시하고,(3) In one bit, specify whether the contents of the address field of the packet currently being transmitted are a transmission address or a reception address. ④ 나머지 4개의 비트로서 수신어드레스 그룹을 명시하여,④ Specify the receiving address group as the remaining 4 bits. 전송주체인 각 노드 간의 데이타링크(datalink)를 확립하는 방식.A method of establishing a datalink between each node as a transmission subject.
KR1020000008396A 2000-02-22 2000-02-22 PCPM : Powerline Communication Protocol for Microcontroller KR20010082875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000008396A KR20010082875A (en) 2000-02-22 2000-02-22 PCPM : Powerline Communication Protocol for Microcontroller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000008396A KR20010082875A (en) 2000-02-22 2000-02-22 PCPM : Powerline Communication Protocol for Microcontroller

Publications (1)

Publication Number Publication Date
KR20010082875A true KR20010082875A (en) 2001-08-31

Family

ID=19648621

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000008396A KR20010082875A (en) 2000-02-22 2000-02-22 PCPM : Powerline Communication Protocol for Microcontroller

Country Status (1)

Country Link
KR (1) KR20010082875A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020087543A (en) * 2001-05-14 2002-11-23 엘지전자 주식회사 Packet structure for power line communication

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020087543A (en) * 2001-05-14 2002-11-23 엘지전자 주식회사 Packet structure for power line communication

Similar Documents

Publication Publication Date Title
US7126494B2 (en) Remote access to electronic meters using a TCP/IP protocol suite
AU752417B2 (en) Remote access to electronic meters using a TCP/IP protocol suite
KR20040103367A (en) Home network system
US6073266A (en) Cebus data link layer proxy
Bauer et al. Packet-oriented communication protocols for smart grid services over low-speed PLC
CN102053935A (en) MODBUS serial communication protocol-based communication method
CN106506306A (en) A kind of method and apparatus of data-message transmission
Ramakrishnan 16-bit embedded Web server
KR20010082875A (en) PCPM : Powerline Communication Protocol for Microcontroller
Cisco LLC2 and SDLC Commands
Cisco LLC2 and SDLC Commands
Cisco LLC2 and SDLC Commands
Cisco LLC2 and SDLC Commands
Cisco LLC2 and SDLC Commands
Cisco LLC2 and SDLC Commands
Cisco LLC2 and SDLC Commands
Cisco LLC2 and SDLC Commands
Cisco LLC2 and SDLC Commands
Cisco LLC2 and SDLC Commands
Cisco LLC2 and SDLC Commands
Cisco LLC2 and SDLC Commands
Cisco LLC2 and SDLC Commands
Cisco LLC2 and SDLC Commands
Cisco LLC2 and SDLC Commands
Cisco LLC2 and SDLC Commands

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application