KR102676505B1 - Diagnostic information transmitting apparatus and method for detecting pinmap of OBD connector - Google Patents

Diagnostic information transmitting apparatus and method for detecting pinmap of OBD connector Download PDF

Info

Publication number
KR102676505B1
KR102676505B1 KR1020220064275A KR20220064275A KR102676505B1 KR 102676505 B1 KR102676505 B1 KR 102676505B1 KR 1020220064275 A KR1020220064275 A KR 1020220064275A KR 20220064275 A KR20220064275 A KR 20220064275A KR 102676505 B1 KR102676505 B1 KR 102676505B1
Authority
KR
South Korea
Prior art keywords
pin
communication
diagnostic information
obd connector
communication module
Prior art date
Application number
KR1020220064275A
Other languages
Korean (ko)
Other versions
KR20230103877A (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 주식회사 유라코퍼레이션
Publication of KR20230103877A publication Critical patent/KR20230103877A/en
Application granted granted Critical
Publication of KR102676505B1 publication Critical patent/KR102676505B1/en

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0816Indicating performance data, e.g. occurrence of a malfunction
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/12Measuring rate of change
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
    • G01R31/66Testing of connections, e.g. of plugs or non-disconnectable joints
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/008Registering or indicating the working of vehicles communicating information to a remotely located station
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0808Diagnosing performance data

Abstract

본 발명은 OBD 커넥터의 핀맵 검출 기능을 갖는 진단정보 송신장치 및 그 방법에 관한 것이다.
또한, 본 발명은 차량에 마련된 OBD(On Board Diagnostics) 커넥터로부터 진단정보를 수신하여 사용자 단말에 제공하는 진단정보 송신장치로서, 복수의 통신 모듈을 구비하는 통신 회로부와, OBD 커넥터의 각 핀에서 입력되는 신호를 검사하여 핀맵을 검출하고 검출된 핀맵을 기초로 OBD 커넥터의 각 핀에 상응하는 통신 모듈을 연결하며 연결된 통신 모듈을 통해 진단정보를 수신하여 사용자 단말에 송신하는 제어부를 구비함으로써, 별도의 핀맵 정보를 구비할 필요없이 차량과 통신을 하여 차량의 진단, 시스템 모니터링 등을 할 수 있다.
The present invention relates to a diagnostic information transmission device and method having a pin map detection function of an OBD connector.
In addition, the present invention is a diagnostic information transmission device that receives diagnostic information from an OBD (On Board Diagnostics) connector provided in a vehicle and provides it to a user terminal. By inspecting the signal and detecting the pin map, connecting the communication module corresponding to each pin of the OBD connector based on the detected pin map, and providing a control unit that receives diagnostic information through the connected communication module and transmits it to the user terminal, a separate It is possible to communicate with the vehicle and perform vehicle diagnosis and system monitoring without the need for pin map information.

Figure 112022055458331-pat00001
Figure 112022055458331-pat00001

Description

OBD 커넥터의 핀맵 검출 기능을 갖는 진단정보 송신장치 및 그 방법{Diagnostic information transmitting apparatus and method for detecting pinmap of OBD connector}Diagnostic information transmitting apparatus and method for detecting pinmap of OBD connector {Diagnostic information transmitting apparatus and method for detecting pinmap of OBD connector}

본 발명은 OBD 커넥터의 핀맵 검출 기능을 갖는 진단정보 송신장치 및 그 방법에 관한 것이다.The present invention relates to a diagnostic information transmission device and method having a pin map detection function of an OBD connector.

일반적으로, 자동차에는 차량의 진단 통신을 위한 외부 커넥터로서 OBD(On Board Diagnostics) 커넥터가 구비되며, 이와 같은 OBD 커넥터를 통해 차량과 통신을 하여 차량의 진단, 시스템 모니터링 등을 할 수 있다.Generally, automobiles are equipped with an OBD (On Board Diagnostics) connector as an external connector for diagnostic communication of the vehicle, and the vehicle can be diagnosed, system monitored, etc. by communicating with the vehicle through this OBD connector.

이러한, OBD 커넥터는 자동차 제조사마다 서로 다른 형상으로 제작되어 사용되다가, 최근에 표준으로 정해진 규격에 따라 16개의 핀(PIN)을 구비하는 동일한 형상으로 제작되고 있다.These OBD connectors are manufactured and used in different shapes for each automobile manufacturer, but have recently been manufactured in the same shape with 16 pins (PIN) according to standards established.

그러나, 모든 자동차 제조사에서 동일한 형상의 OBD 커넥터를 사용하고 있기는 하나, 외형만 동일한 것에 불과하며, OBD 커넥터에 구비되는 통신 핀, 전원 핀 및 출력 핀 등의 위치나 순서가 상이한 문제점이 있다.However, although all automobile manufacturers use OBD connectors of the same shape, only the external appearance is the same, and there is a problem in that the positions and orders of communication pins, power pins, and output pins provided in the OBD connector are different.

이로 인해, 자동차 제조사 혹은 차량별로 제공되는 OBD 커넥터의 핀맵 정보가 있어야 통신 핀, 전원 핀, 출력 핀의 순서나 위치를 정확하게 파악할 수 있으며, OBD 커넥터의 핀맵 정보를 소지하지 못한 경우에는 OBD 커넥터의 이용이 곤란하여 차량의 진단, 시스템 모니터링을 하는 작업에 차질이 발생하는 문제점이 있다.For this reason, you must have the pin map information of the OBD connector provided by the automobile manufacturer or vehicle to accurately determine the order or location of the communication pins, power pins, and output pins. If you do not have the pin map information of the OBD connector, use the OBD connector. This difficulty causes problems in vehicle diagnosis and system monitoring.

본 발명은 상기와 같은 문제점을 감안하여 안출된 것으로, 차량에 장착된 OBD 커넥터의 핀맵을 자동으로 검출할 수 있는 OBD 커넥터의 핀맵 검출 기능을 갖는 진단정보 송신장치 및 그 방법을 제공하는데 그 목적이 있다.The present invention was conceived in consideration of the above problems, and its purpose is to provide a diagnostic information transmission device and method having a pin map detection function of the OBD connector that can automatically detect the pin map of the OBD connector mounted on a vehicle. there is.

본 발명의 목적들은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 또 다른 목적들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The objects of the present invention are not limited to the objects mentioned above, and other objects not mentioned will be clearly understood by those skilled in the art from the description below.

상기와 같은 목적을 달성하기 위한 본 발명은 차량에 마련된 OBD(On Board Diagnostics) 커넥터로부터 진단정보를 수신하여 사용자 단말에 제공하는 진단정보 송신장치로서, 복수의 통신 모듈을 구비하는 통신 회로부; 및 OBD 커넥터의 각 핀에서 입력되는 신호를 검사하여 핀맵을 검출하고, 검출된 핀맵을 기초로 OBD 커넥터의 각 핀에 상응하는 통신 모듈을 연결하며, 연결된 통신 모듈을 통해 진단정보를 수신하여 사용자 단말에 송신하는 제어부;를 포함하는 OBD 커넥터의 핀맵 검출 기능을 갖는 진단정보 송신장치를 제공한다.The present invention to achieve the above object is a diagnostic information transmission device that receives diagnostic information from an OBD (On Board Diagnostics) connector provided in a vehicle and provides it to a user terminal, comprising: a communication circuit unit including a plurality of communication modules; and detecting the pin map by inspecting the signal input from each pin of the OBD connector, connecting the communication module corresponding to each pin of the OBD connector based on the detected pin map, and receiving diagnostic information through the connected communication module to the user terminal. A diagnostic information transmitting device having a pin map detection function of an OBD connector including a control unit for transmitting to the.

바람직한 실시예에 있어서, 상기 제어부는, OBD 커넥터로부터 신호가 입력되면, 사전에 정의된 전압 또는 펄스에 기초하여 각 핀의 종류를 식별하고, 각 핀의 순서와 종류를 매핑하여 핀맵을 검출한다.In a preferred embodiment, when a signal is input from the OBD connector, the control unit identifies the type of each pin based on a predefined voltage or pulse and detects a pin map by mapping the order and type of each pin.

바람직한 실시예에 있어서, 상기 제어부는, 통신 모듈별로 정의된 전압 또는 펄스가 확인되는 핀을 통신 핀으로 식별하되, 확인된 전압의 범위 또는 펄스의 범위에 기초하여 통신 핀에 연결할 통신 모듈의 종류를 식별한다.In a preferred embodiment, the control unit identifies a pin for which a voltage or pulse defined for each communication module is confirmed as a communication pin, and determines the type of communication module to be connected to the communication pin based on the range of the confirmed voltage or pulse. Identify.

바람직한 실시예에 있어서, 상기 제어부는, 전원 핀에 대응하는 전압이 확인되고, 차량의 키 스위치가 온오프될 때 전압 변화가 없는 핀을 전원 핀으로 식별한다.In a preferred embodiment, the control unit checks the voltage corresponding to the power pin and identifies a pin with no voltage change as the power pin when the vehicle's key switch is turned on and off.

바람직한 실시예에 있어서, 상기 제어부는, 입력 핀에 대응하는 전압이 확인되고, 차량에 전원 인가 시 전압 변화가 발생하거나 접지 연결 시 전압 변화가 발생하는 핀을 입력 핀으로 식별한다.In a preferred embodiment, the control unit checks the voltage corresponding to the input pin and identifies the pin where a voltage change occurs when power is applied to the vehicle or a voltage change occurs when connected to ground as the input pin.

바람직한 실시예에 있어서, 상기 제어부는, 출력 핀에 대응하는 전압이 확인되고, 차량의 키 스위치가 온오프될 때 전압 변화가 발생하는 핀을 출력 핀으로 식별한다.In a preferred embodiment, the control unit determines the voltage corresponding to the output pin and identifies the pin where the voltage change occurs when the key switch of the vehicle is turned on and off as the output pin.

바람직한 실시예에 있어서, 상기 제어부는, 접지 핀에 대응하는 전압이 검출되고, 차량에 전원이 인가될 때 접지 전압을 유지하는 핀을 접지 핀으로 식별한다.In a preferred embodiment, the control unit detects a voltage corresponding to a ground pin and identifies the pin maintaining the ground voltage when power is applied to the vehicle as the ground pin.

바람직한 실시예에 있어서, OBD 커넥터의 각 핀과 상기 통신 회로부의 통신 모듈을 선택적으로 연결하는 먹스 회로부;를 더 포함한다.In a preferred embodiment, it further includes a mux circuit unit that selectively connects each pin of the OBD connector to the communication module of the communication circuit unit.

바람직한 실시예에 있어서, 상기 통신 회로부와 상기 먹스 회로부는, OBD 커넥터의 핀 개수에 대응되도록 복수 개로 구비된다.In a preferred embodiment, the communication circuit unit and the mux circuit unit are provided in plural numbers to correspond to the number of pins of the OBD connector.

바람직한 실시예에 있어서, 상기 먹스 회로부는, 복수의 스위치를 구비하고, 상기 복수의 스위치는 OBD 커넥터의 어느 한 핀에 공통으로 입력단이 연결되고, 출력단은 서로 분리되어 상기 통신 회로부의 통신 모듈들에 각각 연결된다.In a preferred embodiment, the mux circuit unit is provided with a plurality of switches, the input terminal of the plurality of switches is commonly connected to one pin of the OBD connector, and the output terminal is separated from each other and connected to the communication modules of the communication circuit unit. Each is connected.

또한, 본 발명은 OBD 커넥터의 핀맵 검출 기능을 갖는 진단정보 송신장치에서 수행되는 진단정보 송신방법으로서, 상기 진단정보 송신장치의 제어부가, OBD(On Board Diagnostics) 커넥터의 각 핀에서 입력되는 신호를 검사하여 OBD 커넥터의 핀맵을 검출하는 검출 단계; 검출된 핀맵에 기초하여 각 핀에 상응하는 통신 모듈을 연결하는 연결 단계; 및 연결된 통신 모듈을 통해 진단정보를 수신하고 수신된 진단정보를 사용자 단말에 송신하는 통신 단계;를 포함하는 진단정보 송신방법을 제공한다.In addition, the present invention is a diagnostic information transmission method performed in a diagnostic information transmission device having a pin map detection function of an OBD connector, wherein the control unit of the diagnostic information transmission device transmits signals input from each pin of the OBD (On Board Diagnostics) connector. A detection step of inspecting and detecting the pin map of the OBD connector; A connection step of connecting communication modules corresponding to each pin based on the detected pin map; and a communication step of receiving diagnostic information through a connected communication module and transmitting the received diagnostic information to a user terminal.

바람직한 실시예에 있어서, 상기 검출 단계는, OBD 커넥터로부터 신호가 입력되면, 사전에 정의된 전압 또는 펄스에 기초하여 각 핀의 종류를 식별하는 단계; 및 각 핀의 순서와 종류를 매핑하여 핀맵을 검출하는 단계;를 포함한다.In a preferred embodiment, the detection step includes: identifying the type of each pin based on a predefined voltage or pulse when a signal is input from the OBD connector; and detecting a pin map by mapping the order and type of each pin.

전술한 과제해결 수단에 의해 본 발명은 OBD 커넥터의 핀맵을 자동으로 검출하고 검출된 핀맵을 기초로 OBD 커넥터의 각 핀에 상응하는 통신 모듈을 연결할 수 있으므로, 별도의 핀맵 정보를 구비할 필요없이 차량과 통신을 하여 차량의 진단, 시스템 모니터링 등을 할 수 있는 효과가 있다.By means of the above-mentioned problem solving means, the present invention can automatically detect the pin map of the OBD connector and connect the communication module corresponding to each pin of the OBD connector based on the detected pin map, so that the vehicle can be connected without the need for separate pin map information. It has the effect of enabling vehicle diagnosis, system monitoring, etc. by communicating with the system.

도 1은 본 발명의 일실시예에 따른 OBD 커넥터의 핀맵 검출 기능을 갖는 진단정보 송신장치를 설명하기 위한 도면.
도 2는 본 발명의 일실시예에 따른 OBD 커넥터의 핀맵 검출 기능을 갖는 진단정보 송신장치의 회로 구조를 설명하는 도면.
도 3은 본 발명의 일실시예에 따른 진단정보 송신방법을 설명하기 위한 도면.
1 is a diagram illustrating a diagnostic information transmission device having a pin map detection function of an OBD connector according to an embodiment of the present invention.
Figure 2 is a diagram illustrating the circuit structure of a diagnostic information transmission device having a pin map detection function of an OBD connector according to an embodiment of the present invention.
Figure 3 is a diagram for explaining a method of transmitting diagnostic information according to an embodiment of the present invention.

하기의 설명에서 본 발명의 특정 상세들이 본 발명의 전반적인 이해를 제공하기 위해 나타나 있는데, 이들 특정 상세들 없이 또한 이들의 변형에 의해서도 본 발명이 용이하게 실시될 수 있다는 것은 이 기술분야에서 통상의 지식을 가진 자에게 자명할 것이다.In the following description, specific details of the present invention are set forth to provide a general understanding of the present invention; however, it is known to those skilled in the art that the present invention can be readily practiced without these specific details and with modifications thereof. It will be self-evident to those who have it.

이하, 본 발명에 따른 바람직한 실시예를 첨부된 도 1 내지 도 3을 참조하여 상세히 설명하되, 본 발명에 따른 동작 및 작용을 이해하는데 필요한 부분을 중심으로 설명한다.Hereinafter, a preferred embodiment according to the present invention will be described in detail with reference to the accompanying FIGS. 1 to 3, focusing on the parts necessary to understand the operation and action according to the present invention.

도 1은 본 발명의 일실시예에 따른 OBD 커넥터의 핀맵 검출 기능을 갖는 진단정보 송신장치를 설명하기 위한 도면이고, 도 2는 본 발명의 일실시예에 따른 OBD 커넥터의 핀맵 검출 기능을 갖는 진단정보 송신장치의 회로 구조를 설명하는 도면이다.1 is a diagram illustrating a diagnostic information transmission device having a pin map detection function of an OBD connector according to an embodiment of the present invention, and FIG. 2 is a diagram illustrating a diagnostic information transmission device having a pin map detection function of an OBD connector according to an embodiment of the present invention. This is a diagram explaining the circuit structure of the information transmission device.

도 1 및 도 2를 참조하면, 본 발명의 일실시예에 따른 OBD 커넥터의 핀맵 검출 기능을 갖는 진단정보 송신장치(100)는 통신 회로부(110), 먹스 회로부(120) 및 제어부(130)를 포함하여 구성된다.Referring to Figures 1 and 2, the diagnostic information transmission device 100 having a pin map detection function of the OBD connector according to an embodiment of the present invention includes a communication circuit unit 110, a mux circuit unit 120, and a control unit 130. It consists of:

여기서, 본 발명의 일실시예에 따른 OBD 커넥터의 핀맵 검출 기능을 갖는 진단정보 송신장치(100)는 차량에 마련된 OBD(On Board Diagnostics) 커넥터에 연결되어 진단정보를 수신하고 수신한 진단정보를 사용자 단말(10)에 제공하는 용도로 활용될 수 있으며, 사용자 단말(10)과 통신하여 진단정보를 송신하는 송수신부(140)를 더 구비할 수 있다.Here, the diagnostic information transmission device 100, which has a pin map detection function of the OBD connector according to an embodiment of the present invention, is connected to the OBD (On Board Diagnostics) connector provided in the vehicle to receive diagnostic information and transmit the received diagnostic information to the user. It can be used to provide information to the terminal 10, and may further include a transceiver 140 that communicates with the user terminal 10 and transmits diagnostic information.

한편, 본 발명의 일실시예에 따른 OBD 커넥터의 핀맵 검출 기능을 갖는 진단정보 송신장치(100)에는 OBD 커넥터와의 전기적인 접속을 위한 복수의 단자(20)가 마련되는데, 이는 OBD 커넥터의 핀 개수에 대응되도록 16개로 형성될 수 있다.Meanwhile, the diagnostic information transmission device 100 having a pin map detection function of the OBD connector according to an embodiment of the present invention is provided with a plurality of terminals 20 for electrical connection with the OBD connector, which are the pins of the OBD connector. It can be formed into 16 to correspond to the number.

이러한, 본 발명의 일실시예에 따른 OBD 커넥터의 핀맵 검출 기능을 갖는 진단정보 송신장치(100)는 OBD 커넥터에 연결하면 자동으로 OBD 커넥터의 핀맵을 검출하고, 검출된 핀맵에 따라 내부의 통신 모듈을 연결할 수 있도록 구비되며, 이를 통해 차량의 진단, 시스템 모니터링 등을 수행할 수 있다.The diagnostic information transmission device 100, which has a pin map detection function of the OBD connector according to an embodiment of the present invention, automatically detects the pin map of the OBD connector when connected to the OBD connector, and uses an internal communication module according to the detected pin map. It is equipped to connect, and through this, vehicle diagnosis, system monitoring, etc. can be performed.

상기 통신 회로부(110)는 OBD 커넥터와의 통신을 위한 복수의 통신 모듈을 구비하며, 진단정보를 수신하여 제어부(130)에 출력하고 OBD 커넥터의 각 핀에서 입력되는 신호를 제어부(130)에 출력하는 기능을 수행할 수 있다.The communication circuit unit 110 has a plurality of communication modules for communication with the OBD connector, receives diagnostic information, outputs it to the control unit 130, and outputs signals input from each pin of the OBD connector to the control unit 130. It can perform the function:

아울러, 통신 회로부(110)는 제어부(130)로부터 입력받은 제어 명령이나 신호 등을 OBD 커넥터로 송신할 수 있으며, OBD 커넥터의 핀 개수에 대응되도록 복수 개로 구비될 수 있다.In addition, the communication circuit unit 110 can transmit control commands or signals received from the control unit 130 to the OBD connector, and may be provided in plural pieces to correspond to the number of pins of the OBD connector.

이러한, 통신 회로부(110)는 먹스 제어(MUX Control) 라인(111), ADC(Analog-Digital Converter) 모듈(112), 디지털 입력(Digital Input) 라인(113), CAN(Controller Area Network) 통신 모듈(114, 115), LIN(Local Interconnect Network) 통신 모듈(116) 및 K-라인(K-LINE) 통신 모듈(117)을 포함하여 구성될 수 있다.This communication circuit unit 110 includes a MUX control line 111, an Analog-Digital Converter (ADC) module 112, a digital input line 113, and a CAN (Controller Area Network) communication module. (114, 115), LIN (Local Interconnect Network) communication module 116, and K-LINE (K-LINE) communication module 117.

상기 먹스 제어 라인(111)은 제어부(130)로부터 입력받은 제어 명령을 먹스 회로부(120)에 출력한다. 이때, 전술한 제어 명령은 먹스 회로부(120)에 구비된 스위치(121)를 온오프하기 위한 명령일 수 있다.The MUX control line 111 outputs the control command input from the control unit 130 to the MUX circuit unit 120. At this time, the above-described control command may be a command for turning on and off the switch 121 provided in the mux circuit unit 120.

상기 ADC 모듈(112)은 OBD 커넥터의 각 핀에서 입력되는 아날로그 신호를 디지털 신호로 변환하여 제어부(130)에 출력한다.The ADC module 112 converts the analog signal input from each pin of the OBD connector into a digital signal and outputs it to the control unit 130.

이러한, ADC 모듈(112)은 핀맵 검출이 완료된 이후에, 전원 핀, 접지 핀 및 공핀이 연결될 수 있다.In the ADC module 112, the power pin, ground pin, and empty pin may be connected after pin map detection is completed.

상기 디지털 입력 라인(113)은 디지털 신호의 송수신을 위한 것으로, OBD 커넥터의 입력 핀과 출력 핀이 연결될 수 있다.The digital input line 113 is for transmitting and receiving digital signals, and the input pin and output pin of the OBD connector can be connected.

상기 CAN 통신 모듈(114, 115)은 CAN 통신 기반의 진단정보를 수신하여 제어부(130)에 출력하기 위한 것으로, 통신 속도에 따라 상대적으로 속도가 빠른 CAN1 통신 모듈(114)과, 상대적으로 속도가 낮은 CAN2 통신 모듈(115)로 구분될 수 있다.The CAN communication modules 114 and 115 are for receiving CAN communication-based diagnostic information and outputting it to the control unit 130. The CAN1 communication module 114 has a relatively high speed depending on the communication speed, and the CAN1 communication module 114 has a relatively high speed. It can be divided into a low CAN2 communication module 115.

또한, CAN1 통신 모듈(114)과 CAN2 통신 모듈(115)에는 하이(HIGH)와 로우(LOW)로 구분되는 2개의 채널이 각각 형성될 수 있다.Additionally, two channels divided into high and low may be formed in the CAN1 communication module 114 and CAN2 communication module 115, respectively.

상기 LIN 통신 모듈(116)은 데이터(DATA) 라인을 통해 LIN 통신 기반의 진단정보를 수신하여 제어부(130)에 출력하며, 상기 K-라인 통신 모듈(117)은 K-LINE 통신을 기반으로 진단정보를 수신하여 제어부(130)에 출력하도록 구비될 수 있다.The LIN communication module 116 receives diagnostic information based on LIN communication through a data line and outputs it to the control unit 130, and the K-line communication module 117 diagnoses based on K-LINE communication. It may be equipped to receive information and output it to the control unit 130.

그 외에도, 차량 네트워크 용도로 사용되는 다양한 통신 모듈이 더 구비될 수 있다.In addition, various communication modules used for vehicle network purposes may be further provided.

한편, 통신 회로부(110)를 복수 개로 구비하지 않고, 하나의 통신 회로부(110)만을 구비할 수도 있으며, OBD 커넥터의 핀 개수보다 상대적으로 적은 임의의 개수로 구비할 수도 있다.On the other hand, instead of providing a plurality of communication circuit units 110, only one communication circuit unit 110 may be provided, or an arbitrary number relatively smaller than the number of pins of the OBD connector may be provided.

상기 먹스 회로부(120)는 OBD 커넥터의 각 핀과 통신 회로부(110)의 통신 모듈을 선택적으로 연결하며, 복수의 스위치(121)를 포함하여 구성될 수 있다.The mux circuit unit 120 selectively connects each pin of the OBD connector to the communication module of the communication circuit unit 110, and may be configured to include a plurality of switches 121.

이러한, 먹스 회로부(120)는 OBD 커넥터의 핀 개수에 대응되도록 복수 개로 구비되어 각각의 단자(20)와 각각의 통신 회로부(110)를 연결하는 구조로 형성될 수 있다.The mux circuit unit 120 may be provided in plural numbers to correspond to the number of pins of the OBD connector and may be formed in a structure that connects each terminal 20 and each communication circuit unit 110.

또한, 상기 복수의 스위치(121)는 제어부(130)의 제어에 따라 온오프되며, OBD 커넥터의 어느 한 핀에 공통으로 입력단이 연결되고, 출력단은 서로 분리되어 통신 회로부(110)에 구비된 ADC 모듈(112), 디지털 입력 라인(113), CAN 통신 모듈(114, 115), LIN 통신 모듈(116) 및 K-라인 통신 모듈(117)에 각각 연결된 구조로 형성될 수 있다.In addition, the plurality of switches 121 are turned on and off under the control of the control unit 130, and the input terminal is commonly connected to one pin of the OBD connector, and the output terminal is separated from each other and is connected to the ADC provided in the communication circuit unit 110. It may be formed in a structure connected to the module 112, the digital input line 113, the CAN communication modules 114 and 115, the LIN communication module 116, and the K-line communication module 117, respectively.

상기 제어부(130)는 OBD 커넥터의 각 핀에서 입력되는 신호를 검사하여 핀맵을 검출하고, 검출된 핀맵을 기초로 OBD 커넥터의 각 핀에 상응하는 통신 모듈을 연결하며, 연결된 통신 모듈을 통해 진단정보를 수신하여 사용자 단말(10)에 송신하는 기능을 수행한다.The control unit 130 detects a pin map by examining the signal input from each pin of the OBD connector, connects a communication module corresponding to each pin of the OBD connector based on the detected pin map, and provides diagnostic information through the connected communication module. It performs the function of receiving and transmitting to the user terminal 10.

이러한, 제어부(130)는 먹스 제어 라인(111)을 통해 먹스 회로부(120)에 제어 명령을 송신하여, ADC 모듈(112)에 연결된 스위치(121)를 턴온하도록 제어하고 ADC 모듈(112)을 통해 입력되는 신호를 검사할 수 있다.The control unit 130 transmits a control command to the MUX circuit unit 120 through the MUX control line 111, controls the switch 121 connected to the ADC module 112 to turn on, and turns on the switch 121 connected to the ADC module 112. You can inspect the input signal.

또한, 제어부(130)는 OBD 커넥터로부터 신호가 입력되면, 사전에 정의된 전압 또는 펄스에 기초하여 각 핀의 종류를 식별할 수 있다.Additionally, when a signal is input from the OBD connector, the control unit 130 can identify the type of each pin based on a predefined voltage or pulse.

특히, 제어부(130)는 통신 모듈별로 정의된 전압 또는 펄스가 확인되는 핀을 통신 핀으로 식별하되, 확인된 전압의 범위 또는 펄스의 범위에 기초하여 통신 핀에 연결할 통신 모듈의 종류를 식별할 수 있다.In particular, the control unit 130 identifies the pin where the voltage or pulse defined for each communication module is confirmed as a communication pin, and can identify the type of communication module to be connected to the communication pin based on the range of the confirmed voltage or pulse. there is.

이를 위해, 제어부(130)에는 아래의 표 1에 도시된 바와 같이, 통신 모듈의 식별을 위한 전압과 펄스가 사전에 정의되어 저장될 수 있다.For this purpose, the voltage and pulse for identification of the communication module may be defined and stored in advance in the control unit 130, as shown in Table 1 below.

전압(or 펄스)voltage (or pulse) K-LINE
메시지 응답?
K-LINE
Message response?
통신 모듈 종류 Communication module type
2.5V 이상2.5V or higher 3.5V 이하3.5V or less -- High Speed CAN HHigh Speed CAN H 1.5V 이상1.5V or more 2.5V 이하2.5V or less -- High Speed CAN LHigh Speed CAN L 0V 이상Above 0V 3.6V 이하3.6V or less -- Low Speed CAN HLow Speed CAN H 1.4V 이상1.4V or higher 5V 이하5V or less -- Low Speed CAN LLow Speed CAN L 10V 이상10V or more NoNo LINLIN 10V 이상10V or more YesYes K-라인K-line

즉, 제어부(130)는 2.5V 내지 3.5V의 신호가 입력된 핀에 대해, 통신 핀으로서 CAN1 통신 모듈(114)의 하이 채널에 연결된다는 점을 식별할 수 있고, 1.5V 내지 2.5V의 신호가 입력된 핀은 통신 핀으로서 CAN1 통신 모듈(114)의 로우 채널에 연결된다는 점을 식별할 수 있다.That is, the control unit 130 can identify that the pin through which a signal of 2.5V to 3.5V is input is connected to the high channel of the CAN1 communication module 114 as a communication pin, and that the signal of 1.5V to 2.5V is connected to the high channel of the CAN1 communication module 114. It can be identified that the input pin is a communication pin and is connected to the low channel of the CAN1 communication module 114.

또한, 제어부(130)는 0V 내지 3.6V의 신호가 입력된 핀은 통신 핀으로서 CAN2 통신 모듈(115)의 하이 채널에 연결되고, 1.4V 내지 5V의 신호가 입력된 핀은 통신 핀으로서 CAN2 통신 모듈(115)의 로우 채널에 연결된다는 점을 식별할 수 있다.In addition, the control unit 130 connects the pin to which a signal of 0V to 3.6V is inputted as a communication pin to the high channel of the CAN2 communication module 115, and the pin to which a signal of 1.4V to 5V is input serves as a communication pin and is connected to the high channel of the CAN2 communication module 115. It can be identified that it is connected to the low channel of the module 115.

그리고, 제어부(130)는 10V 이상의 신호가 입력되고 K-라인 메시지에 대한 응답이 없는 핀은 통신 핀으로서 LIN 통신 모듈(116)에 연결되고, 10V 이상의 신호가 입력되면서 K-라인 메시지에 대한 응답이 확인된 핀은 통신 핀으로서 K-라인 통신 모듈(117)에 연결된다는 점을 식별할 수 있다.In addition, the control unit 130 is connected to the LIN communication module 116 as a communication pin when a signal of 10V or more is input and there is no response to the K-line message, and when a signal of 10V or more is input, a pin that does not respond to the K-line message is connected to the control unit 130. It can be identified that this identified pin is connected to the K-line communication module 117 as a communication pin.

또한, 제어부(130)는 아래의 표 2에 도시된 바와 같이, 전원 핀, 출력 핀 및 접지 핀의 식별을 위한 전압과 펄스가 사전에 정의되어 저장될 수 있다.Additionally, the control unit 130 may store predefined voltages and pulses for identification of power pins, output pins, and ground pins, as shown in Table 2 below.

전압값voltage value 키 스위치
온오프 시
전압 변화?
key switch
On and off
Voltage change?
전원 인가 시
전압 변화?
When powering on
Voltage change?
접지 연결 시
전압 변화?
When connected to ground
Voltage change?
핀 종류 pin type
10V 이상10V or more YesYes -- -- 전원 핀power pin 0.5V 이하0.5V or less -- YesYes -- 입력 핀
(High Side)
input pin
(High Side)
10V 이상10V or more -- -- YesYes 입력 핀
(Low Side)
input pin
(Low Side)
0.5V 이하0.5V or less YesYes -- -- 출력 핀
(High Side)
output pin
(High Side)
10V 이상10V or more YesYes -- -- 출력 핀
(Low Side)
output pin
(Low Side)
+0.5V 이하+0.5V or less -- NoNo -- 접지 핀ground pin

즉, 제어부(130)는 전원 핀에 대응하는 10V 이상의 전압이 확인되고 차량의 키 스위치(121)가 온오프될 때 전압 변화가 없는 핀을 전원 핀으로 식별할 수 있다.That is, the control unit 130 can identify a pin with no voltage change as a power pin when a voltage of 10 V or more corresponding to the power pin is confirmed and the vehicle key switch 121 is turned on or off.

또한, 제어부(130)는 입력 핀에 대응하는 0.5V 이하의 전압이 확인되고 차량에 전원 인가 시 전압 변화가 발생한 핀을 하이 사이드(High Side)의 입력 핀으로 식별하고, 10V 이상의 전압이 확인되고 접지 연결 시 전압 변화가 발생한 핀을 로우 사이드(Low Side)의 입력 핀으로 식별할 수 있다.In addition, the control unit 130 confirms a voltage of 0.5V or less corresponding to the input pin, identifies the pin where the voltage change occurs when power is applied to the vehicle as a high side input pin, and confirms a voltage of 10V or more. The pin where the voltage change occurs when connected to ground can be identified as the low side input pin.

또한, 제어부(130)는 출력 핀에 대응하는 0.5V 이하의 전압이 확인되고 차량의 키 스위치(121)가 온오프될 때 전압 변화가 발생하는 핀을 하이 사이드의 출력 핀으로 식별하고, 10V 이상의 전압이 확인되면서 차량의 키 스위치(121)가 온오프될 때 전압 변화가 발생하는 핀을 로우 사이드의 출력 핀으로 식별할 수 있다.In addition, the control unit 130 identifies the pin where the voltage change occurs when a voltage of 0.5V or less corresponding to the output pin is confirmed and the vehicle key switch 121 is turned on and off as the high-side output pin, and the pin where the voltage change occurs is 10V or more. As the voltage is confirmed, the pin where the voltage change occurs when the vehicle key switch 121 is turned on and off can be identified as the low-side output pin.

또한, 제어부(130)는 접지 핀에 대응하는 0.5V 이하의 전압이 확인되면서 차량에 전원이 인가될 때 접지 전압을 유지하는 핀을 접지 핀으로 식별할 수 있다.Additionally, the control unit 130 may identify the pin that maintains the ground voltage when power is applied to the vehicle as the ground pin by confirming that the voltage corresponding to the ground pin is 0.5 V or less.

아울러, 제어부(130)는 신호가 입력된 핀들 중에서 통신 핀, 전원 핀, 입력 핀, 출력 핀 및 접지 핀에 속하지 않는 핀은 사용이 되지 않는 공핀인 것으로 식별할 수 있다.In addition, the control unit 130 may identify pins that do not belong to communication pins, power pins, input pins, output pins, and ground pins among pins through which signals are input as unused empty pins.

한편, 제어부(130)는 신호가 입력된 각 핀의 종류가 모두 식별되면, 각 핀의 순서와 종류를 매핑하여 핀맵을 검출하고, 검출된 핀맵을 기초로 OBD 커넥터의 각 핀에 상응하는 통신 모듈을 연결할 수 있다.Meanwhile, when all types of pins through which signals are input are identified, the control unit 130 detects a pin map by mapping the order and type of each pin, and based on the detected pin map, the communication module corresponding to each pin of the OBD connector can be connected.

이때, 제어부(130)는 각 핀의 순서에 따라 핀 번호와 핀의 종류를 설정하고, 핀의 종류에 따라 ADC 모듈(112), 디지털 입력 라인(113) 및 통신 모듈들 중 어디에 연결되어야 하는지 매핑한 정보를 취합하여 핀맵을 검출할 수 있다.At this time, the control unit 130 sets the pin number and pin type according to the order of each pin, and maps which of the ADC module 112, digital input line 113, and communication module to connect depending on the pin type. A pin map can be detected by collecting information.

그리고, 제어부(130)는 먹스 회로부(120)의 스위치(121)를 제어하여, 통신 핀은 전압의 범위 또는 펄스의 범위에 기초하여 식별된 통신 모듈에 각각 연결하고, 전원 핀, 접지 핀 및 공핀은 ADC 모듈(112)에 연결하며, 입력 핀 및 출력 핀은 디지털 입력 라인(113)에 연결할 수 있다.Then, the control unit 130 controls the switch 121 of the mux circuit unit 120 to connect the communication pins to the identified communication modules based on the voltage range or pulse range, respectively, and connect the power pin, ground pin, and empty pin. is connected to the ADC module 112, and the input pin and output pin can be connected to the digital input line 113.

예컨대, 도 2에 도시된 바와 같이, 제어부(130)는 1번 핀은 통신 핀으로서 LIN 통신 모듈(116)에 연결되고 16번 핀은 통신 핀으로서 K-라인 통신 모듈(117)에 연결되는 것으로 핀맵이 검출되면, 1번 핀에 대응하는 먹스 회로부(120)는 LIN 통신 모듈(116)에 연결된 스위치(121a)를 턴온하여 1번 핀과 LIN 통신 모듈(116)을 연결하고, 16번 핀에 대응하는 먹스 회로부(120)는 K-라인 통신 모듈(117)에 연결된 스위치(121b)를 턴온하여 16번 핀과 K-라인 통신 모듈(117)을 연결할 수 있다.For example, as shown in FIG. 2, the control unit 130 has pin number 1 connected to the LIN communication module 116 as a communication pin, and pin number 16 as a communication pin connected to the K-line communication module 117. When the pin map is detected, the mux circuit unit 120 corresponding to pin 1 turns on the switch 121a connected to the LIN communication module 116, connects pin 1 and the LIN communication module 116, and connects pin 16 to pin 16. The corresponding mux circuit unit 120 can connect pin 16 and the K-line communication module 117 by turning on the switch 121b connected to the K-line communication module 117.

이와 같은 과정은, OBD 커넥터에 형성된 핀별로 적어도 한 번씩 수행되며, 에러가 발생하는 경우에는 복수 회 반복될 수도 있다. This process is performed at least once for each pin formed in the OBD connector, and may be repeated multiple times if an error occurs.

그리고, 제어부(130)는 OBD 커넥터의 각 핀에 상응하는 통신 모듈을 연결되면, 연결된 통신 모듈을 통해 진단정보를 수신하여 사용자 단말(10)에 송신할 수 있다.And, when the communication module corresponding to each pin of the OBD connector is connected, the control unit 130 can receive diagnostic information through the connected communication module and transmit it to the user terminal 10.

상기 송수신부(140)는 사용자 단말(10)과의 통신을 위한 것으로, UART(Universal Asynchronous Receiver Transmitter) 통신을 포함하여, 데이터의 송수신을 가능하게 하는 하나 이상의 구성 요소를 포함할 수 있다.The transceiver unit 140 is for communication with the user terminal 10 and may include one or more components that enable data transmission and reception, including UART (Universal Asynchronous Receiver Transmitter) communication.

또한, 송수신부(140)는 제어부(130)에서 검출한 핀맵의 정보와, 제어부(130)에서 수신한 진단정보 등을 사용자 단말(10)에 송신하여 사용자가 확인할 수 있도록 하며, 사용자 단말(10)로부터 신호나 제어 명령을 수신하여 제어부(130)에 전달하거나 OBD 커넥터에 전달할 수도 있다.In addition, the transceiver 140 transmits the pin map information detected by the control unit 130 and the diagnostic information received by the control unit 130 to the user terminal 10 so that the user can check it, and the user terminal 10 ) may receive a signal or control command and transmit it to the control unit 130 or to the OBD connector.

이하에서는, 본 발명의 일실시예에 따른 OBD 커넥터의 핀맵 검출 기능을 갖는 진단정보 송신장치(100)에서 수행되는 진단정보 송신방법을 설명한다.Below, a method of transmitting diagnostic information performed in the diagnostic information transmitting device 100 having a pin map detection function of an OBD connector according to an embodiment of the present invention will be described.

도 3은 본 발명의 일실시예에 따른 진단정보 송신방법을 설명하기 위한 도면이다.Figure 3 is a diagram for explaining a method of transmitting diagnostic information according to an embodiment of the present invention.

다만, 도 3에 도시된 진단정보 송신방법에서 수행되는 기능은 모두 도 1 및 도 2를 참조하여 설명한 OBD 커넥터의 핀맵 검출 기능을 갖는 진단정보 송신장치(100)에서 수행되므로, 명시적인 설명이 없어도, 도 1 및 도 2를 참조하여 설명한 모든 기능은 본 발명의 바람직한 실시예에 따른 진단정보 송신방법에서 수행되고, 도 3을 참조하여 설명하는 모든 기능은 본 발명의 바람직한 실시예에 따른 OBD 커넥터의 핀맵 검출 기능을 갖는 진단정보 송신장치(100)에서 그대로 수행됨을 주의해야 한다.However, since all functions performed in the diagnostic information transmission method shown in FIG. 3 are performed in the diagnostic information transmission device 100 having a pin map detection function of the OBD connector described with reference to FIGS. 1 and 2, even without explicit explanation, , all functions described with reference to FIGS. 1 and 2 are performed in the diagnostic information transmission method according to the preferred embodiment of the present invention, and all functions described with reference to FIG. 3 are performed in the OBD connector according to the preferred embodiment of the present invention. It should be noted that this is performed as is in the diagnostic information transmission device 100 having a pin map detection function.

도 3을 참조하면, OBD 커넥터의 핀맵 검출 기능을 갖는 진단정보 송신장치(100)의 제어부(130)는, 먼저, OBD 커넥터의 각 핀에서 입력되는 신호를 수신한다(S110).Referring to FIG. 3, the control unit 130 of the diagnostic information transmission device 100 having a pin map detection function of the OBD connector first receives signals input from each pin of the OBD connector (S110).

S110 단계에서, 제어부(130)는 먹스 제어 라인(111)을 통해 먹스 회로부(120)에 제어 명령을 송신하여, ADC 모듈(112)에 연결된 스위치(121)를 턴온하도록 제어하고 ADC 모듈(112)을 통해 신호를 입력받을 수 있다.In step S110, the control unit 130 transmits a control command to the MUX circuit unit 120 through the MUX control line 111, controls the switch 121 connected to the ADC module 112 to turn on, and turns on the ADC module 112. You can receive signals through .

그 다음, 제어부(130)는 OBD 커넥터로부터 신호가 입력되면, 사전에 정의된 전압 또는 펄스에 기초하여 각 핀의 종류를 식별한다(S210).Next, when a signal is input from the OBD connector, the control unit 130 identifies the type of each pin based on a predefined voltage or pulse (S210).

이때, 제어부(130)는 통신 모듈별로 정의된 전압 또는 펄스가 확인되는 핀을 통신 핀으로 식별하고, 확인된 전압의 범위 또는 펄스의 범위에 기초하여 통신 핀에 연결할 통신 모듈의 종류를 식별한다(S220).At this time, the control unit 130 identifies the pin where the voltage or pulse defined for each communication module is confirmed as the communication pin, and identifies the type of communication module to be connected to the communication pin based on the range of the confirmed voltage or pulse ( S220).

S220 단계에서, 제어부(130)는 2.5V 내지 3.5V의 신호가 입력된 핀에 대해, 통신 핀으로서 CAN1 통신 모듈(114)의 하이 채널에 연결되고, 1.5V 내지 2.5V의 신호가 입력된 핀은 통신 핀으로서 CAN1 통신 모듈(114)의 로우 채널에 연결된다는 점을 식별할 수 있다.In step S220, the control unit 130 is connected to the high channel of the CAN1 communication module 114 as a communication pin for the pin to which a signal of 2.5V to 3.5V is input, and the pin to which a signal of 1.5V to 2.5V is input is connected to the high channel of the CAN1 communication module 114. It can be identified that as a communication pin, it is connected to the low channel of the CAN1 communication module 114.

S220 단계에서, 제어부(130)는 0V 내지 3.6V의 신호가 입력된 핀은 통신 핀으로서 CAN2 통신 모듈(115)의 하이 채널에 연결되고, 1.4V 내지 5V의 신호가 입력된 핀은 통신 핀으로서 CAN2 통신 모듈(115)의 로우 채널에 연결된다는 점을 식별할 수 있다.In step S220, the control unit 130 connects the pin to which a signal of 0V to 3.6V is input to the high channel of the CAN2 communication module 115 as a communication pin, and the pin to which a signal of 1.4V to 5V is input serves as a communication pin. It can be identified that it is connected to the low channel of the CAN2 communication module 115.

S220 단계에서, 제어부(130)는 10V 이상의 신호가 입력되고 K-라인 메시지에 대한 응답이 없는 핀은 통신 핀으로서 LIN 통신 모듈(116)에 연결되고, 10V 이상의 신호가 입력되면서 K-라인 메시지에 대한 응답이 확인된 핀은 통신 핀으로서 K-라인 통신 모듈(117)에 연결된다는 점을 식별할 수 있다.In step S220, when a signal of 10V or more is input, the control unit 130 connects a pin that does not respond to the K-line message to the LIN communication module 116 as a communication pin, and when a signal of 10V or more is input, the pin that does not respond to the K-line message is connected to the K-line message. It can be identified that the pin for which the response has been confirmed is a communication pin and is connected to the K-line communication module 117.

그 다음, 제어부(130)는 전원 핀의 식별을 위하여 사전에 정의된 전압과 펄스에 기초하여 전원 핀을 식별한다(S230).Next, the control unit 130 identifies the power pin based on a predefined voltage and pulse to identify the power pin (S230).

S230 단계에서, 제어부(130)는 전원 핀에 대응하는 10V 이상의 전압이 확인되고 차량의 키 스위치(121)가 온오프될 때 전압 변화가 없는 핀을 전원 핀으로 식별한다.In step S230, the control unit 130 confirms a voltage of 10V or more corresponding to the power pin and identifies a pin with no voltage change as the power pin when the vehicle key switch 121 is turned on and off.

그 다음, 제어부(130)는 입력 핀과 출력 핀의 식별을 위하여 사전에 정의된 전압과 펄스에 기초하여 입력 핀 및 출력 핀을 각각 식별한다(S240).Next, the control unit 130 identifies the input pin and the output pin based on a predefined voltage and pulse to identify the input pin and the output pin, respectively (S240).

S240 단계에서, 제어부(130)는 입력 핀에 대응하는 0.5V 이하의 전압이 확인되고 차량에 전원 인가 시 전압 변화가 발생하면 하이 사이드(High Side)의 입력 핀인 것으로 식별하고, 10V 이상의 전압이 확인되고 접지 연결 시 전압 변화가 발생하면 로우 사이드(Low Side)의 입력 핀인 것으로 식별할 수 있다.In step S240, the control unit 130 identifies a voltage of 0.5V or less corresponding to the input pin, and if a voltage change occurs when power is applied to the vehicle, it is identified as a high side input pin, and a voltage of 10V or more is confirmed. And if a voltage change occurs when connected to ground, it can be identified as a low side input pin.

S240 단계에서, 제어부(130)는 출력 핀에 대응하는 0.5V 이하의 전압이 확인되고 차량의 키 스위치(121)가 온오프될 때 전압 변화가 발생하면 하이 사이드의 출력 핀인 것으로 식별하고, 10V 이상의 전압이 확인되면서 차량의 키 스위치(121)가 온오프될 때 전압 변화가 발생하면 로우 사이드의 출력 핀인 것으로 식별할 수 있다.In step S240, the control unit 130 identifies a voltage of 0.5V or less corresponding to the output pin and identifies it as a high-side output pin if a voltage change occurs when the vehicle's key switch 121 is turned on and off. If the voltage is confirmed and a voltage change occurs when the vehicle's key switch 121 is turned on and off, it can be identified as a low-side output pin.

그 다음, 제어부(130)는 접지 핀의 식별을 위하여 사전에 정의된 전압과 펄스에 기초하여 접지 핀을 식별한다(S250).Next, the control unit 130 identifies the ground pin based on a predefined voltage and pulse to identify the ground pin (S250).

S250 단계에서, 제어부(130)는 접지 핀에 대응하는 0.5V 이하의 전압이 확인되면서 차량에 전원이 인가될 때 접지 전압을 유지하면 접지 핀인 것으로 식별할 수 있다.In step S250, the control unit 130 can identify a ground pin as a ground pin if a voltage of 0.5 V or less corresponding to the ground pin is confirmed and the ground voltage is maintained when power is applied to the vehicle.

그 다음, 제어부(130)는 사용이 되지 않는 공핀을 판정한다(S260).Next, the control unit 130 determines which empty pins are not in use (S260).

S260 단계에서, 제어부(130)는 신호가 입력된 핀들 중에서 통신 핀, 전원 핀, 입력 핀, 출력 핀 및 접지 핀에 속하지 않는 핀을 공핀으로 판정할 수 있다.In step S260, the control unit 130 may determine that among the pins through which signals are input, pins that do not belong to the communication pin, power pin, input pin, output pin, and ground pin are empty pins.

그 다음, 제어부(130)는 각 핀의 순서와 종류를 매핑하여 핀맵을 검출한다(S310).Next, the control unit 130 detects a pin map by mapping the order and type of each pin (S310).

S310 단계에서, 제어부(130)는 각 핀의 순서에 따라 핀 번호와 핀의 종류를 설정하고, 핀의 종류에 따라 ADC 모듈(112), 디지털 입력 라인(113) 및 통신 모듈들 중 어디에 연결되어야 하는지 매핑한 정보를 취합하여 핀맵을 검출할 수 있다.In step S310, the control unit 130 sets the pin number and pin type according to the order of each pin, and which of the ADC module 112, digital input line 113, and communication module should be connected depending on the pin type. The pin map can be detected by collecting the mapped information.

그 다음, 제어부(130)는 핀맵을 기초로 OBD 커넥터의 각 핀에 상응하는 통신 모듈을 연결한다(S410).Next, the control unit 130 connects the communication module corresponding to each pin of the OBD connector based on the pin map (S410).

S410 단계에서, 제어부(130)는 먹스 회로부(120)의 스위치(121)를 제어하여, 통신 핀은 전압의 범위 또는 펄스의 범위에 기초하여 식별된 통신 모듈에 각각 연결하고, 전원 핀, 접지 핀 및 공핀은 ADC 모듈(112)에 연결하며, 입력 핀 및 출력 핀은 디지털 입력 라인(113)에 연결할 수 있다.In step S410, the control unit 130 controls the switch 121 of the mux circuit unit 120 to connect the communication pins to the identified communication modules based on the voltage range or pulse range, respectively, and the power pin and ground pin. and empty pins can be connected to the ADC module 112, and the input pins and output pins can be connected to the digital input line 113.

그 다음, 제어부(130)는 OBD 커넥터의 각 핀에 상응하는 통신 모듈을 연결되면, 연결된 통신 모듈을 통해 진단정보를 수신하여 사용자 단말(10)에 송신한다(S510).Next, when the communication module corresponding to each pin of the OBD connector is connected, the control unit 130 receives diagnostic information through the connected communication module and transmits it to the user terminal 10 (S510).

S510 단계에서, 제어부(130)는 송수신부(140)를 통해 핀맵의 정보와 진단정보 등을 사용자 단말(10)에 송신할 수 있으며, 사용자 단말(10)로부터 송수신부(140)에 수신된 신호나 제어 명령을 전달받을 수도 있다.In step S510, the control unit 130 may transmit pin map information and diagnostic information to the user terminal 10 through the transceiver 140, and signals received from the user terminal 10 to the transceiver 140. I can also receive control commands.

이상에서는 본 발명의 바람직한 실시예를 예시적으로 설명하였으나, 본 발명의 범위는 이와 같은 특정 실시예에만 한정되는 것은 아니며, 특허청구범위에 기재된 범주 내에서 적절하게 변경 가능한 것이다.In the above, preferred embodiments of the present invention have been described by way of example, but the scope of the present invention is not limited to these specific embodiments, and may be appropriately modified within the scope stated in the claims.

100 : 진단정보 송신장치
110 : 통신 회로부 111 : 먹스 제어 라인
112 : ADC 모듈 113 : 디지털 입력 라인
114 : CAN1 통신 모듈 115 : CAN2 통신 모듈
116 : LIN 통신 모듈 117 : K-라인 통신 모듈
120 : 먹스 회로부 121 : 스위치
130 : 제어부
140 : 송수신부
100: Diagnostic information transmission device
110: Communication circuit unit 111: Mux control line
112: ADC module 113: digital input line
114: CAN1 communication module 115: CAN2 communication module
116: LIN communication module 117: K-line communication module
120: Mux circuit unit 121: Switch
130: control unit
140: Transmitter and receiver

Claims (12)

차량에 마련된 OBD(On Board Diagnostics) 커넥터로부터 진단정보를 수신하여 사용자 단말에 제공하는 진단정보 송신장치로서,
복수의 통신 모듈을 구비하는 통신 회로부;
OBD 커넥터의 각 핀에서 입력되는 신호를 검사하여 핀맵을 검출하고, 검출된 핀맵을 기초로 OBD 커넥터의 각 핀에 상응하는 통신 모듈을 연결하며, 연결된 통신 모듈을 통해 진단정보를 수신하여 사용자 단말에 송신하는 제어부; 및
OBD 커넥터의 각 핀과 상기 통신 회로부의 통신 모듈을 선택적으로 연결하는 먹스 회로부;를 포함하고,
상기 제어부는,
OBD 커넥터로부터 신호가 입력되면, 사전에 정의된 전압 또는 펄스에 기초하여 각 핀의 종류를 식별하고, 각 핀의 순서와 종류를 매핑하여 핀맵을 검출하며,
전원 핀에 대응하는 전압이 확인되고, 차량의 키 스위치가 온오프될 때 전압 변화가 없는 핀을 전원 핀으로 식별하고,
입력 핀에 대응하는 전압이 확인되고, 차량에 전원 인가 시 전압 변화가 발생하거나 접지 연결 시 전압 변화가 발생하는 핀을 입력 핀으로 식별하고,
출력 핀에 대응하는 전압이 확인되고, 차량의 키 스위치가 온오프될 때 전압 변화가 발생하는 핀을 출력 핀으로 식별하며,
접지 핀에 대응하는 전압이 검출되고, 차량에 전원이 인가될 때 접지 전압을 유지하는 핀을 접지 핀으로 식별하고,
상기 통신 회로부와 상기 먹스 회로부는,
OBD 커넥터의 핀 개수에 대응되도록 복수 개로 구비되며,
상기 먹스 회로부는,
복수의 스위치를 구비하고, 상기 복수의 스위치는 OBD 커넥터의 어느 한 핀에 공통으로 입력단이 연결되고, 출력단은 서로 분리되어 상기 통신 회로부의 통신 모듈들에 각각 연결된 것을 특징으로 하는 OBD 커넥터의 핀맵 검출 기능을 갖는 진단정보 송신장치.
A diagnostic information transmission device that receives diagnostic information from the OBD (On Board Diagnostics) connector provided in the vehicle and provides it to the user terminal,
A communication circuit unit including a plurality of communication modules;
Detects the pin map by examining the signal input from each pin of the OBD connector, connects the communication module corresponding to each pin of the OBD connector based on the detected pin map, and receives diagnostic information through the connected communication module and sends it to the user terminal. a control unit that transmits; and
It includes a mux circuit unit that selectively connects each pin of the OBD connector and the communication module of the communication circuit unit,
The control unit,
When a signal is input from the OBD connector, the type of each pin is identified based on a predefined voltage or pulse, and the pin map is detected by mapping the order and type of each pin.
The voltage corresponding to the power pin is confirmed, and the pin with no voltage change when the vehicle's key switch is turned on and off is identified as the power pin.
The voltage corresponding to the input pin is confirmed, and the pin where a voltage change occurs when power is applied to the vehicle or when connected to ground is identified as an input pin.
The voltage corresponding to the output pin is confirmed, and the pin where the voltage change occurs when the vehicle's key switch is turned on and off is identified as the output pin.
The voltage corresponding to the ground pin is detected, and the pin that maintains the ground voltage when power is applied to the vehicle is identified as the ground pin,
The communication circuit unit and the mux circuit unit,
It is provided in plural pieces to correspond to the number of pins of the OBD connector.
The mux circuit part,
Pin map detection of the OBD connector, comprising a plurality of switches, wherein the input terminal of the plurality of switches is commonly connected to one pin of the OBD connector, and the output terminal is separated from each other and connected to communication modules of the communication circuit unit, respectively. A diagnostic information transmission device with a function.
삭제delete 제 1 항에 있어서,
상기 제어부는,
통신 모듈별로 정의된 전압 또는 펄스가 확인되는 핀을 통신 핀으로 식별하되, 확인된 전압의 범위 또는 펄스의 범위에 기초하여 통신 핀에 연결할 통신 모듈의 종류를 식별하는 것을 특징으로 하는 OBD 커넥터의 핀맵 검출 기능을 갖는 진단정보 송신장치.
According to claim 1,
The control unit,
A pin map of the OBD connector, characterized in that the pin where the voltage or pulse defined for each communication module is confirmed is identified as a communication pin, but the type of communication module to be connected to the communication pin is identified based on the range of the confirmed voltage or pulse. A diagnostic information transmission device with a detection function.
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete
KR1020220064275A 2021-12-31 2022-05-25 Diagnostic information transmitting apparatus and method for detecting pinmap of OBD connector KR102676505B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020210194631 2021-12-31
KR20210194631 2021-12-31

Publications (2)

Publication Number Publication Date
KR20230103877A KR20230103877A (en) 2023-07-07
KR102676505B1 true KR102676505B1 (en) 2024-06-19

Family

ID=

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105223944A (en) * 2014-07-07 2016-01-06 联车(上海)信息科技有限公司 The vehicle data acquisition equipment of a kind of adaptive OBD II interface and the multiple automobile bus of self-adaptation and diagnosing protocol
KR102094494B1 (en) 2018-12-10 2020-03-27 한국교통안전공단 Communication Module Device for Diagnosis and Inspection on Electronic device of Automobile
CN112015156A (en) 2019-05-28 2020-12-01 上海中兴软件有限责任公司 Vehicle-mounted diagnosis device and system and detection method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105223944A (en) * 2014-07-07 2016-01-06 联车(上海)信息科技有限公司 The vehicle data acquisition equipment of a kind of adaptive OBD II interface and the multiple automobile bus of self-adaptation and diagnosing protocol
KR102094494B1 (en) 2018-12-10 2020-03-27 한국교통안전공단 Communication Module Device for Diagnosis and Inspection on Electronic device of Automobile
CN112015156A (en) 2019-05-28 2020-12-01 上海中兴软件有限责任公司 Vehicle-mounted diagnosis device and system and detection method

Similar Documents

Publication Publication Date Title
US6407554B1 (en) Diagnostic tester for electronic control devices in a variety of motor vehicle types
US7248954B2 (en) Integrated circuit vehicle diagnostics interface adapter apparatus and method
CN110716535A (en) Automobile diagnosis device, system and method
CN108445860B (en) Diagnostic apparatus, diagnostic request processing method, and computer-readable storage medium
CN105676834A (en) CAN bus interface self-matching device of on board diagnostics (OBD)
CN113242532B (en) Vehicle communication device, wiFi connection method and vehicle diagnosis system
KR102676505B1 (en) Diagnostic information transmitting apparatus and method for detecting pinmap of OBD connector
JP3211159B2 (en) Inspection method and circuit device for conductor failure in two-wire bus system
CN216956764U (en) Pin switching circuit and fault diagnosis device of OBD interface
KR20230103877A (en) Diagnostic information transmitting apparatus and method for detecting pinmap of OBD connector
CN212749624U (en) PWM output detection circuit of vehicle control unit
CN210895121U (en) Automobile diagnosis equipment and system
CN210924279U (en) Matrix driving device
CN113771779A (en) Circuit for multifunctional keys of automobile
CN216486126U (en) Vehicle fault diagnosis device and configuration bit array circuit
KR102398573B1 (en) Diagnosis appratus
CN217386202U (en) Pin switching circuit of OBD interface and vehicle fault diagnosis device
CN214278928U (en) Communication interface circuit of automobile bus communication line
CN220553227U (en) Data acquisition device of automobile teaching aid and automobile teaching aid system
CN116088459A (en) Pin switching circuit of OBD interface and fault diagnosis device
US6037779A (en) Bus isolation/diagnostic tool
CN211123710U (en) Data acquisition device and power supply unit
CN217388736U (en) Pin switching circuit of OBD interface and vehicle detection equipment
CN216486127U (en) Pin signal monitoring circuit and fault detection equipment
CN113176743B (en) CAN network physical layer diagnosis resistance self-adaptive circuit and method