KR102120450B1 - Data Communication System Using Pulse Position Modulation - Google Patents

Data Communication System Using Pulse Position Modulation Download PDF

Info

Publication number
KR102120450B1
KR102120450B1 KR1020200024781A KR20200024781A KR102120450B1 KR 102120450 B1 KR102120450 B1 KR 102120450B1 KR 1020200024781 A KR1020200024781 A KR 1020200024781A KR 20200024781 A KR20200024781 A KR 20200024781A KR 102120450 B1 KR102120450 B1 KR 102120450B1
Authority
KR
South Korea
Prior art keywords
power line
signal
line communication
communication device
response
Prior art date
Application number
KR1020200024781A
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 KR1020200024781A priority Critical patent/KR102120450B1/en
Application granted granted Critical
Publication of KR102120450B1 publication Critical patent/KR102120450B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/02Details
    • H04B3/46Monitoring; Testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/546Combination of signalling, telemetering, protection

Landscapes

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

Abstract

The present invention relates to a data communication system using pulse position modulation. More specifically, the data communication system performs communication by transmitting and receiving a single frequency signal of any one of a plurality of preset frequency signals in block form in synchronization with the AC signal in accordance with the pulse modulated by pulse position modulation (PPM), transmits a control command and a response request by the master power line communication device to the controlled device, receives a response signal from the slave power line communication device, and determines communication failure according to whether the response signal is received, and communication is performed by changing the frequency signal transmitted in synchronization with the AC signal.

Description

펄스 위치변조를 이용한 데이터 통신 시스템 {Data Communication System Using Pulse Position Modulation}Data Communication System Using Pulse Position Modulation}

본 발명은 펄스 위치변조를 이용한 데이터 통신 시스템에 관한 것으로서, 더욱 상세하게는 데이터를 펄스 위치변조(PPM) 하여 변조된 상기 펄스에 맞추어 복수의 기설정된 주파수 신호 중 어느 하나의 단일 주파수 신호를 블록 형태로 교류신호에 동조하여 송신 및 수신함으로써 통신을 수행하고, 마스터 전력선 통신장치는 제어대상기기에 대한 제어명령 및 응답요청을 송신하여, 슬레이브 전력선 통신장치로부터 응답신호를 수신하고, 응답신호의 수신여부에 따라 통신장애를 판별하여 교류신호에 동조되어 송신되는 주파수 신호를 변경하여 통신을 수행할 수 있는 데이터 통신 시스템에 관한 것이다.The present invention relates to a data communication system using pulse position modulation, and more specifically, a single frequency signal of any one of a plurality of preset frequency signals according to the pulse modulated by pulse position modulation (PPM) of data. The communication is performed by transmitting and receiving in synchronization with the AC signal, and the master power line communication device transmits a control command and a response request to the control target device to receive a response signal from the slave power line communication device, and whether or not the response signal is received. It relates to a data communication system that can perform communication by changing the frequency signal transmitted in synchronization with the AC signal by determining the communication failure according to.

일반적으로 통신을 이용하여 원격으로 기기를 제어하기 위해서는 유무선 통신망을 이용하거나 교류선로상에 아날로그 통신신호를 중첩시켜 데이터를 전송하는 전력선 통신을 이용하는 것이 일반적이다.In general, in order to remotely control a device using communication, it is common to use a wired or wireless communication network or power line communication to transmit data by superimposing an analog communication signal on an AC line.

유선을 이용할 경우 별도의 통신선을 가설하기 위한 비용이 증가하고, 무선을 이용할 경우 설치는 간편하지만 유선에 비해 상대적으로 고가인 통신장치를 이용하여야 하며 혼선에 의한 데이터 유실의 가능성이 있다는 문제점이 있다.In the case of using a wire, the cost for constructing a separate communication line increases, and when using wireless, installation is easy, but a relatively expensive communication device must be used compared to the wire, and there is a possibility of data loss due to crosstalk.

또한 전력선 통신의 경우 별도의 통신망 없이 전원 공급선을 이용하여 통신이 가능하지만 기타 전기기기에 의한 외란에 취약한 특성이 있어 일반적으로 사용되기 어렵다는 문제점이 있다.In addition, in the case of power line communication, it is possible to communicate using a power supply line without a separate communication network, but there is a problem in that it is difficult to be used in general because it is vulnerable to disturbances caused by other electric devices.

종래의 전력선통신은 결합회로, 주파수변환회로, SS확산, PN부호, 제어회로, 전원회로를 포함한다.Conventional power line communication includes a combination circuit, a frequency conversion circuit, an SS spread, a PN code, a control circuit, and a power supply circuit.

무선통신에서 널리 사용되는 확산스펙트럼(Spread spectrum)방식을 사용한 전력선 통신의 경우 반송주파수대역의 노이즈를 발생하는 전력기기가 선로상에 존재할 경우 통신이 불가능하므로 전력망 구성에 제약이 많아지는 문제점이 있다.In the case of power line communication using a spread spectrum method widely used in wireless communication, there is a problem in that the configuration of the power grid is increased because communication is impossible when power devices generating noise in the carrier frequency band exist on the line.

교류전원을 이용하는 전열기, 조명기기 등의 출력량을 사용환경에 맞게 조절하여 전력을 절감하기 위해 일반적으로 SCR(Silicon controlled rectifier), 트랜지스터(Transistor)등을 이용해 공급되는 전력의 위상각을 제어하거나 트랜스(Transformer)를 이용해 전압을 제어하여 공급되는 실효전력량 (RMS Power)을 조절하는 방법을 사용한다. 전압이나 위상각을 제어하여 공급되는 실효전력량을 조절하는 방식의 전력 절감기의 경우 공급전력의 전압이 낮아지거나 전력이 공급되지 않는 구간이 존재함으로 인해 부하기기의 특성에 따라 부하기기가 이상동작 할 수 있는 문제점이 있다.In order to save power by adjusting the output of electric heaters, lighting equipment, etc. using AC power to suit the usage environment, the phase angle of the power supplied is controlled using transformer (Silicon controlled rectifier), transistor, etc. Transformer) to control the voltage to control the effective power supplied (RMS Power). In the case of a power saver in which the effective power supplied by controlling the voltage or phase angle is adjusted, the loader may operate abnormally depending on the characteristics of the load device because the voltage of the supplied power is lowered or there is a section where no power is supplied. There is a problem.

이를 해결하기 위하여 본 발명과 발명자가 동일한 특허문헌 1 및 특허문헌 2에서는 영전압점신호 인근에 스위칭을 통해 교류전원을 통과시키거나 차단시켜 변형 교류전원을 생성함으로써 신호를 송수신 하는 방법에 대하여 개시하고 있다. 특허문헌 1 및 특허문헌 2에서는 각각 도 5에 도시된 것과 같이, 영전압점신호 직후 기설정된 시간 동안 교류전원을 차단하거나, 혹은 지속적으로 교류전원을 통과시키거나, 혹은 영전압점신호 이후 다음 영전압점신호 직전 교류전원을 차단하여 개시비트, 이진수 1 또는 0을 전송하는 방법을 개시하고 있다.In order to solve this, in the same patent document 1 and patent document 2, the present invention and the inventor disclose a method of transmitting and receiving a signal by generating or altering AC power by passing or blocking AC power through switching near the zero voltage point signal. . In Patent Document 1 and Patent Document 2, as shown in FIG. 5, the AC power is cut off for a predetermined time immediately after the zero voltage point signal, or the AC power is continuously passed or the next zero voltage point signal after the zero voltage point signal. Disclosed is a method of transmitting a start bit, binary 1 or 0 by cutting off the AC power immediately before.

다만 특허문헌 1 및 특허문헌 2와 같이 영전압점신호 인근에 교류전원을 차단시켜 변형 교류전원을 생성하는 경우, 단방향 통신만이 가능하고 양방향 통신이 불가능하며, 전원이 공급되지 않는 구간이 존재함으로 인해 부하기기의 특성에 따라 부하기기가 이상동작 할 수 있는 문제점이 있다.However, when alternating AC power is generated by blocking AC power in the vicinity of the zero voltage point signal as in Patent Literature 1 and Patent Literature 2, only one-way communication is possible, two-way communication is impossible, and there is a section in which no power is supplied Depending on the characteristics of the load device, there is a problem that the load device may malfunction.

또한, 본 발명과 발명자가 동일한 특허문헌 3에서는 교류 전원의 리딩에지 혹은 트레일링에지에서 기 설정된 시간 동안 정형화된 주파수 성분을 인가함으로써 신호를 전송하는 방법에 대하여 개시하고 있다. 특허문헌 1에서는 도 13에 도시된 것과 같이, 영전압점신호 직후 기설정된 시간 동안 정형화된 주파수 성분을 인가하거나, 혹은 주파수 성분을 인가하지 않거나, 혹은 영전압점신호 이후 다음 영전압점신호 직전 기설정된 시간 동안 정형화된 주파수 성분을 인가함으로써 개시비트, 이진수 1 또는 0을 전송하는 방법을 개시하고 있다.In addition, Patent Document 3 of the present invention and the same inventor discloses a method of transmitting a signal by applying a standardized frequency component for a predetermined time at a leading edge or trailing edge of an AC power source. In Patent Document 1, as shown in FIG. 13, a normalized frequency component is applied for a predetermined time immediately after the zero voltage point signal, or a frequency component is not applied, or for a predetermined time immediately before the next zero voltage point signal after the zero voltage point signal. Disclosed is a method of transmitting a start bit, binary 1 or 0 by applying a standardized frequency component.

특허문헌 3에서와 같이 교류 전원의 리딩에지 혹은 트레일링에지에서 기 설정된 시간 동안 정형화된 주파수 성분을 인가하여 신호를 전송하는 방법에 의하면 전력선을 통해 양방향 통신을 수행할 수 있으나, 특허문헌 3에서와 같이 주파수 성분의 존재 유무만으로 신호를 판단하는 방법은 노이즈에 의해 영향을 받을 수 있는 문제점이 있다.According to the method of transmitting a signal by applying a standardized frequency component for a predetermined time from a leading edge or trailing edge of an AC power source as in Patent Document 3, bidirectional communication can be performed through a power line. Similarly, a method of determining a signal only by the presence or absence of a frequency component has a problem that can be affected by noise.

즉, 이와 같이 주파수 성분의 유무 혹은 교류전원에 대한 통과 및 차단을 이용한 비트판별 방식은 특정 위치에 노이즈가 첨가되는 경우 그것이 유효비트인지 무효비트인지 실시간으로 파악할 수 없고, 전체 수신 후 체크섬 혹은 CRC체크 등의 방법을 통하여 오류검사를 하여야만 비트의 유효 여부를 판별할 수 있다.That is, in this way, the bit discrimination method using the presence or absence of frequency components or the passage and blocking of the AC power supply cannot detect in real time whether it is an effective bit or an invalid bit when noise is added to a specific location, and checksum or CRC check after receiving the whole. It is possible to determine whether a bit is valid only by performing an error check through the method described above.

또한, 특허문헌 1, 2 및 3의 경우 영전압점신호마다 1비트의 정보를 전송함으로써, 매우 느린 통신속도의 통신만이 가능하였다.In addition, in the case of Patent Documents 1, 2 and 3, by transmitting 1 bit of information for each zero voltage point signal, only very slow communication speed was possible.

이와 같은 문제점을 해결하기 위하여 양방향 통신을 수행하면서, 데이터가 전송될 때 매 비트마다 유효성 여부를 판단하여 신뢰성이 높고, 전송 속도가 빠른 전력선 통신 기술을 개발할 필요가 있다.In order to solve this problem, it is necessary to develop a power line communication technology having high reliability and high transmission speed by determining whether or not each bit is valid when data is transmitted.

KRKR 10-175675710-1756757 B1B1 KRKR 10-192130310-1921303 B1B1 KRKR 10-189855410-1898554 B1B1

본 발명은 데이터를 펄스 위치변조(PPM) 하여 변조된 상기 펄스에 맞추어 복수의 기설정된 주파수 신호 중 어느 하나의 단일 주파수 신호를 블록 형태로 교류신호에 동조하여 송신 및 수신함으로써 통신을 수행하고, 마스터 전력선 통신장치는 제어대상기기에 대한 제어명령 및 응답요청을 송신하여, 슬레이브 전력선 통신장치로부터 응답신호를 수신하고, 응답신호의 수신여부에 따라 통신장애를 판별하여 교류신호에 동조되어 송신되는 주파수 신호를 변경하여 통신을 수행할 수 있는 데이터 통신 시스템을 제공하는 것을 목적으로 한다.The present invention performs communication by synchronizing and transmitting and receiving a single frequency signal of any one of a plurality of preset frequency signals in a block form to an AC signal in accordance with the pulse modulated by pulse position modulation (PPM) of the data. The power line communication device transmits a control command and a response request to the control target device, receives a response signal from the slave power line communication device, determines a communication failure according to whether the response signal is received, and transmits the frequency signal in synchronization with the AC signal. It is an object of the present invention to provide a data communication system capable of performing communication by changing.

상기와 같은 과제를 해결하기 위하여 본 발명은, 연결된 전력선 상에 접속되어 있고, 제어대상기기에 대한 제어명령을 입력할 수 있는 마스터 전력선 통신장치; 및 상기 전력선 상에 접속되어 있고, 상기 마스터 전력선 통신장치와 통신을 수행하여 제어명령을 수신하고, 수신한 제어명령을 통해 제어대상기기를 제어하는 복수의 슬레이브 전력선 통신장치;를 포함하는 데이터 통신 시스템으로서, 상기 마스터 전력선 통신장치는,변조된 데이터를 펄스 위치변조 하여 변조된 펄스에 맞추어 기설정된 주파수 신호를 블록형태로 상기 전력선의 교류신호에 동조하여 송신하거나 상기 전력선의 교류신호를 수신하는 제1동조부; 상기 전력선을 통해 전송할 데이터를 변조하는 제1변조부; 상기 제1동조부에서 검출된 상기 전력선의 교류전원에 결합된 변조된 데이터를 복조 할 수 있는 신호로 변환하는 제1파형변환부; 복수의 슬레이브 전력선 통신장치에 연결된 제어대상기기를 제어하는 제어명령을 상기 제1동조부를 통해 전력선으로 송신하는 제어명령송신부; 복수의 슬레이브 전력선 통신장치에 대한 응답명령을 상기 제1동조부를 통해 전력선으로 송신하는 응답명령송신부; 복수의 슬레이브 전력선 통신장치로부터 수신된 응답신호에 기초하여 교류전원에 동조되어 송신되는 주파수 신호의 통신장애여부를 판별하는 통신장애판별부; 및 상기 통신장애여부에 기초하여 기설정된 기준에 따라 상기 제1동조부에서의 교류전원에 동조되어 송신되는 주파수 신호를 변경하는 주파수변경부;를 포함하는 데이터 통신 시스템을 제공한다.In order to solve the above problems, the present invention is connected to the connected power line, the master power line communication device capable of inputting a control command for the control target device; And a plurality of slave power line communication devices connected to the power line, performing communication with the master power line communication device to receive a control command, and controlling a control target device through the received control command. As the first, the master power line communication device is a first for receiving a predetermined frequency signal in accordance with the modulated pulse by modulating the modulated data in a pulse position and transmitting the frequency signal in synchronization with the AC signal of the power line or receiving the AC signal of the power line. Tuning section; A first modulator for modulating data to be transmitted through the power line; A first waveform conversion unit for converting the modulated data coupled to the AC power of the power line detected by the first tuning unit into a signal capable of demodulation; A control command transmission unit for transmitting a control command for controlling a control target device connected to a plurality of slave power line communication devices to the power line through the first tuning unit; A response command transmission unit for transmitting response commands for a plurality of slave power line communication devices to the power line through the first tuning unit; A communication failure discrimination unit for determining whether or not communication failure of a frequency signal transmitted in synchronization with AC power based on a response signal received from a plurality of slave power line communication devices; It provides a data communication system comprising; and a frequency changing unit for changing the frequency signal transmitted in synchronization with the AC power in the first tuning unit according to a predetermined criterion based on the communication failure.

본 발명의 일 실시예에서는, 상기 마스터 전력선 통신장치는, 복수의 슬레이브 전력선 통신장치로부터 수신한 상기 응답신호 및 상기 제어명령에 따른 제어대상기기의 상태정보에 기초하여 모니터링정보를 도출하여 송신하는 모니터링정보송신부;를 더 포함할 수 있다.In one embodiment of the present invention, the master power line communication device is a monitoring for deriving and transmitting monitoring information based on the response signal received from a plurality of slave power line communication devices and status information of a control target device according to the control command. Information transmission unit; may further include.

본 발명의 일 실시예에서는, 상기 슬레이브 전력선 통신장치는, 변조된 데이터를 펄스 위치변조 하여 변조된 펄스에 맞추어 기설정된 주파수 신호를 블록형태로 상기 전력선의 교류신호에 동조하여 송신하거나 상기 전력선의 교류신호를 수신하는 제2동조부; 상기 전력선을 통해 전송할 데이터를 변조하는 제2변조부; 상기 제2동조부에서 검출된 상기 전력선의 교류전원에 결합된 변조된 데이터를 복조할 수 있는 신호로 변환하는 제2파형변환부; 상기 마스터 전력선 통신장치로부터 수신한 응답명령에 기초하여 해당 응답명령에 대한 응답신호를 송신하는 응답신호송신부; 상기 마스터 전력선 통신장치로부터 수신한 제어명령에 기초하여 제어대상기기로 해당 제어명령에 대한 제어신호를 송신하는 제어신호송신부; 및 상기 제어신호에 따라 제어된 제어대상기기의 상태정보를 송신하는 상태정보송신부;를 포함할 수 있다.In one embodiment of the present invention, the slave power line communication device transmits by modulating the modulated data by pulse position modulation and transmitting a preset frequency signal in accordance with the modulated pulse to the AC signal of the power line in block form or alternating the power line. A second tuning unit for receiving a signal; A second modulator for modulating data to be transmitted through the power line; A second waveform converting unit converting the modulated data coupled to the AC power of the power line detected by the second tuning unit into a demodulated signal; A response signal transmitter for transmitting a response signal for the corresponding response command based on the response command received from the master power line communication device; A control signal transmission unit that transmits a control signal for the corresponding control command to the control target device based on the control command received from the master power line communication device; And a status information transmitting unit that transmits status information of a control target device controlled according to the control signal.

본 발명의 일 실시예에서는, 상기 응답신호송신부에 의하여 송신되는 응답신호는, 상기 제어명령에 따른 제어대상기기의 상태를 판별하여, 제어대상기기의 상태정보를 도출하고, 도출한 상기 상태정보를 더 포함할 수 있다.In one embodiment of the present invention, the response signal transmitted by the response signal transmitter determines the state of the control target device according to the control command, derives state information of the control target device, and derives the derived state information. It may further include.

본 발명의 일 실시예에서는, 상기 제2파형변환부는, 상기 제2동조부에서 검출된 신호로부터 1 이상의 기설정된 주파수 신호 중 어느 하나의 단일 주파수 신호를 추출하는 밴드패스필터통과단계; 상기 밴드패스필터통과단계에서 추출된 상기 단일 주파수 신호를 블록 형태로 구분하는 단일주파수블록구분단계; 및 구분된 상기 단일 주파수의 블록을 펄스 형태의 TTL신호로 변환하는 주파수블록TTL신호변환단계;를 수행하고, 상기 제2복조부는, 상기 제2파형변환부를 통해 변환된 TTL신호로부터 펄스의 시간간격에 상응하는 비트값을 판독하는 복조단계;를 수행할 수 있다.In one embodiment of the present invention, the second waveform conversion unit, a band pass filter pass step of extracting a single frequency signal of any one or more of the preset frequency signal from the signal detected by the second tuning unit; A single frequency block classification step of dividing the single frequency signal extracted in the band pass filter step into blocks; And a frequency block TTL signal conversion step of converting the divided block of the single frequency into a TTL signal in the form of a pulse. The second demodulator, the time interval of the pulse from the TTL signal converted through the second waveform converter A demodulation step of reading a bit value corresponding to; may be performed.

본 발명의 일 실시예에서는, 상기 데이터 통신 시스템은, 마스터 전력선 통신장치에 의하여, 제어대상기기에 대한 제어명령을 복수의 슬레이브 전력선 통신장치로 송신하는 제1-1단계; 마스터 전력선 통신장치에 의하여, 슬레이브 전력선 통신장치에 대한 응답명령을 복수의 슬레이브 전력선 통신장치로 송신하는 1-2단계; 슬레이브 전력선 통신장치에 의하여, 상기 응답명령에 대응하는 응답신호를 마스터 전력선 통신장치로 송신하는 제2단계; 마스터 전력선 통신장치에 의하여, 복수의 슬레이브 전력선 통신장치로부터 수신한 상기 응답신호에 기초하여 상기 통신장애여부를 판별하고, 판별한 상기 통신장애여부에 따라 상기 교류전원에 동조되어 송신되는 주파수 신호를 변경하는 제3단계; 및 마스터 전력선 통신장치에 의하여, 변경된 주파수 신호에 따른 제어대상기기에 대한 제어명령을 복수의 슬레이브 전력선 통신장치로 송신하는 제4-1단계; 및 마스터 전력선 통신장치에 의하여, 변경된 주파수 신호에 따른 슬레이브 전력선 통신장치에 대한 응답명령을 복수의 슬레이브 전력선 통신장치로 송신하는 제4-2단계;를 수행할 수 있다.In one embodiment of the present invention, the data communication system includes: a first-first step of transmitting, by a master power line communication device, a control command for a control target device to a plurality of slave power line communication devices; Step 1-2, by the master power line communication device, transmitting a response command to the slave power line communication device to the plurality of slave power line communication devices; A second step of transmitting, by the slave power line communication device, a response signal corresponding to the response command to the master power line communication device; The master power line communication device determines whether the communication failure is based on the response signal received from a plurality of slave power line communication devices, and changes the frequency signal transmitted in synchronization with the AC power according to the determined communication failure. The third step; And a 4-1 step of transmitting, by the master power line communication device, a control command for the control target device according to the changed frequency signal to a plurality of slave power line communication devices; And a step 4-2 of transmitting, by the master power line communication device, a response command to the slave power line communication device according to the changed frequency signal to the plurality of slave power line communication devices.

본 발명의 일 실시예에서는, 상기 마스터 전력선 통신장치 및 상기 슬레이브 전력선 통신장치는, 데이터를 펄스 위치변조(PPM) 하여 변조된 상기 펄스에 맞추어 1 이상의 기설정된 주파수 신호 중 어느 하나의 단일 주파수 신호를 블록 형태로 교류신호에 동조하여 송신 및 수신할 수 있다.In one embodiment of the present invention, the master power line communication device and the slave power line communication device are configured to transmit a single frequency signal of any one of one or more preset frequency signals in accordance with the pulse modulated by pulse position modulation (PPM) of data. In the form of a block, it can be transmitted and received in synchronization with an AC signal.

본 발명의 일 실시예에서는, 상기 데이터는, 이진수 0 및 1에 각각 매칭된 기설정된 제1시간간격 또는 기설정된 제2시간간격으로 펄스의 위치가 변조되고, 상기 마스터 전력선 통신장치는, 상기 교류전원을 입력 받고, 입력된 교류전원의 영전압점을 검출하는 제1영전압검출부;를 더 포함하고, 상기 제1영전압검출부에서 검출된 영전압점의 전후 기설정된 시간범위 이내의 시간 범위 내에서만 펄스의 위치를 변조할 수 있다.In an embodiment of the present invention, the data is modulated with a pulse position at a preset first time interval or a preset second time interval matched to binary numbers 0 and 1, respectively. A first zero voltage detection unit that receives power and detects a zero voltage point of the input AC power; further includes, and pulses only within a time range within a predetermined time range before and after the zero voltage point detected by the first zero voltage detection unit Can modulate the position of

본 발명의 일 실시예에 따르면, 전력선 통신장치를 통해 전력선을 이용한 양방향 디지털 데이터 통신을 수행할 수 있어 단위 지역 내의 통신 솔루션으로 높은 활용 가치를 가질 수 있다.According to an embodiment of the present invention, it is possible to perform two-way digital data communication using a power line through a power line communication device, so that it can have a high utilization value as a communication solution within a unit area.

본 발명의 일 실시예에 따르면, 전력선에 펄스 위치변조를 이용하여 변형된 교류전원을 송신하여 통신을 수행함으로써, 여타의 통신선 없이도 전력선만을 이용하여 데이터가 전송되어 통신망을 구성하기 위한 비용이 절감되는 효과를 발휘할 수 있다.According to an embodiment of the present invention, by transmitting a modified AC power by using a pulse position modulation on the power line to perform communication, data is transmitted using only the power line without any other communication line to reduce the cost for constructing a communication network. Can be effective.

본 발명의 일 실시예에 따르면, 마스터 전력선 통신장치와 슬레이브 전력선 통신장치 사이의 주파수 간섭이나 혼선이 발생하는 경우, 혼선이 발생한 주파수 외에 다른 기설정된 주파수 신호로 변경하여 통신을 수행함으로써, 주파수 혼선에 의한 통신 장애를 능동적으로 대처할 수 있는 효과를 발휘할 수 있다.According to an embodiment of the present invention, when frequency interference or crosstalk occurs between a master power line communication device and a slave power line communication device, communication is performed by changing to a preset frequency signal other than the frequency at which crosstalk occurs, thereby performing communication. It is possible to exert an effect of actively coping with the communication failure.

본 발명의 일 실시예에 따르면, 블록 형태의 단일 주파수의 시간간격을 통해 매 비트마다 유효성을 판단할 수 있어 특정 코드가 다른 코드로 인식될 확률을 현저히 낮추는 효과를 발휘할 수 있다.According to an embodiment of the present invention, the validity can be determined for each bit through the time interval of a single frequency in the form of a block, thereby exerting an effect of significantly lowering the probability that a specific code is recognized as another code.

본 발명의 일 실시예에 따르면, 회로의 구성 비용이 낮으면서도 통신의 신뢰성이 높은 전력선 통신장치를 제공하는 효과를 발휘할 수 있다.According to an embodiment of the present invention, it is possible to exert the effect of providing a power line communication device having high communication reliability while having a low circuit configuration cost.

본 발명의 일 실시예에 따르면, 교류전원에 약속된 주파수 신호가 존재하는지 여부만을 판단하여 통신을 수행함으로써 회로를 간략화 하고 적은 비용으로 구현할 수 있는 효과를 발휘할 수 있다.According to an embodiment of the present invention, it is possible to exert the effect of simplifying the circuit and realizing it at a low cost by performing communication only by determining whether or not the promised frequency signal exists in the AC power source.

본 발명의 일 실시예에 따르면, 주파수로부터 데이터를 복조하지 않아 노이즈의 영향을 적게 받음으로써, 안정적인 통신을 수행할 수 있는 효과를 발휘할 수 있다.According to an embodiment of the present invention, since data is not demodulated from the frequency and is less affected by noise, an effect capable of performing stable communication can be exhibited.

도 1은 본 발명의 일 실시예에 따른 마스터 전력선 통신장치 및 슬레이브 전력선 통신장치가 교류전원이 공급되는 전력선에 연결되어 있는 상태를 개략적으로 도시한다.
도 2는 본 발명의 일 실시예에 따른 전력선 통신장치를 이용하여 제어대상기기를 제어하기 위한 시스템의 구성을 개략적으로 도시한다.
도 3은 본 발명의 일 실시예에 따른 전력선 통신장치를 이용하여 제어대상기기를 제어하기 위한 시스템의 구성을 개략적으로 도시한다.
도 4는 본 발명의 일 실시예에 따른 마스터 전력선 통신장치의 내부 구성을 개략적으로 도시한다.
도 5는 본 발명의 일 실시예에 따른 슬레이브 전력선 통신장치의 내부 구성을 개략적으로 도시한다.
도 6은 본 발명의 일 실시예에 따른 마스터 전력선 통신장치 및 슬레이브 전력선 통신장치의 수행 단계를 개략적으로 도시한다.
도 7은 본 발명의 일 실시예에 따른 데이터 패킷의 형태를 개략적으로 도시한다.
도 8은 본 발명의 일 실시예에 따른 펄스 위치변조의 방법을 개략적으로 도시한다.
도 9는 본 발명의 일 실시예에 따른 전력선 통신장치에 의한 교류전원 신호를 개략적으로 도시한다.
도 10은 본 발명의 일 실시예에 따른 전력선 통신장치에 의한 주파수가 변경된 교류전원 신호를 개략적으로 도시한다.
도 11은 본 발명의 일 실시예에 따른 전력선 통신장치에 의한 교류전원 신호를 개략적으로 도시하는 도면이다
도 12는 본 발명의 일 실시예에 따른 전원부의 내부 구성을 개략적으로 도시한다.
도 13은 본 발명의 일 실시예에 따른 교류전원 신호의 복조 과정의 단계를 개략적으로 도시한다.
도 14는 본 발명의 일 실시예에 따른 교류전원 신호가 복조 되는 과정을 개략적으로 도시한다.
1 schematically illustrates a state in which a master power line communication device and a slave power line communication device according to an embodiment of the present invention are connected to a power line supplied with AC power.
2 schematically shows a configuration of a system for controlling a control target device using a power line communication device according to an embodiment of the present invention.
3 schematically shows a configuration of a system for controlling a control target device using a power line communication device according to an embodiment of the present invention.
4 schematically shows an internal configuration of a master power line communication device according to an embodiment of the present invention.
5 schematically shows an internal configuration of a slave power line communication device according to an embodiment of the present invention.
6 schematically illustrates steps of performing a master power line communication device and a slave power line communication device according to an embodiment of the present invention.
7 schematically shows a form of a data packet according to an embodiment of the present invention.
8 schematically shows a method of pulse position modulation according to an embodiment of the present invention.
9 schematically illustrates an AC power signal by a power line communication device according to an embodiment of the present invention.
10 schematically shows an AC power signal whose frequency is changed by a power line communication device according to an embodiment of the present invention.
11 is a view schematically showing an AC power signal by a power line communication device according to an embodiment of the present invention.
12 schematically shows an internal configuration of a power supply unit according to an embodiment of the present invention.
13 schematically shows steps of a demodulation process of an AC power signal according to an embodiment of the present invention.
14 schematically illustrates a process in which an AC power signal is demodulated according to an embodiment of the present invention.

이하에서는, 다양한 실시예들 및/또는 양상들이 이제 도면들을 참조하여 개시된다. 하기 설명에서는 설명을 목적으로, 하나이상의 양상들의 전반적 이해를 돕기 위해 다수의 구체적인 세부사항들이 개시된다. 그러나, 이러한 양상(들)은 이러한 구체적인 세부사항들 없이도 실행될 수 있다는 점 또한 본 발명의 기술 분야에서 통상의 지식을 가진 자에게 인식될 수 있을 것이다. 이후의 기재 및 첨부된 도면들은 하나 이상의 양상들의 특정한 예시적인 양상들을 상세하게 기술한다. 하지만, 이러한 양상들은 예시적인 것이고 다양한 양상들의 원리들에서의 다양한 방법들 중 일부가 이용될 수 있으며, 기술되는 설명들은 그러한 양상들 및 그들의 균등물들을 모두 포함하고자 하는 의도이다.In the following, various embodiments and/or aspects are now disclosed with reference to the drawings. In the following description, for purposes of explanation, a number of specific details are disclosed to aid the overall understanding of one or more aspects. However, it will also be appreciated by those skilled in the art that this aspect(s) can be practiced without these specific details. The following description and the annexed drawings set forth in detail certain illustrative aspects of the one or more aspects. However, these aspects are exemplary and some of the various methods in the principles of the various aspects may be used, and the descriptions described are intended to include all such aspects and their equivalents.

또한, 다양한 양상들 및 특징들이 다수의 디바이스들, 컴포넌트들 및/또는 모듈들 등을 포함할 수 있는 시스템에 의하여 제시될 것이다. 다양한 시스템들이, 추가적인 장치들, 컴포넌트들 및/또는 모듈들 등을 포함할 수 있다는 점 그리고/또는 도면들과 관련하여 논의된 장치들, 컴포넌트들, 모듈들 등 전부를 포함하지 않을 수도 있다는 점 또한 이해되고 인식되어야 한다.In addition, various aspects and features will be presented by a system that may include multiple devices, components and/or modules, and the like. The various systems may also include additional devices, components and/or modules, and/or may not include all of the devices, components, modules, etc. discussed in connection with the drawings. It must be understood and recognized.

본 명세서에서 사용되는 "실시예", "예", "양상", "예시" 등은 기술되는 임의의 양상 또는 설계가 다른 양상 또는 설계들보다 양호하다거나, 이점이 있는 것으로 해석되지 않을 수도 있다. 아래에서 사용되는 용어들 '~부', '컴포넌트', '모듈', '시스템', '인터페이스' 등은 일반적으로 컴퓨터 관련 엔티티(computer-related entity)를 의미하며, 예를 들어, 하드웨어, 하드웨어와 소프트웨어의 조합, 소프트웨어를 의미할 수 있다.As used herein, "an embodiment", "yes", "a good", "an example", etc. may not be construed as any aspect or design described being better or more advantageous than the other aspect or designs. . The terms'~unit','component','module','system', and'interface' used in the following generally mean a computer-related entity, for example, hardware, hardware And software, can mean software.

또한, "포함한다" 및/또는 "포함하는"이라는 용어는, 해당 특징 및/또는 구성요소가 존재함을 의미하지만, 하나이상의 다른 특징, 구성요소 및/또는 이들의 그룹의 존재 또는 추가를 배제하지 않는 것으로 이해되어야 한다.Also, the terms “comprises” and/or “comprising” mean that the feature and/or component is present, but excludes the presence or addition of one or more other features, elements, and/or groups thereof. It should be understood as not.

또한, 제1, 제2 등과 같이 서수를 포함하는 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되지는 않는다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다.Further, terms including ordinal numbers such as first and second may be used to describe various components, but the components are not limited by the terms. The terms are used only for the purpose of distinguishing one component from other components. For example, the first component may be referred to as a second component without departing from the scope of the present invention, and similarly, the second component may be referred to as a first component. The term and/or includes a combination of a plurality of related described items or any one of a plurality of related described items.

또한, 본 발명의 실시예들에서, 별도로 다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 발명의 실시예에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.In addition, in the embodiments of the present invention, unless defined otherwise, all terms used herein, including technical or scientific terms, are generally understood by those skilled in the art to which the present invention pertains. It has the same meaning as that. Terms, such as those defined in a commonly used dictionary, should be interpreted as having meanings consistent with meanings in the context of related technologies, and are ideal or excessively formal meanings unless explicitly defined in the embodiments of the present invention. Is not interpreted as

도 1은 본 발명의 일 실시예에 따른 마스터 전력선 통신장치 및 슬레이브 전력선 통신장치가 교류전원이 공급되는 전력선에 연결되어 있는 상태를 개략적으로 도시한다.1 schematically illustrates a state in which a master power line communication device and a slave power line communication device according to an embodiment of the present invention are connected to a power line supplied with AC power.

도 1에 도시된 바에 따르면, 본 발명의 일 실시예에 따른 마스터 전력선 통신장치(200) 및 복수의 전력선 통신장치를 이용한 데이터 통신 시스템은, 각각의 전력선 통신장치가 교류전원(20)에 연결되고, 마스터 전력선 통신장치(200)는 컴퓨팅 장치(관제실 서버 등)와 연결되어 연결된 컴퓨팅 장치를 통해 송신된 데이터패킷을 수신할 수 있다. 상기 마스터 전력선 통신장치(200)에서 복수의 슬레이브 전력선 통신장치(300)로 송신하는 데이터패킷은 예를 들어, 마스터 전력선 통신장치(200)가 조명컨트롤러에 구비되어 있고, 복수의 슬레이브 전력선 통신장치(300)가 상기 조명컨트롤러에 의하여 제어되는 조명장치인 경우에, 상기 조명장치를 ON/OFF하거나 혹은 조명장치의 디밍조절을 하는 신호에 해당할 수 있다. 이처럼 슬레이브 전력선 통신장치(300)는 마스터 전력선 통신장치(200)로부터 데이터패킷을 수신하여 연결된 제어대상기기를 제어할 수 있다. 마스터 전력선 통신장치(200)에서 슬레이브 전력선 통신장치(300)로 송신하는 데이터패킷은 해당 제어대상기기에 대한 제어명령 혹은 슬레이브 전력선 통신장치(300)에 대한 응답명령에 해당할 수 있고, 슬레이브 전력선 통신장치(300)에서 마스터 전력선 통신장치(200)로 송신하는 데이터패킷은 응답명령에 대한 응답신호 혹은 제어명령에 의한 조명장치의 제어결과에 따른 상태정보에 해당할 수 있다. 이와 같이 본 발명의 마스터 전력선 통신장치(200) 및 슬레이브 전력선 통신장치(300)는 데이터패킷을 변복조하여 교류전원(20)이 연결된 전력선을 통해 송수신 할 수 있다. 각각의 데이터를 송신하는 경우에는, 송신 할 데이터패킷을 수신하여, 영전압점을 중심으로 기설정된 시간간격으로 펄스 위치 변조된 신호를 생성하여 동조부로 송신하고, 데이터를 수신하는 경우에는, 수신한 신호에 결합된 변조된 데이터를 복조하여 비트값을 판독할 수 있다.As shown in FIG. 1, in a data communication system using a master power line communication device 200 and a plurality of power line communication devices according to an embodiment of the present invention, each power line communication device is connected to an AC power source 20 , The master power line communication device 200 may be connected to a computing device (control room server, etc.) and receive a data packet transmitted through the connected computing device. For the data packet transmitted from the master power line communication device 200 to the plurality of slave power line communication devices 300, for example, the master power line communication device 200 is provided in the lighting controller, and the plurality of slave power line communication devices ( When 300) is a lighting device controlled by the lighting controller, it may correspond to a signal for turning on/off the lighting device or adjusting dimming of the lighting device. In this way, the slave power line communication device 300 may receive a data packet from the master power line communication device 200 to control the connected control target device. The data packet transmitted from the master power line communication device 200 to the slave power line communication device 300 may correspond to a control command for the control target device or a response command for the slave power line communication device 300, and the slave power line communication The data packet transmitted from the device 300 to the master power line communication device 200 may correspond to a response signal to a response command or state information according to a control result of a lighting device by a control command. In this way, the master power line communication device 200 and the slave power line communication device 300 of the present invention can modulate and demodulate the data packet to transmit and receive data through the power line to which the AC power source 20 is connected. In the case of transmitting each data, a data packet to be transmitted is received, and a pulse position modulated signal is generated at a predetermined time interval around a zero voltage point, transmitted to a tuning unit, and when receiving data, the received signal The bit values can be read by demodulating the modulated data coupled to.

또한, 도 1에 도시된 바와 같이 본 발명의 마스터 전력선 통신장치(200) 및 슬레이브 전력선 통신장치(300)는 양방향으로 통신이 가능하기 때문에 마스터 전력선 통신장치(200)로부터 슬레이브 전력선 통신장치(300)로의 데이터패킷의 전송뿐만 아니라, 슬레이브 전력선 통신장치(300)로부터 마스터 전력선 통신장치(200)의 데이터패킷의 전송 역시 가능하다. 즉, 마스터 전력선 통신장치(200)로부터 제어명령이 및 응답명령이 송신되면, 슬레이브 전력선 통신장치(300)에서는 해당 응답명령에 대한 응답신호를 송신할 수 있고, 응답신호를 송신한 후, 수신한 제어명령에 따라 연결된 제어대상기기를 제어할 수 있다. 마스터 전력선 통신장치(200)에서는 응답명령을 수신한 후 해당 제어대상기기에 대한 제어명령을 슬레이브 전력선 통신장치(300)로 송신할 수 있다.In addition, as illustrated in FIG. 1, the master power line communication device 200 and the slave power line communication device 300 of the present invention can communicate in both directions, so that the slave power line communication device 300 from the master power line communication device 200 In addition to the transmission of the data packet to the furnace, it is also possible to transmit the data packet of the master power line communication device 200 from the slave power line communication device 300. That is, when a control command and a response command are transmitted from the master power line communication device 200, the slave power line communication device 300 may transmit a response signal for the corresponding response command, and after transmitting the response signal, the received The connected control target device can be controlled according to the control command. After receiving a response command, the master power line communication device 200 may transmit a control command for the corresponding control target device to the slave power line communication device 300.

마스터 전력선 통신장치(200)는 외부의 컴퓨팅 장치 혹은 사용자의 입력이 수신되는 컨트롤패널과 연결될 수 있고, 슬레이브 전력선 통신장치(300)에는 제어대상기기가 연결될 수 있다.The master power line communication device 200 may be connected to an external computing device or a control panel through which a user input is received, and a control target device may be connected to the slave power line communication device 300.

도 2는 본 발명의 일 실시예에 따른 전력선 통신장치를 이용하여 제어대상기기를 제어하기 위한 시스템의 구성을 개략적으로 도시한다.2 schematically shows a configuration of a system for controlling a control target device using a power line communication device according to an embodiment of the present invention.

본 발명의 일 실시예에 따른 마스터 전력선 통신장치(200)는 전력선을 통해 복수의 슬레이브 전력선 통신장치(300)와 통신을 수행할 수 있고, 이와 같은 통신을 통하여 마스터 전력선 통신장치(200)는 복수의 슬레이브 전력선 통신장치(300)에 연결된 제어대상기기를 제어할 수 있다. 도 2에 도시된 바에 따르면 제어대상기기에 대한 제어 명령을 입력할 수 있는 마스터 전력선 통신장치(200) 및 마스터 전력선 통신장치(200)와 통신을 수행하여 제어명령을 수신하고, 수신한 제어 명령을 통해 제어대상기기를 제어하는 슬레이브 전력선 통신장치(300)가 접속될 수 있다. 마스터 전력선 통신장치(200)는 사용자가 직접 혹은 유선 혹은 무선으로 연결된 컴퓨팅 장치(관제실 서버 등)를 통해 접근할 수 있는 곳에 위치하고, 슬레이브 전력선 통신장치(300)는 제어대상기기의 인근에 위치함으로써 사용자는 원거리에서 제어대상기기에 대한 제어를 수행할 수 있다. 전력선을 통해서는 마스터 전력선 통신장치(200), 복수의 슬레이브 전력선 통신장치(300) 및 제어대상기기에 대한 전원이 공급됨과 동시에 상기 마스터 전력선 통신장치(200) 및 상기 슬레이브 전력선 통신장치(300)간의 통신이 수행될 수 있다.The master power line communication device 200 according to an embodiment of the present invention may communicate with a plurality of slave power line communication devices 300 through a power line, and through such communication, the master power line communication device 200 may include a plurality of The control target device connected to the slave power line communication device 300 may be controlled. As illustrated in FIG. 2, the control command is received by performing communication with the master power line communication device 200 and the master power line communication device 200 capable of inputting a control command for the control target device, and receiving the control command. The slave power line communication device 300 that controls the control target device may be connected. The master power line communication device 200 is located where the user can access it directly or through a wired or wirelessly connected computing device (control room server, etc.), and the slave power line communication device 300 is located near the controlled device. Can control the device to be controlled from a distance. Power is supplied to the master power line communication device 200, the plurality of slave power line communication devices 300, and the control target device through the power line, and at the same time, between the master power line communication device 200 and the slave power line communication device 300. Communication can be performed.

이와 같이 구성된 시스템에서는 외부단말기 혹은 네트워크를 통해 마스터 전력선 통신장치(200)에 제어명령이 입력되면, 마스터 전력선 통신장치(200)는 제어명령과 관련된 제어대상기기가 연결된 슬레이브 전력선 통신장치(300)에 응답명령을 송신하고, 상기 응답명령을 수신한 슬레이브 전력선 통신장치(300)는 마스터 전력선 통신장치(200)로부터 주파수 혼선 및 간섭과 같은 통신장애 없이 신호를 수신할 수 있는 경우, 수신한 응답명령에 대한 응답신호를 송신한다. 이와 같은 응답신호를 수신한 마스터 전력선 통신장치(200)는, 슬레이브 전력선 통신장치(300)로 외부로부터 수신한 제어명령을 송신하고, 슬레이브 전력선 통신장치(300)는 수신한 제어명령에 따라 제어대상기기를 제어한다.In the system configured as described above, when a control command is input to the master power line communication device 200 through an external terminal or a network, the master power line communication device 200 is connected to a slave power line communication device 300 to which a control target device related to the control command is connected. When a response command is transmitted, and the slave power line communication device 300 receiving the response command can receive a signal from the master power line communication device 200 without communication interference such as frequency crosstalk and interference, the slave power line communication device 300 receives the response command. The response signal is transmitted. The master power line communication device 200 receiving the response signal transmits a control command received from the outside to the slave power line communication device 300, and the slave power line communication device 300 is the control target according to the received control command. Control your device.

또한, 슬레이브 전력선 통신장치(300)는 제어대상기기로부터 상기 제어명령의 수행결과를 포함하는 상태정보를 도출할 수 있고, 상기 상태정보를 송신하거나, 혹은 마스터 전력선 통신장치(200)의 응답명령에 대한 응답신호에 상기 상태정보를 포함하여 응답신호를 송신할 수도 있다.In addition, the slave power line communication device 300 can derive state information including a result of performing the control command from a control target device, transmit the state information, or respond to a response command of the master power line communication device 200. The response signal may be transmitted by including the status information in the response signal.

도 3은 본 발명의 일 실시예에 따른 전력선 통신장치를 이용하여 제어대상기기를 제어하기 위한 시스템의 구성을 개략적으로 도시한다.3 schematically shows a configuration of a system for controlling a control target device using a power line communication device according to an embodiment of the present invention.

도 2에 도시된 바와 같이 제어명령을 입력할 수 있는 마스터 전력선 통신장치(200)와 제어대상기기의 인근에 위치하여 제어대상기기를 제어하는 슬레이브 전력선 통신장치(300)를 포함하는 시스템을 구성할 수 있다.As shown in FIG. 2, a system including a master power line communication device 200 capable of inputting a control command and a slave power line communication device 300 located in the vicinity of the control target device to control the control target device may be configured. Can be.

이 때, 제어대상기기가 복수인 경우, 슬레이브 전력선 통신장치(300) 또한 복수로 구비될 수 있다. 도 3에는 본 발명의 일 실시예에 따른 3개의 슬레이브 전력선 통신장치(300)를 포함하는 시스템의 연결 구조가 도시되어 있다. 도 3의 (a)에서는 3개의 슬레이브 전력선 통신장치(300)가 병렬로 연결되어 있고, 도 3의 (b)에서는 3개의 슬레이브 전력선 통신장치(300)가 직렬로 연결되어 있다. 3개의 슬레이브 전력선 통신장치(300)에는 각각 제어대상기기가 연결될 수 있다. 또한 도 3에는 도시되지 않았지만 슬레이브 전력선 통신장치(300)는 직렬과 병렬이 섞여 복합적으로 연결되어 있을 수도 있다.In this case, when there are a plurality of control target devices, a plurality of slave power line communication devices 300 may also be provided. 3 illustrates a connection structure of a system including three slave power line communication devices 300 according to an embodiment of the present invention. In FIG. 3(a), three slave power line communication devices 300 are connected in parallel, and in FIG. 3(b), three slave power line communication devices 300 are connected in series. Control devices may be connected to the three slave power line communication devices 300. In addition, although not shown in FIG. 3, the slave power line communication device 300 may be connected in series and in parallel to be connected in combination.

이와 같이 복수의 슬레이브 전력선 통신장치(300)가 연결되어 있는 경우에 마스터 전력선 통신장치(200)는 상기 3개의 슬레이브 전력선 통신장치(300) 모두에 제어명령 및 응답명령을 송신할 수도 있고, 제어명령을 수신할 슬레이브 전력선 통신장치(300)를 지정하여 제어명령 및 응답명령을 송신할 수도 있다. 이때, 마스터 전력선 통신장치(200)는 슬레이브 전력선 통신장치(300) 각각에 부여된 식별정보를 포함하여 제어명령 및 응답명령을 전송하는 등의 방법을 통하여 목표하는 슬레이브 전력선 통신장치(300)에 제어명령 및 응답명령을 전송할 수 있다.As described above, when a plurality of slave power line communication devices 300 are connected, the master power line communication device 200 may transmit control commands and response commands to all three slave power line communication devices 300, or control commands. By designating the slave power line communication device 300 to receive the data, a control command and a response command may be transmitted. At this time, the master power line communication device 200 controls the target slave power line communication device 300 through a method such as transmitting a control command and a response command including identification information provided to each of the slave power line communication devices 300. Commands and response commands can be sent.

마찬가지로 상기 슬레이브 전력선 통신장치(300)가 응답명령에 대한 응답신호를 송신하는 경우에도 마스터 전력선 통신장치(200)에 부여된 식별정보를 포함하여 응답신호를 전송함으로써 다른 슬레이브 전력선 통신장치(300)가 아닌, 마스터 전력선 통신장치(200)로 응답신호를 전송할 수 있다. 이때, 상기 마스터 전력선 통신장치(200)의 식별정보뿐만 아니라, 응답신호를 전송하는 슬레이브 전력선 통신장치(300)는 응답신호에 슬레이브 전력선 통신장치(300) 자신의 식별정보를 포함하여 전송함으로써, 상기 마스터 전력선 송신장치가 어느 슬레이브 전력선 통신장치(300)로부터 응답신호가 수신되었는지 여부를 판단할 수 있도록 할 수 있다.Similarly, even when the slave power line communication device 300 transmits a response signal for a response command, another slave power line communication device 300 is transmitted by transmitting a response signal including identification information given to the master power line communication device 200. Alternatively, a response signal may be transmitted to the master power line communication device 200. At this time, in addition to the identification information of the master power line communication device 200, the slave power line communication device 300 transmitting a response signal includes the identification information of the slave power line communication device 300 in the response signal, thereby transmitting the The master power line transmitting device can determine whether a response signal is received from a slave power line communication device 300.

*도 4는 본 발명의 일 실시예에 따른 마스터 전력선 통신장치(200)의 내부 구성을 개략적으로 도시한다.* Figure 4 schematically shows the internal configuration of the master power line communication device 200 according to an embodiment of the present invention.

도 4에 도시된 바에 따르면, 본 발명의 일 실시예에 따른, 마스터 전력선 통신장치(200)는 제1전원부(220), 제1통신부(210), 제1동조부(240), 제1변조부(260), 제1파형변환부(270), 제1영전압검출부(230) 및 제1MCU(250)를 포함할 수 있다.4, according to an embodiment of the present invention, the master power line communication device 200 includes a first power supply unit 220, a first communication unit 210, a first tuning unit 240, and a first modulation. It may include a unit 260, a first waveform conversion unit 270, a first zero voltage detection unit 230 and the first MCU (250).

상기 제1전원부(220)는 교류전원(20)을 정류하여 마스터 전력선 통신장치(200)에 필요한 전원을 공급한다.The first power supply unit 220 rectifies the AC power supply 20 to supply power required for the master power line communication device 200.

상기 제1통신부(210)는 외부의 장치와 통신을 수행한다. 상기 제1통신부(210)는 유무선 통신망 등을 통해서 컴퓨팅장치 및 컨트롤패널 등과 같은 연결된 장치로부터 송신대상 데이터패킷을 수신하여 제1MCU(250)로 출력하거나, 제1MCU(250)로부터 수신대상 데이터패킷을 수신하여 연결된 장치로 출력한다. 이 때, 데이터패킷은 이진수 1 또는 이진수 0으로 변환될 수 있다.The first communication unit 210 communicates with an external device. The first communication unit 210 receives a data packet to be transmitted from a connected device such as a computing device and a control panel through a wired/wireless communication network or the like, and outputs the data packet to the first MCU 250, or receives the data packet to be received from the first MCU 250. Receive and output to the connected device. At this time, the data packet may be converted to binary 1 or binary 0.

상기 제1동조부(240)는 변조된 데이터를 펄스 위치변조 하여 변조된 펄스에 맞추어 기설정된 주파수 신호를 블록형태로 상기 전력선의 교류신호에 동조하여 송신하거나 상기 전력선의 교류신호를 수신하여 상기 전력선의 교류전원(20)에 결합된 변조된 데이터를 검출한다. The first tuning unit 240 modulates the modulated data by pulse position modulation and transmits a predetermined frequency signal in synchronization with the AC signal of the power line in a block form or receives the AC signal of the power line by receiving the AC signal of the power line. Modulated data coupled to the AC power source 20 of the detection.

상기 제1동조부(240)는 교류전원(20)을 입력 받고, 수신한 교류전원(20)에서 기설정된 단일 주파수 신호를 분리하여 상기 제1파형변환부(270)로 입력하거나, 상기 교류전원(20)의 파형을 직접 제1파형변환부(270)로 입력하고(데이터 수신), 상기 제1변조부(260)로부터 입력 받은 기설정된 단일 주파수 신호를 상기 전력선의 교류전원(20)에 결합(데이터 송신)하여 생성된 변형 교류전원(20)을 출력한다.The first tuning unit 240 receives the AC power 20, separates a preset single frequency signal from the received AC power 20, and inputs it to the first waveform converter 270, or the AC power The waveform of (20) is directly input to the first waveform conversion unit 270 (data reception), and a predetermined single frequency signal input from the first modulation unit 260 is coupled to the AC power supply 20 of the power line. The output of the modified AC power source 20 generated by (data transmission) is output.

상기 제1변조부(260)는 상기 제1MCU(250)의 제어에 따라 전력선을 통해 전송할 데이터를 변조한다. 본 발명의 일 실시예에서 상기 제1변조부(260)는 전송할 데이터를 펄스 위치변조(PPM)하고, 상기 제1동조부(240)를 통해 상기 교류전원(20)에 결합하도록 할 수 있다.The first modulator 260 modulates data to be transmitted through a power line under the control of the first MCU 250. In an embodiment of the present invention, the first modulator 260 may perform pulse position modulation (PPM) of data to be transmitted, and be coupled to the AC power source 20 through the first tuner 240.

상기 제1파형변환부(270)는 상기 제1동조부(240)에서 검출된 상기 전력선의 교류전원(20)에 결합된 변조된 데이터를 복조 할 수 있는 신호로 변환한다. 본 발명의 일 실시예에서 상기 제1파형변환부(270)는 밴드패스필터 등을 이용하여 상기 교류전원(20)에 결합된 기설정된 단일 주파수 신호를 추출함으로써 상기 교류전원(20)에 결합된 변조된 데이터를 복조 할 수 있도록 할 수 있다.The first waveform conversion unit 270 converts the modulated data coupled to the AC power supply 20 of the power line detected by the first tuning unit 240 into a signal capable of demodulation. In an embodiment of the present invention, the first waveform converter 270 is coupled to the AC power source 20 by extracting a predetermined single frequency signal coupled to the AC power source 20 using a band pass filter or the like. It is possible to demodulate the modulated data.

상기 제1영전압검출부(230)는 상기 교류전원(20)을 입력 받고, 입력된 교류전원(20)의 영전압점을 검출한다. 검출된 상기 영전압점은 상기 제1MCU(250)로 입력될 수 있다.The first zero voltage detection unit 230 receives the AC power 20 and detects a zero voltage point of the input AC power 20. The detected zero voltage point may be input to the first MCU 250.

이 때, 상기 제1MCU(250)는 상기 제1영전압검출부(230)에 의해 검출된 영전압점을 기준으로 하여 펄스 위치변조(PPM)하도록 상기 제1변조부(260)를 제어할 수 있다.At this time, the first MCU 250 may control the first modulator 260 to pulse position modulation (PPM) based on the zero voltage point detected by the first zero voltage detector 230.

또한, 제1MCU(250)의 제1복조부(252)는 상기 제1영전압검출부(230)에서 검출된 영전압점에 기초하여 수신된 데이터를 복조 할 수 있다.In addition, the first demodulator 252 of the first MCU 250 may demodulate data received based on the zero voltage point detected by the first zero voltage detector 230.

이와 같이 펄스를 변조할 때 교류전원(20)의 영전압점을 기준으로 함으로써 교류전원(20)의 반주기마다 전송되는 데이터의 타이밍을 동기화시킬 수 있고, 이와 같이 동기화 된 데이터로 변조 및 복조가 이루어지게 되어 데이터 전송의 안정성을 높이는 효과를 발휘할 수 있다.When modulating the pulse as described above, the timing of data transmitted every half cycle of the AC power source 20 can be synchronized by using the zero voltage point of the AC power source 20 as a reference, and modulation and demodulation can be performed with the synchronized data. It can exert the effect of increasing the stability of data transmission.

본 발명의 다른 실시예에서는 상기 제1영전압검출부(230)가 검출한 영전압점을 중심으로 기설정된 시간 범위 이내의 시간 범위에서만 변조된 펄스에 맞추어 기설정된 단일 주파수 신호를 교류신호에 동조하도록 할 수 있다. 이와 같이 상기 영전압점을 중심으로 기설정된 시간 범위 이내의 시간 범위에서만 신호를 전송하는 것은 교류 전원 자체의 전원노이즈로 인해 영향을 받기 쉬운 전원의 피크 영역에서는 신호를 전송하지 않고, 전원노이즈의 영향이 적은 영전압점 인근에서만 신호를 전송하여 통신의 안정성을 확보하기 위한 방법이다. 이와 같이 영전압점 인근에서만 신호를 전송하는 방식의 보다 구체적인 설명은 도 11의 설명에서 후술하도록 한다.According to another embodiment of the present invention, a preset single frequency signal is tuned to an AC signal in accordance with a pulse modulated only in a time range within a preset time range based on a zero voltage point detected by the first zero voltage detection unit 230. Can be. As described above, transmitting a signal only in a time range within a preset time range around the zero voltage point does not transmit a signal in a peak region of the power source that is susceptible to power noise of the AC power itself, and the influence of the power noise It is a method to ensure the stability of communication by transmitting signals only near the zero voltage point. As described above, a more detailed description of the method of transmitting a signal only near the zero voltage point will be described later in the description of FIG. 11.

한편, 상기 제1MCU(250)는 제어명령송신부(251), 응답명령송신부(253), 제1복조부(252), 통신장애판별부(254), 주파수변경부(255) 및 모니터링정보송신부(256)를 포함한다.Meanwhile, the first MCU 250 includes a control command transmitting unit 251, a response command transmitting unit 253, a first demodulating unit 252, a communication failure determining unit 254, a frequency changing unit 255, and a monitoring information transmitting unit ( 256).

상기 제1복조부(252)는, 상기 제1파형변환부(270)에서 변환된 신호 및 상기 제1영전압검출부(230)에 의해 검출된 영전압점에 기초하여 수신된 데이터를 복조한다. 변환된 신호로부터 펄스의 시간간격에 상응하는 비트값을 판독할 수 있다.The first demodulator 252 demodulates data received based on the signal converted by the first waveform converter 270 and the zero voltage point detected by the first zero voltage detector 230. The bit value corresponding to the time interval of the pulse can be read from the converted signal.

*상기 제어명령송신부(251)는, 복수의 슬레이브 전력선 통신장치(300)에 연결된 제어대상기기를 제어하는 제어명령을 상기 제1동조부(240)를 통해 전력선으로 송신한다. 상기 제어명령은 제1변조부(260)를 통해 제1영전압검출부(230)에 의하여 검출된 영전압점을 기준으로 하여 펄스 위치변조되고, 변조된 상기 제어명령은 제1동조부(240)를 통해 전력선으로 송신된다.* The control command transmission unit 251 transmits a control command for controlling a control target device connected to a plurality of slave power line communication devices 300 to the power line through the first tuning unit 240. The control command is a pulse position modulation based on the zero voltage point detected by the first zero voltage detection unit 230 through the first modulation unit 260, the modulated control command is the first tuning unit 240 Is transmitted through the power line.

상기 응답명령송신부(253)는, 복수의 슬레이브 전력선 통신장치(300)에 대한 응답명령을 상기 제1동조부(240)를 통해 전력선으로 송신한다. 상기 응답명령 또한 제1변조부(260)를 통해 제1영전압검출부(230)에 의하여 검출된 영전압점을 기준으로 하여 펄스 위치변조되고, 변조된 상기 응답명령은 제1동조부(240)를 통해 전력선으로 송신된다. 이와 같은 응답명령을 수신한 복수의 슬레이브 전력선 통신장치(300)는 마스터 전력선 통신장치(200)와 주파수 혼선이나 간섭의 문제없이 데이터패킷의 송수신이 원활하게 이루어지는 경우, 상기 응답명령에 대한 응답신호를 송신할 수 있다.The response command transmission unit 253 transmits a response command to a plurality of slave power line communication devices 300 to the power line through the first tuning unit 240. The response command is also pulse position modulated based on the zero voltage point detected by the first zero voltage detection unit 230 through the first modulation unit 260, and the modulated response command is the first tuning unit 240. Is transmitted through the power line. The plurality of slave power line communication devices 300 receiving the response command transmits and receives a response signal to the response command when data packets are smoothly transmitted and received without a problem of frequency interference or interference with the master power line communication device 200. I can send it.

상기 통신장애판별부(254)는, 복수의 슬레이브 전력선 통신장치(300)로부터 수신된 응답신호에 기초하여 교류전원(20)에 동조되어 송신되는 주파수 신호의 통신장애여부를 판별한다. 통신장애판별부(254)는, 복수의 슬레이브 전력선 통신장치(300)로부터 각각의 응답신호를 수신하고, 응답명령송신부(253)에서 송신한 응답명령에 대응하는 응답신호가 모두 수신된 경우에는, 통신이 원활한 것으로 판별하고, 어느 하나의 슬레이브 전력선 통신장치(300)로부터 혹은 모든 슬레이브 전력선 통신장치(300)로부터 응답신호가 수신되지 않는 경우에는 통신장애로 판별한다.The communication fault discrimination unit 254 determines whether the communication signal of the frequency signal that is transmitted in synchronization with the AC power supply 20 is based on the response signal received from the plurality of slave power line communication devices 300. When the communication failure determining unit 254 receives each response signal from the plurality of slave power line communication devices 300, and when all response signals corresponding to the response command transmitted from the response command transmission unit 253 are received, It is determined that communication is smooth, and if a response signal is not received from any one slave power line communication device 300 or all slave power line communication devices 300, it is determined as a communication failure.

상기 주파수변경부(255)는, 상기 통신장애판별부(254)에서 판별한 통신장애여부에 기초하여 기설정된 기준에 따라 상기 제1동조부(240)에서의 교류전원(20)에 동조되어 송신되는 주파수 신호를 변경한다. 교류전원(20)에 노이즈 성분의 주파수 신호가 유입되거나, 주파수 간섭 등의 문제로 통신이 원활하지 않은 경우 슬레이브 전력선 통신장치(300)로부터 응답신호가 수신될 수 없다. 이에 따라, 주파수변경부(255)는, 통신장애가 한 발생한 주파수 신호 외의 1 이상의 기설정된 주파수 신호 중 하나로 변경하여 송신하는 데이터패킷이 변경된 주파수 신호에 따라 제1동조부(240)에서의 교류전원(20)에 동조되어 송신되도록 한다. 이와 같이, 주파수 신호를 변경함으로써, 데이터 통신장애가 발생한 순간에 원인이 되는 노이즈성 주파수 신호와의 간섭을 회피할 수 있다. 주파수변경부(255)는 1 이상의 기설정된 주파수 신호 중 어느 하나로 마스터 전력선 통신장치(200) 및 슬레이브 전력선 통신장치(300)의 통신 주파수를 변경할 수 있다.The frequency changing unit 255 is tuned to the AC power source 20 in the first tuning unit 240 according to a predetermined criterion based on whether the communication failure is determined by the communication failure determining unit 254 and transmitted. Changes the frequency signal. When the frequency signal of the noise component is introduced into the AC power source 20 or communication is not smooth due to a problem such as frequency interference, a response signal cannot be received from the slave power line communication device 300. Accordingly, the frequency changing unit 255 changes the AC power from the first tuning unit 240 according to the changed frequency signal of the data packet to be transmitted by changing to one of one or more preset frequency signals other than the frequency signal in which a communication failure occurred. 20). As described above, by changing the frequency signal, it is possible to avoid interference with the noisy frequency signal, which is the cause at the moment of data communication failure. The frequency changing unit 255 may change the communication frequency of the master power line communication device 200 and the slave power line communication device 300 to any one of one or more preset frequency signals.

상기 모니터링정보송신부(256)는, 복수의 슬레이브 전력선 통신장치(300)로부터 수신한 상기 응답신호 및 상기 제어명령에 따른 제어대상기기의 상태정보에 기초하여 모니터링정보를 도출하여 송신한다. 상기 응답신호에 기초하여 각각의 슬레이브 전력선 통신장치(300)의 통신상태를 도출하고, 제어명령에 따른 제어대상기기의 상태정보를 수신하여, 통신상태 및 상태정보에 기초하여 모니터링정보를 도출하고, 도출된 모니터링정보는 마스터 전력선 통신장치(200)에 연결된 컴퓨팅 장치로 송신될 수 있다.The monitoring information transmitter 256 derives and transmits monitoring information based on the response signal received from the plurality of slave power line communication devices 300 and the state information of the control target device according to the control command. Derive the communication status of each slave power line communication device 300 based on the response signal, receive status information of a control target device according to a control command, and derive monitoring information based on the communication status and status information, The derived monitoring information may be transmitted to a computing device connected to the master power line communication device 200.

도 5는 본 발명의 일 실시예에 따른 슬레이브 전력선 통신장치(300)의 내부 구성을 개략적으로 도시한다.5 schematically shows an internal configuration of a slave power line communication device 300 according to an embodiment of the present invention.

*도 5에 도시된 바에 따르면, 본 발명의 일 실시예에 따른, 슬레이브 전력선 통신장치(300)는 제2전원부(320), 제2통신부(310), 제2동조부(340), 제2변조부(360), 제2파형변환부(370), 제2영전압검출부(330) 및 제2MCU(350)를 포함할 수 있다.5, according to an embodiment of the present invention, the slave power line communication device 300 is the second power supply unit 320, the second communication unit 310, the second tuning unit 340, the second It may include a modulation unit 360, a second waveform conversion unit 370, a second zero voltage detection unit 330 and the second MCU (350).

상기 제2전원부(320)는 교류전원(20)을 정류하여 슬레이브 전력선 통신장치(300)에 필요한 전원을 공급한다.The second power supply unit 320 rectifies the AC power supply 20 to supply power required for the slave power line communication device 300.

상기 제2통신부(310)는 외부의 장치와 통신을 수행한다. 상기 제2통신부(310)는 유무선 통신망 등을 통해서 제어대상기기와 연결되어 송신대상 데이터패킷을 수신하여 제2MCU(350)로 출력하거나, 제2MCU(350)로부터 수신대상 데이터패킷을 수신하여 연결된 장치로 출력한다. 이 때, 데이터패킷은 이진수 1 또는 이진수 0으로 변환될 수 있다.The second communication unit 310 communicates with an external device. The second communication unit 310 is connected to a control target device through a wired/wireless communication network or the like to receive a data packet to be transmitted and output it to the second MCU (350), or a device to receive a data packet to be received from the second MCU (350) Output as At this time, the data packet may be converted to binary 1 or binary 0.

상기 제2동조부(340)는 변조된 데이터를 펄스 위치변조 하여 변조된 펄스에 맞추어 기설정된 주파수 신호를 블록형태로 상기 전력선의 교류신호에 동조하여 송신하거나 상기 전력선의 교류신호를 수신하여 상기 전력선의 교류전원(20)에 결합된 변조된 데이터를 검출한다.The second tuning unit 340 modulates the modulated data by pulse position modulation, and transmits a preset frequency signal according to the modulated pulse in a block form by synchronizing and transmitting the AC signal of the power line or receiving the AC signal of the power line. Modulated data coupled to the AC power source 20 of the detection.

상기 제2동조부(340)는 교류전원(20)을 입력 받고, 수신한 교류전원(20)에서 기설정된 단일 주파수 신호를 분리하여 상기 제2파형변환부(370)로 입력하거나, 상기 교류전원(20)의 파형을 직접 제2파형변환부(370)로 입력하고(데이터 수신), 상기 제2변조부(360)로부터 입력 받은 기설정된 단일 주파수 신호를 상기 전력선의 교류전원(20)에 결합(데이터 송신)하여 생성된 변형 교류전원(20)을 출력한다.The second tuning unit 340 receives the AC power 20, separates a predetermined single frequency signal from the received AC power 20, and inputs it to the second waveform conversion unit 370, or the AC power The waveform of (20) is directly input to the second waveform conversion unit 370 (data reception), and a predetermined single frequency signal input from the second modulation unit 360 is coupled to the AC power supply 20 of the power line. The output of the modified AC power source 20 generated by (data transmission) is output.

상기 제2변조부(360)는 상기 제2MCU(350)의 제어에 따라 전력선을 통해 전송할 데이터를 변조한다. 본 발명의 일 실시예에서 상기 제2변조부(360)는 전송할 데이터를 펄스 위치변조(PPM)하고, 상기 제2동조부(340)를 통해 상기 교류전원(20)에 결합하도록 할 수 있다.The second modulator 360 modulates data to be transmitted through a power line under the control of the second MCU 350. In an exemplary embodiment of the present invention, the second modulator 360 may perform pulse position modulation (PPM) of data to be transmitted, and be coupled to the AC power source 20 through the second tuner 340.

상기 제2파형변환부(370)는 상기 제2동조부(340)에서 검출된 상기 전력선의 교류전원(20)에 결합된 변조된 데이터를 복조 할 수 있는 신호로 변환한다. 본 발명의 일 실시예에서 상기 제2파형변환부(370)는 밴드패스필터 등을 이용하여 상기 교류전원(20)에 결합된 기설정된 단일 주파수 신호를 추출함으로써 상기 교류전원(20)에 결합된 변조된 데이터를 복조 할 수 있도록 할 수 있다. 또한, 슬레이브 전력선 통신장치(300)의 제2파형변환부(370)는, 제2동조부(340)에서 검출된 신호에 따라 1 이상의 기설정된 주파수 신호 중 어느 하나에 해당하는 단일 주파수 신호를 추출한다. 마스터 전력선 통신장치(200)는 복수의 슬레이브 전력선 통신장치(300)와의 통신장애여부에 따라 1 이상의 기설정된 주파수 신호 중 어느 하나의 단일 주파수 신호를 블록 형태로 교류신호에 동조하기 때문에 상기 제2파형변환부(370)는 상기 1 이상의 기설정된 주파수 신호 모두에 대하여 단일 주파수 신호를 추출할 수 있다.The second waveform conversion unit 370 converts the modulated data coupled to the AC power supply 20 of the power line detected by the second tuning unit 340 into a signal capable of demodulation. In one embodiment of the present invention, the second waveform converter 370 is coupled to the AC power source 20 by extracting a single preset frequency signal coupled to the AC power source 20 using a band pass filter or the like. It is possible to demodulate the modulated data. In addition, the second waveform conversion unit 370 of the slave power line communication device 300 extracts a single frequency signal corresponding to any one of one or more preset frequency signals according to the signal detected by the second tuning unit 340. do. The master power line communication device 200 synchronizes any single frequency signal of one or more preset frequency signals to an AC signal in a block form according to whether or not communication failure with the plurality of slave power line communication devices 300 occurs. The converter 370 may extract a single frequency signal for all of the one or more preset frequency signals.

상기 제2영전압검출부(330)는 상기 교류전원(20)을 입력 받고, 입력된 교류전원(20)의 영전압점을 검출한다. 검출된 상기 영전압점은 상기 제2MCU(350)로 입력될 수 있다.The second zero voltage detection unit 330 receives the AC power 20 and detects a zero voltage point of the input AC power 20. The detected zero voltage point may be input to the second MCU (350).

이 때, 상기 제2MCU(350)는 상기 제1영전압검출부(230)에 의해 검출된 영전압점을 기준으로 하여 펄스 위치변조(PPM)하도록 상기 제2변조부(360)를 제어할 수 있다.At this time, the second MCU 350 may control the second modulator 360 to pulse position modulation (PPM) based on the zero voltage point detected by the first zero voltage detector 230.

또한, 제2MCU(350)의 제2복조부(352)는 상기 제2영전압검출부(330)에서 검출된 영전압점에 기초하여 수신된 데이터를 복조 할 수 있다.In addition, the second demodulator 352 of the second MCU 350 may demodulate the received data based on the zero voltage point detected by the second zero voltage detector 330.

이와 같이 펄스를 변조할 때 교류전원(20)의 영전압점을 기준으로 함으로써 교류전원(20)의 반주기마다 전송되는 데이터의 타이밍을 동기화시킬 수 있고, 이와 같이 동기화 된 데이터로 변조 및 복조가 이루어지게 되어 데이터 전송의 안정성을 높이는 효과를 발휘할 수 있다.When modulating the pulse as described above, the timing of data transmitted every half cycle of the AC power source 20 can be synchronized by using the zero voltage point of the AC power source 20 as a reference, and modulation and demodulation can be performed with the synchronized data. It can exert the effect of increasing the stability of data transmission.

한편, 상기 제2MCU(350)는 응답신호송신부(351), 상태정보송신부(353), 제2복조부(352) 및 제어신호송신부(354)를 포함한다.Meanwhile, the second MCU 350 includes a response signal transmitter 351, a status information transmitter 353, a second demodulator 352, and a control signal transmitter 354.

상기 제2복조부(352)는, 상기 제2파형변환부(370)에서 변환된 신호 및 상기 제2영전압검출부(330)에 의해 검출된 영전압점에 기초하여 수신된 데이터를 복조한다. 변환된 신호로부터 펄스의 시간간격에 상응하는 비트값을 판독할 수 있다.The second demodulator 352 demodulates the received data based on the signal converted by the second waveform converter 370 and the zero voltage point detected by the second zero voltage detector 330. The bit value corresponding to the time interval of the pulse can be read from the converted signal.

상기 응답신호송신부(351)는, 상기 마스터 전력선 통신장치(200)로부터 수신한 응답명령에 기초하여 해당 응답명령에 대한 응답신호를 송신한다. 마스터 전력선 통신장치(200)는 통신장애를 판단하기 위하여 복수의 슬레이브 전력선 통신장치(300)에 응답명령을 송신하고, 응답신호송신부(351)는 이러한 응답명령에 대한 응답신호를 펄스 위치 변조하여 마스터 전력선 통신장치(200)로 송신하도록 제2변조부(360)를 제어한다.The response signal transmission unit 351 transmits a response signal for the response command based on the response command received from the master power line communication device 200. The master power line communication device 200 transmits a response command to a plurality of slave power line communication devices 300 to determine a communication failure, and the response signal transmission unit 351 modulates the response signal for the response command to pulse position modulation to the master. The second modulator 360 is controlled to transmit to the power line communication device 200.

상기 제어신호송신부(354)는, 상기 마스터 전력선 통신장치(200)와 통신장애가 발생하지 않아, 마스터 전력선 통신장치(200)로부터 제어명령을 수신하고, 수신한 제어명령에 기초하여 연결된 제어대상기기로 해당 제어명령에 대한 제어신호를 송신한다. 예를 들어, 연결된 제어대상기기가 조명장치인 경우, 상기 제어신호는 상기 조명장치를 ON/OFF하거나 혹은 조명장치의 디밍조절을 하는 신호에 해당할 수 있다.The control signal transmission unit 354 does not cause a communication failure with the master power line communication device 200, receives a control command from the master power line communication device 200, and is connected to a control target device based on the received control command. The control signal for the control command is transmitted. For example, when the connected control device is a lighting device, the control signal may correspond to a signal for turning on/off the lighting device or adjusting dimming of the lighting device.

상기 상태정보송신부(353)는, 상기 제어신호에 따라 제어된 제어대상기기의 상태정보를 송신한다. 제어명령에 따른 제어신호를 보낸 후, 제어신호에 따른 제어대상기기의 상태를 판별하여 제어대상기기의 상태정보를 도출하고, 도출한 상태정보를 마스터 전력선 통신장치(200)로 송신하여, 마스터 전력선 통신장치(200)에서 연결된 제어대상기기에 대한 모니터링을 할 수 있도록 한다.The status information transmitting unit 353 transmits status information of the control target device controlled according to the control signal. After sending the control signal according to the control command, the state of the control target device is determined according to the control signal to derive the state information of the control target device, and the derived state information is transmitted to the master power line communication device 200 to transmit the master power line The communication device 200 enables monitoring of the connected control device.

도 6은 본 발명의 일 실시예에 따른 마스터 전력선 통신장치(200) 및 슬레이브 전력선 통신장치(300)의 수행 단계를 개략적으로 도시한다.6 schematically illustrates the steps of the master power line communication device 200 and the slave power line communication device 300 according to an embodiment of the present invention.

본 발명의 데이터 통신 시스템은, 마스터 전력선 통신장치(200)에 의하여, 제어대상기기에 대한 제어명령을 복수의 슬레이브 전력선 통신장치(300)로 송신하는 제1-1단계; 마스터 전력선 통신장치(200)에 의하여, 슬레이브 전력선 통신장치(300)에 대한 응답명령을 복수의 슬레이브 전력선 통신장치(300)로 송신하는 1-2단계; 슬레이브 전력선 통신장치(300)에 의하여, 상기 응답명령에 대응하는 응답신호를 마스터 전력선 통신장치(200)로 송신하는 제2단계; 마스터 전력선 통신장치(200)에 의하여, 복수의 슬레이브 전력선 통신장치(300)로부터 수신한 상기 응답신호에 기초하여 상기 통신장애여부를 판별하고, 판별한 상기 통신장애여부에 따라 상기 교류전원(20)에 동조되어 송신되는 주파수 신호를 변경하는 제3단계; 및 마스터 전력선 통신장치(200)에 의하여, 변경된 주파수 신호에 따른 제어대상기기에 대한 제어명령을 복수의 슬레이브 전력선 통신장치(300)로 송신하는 제4-1단계; 및 마스터 전력선 통신장치(200)에 의하여, 변경된 주파수 신호에 따른 슬레이브 전력선 통신장치(300)에 대한 응답명령을 복수의 슬레이브 전력선 통신장치(300)로 송신하는 제4-2단계;를 수행한다.The data communication system of the present invention includes: a first-first step of transmitting, by the master power line communication device 200, a control command for a control target device to a plurality of slave power line communication devices 300; Step 1-2, by the master power line communication device 200, transmits a response command to the slave power line communication device 300 to the plurality of slave power line communication devices 300; A second step of transmitting, by the slave power line communication device 300, a response signal corresponding to the response command to the master power line communication device 200; The master power line communication device 200 determines whether the communication failure is based on the response signal received from the plurality of slave power line communication devices 300, and the AC power source 20 according to the determined communication failure. A third step of changing the frequency signal to be transmitted in synchronization with; And a 4-1 step of transmitting, by the master power line communication device 200, a control command for the control target device according to the changed frequency signal to the plurality of slave power line communication devices 300; And a step 4-2 of transmitting, by the master power line communication device 200, a response command to the slave power line communication device 300 according to the changed frequency signal to the plurality of slave power line communication devices 300.

도 6의 (a)는 마스터 전력선 통신장치(200)의 수행 단계를 개략적으로 도시한다.6 (a) schematically shows the steps of the master power line communication device 200.

구체적으로, S200단계에서는, 마스터 전력선 통신장치(200)는, 제어대상기기에 대한 제어명령을 복수의 슬레이브 전력선 통신장치(300)로 송신하는 단계; 및 슬레이브 전력선 통신장치(300)에 대한 응답명령을 복수의 슬레이브 전력선 통신장치(300)로 송신하는 단계;를 수행한다. 마스터 전력선 통신장치(200)의 제어명령송신부(251)에 의하여 제어명령이 송신되고, 응답명령송신부(253)에 의하여 응답명령이 송신될 수 있다. S200단계는 상기 1-1 및 1-2단계에 상응할 수 있다.Specifically, in step S200, the master power line communication device 200 includes: transmitting a control command for the control target device to the plurality of slave power line communication devices 300; And transmitting a response command to the slave power line communication device 300 to the plurality of slave power line communication devices 300. A control command may be transmitted by the control command transmission unit 251 of the master power line communication device 200, and a response command may be transmitted by the response command transmission unit 253. Step S200 may correspond to steps 1-1 and 1-2.

S210단계에서는, 복수의 슬레이브 전력선 통신장치(300)로부터 상기 응답명령에 대응하는 응답신호의 수신여부를 판별한다. S200단계에서 제어명령 및 응답명령을 송신한 마스터 전력선 통신장치(200)는, 제어명령 및 응답명령을 송신한 복수의 슬레이브 전력선 통신장치(300)로부터 응답명령에 대응하는 응답신호가 수신되었는지 여부를 확인함으로써, 통신상태를 판별할 수 있다. 이후, 마스터 전력선 통신장치(200)는 응답명령을 송신한 슬레이브 전력선 통신장치(300)로부터 응답신호를 수신하지 못한 경우에는 S220단계를, 응답신호를 수신한 경우에는, S230단계를 수행한다.In step S210, it is determined whether a response signal corresponding to the response command is received from the plurality of slave power line communication devices 300. In step S200, the master power line communication device 200 that has transmitted the control command and the response command determines whether a response signal corresponding to the response command has been received from the plurality of slave power line communication devices 300 that have transmitted the control command and the response command. By checking, the communication state can be determined. Thereafter, the master power line communication device 200 performs step S220 when the response signal is not received from the slave power line communication device 300 that has transmitted the response command, and performs step S230 when the response signal is received.

S220단계에서는, 응답명령을 송신한 복수의 슬레이브 전력선 통신장치(300)로부터 응답신호를 수신하지 못한 마스터 전력선 통신장치(200)는 주파수변경부(255)의 동작으로 교류전원(20)에 동조되어 송신되는 주파수 신호를 변경한다. 마스터 전력선 통신장치(200)는 데이터를 펄스 위치변조하여 변조된 상기 펄스에 맞추어 1 이상의 기설정된 주파수 신호 중 어느 하나의 단일 주파수 신호를 블록 형태로 교류신호에 동조하여 송신 및 수신하고, 상기 응답신호를 수신하지 못한 경우에, 교류신호에 동조하여 송신한 상기 단일 주파수 신호를 1 이상의 기설정된 주파수 신호 중 해당 주파수 신호를 제외한 어느 하나의 단일 주파수 신호로 변경하여 변경된 단일 주파수 신호를 블록 형태로 교류신호에 동조하여 다시 송신한다. 이후, 변경된 단일 주파수 신호에 의하여 다시 송신된 제어명령 및 응답명령에 따른 응답신호를 송신하게 되면, 마스터 전력선 통신장치(200)는 S230단계를 수행한다. S220단계는 상기 제3단계에 상응할 수 있다. 바람직하게는, 상기 제1동조부는 150kHz의 주파수로 응답명령의 신호를 인가하고, 이후, 슬레이브 전력선 통신장치(300)로부터 응답신호가 수신되지 않는 경우에는 상기 주파수변경부(255)는 상기 제1동조부(240)에서 인가되는 신호의 주파수를 200kHz로 변경하고, 상기 제1동조부(240)는 200kHz의 주파수로 응답명령의 신호를 인가하고, 이후 슬레이브 전력선 통신장치(300)에서 응답신호가 없는 경우에는 주파수변경부(255)는 상기 제1동조부(240)에서 인가되는 신호의 주파수를 250kHz로 변경한다.In step S220, the master power line communication device 200 that has not received a response signal from a plurality of slave power line communication devices 300 that have transmitted a response command is synchronized with the AC power source 20 by the operation of the frequency change unit 255. Change the frequency signal to be transmitted. The master power line communication device 200 transmits and receives a single frequency signal of one or more preset frequency signals in a block form to an AC signal in synchronization with the pulse modulated by pulse position modulation of data, and transmits and receives the response signal. If it is not received, by changing the single frequency signal transmitted in synchronization with the AC signal to one single frequency signal excluding the corresponding frequency signal among one or more preset frequency signals, the altered single frequency signal is changed into a block AC signal. And then transmit again. Thereafter, when the control signal transmitted again by the changed single frequency signal and the response signal according to the response command are transmitted, the master power line communication device 200 performs step S230. Step S220 may correspond to the third step. Preferably, the first tuning unit applies a signal of a response command at a frequency of 150 kHz, and then, if a response signal is not received from the slave power line communication device 300, the frequency changing unit 255 is the first The frequency of the signal applied from the tuning unit 240 is changed to 200 kHz, and the first tuning unit 240 applies a signal of the response command at a frequency of 200 kHz, and thereafter the response signal from the slave power line communication device 300 If not, the frequency changing unit 255 changes the frequency of the signal applied from the first tuning unit 240 to 250 kHz.

S230단계에서는, 복수의 슬레이브 전력선 통신장치(300)로부터 수신된 응답신호에 기초하여 모니터링정보를 도출한다. 구체적으로, 상기 응답신호가 수신되면, 복수의 슬레이브 전력선 통신장치(300)에서는, 제어명령을 수신하여 제어대상기기를 제어하고, 제어한 결과에 대한 상태정보를 송신하고, 마스터 전력선 통신장치(200)는 수신한 상태정보 및 응답신호에 기초하여 모니터링 정보를 도출한다. 도출된 모니터링 정보는 외부의 컴퓨팅 장치로 송신될 수 있다.In step S230, monitoring information is derived based on a response signal received from the plurality of slave power line communication devices 300. Specifically, when the response signal is received, the plurality of slave power line communication devices 300 receive control commands to control the control target device, transmit status information on the control result, and the master power line communication device 200 ) Derives monitoring information based on the received status information and response signal. The derived monitoring information may be transmitted to an external computing device.

한편, 도 6의 (b)는 슬레이브 전력선 통신장치(300)의 수행 단계를 개략적으로 도시한다.On the other hand, Figure 6 (b) schematically shows the steps performed by the slave power line communication device 300.

구체적으로, S300단계에서는, 마스터 전력선 통신장치(200)로부터 제어대상기기에 대한 제어명령 및 슬레이브 전력선 통신장치(300)에 대한 응답명령을 수신한다. Specifically, in step S300, a control command for a control target device and a response command for a slave power line communication device 300 are received from the master power line communication device 200.

S310단계에서는, 응답명령을 수신한 슬레이브 전력선 통신장치(300)는 응답신호송신부(351)에 의하여 해당 응답명령에 대한 응답신호를 송신한다. 마스터 전력선 통신장치(200)부터 송신된 데이터패킷이 수신 가능한 경우, 응답신호를 송신하고, 송신된 데이터패킷을 수신하지 못하는 경우에는 응답신호를 송신하지 않는다.In step S310, the slave power line communication device 300 receiving the response command transmits a response signal for the corresponding response command by the response signal transmission unit 351. If the data packet transmitted from the master power line communication device 200 is receivable, a response signal is transmitted. If the data packet is not received, a response signal is not transmitted.

S320단계에서는, 응답신호를 송신한 슬레이브 전력선 통신장치(300)는, 마스터 전력선 통신장치(200)로부터 송신된 제어명령에 수신하여 제어신호송신부(354)에 의하여 수신한 제어명령에 대한 제어신호를 제어대상기기로 송신한다.In step S320, the slave power line communication device 300 that transmits the response signal receives the control command transmitted from the master power line communication device 200 and receives a control signal for the control command received by the control signal transmission unit 354. Send to the controlling device.

S330단계에서는, 제어신호를 제어대상기기로 송신하여 제어대상기기가 제어되고, 슬레이브 전력선 통신장치(300)는 제어명령에 따른 제어대상긱기의 상태정보를 도출하고, 도출한 상태정보를 마스터 전력선 통신장치(200)로 송신한다.In step S330, the control target device is controlled by transmitting a control signal to the control target device, and the slave power line communication device 300 derives the state information of the control target according to the control command, and communicates the derived state information to the master power line communication. It transmits to the device 200.

이와 같은 방식으로, 마스터 전력선 통신장치(200) 및 슬레이브 전력선 통신장치(300)는 응답명령 및 응답신호를 송수신함으로써, 통신장애여부를 판별하고, 주파수 혼선 혹은 간섭으로 인하여 통신이 어려운 경우에는 교류신호에 블록형태로 동조하여 송신 및 수신하는 단일 주파수 신호를 변경함으로써, 주파수 혼선에 의한 통신 장애를 능동적으로 대처할 수 있는 효과를 발휘할 수 있다.In this way, the master power line communication device 200 and the slave power line communication device 300 transmit/receive a response command and a response signal to determine whether or not there is a communication failure, and when an communication is difficult due to frequency crosstalk or interference, an AC signal By changing the single frequency signal to be transmitted and received in synchronization with the block form, it is possible to exert an effect of actively coping with communication failure due to frequency crosstalk.

도 7은 본 발명의 일 실시예에 따른 데이터 패킷의 형태를 개략적으로 도시한다.7 schematically shows a form of a data packet according to an embodiment of the present invention.

구체적으로, 도 7의 (a) 및 (b)는 마스터 전력선 통신장치(200)의 제어명령송신부(251)에 의하여 송신되는 제어명령의 데이터패킷의 형태를 도시한다. 도 7의 (a) 및 (b)에 도시된 바와 같이, 제어명령은, 제어대상기기에 대한 식별정보 및 제어정보를 포함할 수 있다. 마스터 전력선 통신장치(200)는 연결된 복수의 슬레이브 전력선 통신장치(300)와 연결된 모든 제어대상기기에 대해서도 제어를 할 수도 있고, 복수의 제어대상기기 중 어느 하나의 제어대상기기에 대해서만 제어를 할 수도 있다.Specifically, FIGS. 7A and 7B show the form of a data packet of a control command transmitted by the control command transmission unit 251 of the master power line communication device 200. As shown in (a) and (b) of FIG. 7, the control command may include identification information and control information for the control target device. The master power line communication device 200 may control all the control target devices connected to the plurality of connected slave power line communication devices 300, or may control only one control target device among the plurality of control target devices. have.

도 7의 (c) 및 (d)는, 응답명령송신부(253)에 의하여 송신되는 응답명령의 데이터 패킷의 형태를 도시한다. 도 7의 (c) 및 (d)에 도시된 바와 같이, 응답명령은 슬레이브 전력선 통신장치(300)에 대한 식별정보 및 응답요청을 포함할 수 있다. 응답명령 또한, 연결된 모든 복수의 슬레이브 전력선 통신장치(300)에 송신할 수도 있고, 복수의 슬레이브 전력선 통신장치(300) 중 어느 하나의 슬레이브 전력선 통신장치(300)에 대해서만 응답명령을 송신할 수도 있다.7C and 7D show the form of a data packet of a response command transmitted by the response command transmission unit 253. As shown in (c) and (d) of FIG. 7, the response command may include identification information and a response request for the slave power line communication device 300. In addition, a response command may be transmitted to all of the plurality of connected slave power line communication devices 300, or a response command may be transmitted only to one of the slave power line communication devices 300 among the plurality of slave power line communication devices 300. .

도 7의 (e)는, 슬레이브 전력선 통신장치(300)의 응답신호송신부(351)에 의하여 송신되는 응답신호의 데이터패킷 형태를 도시한다. 도 7의 (e)에 도시된 바와 같이 응답신호는 식별정보 및 응답정보를 포함한다. 응답신호의 식별정보는, 해당 슬레이브 전력선 통신장치(300)의 응답신호가 다른 슬레이브 전력선 통신장치(300)로 전송되는 것을 방지하기 위해, 응답신호를 송신하는 슬레이브 전력선 통신장치(300)의 식별정보뿐만 아니라 해당 응답신호를 수신하는 마스터 전력선 통신장치(200)에 대한 식별정보가 포함될 수 있다.FIG. 7E shows a data packet form of a response signal transmitted by the response signal transmission unit 351 of the slave power line communication device 300. As shown in FIG. 7(e), the response signal includes identification information and response information. The identification information of the response signal is identification information of the slave power line communication device 300 that transmits a response signal to prevent the response signal of the corresponding slave power line communication device 300 from being transmitted to another slave power line communication device 300. In addition, identification information for the master power line communication device 200 receiving the corresponding response signal may be included.

이와 같은 형태의 데이터패킷을 송신함으로써, 마스터 전력선 통신장치(200) 및 슬레이브 전력선 통신장치(300)는 불필요한 정보를 무시하고 필요하고 확실한 정보에 대해서만 명령 및 응답을 수행하여 제어대상기기를 선별적으로 제어할 수 있는 효과를 발휘할 수 있다.By transmitting this type of data packet, the master power line communication device 200 and the slave power line communication device 300 ignore the unnecessary information and perform commands and responses only for necessary and certain information to selectively select the control target device. It can exert a controllable effect.

도 8은 본 발명의 일 실시예에 따른 펄스 위치변조의 방법을 개략적으로 도시한다.8 schematically shows a method of pulse position modulation according to an embodiment of the present invention.

도 8은 위치변조 된 펄스 신호의 일 예를 도시한다. 펄스 위치변조는 입력되는 신호의 진폭에 따라 펄스의 시간적 위치를 변화시키는 펄스 변조 방식이다. 본 발명의 일 실시예에서는 입력되는 신호가 이진수 0 또는 1의 두가지로써, 펄스의 시간적 위치 변화가 두가지로 나타나게 된다. 도 8에 도시된 바와 같이, 펄스의 시간 간격이 t인 경우와, 상기 t와 다른 시간 간격인 t+α인 경우가 나타날 수 있다. 본 발명에서는 이와 같은 두 시간간격에 대해 각각 이진수 0 및 1을 매칭하여 데이터를 전송할 수 있다. 본 발명의 일 실시예에서, 마스터 전력선 통신장치(200)의 제어명령송신부(251) 및 응답명령송신부(253), 및 슬레이브 전력선 통신장치(300)의 응답신호송신부(351) 및 상태정보송신부(353)는, 도 8에 도시된 바와 같이 신호를 변조하도록 각각의 제1변조부(260) 및 제2변조부(360)를 제어할 수 있다.8 shows an example of a position-modulated pulse signal. Pulse position modulation is a pulse modulation method that changes the temporal position of a pulse according to the amplitude of an input signal. In one embodiment of the present invention, the input signal is two of binary 0 or 1, and the temporal position change of the pulse is represented by two. As illustrated in FIG. 8, a case in which the time interval of the pulse is t and a case in which t+α is a time interval different from the above t may appear. In the present invention, data can be transmitted by matching binary 0 and 1, respectively, for these two time intervals. In one embodiment of the present invention, the control command transmission unit 251 and the response command transmission unit 253 of the master power line communication device 200, and the response signal transmission unit 351 and the status information transmission unit (300) of the slave power line communication device 300 ( 353, the first modulator 260 and the second modulator 360 may be controlled to modulate a signal as illustrated in FIG. 8.

도 9는 본 발명의 일 실시예에 따른 전력선 통신장치에 의한 교류전원(20) 신호를 개략적으로 도시한다.9 schematically illustrates an AC power source 20 signal by a power line communication device according to an embodiment of the present invention.

본 발명의 일 실시예에서 교류전원(20) 신호에는 펄스 위치변조 하여 변조된 상기 펄스에 맞추어 기설정된 단일 주파수가 블록 형태로 동조될 수 있다. 도 9의 (a)는 도 8에 도시된 바와 같은 위치변조 된 펄스 신호의 일 예가 도시된다. 도 9의 (a)에서는 도 8과는 달리, 펄스의 신호 레벨이 반전된 형태로 펄스가 생성되어 있다. 본 발명에서는 이와 같이 도 8에 도시된 바와 같은 일반적인 펄스 형태뿐만 아니라, 신호 레벨이 반전된 펄스 형태로 신호를 전달할 수 있다.In an embodiment of the present invention, a single frequency preset to the pulse modulated by pulse position modulation may be tuned to the AC power source 20 signal in a block form. FIG. 9A shows an example of a position-modulated pulse signal as shown in FIG. 8. In FIG. 9(a), unlike FIG. 8, the pulse is generated in a form in which the signal level of the pulse is inverted. In the present invention, the signal can be transmitted in a pulse form in which the signal level is inverted, as well as a general pulse form as shown in FIG. 8.

도 9의 (b)는 교류전원(20)에 결합 될 단일 주파수 신호만을 도시하고 있다. 본 발명의 일 실시예에서는, 도 9의 (b)에 도시된 것과 같은 펄스 신호에 기초하여, 상기 펄스 신호가 LOW인 경우, 단일 주파수 신호를 발생시키고, 상기 펄스 신호가 HIGH인 경우, 신호를 0으로 하여, 블록 형태의 단일 주파수 신호가 기설정된 간격(t 또는 t+α)을 두고 위치하는 형태의 신호를 생성할 수 있다. 혹은, 본 발명의 다른 실시예에서는, 도 8에 도시된 것과 같은 펄스 신호에 기초하여, 상기 펄스 신호가 HIGH인 경우, 단일 주파수 신호를 발생시키고, 상기 펄스 신호가 LOW인 경우, 신호를 0으로 하여 신호를 생성할 수도 있다.9(b) shows only a single frequency signal to be coupled to the AC power source 20. In one embodiment of the present invention, based on the pulse signal as shown in Figure 9 (b), when the pulse signal is LOW, generates a single frequency signal, when the pulse signal is HIGH, the signal By setting it to 0, a signal in a form in which a single frequency signal in a block form is positioned at a predetermined interval (t or t+α) can be generated. Alternatively, in another embodiment of the present invention, based on the pulse signal as shown in FIG. 8, when the pulse signal is HIGH, generates a single frequency signal, and when the pulse signal is LOW, the signal is set to 0. To generate a signal.

본 발명의 일 실시예에서 단일 주파수 신호는 100 내지 200KHz일 수 있다. 이는 50 내지 60 kHz로 송신되는 교류전원(20)에 결합되어 효율적으로 통신을 수행할 수 있도록 한다. 바람직하게는, 상기 마스터 전력선 통신장치(200)는, 1 이상의 기설정된 주파수 신호 중 어느 하나의 단일 주파수 신호를 블록 형태로 교류신호에 동조하여 송신 및 수신하고, 이와 같은 기설정된 주파수 신호는 100 내지 200KHz의 범위 내에서 복수개의 주파수 신호가 기설정되어 있을 수 있다. In an embodiment of the present invention, a single frequency signal may be 100 to 200 KHz. This is coupled to the AC power source 20 transmitted at 50 to 60 kHz to enable efficient communication. Preferably, the master power line communication device 200 transmits and receives a single frequency signal of one or more preset frequency signals in synchronization with an AC signal in a block form, and the preset frequency signal is 100 to A plurality of frequency signals may be preset within a range of 200 KHz.

도 9의 (c)에는 마스터 전력선 통신장치(200) 혹은 슬레이브 전력선 통신장치(300)에 의해 펄스 위치변조 된 데이터가 결합된 교류전원(20) 신호가 도시된다.In FIG. 9C, an AC power source 20 signal in which pulse position-modulated data is combined by the master power line communication device 200 or the slave power line communication device 300 is shown.

도 9의 (c)에서는 도 8의 (b)에서와 같이 블록 형태로 동조된 단일 주파수 신호가 상기 교류전원(20)에 결합되어 있어, 상기 교류전원(20)의 일부에 단일 주파수가 시간간격을 두고 합쳐져 있는 모습으로 나타난다. 본 발명의 일 실시예에 따른 마스터 전력선 통신장치(200) 및 슬레이브 전력선 통신장치(300)는 도 9의 (c)와 같은 신호를 연결된 전력선을 통해 송수신함으로써 전력의 공급과 통신의 수행을 동시에 할 수 있다. 예를 들어, 기설정된 제1시간간격 t에 이진수 0을, 제2시간간격 t+α에 이진수 1을 매칭하거나 혹은 반대로 기설정된 제1시간간격 t에 이진수 1을, 제2시간간격 t+α에 이진수 0을 매칭함으로써, 이를 직접 복조 할 수도 있고, 혹은 기설정된 제1시간간격 혹은 제2시간간격이 연속적으로 이어지는 경우 이진수 0을, 기설정된 제1시간간격 이후 제2시간간격이 이어지거나, 제2시간간격 이후 제1시간간격이 이어지는 경우 이진수 1을 매칭하는 등 다양한 알고리즘을 통해 변조/복조를 수행할 수 있다.In (c) of FIG. 9, a single frequency signal tuned in a block form as shown in FIG. 8(b) is coupled to the AC power supply 20, so that a single frequency is partially spaced at a part of the AC power supply 20. It appears as a combination of the two. The master power line communication device 200 and the slave power line communication device 300 according to an embodiment of the present invention simultaneously transmit and receive power and perform communication by transmitting and receiving a signal as shown in FIG. 9C through a connected power line. You can. For example, a binary 0 is matched to a preset first time interval t, a binary 1 is matched to a second time interval t+α, or vice versa, a binary 1 is assigned to a preset first time interval t, and a second time interval t+α. By matching binary zeros to, it can be demodulated directly, or if the preset first time interval or second time interval continues, the binary zero is followed by the second time interval after the preset first time interval, or When the first time interval continues after the second time interval, modulation/demodulation may be performed through various algorithms, such as matching binary number 1.

도 9에 도시된 실시예에서는 상기 펄스의 중간위치를 이용하여 주기를 측정하고, 이를 펄스 사이의 간격으로 삼고 있으나, 본 발명의 다른 실시예에서는 상기 펄스의 시작위치 혹은 종료위치를 이용하여 주기를 측정하거나, 혹은 선행 펄스의 종류위치로부터 다음 펄스의 시작위치까지의 시간 간격을 이용하여 펄스 사이의 간격으로 삼는 등, 다양한 방법으로 펄스 사이의 간격을 정의할 수 있다.In the embodiment shown in FIG. 9, the period is measured using the intermediate position of the pulse, and this is used as the interval between the pulses, but in another embodiment of the present invention, the period is determined using the start position or end position of the pulse. Intervals between pulses can be defined in a variety of ways, such as by measuring or by using the time interval from the type position of the preceding pulse to the start position of the next pulse as the interval between pulses.

이와 같이 펄스의 시간적 위치를 변조하여 펄스 사이의 간격을 제어하는 펄스 위치변조를 이용함으로써, 일부 노이즈가 혼입되거나, 데이터에 손상이 발생하더라도, 손상된 데이터가 유효한 데이터로 처리되기 어려운 구조를 갖게 된다. 즉, 유효하지 않은 데이터가 발생하는 즉시 이를 폐기함으로써, 특정 코드가 다른 코드로 인식될 확률을 현저히 낮출 수 있다.By using the pulse position modulation to control the interval between pulses by modulating the temporal position of the pulse in this way, even if some noise is mixed or data is damaged, it is difficult to process the damaged data as valid data. That is, it is possible to significantly reduce the probability that a specific code is recognized as another code by discarding the invalid data as soon as it occurs.

이와 같은 방식에 더하여 체크섬 혹은 CRC체크와 같은 오류 검출 방식을 복합적으로 사용하는 경우 매우 높은 통신의 안정성을 확보할 수 있는 효과를 발휘할 수 있다.In addition to this method, when an error detection method such as checksum or CRC check is used in combination, it is possible to exert an effect of securing very high communication stability.

도 10은 본 발명의 일 실시예에 따른 전력선 통신장치에 의한 주파수가 변경된 교류전원(20) 신호를 개략적으로 도시한다.10 schematically shows an AC power 20 signal whose frequency is changed by a power line communication device according to an embodiment of the present invention.

본 발명의 마스터 전력선 통신장치(200)는, 전술한 바와 같이 주파수변경부(255)를 포함하여, 복수의 슬레이브 전력선 통신장치(300)에 응답명령을 송신하고, 상기 응답명령에 대한 응답신호를 수신하여, 통신장애를 판별할 수 있다. 이와 같은 마스터 전력선 통신장치(200)는, 해당 주파수 대역의 노이즈성 주파수와의 간섭 등으로 인해 슬레이브 전력선 통신장치(300)로부터 응답명령에 대한 응답신호를 수신하지 못한 경우, 통신장애로 판별하고, 통신장애로 판별된 경우에, 통신을 수행하는 주파수 신호를 기설정된 1 이상의 주파수 신호 중 해당 주파수 신호를 제외한 어느 하나의 주파수신호로 변경하여, 변경된 단일 주파수 신호를 블록형태로 전력선의 교류신호에 동조하여 송신할 수 있다. 본 발명의 일 실시예에서, 도 10의 (a)는 디폴트로 설정된 기설정된 제1주파수신호(f1)로 펄스 위치 변조된 데이터가 결합된 교류전원(20) 신호를 도시하고, 도 10의 (b)는 통신장애로 인해 주파수변경부(255)에 의하여 주파수 신호를 변경하여 기설정된 제2주파수신호(f2)로 변경된 단일 주파수 신호로 펄스 위치변조 된 데이터가 결합된 교류전원(20) 신호를 도시한다. 각각의 데이터는 이진수 0 및 1에 각각 매칭된 기설정된 제1시간간격 또는 기설정된 제2시간격이 동일하게 펄스의 위치가 변조되었지만, 도 10의 (a)에 동조된 기설정된 제1주파수 신호(f1)의 블록 형태와 도 10의 (b)에 동조된 기설정된 제2주파수신호(f2)의 블록 형태는 다르게 나타남이 도시된다. 이와 같이, 통신장애가 발생한 경우, 마스터 전력선 통신장치(200)는 통신 주파수 신호를 1 이상의 기설정된 주파수 신호 중 어느 하나로 변경하여 통신을 시도함으로써, 주파수 혼선에 의한 통신 장애를 능동적으로 대처할 수 있는 효과를 발휘할 수 있다.The master power line communication device 200 of the present invention includes a frequency changing unit 255 as described above, and transmits a response command to a plurality of slave power line communication devices 300, and transmits a response signal to the response command. By receiving, it is possible to determine the communication failure. When the master power line communication device 200 has not received a response signal for a response command from the slave power line communication device 300 due to interference with a noisy frequency of the corresponding frequency band, it is determined as a communication failure, When it is determined as a communication failure, the frequency signal for performing communication is changed to any one of the preset one or more frequency signals except for the corresponding frequency signal, and the changed single frequency signal is synchronized with the AC signal of the power line in block form. Can be transmitted. In one embodiment of the present invention, Fig. 10 (a) shows an AC power source 20 signal in which pulse position modulated data is combined with a preset first frequency signal f 1 set as a default, and FIG. (b) is a single frequency signal changed to a preset second frequency signal (f 2 ) by changing the frequency signal by the frequency changing unit 255 due to a communication failure. The signal is shown. In each data, the position of the pulse is modulated in the same manner as the preset first time interval or the preset second time interval matched to binary numbers 0 and 1, respectively, but the preset first frequency signal tuned to FIG. 10(a). It is shown that the block form of (f 1 ) and the block form of the preset second frequency signal f 2 tuned to FIG. 10( b) appear differently. As described above, when a communication failure occurs, the master power line communication device 200 attempts communication by changing the communication frequency signal to one of the one or more preset frequency signals, thereby effectively coping with the communication failure caused by frequency crosstalk. Can be exercised.

도 11은 본 발명의 일 실시예에 따른 전력선 통신장치에 의한 교류전원(20) 신호를 개략적으로 도시한다.11 schematically illustrates an AC power source 20 signal by a power line communication device according to an embodiment of the present invention.

본 발명의 마스터 전력선 통신장치(200) 및 슬레이브 전력선 통신장치(300)는 상기 영전압검출부에서 검출된 영전압점의 전후 기설정된 시간범위 이내의 시간 범위 내에서만 펄스 위치변조(PPM)하도록 변조부를 제어한다. 도 10에 도시된 바와 같이 네 블록의 펄스에 의한 신호가 각각 기설정된 제1시간간격(t) 및 기설정된 제2시간간격(t+α)을 가지고 위치하고 있다. 더욱 상세하게는, 도 10의 (a)에서는 상기 영전압점(z)으로부터 기설정된 시간범위(Tz) 이전의 시간부터 첫번째 블록의 펄스에 의한 신호가 입력되고, 기설정된 제1시간간격(t)을 두고 두번째 블록의 펄스에 의한 신호가 입력되고, 기설정된 제2시간간격(t+α)을 두고 세번째 블록의 펄스에 의한 신호가 입력되고, 기설정된 제1시간간격(t)을 두고 네번째 블록의 펄스에 의한 신호가 입력된다. 이후, 상기 영전압점(z)으로부터 기설정된 시간 범위(Tz) 이후의 시간에서는 더 이상 펄스에 의한 신호가 입력되지 않고, 다음 영전압점(z) 인근의 기설정된 시간 범위(Tz)에서 다시 펄스에 의한 신호가 입력된다. 도 10의 (a)에서는 상기 기설정된 시간 범위(Tz) 내에 네개의 블록의 펄스에 의한 신호가 포함되어 있지만 본 발명의 다른 실시예에서는 상기 기설정된 시간 범위(T-z), 기설정된 제1시간간격(t) 및 기설정된 제2시간간격(t+α)이 다른 값을 가짐으로써 블록의 수가 달라질 수 있다.The master power line communication device 200 and the slave power line communication device 300 of the present invention control the modulator to pulse position modulation (PPM) only within a time range within a predetermined time range before and after the zero voltage point detected by the zero voltage detection unit. do. As illustrated in FIG. 10, signals of four blocks of pulses are positioned with a preset first time interval t and a preset second time interval t+α, respectively. More specifically, in (a) of FIG. 10, the signal by the pulse of the first block is input from the time before the preset time range T z from the zero voltage point z, and the preset first time interval t ), the signal by the pulse of the second block is input, and the second time interval (t+α) is set, and the signal by the pulse of the third block is input, and the fourth by the preset first time interval (t). The signal by the pulse of the block is input. Thereafter, the signal by the pulse is no longer input at a time after the preset time range T z from the zero voltage point z , and again at a preset time range T z near the next zero voltage point z. The pulse signal is input. (A) in the predetermined time range (T z) contains signals due to the four blocks in the pulse, but in other embodiments the predetermined time range (T -z) of the present invention of Figure 10, the pre-set The number of blocks may be changed by the time interval t and the preset second time interval t+α having different values.

이와 같이 상기 영전압점의 전후 기설정된 시간 범위(Tz) 이내의 시간 범위내에서 위치변조 된 펄스에 기초하여 기설정된 단일 주파수 신호를 교류신호에 동조하도록 하여 다른 전력선 통신장치에 전송함으로써, 전원노이즈의 영향을 적게 받아 안정적인 통신을 수행할 수 있게 된다.As described above, a predetermined single frequency signal is tuned to an AC signal based on a position-modulated pulse within a time range within a predetermined time range T z before and after the zero voltage point, and transmitted to another power line communication device, thereby reducing power supply noise. It is possible to perform stable communication under the influence of less.

이 때, 도 11의 (b)에 도시된 바와 같이, 마스터 전력선 통신장치(200) 및 슬레이브 전력선 통신장치(300)는 제1변조부(260) 및 제2변조부(360)를 통해 제1영전압검출부(230) 및 제2영전압검출부(330)에서 검출된 영전압점을 기준으로 하여 펄스를 변조하도록 할 수 있다. 도 11의 (b)에서는 영전압점(z)의 펄스에 기초한 단일 주파수 신호가 위치하고, 상기 영전압점의 제1시간간격(t) 전 및 제2시간간격(t+α) 후에 각각 단일 주파수 신호가 위치한다. 이와 같은 실시예에서는 상기 영전압점을 기준으로 전 후의 두 시간간격을 통해 2비트의 데이터를 송수신 할 수 있게 된다. 본 발명에서는 도 11의 (b)에 도시된 바와 같이 2비트의 데이터를 송수신 할 수 있을 뿐만 아니라, 기설정된 시간 범위(Tz), 기설정된 제1시간간격(t) 및 기설정된 제2시간간격(t+α)을 조절하여 더 많은 비트의 데이터를 송수신할 수도 있다. 또한, 제1복조부(252) 및 제2복조부(352)는 제1영전압검출부(230) 및 제2영전압검출부(330)에서 검출된 영전압점(z)에 기초하여 수신된 데이터를 복조할 수 있다. 이와 같이 펄스를 변조할 때 교류전원(20)의 영전압점을 기준으로 함으로써 교류전원(20)의 반주기마다 송신되는 데이터의 타이밍을 동기화시킬 수 있고, 이와 같이 동기화 된 데이터에 기초하여 변조 및 복조가 수행되어 데이터 전송의 안정성을 높이는 효과를 발휘할 수 있다.At this time, as shown in Figure 11 (b), the master power line communication device 200 and the slave power line communication device 300 is the first through the first modulation unit 260 and the second modulation unit 360 It is possible to modulate the pulse based on the zero voltage point detected by the zero voltage detection unit 230 and the second zero voltage detection unit 330. In (b) of FIG. 11, a single frequency signal based on the pulse of the zero voltage point (z) is located, and a single frequency signal is generated before and after the first time interval (t) and the second time interval (t+α) of the zero voltage point, respectively. Located. In this embodiment, it is possible to transmit and receive 2 bits of data through two time intervals before and after the zero voltage point. In the present invention, as shown in Figure 11 (b), as well as transmitting and receiving data of 2 bits, a preset time range (T z ), a preset first time interval (t), and a preset second time By adjusting the interval t+α, more bits of data can be transmitted and received. In addition, the first demodulator 252 and the second demodulator 352 receive data based on the zero voltage point z detected by the first zero voltage detector 230 and the second zero voltage detector 330. Can demodulate. When modulating the pulse as described above, the timing of data transmitted every half cycle of the AC power source 20 can be synchronized by using the zero voltage point of the AC power source 20 as a reference, and modulation and demodulation can be performed based on the synchronized data. It can be performed to exert an effect of increasing the stability of data transmission.

혹은 상기 영전압점의 검출을 원활하게 할 수 있도록 도 11의 (c)에 도시된 바와 같이, 제1변조부(260) 및 제2변조부(360)에 의하여 제1영전압검출부(230) 및 제2영전압검출부(330)에서 검출된 영전압점을 기준으로 하여 펄스를 변조하도록 하고, 상기 영전압점에서의 펄스를 생략하도록 할 수 있다.Alternatively, as shown in FIG. 11C to facilitate detection of the zero voltage point, the first zero voltage detection unit 230 and the first modulation unit 260 and the second modulation unit 360 The pulse may be modulated based on the zero voltage point detected by the second zero voltage detection unit 330, and the pulse at the zero voltage point may be omitted.

도 11의 (c)에 도시된 바와 같이, 본 발명의 일 실시예에서는 상기 영전압점에서는 펄스를 생략하여 단일 주파수 신호를 동조하지 않고, 상기 영전압점의 제1시간간격(t) 전 및 제2시간간격(t+α) 후에 각각 단일 주파수 신호가 위치하도록 할 수 있다. 이와 같은 실시예에서는 상기 영전압점에서 단일 주파수 신호가 동조되지 않지만, 신호를 수신하여 복조하는 전력선 통신장치에서는 검출된 영전압점에 펄스를 삽입하여 복조함으로써, 생략된 영전압점에서의 펄스를 포함하는 신호를 복조 해낼 수 있다. 이 경우에도 도 11의 (b)에서와 마찬가지로 상기 영전압점을 기준으로 전후의 두 시간간격을 통해 2비트의 데이터를 송수신 할 수 있다.As shown in FIG. 11(c), in the embodiment of the present invention, the pulses are omitted from the zero voltage point to tune a single frequency signal, and before and after the first time interval t of the zero voltage point After the time interval (t+α), each single frequency signal can be positioned. In this embodiment, a single frequency signal is not tuned at the zero voltage point, but in a power line communication device that receives and demodulates a signal including a pulse at the zero voltage point that is omitted by inserting and demodulating the pulse at the detected zero voltage point. Can demodulate. In this case, as in FIG. 11B, data of 2 bits can be transmitted and received through two time intervals before and after the zero voltage point.

도 12는 본 발명의 일 실시예에 따른 전원부의 내부 구성을 개략적으로 도시한다.12 schematically shows an internal configuration of a power supply unit according to an embodiment of the present invention.

도 12에 도시된 바에 따르면, 본 발명의 일 실시예에 따른 제1전원부(220) 및 제2전원부(320)는 전력선으로부터 교류전원(20)을 입력 받아 직류전원을 출력하는 AC-DC모듈(221); 및 상기 AC-DC모듈로부터 직류전원을 입력 받아, 상기 전력선 통신장치의 구동에 필요한 전압의 직류전원을 출력하는 DC-DC모듈(222);을 포함할 수 있다.As shown in FIG. 12, the first power supply unit 220 and the second power supply unit 320 according to an embodiment of the present invention receive an AC power supply 20 from an electric power line and output an AC-DC module ( 221); And a DC-DC module 222 that receives DC power from the AC-DC module and outputs DC power of a voltage required for driving the power line communication device.

이처럼 본 발명의 일 실시예에 따른 마스터 전력선 통신장치(200) 및 슬레이브 전력선 통신장치(300)는 내부에 제1전원부(220) 혹은 제2전원부(320)를 구비하여 연결된 전력선으로부터 구동에 필요한 전원을 공급 받을 수 있다. 이 때, 전력선 통신장치를 구성하는 반도체 등의 소자에 필요한 구동 전압의 직류 전원을 공급받기 위하여, 1차적으로 AC-DC모듈(221)에서 교류전원(20)을 직류전원으로 변환하고, 2차적으로 DC-DC모듈(222)을 통해 변환된 직류전원의 전압을 조절하고 안정적인 공급을 수행하도록 할 수 있다.As described above, the master power line communication device 200 and the slave power line communication device 300 according to an embodiment of the present invention are provided with a first power supply unit 220 or a second power supply unit 320 therein, and are necessary for driving from a connected power line. Can be supplied. At this time, in order to receive DC power of a driving voltage required for devices such as semiconductors constituting a power line communication device, the AC power supply 20 is firstly converted from the AC power supply 20 to a DC power supply, and the secondary power is supplied. With the DC-DC module 222 it is possible to adjust the voltage of the DC power converted and perform a stable supply.

도 13은 본 발명의 일 실시예에 따른 교류전원(20) 신호의 복조 과정의 단계를 개략적으로 도시한다.13 schematically illustrates steps of a demodulation process of an AC power source 20 signal according to an embodiment of the present invention.

본 발명의 마스터 전력선 통신장치(200) 및 슬레이브 전력선 통신장치(300)는 도 13에 도시된 바와 같은 단계들의 수행으로 교류전원(20) 신호를 복조한다. 이와 같은 교류전원(20) 신호의 복조는 제1파형변환부(270), 제2파형변환부(370) 및 제1복조부(252), 제2복조부(352)에 의해 수행될 수 있다.The master power line communication device 200 and the slave power line communication device 300 of the present invention demodulate the AC power source 20 signal by performing the steps as shown in FIG. Demodulation of the AC power source 20 signal may be performed by the first waveform converter 270, the second waveform converter 370, the first demodulator 252, and the second demodulator 352. .

구체적으로, 교류전원(20) 신호를 복조 하기 위해서 우선 제1동조부(240) 혹은 제2동조부(340)에서 검출된 신호로부터 기설정된 단일 주파수 신호를 추출하는 밴드패스필터통과단계(S110); 상기 밴드패스필터통과단계에서 추출된 단일 주파수 신호를 블록 형태로 구분하는 단일주파수블록구분단계(S120); 구분된 상기 단일 주파수의 블록을 펄스 형태의 TTL신호로 변환하는 주파수블록TTL신호변환단계(S130); 및 변환된 TTL신호로부터 펄스의 시간간격에 상응하는 비트값을 판독하는 복조단계(S140)를 수행한다.Specifically, in order to demodulate the signal of the AC power source 20, first, a band pass filter passing step of extracting a predetermined single frequency signal from the signal detected by the first tuning unit 240 or the second tuning unit 340 (S110). ; A single frequency block classification step (S120) of dividing the single frequency signal extracted in the band pass filter step into blocks; A frequency block TTL signal conversion step of converting the divided block of the single frequency into a pulsed TTL signal (S130); And a demodulation step (S140) of reading a bit value corresponding to the time interval of the pulse from the converted TTL signal.

밴드패스필터통과단계(S110)에서는, 상기 제1파형변환부(270) 및 제2파형변환부(370)에 의하여, 1 이상의 기설정된 주파수 대역을 통과시키는 밴드패스필터를 사용하여 제1동조부(240) 및 제2동조부(340)로부터 전송된 신호를 통과시키는 등의 방법을 통해 수행될 수 있다.In the band pass filter passing step (S110), the first tuning unit using a band pass filter passing one or more preset frequency bands by the first waveform converting unit 270 and the second waveform converting unit 370. It may be performed through a method such as passing the signal transmitted from the 240 and the second tuning unit 340.

단일주파수블록구분단계(S120)에서는, 상기 제1파형변환부(270) 및 제2파형변환부(370)에 의하여, 상기 밴드패스필터통과단계(S110)에서 추출된 단일 주파수 신호의 단일 주파수 성분의 존재 여부를 파악함으로써, 단일 주파수 성분이 존재하는 영역을 블록으로, 단일 주파수 성분이 존재하지 않는 영역을 공백으로 설정하는 등의 방법으로 블록 형태로 구분할 수 있다.In the single frequency block classification step (S120), the single frequency component of the single frequency signal extracted in the band pass filter passing step (S110) by the first waveform conversion unit 270 and the second waveform conversion unit 370. By determining whether or not, the region in which a single frequency component is present can be divided into blocks, such as a region in which a single frequency component does not exist is set to a blank.

주파수블록TTL신호변환단계(S130)에서는, 상기 제1파형변환부(270) 혹은 제2파형변환부(370)에 의하여, 구분된 단일 주파수의 블록을 펄스 형태의 TTL신호로 변환한다. 이와 같이 본 발명의 일 실시예에서는, 추출된 정보를 이와 같이 TTL 레벨의 신호로 변환하여 처리함으로써 회로의 구성 비용을 낮출 수 있다.In the frequency block TTL signal conversion step (S130), a block of a single frequency divided by the first waveform conversion unit 270 or the second waveform conversion unit 370 is converted into a pulse type TTL signal. In this way, in one embodiment of the present invention, it is possible to lower the circuit configuration cost by converting and processing the extracted information into a TTL level signal.

이후, 제1복조부(252) 혹은 제2복조부(352)에 의하여, 상기 주파수블록TTL신호변환단계(S130)에서 변환된 TTL신호로부터 펄스의 시간간격에 상응하는 비트값을 판독하는 복조단계(S140)가 수행된다. 상기 복조단계(S140)에서는 상기 TTL신호의 펄스의 시간간격을 기설정된 제1시간간격 혹은 제2시간간격 중 어느 시간간격에 해당되는지 파악하고, 이에 매칭되는 이진수 0 또는 1을 매칭함으로써 연속된 이진수 데이터를 복조할 수 있다.Then, the demodulation step of reading the bit value corresponding to the time interval of the pulse from the TTL signal converted in the frequency block TTL signal conversion step (S130) by the first demodulator 252 or the second demodulator 352 (S140) is performed. In the demodulation step (S140), the time interval of the pulse of the TTL signal is determined to correspond to a predetermined time interval or a second time interval, and the corresponding binary number 0 or 1 is matched to match the binary number. Data can be demodulated.

이와 같은 방식으로, 기설정된 단일 주파수 신호를 블록 형태로 교류신호에 변조하여 송신하고, 이를 다시 복조하고 TTL신호로 변환하여 수신함으로써, 회로의 구성 비용을 절감하고, 통신의 신뢰성을 높일 수 있는 효과를 발휘할 수 있다.In this way, by modulating and transmitting a predetermined single frequency signal to an AC signal in a block form, demodulating it and converting it into a TTL signal, the circuit configuration cost can be reduced and communication reliability can be increased. Can exert.

도 14는 본 발명의 일 실시예에 따른 교류전원(20) 신호가 복조 되는 과정을 개략적으로 도시한다.14 schematically illustrates a process in which the AC power 20 signal is demodulated according to an embodiment of the present invention.

도 14의 (a)는 마스터 전력선 통신장치(200) 혹은 슬레이브 전력선 통신장치(300)에 의해 송신된 데이터가 포함된 교류전원(20) 신호를 도시하고 있다. 각각의 전력선 통신장치의 제1변조부(260) 및 제2변조부(360)에 의해 변조된 데이터가 제1동조부(240) 및 제2동조부(340)에 의해 교류전원(20)에 결합되어 도 14의 (a)에서와 같이 블록 형태로 기설정된 시간 간격을 가진 채 삽입되어 있다.FIG. 14A shows an AC power source 20 signal including data transmitted by the master power line communication device 200 or the slave power line communication device 300. Data modulated by the first modulation unit 260 and the second modulation unit 360 of each power line communication device is supplied to the AC power source 20 by the first tuning unit 240 and the second tuning unit 340. Combined, it is inserted with a predetermined time interval in a block form as shown in FIG. 14(a).

도 14의 (b)는 상기 교류전원(20) 신호를 밴드패스필터통과단계(S110)를 통해 상기 교류전원(20) 성분을 제거하고 추출된 기설정된 단일 주파수 신호를 도시한다. 이와 같이 상기 교류전원(20) 신호를 밴드패스필터를 통과시키는 등의 방법을 통해 도 14의 (b)에 도시된 것과 같이 기설정된 제1시간간격 또는 제2시간간격으로 변조된 단일 주파수 신호를 획득할 수 있다.14(b) shows the predetermined single frequency signal from which the AC power 20 signal is removed and the AC power 20 component is removed through a band pass filter pass step (S110). Thus, a single frequency signal modulated at a predetermined first time interval or a second time interval as shown in FIG. 14(b) through a method such as passing the AC power 20 signal through a band pass filter. Can be obtained.

도 14의 (c)는 단일주파수블록구분단계(S120)를 통해 상기 단일 주파수 신호를 블록 형태로 구분한 결과를 도시하고 있다. 도 14의 (c)에 도시된 것과 같이, 단일주파수블록구분단계(S120)에서는 상기 밴드패스필터통과단계(S110)에서 추출된 단일 주파수 신호의 단일 주파수 성분의 존재 여부를 파악하여, 이를 블록 형태로 구분한다. 도 14의 (c)에서는 상기 단일 주파수 성분이 존재하는 경우 블록으로 구분하고, 상기 단일 주파수 성분이 존재하지 않는 경우 공백으로 구분한 실시예가 도시되어 있다.14(c) shows the result of dividing the single frequency signal into a block form through a single frequency block classification step (S120). As shown in FIG. 14(c), in the single frequency block classification step (S120), the presence or absence of a single frequency component of the single frequency signal extracted in the band pass filter passing step (S110) is determined, and this is a block form. It is separated by. FIG. 14C illustrates an embodiment in which the single frequency component is divided into blocks, and when the single frequency component does not exist, separated by blanks.

도 14의 (d)는 TTL신호변환단계(S130)를 통해 변환된 TTL신호를 도시하고 있다. 도 14의 (d)의 실시예에서는 상기 단일주파수블록구분단계(S120)에서 블록으로 구분된 영역을 LOW로, 상기 단일주파수블록구분단계(S120)에서 공백으로 구분된 영역을 HIGH로 하는 TTL신호가 생성된다. 다른 실시예에서는 반대로 상기 단일주파수블록구분단계(S120)에서 블록으로 구분된 영역을 HIGH로, 상기 단일주파수블록구분단계(S120)에서 공백으로 구분된 영역을 LOW로 하는 TTL신호가 생성될 수도 있다.14(d) shows the TTL signal converted through the TTL signal conversion step (S130). In the embodiment of FIG. 14(d), a TTL signal in which a region separated by a block in the single frequency block classification step S120 is LOW and a region separated by a blank in the single frequency block classification step S120 is HIGH. Is created. In another embodiment, on the contrary, a TTL signal may be generated in which a region separated by a block is HIGH in the single frequency block classification step S120 and a region separated by a space is LOW in the single frequency block classification step S120. .

도 14의 (e)는 복조단계(S140)에서 상기 TTL신호에 기초하여 데이터를 복조 하는 과정이 도시되어 있다. 도 14의 (e)에서는 제1시간간격 t가 이진수 0으로, 제2시간간격 t+α가 이진수 1로 매칭되어 있어, 도 14의 (d)에서 도출된 TTL신호 펄스의 시간간격에 따라 이진수 데이터를 복조하고 있다.14(e) illustrates a process of demodulating data based on the TTL signal in the demodulation step (S140). In (e) of FIG. 14, the first time interval t is matched to binary 0, and the second time interval t+α is matched to binary number 1, and thus is binary according to the time interval of the TTL signal pulse derived in FIG. 14(d). Data is being demodulated.

이 때, 상기 TTL신호의 펄스의 시간간격은 노이즈 등에 의해 정확히 t 혹은 t+α가 아닌, 다른 값으로 나타날 수 있다. 이 때, 상기 복조단계(S140)에서는 상기 시간간격을 이진수 0 혹은 1로 매칭 할 때, 상기 TTL신호의 펄스의 시간간격이 상기 기설정된 제1시간간격 혹은 제2시간간격으로부터 기설정된 오차시간범위 이내인 경우 매칭된 이진수로 복조하고, 기설정된 오차시간범위를 넘는 경우 무효비트로 판별할 수 있다.At this time, the time interval of the pulse of the TTL signal may appear as a value other than exactly t or t+α due to noise or the like. At this time, in the demodulation step (S140), when the time interval is matched with a binary number of 0 or 1, the time interval of the pulse of the TTL signal is a preset error time range from the preset first time interval or second time interval. If it is within, it can be demodulated with a matched binary number, and if it exceeds a predetermined error time range, it can be determined as an invalid bit.

이와 같이 오차시간범위를 두고 복조를 수행함으로써, 오차시간범위 이내의 노이즈가 혼입되더라도 안정적으로 통신을 수행할 수 있고, 오차시간범위를 넘어 데이터에 에러가 발생한 경우에도 즉시 무효비트로 판별하여 이를 폐기할 수 있어 안정적인 통신을 수행하는 효과를 발휘할 수 있다.By performing demodulation over the error time range, communication can be stably performed even if noise within the error time range is mixed, and even if an error occurs in the data beyond the error time range, it is immediately determined as an invalid bit and discarded. It can exert the effect of performing stable communication.

이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다. 그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 특허청구범위의 범위에 속한다.As described above, although the embodiments have been described by a limited embodiment and drawings, those skilled in the art can make various modifications and variations from the above description. For example, the described techniques are performed in a different order than the described method, and/or the components of the described system, structure, device, circuit, etc. are combined or combined in a different form from the described method, or other components Alternatively, even if replaced or substituted by equivalents, appropriate results can be achieved. Therefore, other implementations, other embodiments, and equivalents to the claims are also within the scope of the following claims.

Claims (5)

연결된 전력선 상에 접속되어 있고, 제어대상기기에 대한 제어명령을 입력할 수 있는 마스터 전력선 통신장치; 및 상기 전력선 상에 접속되어 있고, 상기 마스터 전력선 통신장치와 통신을 수행하여 제어명령을 수신하고, 수신한 제어명령을 통해 제어대상기기를 제어하는 복수의 슬레이브 전력선 통신장치;를 포함하는 데이터 통신 시스템으로서,
상기 마스터 전력선 통신장치는,
변조된 데이터를 펄스 위치변조 하여 변조된 펄스에 맞추어 기설정된 주파수 신호를 블록형태로 상기 전력선의 교류신호에 동조하여 송신하거나 상기 전력선의 교류신호를 수신하는 제1동조부;
상기 전력선을 통해 전송할 데이터를 변조하는 제1변조부;
상기 제1동조부에서 검출된 상기 전력선의 교류전원에 결합된 변조된 데이터를 복조 할 수 있는 신호로 변환하는 제1파형변환부;
복수의 슬레이브 전력선 통신장치에 연결된 제어대상기기를 제어하는 제어명령을 상기 제1동조부를 통해 전력선으로 송신하는 제어명령송신부; 복수의 슬레이브 전력선 통신장치에 대한 응답명령을 상기 제1동조부를 통해 전력선으로 송신하는 응답명령송신부; 복수의 슬레이브 전력선 통신장치로부터 수신된 응답신호에 기초하여 교류전원에 동조되어 송신되는 주파수 신호의 통신장애여부를 판별하는 통신장애판별부; 상기 통신장애여부에 기초하여 기설정된 기준에 따라 상기 제1동조부에서의 교류전원에 동조되어 송신되는 주파수 신호를 변경하는 주파수변경부;를 포함하는 제1MCU; 및
컴퓨팅장치 혹은 컨트롤패널로부터 데이터패킷을 수신하여 상기 제1MCU로 출력하는 제1통신부;를 포함하는 데이터 통신 시스템.
A master power line communication device connected to the connected power line and capable of inputting a control command for the control target device; And a plurality of slave power line communication devices connected to the power line, performing communication with the master power line communication device to receive a control command, and controlling a control target device through the received control command. As,
The master power line communication device,
A first tuning unit that modulates the modulated data to a pulse position and transmits a predetermined frequency signal in synchronization with the AC signal of the power line in a block form, or receives the AC signal of the power line in a block form;
A first modulator for modulating data to be transmitted through the power line;
A first waveform conversion unit for converting the modulated data coupled to the AC power of the power line detected by the first tuning unit into a demodulated signal;
A control command transmission unit transmitting a control command for controlling a control target device connected to a plurality of slave power line communication devices to the power line through the first tuning unit; A response command transmission unit for transmitting response commands for a plurality of slave power line communication devices to the power line through the first tuning unit; A communication failure discrimination unit for determining whether or not communication failure of a frequency signal transmitted in synchronization with AC power based on a response signal received from a plurality of slave power line communication devices; A first MCU including; a frequency changing unit for changing a frequency signal transmitted in synchronization with AC power in the first tuning unit according to a predetermined criterion based on the communication failure; And
And a first communication unit receiving a data packet from a computing device or a control panel and outputting the data packet to the first MCU.
청구항 1에 있어서,
상기 마스터 전력선 통신장치는,
복수의 슬레이브 전력선 통신장치로부터 수신한 상기 응답신호 및 상기 제어명령에 따른 제어대상기기의 상태정보에 기초하여 모니터링정보를 도출하여 송신하는 모니터링정보송신부;를 더 포함하는 데이터 통신 시스템.
The method according to claim 1,
The master power line communication device,
And a monitoring information transmitter for deriving and transmitting monitoring information based on the response signal received from the plurality of slave power line communication devices and status information of the control target device according to the control command.
청구항 1에 있어서,
상기 슬레이브 전력선 통신장치는,
변조된 데이터를 펄스 위치변조 하여 변조된 펄스에 맞추어 기설정된 주파수 신호를 블록형태로 상기 전력선의 교류신호에 동조하여 송신하거나 상기 전력선의 교류신호를 수신하는 제2동조부;
상기 전력선을 통해 전송할 데이터를 변조하는 제2변조부;
상기 제2동조부에서 검출된 상기 전력선의 교류전원에 결합된 변조된 데이터를 복조할 수 있는 신호로 변환하는 제2파형변환부;
상기 제2파형변환부에서 변환된 신호에 기초하여 수신된 데이터를 복조 하는 제2복조부;
상기 마스터 전력선 통신장치로부터 수신한 응답명령에 기초하여 해당 응답명령에 대한 응답신호를 송신하는 응답신호송신부;
상기 마스터 전력선 통신장치로부터 수신한 제어명령에 기초하여 제어대상기기로 해당 제어명령에 대한 제어신호를 송신하는 제어신호송신부; 및
상기 제어신호에 따라 제어된 제어대상기기의 상태정보를 송신하는 상태정보송신부;를 포함하는, 데이터 통신 시스템.
The method according to claim 1,
The slave power line communication device,
A second tuning unit that modulates and modulates the pulsed data and transmits a predetermined frequency signal to the AC signal of the power line in a block form according to the modulated pulse, or receives the AC signal of the power line;
A second modulator for modulating data to be transmitted through the power line;
A second waveform converting unit converting the modulated data coupled to the AC power of the power line detected by the second tuning unit into a demodulated signal;
A second demodulator which demodulates the received data based on the signal converted by the second waveform converter;
A response signal transmitter for transmitting a response signal for the corresponding response command based on the response command received from the master power line communication device;
A control signal transmission unit that transmits a control signal for the corresponding control command to the control target device based on the control command received from the master power line communication device; And
A data communication system comprising a; status information transmitting unit for transmitting the status information of the control target device controlled according to the control signal.
청구항 1에 있어서,
상기 데이터 통신 시스템은,
마스터 전력선 통신장치에 의하여, 제어대상기기에 대한 제어명령을 복수의 슬레이브 전력선 통신장치로 송신하는 제1-1단계;
마스터 전력선 통신장치에 의하여, 슬레이브 전력선 통신장치에 대한 응답명령을 복수의 슬레이브 전력선 통신장치로 송신하는 제1-2단계;
슬레이브 전력선 통신장치에 의하여, 상기 응답명령에 대응하는 응답신호를 마스터 전력선 통신장치로 송신하는 제2단계;
마스터 전력선 통신장치에 의하여, 복수의 슬레이브 전력선 통신장치로부터 수신한 상기 응답신호에 기초하여 상기 통신장애여부를 판별하고, 판별한 상기 통신장애여부에 따라 상기 교류전원에 동조되어 송신되는 주파수 신호를 변경하는 제3단계; 및
마스터 전력선 통신장치에 의하여, 변경된 주파수 신호에 따른 제어대상기기에 대한 제어명령을 복수의 슬레이브 전력선 통신장치로 송신하는 제4-1단계; 및
마스터 전력선 통신장치에 의하여, 변경된 주파수 신호에 따른 슬레이브 전력선 통신장치에 대한 응답명령을 복수의 슬레이브 전력선 통신장치로 송신하는 제4-2단계;를 수행하는, 데이터 통신 시스템.
The method according to claim 1,
The data communication system,
A first-first step of transmitting, by the master power line communication device, a control command for the control target device to a plurality of slave power line communication devices;
Step 1-2 of transmitting, by the master power line communication device, a response command to the slave power line communication device to the plurality of slave power line communication devices;
A second step of transmitting, by the slave power line communication device, a response signal corresponding to the response command to the master power line communication device;
The master power line communication device determines whether the communication failure is based on the response signal received from a plurality of slave power line communication devices, and changes the frequency signal transmitted in synchronization with the AC power according to the determined communication failure. The third step; And
Step 4-1, by the master power line communication device, transmitting a control command for the control target device according to the changed frequency signal to a plurality of slave power line communication devices; And
And performing, by the master power line communication device, a 4-2 step of transmitting a response command to the slave power line communication device according to the changed frequency signal to the plurality of slave power line communication devices.
청구항 4에 있어서,
상기 제1-2단계에서는, 상기 제1동조부는 150kHz의 주파수로 응답명령의 신호를 인가하고,
상기 제3단계에서는, 통신장애가 있다고 판별하는 경우, 상기 주파수변경부는 200kHz의 주파수로 상기 제1동조부에서 인가되는 신호의 주파수를 변경하는, 데이터 통신 시스템.
The method according to claim 4,
In the first and second steps, the first tuning unit applies a response command signal at a frequency of 150 kHz,
In the third step, if it is determined that there is a communication failure, the frequency changing unit changes the frequency of the signal applied from the first tuning unit to a frequency of 200 kHz, data communication system.
KR1020200024781A 2020-02-28 2020-02-28 Data Communication System Using Pulse Position Modulation KR102120450B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200024781A KR102120450B1 (en) 2020-02-28 2020-02-28 Data Communication System Using Pulse Position Modulation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200024781A KR102120450B1 (en) 2020-02-28 2020-02-28 Data Communication System Using Pulse Position Modulation

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020200007214A Division KR102086468B1 (en) 2020-01-20 2020-01-20 Data Communication System Using Master Power Line Communication Device and Slave Power Line Communication Device

Publications (1)

Publication Number Publication Date
KR102120450B1 true KR102120450B1 (en) 2020-06-08

Family

ID=71090008

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200024781A KR102120450B1 (en) 2020-02-28 2020-02-28 Data Communication System Using Pulse Position Modulation

Country Status (1)

Country Link
KR (1) KR102120450B1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR200280506Y1 (en) * 2002-04-17 2002-07-02 (주)내일커뮤니티 Power line communication apparatus using spread spectrum
KR101278125B1 (en) * 2013-05-07 2013-06-25 이상철 Dimming control apparatus using sensing of volts alternating current in power line communication
JP2014233044A (en) * 2013-05-30 2014-12-11 株式会社デンソー Power line communication system, master and slave
KR101756757B1 (en) 2016-04-22 2017-07-11 (주)블루칩스 Data transfer method and device using control communication phase angle of volts alternating current
KR101898554B1 (en) 2017-06-09 2018-09-13 (주)블루칩스 Bi-directional Communication Device Using Frequency Modulation of AC Power Source
KR101921303B1 (en) 2017-04-20 2018-11-22 (주)블루칩스 Unit control devices and method using control communication phase angle of volts alternating current
KR102036081B1 (en) * 2019-03-14 2019-10-25 박진형 Power Line Communication Method and Device Using Pulse Position Modulation

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR200280506Y1 (en) * 2002-04-17 2002-07-02 (주)내일커뮤니티 Power line communication apparatus using spread spectrum
KR101278125B1 (en) * 2013-05-07 2013-06-25 이상철 Dimming control apparatus using sensing of volts alternating current in power line communication
JP2014233044A (en) * 2013-05-30 2014-12-11 株式会社デンソー Power line communication system, master and slave
KR101756757B1 (en) 2016-04-22 2017-07-11 (주)블루칩스 Data transfer method and device using control communication phase angle of volts alternating current
KR101921303B1 (en) 2017-04-20 2018-11-22 (주)블루칩스 Unit control devices and method using control communication phase angle of volts alternating current
KR101898554B1 (en) 2017-06-09 2018-09-13 (주)블루칩스 Bi-directional Communication Device Using Frequency Modulation of AC Power Source
KR102036081B1 (en) * 2019-03-14 2019-10-25 박진형 Power Line Communication Method and Device Using Pulse Position Modulation

Similar Documents

Publication Publication Date Title
KR102036081B1 (en) Power Line Communication Method and Device Using Pulse Position Modulation
US4864589A (en) Spread spectrum power line communications
KR920002268B1 (en) Power line communication apparatus
US7009348B2 (en) Multiple channel ballast and networkable topology and system including power line carrier applications
KR102151209B1 (en) Illumination Control System Using Power Line Communication
KR102086468B1 (en) Data Communication System Using Master Power Line Communication Device and Slave Power Line Communication Device
US8232668B2 (en) Synchronization point detection method and power line communication apparatus
RU2437214C2 (en) Communication device and communication system
CN102484853B (en) Wireless communication apparatus
CN1988413B (en) Synchronous method and device for time division duplex communication system
US11490332B2 (en) Multiplexing of wake-up signals
KR102120450B1 (en) Data Communication System Using Pulse Position Modulation
KR102149362B1 (en) Lighting Control System Based on Power Line Communication
JPH01500954A (en) Modem and data communication systems
WO2010147564A1 (en) Amplitude modulated power line communication system and method
KR102410983B1 (en) Bi-Directional Power Line Communication Device and Method Using Pulse Position Modulation
JP2009225141A (en) Receiving apparatus, transmission/reception system and device control method
US11363531B2 (en) Encoding and decoding data in communication frames of a communications protocol
US20160149689A1 (en) Communication apparatus and communication method
KR100446188B1 (en) Closed circuit power line communication by using phase control method
JP6716527B2 (en) Power line carrier communication system
US20230378938A1 (en) Systems, Apparatuses, and Methods for Pulse Shaping in High Voltage Power Systems
EP2495896A1 (en) Wireless communication device
JPH04216297A (en) Power line communication system
KR920011065B1 (en) Data communication circuit and the same method

Legal Events

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