KR20080022766A - Electronic control unit for vehicle - Google Patents

Electronic control unit for vehicle Download PDF

Info

Publication number
KR20080022766A
KR20080022766A KR1020060086344A KR20060086344A KR20080022766A KR 20080022766 A KR20080022766 A KR 20080022766A KR 1020060086344 A KR1020060086344 A KR 1020060086344A KR 20060086344 A KR20060086344 A KR 20060086344A KR 20080022766 A KR20080022766 A KR 20080022766A
Authority
KR
South Korea
Prior art keywords
terminal
communication
ecu
communication terminals
electronic control
Prior art date
Application number
KR1020060086344A
Other languages
Korean (ko)
Inventor
김경식
Original Assignee
주식회사 만도
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 만도 filed Critical 주식회사 만도
Priority to KR1020060086344A priority Critical patent/KR20080022766A/en
Publication of KR20080022766A publication Critical patent/KR20080022766A/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • Transportation (AREA)
  • Small-Scale Networks (AREA)

Abstract

An ECU(Electronic Control Unit) for a vehicle is provided to perform CAN(Controller Area Network) communication temporarily by adding a terminal resistor to a CAN communication line automatically when terminal resistance is unmatched between the ECUs by monitoring a terminal resistance value of the CAN communication line. Two communication terminals(81,82) are connected to a terminal port(80) of a main ECU(A). A switching part(84) is connected to two communication terminals by interposing a terminal resistor(83) to connect the terminal resistor to two communication terminals in parallel. A CPU(50) monitors a voltage level of both ends of two communication terminals, and connects or disconnects the terminal resistor from two communication terminals by switching on/off the switching part according to the monitored voltage level. A collector of the switching part is connected to one side of the terminal resistor connected to a first communication terminal and an emitter is connected to a second communication terminal, and a base is connected to the CPU. The CPU connects the terminal resistor to both ends of two communication terminals by switching on the switching part if the monitored voltage level is lower than a preset voltage level. A clock generator(70) generates a pulse to decide reference timing of the CPU.

Description

차량용 전자제어장치{ELECTRONIC CONTROL UNIT FOR VEHICLE}Automotive electronic control unit {ELECTRONIC CONTROL UNIT FOR VEHICLE}

도 1은 종래의 차량용 ECU의 캔통신 접속을 보인 개략도이다.1 is a schematic diagram showing a can communication connection of a conventional vehicle ECU.

도 2는 본 발명에 따른 ECU의 터미널저항 접속을 보인 개략도이다.2 is a schematic diagram showing a terminal resistance connection of an ECU according to the present invention.

도 3은 본 발명에 따른 ECU들의 캔통신 접속의 실시 예를 보인 접속도이다.3 is a connection diagram showing an embodiment of CAN communication connection of ECUs according to the present invention.

*도면의 주요 기능에 대한 부호의 설명** Description of the symbols for the main functions of the drawings *

A,B,C,D:ECU 40:입출력장치A, B, C, D: ECU 40: I / O Device

50:CPU 60:기억장치50: CPU 60: Memory

70:클럭발생기 80:단말포트70: clock generator 80: terminal port

81:제1통신단자 82:제2통신단자81: first communication terminal 82: second communication terminal

83:터미널저항 84:스위칭부83: terminal resistance 84: switching unit

본 발명은 차량용 전자제어장치에 관한 것으로, 더욱 상세하게는 차량에 장착되는 ECU들 간의 캔통신을 위해 ECU에 내장된 터미널저항의 매칭 문제를 해결할 수 있는 차량용 전자제어장치에 관한 것이다.The present invention relates to an electronic control apparatus for a vehicle, and more particularly, to an electronic control apparatus for a vehicle that can solve a problem of matching a terminal resistance embedded in an ECU for can communication between ECUs mounted in a vehicle.

일반적으로, 차량에 장착된 여러 ECU는 상호간에 서로 데이터를 주고받기 위 하여 통신을 하는데 이것을 캔(CAN) 통신이라 한다.In general, several ECUs mounted on a vehicle communicate with each other to exchange data with each other. This is called CAN communication.

한국 등록실용신안공보 제0286154호에는 여러 ECU간의 캔통신을 위한 접속방식이 개시되어 있다. 도 1에 도시된 바와 같이, EMS-ECU(10)와 TCU(트랙션컨트롤 ECU)(20)는 각 터미널저항(11)(21)을 내장하고 있으며, 터미널저항이 내장되지 않은 ABS-ECU(30)는 EMS-ECU(10)와 TCU(20)가 접속된 선상에 병렬로 접속되어 있다.Korean Registered Utility Model Publication No. 0286154 discloses a connection method for can communication between various ECUs. As shown in FIG. 1, the EMS-ECU 10 and the TCU (Traction Control ECU) 20 have respective terminal resistors 11 and 21 built therein, and the ABS-ECU 30 having no terminal resistors is incorporated therein. Is connected in parallel on the line to which the EMS-ECU 10 and the TCU 20 are connected.

캔통신을 하기 위해서 상호 연결되는 2개의 ECU(10)(20)는 일종의 종단장치(터미네이터)인 터미널저항(11)(21)을 내장하는데, 그 내장된 터미널저항(11)(21)은 캔통신포트 양단에 접속되어 있다. 그리고 2개 이상의 ECU가 캔통신을 할 때에는 터미널저항이 내장된 2개의 ECU(10)(20)가 접속된 선상에 터미널저항을 내장하지 않은 나머지 ECU(30)를 병렬로 접속시켜 캔통신을 한다. 여기에서 종단장치인 터미널저항은 주로 통신선상의 끝에 접속하는 것으로 통신회로 상에서 단 두 군데에만 접속된다.The two ECUs 10 and 20 which are interconnected for the CAN communication have terminal resistors 11 and 21, which are a kind of terminator (terminator), and the built-in terminal resistors 11 and 21 are cans. It is connected to both ends of the communication port. When two or more ECUs perform can communication, CAN communication is performed by connecting the remaining ECUs 30 having no terminal resistance in parallel on the line to which two ECUs 10 and 20 with built-in terminal resistances are connected. . Here, the terminal resistor, which is a terminal device, is mainly connected to the end of the communication line and is connected to only two places on the communication circuit.

그런데 종래와 같은 방식의 ECU로 캔통신을 할 경우 다음과 같은 문제점이 발생한다. 예를 들어 차량에 장착되는 ECU들 중에서 단 2개만이 터미널저항을 내장하고 있어야 하므로 2개 이상의 ECU를 접속시킬 경우 나머지 ECU는 터미널저항을 내장하지 않아야 하므로 ECU는 터미널저항이 있는 것과 없는 것을 제조하여 상황에 맞게 골라서 사용해야 한다.However, when performing can communication with the ECU of the conventional method, the following problem occurs. For example, only two ECUs mounted on a vehicle should have built-in terminal resistors, so when two or more ECUs are connected, the remaining ECUs should not have built-in terminal resistors. You should choose the right one for your situation.

그래서 동일 사양의 ECU를 이중으로 생산하고 차량에 장착시에도 이중으로 관리를 해야하는 문제점이 있었다.Therefore, there was a problem in that the ECU of the same specification is produced in duplicate and the dual management is required even when installed in the vehicle.

본 발명은 전술한 문제점을 해결하기 위한 것으로, 본 발명의 목적은 캔통신라인의 종단저항값을 모니터링하여 전자제어장치들간의 종단저항이 매칭되지 않는 경우, 캔통신라인에 종단저항을 자동 추가하여 임시 캔통신가능하게 할 수 있는 차량용 전자제어장치를 제공하는 것이다.The present invention is to solve the above problems, an object of the present invention is to monitor the terminal resistance value of the can communication line, if the termination resistance between the electronic control devices do not match, by automatically adding a terminal resistance to the can communication line It is to provide an electronic control apparatus for a vehicle that can enable temporary can communication.

전술한 목적을 달성하기 위한 본 발명의 차량용 전자제어장치는 메인 전자제어장치와의 캔통신을 위하여 캔통신라인에 접속되며 터미널저항을 내장한 단말포트를 구비하는 차량용 전자제어장치에 있어서, 상기 메인 전자제어장치의 단말포트와 접속되는 두 개의 통신단자와, 상기 터미널저항을 상기 두 개의 통신단자에 병렬로 접속시킬 수 있도록 상기 터미널저항을 개재하여 상기 두 개의 통신단자에 접속된 스위칭부와, 상기 두 개의 통신단자 양단의 전압을 모니터링하고, 모니터링된 전압에 따라 상기 스위칭부를 온 또는 오프시켜 상기 터미널저항을 상기 두 개의 통신단자 양단에 접속 또는 접속 해제시키는 중앙처리장치를 포함하는 것을 특징으로 한다.The vehicle electronic control apparatus of the present invention for achieving the above object is a vehicle electronic control apparatus connected to the can communication line for communication with the main electronic control apparatus and having a terminal port with a built-in terminal resistance. Two communication terminals connected to the terminal port of the electronic controller, a switching unit connected to the two communication terminals via the terminal resistors so as to connect the terminal resistors to the two communication terminals in parallel, and And a central processing unit for monitoring the voltage across the two communication terminals, and connecting or disconnecting the terminal resistance to both ends of the two communication terminals by turning on or off the switching unit according to the monitored voltage.

상기 스위칭부는 컬렉터단이 상기 제1통신단자에 접속된 터미널저항의 타측과 접속되며, 이미터단이 제2통신단자에 접속되며, 베이스단이 중앙처리장치에 접속되는 것을 특징으로 한다.The switching unit is characterized in that the collector terminal is connected to the other side of the terminal resistor connected to the first communication terminal, the emitter terminal is connected to the second communication terminal, the base terminal is connected to the central processing unit.

상기 중앙처리장치는 상기 모니터링된 두 개의 통신단자 양단 전압이 미리 설정된 전압보다 낮으면, 상기 스위칭부를 온 시켜 상기 터미널저항을 상기 두 개의 통신단자 양단에 접속시키고, 미리 설정된 전압보다 높으면, 상기 스위칭부를 오프시켜 상기 터미널저항을 상기 두 개의 통신단자 양단에서 접속 해제시키는 것을 특징으로 한다.The central processing unit may turn on the switching unit to connect the terminal resistance to both ends of the two communication terminals when the voltages of the two monitored communication terminals are lower than a preset voltage. And by turning off the terminal resistors at both ends of the two communication terminals.

이하에서는 본 발명의 바람직한 실시예를 본 도면을 참조하여 상세하게 설명하도록 한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.

도 2를 참조하여 본 발명에 따른 ECU(A)의 구성을 살펴보면, ECU(A)는 대표적으로 기억장치(ROM, RAM)(60), 중앙처리장치(CPU)(50), 입출력장치(I/O)(40), 클럭발생기(70), 아날로그디지털변환기(미도시), 디지털/아날로그변환기(미도시), 타 ECU와 통신을 하기 위한 단말포트(80) 등을 포함한다.Referring to the configuration of the ECU (A) according to the present invention with reference to Figure 2, ECU (A) is typically represented by a memory device (ROM, RAM) 60, a central processing unit (CPU) 50, input / output device (I) / O) 40, the clock generator 70, an analog-digital converter (not shown), a digital / analog converter (not shown), and a terminal port 80 for communicating with other ECUs.

먼저, ECU(A)의 기억장치(60)는 ROM과 RAM으로 구성되어 있으며, ROM은 읽기 전용 기억장치로 프로그램 및 차량의 정비제원 등의 고정 데이터가 저장되어 있다. 그리고 RAM은 차량의 각 센서로부터 시시각각 변화하는 데이터를 읽어 들이는데 사용된다.First, the memory device 60 of the ECU A is composed of a ROM and a RAM. The ROM is a read-only memory device in which fixed data such as programs and maintenance specifications of the vehicle are stored. RAM is used to read data that changes from time to time from each sensor in the vehicle.

그리고 ECU(A)의 중앙처리장치(CPU)(50)는 ECU(A)의 두뇌에 해당되는 것으로서 기억장치(60)에 기억되어 있는 프로그램을 실행하는 것인데, 내부적으로 연산회로, 제어회로, 레지스터회로를 포함하는데, 기억장치(60)로부터 읽어 들인 프로그램에 의하여 각종 데이터를 처리하는 장치이다.The central processing unit (CPU) 50 of the ECU A executes a program stored in the storage device 60 corresponding to the brain of the ECU A. Internally, the operation circuit, the control circuit, and the register are executed. It includes a circuit, and is a device that processes various data by a program read from the storage device 60.

또한 입출력장치(40)는 각종 센서와 액츄에이터를 중앙처리장치(50)와 연결시키는 역할을 한다. 그리고 클럭발생기(70)는 중앙처리장치(50)의 기준타이밍을 부여하기 위한 펄스를 발생시킨다. 그리고 아날로그/디지털변환기는 아날로그신호를 디지털로 변환하는 역할을 한다.In addition, the input / output device 40 serves to connect various sensors and actuators with the central processing unit 50. The clock generator 70 generates a pulse for giving a reference timing of the central processing unit 50. The analog / digital converter converts the analog signal into digital.

본 발명에 따른 전술한 ECU의 단말포트(80)는 제1통신단자(81)와 제2통신단자(82)인 2개의 단자로서 이루어지는데, 내부에 약 120Ω의 터미널저항(83)을 내장하고 있다. 단말포트(80)의 제1통신단자(81)와 제2통신단자(82)는 캔통신을 하기 위한 통신단자이다. 터미널저항(83)은 일측이 제1통신단자(81)에 접속되어 있고, 타측이 트랜지스터로 이루어진 스위칭부(84)의 컬렉터단(C)에 접속되어 있다. 이 스위칭부(84)의 이미터단(E)에는 제2통신단자(82)가 접속되어 있으며, 이 스위칭부(84)의 베이스단(B)은 중앙처리장치(CPU)(50)에 접속되어 있다.The terminal port 80 of the above-described ECU according to the present invention consists of two terminals, the first communication terminal 81 and the second communication terminal 82, and has a terminal resistance 83 of about 120 kV therein. have. The first communication terminal 81 and the second communication terminal 82 of the terminal port 80 are communication terminals for CAN communication. One end of the terminal resistor 83 is connected to the first communication terminal 81, and the other end thereof is connected to the collector terminal C of the switching unit 84 made of a transistor. The second communication terminal 82 is connected to the emitter terminal E of the switching unit 84, and the base terminal B of the switching unit 84 is connected to the central processing unit (CPU) 50. have.

즉, 터미널저항(83)을 통신단자(81)(82)사이에 접속시키기 위해서는 스위칭부(84)를 온 시키고, 터미널저항(83)을 통신단자(81)(82)사이에 접속 해제시키기 위해서는 스위칭부(84)를 오프시킨다.That is, in order to connect the terminal resistor 83 between the communication terminals 81 and 82, the switching unit 84 is turned on, and the terminal resistor 83 is disconnected between the communication terminals 81 and 82. The switching unit 84 is turned off.

중앙처리장치(50)는 두 개의 통신단자(81)(82) 양단의 전압을 모니터링하여 미리 설정된 전압보다 낮으면, 스위칭부(83)를 온 시켜 터미널저항(84)을 두 개의 통신단자(81)(82) 양단에 접속시키고, 미리 설정된 전압보다 높으면, 스위칭부(83)를 오프시켜 터미널저항(84)을 두 개의 통신단자(81)(82) 양단에서 접속 해제시킨다.The central processing unit (50) monitors the voltage across the two communication terminals (81) and (82) and when the voltage is lower than the preset voltage, turns on the switching unit (83) to turn on the terminal resistor (84) to the two communication terminals (81). If both ends are connected, and the voltage is higher than the preset voltage, the switching unit 83 is turned off to disconnect the terminal resistors 84 from the two communication terminals 81 and 82.

이하에서는 도 3을 참조하여 실시예로서 본 발명이 적용된 차량의 메인ECU(B)와 서브 ECU(C,D) 즉, 트랙션컨트롤ECU(C)(이하 TCU라 칭함) 그리고 ABS-ECU(D)의 캔통신 접속을 설명하며 ECU 내부구성은 도시하지 않았다.Hereinafter, the main ECU (B) and the sub ECU (C, D), that is, the traction control ECU (C) (hereinafter referred to as TCU) and the ABS-ECU (D) of the vehicle to which the present invention is applied as an embodiment with reference to FIG. 3. The CAN internal communication is described and the ECU internal configuration is not shown.

먼저, 차량에 이용되는 ECU들 중에서 메인ECU(B)에는 차량의 각종 센서(미도시)가 접속되어 있는데, 그 센서들로부터 입력되는 신호에 의하여 차량의 상태를 파악하고 다양한 액츄에이터(미도시)를 제어한다. 그리고 TCU(C)는 트랙션컨트롤을 하는 ECU로서 차량주행시 구동륜의 슬립률을 제어하여 충분한 코너링포스와 구동력을 확보하여 안전주행을 하도록 하는 역할을 한다. 또한 ABS-ECU(D)는 차륜센서로(미도시)부터 차륜속도를 감지하고 감지된 차륜속도에 따라 슬립률을 산출하고, 그 슬립률에 의하여 각 차륜의 브레이크유압을 제어하여 최적을 제동을 하는 역할을 한다.First, among the ECUs used in the vehicle, various sensors (not shown) of the vehicle are connected to the main ECU B, and the state of the vehicle is determined by signals input from the sensors, and various actuators (not shown) are connected. To control. In addition, the TCU (C) is a ECU that performs traction control and controls the slip ratio of the driving wheels while driving the vehicle to secure sufficient cornering force and driving force to drive safely. In addition, ABS-ECU (D) detects the wheel speed from the wheel sensor (not shown), calculates the slip ratio according to the detected wheel speed, and controls the brake hydraulic pressure of each wheel based on the slip ratio for optimal braking. It plays a role.

한편 전술한 각 ECU(B)(C)(D)들은 ECU 상호간의 정보교환을 위하여 데이터를 주고받는데 이것을 캔통신이라 한다.Meanwhile, each of the above-described ECUs (B) (C) (D) exchanges data for information exchange between ECUs, which is called can communication.

캔통신을 하기 위해서는 각 ECU(B)(C)(D)들은 단말포트(Terminal port)(110)(120)(130)를 통하여 상호접속이 되어있어야 하는데, 다수의 ECU가 캔통신을 할 경우 접속된 다수의 ECU중에서 두 개의 ECU의 단말포트에는 종단장치인 터미널저항이 접속되어 있어야 한다.In order to perform can communication, each ECU (B) (C) (D) must be interconnected through terminal ports 110, 120 and 130. Of the connected ECUs, the terminal resistor of the terminating device should be connected to the terminal port of two ECUs.

전술하였다시피 각 ECU(B)(C)(D)들이 캔통신을 하기 위해서는 단말포트(110)(120)(130)의 통신단자가 상호 접속되어야 한다. 메인ECU(B)와 TCU(C)가 캔통신의 주접속을 이룰 때에는, 먼저, 메인ECU(B) 단말포트(110)의 제1통신단자(111)는 TCU(C) 단말포트(120)의 제1통신단자(121)와 전기적으로 접속되며, 메인ECU(B) 단말포트(110)의 제2통신단자(112)는 TCU(C) 단말포트(120)의 제2통신단자(122)와 전기적으로 접속된다. 이로서 메인ECU(B)와 TCU(C)는 캔통신을 하면서 데이터를 주고받을 수 있다.As described above, in order for CAN (B) (C) (D) to communicate with each other, communication terminals of terminal ports 110, 120, and 130 must be connected to each other. When the main ECU (B) and the TCU (C) make the main connection of the CAN communication, first, the first communication terminal 111 of the main ECU (B) terminal port 110 is the TCU (C) terminal port 120. Is electrically connected to the first communication terminal 121 of the second communication terminal 112 of the main ECU (B) terminal port 110, the second communication terminal 122 of the TCU (C) terminal port 120 Is electrically connected to the Thus, the main ECU (B) and the TCU (C) can exchange data while performing can communication.

그런데 캔통신 주접속인 메인ECU(B)와 TCU(C)의 캔통신 선로상에는 종단장치 인 터미널저항이 접속되어야 하므로 메인ECU(B)와 TCU(C)의 단말포트(110)(120)에 각각 내장되어 있는 터미널저항(114)(124)을 각각의 스위칭부(113)(123)를 온 시켜 접속시킨다.However, the terminal resistor, which is an end device, must be connected on the CAN communication line of the main ECU (B) and the TCU (C), which are the main communication of the CAN communication, The built-in terminal resistors 114 and 124 are connected to each of the switching units 113 and 123 by turning them on.

먼저 메인ECU(B)의 내부에 내장된 터미널저항(114)을 내부적으로 통신단자(111)(112)사이에 접속시키기 위해서는 메인ECU(B) 단말포트(110)의 스위칭부(113)를 온 시켜 접속한다. 그러면 메인ECU(B)와 TCU(C)의 캔통신 선로상에서 메인ECU(B)측의 터미널저항(114)이 접속되어 메인ECU(B)의 종단장치 접속이 완료된다.First, in order to internally connect the terminal resistor 114 embedded in the main ECU (B) between the communication terminals 111 and 112, turn on the switching unit 113 of the main ECU (B) terminal port 110. To connect. Then, the terminal resistor 114 of the main ECU (B) side is connected on the CAN communication line of the main ECU (B) and the TCU (C) to complete the connection of the terminal device of the main ECU (B).

그리고 역시 TCU(C)의 내부에 내장된 터미널저항(125)을 내부적으로 통신단자(121)(122)사이에 접속시키기 위해서는 TCU(C) 단말포트(120)의 스위칭부(123)를 온 시켜 접속한다. 그러면 TCU(C)와 메인ECU(B)의 캔통신 선로상에서 TCU(C)측의 터미널저항(124)이 접속되어 TCU(C)의 종단장치 접속이 완료된다.Also, in order to connect the terminal resistor 125 embedded in the TCU (C) internally between the communication terminals 121 and 122, the switching unit 123 of the TCU (C) terminal port 120 is turned on. Connect. Then, the terminal resistor 124 of the TCU (C) side is connected on the CAN communication line of the TCU (C) and the main ECU (B), and the terminal device connection of the TCU (C) is completed.

그에 따라서 메인ECU(B)와 TCU(C)는 상호 캔통신이 가능하게 된다.Accordingly, the main ECU B and the TCU C can communicate with each other.

하지만, 사용자의 실수에 인해 TCU(C)의 스위칭부(123)이 온 되지 않아 터미널저항(124)이 캔통신라인에 접속되지 않는 경우가 있는데, 이를 위해 메인ECU(B)와 TCU(C)와의 캔통신시 TCU(C)는 캔통신라인의 양단전압을 모니터링하여 미리 설정된 전압보다 높으면, 캔통신이 가능한 것으로 인식하고, 미리 설정된 전압보다 낮으면, 캔통신이 불가능한 것으로 인식한다. 이때, TCU(C)는 모니터링된 캔통신라인의 양단전압이 미리 설정된 전압보다 낮아, 캔통신이 불가능한 것으로 인식되면, 스위칭부(123)를 온 시켜 터미널저항(124)을 캔통신라인에 접속시킨다.However, there is a case in which the terminal resistor 124 is not connected to the can communication line because the switching unit 123 of the TCU (C) is not turned on due to a mistake of the user. For this purpose, the main ECU (B) and the TCU (C) During can communication with the TCU (C) monitors the voltage across the can communication line, if the voltage is higher than the preset voltage, the can communication is possible, and if it is lower than the preset voltage, can communication is recognized as impossible. At this time, the TCU (C) when the voltage across the monitored can communication line is lower than the preset voltage, and the can communication is recognized as impossible, turn on the switching unit 123 to connect the terminal resistor 124 to the can communication line. .

한편, 메인ECU(B)와 TCU(C)가 접속된 캔통신 선로상에 또 다른 ECU를 접속하여 캔통신을 하기 위해서는 그 접속되는 ECU에서는 종단장치 즉, 터미널저항이 필요 없다.On the other hand, in order to perform can communication by connecting another ECU on the can communication line to which the main ECU B and TCU C are connected, the connected ECU does not need a terminator, that is, a terminal resistor.

다시 말해 전술한 메인ECU(B)와 TCU(C)가 접속된 캔통신 선로상에 ABS-ECU(D)를 접속시키고자 한다면 ABS-ECU(D)의 단말포트(130)에서는 종단장치인 터미널저항(135)을 통신단자(131)(134)사이에 접속시키지 않는다.In other words, if you want to connect the ABS-ECU (D) on the can communication line to which the main ECU (B) and the TCU (C) described above is connected to the terminal terminal 130 of the terminal port 130 of the ABS-ECU (D) The resistor 135 is not connected between the communication terminals 131 and 134.

메인ECU(B)와 TCU(C)가 접속된 캔통신 선로상에 ABS-ECU(D)를 접속시키기 위해서는, 먼저 메인ECU(B) 단말포트(110)의 제1통신단자(111)와 TCU(C) 단말포트(120)의 제1통신단자(121)가 상호 접속된 선로상에 ABS-ECU(D) 단말포트(130)의 제1통신단자(131)를 전기적으로 접속시킨다. 그리고 메인ECU(B) 단말포트(110)의 제2통신단자(114)와 TCU(C) 단말포트(120)의 제2통신단자(122)가 상호 접속된 선로상에 ABS-ECU(D) 단말포트(130)의 제2통신단자(132)를 전기적으로 접속시킨다. 그러면 메인ECU(B)와 TCU(C) 그리고 ABS-ECU(D)는 서로 캔통신을 하면서 데이터를 주고받을 수 있다.In order to connect the ABS-ECU (D) on the CAN communication line to which the main ECU (B) and the TCU (C) are connected, first, the first communication terminal 111 and the TCU of the main ECU (B) terminal port 110 are connected. (C) The first communication terminal 131 of the ABS-ECU (D) terminal port 130 is electrically connected to the line where the first communication terminal 121 of the terminal port 120 is interconnected. And the ABS-ECU (D) on the line where the second communication terminal 114 of the main ECU (B) terminal port 110 and the second communication terminal 122 of the TCU (C) terminal port 120 are interconnected. The second communication terminal 132 of the terminal port 130 is electrically connected. Then, the main ECU (B), the TCU (C) and the ABS-ECU (D) can exchange data while communicating with each other.

그런데 이때 메인ECU(B)와 TCU(C)에 이미 종단장치인 터미널저항이 접속되어 있으므로 ABS-ECU(D)의 통신단자(131)(134)사이에는 터미널저항(134)이 접속되면 캔통신이 정상적으로 이루어지지 않는다. 따라서, ABS-ECU(D)는 단말포트(130)의 스위칭부(133)를 오프시킨다. 그러면 ABS-ECU(D) 단말포트(130)에 내장된 터미널저항(135)은 통신단자(131)(134)사이에 접속되지 않아 사용되지 않는다.At this time, since the terminal resistor, which is a terminal device, is already connected to the main ECU (B) and the TCU (C), when the terminal resistor 134 is connected between the communication terminals 131 and 134 of the ABS-ECU (D), the can communication is performed. This is not done normally. Therefore, the ABS-ECU (D) turns off the switching unit 133 of the terminal port 130. Then, the terminal resistor 135 embedded in the ABS-ECU (D) terminal port 130 is not used because it is not connected between the communication terminals 131 and 134.

하지만, 사용자의 실수로 인해 ABS-ECU(D)의 캔통신라인에 터미널저항(123) 이 접속된 채로 연결된 경우에는 캔통신이 정상적으로 이루어지지 않는다. 이를 위해 ABS-ECU(D)는 캔통신라인의 양단전압을 모니터링하고, 모니터링된 캔통신라인의 양단전압이 미리 설정된 전압보다 높아, 캔통신이 가능한 것으로 인식되면, 스위칭부(123)을 오프시켜 터미널저항(124)을 캔통신라인에 접속 해제시킨다.However, when the terminal resistor 123 is connected to the can communication line of the ABS-ECU (D) due to a mistake of the user, the can communication is not normally performed. To this end, the ABS-ECU (D) monitors the voltage across the can communication line, and if the voltage across the monitored can communication line is higher than a preset voltage, and it is recognized that the can communication is possible, the switching unit 123 is turned off. The terminal resistor 124 is disconnected from the can communication line.

또한 전술한 3개의 ECU(B)(C)(D)가 상호 접속되어 있는 캔통신 선로상에 또 다른 ECU를 접속시킬 때도 마찬가지로 단말포트의 스위칭부를 오프시켜 해당 ECU 단말포트의 제1통신단자와 제2통신단자 사이에 터미널저항을 접속시키지 않는다.In addition, when another ECU is connected on the CAN communication line to which the above-described three ECUs (B) (C) and (D) are connected, the switching part of the terminal port is similarly turned off so that the first communication terminal of the corresponding ECU terminal port is turned off. Do not connect terminal resistors between the second communication terminals.

한편 전술한 실시예에서 메인ECU(B)와 TCU(C)의 터미널 저항(124)을 접속시키는 것 대신에 메인ECU(B)와 ABS-ECU(D)의 터미널저항(134)을 접속시킨다고 가정하면 다음과 같다.On the other hand, suppose that in the above-described embodiment, instead of connecting the terminal resistors 124 of the main ECU (B) and the TCU (C), the terminal resistors 134 of the main ECU (B) and the ABS-ECU (D) are connected. Is as follows.

일단 전술한 접속관계에서 각 ECU(B)(C)(D) 단말포트의 통신단자들의 상호 접속은 그대로 유지시키고 TCU(C) 단말포트(120)의 스위칭부(123)를 오프시켜 터미널저항(124)을 통신단자(121)(122)사이에서 접속 해제시킨다.First, in the above-described connection relationship, the interconnection of the communication terminals of each of the ECU (B) (C) (D) terminal ports is maintained as it is, and the switching unit 123 of the TCU (C) terminal port 120 is turned off to turn off the terminal resistance ( The connection 124 is disconnected between the communication terminals 121 and 122.

그에 반해서, ABS-ECU(D) 단말포트(130)의 스위칭부(134)를 온 시켜 터미널저항(133)을 통신단자(131)(132)사이에 접속시킨다.In contrast, the switching unit 134 of the ABS-ECU (D) terminal port 130 is turned on to connect the terminal resistor 133 between the communication terminals 131 and 132.

그리하여 캔통신 선로상의 단 두 곳에서만 종단장치인 터미널저항이 접속된다.Thus, only two places on the CAN communication line are connected terminal resistors.

이상에서 상세히 설명한 바와 같이, 본 발명은 메인 ECU에 캔통신라인에 의해 접속된 서브 ECU에 캔통신라인의 양단에 터미널저항을 스위칭부를 온 또는 오프 함에 따라 접속 또는 접속 해제가능 하도록 마련하고, 캔통신라인의 양단 전압을 모니터링하여 양단 전압이 미리 설정된 전압보다 낮으면, 해당 ECU의 터미널 저항을 접속 해제시켜 메인 ECU와의 임시 캔통신이 가능하도록 할 수 있는 효과가 있다.As described above in detail, the present invention provides a sub-ECU connected to the main ECU by a can communication line so as to be connected or disconnected by turning on or off a terminal resistor at both ends of the can communication line. If the voltage at both ends of the line is monitored and the voltage at both ends is lower than the preset voltage, the terminal resistor of the ECU can be disconnected to enable temporary can communication with the main ECU.

Claims (3)

메인 전자제어장치와의 캔통신을 위하여 캔통신라인에 접속되며 터미널저항을 내장한 단말포트를 구비하는 차량용 전자제어장치에 있어서,In a vehicle electronic control device having a terminal port connected to the can communication line for the can communication with the main electronic control device and having a terminal resistance built-in, 상기 메인 전자제어장치의 단말포트와 접속되는 두 개의 통신단자와,Two communication terminals connected to a terminal port of the main electronic controller; 상기 터미널저항을 상기 두 개의 통신단자에 병렬로 접속시킬 수 있도록 상기 터미널저항을 개재하여 상기 두 개의 통신단자에 접속된 스위칭부와,A switching unit connected to the two communication terminals via the terminal resistors so that the terminal resistors can be connected to the two communication terminals in parallel; 상기 두 개의 통신단자 양단의 전압을 모니터링하고, 모니터링된 전압에 따라 상기 스위칭부를 온 또는 오프시켜 상기 터미널저항을 상기 두 개의 통신단자 양단에 접속 또는 접속 해제시키는 중앙처리장치를 포함하는 것을 특징으로 하는 차량용 전자제어장치.And a central processing unit for monitoring voltages across the two communication terminals and connecting or disconnecting the terminal resistors to both ends of the two communication terminals by turning on or off the switching unit according to the monitored voltage. Automotive electronic control device. 제1항에 있어서, 상기 스위칭부는 컬렉터단이 상기 제1통신단자에 접속된 터미널저항의 타측과 접속되며, 이미터단이 제2통신단자에 접속되며, 베이스단이 중앙처리장치에 접속되는 것을 특징으로 하는 차량용 전자제어장치.The method of claim 1, wherein the switching unit is a collector terminal is connected to the other side of the terminal resistor connected to the first communication terminal, the emitter terminal is connected to the second communication terminal, the base terminal is connected to the central processing unit Vehicle electronic control device. 제1항에 있어서, 상기 중앙처리장치는 상기 모니터링된 두 개의 통신단자 양단 전압이 미리 설정된 전압보다 낮으면, 상기 스위칭부를 온 시켜 상기 터미널저항을 상기 두 개의 통신단자 양단에 접속시키고, 미리 설정된 전압보다 높으면, 상기 스위칭부를 오프시켜 상기 터미널저항을 상기 두 개의 통신단자 양단에서 접속 해제시키는 것을 특징으로 하는 차량용 전자제어장치.The method of claim 1, wherein the central processing unit, if the voltage of both the monitored two communication terminals is lower than the predetermined voltage, the switching unit is turned on to connect the terminal resistance to both ends of the two communication terminals, the predetermined voltage If higher, the electronic control device for a vehicle, characterized in that by switching off the switch to disconnect the terminal resistance at both ends of the two communication terminals.
KR1020060086344A 2006-09-07 2006-09-07 Electronic control unit for vehicle KR20080022766A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060086344A KR20080022766A (en) 2006-09-07 2006-09-07 Electronic control unit for vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060086344A KR20080022766A (en) 2006-09-07 2006-09-07 Electronic control unit for vehicle

Publications (1)

Publication Number Publication Date
KR20080022766A true KR20080022766A (en) 2008-03-12

Family

ID=39396587

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060086344A KR20080022766A (en) 2006-09-07 2006-09-07 Electronic control unit for vehicle

Country Status (1)

Country Link
KR (1) KR20080022766A (en)

Similar Documents

Publication Publication Date Title
US6587968B1 (en) CAN bus termination circuits and CAN bus auto-termination methods
US6392315B1 (en) Compensation circuit for an automotive ignition sensing system
KR20200026996A (en) How sensor devices work in the DS-based protocol
US20140129079A1 (en) Universal vehicle input/output transceiver and method of operation thereof
US10880115B2 (en) Method for performing a data communication
JPH11108980A (en) Inspection method and circuit device for trouble in 2-wire bus system
KR20080022766A (en) Electronic control unit for vehicle
JPH11283456A (en) Switch, information detection device having the same, and connected state detection device for connector
KR200286154Y1 (en) Automotive electronic control device with terminal resistor connection control
JP2000165415A (en) Controller in can communication system
CN108418301A (en) A kind of automatic switch-over circuit of dual power supply input
US8457853B2 (en) Circuit configuration for a serial communication with wake up function
JP2009515089A (en) Glow plug unit and drive system for multiple glow plug units
US7239235B2 (en) Non-contact sensor idle validation switch
CN112835312A (en) General high-low level configurable digital signal acquisition circuit of vehicle control unit
US8362763B2 (en) Circuit assembly and method for programming a hall sensor having an upstream controller
US8081652B2 (en) Integrated universal input-output interface circuit
JP4453616B2 (en) Electronic control device, communication system, and surge absorbing element inspection method
CN104380675B (en) Electronic control unit with configurable line terminal
JP3765526B2 (en) Electrical component load disconnection detection device using in-vehicle communication network
WO2018137764A1 (en) Converter circuit for a two-voltage motor vehicle network, two-voltage motor vehicle network and motor vehicle
US20240013648A1 (en) Ground short failure detection device and node device
US7511651B1 (en) Interface for multiple receivers and a resistor ladder
JP2002051088A (en) Transmitting/receiving unit for two-wire bus
CN115249853A (en) Monitoring device for a battery module, battery system and method for a battery system

Legal Events

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