KR200305211Y1 - Street lamp control system to use Yangbanghyang power line communication - Google Patents

Street lamp control system to use Yangbanghyang power line communication Download PDF

Info

Publication number
KR200305211Y1
KR200305211Y1 KR20-2002-0034166U KR20020034166U KR200305211Y1 KR 200305211 Y1 KR200305211 Y1 KR 200305211Y1 KR 20020034166 U KR20020034166 U KR 20020034166U KR 200305211 Y1 KR200305211 Y1 KR 200305211Y1
Authority
KR
South Korea
Prior art keywords
slave
lamp
plc
plc master
main board
Prior art date
Application number
KR20-2002-0034166U
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 KR20-2002-0034166U priority Critical patent/KR200305211Y1/en
Application granted granted Critical
Publication of KR200305211Y1 publication Critical patent/KR200305211Y1/en

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/72Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps in street lighting

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

본 고안은 별도의 배선을 사용하지 않은 상태에서 전원의 공급을 위한 전력선을 통한 전력선 통신 방식을 사용하여 각 분기회로에 최대 100개까지 연결되는 가로등들의 상태를 양방향성으로 감시하도록 하여 가로등의 안정기와 램프의 이상유무를 판단하고 누전이 발생할 시 이를 차단하도록 하며 분전함 전체의 제어하면서 선로 구조상 격등이 되지 않는 경우에도 격등으로 점등시킬 수 있도록 한 양방향 전력선통신을 이용한 가로등 감시 제어시스템에 관한 것이다.The present invention uses the power line communication method through the power line for supplying power without using separate wiring so that the state of up to 100 street lights connected to each branch circuit can be monitored bi-directionally. The present invention relates to a streetlight monitoring and control system using two-way power line communication to determine whether there is an abnormality, to cut off a short circuit, and to control the entire distribution box and to turn on the light even when the wire structure does not increase.

종래의 가로등 온/오프 제어 시스템에서 가로등의 상태를 점검하고 이상유무를 판단하고자 하는 경우 단 방향 무선 통신을 사용하기 때문에 이미 설치되어 있는 장비의 수량과 동일한 수의 새로운 장비를 추가해야 하는 부담이 발생하게 되는 문제점이 있었다.In the conventional streetlight on / off control system, if one wants to check the status of the streetlight and determine whether there is an abnormality, one-way wireless communication is used. Therefore, the burden of adding the same number of new equipment as the number of already installed equipment is generated. There was a problem.

상기한 문제점을 해소하기 위하여 본 고안은,The present invention to solve the above problems,

PLC 마스터에 전원이 공급되도록 하면 전력선통신라인을 통해 일정한 주기로 가로등상태를 각각 슬레이브 PLC로부터 읽어내고,When power is supplied to the PLC master, the street lamp status is read from the slave PLC at regular intervals through the power line communication line.

PLC 마스터와 확장보드는 일정한 주기로 통신을 하며, PLC 마스터가 정상적인 상태가 아니라고 판단되면 확장보드는 PLC 마스터 모듈을 리셋 시키도록 하고,The PLC master and the expansion board communicate at regular intervals. If it is determined that the PLC master is not in a normal state, the expansion board should reset the PLC master module.

PLC 마스터의 딥스위치 상태는 확장보드를 통해 PLC 마스터 모듈로 읽혀지도록 하여 하드웨어(H/W)와 소프트웨어(S/W)의 부하를 분산시키고,Dip switch status of PLC master is read by PLC master module through expansion board to distribute load of hardware (H / W) and software (S / W),

메모리 저장부의 정보의 저장/읽기 등은 확장보드를 통해 PLC 마스터 모듈이사용하도록 하고,Save / read information of memory storage part to be used by PLC master module through expansion board.

운영프로그램과 PLC 마스터 모듈간의 통신은 확장보드를 통해 이루어지도록 함으로써 PLC 마스터 모듈의 통신버퍼의 역할을 하면서 소프트웨어적 부하의 분산이 이루어지도록 하고,Communication between the operating program and the PLC master module is made through the expansion board so that the software load is distributed while acting as the communication buffer of the PLC master module.

운영프로그램은 각 분기별로 램프를 온/오프시키거나 개별적으로 램프를 온/오프 시킬 수 있으며 각 램프의 정보를 받아서 그에 따라 필요한 처리를 결정하도록 하고,The operating program can turn on / off the lamps on a quarterly basis or turn on / off the lamps individually, receive the information of each lamp and determine the required processing accordingly.

운영프로그램으로 받은 램프 제어 명령은 PLC 마스터 모듈에 제어 맵(map)으로 저장되어 일정한 주기로 리프레시(refresh)하도록 하고,The lamp control command received from the operating program is stored as a control map in the PLC master module to refresh at regular intervals.

PLC 슬레이브로부터 받은 각 램프의 상태는 PLC 마스터 모듈에 상태 맵으로 저장되며 운영프로그램의 요구에 따라 즉시 응답을 해주도록 한다.The status of each lamp received from the PLC slave is saved as a status map in the PLC master module and responds immediately upon the request of the operating program.

한편, 슬레이브 PLC는, 전원이 공급되도록 하면 센서보드로부터 통신부를 통해 딥스위치의 정보를 얻어 배치(cornfig) 데이터를 작성하며 메모리 저장부로부터 자신의 고유번호를 인식하도록 하고,On the other hand, the slave PLC, when the power is supplied to obtain the information of the dip switch from the sensor board through the communication unit to create the (cornfig) data and to recognize the unique number from the memory storage unit,

콘 플래그에 따라 램프 제어부와 CT, ZCT 인식부의 개수를 인식하여 램프의 상태인식 및 제어하도록 하고,Recognize and control the status of lamp by recognizing the number of lamp control part and CT, ZCT recognition part according to cone flag,

램프의 안정기의 앞단 또는 뒷단에 CT, ZCT 센서를 설치하여 주기적으로 전류치의 흐름을 판단하면서 램프의 상태를 인식하며, 누전 또는 안정기에 이상이 발생하면 램프를 자동으로 오프 시키도록 하고, 일정한 주기로 누전이나 안정기의 상태를 재검사하도록 하고,Install CT and ZCT sensors at the front or rear of the ballast to recognize the lamp status while judging the flow of current value periodically.If a short circuit or abnormality occurs in the ballast, turn off the lamp automatically. Or recheck the condition of the ballast,

PLC 마스터와 센서보드는 일정한 주기로 통신을 하며, PLC 마스터가 정상적인 상태가 아니라고 판단되면 센서보드에서 PLC 마스터 모듈을 리셋 시키도록 하며,The PLC master and the sensor board communicate at regular intervals, and if it is determined that the PLC master is not in a normal state, reset the PLC master module in the sensor board.

램프의 점등을 위한 초기 구동용 고전압을 발생시키는 안정기의 인입선과 릴레이 접저사이에 고전압을 흡수하는 소자를 연결하여 안정기 내에서 발생한 서지전압을 흡수하도록 함으로써 서지전압에 의해 릴레이가 융착되는 현상을 방지할 수 있도록 함을 특징으로 한다.It is possible to prevent the fusion of the relay by the surge voltage by connecting the absorbing element between the lead wire of the ballast which generates the initial driving high voltage for lighting the lamp and the element absorbing high voltage to absorb the surge voltage generated in the ballast. It is characterized in that it allows.

Description

양방향 전력선통신을 이용한 가로등 감시 제어시스템{Street lamp control system to use Yangbanghyang power line communication}Street lamp control system using bidirectional power line communication {Street lamp control system to use Yangbanghyang power line communication}

본 고안은 양방향 전력선통신을 이용한 가로등 감시 제어시스템에 관한 것으로, 상세하게는 별도의 배선을 사용하지 않은 상태에서 전원의 공급을 위한 전력선을 통한 전력선 통신 방식을 사용하여 각 분기회로에 최대 100개까지 연결되는 가로등들의 상태를 양방향성으로 감시하도록 하여 가로등의 안정기와 램프의 이상유무를 판단하고 누전이 발생할 시 이를 차단하도록 하며 분전함 전체의 제어하면서 선로 구조상 격등이 되지 않는 경우에도 격등으로 점등시킬 수 있도록 한 양방향 전력선통신을 이용한 가로등 감시 제어시스템에 관한 것이다.The present invention relates to a streetlight monitoring control system using two-way power line communication, in detail up to 100 in each branch circuit using a power line communication method through the power line for the supply of power without using a separate wiring It monitors the status of the connected street lamps in both directions to determine whether there is an abnormality in the ballasts and lamps and to block them when a short circuit occurs. The present invention relates to a streetlight supervisory control system using two-way power line communication.

일반적으로 도로 주변의 수십 내지 수백 개의 가로등은 한 곳에서 전원공급을 제어 할 수 있도록 설치되어 있으며 각각의 가로등의 이상 유무 점검 시는 일일이 각 전주에 도착하여 고장유무를 검사하였으므로 점검시간이 많이 소요되는 단점이 있었다.In general, dozens or hundreds of street lamps around the road are installed to control the power supply at one place. There was a downside.

또한 가로등의 이상 유무를 점검하여 이를 수리하려면 다량의 램프 및 안정 등을 정비차량에 적재하여 각각의 가로등을 방문했으므로 정비차량에 의해 교통체증을 유발시키는 단점이 수반되었다.In addition, to check the abnormality of the street lamp and repair it, a large number of lamps and stabilizers were loaded on the maintenance vehicle, and each street lamp was visited, resulting in a traffic jam caused by the maintenance vehicle.

종래 조명등회로의 고장상태를 검출하여 표시하는 장치로 한국실용신안공보 제 89-3957호(고장표시장치)가 있었으며, 조명등 회로고장 정보를 검출하는 방법 및 장치로는 한국특허출원 90-1387호에 공개되어 있다.Korean Utility Model Publication No. 89-3957 (Failure Display Device) is a device for detecting and displaying a fault state of a conventional lamp circuit.A method and a device for detecting lamp circuit failure information are described in Korean Patent Application No. 90-1387. It is open.

그리고 조명등 회로의 고장정보 수집장치는 한국특허공보 제95-13607 호가 있다.In addition, there is Korean Patent Publication No. 95-13607 as a failure information collecting device of a lamp circuit.

위에서 언급한 고장정보 수집장치는 중앙제어장치가 중앙통제 CPU, 표시 장치, 키보드, 스위치조작부, 통신장치 등으로 구성되어 있으며, 중앙제어 장치는 다양한 기능을 프로그램에 의하여 제어함으로서 운영의 원활을 기할 수 있는 능력을 갖도록 하였다.The above-mentioned fault information collecting device has a central control unit which consists of a central control CPU, a display unit, a keyboard, a switch control unit, and a communication unit. The central control unit can control various functions by programs to facilitate the operation. To have the ability to

또한 중앙제어장치에 통신포트를 구비하여 전용선 또는 캐리어 주파수를 이용하여 다른 단말기 또는 컴퓨터시스템과 통신할 수 있도록 하였다.In addition, the central control unit has a communication port to communicate with other terminals or computer systems using a dedicated line or carrier frequency.

중앙제어장치는 조명등회로에 연결되어 있는 고장검출장치와 통신을 하여 고장유무를 확인하고 그 고장정보를 수집하도록 하였다.The central control unit communicates with the fault detection device connected to the lamp circuit to check the fault and collect the fault information.

통상 조명등 점등회로는 초크코일과 고압펄스 발생회로로 된 안정기와 램프로 구성되어 있으며, 고압펄스 발생회로에서는 콘덴서와 초크코일의 공진에 의해 수 KV의 펄스전압이 발생되어 방전등을 점등시키도록 하였다.Normally, the lighting lamp lighting circuit is composed of a choke coil and a ballast with a high voltage pulse generating circuit and a lamp. In the high voltage pulse generating circuit, a pulse voltage of several KV is generated by the resonance of the condenser and the choke coil to turn on the discharge lamp.

고장검출장치는 전압이상 감지회로, 안정기 고장감지회로 및 램프고장감지회로로 구성하되,The fault detection device consists of voltage abnormality detection circuit, ballast failure detection circuit and lamp failure detection circuit.

전압이상 감지회로는 저항과, 발광소자와 수광소자로 구성된 광결합소자, 검파 및 논리신호 발생부로 이루어져서, 전압에 이상이 없으면 필요한 광량을 발광소자로부터 얻어서 이에 의하여 광트랜지스터가 온 오프 되어 필요한 전압을 얻고, 이 전압은 검파 및 논리신호 발생부에 의하여 필요한 디지털신호로 변환되도록 하였다.The voltage anomaly detection circuit is composed of a resistor, an optical coupling element composed of a light emitting element and a light receiving element, a detection and logic signal generator, and if there is no abnormality in voltage, the required amount of light is obtained from the light emitting element. This voltage was then converted into the required digital signal by the detection and logic signal generator.

안정기 고장감지회로는 전압이상 감지회로과 같은 구성으로 되어 있으며, 검파 및 논리신호 발생부에 의하여 필요한 디지털신호로 변환되어 터미널 CPU에 안정기 이상여부의 신호를 전달하도록 하였다.The ballast failure detection circuit has the same configuration as the voltage abnormality detection circuit, and is converted into the necessary digital signal by the detection and logic signal generation unit to transmit the signal of the ballast failure status to the terminal CPU.

램프고장 감지회로는 변류기를 이용하여 램프에 흐르는 전류를 검출하고 이를 증폭하여 램프고장 유무에 따른 전압을 얻을 수 있도록 하였다.The lamp failure detection circuit detects the current flowing through the lamp using a current transformer and amplifies it so that a voltage according to the lamp failure can be obtained.

이러한 시스템에서 방전등의 고장유무를 파악하기 위하여 중앙제어장치는 고장검출장치를 억세스 하여 고장정보를 수집하도록 하였다.In this system, the central control unit collects the failure information by accessing the failure detection device in order to identify the failure of the discharge lamp.

그러나 종래의 고장검출장치는 전원과 안정기에서 발생되는 전압이 모두 높은 전압이어서 전자부품들이 쉽게 열화되거나 고장을 일으키는 경우가 많아서 신뢰성이 낮은 결점이 있었다. 그래서 고전압에서 분리된 상태로 고장정보를 수집할 수 있는 고정상태 검출장치가 요구되었다.However, the conventional fault detection device has a drawback of low reliability because the voltage generated from the power supply and the ballast are both high voltages, so that the electronic parts are easily deteriorated or fail. Therefore, there is a need for a stationary state detection device capable of collecting fault information in a state separated from high voltage.

그러므로 1990년 특허출원 제 10-19900001387호(조명기구 고장부위 집중 표시 장치 및 고장정보 수집방법)가 제안되었는 바,Therefore, in 1990, patent application No. 10-19900001387 (intensity display device and failure information collection method of lighting equipment failure part) was proposed.

이는 하나의 단위 제어부는 방전등이 점등회로를 경유하여 전력선에 접속 구성되도록 하고,This means that one unit control unit is configured such that a discharge lamp is connected to a power line via a lighting circuit.

상기 점등회로는 단위 고장검출기 및 결합수단을 경유하여 다시 전력선에 접속 구성되도록 하고,The lighting circuit is configured to be connected to the power line again via the unit fault detector and the coupling means,

상기의 단위 제어부 40개∼150개를 전력선에 접속 구성하고,40 to 150 unit control units described above are connected to the power line,

상기 전력선은 결합수단을 경유하여 중앙제어 처리기에 접속하고,The power line is connected to the central control processor via the coupling means,

상기 중앙제어 처리기는 고장표시기에 접속 구성함으로써The central control processor is connected to the fault indicator

전력선에 교류 전원이 공급되면 방전등들이 점등회로에 의하여 온되도록 하고, 공급되는 교류전원, 점등회로 또는 방전등에 고장이 발생하면 이를 단위고장 검출기가 검출하여 결합수단을 통해 고장정보를 송출하도록 하고, 상기의 송출된 고장정보는 결합수단을 경유하여 중앙제어 처리기에 의해 기억되었다가 점검자의 요구에 의해 고장표시기에 표시되도록 하였다.When AC power is supplied to the power line, the discharge lamps are turned on by the lighting circuit, and when a failure occurs in the supplied AC power source, the lighting circuit or the discharge lamp, the unit failure detector detects and transmits the failure information through the coupling means. The fault information sent out by the controller was stored by the central processor via the coupling means and displayed on the fault indicator at the request of the inspector.

그러나 상기와 같은 종래의 조명기구 고장부위 집중 표시 장치 및 고장정보 수집방법에 의하여서는 단위고장 검출기에 의하여 각 방전등의 고장여부를 검출한 후 그에 따른 정보를 중앙제어 처리기에 송출하도록 하였으므로 각각의 방전등에 고장 검출기를 설치하는 데에 따르는 구성의 복잡함과 아울러 설치비가 많이 소요되는 등의 문제점이 있었다.However, according to the above-described conventional luminaire failure area concentration display device and failure information collection method, the failure of each discharge lamp is detected by the unit failure detector, and the corresponding information is sent to the central control processor. In addition to the complexity of the configuration according to the installation of the failure detector, there was a problem such as high installation cost.

따라서 2000년 12월 22일자 특허출원 제20-2000-0036172호(전력선을 이용한 조명등 회로 고장정보 검출장치)가 제안되었는 바,Therefore, Patent Application No. 20-2000-0036172 dated December 22, 2000 (light circuit failure information detection device using a power line) was proposed,

이는 조명등 회로와,This is the lighting circuit

조명등 회로의 고장 정보를 검출하는 단말 장치와,A terminal device for detecting fault information of the lamp circuit;

고장 정보를 전송 받아 수집하여 원거리에 위치한 호스트에 전달하는 중앙 장치를 포함하여 이루어지고,It includes a central unit that receives and collects fault information and delivers it to a remotely located host.

중앙 장치가 호스트로부터 소정의 제어 신호를 전달받아 처리하도록 이루어지며,The central device is made to receive and process a predetermined control signal from the host,

중앙 장치와 호스트 사이에서 이루어지는 상태 정보 및 제어 신호의 전달이 조명등 고장정보 검출 장치에 전력을 공급하는 전력선을 통하여 이루어지도록 하였으나, 조명회로 전력선에 조명부하가 없는 시간 즉 조명등을 점등하지 않는 시간에, 교류 전압이 인가되지 않고 있는 전력선을 통신 회선으로 이용하여 호스트와 중앙 장치사이에 정보의 송수신이 이루어지도록 하였으므로 야간에 발생하는 상태에 대하여는 전혀 인식할 수 없게 되는 문제점이 있었다.Although the state information and control signals are transmitted between the central unit and the host through a power line for supplying power to the failure information detecting device of the lamp, at a time when there is no light load on the power circuit of the lamp circuit, that is, when the lamp does not turn on, Since a power line to which an AC voltage is not applied is used as a communication line to transmit and receive information between the host and the central device, there is a problem in that the state occurring at night cannot be recognized at all.

그리고 램프의 점등을 위한 초기 구동용 고전압을 발생시키는 안정기의 외함과 릴레이의 접점 사이에 그 고전압을 흡수하는 소자를 연결하여 안정기의 초기 구동용 고전압이 릴레이 접점에 유도되는 것을 차단함으로써 릴레이의 융착을 방지하는 방법이 제안되었으나, 실제로 안정기의 외함과 릴레이 접점 사이가 멀리 떨어진 상태(실제로는 수 미터)이므로 고전압을 흡수하기 위한 소자를 연결하는 데 어려움이 많아 생산성이 저하되는 등의 문제점이 있었다.The fusion of the relay is prevented by connecting an element absorbing the high voltage between the enclosure of the ballast which generates the initial driving high voltage for the lamp lighting and the contact of the relay and preventing the initial driving high voltage of the ballast from being induced at the relay contact. Although a method of preventing this has been proposed, there is a problem in that productivity is reduced due to difficulty in connecting a device for absorbing high voltage since the ballast and the relay contact are actually far apart (actually several meters).

이에 본 고안은 상기한 바와 같은 종래의 문제점을 해소시키기 위하여 안출된 것으로, 별도의 배선을 사용하지 않은 상태에서 전원의 공급을 위한 전력선을 통한 전력선 통신 방식을 사용하여 각 분기회로에 최대 100개까지 연결되는 가로등들의 상태를 양방향성으로 감시하도록 하여 가로등의 안정기와 램프의 이상유무를 판단하고 누전이 발생할 시 이를 차단하도록 하며 분전함 전체의 제어하면서 선로 구조상 격등이 되지 않는 경우에도 격등으로 점등시킬 수 있도록 한 양방향 전력선통신을 이용한 가로등 감시 제어시스템을 제공하는 것을 그 목적으로 한다.Therefore, the present invention was devised to solve the conventional problems as described above, up to 100 in each branch circuit using a power line communication method through a power line for supplying power without using separate wiring. It monitors the status of the connected street lamps in both directions to determine whether there is an abnormality in the ballasts and lamps and to block them when a short circuit occurs. It is an object of the present invention to provide a streetlight monitoring control system using two-way power line communication.

상기 목적을 달성하기 위한 본 고안의 양방향 전력선통신을 이용한 가로등 감시 제어시스템은 PLC(전력선 통신 : Power Line Communication) 마스터에 전원이공급되도록 하면 전력선통신라인을 통해 일정한 주기로 가로등상태를 각각 슬레이브 PLC로부터 읽어내고,Street light monitoring control system using bi-directional power line communication of the present invention for achieving the above object is to read the state of the street light from the slave PLC at regular intervals through the power line communication line if power is supplied to the PLC (Power Line Communication) master. Betting,

PLC 마스터와 확장보드는 일정한 주기로 통신을 하며, PLC 마스터가 정상적인 상태가 아니라고 판단되면 확장보드는 PLC 마스터 모듈을 리셋 시키도록 하고,The PLC master and the expansion board communicate at regular intervals. If it is determined that the PLC master is not in a normal state, the expansion board should reset the PLC master module.

PLC 마스터의 딥스위치 상태는 확장보드를 통해 PLC 마스터 모듈로 읽혀지도록 하여 하드웨어(H/W)와 소프트웨어(S/W)의 부하를 분산시키고,Dip switch status of PLC master is read by PLC master module through expansion board to distribute load of hardware (H / W) and software (S / W),

메모리 저장부의 정보의 저장/읽기 등은 확장보드를 통해 PLC 마스터 모듈이 사용하도록 하고,Save / read information of memory storage part to be used by PLC master module through expansion board.

운영프로그램과 PLC 마스터 모듈간의 통신은 확장보드를 통해 이루어지도록 함으로써 PLC 마스터 모듈의 통신버퍼의 역할을 하면서 소프트웨어적 부하의 분산이 이루어지도록 하고,Communication between the operating program and the PLC master module is made through the expansion board so that the software load is distributed while acting as the communication buffer of the PLC master module.

운영프로그램은 각 분기별로 램프를 온/오프시키거나 개별적으로 램프를 온/오프 시킬 수 있으며 각 램프의 정보를 받아서 그에 따라 필요한 처리를 결정하도록 하고,The operating program can turn on / off the lamps on a quarterly basis or turn on / off the lamps individually, receive the information of each lamp and determine the required processing accordingly.

운영프로그램으로 받은 램프 제어 명령은 PLC 마스터 모듈에 제어 맵(map)으로 저장되어 일정한 주기로 리프레시(refresh)하도록 하고,The lamp control command received from the operating program is stored as a control map in the PLC master module to refresh at regular intervals.

PLC 슬레이브로부터 받은 각 램프의 상태는 PLC 마스터 모듈에 상태 맵으로 저장되며 운영프로그램의 요구에 따라 즉시 응답을 해주도록 한다.The status of each lamp received from the PLC slave is saved as a status map in the PLC master module and responds immediately upon the request of the operating program.

한편, 슬레이브 PLC는, 전원이 공급되도록 하면 센서보드로부터 통신부를 통해 딥스위치의 정보를 얻어 배치(cornfig) 데이터를 작성하며 메모리 저장부로부터자신의 고유번호를 인식하도록 하고,On the other hand, the slave PLC, when the power is supplied to obtain the information of the dip switch from the sensor board through the communication unit to create the (cornfig) data and to recognize the unique number from the memory storage unit,

콘 플래그에 따라 램프 제어부와 CT, ZCT 인식부의 개수를 인식하여 램프의 상태인식 및 제어하도록 하고,Recognize and control the status of lamp by recognizing the number of lamp control part and CT, ZCT recognition part according to cone flag,

램프의 안정기의 앞단 또는 뒷단에 CT, ZCT 센서를 설치하여 주기적으로 전류치의 흐름을 판단하면서 램프의 상태를 인식하며, 누전 또는 안정기에 이상이 발생하면 램프를 자동으로 오프 시키도록 하고, 일정한 주기로 누전이나 안정기의 상태를 재검사하도록 하고,Install CT and ZCT sensors at the front or rear of the ballast to recognize the lamp status while judging the flow of current value periodically.If a short circuit or abnormality occurs in the ballast, turn off the lamp automatically. Or recheck the condition of the ballast,

PLC 마스터와 센서보드는 일정한 주기로 통신을 하며, PLC 마스터가 정상적인 상태가 아니라고 판단되면 센서보드에서 PLC 마스터 모듈을 리셋 시키도록 함을 특징으로 한다.The PLC master and the sensor board communicate at regular intervals, and if it is determined that the PLC master is not in a normal state, the sensor board resets the PLC master module.

도 1은 본 고안의 전체적인 구성을 나타낸 개략도.1 is a schematic view showing the overall configuration of the present invention.

도 2는 본 고안의 분전함의 내부 구성을 나타낸 블록도.Figure 2 is a block diagram showing the internal configuration of the distribution box of the present invention.

도 3은 본 고안의 가로등의 내부 구성을 나타낸 블록도.Figure 3 is a block diagram showing the internal configuration of a street lamp of the present invention.

도 4는 본 고안의 PLC 마스터 메인보드 및 슬레이브 메인보드의 구성을 나타낸 블록도.Figure 4 is a block diagram showing the configuration of a PLC master main board and a slave main board of the present invention.

도 5는 본 고안의 송수신부의 구성을 나타낸 블록도.Figure 5 is a block diagram showing the configuration of the transceiver of the present invention.

도 6은 본 고안의 가로등의 상태정보를 나타낸 도표.Figure 6 is a table showing the state information of the street lamp of the present invention.

도 7은 본 고안의 메모리 맵의 상태를 나타낸 도표.7 is a table showing a state of the memory map of the present invention.

도 8은 본 고안의 가로등의 제어상태 메모리 맵을 나타낸 도표.8 is a table showing a control state memory map of a street lamp of the present invention;

도 9는 본 고안의 PLC 마스터 메인보드 초기화 플래그의 값을 나타낸 도표.9 is a table showing the value of the PLC master main board initialization flag of the present invention.

도 10은 슬레이브 메인보드의 각 컴포넌트에서 필요한 데이터 항목을 나타낸 도표.10 is a table showing data items required for each component of the slave mainboard.

도 11은 본 고안의 가로등의 상태정보를 나타낸 도표.11 is a table showing the state information of the street lamp of the present invention.

도 12는 본 고안의 슬레이브 메인보드 초기화 플래그의 값을 나타낸 도표.12 is a table showing a value of the slave motherboard initialization flag of the present invention.

도 13은 본 고안의 PLC 마스터 메인보드의 동작 과정을 나타낸 플로우차트.13 is a flowchart showing the operation of the PLC master main board of the present invention.

도 14는 본 고안의 마스터 확장보드의 동작과정을 나타낸 플로우차트14 is a flowchart showing the operation of the master expansion board of the present invention

도 15는 본 고안의 슬레이브 메인보드의 동작과정을 나타낸 플로우차트.15 is a flowchart showing the operation of the slave mainboard of the present invention.

도 16은 본 고안의 그룹의 데이터 필드를 나타낸 도표.16 is a table showing a data field of a group of the present invention.

도 17은 본 고안의 램프 용량별 가로등의 상태 판단 기준을 나타낸 도표.17 is a table showing a criterion for determining the state of a street lamp according to the lamp capacity of the present invention.

도 18은 본 고안의 슬레이브 메인보드의 동작과정을 나타낸 플로우차트.18 is a flowchart showing the operation of the slave mainboard of the present invention.

도 19 내지 도 22는 가로등 램프의 정상, 불능 또는 비정상의 상태에 따른 상태를 나타낸 파형도.19 to 22 is a waveform diagram showing a state according to the normal, disabled or abnormal state of the street lamp.

도 23은 본 고안의 램프에서 릴레이의 접점을 보호하기 위한 구성을 나타낸 회로도.Figure 23 is a circuit diagram showing a configuration for protecting the contacts of the relay in the lamp of the present invention.

* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings

1 : 중앙제어 시스템 2 : 유.무선 통신망1: Central control system 2: Wired and wireless communication network

3 : 분전함 5 : 가로등3: distribution box 5: street light

4 : 분기회로 6 : 램프4 branch circuit 6 lamp

11 : PLC 마스터 메인보드 12 : 마스터 확장보드11: PLC master main board 12: Master expansion board

13 : 마스터 플래시메모리 14 : PLC 마스터 워치독13: Master flash memory 14: PLC master watchdog

15, 28 : 통신부 16, 30 : 딥스위치15, 28: communication unit 16, 30: dip switch

21 : 슬레이브 메인보드 22 : 슬레이브 센서보드21: Slave main board 22: Slave sensor board

23 ; 슬레이브 플래시메모리 24 : 슬레이브 전원 공급부23; Slave Flash Memory 24: Slave Power Supply

25 : 슬레이브 워치독 26, 26' : CT 센서25: slave watchdog 26, 26 ': CT sensor

27, 27' : ZCT 센서 29, 29' : 램프 제어부27, 27 ': ZCT sensor 29, 29': lamp control part

이하, 첨부된 도면을 참조하여 본 고안의 바람직한 실시예를 설명하면 다음과 같다.Hereinafter, with reference to the accompanying drawings illustrating a preferred embodiment of the present invention.

도 1은 본 고안에 따른 양방향 전력선통신을 이용한 가로등 감시 제어시스템의 전체적인 구성을 개략적으로 도시한 것으로서,1 schematically shows the overall configuration of a streetlight monitoring control system using bidirectional power line communication according to the present invention,

유.무선 통신망(2)을 통하여 중앙제어 시스템(1)에 연결된 상태에서 통제 및 제어를 받는 가로등 분전함(3)에는 PLC 마스터를 내장한 상태에서 다수의 가로등(5)을 관리하도록 하고,The street lamp distribution box 3 which is controlled and controlled while connected to the central control system 1 through the wire / wireless communication network 2 is configured to manage a plurality of street lamps 5 with a PLC master embedded therein,

상기 하나의 분전함(3)에는 1∼20개의 분기회로(4)를 결합하면서 상기 하나의 분기회로(4)에는 각각 하나씩의 PLC 슬레이브를 내장 또는 외장한 가로등(5)을1∼50개 연결하도록 함으로써 하나의 분전함(3)에 의해 80∼100개의 가로등(5)이 관리되도록 하고,1 to 20 branch circuits 4 are coupled to one distribution box 3 while 1 to 50 street lamps 5 each having one or more PLC slaves built therein or externally connected to the one branch circuit 4. By doing so, 80-100 street lamps 5 are managed by one distribution box 3,

그리고 상기 하나의 가로등(5)에는 1개 혹은 2개의 램프(6)가 설치되도록 구성함으로써, 하나의 분전함(3)에서 각 가로등(5)의 상태 및 이상유무를 판단하여 관리 프로그램의 요청에 의해 각 가로등의 상태를 송신하는 기능, 누전을 감지하여 차단하는 기능 및 각 가로등에 대한 전체제어, 분기 제어 및 개별 제어 기능을 수행하도록 한다.In addition, one or two lamps 6 may be installed in the one street lamp 5 to determine the state and abnormality of each street lamp 5 in one distribution box 3 by request of a management program. The function of transmitting the status of each street light, detecting and blocking short circuits, and performing overall control, branch control, and individual control functions for each street light.

도 2는 본 고안에 따른 가로등 감시 제어시스템의 분전함의 내부 구성을 개략적으로 도시한 것으로서,Figure 2 schematically shows the internal configuration of the distribution box of the streetlight monitoring control system according to the present invention,

상기의 분전함(3)에는 PLC 마스터 메인보드(11)와 마스터 확장보드(12) 및 마스터 플래시메모리(13)들을 포함한다.The distribution box 3 includes a PLC master main board 11, a master expansion board 12, and a master flash memory 13.

상기의 PLC 마스터 메인보드(11)는 내장형 PLC 모듈로서 별도의 전원 공급 장치를 사용하지 않고 분전함의 전원을 사용하여 동작하도록 하고, 가로등(5)에 장착되는 PLC 슬레이브 모듈로부터 데이터를 수신하여 가로등(5)의 현재 상태 및 이상유무를 판단하는 동시에 PLC 슬레이브 모듈로부터 누전에 관한 정보를 수신하는 한편, 중앙제어 시스템(1)으로부터 관리 프로그램의 요청을 받아들여 가로등(5)의 상태 및 이상유무 그리고 누전여부에 관한 정보를 관리 프로그램에게 송신한다.The PLC master main board 11 is a built-in PLC module to operate by using the power of the distribution box without using a separate power supply device, and receives data from the PLC slave module mounted on the street light (5) 5) Receives information about a short circuit from the PLC slave module while judging the current status and abnormality of 5), and accepts a request of the management program from the central control system 1 to detect the state and abnormality of the street light 5 and the short circuit. Information on whether or not is sent to the management program.

상기의 PLC 마스터 확장보드(12)의 PLC 마스터 워치독(14)은 상기 마스터 메인보드(11)에 대한 워치독(Watchdog) 기능을 담당하여 정상여부를 판단하는 동시에 상기의 PLC 마스터 메인보드(11)와 중앙제어 시스템(1)의 관리 프로그램 사이의 통신 인터페이스를 담당하여 통신부(15)를 통하여 통신을 수행하는 중에 관리 프로그램을 전달받거나 가로등의 상태 정보를 전송한다.The PLC master watchdog 14 of the PLC master expansion board 12 is responsible for the watchdog function of the master main board 11 to determine whether the PLC master main board 11 is normal. ) Is in charge of the communication interface between the management program of the central control system 1 and receives the management program or transmits the status information of the street lamp during the communication through the communication unit 15.

상기의 PLC 마스터 워치독(14)에는 딥스위치(16)를 연결하여 가로등의 옵션을 설정하도록 한다.The PLC master watchdog 14 is connected to the dip switch 16 to set an option of the street lamp.

상기의 PLC 마스터 플래시메모리(13)는 분전함(3)에 숨어 있는 가로등(5)에 대한 상태 정보, PLC 마스터 메인보드(11)의 설정 값 및 각 PLC 슬레이브들의 설정 값을 저장한다.The PLC master flash memory 13 stores state information on the street lamp 5 hidden in the distribution box 3, a setting value of the PLC master main board 11, and a setting value of each PLC slave.

상기의 PLC 마스터 메인보드(11)에서 PLC 마스터 확장보드(12)를 통하지 않고 내부의 운영 플호그램에 의하여 직접 RS23 통신모뎀을 통해 중앙제어시스템(1)이나 PLC 슬레이브 모듈과의 통신을 수행하도록 하여도 무방하다.In the PLC master main board 11 to communicate with the central control system 1 or the PLC slave module through the RS23 communication modem directly by the internal operating program instead of the PLC master expansion board 12. It is okay.

도 3은 본 고안에 따른 가로등 감시 제어시스템의 가로등의 내부 구성을 개략적으로 도시한 것으로서,Figure 3 schematically shows the internal configuration of the street lamp of the street lamp monitoring control system according to the present invention,

상기의 가로등(5)에는 슬레이브 메인보드(21)와 슬레이브 센서보드(22)와 슬레이브 플래시메모리(23) 및 슬레이브 전원 공급부(24)들을 포함한다.The streetlight 5 includes a slave main board 21, a slave sensor board 22, a slave flash memory 23, and a slave power supply unit 24.

상기 슬레이브 메인보드(21)는 상기의 PLC 마스터 메인보드(11)의 요청을 받아 가로등의 상태 및 이상유무, 누전여부에 대한 정보를 송신하거나 가로등(5)의 온/오프 제어를 수행한다.The slave main board 21 receives the request of the PLC master main board 11 and transmits information on the state and abnormality of the street light, whether or not a short circuit, or performs on / off control of the street light 5.

그리고 슬레이브 센서보드(22)로부터 CT 센서(26)(26') 및 ZCT 센서(27)(27')의 값을 수신하여 가로등(5)의 이상유무를 판단하여 저장한다.Then, the values of the CT sensors 26 and 26 'and the ZCT sensors 27 and 27' are received from the slave sensor board 22 to determine and store the abnormality of the street lamp 5.

상기의 슬레이브 센서보드(22)의 슬레이브 워치독(25)은 CT 센서(26)(26')및 ZCT 센서(27)(27')의 수치에 대한 데이터를 검출하여 상기 PLC 마스터 메인보드(11)의 전송명령이 통신부(28)를 통하여 수신되면 송신하는 동시에 상기 PLC 마스터 메인보드(11)의 제어에 의해 램프 제어부(29)(29')의 릴레이를 제어하여 가로등 램프(6)를 온/오프 시킨다.The slave watchdog 25 of the slave sensor board 22 detects data on numerical values of the CT sensors 26 and 26 'and the ZCT sensors 27 and 27' and detects the PLC master main board 11. Is transmitted through the communication unit 28, and at the same time, the relay of the lamp control units 29 and 29 'is controlled under the control of the PLC master main board 11 to turn on / off the street lamp lamp 6. Turn off

상기의 램프(6)는 가로등에 1개 또는 2개가 설치되며 그에 따라 CT 센서(26)(26')와 ZCT 센서(27)(27') 및 램프 제어부(29)(29')를 하나 혹은 2개씩 설치한다.One or two lamps 6 are installed in the street lamp, and accordingly, the CT sensors 26 and 26 ', the ZCT sensors 27 and 27', and the lamp control unit 29 and 29 'are one or two lamps. Install two by one.

상기의 슬레이브 플래시메모리(23)는 PLC 슬레이브에 필요한 분기 ID, 개별 ID, 가로등의 상태 정보, 가로등의 형태 및 음량 등의 설정 값을 저장한다.The slave flash memory 23 stores setting values such as branch ID, individual ID, street lamp status information, street lamp type and volume required for the PLC slave.

상기의 슬레이브 전원 공급부(24)는 트랜스(trans) 타입으로 슬레이브에 동작과 램프의 점등에 필요한 전원을 공급하는 동시에 상기 PLC 마스터 메인보드(11)와의 전력선 통신의 인터페이스를 담당한다.The slave power supply unit 24 is a trans type and supplies power required for operation and lighting of a lamp to the slave, and also serves as an interface for power line communication with the PLC master main board 11.

상기 슬레이브 센서보드(22)에 접속되는 슬레이브 딥스위치(30)를 통하여 슬레이브 메인보드(21)에 해당 가로등(5)에 설치되어 있는 램프(6)의 수와 가로등(5)의 용량 등에 대한 형태를 선정하도록 한다.The shape of the number of lamps 6 installed in the corresponding street lamp 5 and the capacity of the street lamp 5 and the like through the slave dip switch 30 connected to the slave sensor board 22. To be selected.

상기 PLC 마스터 메인보드(11)에는 각 가로등의 최근 상태 정보(M_LampStatus)와 각 가로등의 제어 상태 정보(M_ControlStatus)를 저장하는 버퍼를 구비하고,The PLC master main board 11 is provided with a buffer for storing the latest status information (M_LampStatus) of each street light and the control status information (M_ControlStatus) of each street light,

PLC 마스터 확장보드(12)에는 마스터 메인보드(11)를 감시하는데 필요한 정보와 통신 인터페이스에 필요한 버퍼 및 마스터 메인보드 초기화플래그(M_initFlg)를 구비하며,PLC master expansion board 12 is provided with a master motherboard initialization flag (M_initFlg) and buffers necessary for the communication interface and information necessary for monitoring the master motherboard 11,

PLC 마스터 플래시메모리(13)에는 가로등의 상태 정보 저장(M_FLampStatus)과 PLC 슬레이브에 관한 정보 설정(M_FSlvSetting) 및 PLC 마스터에 관한 정보 설정(M_FMstSetting)을 위한 영역을 갖도록 한다.The PLC master flash memory 13 has areas for storing the status information of the street lamp (M_FLampStatus), information setting for the PLC slave (M_FSlvSetting), and information setting for the PLC master (M_FMstSetting).

상기의 슬레이브 플래시메모리(23)와 PLC 마스터 플래시메모리(13)를 생략한 상태에서, 슬레이브 플래시메모리(23)에 저장할 정보는 슬레이브 딥스위치(30)를 통하여 슬레이브의 정보를 얻도록 하는 동시에 PLC 마스터 플래시메모리(13)에 저장할 정보는 내부의 운영 프로그램을 통하여 얻도록 하여도 무방하다.In the state where the slave flash memory 23 and the PLC master flash memory 13 are omitted, the information to be stored in the slave flash memory 23 is obtained by obtaining the slave information through the slave dip switch 30. Information to be stored in the flash memory 13 may be obtained through an internal operating program.

한편, 상기의 PLC 마스터 메인보드(11)와 슬레이브 메인보드(21)는 도 4 및 도 5에 도시한 것과 같은 구조를 갖는다.On the other hand, the PLC master main board 11 and the slave main board 21 have a structure as shown in Figs.

도 4를 참조하면, 상기의 PLC 마스터 메인보드(11)와 슬레이브 메인보드(21)는 전력선 변환부(31)와,Referring to FIG. 4, the PLC master main board 11 and the slave main board 21 include a power line converter 31,

상기 전력선 변환부(31)에 연결된 송수신부(32)와,A transceiver 32 connected to the power line converter 31;

상기 송수신부(32)에 버스를 통해 연결된 상기 제어부(33)와,The control unit 33 connected to the transceiver unit 32 via a bus;

상기 제어부(33)에 버스를 통해 연결된 저장부(34)와,A storage unit 34 connected to the control unit 33 via a bus;

상기 송수신부(32), 상기 제어부(33) 및 저장부(34)에 버스를 통해 연결된 외부 인터페이스부(35)를 포함한다.It includes an external interface unit 35 connected to the transceiver 32, the control unit 33 and the storage unit 34 via a bus.

PLC 마스터 메인보드(11)와 슬레이브 메인보드(21)는 선택에 의해 마스터 모드와 슬레이브 모드로 동작할 수 있다. 모드 설정은 예를 들어, 하드웨어적으로 딥스위치를 이용하여 마스터 모드 또는 슬레이브 모드 중 하나로 설정할 수 있다.The PLC master main board 11 and the slave main board 21 may operate in a master mode and a slave mode by selection. The mode setting may be set, for example, in a master mode or a slave mode by using a dip switch in hardware.

즉, 딥스위치로부터 마스터 모드 또는 슬레이브 모드를 설정한 경우 모드 설정 비트를 0 또는 1로 세팅하여 전력선 통신용 장치의 버스를 통해 제어부(33)로 전송함으로써 마스터 모드인지 슬레이브 모드인지를 제어부(33)에서 인식할 수 있다.That is, when the master mode or the slave mode is set from the dip switch, the control unit 33 determines whether the master mode or slave mode is set by transmitting the mode setting bit to 0 or 1 to the control unit 33 through the bus of the power line communication device. I can recognize it.

또한, 모드 설정 명령어를 패킷 데이터에 실어 PLC 마스터 메인보드(11)와 슬레이브 메인보드(21)로 전송하여 제어부(33)에서 이를 해석함으로써 소프트웨어적으로 모드 설정이 가능하다. 각각의 모드에서의 동작에 대해서는 후술한다.In addition, the mode setting command is transmitted to the PLC master main board 11 and the slave main board 21 by loading the packet data, and the control unit 33 interprets it, so that the software can set the mode. Operation in each mode will be described later.

전력선 변환부(31)는 전력선으로부터 분산 스펙트럼 전력선 신호를 입력받아 변압 및 클램핑하여 구형파로 변환한 분산스펙트럼 데이터 신호를 생성하여 송수신부(32)로 전송한다.The power line converter 31 receives the distributed spectrum power line signal from the power line, generates a transformed spectrum data signal transformed and clamped into a square wave, and transmits the distributed spectrum data signal to the transceiver 32.

송수신부(32)는 전력선 변환부(31)의 출력을 입력받아 증폭, 아날로그 신호의 디지털 신호로의 변환 및 0,1의 코드화된이진 데이터를 생성하고, CRC 에러 체크를 하여 제어부(33)로 내부 인터페이스, 데이터 버스를 통해 전달한다.The transceiver 32 receives the output of the power line converter 31 to amplify, convert an analog signal into a digital signal, generate 0, 1 coded binary data, and perform a CRC error check to the controller 33. Pass through internal interface, data bus.

또한, 송수신부(32)는 데이터 버스로부터 물리 계층의 패킷 데이터를 입력받아 분산 스펙트럼 데이터 신호를 발생시켜 전력선 변환부(32)를 통하여 변압하여 분산 스펙트럼 전력선 신호를 전력선으로 출력한다.In addition, the transceiver 32 receives the packet data of the physical layer from the data bus, generates a distributed spectrum data signal, transforms it through the power line converter 32, and outputs the distributed spectrum power line signal to the power line.

또한, 제어부(33)는 전력선으로부터 수신하여 송수신부(31)를 거쳐 상기 데이터 버스로부터 전달받은 물리 계층에 속하는 패킷 데이터를 입력받아 데이터 링크 계층, 네트워크 계층, 애플리케이션 계층의 패킷 데이터로 변환하여 수신된 패킷데이터로부터 상기 패킷 데이터를 송신한 전력선 통신용 장치의 시리얼 번호를확인한다.In addition, the control unit 33 receives the packet data belonging to the physical layer received from the power line and received from the data bus via the transceiver 31, converts the packet data of the data link layer, the network layer, and the application layer to the received data. From the packet data, the serial number of the power line communication device that transmitted the packet data is checked.

상기 제어부(33)는 상기 시리얼 번호가 자신의 전력선 통신용 장치의 시리얼 번호와 일치하지 않는 경우에는 수신된 패킷을 폐기한다.The control unit 33 discards the received packet if the serial number does not match the serial number of the device for power line communication.

제어부(33)는 상기시리얼 번호가 일치하는 경우에는 수신된 패킷 데이터를 분석하여 수신된 명령을 해석하고, 상기 해석에 따라 주어진 일련의 동작을 수행한다.If the serial numbers match, the controller 33 analyzes the received packet data, interprets the received command, and performs a given series of operations according to the interpretation.

또한, 제어부(33)는 수신된 패킷 데이터를 예를 들어 CRC 연산 등을 이용하여 에러 체크를 한다. 또한, 제어부(33)는 버스로의 데이터 송수신을 제어한다.In addition, the controller 33 checks the received packet data using, for example, a CRC operation. The control unit 33 also controls data transmission and reception to the bus.

저장부(34)는 수신된 패킷 데이터로부터 추출된 검침기의 검침 데이터, 각종 주변 장치 상태 정보(이하 슬레이브 응용자원 정보라고 한다) 및 상기 제어부에서 수행되는 동작을 실행하기 위한 프로그램 등을 저장한다.The storage unit 34 stores meter reading data of the meter reading unit, received from the received packet data, various peripheral device state information (hereinafter referred to as slave application resource information), and a program for executing an operation performed by the controller.

슬레이브 모드로 설정된 경우에는 저장부(34)에 저장된 슬레이브 응용 자원 정보를 마스터 메인보드(11)로 전송하여 주변 장치가 변경될 경우에도 자동적으로 변경된 주변 장치에 대한 정보를 로딩할 수 있도록 한다.When the slave mode is set, the slave application resource information stored in the storage unit 34 is transmitted to the master main board 11 so that information about the changed peripheral device may be automatically loaded even when the peripheral device is changed.

외부 인터페이스(35)는 전력선 통신용 장치를 중앙제어 시스템(1)을 비롯한 다양한 주변 장치와 연결시키기 위한 것이다.The external interface 35 is for connecting the power line communication device with various peripheral devices including the central control system 1.

도 5는 본 고안의 송수신부의 구성을 나타낸 것으로서,5 shows a configuration of a transceiver of the present invention,

상기의 송수신부(32)는 증폭 변환부(36)와,The transceiver 32 is an amplification converter 36,

상기 증폭 변환부(36)에 연결된 매칭 필터(37)와,A matching filter 37 connected to the amplifying converter 36,

상기 매칭 필터부(37)에 연결된 분산 스펙트럼 신호 발생부(38)와,A spread spectrum signal generator 38 connected to the matching filter unit 37;

상기 매칭 필터(37) 및 분산 스펙트럼 신호 발생부(38)에 연결된 CRC회로(39)와,A CRC circuit 39 connected to the matching filter 37 and the spread spectrum signal generator 38;

상기 매칭 필터(37), 분산 스펙트럼 신호 발생부(38) 및 CRC 회로(39)에 연결된 클럭 발생부(40)와,A clock generator 40 connected to the matching filter 37, the spread spectrum signal generator 38, and the CRC circuit 39;

상기 매칭필터(37), 분산 스펙트럼 신호 발생부(38) 및 클럭 발생부(38)에 연결된 분산 스펙트럼 인코딩 템플릿 저장부(41)를 포함한다.A scattering spectrum encoding template storage 41 is connected to the matching filter 37, a spread spectrum signal generator 38, and a clock generator 38.

한편, 상기의 가로등(5)은 도 6의 표에 도시한 것과 같은 "상태정보"를 갖는다.On the other hand, the street light 5 has "state information" as shown in the table of FIG.

누전인 경우에는 가로등의 상태를 "누전"으로 판단하고, 누전이 아닌 정상이 경우에는 램프(6)를 오프시키거나 온시킨 상태로 구분할 수 있으며, 다시 램프(6)를 오프 시킨 상태에서는 가로등의 상태를 "전원오프"로 판단한다.In the case of a short circuit, the state of the street light may be determined to be “leakage”, and in the case of a normal short circuit, the lamp may be divided into a state in which the lamp 6 is turned off or turned on. The state is determined as "power off".

그리고 누전이 아니고 온 상태에서는 안정기 및 램프를 초기화하는 중이거나 안정기 및 램프가 불능이거나 또는 안정기는 정상인데 램프가 불능, 비정상 또는 정상인 상태로 판단할 수 있고, 이 경우에 가로등은 초기화중, 안정기 및 램프 불능, 램프 작동불능 또는 정상으로 판단한다.If the ballast is on and not on, the ballast and the lamp are initializing, the ballast and the lamp are incapable, or the ballast is normal and the lamp may be judged to be incapable, abnormal, or normal. Judge lamp failure, lamp failure or normal.

즉, 각 가로등(5)은 최대 7가지(3비트)의 상태를 가질 수 있고, 각 가로등(5)은 최대 램프(6)를 2개까지 장착(T형 가로등의 경우)할 수 있으므로 한 개의 가로등(5)의 상태를 표현하는데 6비트의 공간이 필요하게 된다.That is, each street lamp 5 can have up to seven (3 bit) states, and each street lamp 5 can be equipped with up to two lamps 6 (for a T-type street lamp). 6 bits of space are required to express the state of the street lamp 5.

다음의 도 7에 도시한 표에 의하여 하나의 PLC 마스터 메인보드(11)에 슬레이브 메인보드(21)가 최대 100개까지 장착될 수 있으므로 모든 가로등(5)의 상태를저장하는 데는 100바이트의 메모리가 필요하게 된다.According to the table shown in FIG. 7, since up to 100 slave motherboards 21 may be mounted on one PLC master main board 11, 100 bytes of memory may be used to store the state of all the street lights 5. Will be needed.

상기 가로등(5)의 제어 상태는 중앙제어 시스템(1)이 송신한 "제어상태"와 PLC 마스터 메인보드(11)에서 슬레이브 메인보드(21)로부터 수신한 "누전 정보"를 종합하여 결정한다.The control state of the street light 5 is determined by combining the "control state" transmitted by the central control system 1 and the "leakage information" received from the slave main board 21 by the PLC master main board 11.

상기 가로등(5)의 "제어 상태"는 온/오프 두 가지이며 "주전 정보" 또한 누전/정상 두 가지 상태 값을 가진다. 아울러 각 가로등에는 최대 2개의 램프가 장착 될 수 있으므로 2배의 메모리가 필요하게 된다.The "control state" of the street light 5 has two on / off states and the "main power information" also has two state values of short circuit / normal. In addition, each streetlight can be equipped with up to two lamps, requiring twice the memory.

각 상태를 나타내는 데는 1비트의 공간이 필요하며, PLC 마스터 메인보드(11)가 관장하는 전체 가로등(5)의 개수는 최대 100개이므로 가로등(5)의 한 가지 상태를 기술하는 데는 100비트의 공간이 요구된다.Each state requires 1 bit of space, and the maximum number of total street lights 5 managed by the PLC master main board 11 is 100. Therefore, one state of the street light 5 is 100 bits to describe one state. Space is required.

또한 가로등(5) 개수는 각 분기회로(4)별 가로등(5)의 개수를 나타내며 최대 50개의 등주가 설치 될 수 있다.In addition, the number of the street lamps (5) represents the number of street lamps (5) for each branch circuit (4) can be installed up to 50 lanterns.

그러므로 도 8에 도시한 것과 같은 메모리 맵(Memory Map)이 제안될 수 있다.Therefore, a memory map as shown in FIG. 8 can be proposed.

한편, 상기 PLC 마스터 확장보드(12)는 PLC 마스터 메인보드(11)에 대한 워치독 역할을 수행한다.On the other hand, the PLC master expansion board 12 serves as a watchdog for the PLC master main board (11).

예를 들어 10μs 단위의 타이머를 사용하고 400ms 간격으로 마스터 메인보드의 상태를 확인하는 경우 약 2∼3바이트의 메모리가 필요하다.For example, if you use a 10μs timer and check the status of the master motherboard at 400ms intervals, about 2-3 bytes of memory are required.

또한 PLC 마스터 확장보드(12)는 PLC 마스터 메인보드(11)와 중앙제어 시스템(1)과의 통신 인터페이스를 담당한다.The PLC master expansion board 12 is also responsible for the communication interface between the PLC master main board 11 and the central control system 1.

따라서 중앙제어 시스템(1)의 메시지를 수신하고 PLC 마스터 메인보드(11)에 송신하는데 필요한 통신 버퍼와 PLC 마스터 메인보드(11)의 메시지를 수신하고 중앙제어 시스템(1)에 송신하는 메시지는 가로등(5)의 제어 및 상태에 관련된 메시지이며, 가로등(5) 제어의 경우 각 가로등(5)을 제어하는데 1비트가 필요하므로 한 분전함(3)에 최대 100개까지 설치될 수 있기 때문에 전체 가로등의 제어에는 100비트(13바이트)가 필요하게 된다.Therefore, the message for receiving the message from the PLC master main board 11 and the communication buffer necessary for receiving the message from the central control system 1 and transmitting it to the PLC master main board 11 is transmitted to the central control system 1. This is a message related to the control and status of (5). In the case of the control of the street lamp (5), since one bit is required to control each street lamp (5), up to 100 can be installed in one distribution box (3). Control requires 100 bits (13 bytes).

또한 메인보드가 송신하는 메시지는 가로등의 제어 결과 및 상태에 관련된 메시지이며 가로등 상태 응답의 경우 각 가로등의 상태를 나타내는데 1바이트가 필요하므로 한 분전함에 최대 100개까지 설치될 수 있기 때문에 100바이트가 필요하게 된다. 또한 통신 인터럽트가 발생할 때 수신 버퍼에 쌓고 프로그램에서 수신 버퍼에 쌓여있는 메시지를 송신하므로 총 2배의 메모리가 필요하게 된다.In addition, the message sent by the motherboard is a message related to the control result and status of the street lamp. In the case of the street lamp status response, one byte is required to indicate the status of each street lamp, so 100 bytes are required because up to 100 can be installed in one distribution box. Done. In addition, when a communication interrupt occurs, the program accumulates in the receive buffer and the program transmits the message accumulated in the receive buffer, which requires twice as much memory.

또한 상기의 마스터 메인보드 초기화 플래그(M_intFlg)는 마스터 메인보드(11)가 동작 중 리셋 되었을 때 가로등(5)의 상태 정보를 초기화하지 않고 플래시메모리에서 읽어오기 위함이다.In addition, the master main board initialization flag (M_intFlg) is to read from the flash memory without initializing the state information of the street light (5) when the master main board 11 is reset during operation.

상기의 마스터 메인보드 초기화 플래그는 도 9에 도표로 도시한 것과 같이 처음 구동될 때에는 "00H"의 값을 갖도록 한다.The master main board initialization flag has a value of "00H" when it is first driven as shown in the diagram in FIG.

그리고 PLC 마스터 메인보드(11)가 마스터 메인보드 초기화 플래그(M_iniFig) 값을 읽어오는 요청을 하면 마스터 메인보드 초기화 플래그(M_iniFig)를 "00H"에서 "01H"로 변경한다.When the PLC master main board 11 requests to read the master main board initialization flag (M_iniFig) value, the master main board initialization flag (M_iniFig) is changed from "00H" to "01H".

한편, 마스터 메인보드(11)가 리셋 되었다면 다시 마스터 메인보드(11)와 마스터 확장보드(12)의 메인보드 초기화 플래그(M_iniFig)가 달라지므로 가로등의 상태 정보(M_LampStatus)를 초기화하지 않고 플래시메모리(13)에서 가로등의 상태 정보 저장(M_FLampStatus)을 읽어와야 한다.On the other hand, if the master main board 11 is reset, the main board initialization flag (M_iniFig) of the master main board 11 and the master expansion board 12 is changed again, so that the flash memory (M_LampStatus) of the street lamp is not initialized. In 13), read the status information storage (M_FLampStatus) of the street lamp.

가로등의 상태 정보를 저장하고, 메모리 맵은 PLC 마스터 메인보드(11)의 가로등 상태정보와 동일하여 전체 가로등의 상태, 이상유무 그리고 누전여부를 저장하는 데는 100바이트의 메모리가 필요하며, 분기별 PLC 슬레이브의 존재유무와 같은 PLC 슬레이브에 관한 정보를 저장한다.Stores the status information of the street lamp, and the memory map is the same as the street lamp status information of the PLC master main board 11, so 100 bytes of memory are required to store the status, abnormality and short circuit of the entire street lamp. Stores information about the PLC slave, such as the presence of a slave.

상기 PLC 슬레이브의 존재유무를 나타내는 데는 1비트의 메모리가 필요하게 된다.1 bit of memory is required to indicate the presence or absence of the PLC slave.

그리고 가로등 분기회로 개수, 분기 당 가로등의 최대 개수와 같은 PLC 마스터에 관한 정보를 저장한다.It stores information about the PLC master, such as the number of streetlight branch circuits and the maximum number of streetlights per branch.

상기 가로등 분기회로(4)의 개수는 1∼20개이므로, 이것을 표현하는 데는 50비트의 메모리가 요구된다. 그리고 각 분기회로(4)당 가로등(5)의 개수는 1∼50개이므로 6비트(1바이트)의 메모리를 할당해야 한다.Since the number of the streetlight branch circuits 4 is 1 to 20, a memory of 50 bits is required to express this. Since the number of street lights 5 per branch circuit 4 is 1 to 50, it is necessary to allocate 6 bits (1 byte) of memory.

도 10은 슬레이브 메인보드의 각 컴포넌트에서 필요한 데이터 항목을 나타낸 것으로서,10 shows data items required for each component of a slave mainboard,

슬레이브 메인보드(21)에는 각각 가로등의 상태, 이상유무, 누전여부 정보(S_LampStatus), 가로등 이상유무 판단에 필요한 중간 데이터(S_Normalmid), 누전여부 판단에 필요한 중간 데이터(S_LeakMid), 가로등의 센서 데이터(S_SensorDat)의 데이터 항목을 갖도록 하고, 슬레이브 센서보드(22)에는CT/ZCT 센서의 데이터 송신버퍼(S_SensorBuf), 슬레이브 메인보드 초기화 플래그(S_initFag)의 데이터 항목을 갖도록 하며, 슬레이브 플래시메모리(23)에는 가로등의 상태, 이상유무, 누전여부 정보(S_FLampStatus) 및 PLC 슬레이브의 설정값(S_FSetting)의 데이터 항목을 갖도록 한다.The slave main board 21 has a status of the street light, abnormality, information on whether there is a short-circuit (S_LampStatus), intermediate data (S_Normalmid) necessary for determining whether the streetlight is abnormal, intermediate data (S_LeakMid) necessary for determining whether the current is short, and sensor data of the streetlight ( S_SensorDat), and the slave sensor board 22 includes data items of the data transmission buffer S_SensorBuf and the slave main board initialization flag S_initFag of the CT / ZCT sensor, and the slave flash memory 23 It has data items such as status of street light, presence of abnormality, short-circuit information (S_FLampStatus) and setting value (S_FSetting) of PLC slave.

상기 각 가로등(5)은 도 11에 도시한 것과 같이 누전인 경우에는 가로등의 상태를 "누전"으로 판단하고, 누전이 아닌 정상이 경우에는 램프(6)를 오프시키거나 온시킨 상태로 구분할 수 있으며, 다시 램프(6)를 오프 시킨 상태에서는 가로등의 상태를 "전원오프"로 판단한다.As illustrated in FIG. 11, each of the street lamps 5 may determine a state of the street lamp as a "leakage" in the case of a short circuit, and may be divided into a state in which the lamp 6 is turned off or turned on in the case of a normal short circuit. In the state where the lamp 6 is turned off again, the state of the street light is determined as "power off."

그리고 누전이 아니고 온 상태에서는 안정기 및 램프를 초기화하는 중이거나 안정기 및 램프가 불능이거나 또는 안정기는 정상인데 램프가 불능, 비정상 또는 정상인 상태로 판단할 수 있고, 이 경우에 가로등은 초기화중, 안정기 및 램프 불능, 램프 작동불능 또는 정상으로 판단한다.If the ballast is on and not on, the ballast and the lamp are initializing, the ballast and the lamp are incapable, or the ballast is normal and the lamp may be judged to be incapable, abnormal, or normal. Judge lamp failure, lamp failure or normal.

이와 같이 각 가로등의 최대 7가지(3비트)의 상태를 가질 수 있다. 그리고 각 가로등은 최대 램프를 2개까지 장착(T형 가로등)할 수 있으므로 한 개의 가로등의 상태를 표현하는 데는 6비트(1바이트)의 공간이 필요하게 된다. (참고2)에 의거하여 PLC 슬레이브는 최대 100개까지 장착 될 수 있으므로 모든 가로등의 상태를 저장하는 데는 100바이트의 메모리가 필요하게 된다.As such, each of the street lights may have up to seven (3 bits) states. Each streetlight can be equipped with up to two lamps (T-type streetlights), which requires 6 bits (one byte) of space to represent the state of one streetlight. Based on (Reference 2), up to 100 PLC slaves can be installed, so 100 bytes of memory are required to store the state of all street lights.

상기 가로등(5)의 이상유무를 진단하기 위해서는 최근 6개 그룹(group)의 상태 정보가 필요하다.In order to diagnose the abnormality of the street light 5, the state information of the last six groups is required.

여기서 그룹(group)이란, PLC 슬레이브가 슬레이브 센서보드(22)의 CT 센서데이터를 바탕으로 가로등의 이상유무를 판정하는 기본 단위로서, 400ms 간격으로 데이터를 샘플링 하는 경우 20초 동안의 CT 센서(26)의 데이터(50개)를 한 그룹으로 한다.Here, the group refers to a basic unit in which the PLC slave determines the abnormality of the street light on the basis of the CT sensor data of the slave sensor board 22. When sampling data at 400 ms intervals, the CT sensor 26 ) (50 pieces) of data are grouped together.

상기 각 그룹은 다음과 같은 데이터 필드를 가지며 한 그룹 당 3바이트이기 때문에 총 18바이트가 필요하게 된다.Since each group has the following data fields and each group has 3 bytes, a total of 18 bytes is required.

한편, 누전 여부를 판단하기 위해서는 ZCT 센서(27)의 데이터를 조사해야 한다.On the other hand, in order to determine whether a short circuit should be examined the data of the ZCT sensor 27.

슬레이브 센서보드(22)의 CT 센서(26) 및 ZCT 센서(27)의 데이터를 저장한 상태에서 CT 센서(26)의 수치는 가로등(5)의 이상유무를 판정하는 데 사용하며 1그룹만큼의 데이터를 저장한다. 그리고 400ms 간격으로 샘플링 하는 경우 최근 50개 CT 센서(26)의 수치를 저장하여 상태판단에 사용한다. CT 센서(26)의 값은 00H~FFH이므로 1바이트가 필요하며 각 CT 센서(26) 당 50바이트가 필요하게 된다.In the state where the data of the CT sensor 26 and the ZCT sensor 27 of the slave sensor board 22 are stored, the numerical values of the CT sensor 26 are used to determine the abnormality of the street light 5, Save the data. In the case of sampling at 400 ms intervals, the values of the last 50 CT sensors 26 are stored and used for the status determination. Since the values of the CT sensors 26 are 00H to FFH, one byte is required and 50 bytes are required for each CT sensor 26.

슬레이브 센서보드(22)는 슬레이브 메인보드(21)의 요청을 받아 CT 센서(26) 및 ZCT 센서(27)의 데이터를 조사하여 송신한다. 송신버퍼(S_SensorBuf)에는 최근 CT 센서(26)및 ZCT 센서(27)의 데이터를 저장하고 있으며 각 필드가 바이트로 이루어져 있으므로 총 4 바이트가 필요하다.The slave sensor board 22 receives the request of the slave main board 21 and examines and transmits data of the CT sensor 26 and the ZCT sensor 27. The transmission buffer S_SensorBuf stores the data of the recent CT sensor 26 and the ZCT sensor 27, and since each field is composed of bytes, a total of 4 bytes are required.

슬레이브 메인보드 초기화 플래그(S_initFig)는 슬레이브 메인보드(21)가 동작 중 리셋 되었을 때 가로등의 상태 정보(S_lampstatus)를 플래시메모리(23)의 가로등의 상태, 이상유무, 누전여부 정보(S_Flampstatus)를 읽어오기 위함이다.The slave main board initialization flag (S_initFig) reads the status information of the street lamp (S_lampstatus) when the slave main board 21 is reset during operation, and reads the status, abnormality, and short-circuit information (S_Flampstatus) of the street lamp of the flash memory 23. To come.

슬레이브 초기화 플래그(S_intFlg)는 도 12에 도시한 것과 같이 처음 구동될때에는 "00H"의 값을 갖도록 한다.The slave initialization flag S_intFlg has a value of "00H" when it is first driven as shown in FIG.

그리고 PLC 마스터 메인보드(11)가 슬레이브 메인보드 초기화 플래그(S_iniFig) 값을 읽어오는 요청을 하면 슬레이브 메인보드 초기화 플래그(S_iniFig)를 "00H"에서 "01H"로 변경한다.When the PLC master main board 11 requests to read the slave main board initialization flag (S_iniFig), the slave main board initialization flag (S_iniFig) is changed from "00H" to "01H".

한편, 슬레이브 메인보드(21)가 리셋 되었다면 다시 슬레이브 메인보드 초기화 플래그(S_iniFig) 값을 읽어올 것이며, 두 값이 다르면 슬레이브 메인보드(21)는 슬레이브 플래시메모리(23)에서 가로등의 상태를 읽는다.On the other hand, if the slave main board 21 is reset, the slave main board initialization flag (S_iniFig) value will be read again. If the two values are different, the slave main board 21 reads the state of the street lamp from the slave flash memory 23.

상기 PLC 마스터 메인보드(11)는 도 13에 도시한 것과 같은 알고리즘 구성을 가지고 있다.The PLC master main board 11 has an algorithm configuration as shown in FIG.

1. PLC 마스터 모듈 초기화1. Initialize PLC master module

PLC 마스터의 메모리와 전력선 통신 관련 함수를 초기화한다. 그리고 분전함의 전원이 온된 상태에서 마스터 메인보드(11)가 리셋 되면 플래시메모리(13)에서 가로등(6)의 상태정보를 로딩한다.Initializes memory and power line communication related functions of PLC master. When the master main board 11 is reset while the distribution box is powered on, the flash memory 13 loads the state information of the street lamp 6.

이의 상세한 내부 알고리즘은 다음과 같다.Its detailed internal algorithm is as follows.

먼저 메인보드(11)가 구동되면 확장보드(12)에서 상태코드(M_iniFig)를 읽어온다. 만약 00H라면 메인보드(11)와 확장보드(12) 모두가 처음 온된 상태이므로, 각 가로등의 최근 상태정보(M_LampStatus)를 00H로 초기화하고, PLC 마스터에 관한 정보설정(M_FMstSetting)과 PLC 슬레이브에 관한 정보설정(M_FSlvSettibg)을 읽어 들인다.First, when the main board 11 is driven, the status code (M_iniFig) is read from the expansion board 12. If it is 00H, since both the main board 11 and the expansion board 12 are on for the first time, the latest status information (M_LampStatus) of each street light is initialized to 00H, and the information on the PLC master (M_FMstSetting) and PLC slave Read the information setting (M_FSlvSettibg).

그리고 중앙제어 시스템(1)으로부터 메인보드 초기화 플래그(M_iniFig) 요청명령이 들어오면 확장보드(12)는 그 값을 01H로 변경한다. 만약 읽어들인 메인보드 초기화 플래그(M_iniFig) 값이 00H가 아니라면 이미 한번 읽혀진 상태 즉, 메인보드(11)만 리셋된 상태이므로 가로등의 상태 정보 저장(M_FLampStatus)을 읽어들여 가로등의 상태정보(M_LampStatus)를 갱신해야 한다. 그 다음에 PLC 마스터에 관한 정보설정(M_FMstSetting)과 PLC 슬레이브에 관한 정보설정(M_FSlvSetting)을 읽어 들여 마스터 모듈을 초기화한다.When the main board initialization flag (M_iniFig) request command is received from the central control system 1, the expansion board 12 changes its value to 01H. If the mainboard initialization flag (M_iniFig) value is not 00H, it is already read once, that is, only the main board 11 is reset, so read the streetlight status information storage (M_FLampStatus) to read the streetlight status information (M_LampStatus). You must update. Next, read the information setting (M_FMstSetting) about the PLC master and the information setting (M_FSlvSetting) about the PLC slave to initialize the master module.

2. 중앙제어 시스템의 패킷 수신 및 처리2. Packet reception and processing of central control system

PLC 마스터는 중앙제어 시스템의 요청에 따라 가로등 제어와 가로등의 상태, 이상유무 그리고 누전여부에 대한 데이터를 송신한다. 제어 요청의 경우 가로등 제어를 정상적으로 수행하였다는 메시지를 송신하며 상태 요청의 경우 해당하는 가로등의 상태 정보를 송신하게 된다.The PLC master transmits data on street lamp control, street lamp status, abnormality and short circuit at the request of the central control system. In the case of the control request, a message indicating that the street light control is normally performed is transmitted, and in the case of the status request, the state information of the corresponding street light is transmitted.

내부 알고리즘은 다음과 같다.The internal algorithm is

중앙제어 시스템의 요청을 수신하면, 먼저 요청 패킷의 유효성을 검사한다. 만약 유효하지 않은 패킷이면 그것을 폐기하고 명령을 수행하지 않는다. 만약 유효한 제어 요청을 수신하면 제어 요청을 정상적으로 수행하였다는 메시지를 확장보드로 송신하고 "제어 상태 정보(M_ControlStatus)"를 갱신한다. 그 다음 제어 요청을 정상적으로 수행하였다는 메시지를 확장 보드에 송신한다. 실제로 제어의 메시지는 "3.가로등의 상태 폴링 및 데이터 수신" 부에서 패킷을 송신할 때 함께 전력선으로 전달된다. 만약 가로등의 상태 요청을 수신하면 가로등의 상태 정보(M_LampStatus)를 읽어서 송신한다.Upon receiving a request from the central control system, the validity of the request packet is first checked. If the packet is invalid, it is discarded and no command is executed. If a valid control request is received, a message indicating that the control request has been successfully performed is transmitted to the expansion board, and the control status information (M_ControlStatus) is updated. It then sends a message to the expansion board that the control request was successful. In fact, the message of control is transmitted to the power line together when transmitting the packet in the "3. Status polling of the street light and data reception" section. If the streetlight status request is received, the streetlight status information (M_LampStatus) is read and transmitted.

3. 가로등의 상태, 제어 폴링 및 데이터 수신3. Status of street lights, control polling and data reception

가로등의 상태, 제어 폴링 메시지를 송신한다. 하나의 패킷에 상태를 얻고자 가로등의 ID와 전체 가로등의 상태 정보를 담고 있기 때문에 패킷을 수신한 PLC 슬레이브는 제어상태를 얻어와 가로등을 온/오프 제어하고 첨부된 "분기 ID"와 "개별 ID"와 동일한 PLC 슬레이브는 가로등의 상태를 PLC 마스터에게 송신하게 된다. PLC 슬레이브의 패킷을 수신하면 가로등의 상태 정보(M_LampStatus)와 비교하고 값이 다른 경우에는 가로등의 최근 상태정보(M_LampStatus)와 가로등의 상태저장정보(M_FLampStatus)를 갱신한다.Send the status of the street lamp, control polling message. Since a packet contains the ID of the street lamp and the status information of the entire street lamp to obtain the status, the PLC slave receiving the packet obtains the control status and controls the street lamp on / off, and the attached "branch ID" and "individual ID". PLC slave will send the status of the street lamp to the PLC master. When receiving the packet of the PLC slave, it compares with the status information of the street lamp (M_LampStatus). If the value is different, the latest status information (M_LampStatus) of the street lamp and the status storage information (M_FLampStatus) of the street lamp are updated.

내부 알고리즘은 다음과 같다.The internal algorithm is

폴링은 기본적으로 전력선으로 패킷 송신, PLC 슬레이브가 응답할 때까지의 시간, 전력선으로 패킷 수신 및 전력선 재사용을 위한 대기 시간 등으로 구성되어 있다.Polling basically consists of sending packets on the power line, the time until the PLC slave responds, receiving packets on the power line, and waiting time for power line reuse.

따라서 가로등의 상태, 제어 폴링을 위해서는 다음과 같이 동작을 수행하게 된다.Therefore, for the state of the street lamp, control polling is performed as follows.

조건 판단일 경우 <조건> 양식을 따른다.If the condition is judged, follow the <condition> form.

예) 패킷이 수신되면? : 패킷이 수신되는 경우.Ex) When a packet is received? : When a packet is received.

무조건 분기일 경우 %분기% 양식을 따른다.In the case of unconditional quarters, the form% branch% is used.

예) %동작2% : 동작2의 처음으로 이동한다.Ex)% Operation 2%: Move to the beginning of operation 2.

마스터 확장보드는 도 14에 도시한 것과 같은 알고리즘을 구성을 갖는다.The master expansion board has an algorithm as shown in FIG.

1. 마스터 확장 보드 초기화1. Master Expansion Board Initialization

내부 메모리와 중앙제어 시스템과 마스터 메인보드 사이의 통신의 필요한 리소스를 초기화한다.Initialize the necessary resources of communication between the internal memory and the central control system and the master motherboard.

내부 알고리즘은 다음과 같다.The internal algorithm is

마스터 메인보드 초기화 플래그(M_iniFlg)를 OOH로 세팅한다. 그 다음 12c 통신 관련 함수 및 통신 버퍼를 모두 OOH로 초기화한다.Set the master motherboard initialization flag (M_iniFlg) to OOH. Then all 12c communication related functions and communication buffers are initialized with OOH.

2. 중앙제어 시스템의 패킷 수신 및 처리2. Packet reception and processing of central control system

중앙제어 시스템에서 PLC 마스터에 요청을 하는 경우 수신된 패킷을 PLC 마스터에 전송된다.When the central control system makes a request to the PLC master, the received packet is sent to the PLC master.

내부 알고리즘은 다음과 같다.The internal algorithm is

만약 시리얼 통신 인터럽트가 발생하면, 수신된 메시지를 시리얼 통신 버퍼에 저장하고, 수신메시지 길이를 설정한다. 그 다음 "중앙제어 시스템의 패킷 수신 및 처리" 부분에서 메시지 길이가 0보다 크면 버퍼에 들어있는 내용을 12c 버퍼로 복사하고 메시지의 길이를 설정한다. 데이터를 마스터 메인보드에 송신하고 12c 버퍼는 0으로 초기화한다.If a serial communication interrupt occurs, the received message is stored in the serial communication buffer and the reception message length is set. Next, if the message length is greater than 0 in the "Receive and Process Packets of Central Control System" section, the contents of the buffer are copied to the 12c buffer and the length of the message is set. Send data to the master motherboard and reset the 12c buffer to zero.

3. 마스터 메인보드의 패킷 수신 및 처리3. Packet receiving and processing of master mainboard

중앙제어 시스템의 명령의 수행에 대한 결과 메시지를 송신하는 경우와 초기화시 마스터 메인보드 초기화 플래그 데이터를 요청하는 경우에 해당하는 메시지를 받아서 처리한다.Receive and process the message corresponding to the case of sending the result message for the execution of the command of the central control system and requesting the master main board initialization flag data during initialization.

내부 알고리즘은 다음과 같다.The internal algorithm is

만약 중앙제어 시스템의 명령수행에 대한 결과 메시지를 수신하면 12c 통신버퍼에 저장하고 메시지의 길이를 설정한다. 그 다음 베시지 길이가 0보다 크면, 12c 통신버퍼에 있는 내용을 12c 버퍼로 복사하고 메시지의 길이를 설정한다. 데이터를 마스터 메인보드에 송신하고, 12c 버퍼는 0으로 초기화한다.If a result message of command execution of central control system is received, it is saved in 12c communication buffer and the length of the message is set. If the message length is greater than zero, then the contents of the 12c communication buffer are copied into the 12c buffer and the message length is set. Send data to the master motherboard and reset the 12c buffer to zero.

만약 마스터 메인보드가 마스터 메인보드 초기화 플래그(M_iniFlg) 데이터를 요청하는 경우는 메인보드의 마스터 메인보드 초기화 플래그 값을 읽어와 송신하고 그 값을 01H로 송신한다. 즉, 확장 보드가 처음 구동되었을 때는 OOH를 반화할 것이며 그 이후에 호출된 경우에는 01H를 내보내게 된다.If the master main board requests the master main board initialization flag (M_iniFlg) data, it reads and sends the master main board initialization flag value and sends the value to 01H. That is, when the expansion board is first started, it will return OOH, and if called afterwards, it will emit 01H.

마스터 메인보드 초기화 플래그(M_iniFlg) 데이터 송신에 관한 메시지 포맷은 마스터 메인보드의 "PLC 마스터 모듈 초기화"의 "마스터 메인보드 초기화 플래그(M_iniFlg) 데이터 요청 프로토콜"을 참고한다.For message format related to master motherboard initialization flag (M_iniFlg) data transmission, refer to "Master motherboard initialization flag (M_iniFlg) data request protocol" of "PLC master module initialization" of the master motherboard.

4. 마스터 메인보드 상태 감시 및 워치독4. Master motherboard status monitoring and watchdog

1분 이상 감시 포트로 100ms 간격의 주기적인 클럭을 발생시키지 않는 경우에 마스터 메인보드(11)를 비정상적으로 판단하고 워치독을 동작시킨다.When the periodic clock of 100ms interval is not generated to the monitoring port for more than 1 minute, the master main board 11 is abnormally determined and the watchdog is operated.

내부 알고리즘은 다음과 같다.The internal algorithm is

100ms 간격으로 감시 포트를 조사한다. 최근 값과 이전의 값을 lqry하여 1분 이상 차이가 없다면 마스터 메인보드가 비정상이라고 판단하며 메인보드를 리셋한다.Examine the monitoring port every 100ms. If there is no difference for more than 1 minute by lqrying the latest value and the previous value, it is determined that the master mainboard is abnormal and reset the main board.

그리고 슬레이브 메인보드는 도 15에 도시한 것과 같은 알고리즘 구성을 가지고 있다.The slave motherboard has an algorithm configuration as shown in FIG.

1. PLC 슬레이브 모듈 초기화1. Initialize PLC slave module

PLC 슬레이브의 내부 메모리와 전력선 통신 관련 리소스를 초기화한다. 그리고 슬레이브 메인보드가 리셋되었다면 플래시메모리에서 가로등의 상태 정보를 가져온다.Initializes the internal memory of PLC slave and resources related to power line communication. If the slave motherboard is reset, the status information of the street lamp is taken from the flash memory.

내부 알고리즘은 다음과 같다.The internal algorithm is

먼저 메인보드(21)가 구동되면 센서보드(22)에서 상태코드(S_iniFlg)를 읽어온다. 만약 OOH라면 메인보드와 센서보드 모두가 처음 구동된 상태이므로 다음과 같은 가로등의 상태정보를 모두 OOH로 초기화하고 플래시메모리에서 PLC 슬레이브의 설정값(S_FSetting)을 읽어온다.First, when the main board 21 is driven, the status code S_iniFlg is read from the sensor board 22. If it is OOH, the main board and sensor board are all driven for the first time. So, the following status information of street lamp is initialized to OOH and the PLC slave setting value (S_FSetting) is read from flash memory.

센서보드(22)는 슬레이브 메인보드 초기화 플래그(S_iniFlg) 요청 명령이 들어오면 그 값을 01H로 변경한다. 따라서 메인보드에서 읽어 들인 값이 01H라면 이미 한번 읽혀진 상태 즉, 메인보드만 리셋된 상태이므로 플래시메모리에 저장되어 있는 가로등의 상태정보를 초기화한다.The sensor board 22 changes the value to 01H when a slave main board initialization flag S_iniFlg request command is received. Therefore, if the value read from the main board is 01H, the status has already been read once, that is, only the main board has been reset, and the status information of the street lamp stored in the flash memory is initialized.

슬레이브 메인보드의 가로등의 상태, 이상유무, 누전여부 정보(S_LampStatus)를 슬레이브 플래시메모리의 가로등의 상태, 이상유무, 누전여부 정보(S_FlampStatus)로 갱신한다.The status, abnormality and short-circuit information (S_LampStatus) of the streetlight of the slave main board are updated to the status, abnormality and short-circuit information (S_FlampStatus) of the streetlight of the slave flash memory.

PLC 슬레이브의 설정값(S_FSetting)으로 로딩한다.Load the PLC slave setting value (S_FSetting).

2. PLC 마스터의 패킷 수신 및 처리2. Packet receiving and processing of PLC master

PLC 마스터의 제어 요청 및 가로등 상태 폴링에 대한 메시지를 수신한다. 수신된 메시지가 유효하면 메시지의 "제어 상태 정보"필드에 따라 가로등을 온/오프 제어하고 "분기 ID와 개인 ID" 필드가 동일한 PLC 슬레이브는 자신의 가로등 상태를 송신한다. 제어에 대한 응답 메시지는 별도로 존재하지 않는다.Receives a control request from the PLC master and a message about street lamp status polling. If the received message is valid, the PLC slave controls the street light on / off according to the "Control status information" field of the message and the PLC slave transmits its street light status with the same "branch ID and personal ID" fields. There is no separate response message for control.

내부 알고리즘은 다음과 같다.The internal algorithm is

전력선으로 유효한 메시지를 수신하면 "분기 당 가로등 최대 개수" 필드와 "제어상태 정보" 필드를 이용하여 자신의 "제어상태를 추출한다.When a valid message is received by the power line, the "control state" is extracted using the "Maximum number of street lights per branch" field and the "Control state information" field.

만약 제어 상태 필드와 가로등의 온/오프 상태가 다르다면 센서보드에 명령을 내려(12c 통신) 해당 가로등을 제어한다. 만약 오프 상태에서 온 제어를 하는 경우에는 가로등의 상태를 "초기화"로, 온 상태에서 오프 제어하는 경우에는 가로등의 상태를 전원 오프로 설정해야한다. 그 다음 "분기 ID"와 "개별 ID"필드가 자신의 것과 동일하면 슬레이브 메인보드의 가로등의 상태, 이상유무, 누전여부 정보(S_LampStatus)에 저장되어 있는 가로등의 상태, 이상유무, 누전여부 정보를 PLC 마스터에 송신한다.If the control status field is different from the on / off state of the street lamp, the sensor board is commanded (12c communication) to control the street lamp. If the control is turned off in the off state, the state of the street lamp should be set to "initialization", and if the control is turned off in the on state, the state of the street lamp should be set to power off. If the "branch ID" and "individual ID" fields are the same as theirs, the status, abnormality and short circuit information of the streetlight stored in the status, abnormality and short-circuit status information (S_LampStatus) of the slave main board are displayed. Send to the PLC master.

가로등 상태, 제어 폴링에 대한 메시지 포맷은 "마스터 메인보드"의 "가로등 상태, 제어 폴링 및 데이터 수신"의 메시지 프로토콜을 참고한다.For the message format for street light status and control polling, see the message protocol in "Street status, control polling and data reception" in "Master Motherboard."

3. 센서 보드의 데이터 수집3. Data Acquisition on the Sensor Board

400ms 간격으로 센서보드(22)에서 CT 센서(26) 및 ZCT 센서(27)의 값을 요청하여 수신한다.The sensor board 22 requests and receives values of the CT sensor 26 and the ZCT sensor 27 at 400 ms intervals.

내부 알고리즘은 다음과 같다.The internal algorithm is

슬레이브 메인보드(21)는 센서보드(22)에 데이터 수집 명령을 내리고, 센서보드(22)는 CT 센서(26) 및 ZCT 센서(27)의 값을 메인보드(21)에 송신한다 수신된 CT 센서(26) 및 ZCT 센서(27)의 값은 가로등의 센서 데이터(S_SensorDat)에 저장된다.The slave main board 21 issues a data collection command to the sensor board 22, and the sensor board 22 transmits values of the CT sensor 26 and the ZCT sensor 27 to the main board 21. The values of the sensor 26 and the ZCT sensor 27 are stored in the sensor data S_SensorDat of the street lamp.

4. 누전 체크 및 누전 차단4. Leakage check and leakage prevention

센서 보드의 데이터 수집에서 수신한 ZCT 센서의 값을 바탕으로 누전 여부를 검사한다. 만약 누전이 발생하면 즉각적으로 누전을 차단하고 가로등의 상태를 누전으로 설정한다.Inspect the short circuit based on the ZCT sensor value received from the sensor board data collection. If a short circuit occurs, the short circuit is cut off immediately and the state of the street lamp is set to short circuit.

5, 전원 체크5, power check

PLC 마스터가 가로등을 오프 하였는지 검사한다. 만약 슬레이브 메인보드의 가로등의 상태, 이상유무, 누전여부 정보(S_LampStatus)를 조사하여 전원이 오프 되어있다면 안정기 하단에 설치되어있는 CT 센서의 수치를 통해 가로등의 이상유무를 판단할 수 없기 때문에 이상유무 판단을 중지한다. 가로등의 상태는 전원 오프이다.Check if the PLC master turned off the street light. If the power is turned off by checking the status, abnormality and short-circuit information (S_LampStatus) of the slave mainboard, the abnormality of the streetlight cannot be judged by the value of the CT sensor installed at the bottom of the ballast. Stop judging. The state of the street light is power off.

6. 가로등 이상 유무 판단6. Determination of abnormality of street light

누전과 전원 오프가 아닌 상황에 해당하며 센서 보드(22)의 데이터 수집에서 수신한 CT 센서(26)의 값을 바탕으로 가로등(5)의 이상 유무를 판단한다. 400ms 간격으로 데이터를 수집하여 20초 간격의 데이터를 묶어 하나의 그룹으로 포장한다. 6개 그룹의 정보를 바탕으로 2개 이상의 그룹이 불량으로 판정이 되면 가로등의 이상상태를 결정한다.It corresponds to a situation that is not a short circuit and power off, and determines the abnormality of the street light 5 based on the value of the CT sensor 26 received from the data collection of the sensor board 22. Data is collected at 400 ms intervals, and the data at 20 second intervals are bundled and packed into a group. Based on the information of the six groups, if two or more groups are determined to be defective, the abnormal state of the street lamp is determined.

내부적인 알고리즘은 다음과 같다.The internal algorithm is as follows.

도 16은 그룹의 데이터 필드를 나타낸 것으로서,16 shows a data field of a group,

먼저 각 CT 센서(26)의 값을 슬레이브 메인보드 가로등의 센서데이터(S_SensorDat)에 저장한다. 초기화 상태가 지나면 데이터를 쌓기 시작한다. 만약 한 그룹의 데이터(20개)가 쌓이면 그룹의 각 필드를 계산한다.First, the value of each CT sensor 26 is stored in the sensor data S_SensorDat of the slave main board street light. After the initialization state begins to accumulate data. If one group of data (20) is accumulated, each field of the group is calculated.

그 다음 그룹의 정보를 바탕으로 "그룹 불량" 여부를 결정한다. 만약 "그룹 불량"이 발생한 후 그 다음 5개의 그룹 중에서 "그룹 불량"이 다시 발생하면 해당 그룹을 아래의 기준에 맞게 좀더 자세하게 조사하여 최종적으로 가로등의 이상유무를 결정한다. "램프 불능" 상태의 경우 안정기에서 고전압이 발생하기 때문에 전원을 차단한다.It then determines whether the group is "bad" based on the group's information. If "group failure" occurs again among the next five groups after "group failure" occurs, the group is examined in detail according to the following criteria to finally determine the abnormality of the street light. In the "no lamp" state, power is shut off because of the high voltage present at the ballast.

도 17은 램프 용량별 가로등의 상태 판단 기준을 나타낸 것이다.17 shows criteria for determining a state of a street lamp according to lamp capacity.

기본적으로 왼쪽에 있는 데이터 필드를 먼저 검사하여 엔드(and) 조건이다. 그러나 "그룹 불량"의 경우는 두 가지 조건 중 하나라도 성립하면 "그룹 불량"으로 판정한다.Basically, it is an end condition by checking the data field on the left first. However, in the case of "group failure", it is determined as "group failure" if any one of the two conditions is satisfied.

슬레이브 메인보드는 도 18에 도시한 것과 같은 알고리즘 구성을 가지고 있다.The slave mainboard has an algorithm configuration as shown in FIG.

1. 슬레이브 센서보드 초기화1. Slave sensor board initialization

슬레이브 센서보드의 메모리 및 내부 포트를 초기화한다. 그리고 슬레이브 메인보드와 통신에 쓰이는 관련 리소스도 초기화한다.Initialize the memory and internal ports of the slave sensor board. It also initializes the associated resources used to communicate with the slave motherboard.

내부 알고리즘은 다음과 같다.The internal algorithm is

먼저, 슬레이브 센서보드(22)의 슬레이브 메인보드 초기화 플래그(S_iniFlg)를 00H로 세팅한다. 그 다음 12c 통신 관련 함수와 통신 버퍼를 00H로 초기화한다.First, the slave main board initialization flag S_iniFlg of the slave sensor board 22 is set to 00H. Then initialize the 12c communication related functions and communication buffer to 00H.

2. CT 센서 및 ZCT 센서의 데이터 수집2. Data acquisition of CT sensor and ZCT sensor

CT 센서(26) 및 ZCT 센서(27)의 값을 조사해서 슬레이브 센서보드의 CT/ZCT 센서의 데이터 송신 버퍼에 넣는다. 만약 가로등이 1개인 경우는 CT/ZCT 센서의 데이터 송신 버퍼의 CT#2와 ZCT#2 필드를 FFH로 설정한다.The values of the CT sensor 26 and the ZCT sensor 27 are examined and placed in the data transmission buffer of the CT / ZCT sensor of the slave sensor board. If there is only one street light, set the CT # 2 and ZCT # 2 fields of the data transmission buffer of the CT / ZCT sensor to FFH.

3. 유효한 패킷 수신3. Receive valid packets

요청 메시지의 "체크 합(checksum)" 필드를 조사하여 메시지의 유효성을 판단한다. 만약 불량 패킷이면 메시지를 폐기한다.Examine the "checksum" field of the request message to determine the validity of the message. If the packet is bad, the message is discarded.

4. 슬레이브 메인보드의 명령 수신 및 처리4. Receive and process commands of slave motherboard

슬레이브 센서보드의 슬레이브 메인보드 초기화 플래그(S_iniFlg) 데이터 송신, 가로등 온/오프 제어, CT 센서 및 ZCT 센서 송신의 명령을 수행한다.Slave main board initialization flag (S_iniFlg) data of the slave sensor board, street lamp on / off control, CT sensor and ZCT sensor transmission commands are executed.

내부 알고리즘은 다음과 같다.The internal algorithm is

"슬레이브 센서보드의 슬레이브 메인보드 초기화 플래그(S_iniFlg) 데이터 송신"의 경우 첫 요청 때는 00H를 송신하고 그 값을 01H로 설정한다. 따라서 2번째 이후의 요청에서는 01H를 송신하게 된다. 가로등 온/오프 제어의 경우 해당 릴레이를 조작하여 가로등을 온/오프 제어한다. 그리고 CT 센서 및 ZCT 센서의 송신 메시지의 경우 "2, CT 센서 및 ZCT 센서의 데이터 수집"에서 조사한 슬레이브 센서보드의 CT/ZCT 센서의 데이터 송신 버퍼의 저장(S_SensorBuf)을 송신한다.In case of "send slave slave board initialization flag (S_iniFlg) data of slave sensor board", transmit 00H at the first request and set the value to 01H. Therefore, in the second and subsequent requests, 01H is transmitted. In the case of street lamp on / off control, the corresponding lamp is operated to control the street lamp on / off. In the case of the transmission messages of the CT sensor and the ZCT sensor, the data storage buffer S_SensorBuf of the CT / ZCT sensor of the slave sensor board examined in "2, data collection of the CT sensor and the ZCT sensor" is transmitted.

슬레이브 센서보드의 슬레이브 메인보드 초기화 플래그(S_iniFlg) 데이터 송신에 대한 메시지 포맷은 슬레이브 메인보드의 "PLC 슬레이브 모듈 초기화"의 "슬레이브 센서보드의 슬레이브 메인보드 초기화 플래그(S_iniFlg) 데이터 요청 프로토콜과 동일하게 진행된다.The message format for the Slave Motherboard Initialization Flag (S_iniFlg) data transmission of the Slave Sensor Board is the same as the Slave Motherboard Initialization Flag (S_iniFlg) Data Request Protocol of "Slave Sensor Board Initialization" of the Slave Motherboard. do.

가로등 온/오프 제어에 관한 메시지 포맷은 슬레이브 메인보드의 "PLC 마스터의 패킷수신 및 처리"의 가로등 제어 프로토콜과 동일하게 진행된다.The message format for the street lamp on / off control is the same as the street lamp control protocol of "Packet Receipt and Processing of PLC Master" of the slave mainboard.

CT 센서(26) 및 ZCT 센서(27) 송신에 관한 메시지 포맷은 슬레이브 메인보드(21)의 "센서보드의 데이터 수집"의 센서보드 데이터 수집 프로토콜과 동일하게 진행된다.The message format regarding the transmission of the CT sensor 26 and the ZCT sensor 27 proceeds in the same manner as the sensor board data collection protocol of "Data collection of the sensor board" of the slave main board 21.

한편, 상기 PLC 마스터 메인보드(11)의 요청을 받는 슬레이브 메인보드(21)는 가로등의 상태 및 이상유무, 누전여부에 대한 정보를 송신하거나 가로등(5)의 온/오프 제어를 수행하는데,Meanwhile, the slave main board 21 receiving the request of the PLC master main board 11 transmits information on the state and abnormality of the street light, whether there is a short circuit, or performs on / off control of the street light 5.

상기 슬레이브 센서보드(22)는 CT 센서(26)(26') 및 ZCT 센서(27)(27')로부터 수신한 값에 의하여 가로등(5)의 이상유무를 판단할 때에는 도 19에서와 같이 균일한 상태의 파형으로 수신되는 경우에는 램프가 정상인 것으로 판단하고, 도 20에서와 같이 파형의 왜곡이 있는 경우에는 램프가 불량인 것으로 판단한다.When the slave sensor board 22 determines the abnormality of the street lamp 5 based on the values received from the CT sensors 26 and 26 'and the ZCT sensors 27 and 27', the slave sensor board 22 is uniform as shown in FIG. If it is received in the waveform of one state, it is determined that the lamp is normal, and if there is distortion of the waveform as shown in Fig. 20, it is determined that the lamp is bad.

그리고 도 21과 도 22에서와 같이 파형에 큰 노이즈 상태의 왜곡이 간헐적으로 있는 경우에는 램프가 정상이 아닌 것으로 판단한다.As shown in FIGS. 21 and 22, when the waveform has an intermittent distortion of a large noise state, it is determined that the lamp is not normal.

그리고 상기 전체나 일부 구역을 관리하는 상황실의 내부에 형성한 GIS에서 각각의 가로등이 점등 또는 소등된 상태는 물론, 가로등 램프의 정상 여부를 모니터링하여 관리자가 한 눈에 확인할 수 있도록 한다.In addition, in the GIS formed inside the situation room managing the entire or a partial area, each street light is turned on or off, as well as monitoring whether the street lamp is normal so that the administrator can check at a glance.

도 23은 본 고안의 램프에서 릴레이의 접점을 보호하기 위한 구성을 상세히 나타낸 것으로서,23 shows in detail the configuration for protecting the contacts of the relay in the lamp of the present invention,

도 3의 램프 제어부(29)(29') 내에 설치되며 가로등 점등신호에 의해 온되는트랜지스터(43)(44)에 의해 릴레이(45)를 구동시키도록 하고,The relay 45 is driven by the transistors 43 and 44 installed in the lamp control units 29 and 29 'of FIG. 3 and turned on by the street light signal.

상기 릴레이(45)에 의해 온/오프되는 릴레이 접점(46)은 외부로부터의 AC전원이 안정기(47)를 거쳐 램프(48)에 초기 점등용 고전압이 인가되도록 하고,The relay contact 46 turned on / off by the relay 45 allows the AC power from the outside to be applied with a high voltage for initial lighting to the lamp 48 via the ballast 47,

상기의 릴레이 접점(46)와 안정기(47)의 사이에 서지성 고전압을 흡수하기 위한 서지억제 소자(TNR)(50)를 접속하는 동시에 상기 릴레이 접점(45)과 안정기(46) 사이의 두 전원선에 서지억제 소자(TNR)(49)의 양단을 접속하여 램프(48)를 경유한 고전압이 릴레이 접점(45)으로 인가되지 않도록 하고,Two power sources between the relay contact 45 and the ballast 46 while connecting a surge suppression element (TNR) 50 for absorbing a surge high voltage between the relay contact 46 and the ballast 47. Connect the both ends of the surge suppression element (TNR) 49 to the line so that the high voltage via the lamp 48 is not applied to the relay contact 45,

상기 서지억제 소자(50)와 병렬로 서지차단용 코일(51)을 접속하면서 상기 안정기(45)의 외함에 접지되게 접속하여 안정기(47)에서 램프(48)를 경유한 고전압이 릴레이 접점(46)으로 흐르면서 융착되는 현상을 안정되게 방지하도록 한다.The high voltage through the lamp 48 in the ballast 47 is connected to the ground of the ballast 45 while the surge suppression coil 51 is connected in parallel with the surge suppression element 50. To prevent it from fusion as it flows.

상기의 릴레이(46)가 융착되게 되면 릴레이 접점(46)이 항상 온된 상태가 되어 전기가 흐르게 됨으로써 가로등 점등싱호에 의해 램프(48)가 소등되도록 하여도 계속 점등되 상태를 유지하게 되면서 불필요한 전기에너지를 낭비하게 되므로 이로 인한 문제점을 해결할 수 있게 된다.When the relay 46 is fused, the relay contact 46 is always in an on state, and electricity flows, thereby keeping the lamp 48 on even though the lamp 48 is turned off by the street lamp lighting. Since it is a waste, the problems caused by this can be solved.

이상에서 상세히 설명한 바와 같이 본 고안에 따른 양방향 전력선통신을 이용한 가로등 감시 제어시스템에 의하여서는 별도의 배선을 사용하지 않은 상태에서 전원의 공급을 위한 전력선을 통한 전력선 통신 방식을 사용하여 각 분기회로에 최대 100개까지 연결되는 가로등들의 상태를 양방향성으로 감시하도록 하여 가로등의 안정기와 램프의 이상유무를 판단하고 누전이 발생할 시 이를 차단하도록 하며 분전함 전체의 제어하면서 선로 구조상 격등이 되지 않는 경우에도 격등으로 점등시킬 수 있도록 함은 물론, GIS에서 각 가로등의 상태를 모니터링 하여 관리자가 한 눈에 확인할 수 있도록 하는 효과가 있다.As described in detail above, the streetlight monitoring and control system using the bidirectional power line communication according to the present invention uses the power line communication method through the power line for supplying power without using separate wires, and thus is maximum in each branch circuit. It monitors the status of up to 100 street lamps in both directions to determine whether there is an abnormality in the ballasts and lamps and to cut them off when a short circuit occurs. In addition, the GIS monitors the status of each street light so that the administrator can check it at a glance.

본 고안은 기재된 구체적인 예에 대해서만 상세히 설명되었지만 본 고안의 기술사상 범위 내에서 다양한 변형 및 수정이 가능함은 당업자에게 있어서 명백한 것이며, 이러한 변형 및 수정이 첨부된 특허청구범위에 속함은 당연한 것이다.Although the present invention has been described in detail only with respect to the specific examples described, it will be apparent to those skilled in the art that various modifications and variations are possible within the technical spirit of the present invention, and such variations and modifications belong to the appended claims.

Claims (5)

유.무선 통신망(2)을 통하여 중앙제어 시스템(1)에 연결된 가로등 분전함(3)에는 PLC 마스터를 내장하여 다수의 가로등(5)을 관리하도록 하고,The street lamp distribution box (3) connected to the central control system (1) through the wired / wireless communication network (2) has a built-in PLC master to manage a plurality of street lights (5), 상기 하나의 분전함(3)에는 1∼20개의 분기회로(4)를 결합하면서 상기 하나의 분기회로(4)에는 각각 하나씩의 PLC 슬레이브를 내장 또는 외장한 가로등(5)을 1∼50개 연결하도록 구성한 것을 특징으로 하는 양방향 전력선통신을 이용한 가로등 감시 제어시스템.1 to 20 branch circuits 4 are coupled to one distribution box 3, and 1 to 50 street lamps 5 each having a built-in or external PLC slave connected to the one branch circuit 4, respectively. Street light monitoring control system using a two-way power line communication, characterized in that the configuration. 제 1 항에 있어서,The method of claim 1, 상기 분전함(3)의 내부에 PLC 마스터 메인보드(11)와 마스터 확장보드(12) 및 마스터 플래시메모리(13)들을 포함하도록 하되.To include the PLC master main board 11, the master expansion board 12 and the master flash memory 13 in the distribution box (3). 상기 PLC 마스터 메인보드(11)는 가로등(5)에 장착되는 PLC 슬레이브 모듈로부터 데이터를 수신하여 가로등(5)의 현재 상태 및 이상유무 판단과 함께 PLC 슬레이브 모듈로부터 누전에 관한 정보를 수신하며 중앙제어 시스템(1)으로부터 관리 프로그램의 요청을 받아들여 가로등(5)의 상태 및 이상유무 그리고 누전여부에 관한 정보를 관리 프로그램에게 송신하도록 하고,The PLC master main board 11 receives data from the PLC slave module mounted on the street light 5 to determine the current state and abnormality of the street light 5, and receives information about a short circuit from the PLC slave module and performs central control. It accepts the request of the management program from the system 1, and transmits the information about the state and abnormality of the street light 5 and whether there is a short circuit to the management program, 상기의 PLC 마스터 확장보드(12)의 PLC 마스터 워치독(14)은 상기 마스터 메인보드(11)에 대한 워치독 기능을 담당하고 상기의 PLC 마스터 메인보드(11)와 중앙제어 시스템(1)의 관리 프로그램 사이의 통신 인터페이스를 담당하여 통신부(15)를 통하여 통신을 수행하는 중에 관리 프로그램을 전달받거나 가로등의 상태 정보를 전송하도록 하고,The PLC master watchdog 14 of the PLC master expansion board 12 is responsible for the watchdog function of the master main board 11 and the PLC master main board 11 and the central control system 1. It is in charge of the communication interface between the management program to receive the management program or transmit the status information of the street lamp during the communication through the communication unit 15, 상기의 PLC 마스터 워치독(14)에는 딥스위치(16)를 연결하여 가로등의 옵션을 설정하도록 하고,Connect the dip switch 16 to the PLC master watchdog 14 to set the option of the street light, 상기의 PLC 마스터 플래시메모리(13)는 분전함(3)에 숨어 있는 가로등(5)에 대한 상태 정보, PLC 마스터 메인보드(11)의 설정 값 및 각 PLC 슬레이브들의 설정값을 저장하도록 구성한 것을 특징으로 하는 양방향 전력선통신을 이용한 가로등 감시 제어시스템.The PLC master flash memory 13 is configured to store the state information on the street lamp 5 hidden in the distribution box 3, the setting value of the PLC master main board 11 and the setting values of each PLC slave. Streetlight monitoring and control system using two-way power line communication. 제 1 항에 있어서,The method of claim 1, 상기의 가로등(5)에는 슬레이브 메인보드(21)와 슬레이브 센서보드(22)와 슬레이브 플래시메모리(23) 및 슬레이브 전원 공급부(24)들을 포함하되,The streetlight 5 includes a slave main board 21, a slave sensor board 22, a slave flash memory 23, and a slave power supply unit 24, 상기 슬레이브 메인보드(21)는 상기의 PLC 마스터 메인보드(11)의 요청을 받아 가로등의 상태 및 이상유무, 누전여부에 대한 정보를 송신하거나 가로등(5)의 온/오프 제어를 수행하도록 하고,The slave main board 21 receives the request of the PLC master main board 11 to transmit the information on the state and abnormality of the street light, whether there is a short circuit or to perform the on / off control of the street light (5), 상기 슬레이브 센서보드(22)로부터 CT 센서(25)(25') 및 ZCT 센서(26)(26')의 값을 수신하여 저장하도록 하고,Receive and store values of CT sensors 25 and 25 'and ZCT sensors 26 and 26' from the slave sensor board 22, 상기의 슬레이브 센서보드(22)의 슬레이브 워치독(25)은 CT 센서(26)(26') 및 ZCT 센서(27)(27')의 수치에 대한 데이터를 검출하여 상기 PLC 마스터 메인보드(11)의 전송명령이 통신부(28)를 통하여 수신되면 송신하면서 상기 PLC 마스터 메인보드(11)의 제어에 의해 램프 제어부(29)(29')의 릴레이를 제어하여 가로등 램프(6)를 온/오프 시키도록 하고,The slave watchdog 25 of the slave sensor board 22 detects data on numerical values of the CT sensors 26 and 26 'and the ZCT sensors 27 and 27' to detect the PLC master main board 11. Is transmitted through the communication unit 28, and transmits and controls the relay of the lamp control unit 29, 29 'by the control of the PLC master main board 11 to turn on / off the lamp lamp 6; Let's make it 상기의 슬레이브 플래시메모리(23)는 PLC 슬레이브에 필요한 분기 ID, 개별 ID, 가로등의 상태 정보, 가로등의 형태 및 음량 등의 설정값을 저장하도록 하고,The slave flash memory 23 stores setting values such as branch ID, individual ID, street lamp status information, street lamp type and volume required for the PLC slave, 상기의 슬레이브 전원 공급부(24)는 전원을 공급하면서 상기 PLC 마스터 메인보드(11)와의 전력선 통신의 인터페이스를 담당하도록 하고,The slave power supply unit 24 is responsible for the interface of power line communication with the PLC master main board 11 while supplying power, 상기 슬레이브 센서보드(22)에 접속되는 슬레이브 딥스위치(30)를 통하여 슬레이브 메인보드(21)에 해당 가로등(5)에 설치되어 있는 램프(6)의 수와 가로등(5)의 용량 등에 대한 형태를 선정하도록 구성한 것을 특징으로 하는 양방향 전력선통신을 이용한 가로등 감시 제어시스템.The shape of the number of lamps 6 installed in the corresponding street lamp 5 and the capacity of the street lamp 5 and the like through the slave dip switch 30 connected to the slave sensor board 22. Street light monitoring control system using a two-way power line communication, characterized in that configured to select. 제 1 항에 있어서,The method of claim 1, 상기 PLC 마스터 메인보드(11)에는 각 가로등의 최근 상태 정보(M_LampStatus)와 각 가로등의 제어 상태 정보(M_ControlStatus)를 저장하는 버퍼를 구비하고,The PLC master main board 11 is provided with a buffer for storing the latest status information (M_LampStatus) of each street light and the control status information (M_ControlStatus) of each street light, PLC 마스터 확장보드(12)에는 마스터 메인보드(11)를 감시하는데 필요한 정보와 통신 인터페이스에 필요한 버퍼 및 마스터 메인보드 초기화 플래그(M_initFlg)를 구비하며,The PLC master expansion board 12 is provided with information necessary for monitoring the master main board 11, a buffer required for the communication interface, and a master main board initialization flag (M_initFlg), PLC 마스터 플래시메모리(13)에는 가로등의 상태 정보 저장(M_FLampStatus)과 PLC 슬레이브에 관한 정보 설정(M_FSlvSetting) 및 PLC 마스터에 관한 정보 설정(M_FMstSetting)을 위한 영역을 갖도록 구성한 것을 특징으로 하는 양방향 전력선통신을 이용한 가로등 감시 제어시스템.The PLC master flash memory 13 has a bidirectional power line communication configured to have areas for storing the status information of the street lamp (M_FLampStatus), the information setting for the PLC slave (M_FSlvSetting), and the information setting for the PLC master (M_FMstSetting). Street light monitoring control system. 제 1 항 또는 제 3 항에 있어서,The method according to claim 1 or 3, 상기 램프 제어부(29)(29')에는The lamp control unit 29, 29 ' 가로등 점등신호에 의해 온되는 트랜지스터(43)(44)에 의해 릴레이(45)가 구동하여 릴레이 접점(46)이 온될 때 외부로부터의 AC전원이 안정기(47)를 거쳐 램프(48)에 초기 점등용 고전압이 인가되도록 하되,When the relay 45 is driven by the transistors 43 and 44 turned on by the street light on signal, and the relay contact 46 is turned on, AC power from the outside passes through the ballast 47 to the lamp 48 at the initial point. Make sure the high voltage is applied 상기의 릴레이 접점(46)와 안정기(47)의 사이에는 서지성 고전압을 흡수하기 위한 서지억제 소자(TNR)(50)를 접속하고,Between the relay contact 46 and the ballast 47, a surge suppression element (TNR) 50 for absorbing surge high voltage is connected, 상기 릴레이 접점(45)과 안정기(46) 사이의 두 전원선에는 서지억제 소자(TNR)(49)의 양단을 접속하여 램프(48)를 경유한 고전압이 릴레이 접점(45)으로 인가되지 않도록 하고,Both ends of the surge suppression element (TNR) 49 are connected to two power lines between the relay contact 45 and the ballast 46 so that a high voltage via the lamp 48 is not applied to the relay contact 45. , 상기 서지억제 소자(50)와 병렬로 서지차단용 코일(51)을 접속하면서 상기 안정기(45)의 외함에 접지되게 접속하여 구성한 것을 특징으로 하는 양방향 전력선통신을 이용한 가로등 감시 제어시스템.Street light monitoring and control system using a two-way power line communication characterized in that configured to be connected to the ground to the enclosure of the ballast (45) while connecting the surge blocking coil (51) in parallel with the surge suppression element (50).
KR20-2002-0034166U 2002-11-15 2002-11-15 Street lamp control system to use Yangbanghyang power line communication KR200305211Y1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR20-2002-0034166U KR200305211Y1 (en) 2002-11-15 2002-11-15 Street lamp control system to use Yangbanghyang power line communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR20-2002-0034166U KR200305211Y1 (en) 2002-11-15 2002-11-15 Street lamp control system to use Yangbanghyang power line communication

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020020066730A Division KR20040039083A (en) 2002-10-31 2002-10-31 Street lamp control system and control method to use Yangbanghyang power line communication

Publications (1)

Publication Number Publication Date
KR200305211Y1 true KR200305211Y1 (en) 2003-02-25

Family

ID=49401485

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20-2002-0034166U KR200305211Y1 (en) 2002-11-15 2002-11-15 Street lamp control system to use Yangbanghyang power line communication

Country Status (1)

Country Link
KR (1) KR200305211Y1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100643313B1 (en) 2006-02-02 2006-11-13 (주)국제첨단산업기술 Digital control type intelligent uninterruptible lighting system using communication connection of 1:n mode control line
KR100808491B1 (en) 2007-09-06 2008-03-03 주식회사 창성에이스산업 Strobe controller for vision system
KR100979332B1 (en) 2008-12-02 2010-08-31 황충환 Light emitting system
KR101919361B1 (en) * 2012-11-22 2018-11-20 한국전자통신연구원 Light network control device and method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100643313B1 (en) 2006-02-02 2006-11-13 (주)국제첨단산업기술 Digital control type intelligent uninterruptible lighting system using communication connection of 1:n mode control line
KR100808491B1 (en) 2007-09-06 2008-03-03 주식회사 창성에이스산업 Strobe controller for vision system
KR100979332B1 (en) 2008-12-02 2010-08-31 황충환 Light emitting system
KR101919361B1 (en) * 2012-11-22 2018-11-20 한국전자통신연구원 Light network control device and method thereof

Similar Documents

Publication Publication Date Title
CA2104797C (en) Monitoring apparatus and system
US6717660B1 (en) System for monitoring and testing of light sources
CA2336273C (en) Method and apparatus for light outage detection
US6426813B1 (en) Telemetry system and method for EMI susceptibility testing of motor vehicles
JP2015524631A (en) Solar panel with infrared signal receiver and processor
CN112118661A (en) Intelligent street lamp fault detection method based on Internet of things
KR960009358B1 (en) Lamp error collecting method and lamp error position display device
CN107728563B (en) Filament alarm detection device and method based on PLC technology
CA2259837A1 (en) Improvements in and relating to remote monitoring and signalling
KR200305211Y1 (en) Street lamp control system to use Yangbanghyang power line communication
WO2000043966A1 (en) Improvements in and relating to remote monitoring and signalling, especially in tunnels
KR20040039083A (en) Street lamp control system and control method to use Yangbanghyang power line communication
EP0949741A2 (en) An emergency lighting network
CN103095509A (en) Method for quickly testing recommended standard 485 (RS485) bus breakdown
KR101865294B1 (en) System for monitoring security lamp
SE520534C2 (en) Multiplex transmission system and ways of controlling abnormal processing and device for this
KR101775151B1 (en) Traffic signal controller with traffic light defect detection
US9578717B2 (en) Monitoring and control device and method for an illumination apparatus
KR940009501B1 (en) Remote control system for street lamp
KR20090099892A (en) Control system of guard lamp
KR200310279Y1 (en) Lamp Control System Using Electic Power Line Communication
CN114222413B (en) Fault self-checking method of lighting system and lighting system
CN113655752B (en) Two-bus equipment, self-checking method thereof and building automatic control system
KR200224410Y1 (en) Error detector of lighting system using power line
CN108646201A (en) Lamp failure detects reponse system

Legal Events

Date Code Title Description
U107 Dual application of utility model
REGI Registration of establishment
O032 Opposition [utility model]: request for opposition
J204 Request for invalidation trial [patent]
O131 Decision on opposition [utility model]
O131 Decision on opposition [utility model]
J801 Dismissal of trial

Free format text: TRIAL NUMBER: 2003100002651; DISMISSAL OF TRIAL FOR INVALIDATION REQUESTED 20031201

Effective date: 20050315

Free format text: DISMISSAL OF TRIAL FOR INVALIDATION REQUESTED 20031201

Effective date: 20050315

O072 Maintenance of registration after opposition [utility model]: final registration of opposition
T201 Request for technology evaluation of utility model
T701 Written decision to grant on technology evaluation
G701 Publication of correction
FPAY Annual fee payment

Payment date: 20120203

Year of fee payment: 10

EXPY Expiration of term