KR20140096777A - Collision prevention System and Method for Digital Addressable Lighting Interface System - Google Patents

Collision prevention System and Method for Digital Addressable Lighting Interface System Download PDF

Info

Publication number
KR20140096777A
KR20140096777A KR1020130009781A KR20130009781A KR20140096777A KR 20140096777 A KR20140096777 A KR 20140096777A KR 1020130009781 A KR1020130009781 A KR 1020130009781A KR 20130009781 A KR20130009781 A KR 20130009781A KR 20140096777 A KR20140096777 A KR 20140096777A
Authority
KR
South Korea
Prior art keywords
waiting time
dali
communication line
master
signal
Prior art date
Application number
KR1020130009781A
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 KR1020130009781A priority Critical patent/KR20140096777A/en
Publication of KR20140096777A publication Critical patent/KR20140096777A/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B55/00Bags for golf clubs; Stands for golf clubs for use on the course; Wheeled carriers specially adapted for golf bags
    • A63B55/60Wheeled carriers specially adapted for golf bags
    • A63B55/61Wheeled carriers specially adapted for golf bags motorised
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B55/00Bags for golf clubs; Stands for golf clubs for use on the course; Wheeled carriers specially adapted for golf bags
    • A63B55/60Wheeled carriers specially adapted for golf bags
    • A63B2055/603Wheeled carriers specially adapted for golf bags with means for trailing the caddy other than by hand
    • A63B2055/605Wheeled carriers specially adapted for golf bags with means for trailing the caddy other than by hand by remote control
    • 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/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The present invention relates to a collision preventing system for a digital addressable lighting interface (DALI) system and a method thereof and, more specifically, to a collision preventing system for a digital addressable lighting interface system and a method thereof, capable of preventing the collision of signals outputted from a plurality of devices in a single bus based on digital addressable lighting interface communication.

Description

디지탈-어드레시블 조명인터페이스 시스템의 충돌방지장치 및 방법{Collision prevention System and Method for Digital Addressable Lighting Interface System}BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a collision avoidance system and a digital addressable lighting interface system,

본 발명은 디지탈-어드레시블 조명인터페이스(Digital Addressable Lighting Interface System:DALI) 시스템의 충돌방지장치 및 방법에 관한 것으로서, 더욱 상세하게는 디지탈-어드레시블 조명인터페이스 통신기반에서 다 수개의 디바이스에서 출력된 신호가 단일 버스내에서 충돌이 발생됨을 방지하기 위한 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지장치 및 그 방법에 관한 것이다.[0001] The present invention relates to an apparatus and method for preventing collision of a digital addressable lighting interface system (DALI) system, and more particularly, to an apparatus and method for preventing collision in a digital- Addressable light interface system for preventing a collision of a signal in a single bus, and a method thereof.

디지탈-어드레시블 조명인터페이스(Digital Addressable Lighting Interface System:DALI, 이하에서는 DALI로 총칭함) 통신은 두 가닥으로 이루어진 버스를 이용하여 저전압으로 하나의 버스당 64개까지의 인터페이스가 연결되어 통신할 수 있다. DALI통신은 인터페이스를 통해 시스템에 연결된 구성요소들의 상태를 감시하고 제어한다.A digital addressable lighting interface system (hereinafter referred to as DALI) communication is a two-layered bus that allows communication of up to 64 interfaces per bus at a low voltage have. DALI communications monitor and control the status of components connected to the system through the interface.

DALI 시스템에서 사용되는 메시지는 시리얼 데이터 스트림(Serial Data Stream) 형태이고 주소 부분(Address Part)과 명령 부분(Command Part)으로 구성된다. DALI장치는 서로 다른 두 가지 전압레벨을 사용하여 '0'과 '1'을 표현하는 디지털 데이터를 사용하고 브로드캐스트(Broadcast) 형태로 각각의 주소를 이용하여 통신한다. 일반적으로 DALI통신은 64개의 주소 설정 및 16개의 그룹 주소 설정이 가능하다.The messages used in the DALI system are in the form of a serial data stream and consist of an address part and a command part. The DALI device uses digital data expressing '0' and '1' using two different voltage levels and communicates using each address in broadcast form. In general, DALI communication has 64 address settings and 16 group address settings.

이와 같은 DALI통신은 두 개의 버스를 통하여 마스터와 다 수개의 센서 및 스위치로 구성된 디바이스가 연결됨에 따라서 동일 버스를 통하여 동시에 하나 이상의 디바이스 로부터 출력된 신호가 상호 겹치게 되어 충돌함에 따라서 신호에 손상이 발생된다. In such a DALI communication, a device composed of a master and a plurality of sensors and switches is connected through two buses, so that signals outputted from one or more devices simultaneously through the same bus overlap each other and damage occurs in the signal .

따라서 종래에는 특허공개 제2012-0095153호를 통하여 각 디바이스별 출력 메세지에 대한 우선순위를 설정하여 충돌이 발생되면, 설정된 대기시간 이후에 데이타를 재송신하는 것을 기술을 제안하고 있다. Therefore, in the related art, it is proposed to set a priority order for output messages for each device through Patent Document No. 2012-0095153, and to retransmit data after a set waiting time when a collision occurs.

그러나 이와 같은 종래기술은 현재 버스에서 데이타가 송신중이거나 송신완료된 상태라는 것을 감지하지 못하고, 일단 디바이스에서 마스터에 신호를 출력한 이후에 버스안의 신호와 충돌됨을 인지하기 때문에 앞서 버스를 점유하고 있는 신호와 충돌이 불가피하다. 따라서 종래에는 충돌이 발생 된 이후에 재전송된다 하더라도 이미 앞서 버스를 점유하고 있는 신호에 손상이 발생 될 수 있는 문제점이 있다. However, since the conventional technology does not detect that the data is currently being transmitted or the transmission is completed on the bus and recognizes that the device collides with the signal in the bus after outputting the signal to the master, And conflicts are inevitable. Therefore, conventionally, there is a problem that damage may occur to a signal occupied by a bus even if it is retransmitted after a collision occurs.

본 발명은 상기와 같은 종래의 문제점을 해결하기 위하여 안출된 것으로서, 본 발명의 목적은 DALI통신시스템에서 마스터와 하나 이상의 디바이스간의 통신과정에서 버스를 먼저 점유하고 있는 신호의 유무를 감지하여 해당 신호의 송신완료시간을 연산하여 신호를 송신하도록 하여 버스안에서 신호의 충돌을 미연에 방지하는 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지장치 및 방법을 제공함에 있다. SUMMARY OF THE INVENTION It is an object of the present invention to provide a DALI communication system which detects the presence or absence of a signal occupying a bus in a communication process between a master and one or more devices, The present invention provides a device and method for preventing collision of a digital-addressable lighting interface system that calculates a transmission completion time and transmits a signal to prevent a signal from being collided in a bus.

본 발명은 상기와 같은 목적을 달성하기 위하여 하기와 같은 실시예를 포함한다. The present invention includes the following embodiments in order to achieve the above object.

본 발명의 바람직한 실시예는 디지탈-어드레시블 조명인터페이스(Digital Addressable Lighting Interface System:DALI, 이하에서는 DALI로 총칭함) 통신라인을 통하여 관리서버에서 인가되는 제어신호를 변환하여 상기 DALI 통신라인에 출력하는 마스터; 및 상기 마스터와 DALI 통신라인을 통하여 제어 및 조회명령이 포함된 신호를 송수신하여 하나 이상의 센서 및 스위치와 하나 이상이 설치되는 조명등을 구비하여 각각 고유 주소와 상기 고유 주소별로 우선순위에 따라 대기시간이 설정되는 하나 이상의 디바이스;를 포함하고, 상기 디바이스중 어느 하나가 마스터, 스위치, 센서와 DALI통신상태이면 상기 디바이스를 제외한 디바이스들은 DALI통신 대기상태에 있고, 대기상태에 있는 디바이스는 고유주소에 따라서 설정된 우선순위별 대기시간을 누적 및 연산하여 통신가능한 시간을 산출함에 따라서 상기 DALI 통신라인에서 서로 다른 신호의 충돌이 방지되도록 출력이 조절되는 것을 특징으로 한다. A preferred embodiment of the present invention converts a control signal applied from a management server through a Digital Addressable Lighting Interface System (DALI) communication line and outputs the control signal to the DALI communication line Master; And an illumination lamp for transmitting and receiving a signal including a control and inquiry command through the master and DALI communication lines and having one or more sensors and switches and at least one installed therein, Wherein one of the devices is in a DALI communication state with a master, a switch, and a sensor, the devices other than the device are in a DALI communication standby state, and the device in a standby state is set in accordance with a unique address The output is adjusted so as to prevent collision of different signals in the DALI communication line as the communication available time is calculated by accumulating and calculating the waiting time for each priority.

본 발명의 다른 실시예에 있어서, 상기 하나 이상의 디바이스는 상기 DALI 통신라인에서 통신대기상태인 디바이스의 고유주소별로 설정된 우선순위에 따라서 설정된 대기시간을 누적시켜 전체 대기시간을 산출하여 통신가능한 시간을 연산하는 연산모듈을 포함하는 것이 바람직하다. In another embodiment of the present invention, the one or more devices accumulate wait time set in accordance with a priority set for each unique address of a device in a communication standby state in the DALI communication line to calculate a total wait time, And an operation module for performing the operation.

본 발명의 또 다른 실시예에 있어서, 상기 하나 이상의 디바이스는 상기 DALI(Digital Addressable Lighting Interface) 통신라인에서 통신대기상태인 디바이스의 우선순위별 대기시간과 명령어별 응답대기시간을 연산 및 카운팅하여 상기 마스터 또는 타 디바이스의 송신신호에 따른 응답신호의 출력이 가능한 시간을 산출하여 DALI 통신라인에서의 서로 다른 신호의 충돌을 방지하는 연산모듈을 포함한다. In another embodiment of the present invention, the at least one device calculates and counts the waiting time for each priority in the communication standby state and the waiting time for each command in the DALI communication line, Or a calculation module for calculating a time for outputting a response signal in accordance with a transmission signal of another device to prevent collision of different signals in the DALI communication line.

본 발명의 또 다른 실시예는 디지탈-어드레시블 조명인터페이스 시스템(Digital Addressable Lighting Interface System: 이하 DALI라 총칭함)의 통신라인을 통하여 마스터와 하나 이상의 디바이스가 상기 DALI 통신라인에서 마스터 및 하나 이상의 디바이스에서 송신된 신호의 충돌을 방지하는 디지탈-어드레시블 조명인터페이스 시스템(Digital Addressable Lighting Interface System:DALI)의 충돌방지방법은 상기 마스터 및 하나 이상의 디바이스의 주소와, 고유의 아이디를 부여하고, 우선순위를 설정하여 대기시간을 차등적으로 설정하고, 상기 마스터에서 수신된 명령어별로 차등적으로 대기시간을 설정하여 상기 하나 이상의 디바이스에 설치되는 연산모듈에 저장하는 설정단계; 상기 설정단계 이후에 상기 하나 이상의 디바이스가 상기 마스터 또는 타 디바이스로부터 DALI 통신라인을 통하여 송신된 신호를 수신하는 수신단계; 상기 수신단계에서 상기 하나 이상의 디바이스에 각각 포함된 연산모듈에서 수신된 신호에 포함된 아이디와 자기 아이디가 일치되는 지를 판단하는 아이디 일치판단단계; 상기 아이디일치 판단단계 이후에 상기 연산모듈에서 DALI 통신라인에 선 점유된 신호의 유무를 판단하는 누적대기시간 유무 판단단계; 상기 누적 대기시간 유무 판단단계에서 누적된 대기시간이 존재한다면, 상기 연산모듈에서 시간을 카운팅하는 카운팅단계; 및 상기 카운팅단계에서 대기시간의 카운팅완료되면, 상기 연산모듈에서 상기 DALI 통신라인에 신호를 출력하도록 제어하는 전송단계를 포함하는 것이 바람직하다. Another embodiment of the present invention relates to a method of controlling a master and one or more devices via a communication line of a Digital Addressable Lighting Interface System (DALI) A DALI (Digital Addressable Lighting Interface System) collision prevention method for preventing a collision of signals transmitted from a master and one or more devices, Setting a waiting time in a differential manner, setting a waiting time differentially for each command received from the master, and storing the waiting time in a computing module installed in the at least one device; A receiving step in which the one or more devices receive a signal transmitted from the master or another device through a DALI communication line after the setting step; Determining whether or not the IDs included in the signals received by the operation module included in each of the one or more devices in the receiving step match the self ID; Determining whether there is a pre-occupied signal in the DALI communication line in the calculation module after the ID matching determination step; A counting step of counting time in the operation module if there is an accumulated waiting time in the step of determining whether or not the cumulative waiting time exists; And a transmission step of controlling the calculation module to output a signal to the DALI communication line when counting of the waiting time is completed in the counting step.

본 발명의 또 다른 실시예에 있어서, 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지방법에서, 상기 연산모듈은 상기 아이디일치판단단계에서 상기 마스터 또는 타 디바이스의 송신신호를 일괄적으로 수신하고 수신된 신호에 포함된 고유 고유주소를 확인하여 자신이 속한 디바이스의 아이디와 일치한지를 판단하여, 자신이 속한 디바이스의 아이디와 불일치하면, 수신신호에 포함된 고유 아이디와 명령어의 종류를 확인하여 타 디바이스가 어느 정도의 대기시간을 갖게 되는 지를 산출하여 누적시키는 대기시간누적단계를 더 포함하는 것이 바람직하다. In another embodiment of the present invention, in the collision avoidance method of the digital-addressable lighting interface system, the calculation module collectively receives transmission signals of the master or other device in the ID match determination step, And determines whether the unique ID included in the received signal matches the ID of the device to which the device belongs. If the ID does not coincide with the ID of the device to which the device belongs, And a waiting time accumulating step of calculating and accumulating how much standby time is to be obtained.

본 발명의 또 다른 실시예에 있어서, 상기 대기시간 누적단계는 상기 아이디 일치 판단단계에서 각각의 디바이스에 포함된 연산모듈에서 상기 마스터 또는 타 디바이스의 송신신호에 포함된 아이디가 자신이 속한 디바이스의 고유 아이디와 일치되지 않으면, 해당 고유주소를갖는 디바이스의 주소별 우선순위에 따른 대기시간을 확인하는 주소별 대기시간 확인단계; 수신된 명령어에 설정된 대기시간을 확인하는 명령어별 대기시간 확인단계; 상기 우선순위별 대기시간과 명령어별 대기시간을 합산하여 해당 디바이스의 대기시간을 연산하는 연산단계; 상기 연산단계에서 연산된 대기시간을 현재 통신대기상태인 디바이스의 전체 대기시간에 누적시키는 대기시간누적단계; 및 상기 대기시간 누적단계에서 누적된 전체 대기시간을 카운팅하는 카운팅단계를 포함한다. In another embodiment of the present invention, the waiting time accumulating step may include a step of determining whether the ID included in the transmission signal of the master or the other device in the calculation module included in each device in the ID match determination step is unique to the device Determining a waiting time for each address of the device having the unique address according to the priority according to the address if the ID does not match; A wait time for each command to confirm the wait time set in the received command; An arithmetic operation step of calculating a waiting time of the corresponding device by summing the waiting time per priority and the waiting time per instruction; A waiting time accumulating step of accumulating the waiting time calculated in the calculating step in the total waiting time of the device currently in the communication waiting state; And a counting step of counting the total waiting time accumulated in the waiting time accumulating step.

본 발명의 또 다른 실시예에 있어서, 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지방법은 하나 이상의 디바이스에서 출력된 송신신호가 버스안에서 타 신호와 충돌되지 않도록 상기 연산모듈에서 상기 DALI 통신라인에 연결되는 전체 디바이스의 누적대기시간을 확인하고, 전체 누적대기시간이 존재하면 상기 전체 누적대기시간의 카운팅완료된 이후에 상기 DALI 통신라인을 통하여 출력하는 것이 바람직하다. In another embodiment of the present invention, a method for preventing collision of a digital-addressable lighting interface system includes connecting to a DALI communication line in the computing module so that a transmission signal output from one or more devices does not collide with other signals in the bus It is preferable to check the cumulative waiting time of all the devices which are connected to the DALI communication line, and if there is the total cumulative waiting time, output the same through the DALI communication line after counting of the cumulative waiting time.

본 발명은 버스를 먼저 점유하고 있는 신호의 유무를 감지하고, 해당 신호와 누적된 신호의 대기시간은 연산하여 자체적으로 대기시간을 산출하여 신호를 송신할 수 있기에 DALI통신시스템에서의 서로 다른 디바이스에서 출력되는 신호의 충돌이 발생 되지 않기 때문에 재전송이 필요 없어서 보다 빠른시간내에 송수신이 가능하고, 신호의 충돌에 의한 에러가 발생 되지 않는 효과가 있다. The present invention detects the presence or absence of a signal occupying the bus first and calculates the waiting time of the signal and the accumulated signal to calculate the latency time itself so as to transmit the signal. There is no need to perform retransmission because the collision of output signals does not occur, so that transmission and reception can be performed in a shorter time, and an error due to signal collision is not generated.

도 1은 본 발명에 따른 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지장치를 도시한 블럭도,
도 2는 본 발명에 따른 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지장치에서 센서부를 도시한 블럭도,
도 3은 본 발명에 따른 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지장치에서 스위치부를 도시한 블럭도,
도 4는 본 발명에 따른 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지방법을 도시한 순서도,
도 5는 본 발명에 따른 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지방법에서 대기시간 누적단계를 도시한 순서도,
도 6은 본 발명에 따른 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지방법의 일예를 도시한 파형도,
도 7은 본 발명에 따른 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지방법의 다른 예를 도시한 파형도이다.
1 is a block diagram showing an anti-collision apparatus of a digital-addressable lighting interface system according to the present invention;
FIG. 2 is a block diagram showing a sensor unit in the anti-collision apparatus of the digital-addressable illumination interface system according to the present invention;
FIG. 3 is a block diagram showing a switch unit in the anti-collision apparatus of the digital-addressable lighting interface system according to the present invention.
FIG. 4 is a flowchart illustrating a collision avoidance method of a digital-addressable lighting interface system according to the present invention.
FIG. 5 is a flowchart showing a waiting time accumulating step in a collision avoidance method of a digital-addressable lighting interface system according to the present invention;
FIG. 6 is a waveform diagram showing an example of a collision avoidance method of the digital-addressable lighting interface system according to the present invention;
7 is a waveform diagram showing another example of a collision avoidance method of a digital-addressable lighting interface system according to the present invention.

이하에서는 본 발명에 따른 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지장치 및 방법의 바람직한 실시예를 첨부된 도면을 참조하여 상세히 설명한다. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of an apparatus and method for preventing collision of a digital-addressable lighting interface system according to the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따른 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지장치를 도시한 블럭도이다. 1 is a block diagram illustrating an anti-collision apparatus of a digital-addressable lighting interface system according to the present invention.

도 1을 참조하면, 본 발명에 따른 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지장치는 제어명령을 송신하는 관리서버(10)와, DALI통신라인을 통하여 연결된 하나 이상의 디바이스(30)와, 상기 하나 이상의 디바이스(30)에 상기 관리서버(10)에서 인가되는 명령어를 송신하는 마스터(20)를 포함한다. 1, a collision avoidance apparatus of a digital-addressable lighting interface system according to the present invention includes a management server 10 for transmitting a control command, at least one device 30 connected through a DALI communication line, And a master 20 for transmitting commands to the at least one device 30 from the management server 10.

상기 관리서버(10)와 마스터(20) 및 하나 이상의 디바이스(30)에 대한 구성은 하기에서 설명한다. The configuration of the management server 10, the master 20, and one or more devices 30 will be described below.

상기 관리서버(10)는 상기 마스터(20)와, 하나 이상의 디바이스(30)에 대한 조회, 제어 및 설정명령을 상기 마스터(20)에 인가하고, 상기 마스터(20)에 의해 전달되는 응답을 수신한다.The management server 10 applies an inquiry, control and setting command to the master 20 and one or more devices 30 to the master 20 and receives a response transmitted by the master 20 do.

상기 마스터(20)는 상기 관리서버(10)에서 인가된 신호를 DALI 통신라인에 적합한 신호로 변환시켜 출력하고, 상기 하나 이상의 디바이스(30)와 조명부(34)로터 수신된 응답신호를 상기 관리서버(10)에서 인지가능한 신호로 변환시켜 출력한다. The master 20 converts a signal applied from the management server 10 into a signal suitable for the DALI communication line and outputs the signal to the management server 10. The master 20 transmits a response signal received from the at least one device 30 and the illumination unit 34 to the management server 10, (10) to output a recognizable signal.

상기 하나 이상의 디바이스(30)는 외부로부터 센서감지신호를 수신하여 상기 조명부(34)의 제어신호를 전송하는 하나 이상의 센서부(31)와, 외부의 스위치 입력신호를 받아 상기 조명부(34)의 제어신호를 출력하는 하나 이상의 스위치부(32)와, 와, DALI(Digital Addressable Lighting Interface ) 통신라인을 통하여 상기 관리서버(10)의 제어신호를 수신하여 조명제어 및 조명하는 하나 이상의 조명등과, 상기 하나 이상의 조명등을 주변조도에 따라서 밝기를 조절하는 하나 이상의 디밍제어기(Dimming controller)를 구비하는 조명부(34)를 포함한다. The at least one device 30 includes at least one sensor unit 31 for receiving a sensor detection signal from the outside and transmitting a control signal of the illumination unit 34, One or more switch units (32) for outputting signals to the control server (10), and at least one illumination lamp for receiving control signals of the management server (10) through a DALI (Digital Addressable Lighting Interface) And a lighting unit 34 having at least one dimming controller for adjusting the brightness of the illuminating lamp according to the ambient illuminance.

상기 센서부(31)는 하기의 도 2에 도시된 바와 같다. 도 2는 본 발명에 따른 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지장치에서 센서부(31)를 도시한 블럭도이다. The sensor unit 31 is as shown in FIG. 2 below. 2 is a block diagram showing the sensor unit 31 in the collision avoidance apparatus of the digital-addressable illumination interface system according to the present invention.

도 2를 참조하면, 상기 센서부(31)는 감지신호를 출력하는 센싱모듈(311)과, 상기 센싱모듈(311)의 감지신호를 DALI통신라인을 통하여 출력하는 센서통신모듈(312)과, 상기 DALI 통신라인에서 현재 송신중인 데이타의 전송완료시간과 상기 센서부(31)의 송신가능한 시간을 연산하는 연산모듈(33)을 포함한다. 2, the sensor unit 31 includes a sensing module 311 for outputting a sensing signal, a sensor communication module 312 for outputting sensing signals of the sensing module 311 through a DALI communication line, And a calculation module (33) for calculating a transmission completion time of data currently being transmitted in the DALI communication line and a transmittable time of the sensor unit (31).

여기서 상기 센싱모듈(311)은 인체를 감지하는 인체감지센서, 화재를 감지하기 위한 온도 또은 연기감지센서를 포함하는 건물내의 조명장치의 제어에 필요한 센서가 포함된다. Here, the sensing module 311 includes a sensor for controlling a lighting device in a building including a human body sensor for sensing a human body, a temperature sensor for sensing a fire or a smoke sensor.

상기 센서통신모듈(312)은 상기 센싱모듈(311)에서 감지된 신호를 상기 마스터(20) 또는 상기 조명부(34)에 인가한다. 여기서 상기 센서통신모듈(312)은 상기 연산모듈(33)에 의하여 연산된 대기시간의 카운팅이 완료된 이후에 상기 DALI통신라인에서 감지신호를 송신한다. The sensor communication module 312 applies a signal sensed by the sensing module 311 to the master 20 or the illumination unit 34. Here, the sensor communication module 312 transmits a detection signal in the DALI communication line after the counting of the waiting time calculated by the calculation module 33 is completed.

상기 연산모듈(33)은 각 디바이스(30)의 고유주소 및 각 고유주소별로 설정되는 우선순위별 대기시간과, 마스터(20)의 명령어 종류에 따라 설정된 대기시간을 포함한 설정정보가 저장된다. 따라서 상기 연산모듈(33)은 상기 DALI 통신라인을 통하여 마스터(20)의 제어명령 또는 조회명령이 인가되면, 해당 신호에 포함된 각 디바이스(30)의 고유주소를 확인하여 해당 고유주소별 우선순위에 따라 설정되는 통신대기상태인 각 디바이스(30)의 대기시간을 확인하여 해당 디바이스(30)의 대기시간을 누적시켜 해당 디바이스의 출력가능한 시간을 산출한다. The operation module 33 stores setting information including a unique address of each device 30, a waiting time for each priority set for each unique address, and a waiting time set according to a command type of the master 20. Therefore, when the control command or the inquiry command of the master 20 is applied through the DALI communication line, the calculation module 33 checks the unique address of each device 30 included in the signal, The waiting time of each device 30 which is set in accordance with the communication wait time is accumulated and the waiting time of the corresponding device 30 is accumulated to calculate the outputable time of the device.

따라서 상기 연산모듈(33)은 상기 DALI(Digital Addressable Lighting Interface ) 통신라인에서 전송되는 신호와 상기 신호를 출력하는 디바이스(30)의 고유주소를 통하여 설정된 대기시간과 전송완료시간을 실시간으로 누적하여 상기 센서통신모듈(312)의 통신가능시간을 연산 및 카운팅한다. 그리고 상기 연산모듈(33)은 해당 대기시간의 카운팅 완료되면, 상기 센서통신모듈(312)에 신호를 전송하도록 제어한다. Accordingly, the calculation module 33 accumulates the waiting time and the transmission completion time set in real time through the signal transmitted from the DALI (Digital Addressable Lighting Interface) communication line and the unique address of the device 30 that outputs the signal, And calculates and counts the communication available time of the sensor communication module 312. The calculation module 33 controls the sensor communication module 312 to transmit a signal when the waiting time is counted.

도 3은 본 발명에 따른 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지장치에서 스위치부를 도시한 블럭도이다.  3 is a block diagram illustrating a switch unit in the collision avoidance apparatus of the digital-addressable illumination interface system according to the present invention.

도 3을 참조하면, 상기 스위치부(32)는 사용자의 조작에 의한 신호를 출력하는 스위치입력모듈(321)과, 상기 스위치입력모듈(321)에 의해 출력된 신호를 DALI 통신라인을 통하여 조명부(34)에 출력하는 스위치통신모듈(322)과, DALI 통신라인을 선 점유한 디바이스(30)의 대기시간 및 송신완료시간을 누적연산하여 상기 스위치통신모듈(322)의 송신시간을 연산하는 연산모듈(33)을 포함한다. Referring to FIG. 3, the switch unit 32 includes a switch input module 321 for outputting a signal by a user's operation, a signal outputting unit 321 for outputting the signal output from the switch input module 321 to a lighting unit A calculation module for calculating the transmission time of the switch communication module 322 by cumulatively calculating the waiting time and the transmission completion time of the device 30 occupying the DALI communication line, (33).

상기 연산모듈(33)은 타 디바이스(30)의 아이디가 포함된 신호를 수신하여 해당 디바이스(30)의 우선순위에 따른 대기시간과 명령에 따라 설정된 대기시간을 누적연산하여 상기 스위치통신모듈(322)의 송신시간을 카운팅하여 그 결과를 상기 스위치통신모듈(322)에 인가한다. 상기 연산모듈(33)은 앞서 설명한 센서부(31)의 연산모듈(33)과 동일한 설정정보를 저장한다.The calculation module 33 receives the signal including the ID of the other device 30 and cumulatively calculates the waiting time according to the priority order of the device 30 and the waiting time set according to the command so that the switching communication module 322 , And applies the result to the switch communication module 322. [ The calculation module 33 stores the same setting information as the calculation module 33 of the sensor unit 31 described above.

상술한 바는 상기 센서부(31)와 스위치부(32)를 일예로 들어 연산모듈(33)이 포함된 구성을 설명하였으나, 이에 국한되지 않으며 마스터(20)와 조명부(34)를 포함하여 DALI(Digital Addressable Lighting Interface) 통신라인에 연결된 전체 디바이스(30)에 적용된다. The present invention is not limited to the above embodiment and may include a master 20 and an illumination unit 34 and may include a DALI (Digital Addressable Lighting Interface) communication line.

상기와 같은 구성을 포함하는 상기 디지탈-어드레시블 조명인터페이스 시스템(Digital Addressable Lighting Interface System)은 하나의 마스터(20)에서 각각 고유의 아이디가 설정되는 하나 이상의 디바이스(30)가 물리적으로 하나로 묶여진 통신라인으로 각각 연결된다. 예를 들면, 상기 마스터(20)와 하나 이상의 디바이스(30)는 0~63까지의 고유 주소가 설정된다. 여기서 상기 하나 이상의 디바이스(30)는 조명부(34)를 포함한다.The digital addressable lighting interface system including the above-described configuration is a system in which one or more devices 30, each having a unique ID set in one master 20, are physically bundled into one Respectively. For example, the master 20 and the one or more devices 30 are set to unique addresses of 0 to 63. Wherein the at least one device (30) comprises an illumination portion (34).

따라서 상기 하나 이상의 디바이스(30)는 상기 마스터(20) 또는 타 디바이스(30)에서 출력되는 모든 신호를 일괄적으로 수신하게 되며, 해당신호에 포함된 고유 아이디를 확인하여 자신의 아이디와 일치된 신호에만 응답 또는 구동된다. Accordingly, the at least one device 30 collectively receives all the signals output from the master 20 or the other device 30, checks a unique ID included in the signal, Lt; / RTI >

그러므로 본 발명은 DALI(Digital Addressable Lighting Interface) 통신라인에 연결되는 하나 이상의 디바이스(30)의 주소별로 우선순위를 설정하고, 우선순위와 마스터(20)의 명령어 종류에 따라서 대기시간을 차등적으로 설정하여 각 디바이스(30)에 설치되는 상기 연산모듈(33)에 상기 설정정보를 저장한다. Therefore, according to the present invention, a priority is set for each address of one or more devices 30 connected to a DALI (Digital Addressable Lighting Interface) communication line, and a waiting time is set differentially according to a priority and a command type of the master 20 And stores the setting information in the calculation module (33) installed in each device (30).

그리고 상기 연산모듈(33)은 각 디바이스(30)에서 자체적으로 상기 마스터(20) 또는 타 디바이스(30)로부터 출력된 제어 또는 조회명령을 일괄적으로 수신하여 해당 고유주소를 갖는 디바이스(30)의 우선순위와 대기시간을 산출하고, 현재 통신라인에서 신호의 통신대기중인 전체 디바이스(30)의 대기시간을 누적시켜 자신의 전송가능시간을 연산할 수 있다. The operation module 33 collectively receives the control or inquiry command output from the master 20 or the other device 30 in each device 30 and transmits the control or inquiry command to the device 30 having the unique address The priority and the waiting time can be calculated and the waiting time of all the devices 30 in the communication line waiting for communication in the current communication line can be accumulated to calculate the transmission available time.

예를 들면, 센서부(31)가 1순위로서 대기시간을 1ms, 스위치부(32)가 2순위로서 대기시간을 2ms, 조명부가 3순위로서 3ms로 설정된다. 이때 상기 마스터(20)가 상기 센서부(31)에 조회명령을 송신하고, 상기 스위치부(32)에 제어명령을 인가한다. 아울러 상기 조명부(34)는 상기 마스터(20)와 통신중인 상태이다. 따라서 상기 조명부(34)는 현재 통신중이기 때문에 대기시간의 연산에서 제외되고, 나머지 통신대기 상태인 디바이스(30)의 대기시간을 연산한다.For example, the sensor unit 31 is set as the first rank, the wait time is set to 1 ms, the switch unit 32 is set to the second rank, the wait time is set to 2 ms, and the illumination unit is set to 3 rank. At this time, the master 20 transmits an inquiry command to the sensor unit 31 and applies a control command to the switch unit 32. In addition, the illumination unit 34 is in communication with the master 20. Therefore, the lighting unit 34 is excluded from the calculation of the waiting time because it is currently in communication, and calculates the waiting time of the remaining device 30 in the communication waiting state.

여기서 상기 조회명령은 각 디바이스(30)의 응답을 위한 대기시간을 7ms로 설정된다. 따라서 상기 센서부(31)는 우선순위별 대기시간인 1ms와 응답대기시간 7ms로서 전체 대기시간이 8ms가 된다. Here, the inquiry command is set to a waiting time for a response of each device 30 to 7 ms. Accordingly, the sensor unit 31 has a waiting time of 1 ms, which is a priority waiting time, and a waiting time of 7 ms, which is 8 ms.

즉, 상기 스위치부(32)는 2순위로서 2ms의 대기시간이 설정되었으나, 상기 센서부(31)의 응답대기시간을 누적하여 2ms에 응답대기시간 7ms가 더해진 9ms 이후에 신호를 전송할 수 있다.That is, although the switch unit 32 is set in the second order, the waiting time of 2 ms is set, but it is possible to accumulate the response wait time of the sensor unit 31 and transmit the signal after 9 ms after the response wait time of 7 ms is added to 2 ms.

이는 상기 스위치부(32)가 상기 마스터(20)에서 상기 센서부(31)에 송신한 조회명령을 수신하여 상기 센서부(31)의 우선순위에 따른 대기시간과 조회명령에 따른 대기시간을 연산하여 자신이 송신가능한 시간을 연산한 것이다. This is because the switch unit 32 receives the inquiry command transmitted from the master 20 to the sensor unit 31 and calculates the waiting time according to the priority order of the sensor unit 31 and the waiting time according to the inquiry command And calculates the time available for transmission by itself.

즉, 본 발명은 상기 하나 이상의 디바이스(30)에서 우선순위별 대기시간과 수신된 명령에 따른 대기시간을 연산하여 자신의 전송가능한 시간을 산출하여 단일버스로 이루어진 DALI 통신라인에서 하나 이상의 신호가 겹치게 되어 신호의 충돌을 미연에 방지할 수 있다. That is, according to the present invention, the at least one device 30 calculates the waiting time according to the priority order and the waiting time according to the received command to calculate the time available for the self-transmission, so that one or more signals overlap in the DALI communication line made up of a single bus So that the collision of signals can be prevented in advance.

이는 종래의 충돌이 발생 되면 일정시간 이후에 재전송함과는 전혀 다른 것으로서 신호의 충돌되지 않도록 통신라인에 선 점유된 신호의 유무를 확인한 이후에 신호를 출력하는 것으로서 충돌이 발생 되지 않도록 하는 것을 특징으로 한다. This is completely different from a retransmission after a predetermined time when a conventional collision occurs. The collision is not caused by outputting a signal after confirming presence or absence of a signal occupied in the communication line so as not to collide with the signal. do.

본 발명은 상기와 같은 구성을 포함하며, 이하에서는 상기 시스템을 통하여 달성되는 작용설명을 도 4 내지 도 7을 참조하여 상세히 설명한다. The present invention includes the above-described structure. Hereinafter, the operation of the system will be described in detail with reference to FIGS. 4 to 7. FIG.

도 4는 본 발명에 따른 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지방법을 도시한 순서도이다. 4 is a flowchart illustrating a collision avoidance method of a digital-addressable lighting interface system according to the present invention.

도 4를 참조하면, 각 디바이스(30)의 주소별 우선순위에 따라 설정된 대기시간과 마스터(20)의 명령어에 따른 대기시간을 설정하는 설정단계(S11)와, 상기 마스터(20) 또는 타 디바이스(30)로부터 신호를 수신하는 수신단계(S12)와, 수신신호에 포함된 아이디와 설정아이디가 일치되는 지를 판단하는 아이디일치판단단계(S13)와, DALI 통신라인에 선 점유된 신호의 유무를 판단하는 누적대기시간 유무 판단단계(S14)와, 상기 누적 대기시간 유무 판단단계(S14)에서 누적된 대기시간이 존재한다면 시간을 카운팅하는 카운팅단계(S15)와, 상기 카운팅단계(S15)에서 대기시간의 카운팅완료되면 신호를 전송하는 전송단계(S16)를 포함한다. 4, a setting step S11 for setting a waiting time set according to the priority of each device 30 according to an address and a waiting time according to a command word of the master 20, (S13) for determining whether the ID included in the received signal matches the set ID, a step S13 for determining whether the ID contained in the received signal matches the ID stored in the DALI communication line, A counting step S15 of counting a time if there is a waiting time accumulated in the cumulative waiting time existence judgment step S14; and a counting step S15 of counting a waiting time in the counting step S15. And a transmission step (S16) of transmitting a signal when the counting of the time is completed.

상기 설정단계(S11)는 상기 DALI 통신라인에 연결되는 하나 이상의 디바이스(30)별로 고유 주소를 설정하고, 주소별로 우선순위를 설정하여 차등적으로 대기시간을 갖도록 설정하고, 상기 마스터(20)로부터 수신된 명령어의 종류별로 대기시간을 설정하는 단계이다. 아울러 상기 설정단계(S11)는 상기 하나 이상의 디바이스(30)에 고유의 아이디를 부여 및 설정한다. The setting step S11 sets a unique address for each of the at least one device 30 connected to the DALI communication line, sets a priority order for each address to set a waiting time differentially, And setting a wait time for each type of received command. In addition, the setting step (S11) assigns and sets a unique ID to the one or more devices (30).

예를 들면, 상기 하나 이상의 디바이스(30)는 0~63의 주소로서 설정되고, 0부터 순차적으로 63의 주소를 갖는 디바이스(30)의 대기시간을 0~63ms로서 순차적으로 설정한다. 따라서 0의 디바이스(30)는 0초의 대기시간을 갖고, 10의 디바이스(30)는 10ms의 대기시간, 63의 디바이스(30)는 63ms의 대기시간을 갖도록 설정된다. For example, the one or more devices 30 are set as addresses 0 to 63, and sequentially set the waiting time of the device 30 having the address of 63 sequentially from 0 to 0 to 63 ms. Therefore, the device 30 of 0 has a waiting time of 0 seconds, the devices 30 of 10 have a waiting time of 10 ms, and the devices 30 of 63 have a waiting time of 63 ms.

상기 수신단계(S12)는 상기 하나 이상의 디바이스(30)에서 상기 마스터(20)로부터 신호를 수신하는 단계이다. 여기서 상기 하나 이상의 디바이스(30)는 단일버스로 연결되는 DALI통신라인에 연결됨에 따라서 상기 마스터(20)에서 출력된 신호는 전체 디바이스(30)에 수신된다.The receiving step (S12) is a step of receiving a signal from the master (20) at the one or more devices (30). Here, since the one or more devices 30 are connected to the DALI communication line connected by a single bus, the signal output from the master 20 is received by the entire device 30. [

상기 아이디 일치판단단계(S13)는 상기 마스터(20) 또는 타 디바이스(30)의 송신신호를 일괄적으로 수신하는 전체 디바이스(30)에서 각각 포함된 연산모듈(33)에서 상기 송신신호에 포함된 고유주소를 확인하여 자신이 속한 디바이스(30)의 아이디와 일치한 지를 판단하는 단계이다. 여기서 상기 연산모듈(33)은 상기 마스터(20) 또는 타 디바이스(30)의 송신신호를 수신하여 수신된 신호에 포함된 고유 아이디와 명령어의 종류를 확인하여 타 디바이스(30)가 어느 정도의 대기시간을 갖게되는 지를 산출할 수 있으며, 이는 대기시간누적단계(S17)를 통하여 산출된다. 상기 대기시간 누적단계(S17)는 도 5를 참조하여 후술한다. The ID match determination step S13 may be performed in the calculation module 33 included in the entire device 30 that collectively receives the transmission signals of the master 20 or the other devices 30, And checks whether the unique address matches the ID of the device 30 to which it belongs. Here, the calculation module 33 receives a transmission signal of the master 20 or the other device 30, checks the type of the unique ID included in the received signal, Time can be calculated, which is calculated through the waiting time accumulating step (S17). The waiting time accumulating step (S17) will be described later with reference to FIG.

상기 누적 대기시간 유무 판단단계(S14)는 상기 아이디 일치 판단단계(S13)에서 상기 마스터(20) 또는 타 디바이스(30)의 송신신호에 포함된 고유 아이디와 일치된 아이디로 설정된 디바이스(30)의 연산모듈(33)에서 상기 마스터(20) 또는 타 디바이스(30)의 송신신호에 따른 응답신호를 송신하기 이전에 상기 DALI통신라인에 연결되는 타 디바이스(30)의 대기시간 여부를 판단하는 단계이다. 여기서 본 발명은 상술한 바와 같이 각각의 디바이스(30)별로 연산모듈(33)을 구비하고 있고, 상기 마스터(20) 또는 타 디바이스(30)의 송신신호가 일괄적으로 수신됨에 따라서 상기 DALI통신라인을 선 점유하여 통신대기중인 디바이스(30)가 확인가능하다. The step S14 of determining whether or not the cumulative waiting time has elapsed is a step of determining whether or not the cumulative waiting time exists in the device 30 set in the ID coinciding with the unique ID included in the transmission signal of the master 20 or the other device 30 It is determined whether the waiting time of the other device 30 connected to the DALI communication line is determined before the response signal corresponding to the transmission signal of the master 20 or the other device 30 is transmitted from the calculation module 33 . As described above, the present invention is provided with the operation module 33 for each device 30 as described above. As the transmission signals of the master 20 or other devices 30 are collectively received, So that the device 30 waiting for communication can confirm it.

따라서 상기 연산모듈(33)은 이전부터 수신된 마스터(20) 또는 타 디바이스(30)의 송신신호의 아이디와 일치된 디바이스(30)의 우선순위별 대기시간과 마스터(20)의 명령어별 차등 설정된 대기시간을 실시간으로 누적함에 따라서 자신이 속한 디바이스(30)가 상기 DALI 통신라인을 통하여 송신가능한 시간을 연산 및 확인할 수 있다. Therefore, the operation module 33 sets the difference between the wait time of the priority of the device 30 that matches the ID of the transmission signal of the master 20 or the other device 30 received from the previous time and the instruction of the master 20 As the waiting time is accumulated in real time, the device 30 to which the device 30 belongs can calculate and check the time available for transmission through the DALI communication line.

그러므로 상기 누적 대기시간 유무 판단단계(S14)에서 상기 연산모듈(33)은 상기 DALI 통신라인에서 통신대기상태인 디바이스(30)의 유무를 확인하여 누적된 대기시간의 유무를 판단한다. 판단결과, 상기 연산모듈(33)은 누적 대기시간이 없다면 하기의 전송단계(S16)로서 진행하거나 누적 대기시간이 존재하면 누적된 대기시간을 카운팅하는 카운팅 단계(S15)를 진행한다. Therefore, in the step S14 of determining whether or not the cumulative waiting time exists, the calculation module 33 determines whether there is an accumulated waiting time by confirming whether or not there is a device 30 in a communication waiting state in the DALI communication line. As a result of the determination, if the accumulation waiting time does not exist, the calculation module 33 proceeds to the next transmission step S16 or proceeds to a counting step S15 of counting the accumulated waiting time if there is a cumulative waiting time.

상기 카운팅단계(S15)는 상기 누적 대기시간 유무 판단단계(S14)에서 연산모듈(33)의 연산결과 통신대기상태인 디바이스(30)가 존재하고 있다면, 현재까지의 누적된 대기시간에 자신의 디바이스(30)에 설정된 우선순위별 대기시간과 마스터(20)의 명령어에 따라 설정된 대기시간을 누적시켜 카운팅하는 단계이다. 이는 도 6을 참조하여 설명한다. The counting step S15 is a step in which if the device 30 which is in the state of waiting for the calculation result of the calculation module 33 exists in the cumulative waiting time existence step S14, The waiting time set in accordance with the priority order set in the master 30 and the waiting time set in accordance with the command of the master 20 are accumulated and counted. This will be described with reference to FIG.

예를 들면, 4번 우선순위의 스위치부(32)는 DALI 통신라인으로부터 먼저 마스터(20) 또는 타 디바이스(30)의 송신신호를 수신하여 현재 통신대기 상태인 5번 디바이스(30)의 송신완료 시점에서 자신의 우선순위별 대기시간(t1)과 수신 명령어에 설정된 응답대기시간(t2)를 모두 누적시켜 카운팅 한다. For example, the switch unit 32 of priority 4 receives the transmission signal of the master 20 or the other device 30 first from the DALI communication line and transmits the transmission completion signal of the fifth device 30 And accumulates and counts all of the waiting time t1 of the priority order and the response waiting time t2 set in the receiving instruction word at the time point.

상기 전송단계(S16)는 상기 누적대기시간 유무 판단단계(S14) 또는 상기 카운팅단계(S15)에서 누적 대기시간이 없거나 또는 누적 대기시간의 카운팅된 이후에 신호를 출력하는 단계이다. The transmitting step S16 is a step of outputting a signal after the cumulative waiting time is not present or the cumulative waiting time is counted in the cumulative waiting time existence determination step S14 or the counting step S15.

이와 같이 본 발명은 우선순위별 대기시간과 명령어별 대기시간을 각각 설정하고, 전체 DALI통신라인에서 통신대기상태인 디바이스(30)의 대기시간을 누적하여 카운팅하기 때문에 신호의 충돌이 방지된다. 따라서 종래와 달리 신호의 재전송이 필요 없어, 보다 빠른 응답이 이루어질 수 있고, 신호의 충돌에 의한 에러가 발생 되지 않는다. As described above, according to the present invention, the latency for each priority and the latency for each command are set, and the waiting time of the device 30 in the communication standby state is cumulatively counted in all the DALI communication lines. Therefore, unlike in the prior art, no retransmission of the signal is required, a faster response can be achieved, and no error due to signal collision occurs.

도 5는 본 발명에 따른 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지방법에서 대기시간 누적단계를 도시한 순서도이다. FIG. 5 is a flowchart illustrating a waiting time accumulation step in the collision avoidance method of the digital-addressable lighting interface system according to the present invention.

도 5를 참조하면, 상기 대기시간누적단계는 상기 아이디 일치 판단단계에서 각각의 디바이스(30)에 포함된 연산모듈(33)에서 상기 마스터(20) 또는 타 디바이스(30)의 송신신호에 포함된 아이디가 자신이 속한 디바이스(30)의 고유 아이디와 일치되지 않으면, 해당 고유주소를갖는 디바이스(30)의 주소별 우선순위에 따른 대기시간을 확인하는 주소별 대기시간 확인단계(S171)와, 해당 디바이스(30)에서 수신된 명령어별 대기시간을 확인하는 명령어별 대기시간 확인단계(S172)와, 우선순위별 대기시간과 명령어별 대기시간을 합산하여 해당 디바이스(30)의 전송시간을 연산하는 연산단계(S173)와, 현재 통신대기상태인 디바이스(30)의 대기시간에 누적시키는 대기시간누적단계(S174)와, 상기 대기시간 누적단계(S174)에서 누적되 전체 대기시간을 카운팅하는 카운팅단계(S175)를 포함한다. 5, the waiting time accumulating step may include a waiting time accumulating step of accumulating waiting time included in transmission signals of the master 20 or the other devices 30 in the calculation module 33 included in each device 30 in the ID matching determination step (S171) for checking the wait time according to the priority of the device (30) having the unique address if the ID does not match the unique ID of the device (30) (S172) for checking the waiting time for each command received by the device 30, and a calculation time for calculating a transmission time of the corresponding device 30 by adding the waiting time for each priority and the waiting time for each command A waiting time accumulating step S174 for accumulating the waiting time in the wait time of the device 30 which is currently in the communication standby state and a counting step for counting the total wait time accumulated in the waiting time accumulating step S174 And a (S175).

상기 우선순위별 대기시간 확인단계(S171)는 상기 연산모듈(33)에서 상기 마스터(20) 또는 타 디바이스(30)의 송신신호에 포함된 고유 아이디의 주소를 확인하고, 확인된 주소에 설정된 우선순위별 대기시간을 확인하는 단계이다.In the waiting time for each priority (S171), the calculation module (33) checks the address of the unique ID included in the transmission signal of the master (20) or the other device (30) And checking the wait time for each rank.

상기 명령어별 대기시간 확인단계(S172)는 상기 연산모듈(33)에서 상기 마스터(20) 또는 타 디바이스(30)의 송신신호에 포함된 명령어를 확인하여 설정된 명령어별 대기시간을 확인하는 단계이다. 여기서 바람직하게로는 상기 명령어별 대기시간은 상기 명령어의 종류에 따라서 사용자가 임의로 설정함이 바람직하다. 예를 들면, 소방서에서 설치되는 조명장치를 제어하기 위한 경우는 화재출동을 표시할 수 있는 조명부(34)에 대한 명령을 다른 명령보다 우선순위에 둬야된다. 따라서 상기 소방서에서 설치된 비상출동을 표시하는 조명장치에 마스터(20)의 점등명령은 그 어떤 명령보다 우선순위로 설정되어 대기시간을 o 또는 1ms로 설정한다. The waiting time for each command (S172) is a step for confirming a command included in the transmission signal of the master (20) or the other device (30) in the calculation module (33) Preferably, the wait time for each command is set by the user according to the type of the command. For example, in order to control a lighting device installed in a fire station, a command for the lighting unit 34, which can indicate a fire outbreak, should be prioritized over other commands. Therefore, the lighting command of the master 20 to the lighting device indicating the emergency dispatched by the fire station is set to a priority order higher than any command, and the waiting time is set to o or 1 ms.

상기 연산단계(S173)는 상기 우선순위별 대기시간 확인단계와 명령어별 대기시간 확인단계(S171, S172)에서 확인된 대기시간을 합산하여 상기 디바이스(30)의 전송시간을 연산하는 단계이다.The operation step S173 is a step of calculating the transmission time of the device 30 by summing up the waiting time determined in the waiting time for each priority and the waiting time for each command (S171, S172).

상기 대기시간 누적단계(S174)는 연산단계(S173)에서 연산된 디바이스(30)의 대기시간에 현재 DALI통신라인을 점유하고 있는 디바이스(30) 또는 통신대기상태인 디바이스(30)의 대기시간을 누적시키는 단계이다. The waiting time accumulating step S174 is a step of calculating a waiting time of the device 30 occupying the current DALI communication line or the device 30 waiting for communication in the waiting time of the device 30 calculated in the calculating step S173 Respectively.

상기 카운팅단계(S175)는 상기 대기시간 누적단계(S174) 이후에 시간을 카운팅 하는 단계이다. The counting step S175 is a step of counting time after the waiting time accumulating step S174.

상술한 설명은 마스터(20) 또는 타 디바이스(30)의 송신신호에 대한 응답을 위한 대기시간을 연산하여 DALI 통신라인에서의 충돌을 방지하기 위한 특징을 설명하였다. 이와 함께 본 발명은 디바이스(30)에서 출력된 송신신호가 버스안에서 타 신호와 충돌되지 않기 위한 기술 역시 제안한다. The above description has described features for preventing a collision in a DALI communication line by calculating a waiting time for a response to a transmission signal of the master 20 or the other device 30. In addition, the present invention also proposes a technique for preventing transmission signals output from the device 30 from colliding with other signals in the bus.

즉, 예를 들면, 상기 스위치부(32)는 상기 스위치입력모듈(321)에서 사용자의 조작에 의하여 장착된 스위치가 온되면, 상기 스위치통신모듈(322)을 통하여 상기 DALI 통신라인을 통하여 출력한다. 이때 상기 연산모듈(33)은 상술한 누적대기시간을 확인하여 현재 DALI 통신라인에 통신대기상태인 디바이스(30)의 존재유무를 판단할 수 있다. 따라서 상기 연산모듈(33)은 상기 누적대기시간이 없다면 즉시 설정된 우선순위별 대기시간의 경과 이후에 상기 스위치입력신호를 DALI 통신라인을 통하여 출력한다. That is, for example, when the switch installed by the user's operation is turned on in the switch input module 321, the switch unit 32 outputs the switch through the DALI communication line through the switch communication module 322 . At this time, the calculation module 33 can check the above-described accumulated waiting time and determine whether the device 30 is in the communication standby state in the current DALI communication line. Therefore, if there is no accumulated waiting time, the operation module 33 outputs the switch input signal through the DALI communication line after the lapse of the waiting time for each priority set.

또는 상기 연산모듈(33)은 상기 누적대기시간이 존재하면, 상기 누적대기시간의 카운팅 완료된 시점에서 우선순위별 대기시간을 카운팅하고 송신한다. Alternatively, if there is the accumulated waiting time, the calculation module 33 counts and transmits the waiting time for each priority in the counting of the accumulated waiting time.

따라서 본 발명은 상술한 바와 같이 단일버스로 이루어진 DALI통신라인에서 서로 다른 신호의 충돌이 발생되지 않기에 충돌발생 후에 재전송되는 시간의 지연과 에러가 발생 되지 않는다. Therefore, as described above, since no collision of different signals occurs in the DALI communication line made up of a single bus, the delay and the error of the retransmission after the occurrence of the collision do not occur.

본 발명은 다양한 형태로 변형되어 실시될 수 있을 것인바 상술한 실시예에 그 권리범위가 한정되지 않는다. 즉 변형된 실시예가 본 발명 특허청구범위의 필수 구성요소를 포함하고 있다면 본 발명의 권리범위에 속하는 것으로 보아야 할 것이다.The present invention may be embodied in various forms without departing from the scope of the invention. That is, if the modified embodiment includes essential components of the claims of the present invention, it should be considered that the present invention belongs to the scope of the present invention.

10 : 관리서버 20 : 마스터
30 : 디바이스 31 :센서부
32 : 스위치부 33 : 연산모듈
34 : 조명부 311 : 센싱모듈
312 : 센서통신모듈 321 :스위치입력모듈
322 : 스위치통신모듈
10: management server 20: master
30: Device 31: Sensor unit
32: switch unit 33: operation module
34: illumination unit 311: sensing module
312: sensor communication module 321: switch input module
322: Switch communication module

Claims (7)

디지탈-어드레시블 조명인터페이스(Digital Addressable Lighting Interface System:DALI, 이하에서는 DALI로 총칭함) 통신라인을 통하여 관리서버에서 인가되는 제어신호를 변환하여 상기 DALI 통신라인에 출력하는 마스터; 및
상기 마스터와 DALI 통신라인을 통하여 제어 및 조회명령이 포함된 신호를 송수신하여 하나 이상의 센서 및 스위치와 하나 이상이 설치되는 조명등을 구비하여 각각 고유 주소와 상기 고유 주소별로 우선순위에 따라 대기시간이 설정되는 하나 이상의 디바이스;를 포함하고,
상기 디바이스중 어느 하나가 마스터, 스위치, 센서와 DALI통신상태이면 상기 디바이스를 제외한 디바이스들은 DALI통신 대기상태에 있고,
대기상태에 있는 디바이스는 고유주소에 따라서 설정된 우선순위별 대기시간을 누적 및 연산하여 통신가능한 시간을 산출함에 따라서 상기 DALI 통신라인에서 서로 다른 신호의 충돌이 방지되도록 출력이 조절되는 것을 특징으로 하는 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지장치.
A master for converting a control signal applied from a management server through a DALI (Digital Intermediate Lighting Interface) communication line and outputting the converted control signal to the DALI communication line; And
And an illumination lamp for transmitting and receiving a signal including a control and inquiry command through the master and DALI communication lines and having one or more sensors and switches and at least one installed thereon, One or more devices,
Wherein when any one of the devices is in a DALI communication with a master, a switch, and a sensor, the devices other than the device are in a DALI communication standby state,
The device in the standby state accumulates and computes the waiting time for each priority set according to the unique address to calculate the time available for communication so that the output is adjusted so that collision of different signals is prevented in the DALI communication line. - an anti-collision device of an addressable lighting interface system.
제1항에 있어서, 상기 하나 이상의 디바이스는
상기 DALI 통신라인에서 통신대기상태인 디바이스의 고유주소별로 설정된 우선순위에 따라서 설정된 대기시간을 누적시켜 전체 대기시간을 산출하여 통신가능한 시간을 연산하는 연산모듈을 포함하는 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지장치.
The method of claim 1, wherein the one or more devices
And a calculation module for calculating a total waiting time by accumulating the waiting time set in accordance with the priority set for each unique address of the device in the communication standby state in the DALI communication line and calculating a communication time, .
제1항에 있어서, 상기 하나 이상의 디바이스는
상기 DALI(Digital Addressable Lighting Interface ) 통신라인에서 통신대기상태인 디바이스의 우선순위별 대기시간과 명령어별 응답대기시간을 연산 및 카운팅하여 상기 마스터 또는 타 디바이스의 송신신호에 따른 응답신호의 출력이 가능한 시간을 산출하여 DALI 통신라인에서의 서로 다른 신호의 충돌을 방지하는 연산모듈을 포함하는 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지장치.
The method of claim 1, wherein the one or more devices
A DALI (Digital Addressable Lighting Interface) communication line calculates and counts a waiting time for each priority of a device in a communication standby state and a response waiting time for each command to determine a time for outputting a response signal according to a transmission signal of the master or another device Wherein the DALI communication line includes a calculation module for calculating a difference between the DALI communication line and the DALI communication line, thereby preventing collision of different signals in the DALI communication line.
디지탈-어드레시블 조명인터페이스 시스템(Digital Addressable Lighting Interface System: 이하 DALI라 총칭함)의 통신라인을 통하여 마스터와 하나 이상의 디바이스가 상기 DALI 통신라인에서 마스터 및 하나 이상의 디바이스에서 송신된 신호의 충돌을 방지하는 디지탈-어드레시블 조명인터페이스 시스템(Digital Addressable Lighting Interface System:DALI)의 충돌방지방법은
상기 마스터 및 하나 이상의 디바이스의 주소와, 고유의 아이디를 부여하고, 우선순위를 설정하여 대기시간을 차등적으로 설정하고, 상기 마스터에서 수신된 명령어별로 차등적으로 대기시간을 설정하여 상기 하나 이상의 디바이스에 설치되는 연산모듈에 저장하는 설정단계;
상기 설정단계 이후에 상기 하나 이상의 디바이스가 상기 마스터 또는 타 디바이스로부터 DALI(Digital Addressable Lighting Interface) 통신라인을 통하여 송신된 신호를 수신하는 수신단계;
상기 수신단계에서 상기 하나 이상의 디바이스에 각각 포함된 연산모듈에서 수신된 신호에 포함된 아이디와 자기 아이디가 일치되는 지를 판단하는 아이디 일치판단단계;
상기 아이디일치 판단단계 이후에 상기 연산모듈에서 DALI(Digital Addressable Lighting Interface) 통신라인에 선 점유된 신호의 유무를 판단하는 누적대기시간 유무 판단단계;
상기 누적 대기시간 유무 판단단계에서 누적된 대기시간이 존재한다면, 상기 연산모듈에서 시간을 카운팅하는 카운팅단계; 및
상기 카운팅단계에서 대기시간의 카운팅완료되면, 상기 연산모듈에서 상기 DALI(Digital Addressable Lighting Interface) 통신라인에 신호를 출력하도록 제어하는 전송단계를 포함하는 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지방법.
A master and one or more devices via a communication line of a Digital Addressable Lighting Interface System (hereinafter referred to as " DALI ") system to prevent collision of signals transmitted from the master and one or more devices in the DALI communication line A method for preventing collision of a digital addressable lighting interface system (DALI)
The address of the master and the one or more devices and a unique ID are set and a priority is set to set the waiting time in a differential manner to set a waiting time differentially for each command received from the master, In a calculation module installed in the mobile terminal;
A receiving step in which the one or more devices receive a signal transmitted from the master or another device through a DALI (Digital Addressable Lighting Interface) communication line after the setting step;
Determining whether or not the IDs included in the signals received by the operation module included in each of the one or more devices in the receiving step match the self ID;
Determining whether there is a pre-occupied signal in a DALI (Digital Addressable Lighting Interface) communication line in the computing module after the ID matching determination step;
A counting step of counting time in the operation module if there is an accumulated waiting time in the step of determining whether or not the cumulative waiting time exists; And
And a transmission step of controlling the calculation module to output a signal to the DALI (Digital Addressable Lighting Interface) communication line when counting of the waiting time is completed in the counting step.
제4항에 있어서, 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지방법에서,
상기 연산모듈은 상기 아이디일치판단단계에서 상기 마스터 또는 타 디바이스의 송신신호를 일괄적으로 수신하고 수신된 신호에 포함된 고유 고유주소를 확인하여 자신이 속한 디바이스의 아이디와 일치한지를 판단하여, 자신이 속한 디바이스의 아이디와 불일치하면, 수신신호에 포함된 고유 아이디와 명령어의 종류를 확인하여 타 디바이스가 어느 정도의 대기시간을 갖게 되는 지를 산출하여 누적시키는 대기시간누적단계를 더 포함하는 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지방법.
5. The method of claim 4, wherein in the collision avoidance method of the digital-addressable light interface system,
The calculation module collectively receives the transmission signal of the master or the other device in the ID matching determination step, determines a unique e-mail address included in the received signal, determines whether the ID matches the ID of the device to which it belongs, And a waiting time accumulating step of calculating and accumulating how much waiting time the other device has by checking the unique ID and the type of the instruction included in the received signal if the ID of the device belonging to the device does not match with the ID of the device, A method for preventing collision of a sidelight interface system.
제5항에 있어서, 상기 대기시간 누적단계는
상기 아이디 일치 판단단계에서 각각의 디바이스에 포함된 연산모듈에서 상기 마스터 또는 타 디바이스의 송신신호에 포함된 아이디가 자신이 속한 디바이스의 고유 아이디와 일치되지 않으면, 해당 고유주소를갖는 디바이스의 주소별 우선순위에 따른 대기시간을 확인하는 주소별 대기시간 확인단계;
수신된 명령어에 설정된 대기시간을 확인하는 명령어별 대기시간 확인단계;
상기 우선순위별 대기시간과 명령어별 대기시간을 합산하여 해당 디바이스의 대기시간을 연산하는 연산단계;
상기 연산단계에서 연산된 대기시간을 현재 통신대기상태인 디바이스의 전체 대기시간에 누적시키는 대기시간누적단계; 및
상기 대기시간 누적단계에서 누적된 전체 대기시간을 카운팅하는 카운팅단계를 포함하는 것을 특징으로 하는 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지방법.
6. The method of claim 5, wherein the waiting time accumulating step
If the ID included in the transmission signal of the master or the other device does not match the unique ID of the device to which the master or the other device belongs in the operation module included in each device in the ID match determination step, A waiting time determination step of checking the waiting time according to the ranking;
A wait time for each command to confirm the wait time set in the received command;
An arithmetic operation step of calculating a waiting time of the corresponding device by summing the waiting time per priority and the waiting time per instruction;
A waiting time accumulating step of accumulating the waiting time calculated in the calculating step in the total waiting time of the device currently in the communication waiting state; And
And a counting step of counting the total waiting time accumulated in the waiting time accumulating step.
제4항에 있어서, 조명인터페이스 시스템의 충돌방지방법은
하나 이상의 디바이스에서 출력된 송신신호가 버스안에서 타 신호와 충돌되지 않도록 상기 연산모듈에서 상기 DALI(Digital Addressable Lighting Interface) 통신라인에 연결되는 전체 디바이스의 누적대기시간을 확인하고, 전체 누적대기시간이 존재하면 상기 전체 누적대기시간의 카운팅완료된 이후에 상기 DALI(Digital Addressable Lighting Interface) 통신라인을 통하여 출력하는 것을 특징으로 하는 디지탈-어드레시블 조명인터페이스 시스템의 충돌방지방법.
5. The method of claim 4, wherein the collision avoidance method of the lighting interface system
A cumulative waiting time of all devices connected to the DALI communication line is checked in the calculating module so that a transmission signal output from one or more devices does not collide with other signals in the bus, (DALI) communication line after the counting of the total cumulative waiting time is completed. The digital-addressable lighting interface system of claim 1,
KR1020130009781A 2013-01-29 2013-01-29 Collision prevention System and Method for Digital Addressable Lighting Interface System KR20140096777A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020130009781A KR20140096777A (en) 2013-01-29 2013-01-29 Collision prevention System and Method for Digital Addressable Lighting Interface System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020130009781A KR20140096777A (en) 2013-01-29 2013-01-29 Collision prevention System and Method for Digital Addressable Lighting Interface System

Publications (1)

Publication Number Publication Date
KR20140096777A true KR20140096777A (en) 2014-08-06

Family

ID=51744561

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130009781A KR20140096777A (en) 2013-01-29 2013-01-29 Collision prevention System and Method for Digital Addressable Lighting Interface System

Country Status (1)

Country Link
KR (1) KR20140096777A (en)

Similar Documents

Publication Publication Date Title
US10229078B2 (en) Multi-master bus
US9330049B2 (en) Method and apparatuses for monitoring system bus
US20140223048A1 (en) Communication network and method for communicating in a communication network
JP4996699B2 (en) Communications system
US9747764B2 (en) Guidance system
CN108696309B (en) Relay device and multi-connected control system
US20140107863A1 (en) Vehicle Control Device, Vehicle Control System
KR101714526B1 (en) Method and apparatus for protecting hacking in vehicle network
US9372744B2 (en) Method for detecting failure and slave station for use in same
US20180251084A1 (en) Power supply control apparatus, communication system, and power supply control method
CN113676938A (en) Fault detection method and device, storage medium and electronic equipment
KR20140096777A (en) Collision prevention System and Method for Digital Addressable Lighting Interface System
JP6196051B2 (en) Alarm system
JP4042790B2 (en) Electrical device and method for determining normal communication function in electrical device
WO2017001281A1 (en) A power supply and a power supply method
US11650258B2 (en) System for identifying controller causing electrical discharge of vehicle
US20100229041A1 (en) Device and method for expediting feedback on changes of connection status of monitioring equipments
KR101524143B1 (en) An electronic control unit and a movement control method for partial communication networking
US20140294053A1 (en) Method for detecting abnormailty of input signal and slave station for use in same
Shweta et al. Implementation of controller area network (CAN) bus (Building automation)
US6412016B1 (en) Network link bypass device
JP2003151047A (en) Machine security system
JP2008072328A (en) Evaluating device for gateway ecu
US11171857B2 (en) Identifying an electronic device connected to a communication network that has XCP enabled
JP2009277607A (en) Communication system

Legal Events

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