KR101516370B1 - System and method for identifier allocation of multi-slave - Google Patents

System and method for identifier allocation of multi-slave Download PDF

Info

Publication number
KR101516370B1
KR101516370B1 KR1020130079654A KR20130079654A KR101516370B1 KR 101516370 B1 KR101516370 B1 KR 101516370B1 KR 1020130079654 A KR1020130079654 A KR 1020130079654A KR 20130079654 A KR20130079654 A KR 20130079654A KR 101516370 B1 KR101516370 B1 KR 101516370B1
Authority
KR
South Korea
Prior art keywords
communication network
identifier
slave
unit
switch
Prior art date
Application number
KR1020130079654A
Other languages
Korean (ko)
Other versions
KR20150006196A (en
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 KR1020130079654A priority Critical patent/KR101516370B1/en
Publication of KR20150006196A publication Critical patent/KR20150006196A/en
Application granted granted Critical
Publication of KR101516370B1 publication Critical patent/KR101516370B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames
    • H04L61/3015Name registration, generation or assignment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • H04L49/253Routing or path finding in a switch fabric using establishment or release of connections between ports

Abstract

본 발명은 마스터 유닛이 간단하게 각각의 슬레이브 유닛에게 식별자를 할당할 수 있는 시스템 및 방법을 개시한다. 본 발명에 따른 식별자 할당 시스템은 N개의 슬레이브 유닛과 마스터 유닛이 통신망을 통해 연결된다. 상기 각각의 슬레이브 유닛은 통신망에서 어느 일 방향의 통신망 연결을 차단할 수 있는 스위치를 가진다. 상기 마스터 유닛은 N개의 슬레이브 유닛 전부에게 임시 식별자를 할당한 후, 상기 통신망 연결을 차단할 수 있는 스위치가 전부 오프(off) 되도록 제어한다. 그리고, 순차적으로 상기 슬레이브 유닛에게 고유 식별자를 할당하고, 순차적으로 상기 통신망 연결을 차단할 수 있는 스위치가 온(on) 되도록 제어한다.The present invention discloses a system and method by which a master unit can simply assign an identifier to each slave unit. In an identifier allocation system according to the present invention, N slave units and a master unit are connected through a communication network. Each of the slave units has a switch for interrupting connection of a communication network in one direction in the communication network. The master unit allocates temporary identifiers to all of the N slave units, and then controls all the switches that can block the connection of the communication network to be turned off. Then, a unique identifier is sequentially assigned to the slave unit, and the switch is turned on so that the connection to the communication network can be sequentially blocked.

Description

멀티 슬레이브에 대한 식별자 할당 방법 및 시스템{SYSTEM AND METHOD FOR IDENTIFIER ALLOCATION OF MULTI-SLAVE}[0001] SYSTEM AND METHOD FOR IDENTIFIER ALLOCATION OF MULTI-SLAVE [0002]

본 발명은 마스터-슬레이브 구조의 시스템에서, 마스터 유닛이 각각의 슬레이브 유닛에게 식별자를 할당하는 시스템 및 방법에 관한 것이다.The present invention relates to a system and method in a master-slave structure system in which a master unit assigns an identifier to each slave unit.

하나의 제어 장치에 모든 제어 대상을 연결하고 각각 제어하는 방법은 제어 대상이 많아질수록 비효율적인 방법이 된다. 따라서, 다수의 제어 대상을 일정한 단위로 나누고, 각 단위마다 슬레이브 유닛이 제어할 수 있도록 구성한다. 그리고, 상기 복수의 슬레이브 유닛을 하나의 마스터 유닛이 제어하도록 구성하여 다수의 제어 대상을 효율적으로 제어할 수 있는 방법이 널리 사용되고 있다.A method of connecting all control objects to one control device and controlling them is an inefficient method as the number of control objects increases. Therefore, a plurality of control objects are divided into predetermined units, and the slave units can be controlled for each unit. A method is also widely used in which a plurality of slave units are controlled by one master unit to efficiently control a plurality of control objects.

이 경우, 제어 대상에 대한 정보 또는 제어 신호의 송수신을 위해 마스터 유닛과 복수의 슬레이브 유닛은 상호 통신망으로 통해 연결된다. 그리고, 상기 통신망을 통해 상기 마스터 유닛의 제어 신호를 모든 슬레이브 유닛이 수신한다. 그래서 상기 마스터 유닛의 제어 신호가 특정 슬레이브 유닛에게만 전달되도록 하기 위해서는 각각의 슬레이브 유닛은 고유한 식별자(ID)를 할당받을 필요가 있다.In this case, the master unit and the plurality of slave units are connected to each other through a communication network for transmission / reception of control information or control information. All the slave units receive the control signal of the master unit via the communication network. Therefore, in order for the control signal of the master unit to be transmitted only to a specific slave unit, each slave unit needs to be assigned a unique identifier (ID).

이를 위해, 종래에는 슬레이브 유닛에 포함된 하드웨어 회로 상에 미리 설정된 식별자 정보를 읽어오거나 각각의 슬레이브 유닛에게 복잡한 소프트웨어 알고리즘을 실행하여 식별자를 할당하는 방법 등이 채용되고 있다.To this end, a method of reading identifier information preset on a hardware circuit included in a slave unit or assigning an identifier by executing a complicated software algorithm to each slave unit has been adopted.

이러한 종래의 방식은 슬레이브 유닛의 개수만큼 개별적인 하드웨어 또는 소프트웨어 구동 메커니즘이 필요하고 관리되어야 하므로 그 만큼 리소스가 많이 필요하고 식별자 할당 방식이 복잡하다는 문제점을 가진다.Such a conventional scheme has a problem in that it requires a large amount of resources and requires a complicated identifier allocation scheme since individual hardware or software driving mechanisms are required and managed as many as the number of slave units.

본 발명은 상기와 같은 종래 기술을 인식하여 안출된 것으로서, 마스터 유닛이 간단하게 각각의 슬레이브 유닛에게 식별자를 할당할 수 있는 시스템 및 방법을 제공하는데 그 목적이 있다.SUMMARY OF THE INVENTION It is an object of the present invention to provide a system and a method by which a master unit can easily assign an identifier to each slave unit.

상기 기술적 과제를 달성하기 위한 본 발명에 따른 슬레이브 유닛은 통신망을 형성할 수 있는 통신 라인; 상기 통신 라인상에 위치하여 상기 통신망에서 어느 일 방향의 통신망 연결을 차단할 수 있는 제1 스위치; 및 상기 제1 스위치의 온 오프를 제어하는 신호를 출력하고, 상기 통신 라인에 연결되어 제어 신호의 수신과 임시 식별자 및 고유 식별자를 할당받는 슬레이브 유닛 제어부;를 포함한다.According to an aspect of the present invention, there is provided a slave unit comprising: a communication line capable of forming a communication network; A first switch located on the communication line and capable of blocking a communication network connection in any one direction in the communication network; And a slave unit controller connected to the communication line and receiving a control signal and being assigned a temporary identifier and a unique identifier.

본 발명에 따른 슬레이브 유닛은, 상기 통신망을 통해 할당 받은 임시 식별자 및 고유 식별자를 저장할 수 있는 메모리부;를 더 포함할 수 있다.The slave unit according to the present invention may further include a memory unit capable of storing a temporary identifier and a unique identifier allocated through the communication network.

본 발명에 따른 슬레이브 유닛은, 다수의 이차전지 셀을 포함하는 배터리 모듈 또는 배터리 팩의 관리 장치일 수 있다.The slave unit according to the present invention may be a battery module including a plurality of secondary battery cells or a management device for a battery pack.

상기 기술적 과제를 달성하기 위한 본 발명에 따른 식별자 할당 시스템은, N개(N은 2이상의 자연수)의 슬레이브 유닛; 및 상기 슬레이브 유닛에게 제1 스위치의 온 오프 제어 신호를 송신하고, 임시 식별자 및 고유 식별자를 할당하는 마스터 유닛 제어부를 가진 마스터 유닛;을 포함하는 식별자 할당 시스템으로서, 상기 N개의 슬레이브 유닛 및 마스터 유닛은 통신망을 통해 연결된다.According to an aspect of the present invention, there is provided an identifier allocation system comprising N (N is a natural number of 2 or more) slave units; And a master unit control unit having a master unit control unit for transmitting an on / off control signal of the first switch to the slave unit, and assigning a temporary identifier and a unique identifier, wherein the N slave unit and the master unit It is connected through a communication network.

본 발명의 일 실시예에 따르면, 상기 제1 스위치는 상기 통신망 중 상기 마스터 유닛이 연결된 반대 방향의 통신망을 차단할 수 있도록 상기 통신 라인에 연결된다.According to an embodiment of the present invention, the first switch is connected to the communication line so as to block an opposite communication network to which the master unit is connected.

본 발명의 일 실시예에 따르면, 상기 N개의 슬레이브 유닛 제어부가 할당받는 임시 식별자는 모두 동일하다.According to an embodiment of the present invention, the temporary identifiers allocated to the N slave unit controllers are all the same.

상기 기술적 과제를 달성하기 위한 본 발명에 따른 식별자 할당 방법은 통신망을 통해 연결된 N(N은 2이상의 자연수)개의 슬레이브 유닛에게 식별자를 할당하는 방법으로서, (a) 마스터 유닛 제어부가 상기 통신망을 통해 N개의 슬레이브 유닛 제어부에게 임시 식별자를 할당하는 단계; (b) 마스터 유닛 제어부가 상기 통신망을 통해 상기 N개의 슬레이브 유닛 제어부에게 상기 통신망에서 어느 일 방향의 연결 상태를 차단할 수 있는 제1 스위치를 오프시키도록 제어 신호를 출력하는 단계; (c) 마스터 유닛 제어부가 상기 통신망을 통해 임시 식별자를 호출하고 상기 N개의 슬레이브 유닛 제어부 중 상기 임시 식별자에 응답하는 슬레이브 유닛 제어부에게 고유 식별자를 할당하는 단계; 및 (d) 마스터 유닛 제어부가 상기 (c)단계에서 고유 식별자를 할당한 받은 슬레이브 유닛 제어부에게 상기 제1 스위치를 온 시키도록 제어 신호를 출력하는 단계;를 포함한다.According to another aspect of the present invention, there is provided a method of assigning an identifier to N (N is a natural number of 2 or more) slave units connected through a communication network, the method comprising the steps of: (a) Assigning temporary identifiers to the slave unit control units; (b) a master unit control unit outputting a control signal to the N slave unit control units via the communication network to turn off a first switch capable of interrupting a connection state in any one direction in the communication network; (c) the master unit control unit calls the temporary identifier through the communication network and assigns a unique identifier to the slave unit control unit responding to the temporary identifier among the N slave unit control units; And (d) outputting a control signal to the master unit control unit to turn on the first switch to the slave unit control unit to which the unique identifier is assigned in the step (c).

본 발명의 일 실시예에 따르면, 상기 제1 스위치는 상기 통신망 중 상기 마스터 유닛이 연결된 반대 방향의 연결 상태를 차단할 수 있다.According to an embodiment of the present invention, the first switch may block the connection state of the communication network in the opposite direction to which the master unit is connected.

본 발명의 일 실시예에 따르면, 상기 임시 식별자는 모두 동일하다.According to an embodiment of the present invention, the temporary identifiers are all the same.

본 발명에 따른 식별자 할당 방법은 다수의 이차전지 셀을 포함하는 배터리 모듈 또는 배터리 팩의 관리 장치에 대한 식별자 할당 방법일 수 있다.The identifier allocation method according to the present invention may be an identifier allocation method for a battery module including a plurality of secondary battery cells or a management device for a battery pack.

상기 기술적 과제를 달성하기 위한 본 발명에 따른 슬레이브 유닛은 통신망을 형성할 수 있는 통신 라인; 상기 통신 라인상에 위치하여 상기 통신망에서 일 방향의 통신망 연결을 차단할 수 있는 제1 스위치; 상기 통신 라인상에 위치하여 상기 통신망에서 타 방향의 통신망 연결을 차단할 수 있는 제2 스위치; 상기 제1 스위치 또는 제2 스위치의 온 오프를 제어하는 신호를 출력하고, 상기 통신 라인에 연결되어 제어 신호의 수신과 임시 식별자 및 고유 식별자를 할당받는 슬레이브 유닛 제어부;를 포함한다.According to an aspect of the present invention, there is provided a slave unit comprising: a communication line capable of forming a communication network; A first switch located on the communication line and capable of blocking connection of a communication network in one direction in the communication network; A second switch located on the communication line and capable of blocking connection of the communication network in the other direction in the communication network; And a slave unit controller for outputting a signal for controlling on / off of the first switch or the second switch and connected to the communication line to receive a control signal and to assign a temporary identifier and a unique identifier.

본 발명에 따른 슬레이브 유닛은, 상기 통신망을 통해 할당 받은 임시 식별자 및 고유 식별자를 저장할 수 있는 메모리부;를 더 포함할 수 있다.The slave unit according to the present invention may further include a memory unit capable of storing a temporary identifier and a unique identifier allocated through the communication network.

본 발명에 따른 슬레이브 유닛은, 다수의 이차전지 셀을 포함하는 배터리 모듈 또는 배터리 팩의 관리 장치일 수 있다.The slave unit according to the present invention may be a battery module including a plurality of secondary battery cells or a management device for a battery pack.

상기 기술적 과제를 달성하기 위한 본 발명에 따른 식별자 할당 시스템은, N개(N은 2이상의 자연수)의 슬레이브 유닛; 및 상기 슬레이브 유닛에게 제1 스위치 또는 제2 스위치의 온 오프 제어 신호를 송신하고, 임시 식별자 및 고유 식별자를 할당하는 마스터 유닛 제어부를 가진 마스터 유닛;을 포함하는 식별자 할당 시스템으로서, 상기 N개의 슬레이브 유닛 및 마스터 유닛은 통신망을 통해 연결된다.According to an aspect of the present invention, there is provided an identifier allocation system comprising N (N is a natural number of 2 or more) slave units; And a master unit control unit for transmitting an on / off control signal of the first switch or the second switch to the slave unit, and assigning a temporary identifier and a unique identifier, wherein the N unit slave unit And the master unit are connected through a communication network.

본 발명의 일 실시예에 따르면, 상기 마스터 유닛 제어부는 고유 식별자를 할당하기 전에, 상기 제1 스위치 또는 제2 스위치 중에서 상기 마스터 유닛이 연결된 방향의 스위치는 온 시키고, 상기 마스터 유닛이 연결된 방향의 반대 방향의 스위치는 오프 시키도록 제어 신호를 출력한다.According to an embodiment of the present invention, before the master unit control unit assigns the unique identifier, the switch in the direction in which the master unit is connected among the first switch or the second switch is turned on, Directional switch outputs a control signal to turn off.

본 발명의 일 실시예에 따르면, 상기 N개의 슬레이브 유닛 제어부가 할당받는 임시 식별자는 모두 동일하다.According to an embodiment of the present invention, the temporary identifiers allocated to the N slave unit controllers are all the same.

상기 기술적 과제를 달성하기 위한 본 발명에 따른 식별자 할당 방법은 통신망을 통해 연결된 N(N은 2이상의 자연수)개의 슬레이브 유닛에게 식별자를 할당하는 방법으로서, (a) 마스터 유닛 제어부가 상기 통신망을 통해 N개의 슬레이브 유닛 제어부에게 임시 식별자를 할당하는 단계; (b) 상기 마스터 유닛 제어부가 상기 통신망에서 일 방향의 통신망 연결을 차단할 수 있는 제1 스위치 또는 상기 통신망에서 타 방향의 통신망 연결을 차단할 수 있는 제2 스위치 중에서 상기 마스터 유닛이 연결된 방향의 스위치는 온 시키고, 상기 마스터 유닛이 연결된 방향의 반대 방향의 스위치는 오프 시키도록 제어 신호를 출력하는 단계; (c) 마스터 유닛 제어부가 상기 통신망을 통해 임시 식별자를 호출하고 상기 N개의 슬레이브 유닛 제어부 중 상기 임시 식별자에 응답하는 슬레이브 유닛 제어부에게 고유 식별자를 할당하는 단계; 및 (d) 마스터 유닛 제어부가 상기 (c)단계에서 고유 식별자를 할당한 받은 슬레이브 유닛 제어부에게 상기 마스터 유닛이 연결된 방향의 반대 방향의 스위치를 온 시키도록 제어 신호를 출력하는 단계;를 포함한다.According to another aspect of the present invention, there is provided a method of assigning an identifier to N (N is a natural number of 2 or more) slave units connected through a communication network, the method comprising the steps of: (a) Assigning temporary identifiers to the slave unit control units; (b) a switch in the direction in which the master unit is connected, among the first switch capable of interrupting the communication network connection in one direction in the communication network or the second switch capable of interrupting the communication network connection in the other direction in the communication network, And outputting a control signal to turn off the switch in the direction opposite to the direction in which the master unit is connected; (c) the master unit control unit calls the temporary identifier through the communication network and assigns a unique identifier to the slave unit control unit responding to the temporary identifier among the N slave unit control units; And (d) outputting a control signal to the master unit control unit to turn on the switch in the direction opposite to the direction in which the master unit is connected to the slave unit control unit to which the unique identifier is assigned in the step (c).

본 발명의 일 실시예에 따르면, 상기 임시 식별자는 모두 동일하다.According to an embodiment of the present invention, the temporary identifiers are all the same.

본 발명에 따른 식별자 할당 방법은 다수의 이차전지 셀을 포함하는 배터리 모듈 또는 배터리 팩의 관리 장치에 대한 식별자 할당 방법일 수 있다.The identifier allocation method according to the present invention may be an identifier allocation method for a battery module including a plurality of secondary battery cells or a management device for a battery pack.

본 발명의 일 측면에 따르면, 마스터-슬레이브 구조의 시스템에서, 마스터 유닛이 각각의 슬레이브 유닛에게 식별자를 쉽게 할당할 수 있다. 따라서, 슬레이브 유닛의 개수만큼 개별적인 하드웨어 또는 소프트웨어 구동 메커니즘이 필요하지 않다.According to an aspect of the present invention, in a master-slave structure system, the master unit can easily assign an identifier to each slave unit. Therefore, no separate hardware or software driving mechanism is required as many as the number of slave units.

본 발명의 다른 측면에 따르면, 슬레이브 유닛의 개수에 상관없이 마스터 슬레이브 유닛이 슬레이브 유닛에 식별자를 할당할 수 있다.According to another aspect of the present invention, the master slave unit can assign an identifier to the slave unit irrespective of the number of slave units.

본 발명의 또 다른 측면에 따르면, 마스터 유닛이 연결된 위치에 관계없이 슬레이브 유닛에게 식별자를 할당할 수 있다.According to another aspect of the present invention, an identifier may be assigned to a slave unit irrespective of the position to which the master unit is connected.

본 명세서에 첨부되는 다음의 도면들은 본 발명의 바람직한 실시예를 예시하는 것이며, 후술하는 발명의 상세한 설명과 함께 본 발명의 기술사상을 더욱 이해시키는 역할을 하는 것이므로, 본 발명은 그러한 도면에 기재된 사항에만 한정되어 해석되어서는 아니 된다.
도 1은 본 발명의 일 실시예에 따른 식별자 할당 시스템의 구성을 개략적으로 도시한 블럭도이다.
도 2 내지 도 7은 본 발명의 일 실시예에 따라, 마스터 유닛이 슬레이브 유닛에게 식별자를 할당하는 순서를 모시적으로 도시한 블럭도이다.
도 8은 본 발명의 다른 실시예에 따른 식별자 할당 시스템의 구성을 개략적으로 도시한 블럭도이다.
도 9 내지 도 11은 본 발명의 다른 실시예에 따라, 마스터 유닛이 슬레이브 유닛에게 식별자를 할당하는 순서를 모시적으로 도시한 블럭도이다.
BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate preferred embodiments of the invention and, together with the description of the invention given below, serve to further the understanding of the technical idea of the invention, And should not be construed as limiting.
1 is a block diagram schematically illustrating a configuration of an identifier allocation system according to an embodiment of the present invention.
FIG. 2 to FIG. 7 are block diagrams schematically illustrating a procedure in which a master unit assigns an identifier to a slave unit according to an embodiment of the present invention.
8 is a block diagram schematically showing a configuration of an identifier allocation system according to another embodiment of the present invention.
9 to 11 are block diagrams schematically showing a sequence in which a master unit assigns an identifier to a slave unit according to another embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명하기로 한다. 이에 앞서, 본 명세서 및 청구범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정해서 해석되어서는 아니되며, 발명자는 그 자신의 발명을 가장 최선의 방법으로 설명하기 위해 용어의 개념을 적절하게 정의할 수 있다는 원칙에 입각하여 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야만 한다. 따라서, 본 명세서에 기재된 실시예와 도면에 도시된 구성은 본 발명의 가장 바람직한 일 실시예에 불과할 뿐이고 본 발명의 기술적 사상을 모두 대변하는 것은 아니므로, 본 출원시점에 있어서 이들을 대체할 수 있는 다양한 균등물과 변형 예들이 있을 수 있음을 이해하여야 한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. Prior to this, terms and words used in the present specification and claims should not be construed as limited to ordinary or dictionary terms, and the inventor should appropriately interpret the concepts of the terms appropriately It should be interpreted in accordance with the meaning and concept consistent with the technical idea of the present invention based on the principle that it can be defined. Therefore, the embodiments described in this specification and the configurations shown in the drawings are merely the most preferred embodiments of the present invention and do not represent all the technical ideas of the present invention. Therefore, It is to be understood that equivalents and modifications are possible.

도 1은 본 발명의 일 실시예에 따른 식별자 할당 시스템(100)의 구성을 개략적으로 도시한 블럭도이다.1 is a block diagram schematically illustrating the configuration of an identifier allocation system 100 according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 일 실시예에 따른 식별자 할당 시스템(100)은 마스터 유닛(110) 및 N개(N은 2이상의 자연수)의 슬레이브 유닛(120)을 포함한다. 상기 슬레이브 유닛(120)의 개수는 제어 대상의 개수, 규모, 특성 등에 따라 다양하게 설정될 수 있다.Referring to FIG. 1, an identifier allocation system 100 according to an embodiment of the present invention includes a master unit 110 and N (N is a natural number of 2 or more) slave units 120. The number of the slave units 120 may be variously set according to the number, size, characteristics, etc. of the control objects.

상기 슬레이브 유닛(120)은 통신 라인(121), 제1 스위치(122) 및 슬레이브 유닛 제어부(123)를 포함한다.The slave unit 120 includes a communication line 121, a first switch 122, and a slave unit control unit 123.

상기 통신 라인(121)은 상기 통신망(130)을 형성한다. 따라서, 도 1에 도시된 바와 같이, 상기 마스터 유닛(110) 및 N개의 슬레이브 유닛(120)은 상호 통신망(130)을 통해서 연결된다. 상기 통신망(130)을 통해서 상기 마스터 유닛 제어부(111)는 상기 N개의 슬레이브 유닛 제어부(123)로부터 제어에 필요한 정보를 수신하거나, 상기 각 슬레이브 유닛 제어부(123)에게 제어 신호를 송신할 수 있다. 반면, 상기 통신망(130)을 통해서 상기 각 슬레이브 유닛 제어부(123)는 자신이 관리하는 대상의 정보를 상기 마스터 유닛 제어부(111)에게 송신하거나, 상기 마스터 유닛 제어부(111)로부터 제어 신호를 수신할 수 있다.The communication line 121 forms the communication network 130. Therefore, as shown in FIG. 1, the master unit 110 and the N slave units 120 are connected to each other through a communication network 130. The master unit control unit 111 may receive information required for control from the N slave unit control units 123 or transmit control signals to the slave unit control units 123 through the communication network 130. [ On the other hand, each of the slave unit control units 123 through the communication network 130 transmits information of the object managed by the slave unit control unit 111 to the master unit control unit 111 or receives a control signal from the master unit control unit 111 .

상기 통신망(130)의 통신 프로토콜은 병렬 통신망의 통신 프로토콜을 따른다. 상기 병렬 통신망이란 하나의 통신선에 다수의 유닛이 연결되어 있는 통신망이다. 그러므로, 통신망(130)에 연결된 상기 마스터 유닛 제어부(111) 및 N개의 슬레이브 유닛 제어부(123)는 데이터의 출처 및 수신처를 식별할 수 있도록 하는 식별자(ID)가 필요하다.The communication protocol of the communication network 130 follows the communication protocol of the parallel communication network. The parallel communication network is a communication network in which a plurality of units are connected to one communication line. Therefore, the master unit control unit 111 and the N slave unit control units 123 connected to the communication network 130 need an identifier (ID) for identifying the source and destination of data.

상기 통신망(130)은 각 유닛들이 직렬로 연결되는 직렬 통신망이 될 수도 있고, 각 유닛들이 병렬로 연결되는 병렬 통신망이 될 수도 있다. 일 예로 상기 통신망(130)은 통신망은 CAN(Controller Area Network) 통신망이 될 수 있으며, CAN 통신망은 본 발명이 속하는 기술분야의 당업자에게 널리 알려진 기술이므로 이에 대한 상세한 설명은 생략한다.The communication network 130 may be a serial communication network in which the units are connected in series, or may be a parallel communication network in which the units are connected in parallel. For example, the communication network 130 may be a CAN (Controller Area Network) communication network, and the CAN communication network is a well-known technology to those skilled in the art, so a detailed description thereof will be omitted.

상기 제1 스위치(122)는 상기 통신 라인(121)상에 위치하여 상기 통신망에서 어느 일 방향의 통신망 연결을 차단할 수 있다.The first switch 122 may be located on the communication line 121 to block connection of the communication network in any one direction in the communication network.

바람직하게, 도 1에 도시된 바와 같이, 상기 제1 스위치(122)는 상기 통신망 중 상기 마스터 유닛(110)이 연결된 반대 방향의 연결 상태를 차단할 수 있는 위치에 연결된다.1, the first switch 122 is connected to a position where the master unit 110 of the communication network can be disconnected in the opposite direction to which the master unit 110 is connected.

일 예로, 도 1 가장 하단에 위치한 슬레이브 유닛(120-1)에 포함된 제1 스위치(122-1)를 살펴본다. 상기 제1 스위치(122-1)의 상태가 온(on)이면, 상기 슬레이브 유닛(120-1) 이후에 연결된 다른 슬레이브 유닛(120-2 ~ 120-N)에게도 상기 마스터 유닛(110)의 제어 신호가 전달될 수 있다. 그러나, 상기 제1 스위치(122-1)의 상태가 오프(off)이면, 상기 슬레이브 유닛(120-1) 이후에 연결된 다른 슬레이브 유닛(120-2 ~ 120-N)에게는 상기 마스터 유닛(110)의 제어 신호가 전달될 수 없다. 따라서, 상기 제1 스위치(122)는 상기 통신 라인(121)상에 위치하여 상기 통신망(130)에서 어느 일 방향의 통신망 연결을 차단할 수 있다. For example, the first switch 122-1 included in the slave unit 120-1 located at the bottom of FIG. 1 will be described. If the state of the first switch 122-1 is on, the control of the master unit 110 is also performed for the other slave units 120-2 to 120-N connected after the slave unit 120-1. A signal can be transmitted. However, when the state of the first switch 122-1 is off, the slave unit 120-1 is connected to the slave units 120-2 to 120- Can not be transmitted. Therefore, the first switch 122 may be located on the communication line 121 to block the connection of the communication network in any one direction in the communication network 130.

상기 슬레이브 유닛 제어부(123)는 상기 제1 스위치(122)의 온(on) 오프(off)를 제어하는 신호를 출력한다. 그리고, 상기 슬레이브 유닛 제어부(123)는 상기 통신 라인(121)에 연결되어 상기 마스터 유닛 제어부(111)으로부터 송신된 제어 신호를 수신하여 제어 동작을 수행하거나, 상기 마스터 유닛 제어부(111)로부터 제어 대상에 관한 정보를 송신한다. 또한, 상기 마스터 유닛 제어부(111)로부터 임시 식별자 및 고유 식별자를 할당 받아 저장한다.The slave unit control unit 123 outputs a signal for controlling the first switch 122 to be turned on or off. The slave unit control unit 123 is connected to the communication line 121 to perform a control operation by receiving the control signal transmitted from the master unit control unit 111, As shown in Fig. In addition, the master unit controller 111 allocates and stores temporary IDs and unique IDs.

본 발명에 따른 슬레이브 유닛(120)은 상기 통신망(130)을 통해 할당 받은 임시 식별자 및 고유 식별자를 저장할 수 있는 메모리부(124)를 더 포함할 수 있다.The slave unit 120 according to the present invention may further include a memory unit 124 that can store a temporary identifier and a unique identifier allocated through the communication network 130.

상기 메모리부(124)는 상기 슬레이브 유닛 제어부(123)의 내부 또는 외부에 있을 수 있고, 잘 알려진 다양한 수단으로 상기 슬레이브 유닛 제어부(123)와 연결될 수 있다. 상기 메모리부(124)는 RAM, ROM, EEPROM등 데이터를 기록하고 소거할 수 있다고 알려진 공지의 반도체 소자나 하드 디스크와 같은 대용량 저장매체로서, 디바이스의 종류에 상관 없이 정보가 저장되는 디바이스를 총칭하는 것으로서 특정 메모리 디바이스를 지칭하는 것은 아니다.The memory unit 124 may be located inside or outside the slave unit control unit 123 and may be connected to the slave unit control unit 123 by various well-known means. The memory unit 124 is a mass storage medium such as a known semiconductor device or a hard disk that is known to record and erase data such as RAM, ROM, and EEPROM, and collectively refers to a device in which information is stored regardless of the type of device And does not refer to a specific memory device.

상기 마스터 유닛(110)은 마스터 유닛 제어부(111)를 포함한다.The master unit 110 includes a master unit control unit 111.

상기 마스터 유닛 제어부(111)는 상기 통신망(130)을 통해 각 슬레이브 유닛(120)에게 제1 스위치를 제어하는 신호를 송신한다. 그리고, 상기 각 슬레이브 유닛(120)에게 임시 식별자 및 고유 식별자를 할당한다.The master unit control unit 111 transmits a signal for controlling the first switch to each of the slave units 120 through the communication network 130. Then, a temporary identifier and a unique identifier are assigned to each of the slave units 120.

이하 도 2 내지 도 7을 참조하여, 본 발명의 일 실시예에 따른 식별자 할당 방법을 설명하도록 한다.Hereinafter, an identifier allocation method according to an embodiment of the present invention will be described with reference to FIG. 2 to FIG.

도 2 내지 도 7은 본 발명의 일 실시예에 따라, 마스터 유닛이 슬레이브 유닛에게 식별자를 할당하는 순서를 모시적으로 도시한 블럭도이다.FIG. 2 to FIG. 7 are block diagrams schematically illustrating a procedure in which a master unit assigns an identifier to a slave unit according to an embodiment of the present invention.

도 2를 참조하면, 상기 슬레이브 유닛 제어부(123)는 별도의 제어 신호가 없는 이상, 상기 제1 스위치(122)를 온(on) 상태로 제어한다. 따라서, 도 2를 참조하면, 상기 마스터 유닛(110)과 상기 N개의 슬레이브 유닛(120)은 상기 통신망(130)을 통해 연결된다.Referring to FIG. 2, the slave unit controller 123 controls the first switch 122 to be on unless there is a separate control signal. Referring to FIG. 2, the master unit 110 and the N slave units 120 are connected to each other through the communication network 130.

먼저, 상기 마스터 유닛 제어부(111)는 상기 통신망(130)을 통해 N개의 슬레이브 유닛 제어부(123)에게 임시 식별자를 할당한다. 이때, 상기 N개의 슬레이브 유닛 제어부(123)는 상기 통신망을 통해 모두 동일한 식별자를 할당 받고, 상기 메모리부(124)에 저장한다.First, the master unit control unit 111 assigns temporary identifiers to the N slave unit control units 123 through the communication network 130. [ At this time, the N slave unit control units 123 are all assigned the same identifier through the communication network, and store the same identifiers in the memory unit 124.

이해의 편의를 위해, 상기 슬레이브 유닛(120)에 포함된 메모리부(124)에 현재 할당된 식별자를 도시하였다. 그리고, 일 예시로 상기 임시 식별자는 '00'으로 설정하겠다. 따라서, 도 2에 도시된 바와 같이, N개의 메모리부(124)에는 'ID=00'으로 도시되어 있다.For convenience of understanding, an identifier currently assigned to the memory unit 124 included in the slave unit 120 is shown. In one example, the temporary identifier is set to '00'. Therefore, as shown in FIG. 2, N memory units 124 are shown with 'ID = 00'.

다음 도 3을 참조하면, 상기 마스터 유닛 제어부(111)는 상기 통신망(130)을 통해 N개의 슬레이브 유닛 제어부(123)에게 상기 제1 스위치(122)를 오프(off)시키도록 신호를 출력한다. 그러면 상기 N개의 슬레이브 유닛 제어부(123)는 각 제1 스위치(122)가 오프(off)되도록 제어 신호를 출력한다. 이로 인해, 상기 마스터 유닛 제어부(111)와 가장 하단에 도시된 슬레이브 유닛 제어부(120-1)만 상기 통신망(130)을 통해 통신이 가능하게 된다.Referring to FIG. 3, the master unit control unit 111 outputs a signal to the N slave unit control units 123 via the communication network 130 to turn off the first switch 122. Then, the N slave unit controller 123 outputs a control signal such that each of the first switches 122 is turned off. Therefore, only the master unit control unit 111 and the slave unit control unit 120-1 shown at the bottom can communicate with each other through the communication network 130.

다음 도 4를 참조하면, 상기 마스터 유닛 제어부(111)는 상기 통신망(130)을 통해 임시 식별자를 가진 슬레이브 유닛 제어부(123)에게 고유 식별자를 할당한다.Referring to FIG. 4, the master unit control unit 111 assigns a unique identifier to the slave unit control unit 123 having a temporary identifier through the communication network 130.

상술하였듯이, 현재 상태에서 상기 마스터 유닛 제어부(111)와 가장 하단에 도시된 슬레이브 유닛 제어부(120-1)만 상기 통신망(130)을 통해 통신이 가능하다. 따라서, 상기 마스터 유닛 제어부(111)가 임시 식별자(ID=00)로 호출하면, 가장 하단에 도시된 슬레이브 유닛 제어부(120-1)만 응답한다. 따라서, 상기 마스터 유닛 제어부(111)이 고유 식별자(ID=01)를 할당하면, 상기 가장 하단에 도시된 슬레이브 유닛 제어부(120-1)만 고유 식별자(ID=01)를 할당 받는다.As described above, only the master unit control unit 111 and the slave unit control unit 120-1 shown at the bottom of the current state can communicate with each other through the communication network 130 in the current state. Accordingly, when the master unit control unit 111 calls with a temporary identifier (ID = 00), only the slave unit control unit 120-1 shown at the bottom is responded. Therefore, when the master unit control unit 111 assigns a unique identifier (ID = 01), only the slave unit control unit 120-1 shown at the bottom is assigned a unique identifier (ID = 01).

다음 도 5를 참조하면, 상기 마스터 유닛 제어부(111)는 상기 통신망(130)을 통해 고유 식별자를 할당한 받은 슬레이브 유닛 제어부(123)에게 상기 제1 스위치(122)를 온(on) 시키도록 제어 신호를 출력한다. 이때 고유 식별자는 바로 직전 단계에서 할당한 식별자로서 'ID=01'이 된다. 따라서, 가장 하단에 도시된 슬레이브 유닛 제어부(120-1)는 제1 스위치(122-1)가 온(on)되도록 제어 신호를 출력한다. 이로 인해, 상기 마스터 유닛 제어부(111)와 가장 하단에서 두 번째 도시된 슬레이브 유닛 제어부(120-2)이 상기 통신망(130)을 통해 통신이 가능하게 된다.5, the master unit control unit 111 controls the slave unit control unit 123, which has received the unique identifier through the communication network 130, to turn on the first switch 122 And outputs a signal. At this time, the unique identifier is 'ID = 01' as the identifier allocated in the immediately preceding step. Therefore, the slave unit control unit 120-1 shown at the bottom of the figure outputs a control signal so that the first switch 122-1 is turned on. Thus, the master unit control unit 111 and the second slave unit control unit 120-2, which is the second lowest unit, can communicate with each other through the communication network 130.

다음 도 6을 참조하면, 상기 마스터 유닛 제어부(111)는 상기 통신망(130)을 통해 임시 식별자를 가진 슬레이브 유닛 제어부(123)에게 고유 식별자를 할당한다.Referring to FIG. 6, the master unit control unit 111 assigns a unique identifier to the slave unit control unit 123 having the temporary identifier through the communication network 130.

상술하였듯이, 현재 상태에서는 상기 마스터 유닛 제어부(111)와 가장 하단에 도시된 슬레이브 유닛 제어부(120-1) 및 가장 하단에서 두 번째 도시된 슬레이브 유닛 제어부(120-2)이 상기 통신망(130)을 통해 통신이 가능하다. 이때, 상기 마스터 유닛 제어부(111)가 임시 식별자(ID=00)으로 호출하면, 가장 하단에서 두 번째 도시된 슬레이브 유닛 제어부(120-2)만 응답한다. 따라서, 상기 마스터 유닛 제어부(111)이 고유 식별자(ID=02)를 할당하면, 상기 가장 하단에서 두 번째 도시된 슬레이브 유닛 제어부(120-2)가 고유 식별자(ID=02)를 할당 받는다.The master unit control unit 111 and the slave unit control unit 120-1 shown at the bottom and the slave unit control unit 120-2 shown at the bottom of the master unit control unit 120-1 are connected to the communication network 130 Communication is possible. At this time, when the master unit control unit 111 calls with a temporary identifier (ID = 00), only the second slave unit control unit 120-2 shown at the lower end responds. Accordingly, when the master unit control unit 111 assigns a unique identifier (ID = 02), the slave unit control unit 120-2 shown at the second lowest position is assigned a unique identifier (ID = 02).

다음 도 7을 참조하면, 상기 마스터 유닛 제어부(111)는 상기 통신망(130)을 통해 고유 식별자를 할당한 받은 슬레이브 유닛 제어부(123)에게 상기 제1 스위치(122)를 온(on) 시키도록 제어 신호를 출력한다. 이때 고유 식별자는 바로 직전 단계에서 할당한 식별자로서 'ID=02'가 된다. 따라서, 가장 하단에서 두 번째 도시된 슬레이브 유닛 제어부(120-2)는 제1 스위치(122-2)가 온(on)되도록 제어 신호를 출력한다. 이로 인해, 상기 마스터 유닛 제어부(111)와 가장 하단에서 세 번째 도시된 슬레이브 유닛 제어부(120-3)이 상기 통신망(130)을 통해 통신이 가능하게 된다.Referring to FIG. 7, the master unit control unit 111 controls the slave unit control unit 123, which has received the unique identifier through the communication network 130, to turn on the first switch 122 And outputs a signal. At this time, the unique identifier is 'ID = 02' as the identifier allocated in the immediately preceding step. Accordingly, the slave unit control unit 120-2, which is shown second from the bottom, outputs a control signal so that the first switch 122-2 is turned on. Thus, the master unit control unit 111 and the slave unit control unit 120-3, which is shown at the third lowest level, can communicate with each other through the communication network 130.

상술한 도 4 내지 도 7을 통해서 알 수 있듯이, 도 4의 단계는 도 6의 단계에 대응되고, 도 5의 단계는 도 7의 단계에 대응한다. 따라서, 상기 마스터 유닛 제어부(111)는 도 4 및 도 5의 단계를 반복적으로 실행하면서 상기 슬레이브 유닛 제어부(123)에게 순차적으로 고유 식별자를 할당한다. 그리고, N개의 슬레이브 유닛 제어부(123) 모두에게 고유 식별자를 할당하면, 식별자 할당 프로세스를 종료한다.As can be seen from Figs. 4 to 7, the step of Fig. 4 corresponds to the step of Fig. 6, and the step of Fig. 5 corresponds to the step of Fig. Accordingly, the master unit control unit 111 sequentially assigns a unique identifier to the slave unit control unit 123 while repeatedly executing the steps of FIG. 4 and FIG. If all of the N slave unit control units 123 are assigned a unique identifier, the identifier assigning process ends.

도 8은 본 발명의 다른 실시예에 따른 식별자 할당 시스템(200)의 구성을 개략적으로 도시한 블럭도이다.FIG. 8 is a block diagram schematically showing the configuration of an identifier allocation system 200 according to another embodiment of the present invention.

도 8을 참조하면, 본 발명의 다른 실시예에 따른 식별자 할당 시스템(200)은 마스터 유닛(210) 및 N개(N은 2이상의 자연수)의 슬레이브 유닛(220)을 포함한다.Referring to FIG. 8, an identifier allocation system 200 according to another embodiment of the present invention includes a master unit 210 and N (N is a natural number of 2 or more) slave units 220.

상기 슬레이브 유닛(220)은 통신 라인(223), 제1 스위치(221), 제2 스위치(222) 및 슬레이브 유닛 제어부(224)를 포함한다. 상기 슬레이브 유닛(220)이 도 1에 도시된 식별자 할당 시스템(100)에 포함된 슬레이브 유닛(220)과 차이점은 제2 스위치(222)를 더 포함하고 있다는 것이다.The slave unit 220 includes a communication line 223, a first switch 221, a second switch 222 and a slave unit control unit 224. The difference between the slave unit 220 and the slave unit 220 included in the identifier allocation system 100 shown in FIG. 1 is that the second switch 222 is further included.

상기 제1 스위치(221)와 제2 스위치(222)는 각각 상기 통신 라인(223)상에 위치하여 상기 통신망(230)에서 일 방향의 통신망 연결을 차단하거나 또는 타 방향의 통신망 연결을 차단할 수 있다. 따라서, 도 1에 도시된 식별자 할당 시스템(100)과 달리, 본 발명의 다른 실시예에 따른 식별자 할당 시스템(200)은 마스터 유닛(210)이 N개의 슬레이브 유닛(220)들 상단 또는 하단, 어느 쪽에도 연결이 가능하다.The first switch 221 and the second switch 222 may be located on the communication line 223 to block the connection of the communication network in one direction or the connection of the communication network in the other direction in the communication network 230 . 1, the identifier allocation system 200 according to another embodiment of the present invention may be configured such that the master unit 210 is located at the top or bottom of the N slave units 220, Can also be connected to.

상기 슬레이브 유닛(220)은 메모리부(225)를 더 포함할 수 있으며, 상기 마스터 유닛(210)은 마스터 유닛 제어부(211)를 더 포함할 수 있다. 상기 각 구성 요소들에 대한 설명은 도 1에 도시된 식별자 할당 시스템(100)의 설명과 중복되므로 반복적인 설명은 생략하도록 한다.The slave unit 220 may further include a memory unit 225 and the master unit 210 may further include a master unit control unit 211. [ The description of each of the above-described components is redundant with the description of the identifier allocation system 100 shown in FIG. 1, so that repetitive description will be omitted.

이하 도 9 내지 도 11을 참조하여, 본 발명의 다른 실시예에 따른 식별자 할당 방법을 설명하도록 한다.Hereinafter, an identifier allocation method according to another embodiment of the present invention will be described with reference to FIGS. 9 to 11. FIG.

도 9 내지 도 11은 본 발명의 다른 실시예에 따라, 마스터 유닛이 슬레이브 유닛에게 식별자를 할당하는 순서를 모시적으로 도시한 블럭도이다.9 to 11 are block diagrams schematically showing a sequence in which a master unit assigns an identifier to a slave unit according to another embodiment of the present invention.

상기 슬레이브 유닛 제어부(224)는 별도의 제어 신호가 없는 이상, 상기 제1 스위치(221) 및 제2 스위치(222)를 온(on) 상태로 제어한다. 따라서, 도 9를 참조하면, 상기 마스터 유닛(210)과 상기 N개의 슬레이브 유닛(220)은 상기 통신망(130)을 통해 연결된다.The slave unit control unit 224 controls the first switch 221 and the second switch 222 to be on unless there is no separate control signal. Referring to FIG. 9, the master unit 210 and the N slave units 220 are connected to each other through the communication network 130.

먼저, 상기 마스터 유닛 제어부(211)는 상기 통신망(230)을 통해 N개의 슬레이브 유닛 제어부(224)에게 임시 식별자를 할당한다. 이때, 상기 N개의 슬레이브 유닛 제어부(224)는 상기 통신망을 통해 모두 동일한 식별자를 할당 받고, 상기 메모리부(225)에 저장한다.First, the master unit control unit 211 allocates temporary identifiers to the N slave unit control units 224 through the communication network 230. [ At this time, the N slave unit control units 224 are all assigned the same identifier through the communication network and store them in the memory unit 225.

역시 이해의 편의를 위해, 상기 슬레이브 유닛(220)에 포함된 메모리부(225)에 현재 할당된 식별자를 도시하였다. 그리고, 일 예시로 상기 임시 식별자는 '00'으로 설정하겠다. 따라서, 도 9에 도시된 바와 같이, N개의 메모리부(225)에는 'ID=00'으로 도시되어 있다.The identifiers currently assigned to the memory unit 225 included in the slave unit 220 are shown for the sake of convenience. In one example, the temporary identifier is set to '00'. Therefore, as shown in FIG. 9, 'ID = 00' is shown in N memory units 225.

다음 도 10을 참조하면, 상기 마스터 유닛 제어부(211)는 상기 통신망(230)을 통해 N개의 슬레이브 유닛 제어부(123)에게 상기 제1 스위치(221) 또는 상기 제2 스위치(222) 주 어느 하나의 스위치가 오프(off)시키도록 신호를 출력한다. 이때, 오프(off)되도록 제어되는 스위치는 상기 통신망(230) 중 상기 마스터 유닛(210)이 연결된 반대 방향의 통신망을 차단할 수 있는 위치에 연결된 스위치이다. 도 10에 도시된 실시예에서는, 도 1 내지 도 7에 도시된 실시예와 반대로, 상기 마스터 유닛(210)이 도면의 상단에 연결되어 있으므로, 각 슬레이브 유닛(220)의 제2 스위치(222)가 오프(off)되도록 제어되는 스위치이다. 그래서, 상기 N개의 슬레이브 유닛 제어부(224)는 각 제2 스위치(222)가 오프(off)되도록 제어 신호를 출력한다. 이로 인해, 상기 마스터 유닛 제어부(211)와 가장 상단에 도시된 슬레이브 유닛 제어부(220-1)만 상기 통신망(230)을 통해 통신이 가능하게 된다.Referring to FIG. 10, the master unit control unit 211 informs the N slave unit control units 123 of any one of the first switch 221 and the second switch 222 through the communication network 230 And outputs a signal to turn off the switch. At this time, the switch controlled to be turned off is a switch connected to a position where the communication network of the opposite direction connected to the master unit 210 of the communication network 230 can be blocked. 10, since the master unit 210 is connected to the upper end of the drawing, the second switch 222 of each slave unit 220 is connected to the first switch 222, Is turned off. Thus, the N slave unit control unit 224 outputs a control signal such that each second switch 222 is turned off. Thus, only the master unit control unit 211 and the slave unit control unit 220-1 shown at the top can communicate through the communication network 230.

다음 도 11을 참조하면, 상기 마스터 유닛 제어부(211)는 상기 통신망(230)을 통해 임시 식별자를 가진 슬레이브 유닛 제어부(224)에게 고유 식별자를 할당한다.Referring to FIG. 11, the master unit control unit 211 assigns a unique identifier to the slave unit control unit 224 having a temporary identifier through the communication network 230.

상술하였듯이, 현재 상태에서 상기 마스터 유닛 제어부(111)와 가장 상단에 도시된 슬레이브 유닛 제어부(220-1)만 상기 통신망(230)을 통해 통신이 가능하다. 따라서, 상기 마스터 유닛 제어부(211)가 임시 식별자(ID=00)로 호출하면, 가장 상단에 도시된 슬레이브 유닛 제어부(220-1)만 응답한다. 따라서, 상기 마스터 유닛 제어부(211)이 고유 식별자(ID=01)를 할당하면, 상기 가장 상단에 도시된 슬레이브 유닛 제어부(220-1)만 고유 식별자(ID=01)를 할당 받는다.As described above, in the current state, only the master unit control unit 111 and the slave unit control unit 220-1 shown at the uppermost position can communicate through the communication network 230. Therefore, when the master unit control unit 211 calls with a temporary identifier (ID = 00), only the slave unit control unit 220-1 shown at the top is responded. Accordingly, when the master unit control unit 211 assigns a unique identifier (ID = 01), only the slave unit control unit 220-1 shown at the uppermost position is assigned a unique identifier (ID = 01).

그리고, 상기 마스터 유닛 제어부(211)는 상기 통신망(230)을 통해 고유 식별자를 할당한 받은 슬레이브 유닛 제어부(224)에게 상기 제2 스위치(222)를 온(on) 시키도록 제어 신호를 출력한다. 이때 고유 식별자는 바로 직전 단계에서 할당한 식별자로서 'ID=01'이 된다. 따라서, 가장 상단에 도시된 슬레이브 유닛 제어부(220-1)는 제2 스위치(222-2)가 온(on)되도록 제어 신호를 출력한다. 이로 인해, 상기 마스터 유닛 제어부(211)와 상단에서 두 번째 도시된 슬레이브 유닛 제어부(220-2)이 상기 통신망(230)을 통해 통신이 가능하게 된다.The master unit control unit 211 outputs a control signal to turn on the second switch 222 to the slave unit control unit 224 that has received the unique identifier through the communication network 230. At this time, the unique identifier is 'ID = 01' as the identifier allocated in the immediately preceding step. Therefore, the slave unit control unit 220-1 shown at the top outputs a control signal so that the second switch 222-2 is turned on. Thus, the master unit control unit 211 and the second slave unit control unit 220-2 shown at the top can communicate through the communication network 230.

이후 단계는, 도 2 내지 도 7을 통해 상술한 본 발명의 일 실시예에 따른 식별자 할당 방법과 유사하고, 제1 스위치(221) 대신 제2 스위치(222)를 제어하는 것만 차이를 가진다. 따라서, 반복적인 설명은 생략하도록 한다.The subsequent steps are similar to the identifier assigning method according to the embodiment of the present invention described above with reference to FIG. 2 to FIG. 7, except that the second switch 222 is controlled instead of the first switch 221. Therefore, repetitive description will be omitted.

본 발명에 따른 슬레이브 유닛(120, 220)은 다수의 이차전지 셀을 포함하는 배터리 모듈 또는 배터리 팩의 관리 장치일 수 있다.The slave units 120 and 220 according to the present invention may be a battery module including a plurality of secondary battery cells or a management device of the battery pack.

상기 배터리 모듈 또는 배터리 팩(도면 미도시)은 하나 이상의 이차전지 셀을 포함하는 것으로 이차전지 셀의 종류는 특별히 한정되지 않는다. 각각의 이차전지 셀은 재충전이 가능하고 충전 또는 방전 전압을 고려해야 하는 리튬 이온 전지, 리튬 폴리머 전지, 니켈 카드늄 전지, 니켈 수소 전지, 니켈 아연 전지 등으로 구성할 수 있다. 또한, 상기 배터리 모듈 또는 배터리 팩에 포함되는 이차전지 셀의 개수는 요구되는 출력 전압 또는 충방용량에 따라 다양하게 설정될 수 있다. 그러나, 본 발명이 이차전지 셀의 종류, 출력전압, 충전용량 등에 의해 한정되는 것은 아니다.The battery module or the battery pack (not shown) includes at least one secondary battery cell, and the type of the secondary battery cell is not particularly limited. Each secondary battery cell can be composed of a lithium ion battery, a lithium polymer battery, a nickel cadmium battery, a nickel metal hydride battery, a nickel zinc battery, or the like, which can be recharged and take charge or discharge voltage into consideration. In addition, the number of secondary battery cells included in the battery module or the battery pack may be variously set according to the required output voltage or charging capacity. However, the present invention is not limited by the kind of the secondary battery cell, the output voltage, the charging capacity, and the like.

상기 슬레이브 유닛(120, 220)은 배터리 모듈 또는 배터리 팩의 관리 장치로서 상기 배터리 모듈 또는 배터리 팩의 충방전 전류, 상기 배터리 모듈 또는 배터리 팩의 전압, 상기 배터리 모듈 또는 배터리 팩에 포함된 이차전지 셀의 전압 또는 전류를 포함한 전기적 특성값 측정, 충방전 제어, 전압의 평활화(equalization) 제어, SOC(State Of Charge)의 추정 등을 포함하여 당업자 수준에서 적용 가능한 다양한 제어 기능을 수행할 수 있다.The slave units 120 and 220 are devices for managing the battery modules or the battery packs. The slave units 120 and 220 are devices for managing the charge or discharge of the battery module or the battery pack, the voltages of the battery module or the battery pack, Such as the measurement of electrical characteristics including voltage or current, charge / discharge control, equalization control of voltage, estimation of state of charge (SOC), and the like.

나아가, 상기 슬레이브 유닛(120, 220)을 포함하는 본 발명에 따른 식별자 할당 시스템(100, 200) 역시 배터리 모듈 또는 배터리 팩의 관리 시스템에 포함될 수 있으며, 본 발명에 따른 식별자 할당 방법 역시 배터리 모듈 또는 배터리 팩의 관리 방법의 일부로서 실행될 수 있다.Furthermore, the identifier allocation system 100 or 200 according to the present invention including the slave units 120 and 220 may also be included in the management system of the battery module or the battery pack, And can be executed as part of the management method of the battery pack.

상기 마스터 유닛 제어부(111, 211) 및 슬레이브 유닛 제어부(123, 224)는 상술된 제어 로직을 실행하기 위해 본 발명이 속한 기술분야에 알려진 프로세서, ASIC(application-specific integrated circuit), 다른 칩셋, 논리 회로, 레지스터, 통신 모뎀, 데이터 처리 장치 등을 포함할 수 있다. 또한, 상술한 제어 로직이 소프트웨어로 구현될 때, 상기 마스터 유닛 제어부(111, 211) 및 슬레이브 유닛 제어부(123, 224)는 프로그램 모듈의 집합으로 구현될 수 있다. 이 때, 프로그램 모듈은 상기 메모리부(124, 225)에 저장되고, 프로세서에 의해 실행될 수 있다.The master unit control units 111 and 211 and the slave unit control units 123 and 224 may be implemented by a processor, an application-specific integrated circuit (ASIC), another chipset, Circuitry, registers, communication modems, data processing devices, and the like. Also, when the control logic is implemented in software, the master unit control units 111 and 211 and the slave unit control units 123 and 224 may be implemented as a set of program modules. At this time, the program modules are stored in the memory units 124 and 225 and can be executed by the processor.

본 발명에 따르면, 마스터-슬레이브 구조의 시스템에서, 마스터 유닛이 각각의 슬레이브 유닛에게 식별자를 쉽게 할당할 수 있다. 따라서, 슬레이브 유닛의 개수만큼 개별적인 하드웨어 또는 소프트웨어 구동 메커니즘이 필요하지 않다. 또한, 슬레이브 유닛의 개수에 상관없이 마스터 슬레이브 유닛이 슬레이브 유닛에 식별자를 할당할 수 있다. 실시예에 따라, 마스터 유닛이 연결된 위치에 관계없이 슬레이브 유닛에게 식별자를 할당할 수 있다.According to the present invention, in a master-slave structure system, the master unit can easily assign an identifier to each slave unit. Therefore, no separate hardware or software driving mechanism is required as many as the number of slave units. Further, the master slave unit can assign an identifier to the slave unit irrespective of the number of slave units. According to an embodiment, an identifier may be assigned to a slave unit regardless of the location where the master unit is connected.

한편, 본 발명을 설명함에 있어서, 도 1 내지 도 11에 도시된 본 발명에 따른 식별자 할당 시스템(100, 200)에 대한 각 구성은 물리적으로 구분되는 구성요소라기보다는 논리적으로 구분되는 구성요소로 이해되어야 한다.In the meantime, in describing the present invention, each of the configurations of the identifier allocation systems 100 and 200 according to the present invention shown in FIGS. 1 to 11 is not a physically separated component but a logically separated component .

즉, 각각의 구성은 본 발명의 기술사상을 실현하기 위하여 논리적인 구성요소에 해당하므로 각각의 구성요소가 통합 또는 분리되더라도 본 발명의 논리 구성이 수행하는 기능이 실현될 수 있다면 본 발명의 범위 내에 있다고 해석되어야 하며, 동일 또는 유사한 기능을 수행하는 구성요소라면 그 명칭 상의 일치성 여부와는 무관하게 본 발명의 범위 내에 있다고 해석되어야 함은 물론이다.That is, since each configuration corresponds to a logical component for realizing the technical idea of the present invention, even if each component is integrated or separated, if the functions performed by the logical configuration of the present invention can be realized, And it is to be understood that any component that performs the same or similar function should be construed as being within the scope of the present invention irrespective of the consistency of the name.

이상에서 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 이것에 의해 한정되지 않으며 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 본 발명의 기술사상과 아래에 기재될 특허청구범위의 균등범위 내에서 다양한 수정 및 변형이 가능함은 물론이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not to be limited to the details thereof and that various changes and modifications will be apparent to those skilled in the art. And various modifications and variations are possible within the scope of the appended claims.

100 : 식별자 할당 시스템
110 : 마스터 유닛
111 : 마스터 유닛 제어부
120 : 슬레이브 유닛
121 : 통신 라인
122 : 제1 스위치
123 : 슬레이브 유닛 제어부
124 : 메모리부
130 : 통신망
200 : 식별자 할당 시스템
210 : 마스터 유닛
211 : 마스터 유닛 제어부
220 : 슬레이브 유닛
221 : 제1 스위치
222 : 제2 스위치
223 : 통신 라인
224 : 슬레이브 유닛 제어부
225 : 메모리부
230 : 통신망
100: Identifier allocation system
110: Master unit
111: Master unit control section
120: Slave unit
121: Communication line
122: first switch
123: Slave unit control section
124:
130: communication network
200: Identifier assignment system
210: Master unit
211: Master unit control section
220: Slave unit
221: first switch
222: second switch
223: communication line
224: Slave unit control section
225:
230: Network

Claims (19)

삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 통신망을 통해 연결된 N(N은 2이상의 자연수)개의 슬레이브 유닛에게 식별자를 할당하는 방법에 있어서,
(a) 마스터 유닛 제어부가 상기 통신망을 통해 N개의 슬레이브 유닛 제어부에게 임시 식별자를 할당하는 단계;
(b) 마스터 유닛 제어부가 상기 통신망을 통해 상기 N개의 슬레이브 유닛 제어부에게 상기 통신망에서 어느 일 방향의 연결 상태를 차단할 수 있는 제1 스위치를 오프시키도록 제어 신호를 출력하는 단계;
(c) 마스터 유닛 제어부가 상기 통신망을 통해 임시 식별자를 호출하고 상기 N개의 슬레이브 유닛 제어부 중 상기 임시 식별자에 응답하는 슬레이브 유닛 제어부에게 고유 식별자를 할당하는 단계; 및
(d) 마스터 유닛 제어부가 상기 (c)단계에서 고유 식별자를 할당한 받은 슬레이브 유닛 제어부에게 상기 제1 스위치를 온 시키도록 제어 신호를 출력하는 단계;를 포함하는 것을 특징으로 하는 식별자 할당 방법.
A method for allocating an identifier to N (N is a natural number of 2 or more) slave units connected through a communication network,
(a) the master unit control unit assigns a temporary identifier to the N slave unit control units via the communication network;
(b) a master unit control unit outputting a control signal to the N slave unit control units via the communication network to turn off a first switch capable of interrupting a connection state in any one direction in the communication network;
(c) the master unit control unit calls the temporary identifier through the communication network and assigns a unique identifier to the slave unit control unit responding to the temporary identifier among the N slave unit control units; And
(d) outputting a control signal to the master unit control unit to turn on the first switch to the slave unit control unit to which the unique identifier is allocated in the step (c).
제7항에 있어서,
상기 제1 스위치는, 상기 통신망 중 상기 마스터 유닛이 연결된 반대 방향의 연결 상태를 차단할 수 있는 것을 특징으로 하는 식별자 할당 방법.
8. The method of claim 7,
Wherein the first switch is capable of blocking a connection state in the opposite direction to which the master unit is connected among the communication networks.
제7항에 있어서,
상기 임시 식별자는, 모두 동일한 것을 특징으로 하는 식별자 할당 방법.
8. The method of claim 7,
And the temporary identifiers are all the same.
제7항에 따른 식별자 할당 방법은,
다수의 이차전지 셀을 포함하는 배터리 모듈 또는 배터리 팩의 관리 장치에 대한 식별자 할당 방법인 것을 특징으로 하는 식별자 할당 방법.
The identifier assigning method according to claim 7,
Wherein the identifier allocation method is an identifier allocation method for a battery module including a plurality of secondary battery cells or a management device for a battery pack.
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 통신망을 통해 연결된 N(N은 2이상의 자연수)개의 슬레이브 유닛에게 식별자를 할당하는 방법에 있어서,
(a) 마스터 유닛 제어부가 상기 통신망을 통해 N개의 슬레이브 유닛 제어부에게 임시 식별자를 할당하는 단계;
(b) 상기 마스터 유닛 제어부가 상기 통신망에서 일 방향의 통신망 연결을 차단할 수 있는 제1 스위치 또는 상기 통신망에서 타 방향의 통신망 연결을 차단할 수 있는 제2 스위치 중에서 상기 마스터 유닛이 연결된 방향의 스위치는 온 시키고, 상기 마스터 유닛이 연결된 방향의 반대 방향의 스위치는 오프 시키도록 제어 신호를 출력하는 단계;
(c) 마스터 유닛 제어부가 상기 통신망을 통해 임시 식별자를 호출하고 상기 N개의 슬레이브 유닛 제어부 중 상기 임시 식별자에 응답하는 슬레이브 유닛 제어부에게 고유 식별자를 할당하는 단계; 및
(d) 마스터 유닛 제어부가 상기 (c)단계에서 고유 식별자를 할당한 받은 슬레이브 유닛 제어부에게 상기 마스터 유닛이 연결된 방향의 반대 방향의 스위치를 온 시키도록 제어 신호를 출력하는 단계;를 포함하는 것을 특징으로 하는 식별자 할당 방법.
A method for allocating an identifier to N (N is a natural number of 2 or more) slave units connected through a communication network,
(a) the master unit control unit assigns a temporary identifier to the N slave unit control units via the communication network;
(b) a switch in the direction in which the master unit is connected, among the first switch capable of interrupting the communication network connection in one direction in the communication network or the second switch capable of interrupting the communication network connection in the other direction in the communication network, And outputting a control signal to turn off the switch in the direction opposite to the direction in which the master unit is connected;
(c) the master unit control unit calls the temporary identifier through the communication network and assigns a unique identifier to the slave unit control unit responding to the temporary identifier among the N slave unit control units; And
and (d) outputting a control signal to the master unit control unit to turn on the switch in the direction opposite to the direction in which the master unit is connected to the slave unit control unit to which the unique identifier is assigned in the step (c) . ≪ / RTI >
제17항에 있어서,
상기 임시 식별자는, 모두 동일한 것을 특징으로 하는 식별자 할당 방법.
18. The method of claim 17,
And the temporary identifiers are all the same.
제17항에 따른 식별자 할당 방법은,
다수의 이차전지 셀을 포함하는 배터리 모듈 또는 배터리 팩의 관리 장치에 대한 식별자 할당 방법인 것을 특징으로 하는 식별자 할당 방법.
The method of assigning an identifier according to claim 17,
Wherein the identifier allocation method is an identifier allocation method for a battery module including a plurality of secondary battery cells or a management device for a battery pack.
KR1020130079654A 2013-07-08 2013-07-08 System and method for identifier allocation of multi-slave KR101516370B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020130079654A KR101516370B1 (en) 2013-07-08 2013-07-08 System and method for identifier allocation of multi-slave

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020130079654A KR101516370B1 (en) 2013-07-08 2013-07-08 System and method for identifier allocation of multi-slave

Publications (2)

Publication Number Publication Date
KR20150006196A KR20150006196A (en) 2015-01-16
KR101516370B1 true KR101516370B1 (en) 2015-05-04

Family

ID=52569659

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130079654A KR101516370B1 (en) 2013-07-08 2013-07-08 System and method for identifier allocation of multi-slave

Country Status (1)

Country Link
KR (1) KR101516370B1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102202614B1 (en) * 2017-09-19 2021-01-12 주식회사 엘지화학 Battery management system and a battery pack including the same
KR102202615B1 (en) 2017-09-25 2021-01-12 주식회사 엘지화학 Apparatus for assigning identification information to a plurality of slave battery management units
KR102255494B1 (en) * 2018-02-22 2021-05-24 주식회사 엘지에너지솔루션 Wireless battery control system, method and battery pack for assigning an ID to a plurality of slave management modules
KR102069577B1 (en) * 2018-03-16 2020-01-23 엘지전자 주식회사 Apparatus for setting communication adress of digital temperature sensor
GB2579233A (en) * 2018-11-27 2020-06-17 Edwards Ltd A method relating to controllers of a vacuum pumping and/or abatement system
KR102588265B1 (en) 2021-11-18 2023-10-12 (주)휴컨 Method for identifying unique identifiers of slave units in stacked energy storage device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010215163A (en) * 2009-03-18 2010-09-30 Sanden Corp On-vehicle equipment control system, and identifier setting method in the same system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010215163A (en) * 2009-03-18 2010-09-30 Sanden Corp On-vehicle equipment control system, and identifier setting method in the same system

Also Published As

Publication number Publication date
KR20150006196A (en) 2015-01-16

Similar Documents

Publication Publication Date Title
US11011917B2 (en) Wireless battery management apparatus and battery pack including same
KR101516370B1 (en) System and method for identifier allocation of multi-slave
EP3536541B1 (en) Wireless battery management system and battery pack including same
KR101632350B1 (en) System and method for communication identifier allowcation of multi-bms
KR101754948B1 (en) Method and System for Allocating Communication ID of Battery Management Module
KR101386080B1 (en) Method and system for identifier allowcation of multi-slave in battery pack
US9088052B2 (en) Battery multi-series system and communication method thereof
EP3517350A1 (en) Wireless battery management system and battery pack including same
KR102202614B1 (en) Battery management system and a battery pack including the same
JP2020501481A (en) Wireless battery management system and battery pack including the same
JP2020504422A (en) Master battery management unit and battery pack including the same
JP2020504421A (en) Battery management unit and battery pack including the same
KR20110013747A (en) Battery id setting system and driving method thereof
CN111373705B (en) System and method for communication between BMSs
KR20210100233A (en) Charging management system and method for batteries
EP3996237A1 (en) Battery control system, battery pack, electrical vehicle, and id setting method for battery control system
KR20200031931A (en) System and method for recognition of BMS
CN110226257B (en) Method and system for managing battery pack
EP3840102B1 (en) Bms recognition system and method
KR101749389B1 (en) Network system including a plurality of battery management systems in multi tree structure and management method thereof

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20180418

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20190401

Year of fee payment: 5