KR20160044832A - Sensor module for a vehicle and method for assigning sensor id using the system - Google Patents
Sensor module for a vehicle and method for assigning sensor id using the system Download PDFInfo
- Publication number
- KR20160044832A KR20160044832A KR1020140139803A KR20140139803A KR20160044832A KR 20160044832 A KR20160044832 A KR 20160044832A KR 1020140139803 A KR1020140139803 A KR 1020140139803A KR 20140139803 A KR20140139803 A KR 20140139803A KR 20160044832 A KR20160044832 A KR 20160044832A
- Authority
- KR
- South Korea
- Prior art keywords
- sensor
- transmission rate
- rate value
- lin
- slave node
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/30—Managing network names, e.g. use of aliases or nicknames
- H04L61/3015—Name registration, generation or assignment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40234—Local Interconnect Network LIN
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40267—Bus for use in transportation systems
- H04L2012/40273—Bus for use in transportation systems the transportation system being a vehicle
Abstract
Description
본 발명은 차량용 센서 시스템 및 이 시스템을 이용한 센서 ID 할당 방법에 관한 것으로서, 더욱 상세하게는 차량용 센서 시스템에 포함된 다수의 센서 모듈에 센서 ID를 부여하는 차량용 센서 시스템 및 이를 이용한 센서 ID 할당 방법에 관한 것이다.
The present invention relates to a vehicle sensor system and a sensor ID allocation method using the same, and more particularly, to a vehicle sensor system for assigning a sensor ID to a plurality of sensor modules included in a vehicle sensor system, .
일반적으로 주차 보조 시스템은 모듈 단위로 구성된 다수의 센서 모듈(10, 20, 30, 40)과 차체 제어 모듈(BCM: Body Controlling Module)(50)을 포함한다. In general, the parking assist system includes a plurality of
각 센서 유닛들(10, 20, 30, 40)은 각각 센서 ID가 부여되는데, 각 센서 유닛에 전원이 인가되면. 각 센서 유닛(10, 20, 30, 40)에 부여되는 센서 ID는 각자의 LID 핀 상에 나타나는 전위 레벨로 부여된다.Each of the
8개의 센서 모듈에 센서 ID를 부여하는 경우, 각 센서 모듈에는 3 개의 LID 핀이 설계된다. 각 핀을 LID 1, LID 2 및 LID 3 라 칭하면, 각 센서 모듈은 자신의 LID 1~3 핀 상에 나타나는 전위 상태(Open[N.C], Ground)에 따라 BCM(50)의 호출(마스터 동작 신호)을 인식한다.When assigning a sensor ID to eight sensor modules, three LID pins are designed for each sensor module. When each pin is called
BCM(50)이 LIN(Local Interconnect Network) 통신을 통해 해당 위치의 센서 모듈을 호출할 경우 해당 센서 모듈은 이에 응답한다. When the BCM 50 calls a sensor module at a corresponding location through LIN (Local Interconnect Network) communication, the corresponding sensor module responds thereto.
BCM(50)이 각 센서 모듈(10, 20, 30, 40)의 위치에 따라 RL, RR, RCL, RCR 순서로 호출할 경우, RL, RR, RCL, RCR 순서(동작 순서)로 동작하게 된다.The RL, RR, RCL, and RCR sequences (operation sequence) when the
아래의 표 1은 8개의 센서 모듈에 센서 ID를 부여하는 경우, 각 센서 유닛에 구비된 핀들의 종류를 나타낸다. 그리고 표 2는 센서 모듈의 위치 별로 정의되는 LID 1~3 핀의 상태를 나타내는 것이다.
Table 1 below shows the types of pins provided in each sensor unit when 8 sensor modules are assigned sensor IDs. Table 2 shows the states of
이와 같이, 8개의 센서 모듈에 센서 ID를 부여하는 것으로 가정하면, 종래의 각 센서 모듈은 전원 핀(Vbat), 그라운드 핀(GND) 및 LIN 핀(LIN)의 3개의 핀들 이외에 3개의 추가적인 LID 핀들(LID 1, LID 2, LID 3) 이 더 설계된다.Assuming that the sensor ID is assigned to the eight sensor modules, each sensor module of the related art includes three additional LID pins (not shown) in addition to the three pins of the power pin Vbat, the ground pin GND and the LIN pin LIN (
이러한 LID 핀들(LID 1, LID 2, LID 3)은 하이(high), 로우(low)의 전위 레벨을 인식하기 위하여, 상기 LID 핀들의 주변 회로에는 저항, 스위칭 다이오드와 같은 수동소자가 추가된다. 따라서, 각 센서 모듈의 커넥터 부분이 차지하는 면적이 커지고, 때문에 PCB 회로의 복잡성과 단가 상승을 초래한다.
Passive elements such as resistors and switching diodes are added to the peripheral circuits of the LID pins to recognize the high and low potential levels of the
따라서, 본 발명의 목적은 PCB 회로의 복잡성과 단가 상승을 줄일 수 있는 차량용 센서 시스템 및 이를 이용한 센서 ID 할당 방법을 제공하는 데 있다.
SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a vehicle sensor system and a sensor ID allocation method using the same that can reduce the complexity and cost increase of a PCB circuit.
상술한 목적을 달성하기 위한 본 발명의 일면에 따른 차량용 센서 시스템은, 마스터 노드와, 상기 마스터 노드로부터 LIN 데이터를 전송받는 다수의 슬레이브 노드를 포함하고, 상기 다수의 슬레이브 노드는 서로 종속적으로 연결되고, 각 슬레이브 노드는, 이전 단의 슬레이브 노드로부터 전달받은 상기 LIN 데이터의 전송 속도값을 측정하고, 측정된 전송 속도값(Baund Rate)을 자신의 센서 ID로 인식함을 특징으로 한다.According to an aspect of the present invention, there is provided a vehicle sensor system including a master node and a plurality of slave nodes receiving LIN data from the master node, the plurality of slave nodes being connected to each other Each slave node measures the transmission rate value of the LIN data received from the slave node of the previous stage and recognizes the measured transmission rate value as its own sensor ID.
본 발명의 다른 일면에 따른 차량용 센서 시스템은 마스터 노드와, 상기 마스터 노드로부터 LIN 데이터를 전송받는 다수의 슬레이브 노드를 포함하고, 각 슬레이브 노드는, 입력 LIN 포트와 출력 LIN 포트를 구비하고, 이전 단의 슬레이브 노드의 출력 LIN 포트로부터 전달된 상기 LIN 데이터를 상기 입력 LIN 포트를 통해 입력받고, 입력받은 상기 LIN 데이터의 전송 속도값(Baund Rate)을 측정하여 측정된 전송 속도값(Baund Rate)을 자신의 센서 ID로 인식함을 특징으로 한다.According to another aspect of the present invention, a vehicle sensor system includes a master node and a plurality of slave nodes receiving LIN data from the master node, Each slave node has an input LIN port and an output LIN port and receives the LIN data transmitted from the output LIN port of the slave node of the previous stage through the input LIN port and receives the transmission rate value (Baund Rate) is measured and the measured Baud Rate is recognized as its own sensor ID.
본 발명의 또 다른 일면에 따른 차량용 센서 시스템은, 현재 단의 슬레이브 노드에서, 이전 단의 슬레이브 노드를 통해 상기 마스터 노드로부터 전송된 LIN 데이터를 전달받는 단계와, 상기 현재 단의 슬레이브 노드에서, 전달받은 상기 LIN 데이터의 전송 속도값(Baund Rate)을 측정하는 단계 및 상기 현재 단의 슬레이브 노드에서, 측정된 상기 전송 속도값을 이용하여 센서 ID를 할당하는 단계를 포함한다.
A sensor system for a vehicle according to another aspect of the present invention includes: receiving LIN data transmitted from a master node through a slave node of a previous stage in a slave node of a current stage; Measuring a transmission rate value of the received LIN data, and allocating a sensor ID using the measured transmission rate value at the slave node of the current stage.
본 발명에 따르면, LIN 데이터의 전송 속도(Baud Rate)를 이용하여 각 센서 모듈의 센서 ID를 할당함으로써, 센서 ID의 할당에 있어, 각 센서 모듈이 센서 ID를 인식하기 위한 별도의 전용 포트(도 1의 LID 핀) 설계를 배제할 수 있다. 따라서, 상기 전용 포트와 관련된 각 센서 모듈의 커넥터 부분의 면적을 줄이고, PCB 회로의 복잡성과 단가를 줄일 수 있다.
According to the present invention, by assigning the sensor IDs of the respective sensor modules using the transmission rate (Baud Rate) of the LIN data, in the allocation of the sensor IDs, each sensor module has a
도 1은 종래의 주차 보조 시스템에서 차체 제어 모듈과 다수의 센서 모듈 간의 LIN 통신 연결 구조를 보여주는 블록도이다.
도 2는 본 발명의 일 실시 예에 따른 차량용 센서 시스템에 포함된 다수의 센서 모듈들 간의 연결 구조를 보여주는 블록도이다.
도 3은 도 2에 도시된 각 센서 모듈 내부 구성을 보여주는 블록도이다.
도 4는 본 발명의 일 실시 예에 따른 센서 ID 할당방법을 설명하기 위한 순서도이다.1 is a block diagram showing a LIN communication connection structure between a vehicle body control module and a plurality of sensor modules in a conventional parking assist system.
2 is a block diagram illustrating a connection structure between a plurality of sensor modules included in a vehicle sensor system according to an embodiment of the present invention.
3 is a block diagram showing the internal configuration of each sensor module shown in FIG.
4 is a flowchart illustrating a method of assigning a sensor ID according to an embodiment of the present invention.
본 발명에서는 LIN 데이터의 전송 속도(Baud Rate)를 이용하여 각 센서 모듈의 센서 ID를 할당하는 방법을 제공한다. 아래의 실시 예에서 상세 설명하겠지만, LIN 신호선을 통해, 서로 종속적으로 연결된 각 센서 모듈은 입력되는 입력 LIN 데이터의 데이터 송신 속도(Baud rate)를 측정하여 자신의 센서 ID를 인식한다.The present invention provides a method of allocating a sensor ID of each sensor module using a transmission rate (Baud Rate) of LIN data. As will be described in detail in the following embodiments, each sensor module connected to each other via the LIN signal line measures its own sensor ID by measuring the data transmission rate (Baud rate) of input LIN data to be input.
자신의 센서 ID를 인식한 센서 모듈은 이전 단에서 측정한 데이터 송신 속도(Baud Rate)를 증가시켜 다음 센서모듈로 전달한다. 그러면, 다음 센서 모듈은 이전 단에서 증가된 데이터 송신 속도를 자신의 센서 ID로 인식한다. The sensor module recognizing its sensor ID increases the data transmission rate (Baud Rate) measured in the previous stage and transmits it to the next sensor module. Then, the next sensor module recognizes the increased data transmission rate in the previous stage as its own sensor ID.
이러한 센서 ID 할당 방법에 따라, 본 발명에서는 각 센서 모듈이 자신의 센서 ID를 인식하기 위한 별도의 전용 포트(도 1의 LID 핀) 없이도, 센서 ID의 할당이 가능하게 된다.According to the sensor ID allocation method, in the present invention, sensor IDs can be assigned without requiring a separate dedicated port (LID pin in FIG. 1) for each sensor module to recognize its own sensor ID.
본 발명에 따르면, ID 인식을 위한 전용포트를 사용하지 않음으로써 커넥터, 케이블 등의 부품을 감소시킬 수 있다.According to the present invention, parts such as connectors and cables can be reduced by not using a dedicated port for ID recognition.
이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시 예에 대해 상세 기술한다. 상세 기술에 앞서, 아래의 실시 예는, 본 발명이 주차 보조 시스템(Parking Assistance system: PAS)에서 사용하는 센서 모듈에 한정되어 기술된다. 그러나, 이는 단지 본 발명의 실시 예에 설명하기 위함일 뿐, 본 발명의 센서 모듈이 PAS 시스템에서만 적용될 수 있음을 의미하는 것은 아니다. Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. Prior to the detailed description, the embodiments described below are limited to the sensor modules used in the Parking Assistance system (PAS). However, this is only for describing the embodiment of the present invention, but it does not mean that the sensor module of the present invention can be applied only to the PAS system.
따라서, 본 발명은 차량 내에서 센서 ID가 부여되는 센서 모듈을 구비한 모든 종류의 시스템에 적용될 수 있음은 아래의 설명을 통해 당업자라면 충분히 이해할 수 있을 것이다. Therefore, it will be understood by those skilled in the art that the present invention can be applied to all kinds of systems having a sensor module to which a sensor ID is assigned in a vehicle.
도 2는 본 발명의 일 실시 예에 따른 차량용 센서 시스템에 포함된 다수의 센서 모듈들 간의 연결 구조를 보여주는 블록도이다.2 is a block diagram illustrating a connection structure between a plurality of sensor modules included in a vehicle sensor system according to an embodiment of the present invention.
도 2를 참조하면, 본 발명의 일 실시 예에 따른 차량용 센서 시스템(100)은 LIN선을 통해 서로 직렬적(또는 종속적)으로 연결된 n+1개의 센서 모듈들(Module 0, Module 1, Module 2 ~ Module n)(여기서, n은 자연수)을 포함한다. 2, a
본 발명의 일 실시 예에 따른 각 센서 모듈(Module 0, Module 1, Module 2 ~ Module n)은 기존 Vsup, GND, LIN, LID1, LID2, LID3로 이루어진 6개의 PIN 방식에서 LID 1~3 핀이 제거된 Vsup, GND, LIN_IN, LIN_OUT로 이루어진 4개의 PIN 방식으로 그 핀 수가 감소된다.Each of the sensor modules (
각 센서 모듈(Module 0, Module 1, Module 2 ~ Module n)은 2개의 LIN 포트들(LIN_IN, LIN_OUT), 전원 포트(V) 및 그라운드 포트(G)를 포함한다. 여기서, 본 발명의 일 실시 예에 따른 각 센서 모듈(Module 0, Module 1, Module 2 ~ Module n)은 종래와는 달리 LID 핀이 설계되지 않음을 주목해야 한다.Each of the sensor modules (
2개의 LIN 포트들(LIN_IN, LIN_OUT)은 입력 LIN 포트(LIN_IN)와 출력 LIN 포트(LIN_OUT)로 구성된다.The two LIN ports (LIN_IN, LIN_OUT) consist of an input LIN port (LIN_IN) and an output LIN port (LIN_OUT).
첫 번째 스테이지의 센서 모듈(Module 0)의 입력 LIN 포트(LIN_IN 0)는 도시되지 않은 BCM과 LIN 신호선으로 통신 연결되고, 출력 LIN 포트(LIN_OUT 0)는 두 번째 스테이지의 센서 모듈(Module 1)의 입력 LIN 포트(LIN_IN 1)와 전기적으로 연결된다. The input LIN port (LIN_IN 0) of the sensor module (Module 0) of the first stage is communicatively coupled to the LIN signal line with the BCM (not shown), and the output LIN port (LIN_OUT 0) And is electrically connected to the input LIN port (LIN_IN 1).
두 번째 스테이지의 센서 모듈(Module 1)의 출력 LIN 포트(LIN_OUT 1)는 세 번째 스테이지의 센서 모듈(Module 1)의 입력 LIN 포트(LIN_IN 2)와 연결된다. 유사하게, 나머지 센서 모듈 간의 연결이 구성된다.The output LIN port (LIN_OUT 1) of the sensor module (Module 1) of the second stage is connected to the input LIN port (LIN_IN 2) of the sensor module (Module 1) of the third stage. Similarly, a connection between the remaining sensor modules is configured.
한편, 각 센서 모듈(Module 0, Module 1, Module 2 ~ Module n)의 전원 포트(V)는 전원과 공통 연결되고, 그라운드 포트(G)는 그라운드와 공통 연결된다.The power port V of each of the sensor modules (
도 3은 도 2에 도시된 각 센서 모듈 내부 구성을 보여주는 블록도이다.3 is a block diagram showing the internal configuration of each sensor module shown in FIG.
도 3을 참조하면, 각 센서 모듈은 제1 먹스(MUX)(110), 속도값 측정부(112, Baud Rate Measurement uint), 속도값 증가부(114, Baud Rate Increase uint), 제2 먹스(116), LIN 송수신기(118: LIN Transceiver) 및 제어기(120: MCU)를 포함한다.Referring to FIG. 3, each sensor module includes a
제1 먹스(110)는 ID 할당을 위한 LIN 통신 모드에서는 입력 LIN 포트(LIN_IN)를 통해 입력되는 입력 LIN 데이터를 상기 속도 측정부(112)로 전달하도록 1번 포트를 선택적으로 활성화하고, 노말 LIN 통신 모드에서는 입력 LIN 데이터를 통해 상기 LIN 송수신기(118)로 전달하도록 0번 포트를 선택적으로 활성화한다. 여기서, 노말 LIN 통신 모드는 ID 할당을 위한 LIN 통신 모드가 종료된 이후에 수행되는 BCM과 센서 모듈간의 일반적인 LIN 통신 모드로 정의할 수 있다.In the LIN communication mode for ID assignment, the
속도 측정부(112)는 LIN선을 통해 현재 입력되는 입력 LIN 데이터(첫 번째 단의 센서 모듈의 경우)의 데이터 송신 속도값(또는 데이터 수신 속도값) 또는 이전 단의 센서 모듈로부터 입력되는 입력 LIN 데이터의 데이터 송신 속도값(또는 데이터 수신 속도값)을 측정한다. 측정된 데이터 송신 속도값은 제어기(120)로 전달되고, 동시에 속도값 증가부(114)로 전달한다.The
상기 제어기(120)는 전달받은 데이터 송신 속도값을 기초로 센서 ID를 할당하고, 상기 속도값 증가부(114)는 전달받은 데이터 송신 속도값을 증가시키고, 증가된 데이터 송신 속도값을 제2 먹스(116)로 전달한다. The
상기 제2 먹스(116)는 1번 포트와 0번 포트를 선택적으로 활성화하며, 1번 포트가 활성화된 경우, 활성화된 1번 포트를 통해 상기 속도값 증가부(114)로부터의 증가된 데이터 송신 속도값을 전달받아서, 다음 단 센서 모듈의 입력 포트(LIN_IN)로 전달한다.The second MUX 116 selectively activates the first port and the 0th port. When the first port is activated, the second MUX 116 transmits the increased data transmission from the speed
이하, 표 3을 참조하여 본 발명의 일 실시 예에 따른 데이터 송신 속도값의 측정과 증가를 통한 ID 할당 방법을 설명한다.
Hereinafter, a method of allocating IDs by measuring and increasing the data transmission rate value according to an embodiment of the present invention will be described with reference to Table 3. [
(Assigned ID)Assigned ID
(Assigned ID)
(Increased Baud Rate)Increased data rate value
(Increased Baud Rate)
ID 할당 개수는 제어기(120)의 Main Clock Frequency에 따른 Baud Rate 설정 범위에 따라 더 늘어나거나 개수가 제한될 수 있다. 예를 들어, 첫 번째 단의 센서모듈(Module 0)이 수신한 입력 LIN 데이터의 속도값(Baud Rate)이 2400이었다면, 표 1과 같은 테이블을 참조하여 센서 모듈 0는 자기 ID를 0번으로 할당하고, 입력 LIN 데이터의 속도값(Baud Rate)를 4800으로 변경하여 두 번째 단의 센서 모듈(Module 0)에 입력 LIN Data를 전달하게 된다. 즉, 각 센서 모듈의 센서 ID는 측정된 Baud Rate 속도에 따라 표 1과 같은 테이블로 사전에 정의된다.The number of ID assignments may be further increased or limited depending on the baud rate setting range according to the Main Clock Frequency of the
도 4는 본 발명의 일 실시 예에 따른 센서 ID 할당방법을 설명하기 위한 순서도이다. 설명의 이해를 돕기 위해, 도 4에서는 센서 ID 할당방법과 관련해 마스터 노드(Master Node)인 차체 제어 모듈(BCM)에서 수행되는 과정과 슬레이브 노드(Slave Node)에서 수행되는 각 센서 모듈에서 수행되는 과정이 함께 도시된다.4 is a flowchart illustrating a method of assigning a sensor ID according to an embodiment of the present invention. In order to facilitate the understanding of the description, FIG. 4 shows a process performed in the vehicle body control module (BCM) as a master node and a process performed in each sensor module performed in the slave node Are shown together.
도 4를 참조하면, 슬레이브 노드에 해당하는 모든 센서 모듈(Module 0, 1, 2 ~ Module n))이 전원(Vsup)을 인가 받아서 동작을 시작하면, 먼저, 각 센서 모듈 내에 구비된 제1 먹스(110)의 1번 포트가 선택(활성화)하여 센서 ID 인식을 준비한다(S412). 준비가 완료되면, 마스터 노드인 차체 제어 모듈은 ID 할당을 위한 입력 LIN 데이터를 약속된 전송 속도값(Baund Rate)으로 전송을 시작한다(S414). Referring to FIG. 4, when all the sensor modules (
이어, 첫 번째 단의 센서 모듈(Module 0)에서 상기 전송된 입력 LIN 데이터의 전송 속도값(Baund Rate)을 측정하고(S416), 상기 표 1과 같은 테이블을 참조하여 측정된 전송 속도에 맵핑되는 센서 ID를 자신의 센서 ID로 할당한다(S418). 동시에 측정된 전송 속도값을 사전에 정의된 비율로 증가시킨다(S420).Then, the transmission speed value (Baund Rate) of the transmitted input LIN data is measured in the first-stage sensor module (Module 0) (S416), and the measured transmission rate is mapped to the measured transmission rate And assigns the sensor ID to its own sensor ID (S418). At the same time, the measured transmission rate value is increased at a predefined rate (S420).
이후, 첫 번째 단의 센서 모듈(Module 0)은 증가시킨 전송 속도값을 다음 단의 센서 모듈(Module 1)로 전송하고(S422), 노멀 모드의 LIN 통신을 준비하기 위해, 제1 및 제2 먹스(110, 116)의 포트를 0번 포트로 변경한다(S424).Then, the first sensor module (Module 0) transmits the increased transmission rate value to the next sensor module (Module 1) (S422). In order to prepare the normal mode LIN communication, the first and second The port of the
센서 ID 할당이 완료된 센서 모듈은 ID 할당이 완료되었음을 나타내는 센서 응답을 마스터 노드인 차체 제어 모듈로 전달하고, 차체 제어 모듈은 모든 센서 모듈로부터 센서 응답이 수신되었는지 확인한다(S426).In step S426, the sensor module having received the sensor ID assignment transmits a sensor response indicating that the ID assignment is completed to the vehicle body control module, which is the master node, and the vehicle body control module checks whether sensor responses are received from all the sensor modules.
모든 센서 모듈로부터 센서 응답의 수신을 확인하면(S428), ID 할당 완료 메시지를 모든 센서 모듈에 송신하고(S430), 각 센서 모듈과 차체 제어 모듈 간의 노말 모드의 LIN 통신을 시작하게 된다(S434).When receiving the sensor response from all the sensor modules (S428), the ID allocation completion message is transmitted to all the sensor modules (S430), and the normal mode LIN communication is started between the sensor modules and the vehicle body control module (S434) .
만일 센서 응답이 수신된 않은 센서 모듈이 확인되면(S428), 다시 처음으로 돌아가 ID 할당이 재 시작한다.If the sensor module to which the sensor response is not received is confirmed (S428), the ID allocation is restarted again.
ID 할당에 실패한 센서 모듈은 일정 시간(t) 동안 ID 할당 완료 메시지의 수신 여부를 확인하고(S432), ID 할당 완료 메시지의 수신을 확인하면 해당 센서 모듈은 감지 동작을 위한 일반 LIN 통신을 시작하고(S434), 수신되지 않으면, 상기 일정 시간(t) 이후 자동으로 시작으로 돌아가 ID 할당을 다시 시도한다.The sensor module which failed ID assignment confirms whether or not the ID assignment completion message is received for a predetermined time t (S432). If the sensor module confirms reception of the ID assignment completion message, the sensor module starts the general LIN communication for sensing operation (S434). If it is not received, the system automatically returns to the start after the predetermined time (t) and attempts ID allocation again.
이상 설명한 바와 같이, 본 발명에서는 LIN 데이터 전송 속도(Baud Rate) 변경을 통한 각 센서 모듈의 센서 ID를 인식함으로써, 센서 ID 인식을 위한 전용 포트(LID 핀) 없이도 센서모듈의 ID 할당이 가능하게 할 수 있다. 본 발명을 통해서 ID 인식을 위한 전용포트를 사용하지 않음으로써 커넥터, 케이블 등의 부품을 감소시킬 수 있다.As described above, according to the present invention, by recognizing the sensor ID of each sensor module through the change of the LIN data transmission rate (Baud Rate), it is possible to assign the ID of the sensor module without a dedicated port (LID pin) . By not using a dedicated port for ID recognition through the present invention, parts such as a connector and a cable can be reduced.
이상에서와 같이 본 발명에 따른 차량용 헤드 유닛 및 상기 차량용 헤드 유닛에서의 화면 설정 방법은 상기한 바와 같이 설명된 실시 예들의 구성과 방법이 한정되게 적용될 수 있는 것이 아니라, 실시 예들은 다양한 변형이 이루어질 수 있도록 각 실시 예들의 전부 또는 일부가 선택적으로 조합되어 구성될 수도 있다.As described above, the configuration of the vehicle head unit according to the present invention and the method of setting a screen in the head unit for a vehicle according to the present invention are not limited to the configuration and method of the embodiments described above, All or some of the embodiments may be selectively combined.
Claims (10)
상기 다수의 슬레이브 노드는 서로 종속적으로 연결되고,
각 슬레이브 노드는,
이전 단의 슬레이브 노드로부터 전달받은 상기 LIN 데이터의 전송 속도값을 측정하고, 측정된 전송 속도값(Baund Rate)을 자신의 센서 ID로 인식함을 특징으로 하는 차량용 센서 시스템.
1. A vehicle sensor system including a master node and a plurality of slave nodes receiving LIN data from the master node,
Wherein the plurality of slave nodes are connected to each other,
Each slave node,
And measures the transmission rate value of the LIN data received from the slave node of the previous stage and recognizes the measured transmission rate value as its own sensor ID.
상기 측정된 전송 속도값을 사전에 정의된 비율로 증가시켜 다음 단의 슬레이브 노드로 전달하고,
상기 다음 단의 슬레이브 노드는,
상기 증가된 전송 속도값을 자신의 센서 ID로 인식함을 특징으로 하는 차량용 센서 시스템.
2. The method of claim 1, wherein each of the slave nodes comprises:
Increases the measured transmission rate value at a predefined rate, and transmits the incremented transmission rate value to the next slave node,
The slave node of the next stage,
And recognizes the increased transmission rate value as its own sensor ID.
테이블을 참조하여, 자신의 센서 ID를 인식하고,
상기 테이블은,
상기 증가된 전송 속도값과, 상기 증가된 전송 속도값에 맵핑되는 센서 ID를 저장함을 특징으로 하는 차량용 센서 시스템.
3. The method according to claim 2,
Refers to the table, recognizes its own sensor ID,
The table includes:
And stores the increased transmission rate value and a sensor ID mapped to the increased transmission rate value.
각 슬레이브 노드는,
입력 LIN 포트와 출력 LIN 포트를 구비하고,
이전 단의 슬레이브 노드의 출력 LIN 포트로부터 전달된 상기 LIN 데이터를 상기 입력 LIN 포트를 통해 입력받고, 입력받은 상기 LIN 데이터의 전송 속도값(Baund Rate)을 측정하여 측정된 전송 속도값(Baund Rate)을 자신의 센서 ID로 인식함을 특징으로 하는 차량용 센서 시스템.
1. A vehicle sensor system including a master node and a plurality of slave nodes receiving LIN data from the master node,
Each slave node,
An input LIN port and an output LIN port,
The LIN data transmitted from the output LIN port of the slave node of the previous stage is input through the input LIN port and the measured transmission rate value (Baund Rate) of the received LIN data is measured, Is recognized as its own sensor ID.
상기 측정된 전송 속도값을 일정비율로 증가시키고, 증가된 전송 속도값을 상기 출력 LIN 포트를 통해 다음 단의 슬레이브 노드의 입력 LIN 포트로 전달하고,
상기 다음 단의 슬레이브 노드는,
상기 증가된 전송 속도값을 자신의 센서 ID로 인식함을 특징으로 하는 차량용 센서 시스템.
5. The method of claim 4, wherein each of the slave nodes comprises:
Increases the measured transmission rate value by a predetermined ratio, passes the increased transmission rate value through the output LIN port to the input LIN port of the next-stage slave node,
The slave node of the next stage,
And recognizes the increased transmission rate value as its own sensor ID.
상기 입력 LIN 포트를 통해 상기 LIN 데이터를 전달받고, 전달된 상기 LIN 데이터의 전송 속도값을 측정하는 속도값 측정부(Baud Rate Measurement uint);
측정된 상기 전송 속도값을 이용하여 상기 센서 ID를 인식하는 제어기; 및
측정된 상기 전송 속도값을 사전에 정의된 비율로 증가시키고, 증가된 상기 전송 속도값을 상기 출력 LIN 포트를 통해 다음 단의 슬레이브 노드의 입력 LIN로 전달하는 속도값 증가부(Baud Rate Increase uint)
를 포함함을 특징으로 하는 차량용 센서 시스템.
5. The method of claim 4, wherein each of the slave nodes comprises:
A Baud Rate Measurement Unit for receiving the LIN data through the input LIN port and measuring a transmission rate value of the transferred LIN data;
A controller for recognizing the sensor ID using the measured transmission rate value; And
A Baud Rate Increase unit for increasing the measured transmission rate value at a predefined rate and transmitting the increased transmission rate value to the input LIN of the next slave node through the output LIN port,
And a sensor for detecting the vehicle.
테이블을 참조하여, 센서 ID를 인식하고,
상기 테이블은,
상기 전송 속도값과 상기 증가된 전송 속도값에 각각 맵핑되는 다수의 센서 ID를 저장함을 특징으로 하는 차량용 센서 시스템.
7. The apparatus of claim 6,
By referring to the table, the sensor ID is recognized,
The table includes:
And stores a plurality of sensor IDs respectively mapped to the transmission rate value and the increased transmission rate value.
현재 단의 슬레이브 노드에서, 이전 단의 슬레이브 노드를 통해 상기 마스터 노드로부터 전송된 LIN 데이터를 전달받는 단계;
상기 현재 단의 슬레이브 노드에서, 전달받은 상기 LIN 데이터의 전송 속도값(Baund Rate)을 측정하는 단계; 및
상기 현재 단의 슬레이브 노드에서, 측정된 상기 전송 속도값을 이용하여 센서 ID를 할당하는 단계;
를 포함함을 특징으로 하는 차량용 센서 시스템을 이용한 센서 ID 할당 방법.
A method for assigning a sensor ID to each slave node in a sensor system for a vehicle including a master node and a plurality of slave nodes receiving LIN data transmitted from the master node,
Receiving LIN data transmitted from the master node through a slave node of a previous stage in a slave node of the current stage;
Measuring a transmission rate value (Baund Rate) of the received LIN data at a slave node of the current stage; And
Allocating a sensor ID using the measured transmission rate value at a slave node of the current stage;
Wherein the sensor ID is assigned to the sensor node.
증가된 상기 전송 속도값을 다음 단의 슬레이브 노드로 전달하는 단계; 및
상기 다음 단의 슬레이브 노드에서, 증가된 상기 전송 속도값을 이용하여 센서 ID를 할당하는 단계
를 더 포함함을 특징으로 하는 차량용 센서 시스템을 이용한 센서 ID 할당 방법.
9. The method of claim 8, further comprising: increasing the measured transmission rate value at a predefined rate;
Transferring the increased transmission rate value to a next slave node; And
In the next slave node, allocating a sensor ID using the increased transmission rate value
Further comprising the steps of: (a) receiving the sensor ID from the vehicle sensor system;
상기 현재 단의 슬레이브 노드에서, 측정된 상기 전송 속도값을 이용하여 센서 ID를 할당하는 단계는,
상기 테이블을 참조하여, 상기 전송 속도값에 맵핑되는 상기 센서 ID를 할당하는 단계이고,
상기 다음 단의 슬레이브 노드에서, 증가된 상기 전송 속도값을 이용하여 센서 ID를 할당하는 단계는,
상기 테이블을 참조하여, 증가된 상기 전송 속도값에 맵핑되는 상기 센서 ID를 할당하는 단계임을 특징으로 하는 차량용 센서 시스템을 이용한 센서 ID 할당 방법.The method as claimed in claim 9, further comprising, in each slave node, constructing a table storing a sensor ID mapped to the transmission rate value and the increased transmission rate value,
In the slave node of the current stage, the step of allocating the sensor ID using the measured transmission rate value may include:
Allocating the sensor ID mapped to the transmission rate value with reference to the table,
In the next slave node, allocating the sensor ID using the increased transmission rate value may include:
And allocating the sensor ID mapped to the increased transmission rate value with reference to the table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140139803A KR102239008B1 (en) | 2014-10-16 | 2014-10-16 | Sensor module for a vehicle and method for assigning sensor id using the system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140139803A KR102239008B1 (en) | 2014-10-16 | 2014-10-16 | Sensor module for a vehicle and method for assigning sensor id using the system |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20160044832A true KR20160044832A (en) | 2016-04-26 |
KR102239008B1 KR102239008B1 (en) | 2021-04-13 |
Family
ID=55919180
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020140139803A KR102239008B1 (en) | 2014-10-16 | 2014-10-16 | Sensor module for a vehicle and method for assigning sensor id using the system |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102239008B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020161282A1 (en) * | 2019-02-08 | 2020-08-13 | Elmos Semiconductor Aktiengesellschaft | Circuit for the connection of a transducer |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20120018647A (en) * | 2010-08-23 | 2012-03-05 | 현대모비스 주식회사 | Parking assistant system and method for allocating id of sensor in the system |
-
2014
- 2014-10-16 KR KR1020140139803A patent/KR102239008B1/en active IP Right Grant
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20120018647A (en) * | 2010-08-23 | 2012-03-05 | 현대모비스 주식회사 | Parking assistant system and method for allocating id of sensor in the system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020161282A1 (en) * | 2019-02-08 | 2020-08-13 | Elmos Semiconductor Aktiengesellschaft | Circuit for the connection of a transducer |
Also Published As
Publication number | Publication date |
---|---|
KR102239008B1 (en) | 2021-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10749706B2 (en) | Local interconnect network bus architecture | |
US7522626B2 (en) | Communications system and method | |
US8832344B2 (en) | Baseboard, extension module, and structure for connecting baseboard and extension module | |
US20140176790A1 (en) | Power supplying method and apparatus | |
JP5863085B2 (en) | Method and apparatus for dynamic address assignment | |
EP3945429A1 (en) | Systems, devices and methods for automatically addressing serially connected slave devices | |
CN104881382A (en) | Master and slave equipment connection device and address recognition method thereof | |
EP2899640B1 (en) | Servo drive device | |
CN105871672A (en) | One-host multi-slave communication system and data transmission method thereof | |
EP3065347B1 (en) | Static data bus address allocation | |
CN102724093A (en) | Advanced telecommunications computing architecture (ATCA) machine frame and intelligent platform management bus (IPMB) connection method thereof | |
KR101850175B1 (en) | Expansion Module for Programmable Logic Controller using USB Communication | |
CN106155954A (en) | The system and method that a kind of module identification and COM1 distribute automatically | |
CN106713094B (en) | 1394 data acquisition module | |
KR102227841B1 (en) | Sensor module for a vehicle and method for assigning sensor id using the system | |
US20150161075A1 (en) | I2c router system | |
KR102239008B1 (en) | Sensor module for a vehicle and method for assigning sensor id using the system | |
CN106338938B (en) | A kind of backplane bus communication addressing system and method | |
KR20210116359A (en) | Smart lighting device with BLE mesh group setting and lighting control method using the same | |
CN110995889A (en) | Address allocation system and method | |
CN110602623B (en) | Device and method for testing acoustic performance based on multi-channel microphone | |
CN108141480B (en) | Method and apparatus for addressing in a system of interconnected cells | |
CN205068372U (en) | Principal and subordinate's equipment connecting device | |
CN114785940B (en) | Image acquisition equipment and synchronous acquisition control method | |
WO2016138852A1 (en) | Communication method and apparatus for optical module and system board and optical module |
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 |