KR20100036803A - A controlling apparatus for can communication - Google Patents
A controlling apparatus for can communication Download PDFInfo
- Publication number
- KR20100036803A KR20100036803A KR1020080096190A KR20080096190A KR20100036803A KR 20100036803 A KR20100036803 A KR 20100036803A KR 1020080096190 A KR1020080096190 A KR 1020080096190A KR 20080096190 A KR20080096190 A KR 20080096190A KR 20100036803 A KR20100036803 A KR 20100036803A
- Authority
- KR
- South Korea
- Prior art keywords
- control device
- voltage value
- communication
- battery
- range
- Prior art date
Links
Images
Classifications
-
- 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
- H04L12/40006—Architecture of a communication node
- H04L12/40039—Details regarding the setting of the power status of a node according to activity on the bus
-
- 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/40215—Controller Area Network CAN
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Electric Propulsion And Braking For Vehicles (AREA)
Abstract
Description
본 발명은 캔 통신을 통해 다른 제어장치와 캔 메시지를 통신하는 제어장치에 관한 것이다.The present invention relates to a control device for communicating a can message with another control device through can communication.
일반적으로 ECU(Engine Control Unit), MCU(Motor Control Unit) 및 HCU(Hybrid Control Unit) 등의 캔 통신용 제어장치는 캔 통신을 통해 다른 제어장치와 캔 메시지를 주기적으로 통신한다.In general, a control device for can communication such as an ECU (Engine Control Unit), a MCU (Motor Control Unit) and a Hybrid Control Unit (HCU) periodically communicates a can message with another control device through can communication.
도 1은 일반적인 제어장치들이 캔 통신 라인으로 연결된 모습을 나타내는 블록도이다.1 is a block diagram illustrating a general control device connected to a can communication line.
제어장치(FATC) 및 다른 제어장치(ECU) 간에 캔 통신 라인의 단선 또는 단락으로 인해 통신이 두절되게 되면 상기 제어장치는 대응되는 다른 제어장치로부터 캔 메시지를 전달받지 못하게 된다.If communication is lost due to disconnection or short circuit of the CAN communication line between the control unit FATC and the other control unit ECU, the control unit may not receive the can message from the corresponding other control unit.
이에 상기 제어장치는 설정 시간 예컨대 10ms 동안 대응되는 다른 제어장치로부터 캔 메시지를 전달받지 못하게 되면 상기 다른 제어장치를 타임아웃(time out)이 발생한 것으로 간주하고 타임아웃 에러코드를 메모리에 저장한다.Accordingly, if the control device fails to receive the CAN message from another control device corresponding to the set time, for example, 10 ms, the control device regards the other control device as a timeout and stores a timeout error code in the memory.
그러나 상기 제어장치에 14V의 동작전원을 공급하는 배터리는 충전 및 방전 상태가 매번 상이하다. 이에 배터리의 충전상태가 좋지 못해 차량의 시동 시 배터리에 전압강하가 발생하면 제어장치들 중 특정 제어장치의 구성부품들의 스펙 상 동작 가능한 전압보다 낮은 전압을 공급할 수 있다. 이러면 상기 특정 제어장치가 제대로 동작되지 않는 경우가 발생할 수 있다.However, the battery which supplies the operating power of 14V to the control device has a different state of charge and discharge each time. Therefore, when the battery is poorly charged and a voltage drop occurs in the battery when the vehicle is started, it is possible to supply a voltage lower than the operable voltage according to the specifications of the components of a specific control device among the control devices. In this case, the specific control device may not operate properly.
이에 따라 캔 통신라인에는 문제가 없고 배터리의 공급전압에 문제가 있지만 실제 상기 특정 제어장치와 통신하는 다른 제어장치에는 상기 특정 제어장치에 대한 캔 통신 타임아웃 에러코드가 저장되는 문제점이 있다.Accordingly, there is no problem in the can communication line and a problem in the supply voltage of the battery, but there is a problem in that a can communication timeout error code for the specific control device is stored in another control device that actually communicates with the specific control device.
본 발명은 배터리로부터 공급받은 전압 값이 차량에 존재하는 모든 제어장치의 동작 가능한 전압 값의 범위 내이면 캔 통신에 대한 타임아웃을 판별하는 캔 통신용 제어장치를 제공하고자 한다.An object of the present invention is to provide a control device for can communication that determines a timeout for can communication when the voltage value supplied from the battery is within a range of operable voltage values of all control devices present in the vehicle.
또한 본 발명은 배터리로부터 공급받은 전압 값이 차량에 존재하는 모든 제어장치의 동작 가능한 전압 값의 범위 밖이면 별도의 과전압 또는 저전압 에러메시지를 생성하는 캔 통신용 제어장치를 제공하고자 한다.The present invention also provides a control device for can communication that generates a separate overvoltage or undervoltage error message if the voltage value supplied from the battery is outside the range of the operable voltage values of all the control devices present in the vehicle.
본 발명의 캔 통신용 제어장치는 차량에 존재하는 제어장치들이 공통적으로 동작 가능한 전압의 범위가 기록된 메모리; 배터리로부터 공급되는 전압 값을 측정하는 전압측정부; 대응되는 다른 제어장치와 캔 메시지를 통신하는 통신부; 및 상기 배터리로부터 공급되는 전압 값이 상기 공통적으로 동작 가능한 전압 값의 범위에 포함되면 상기 다른 제어장치에 대한 타임아웃(time out)을 체크하는 제어부를 포함한다.The control device for can communication of the present invention includes a memory in which a range of voltages in which control devices existing in a vehicle can be commonly operated is recorded; A voltage measuring unit measuring a voltage value supplied from a battery; A communication unit communicating a CAN message with a corresponding other control device; And a controller for checking a time out for the other controller when the voltage value supplied from the battery is included in the range of the commonly operable voltage value.
여기서 본 발명의 상기 제어부는 상기 배터리로부터 공급되는 전압 값이 상기 공통적인 동작 가능한 전압 값의 범위에 포함되지 않으면 상기 대응되는 제어장치 간의 캔 메시지에 대한 타임아웃을 체크하지 않고 해당 시각에 대한 과전압 또는 저전압 에러메시지를 상기 메모리에 저장한다.Here, the control unit of the present invention does not check the timeout for the can message between the corresponding control device if the voltage value supplied from the battery is not included in the range of the common operable voltage value or the overvoltage for the corresponding time or A low voltage error message is stored in the memory.
한편 본 발명의 상기 제어부는 상기 통신부에 상기 대응되는 제어장치로부터 설정 시간 동안 캔 메시지를 수신하지 않으면 이를 타임아웃으로 판별한다.Meanwhile, the control unit of the present invention determines that the communication unit does not receive the CAN message for a predetermined time from the corresponding control device as a timeout.
본 발명의 캔 통신용 제어장치는 배터리로부터 공급되는 전압 값이 상기 공통적인 동작 가능한 전압 값의 범위에 포함되면 상기 대응되는 제어장치에 대한 타임아웃(time out)을 체크한다. 따라서 특정 제어장치에 동작 불가능한 전압이 공급되어 상기 특정 제어장치와 캔 통신하는 다른 제어장치에서 타임아웃 에러코드가 남발되는 것을 방지하는 효과를 제공한다.The control device for can communication of the present invention checks a time out for the corresponding control device if the voltage value supplied from the battery falls within the range of the common operable voltage value. Therefore, an inoperable voltage is supplied to a specific control device, thereby providing an effect of preventing a timeout error code from being overwritten by another control device in can communication with the specific control device.
우선 본 발명의 캔 통신용 제어장치는 차량의 내부에 존재하되 CAN 통신을 이용하여 서로 CAN 메시지를 통신하는 모든 장치들을 통칭한다. 이러한 캔 통신용 제어장치로는 ECU(Engine Control Unit), MCU(Motor Control Unit), HCU(Hybrid Control Unit), 클러스터, ABS(Anti-lock Brake System), BMS(Battery Management System), TCU(Transmission Control Unit), FATC(Full Auto Temperature Control) 등을 포함한다. 이러한 상기 제어장치들은 서로 캔 통신라인으로 연결되어 있으며 배터리(20)로부터 동일한 값의 동작전원을 공급받는다.First, the CAN communication control apparatus of the present invention collectively refers to all devices existing inside the vehicle and communicating CAN messages with each other using CAN communication. Control devices for can communication such as ECU (Engine Control Unit), MCU (Motor Control Unit), HCU (Hybrid Control Unit), Cluster, Anti-lock Brake System (ABS), Battery Management System (BMS), Transmission Control Unit), FATC (Full Auto Temperature Control), and the like. These control devices are connected to each other in a can communication line and are supplied with the same value of operating power from the
이하, 첨부된 도면을 참조하여 본 발명의 실시를 위한 구체적인 내용을 설명한다.Hereinafter, with reference to the accompanying drawings will be described specific details for the practice of the invention.
도 2는 본 발명의 캔 통신용 제어장치(10)의 구성을 나타내는 블록도이다.2 is a block diagram showing the configuration of the
도 2에 도시된 바와 같이, 본 발명의 캔 통신용 제어장치(10)는 메모리(12), 전압측정부(14), 통신부(16) 및 제어부(18) 등을 포함한다.As shown in FIG. 2, the
메모리(12)는 차량에 존재하는 제어장치들의 공통적인 동작 가능한 전압의 범위가 기록된다. 예를 들어 ECU의 동작 가능한 전압의 범위는 6∼15V고, MCU의 동작 가능한 전압의 범위는 10∼12V며, ABS의 동작 가능한 전압의 범위가 3∼12V면 이들 제어장치들의 공통적인 동작 가능한 전압의 범위는 10∼12V임을 알 수 있다. 상기 제어장치의 동작 가능한 전압의 범위란 상기 제어장치에 사용되는 각종 부품들의 스펙 상 동작 가능한 전압의 범위을 말한다.The
그리고 상기 메모리(12)부에는 후술하는 제어부(18)에 의해 생성된 타임아웃 에러코드와, 과전압 또는 저전압 에러메시지가 더 저장될 수 있다.The
한편 전압측정부(14)는 배터리(20)로부터 공급되는 전압 값을 측정한다.Meanwhile, the
한편 통신부(16)는 대응되는 다른 제어장치와 캔 메시지를 통신한다. 예컨대 ECU 및 ABS는 시동 또는 키 온 이후 예컨대 10ms 간격으로 브레이크 관련 캔 메시지를 주고받을 수 있다.Meanwhile, the
한편 제어부(18)는 상기 배터리(20)로부터 공급되는 전압 값을 상기 공통적인 동작 가능한 전압 값과 서로 비교하여, 상기 배터리(20)로부터 공급되는 전압 값이 상기 공통적인 동작 가능한 전압 값의 범위에 포함되는지 여부를 판단한다. Meanwhile, the
여기서 상기 제어부(18)는 상기 배터리(20)로부터 공급되는 전압 값이 상기 공통적인 동작 가능한 전압 값의 범위에 포함되면 상기 대응되는 제어장치로부터 캔 메시지를 설정 시간 내에 수신하는지 여부를 판단한다. 상기 제어부(18)는 상기 대응되는 제어장치로부터 설정 시간 동안 캔 메시지를 수신하지 않으면 이를 타임 아웃으로 판별하고 타임아웃 에러코드를 메모리(12)부에 저장한다. 물론 상기 제어부(18)는 상기 대응되는 제어장치로부터 설정 시간 이내에 캔 메시지를 수신하면 상기 대응되는 제어장치는 정상동작으로 간주한다.Herein, when the voltage value supplied from the
한편 상기 제어부(18)는 상기 배터리(20)로부터 공급되는 전압 값이 상기 공통적인 동작 가능한 전압 값의 범위에 포함되지 않으면 상기 대응되는 제어장치 간의 캔 메시지에 대한 타임아웃을 체크하지 않는다. 이 경우 상기 제어부(18)는 배터리(20)로부터 공급되는 전압 값이 상기 공통적인 동작 가능한 전압 값의 범위에 포함되지 않는 시간에 대한 과전압 또는 저전압 에러메시지를 상기 메모리(12)에 저장한다.Meanwhile, the
이하 본 발명의 캔 통신용 제어장치(10)의 동작을 설명한다.The operation of the can
도 3은 본 발명의 캔 통신용 제어장치의 동작을 나타내는 순서도이다.3 is a flowchart showing the operation of the control device for can communication of the present invention.
도 3에 도시된 바와 같이, 우선 차량이 운전자에 의해 키 온 또는 시동되면 배터리(20)는 제어장치들로 동작전원을 공급한다(S100).As shown in FIG. 3, first, when a vehicle is keyed on or started by a driver, the
이어서 제어부(18)는 배터리(20)로부터 공급되는 전압 값을 측정한다(S102).Subsequently, the
이어서 상기 제어부(18)는 상기 배터리(20)로부터 공급되는 전압 값이 상기 공통적인 동작 가능한 전압 값의 범위에 포함되는지 여부를 판단한다(S104).Subsequently, the
상기 S104에서 상기 제어부(18)는 상기 배터리(20)로부터 공급되는 전압 값이 상기 공통적인 동작 가능한 전압 값의 범위에 포함되면 대응되는 제어장치로부터 캔 메시지의 수신시각을 카운트한다(S106).If the voltage value supplied from the
이어서 상기 제어부(18)는 캔 메시지의 수신시각을 기 설정 시간과 비교한다(S108).Subsequently, the
이어서 상기 제어부(18)는 캔 메시지의 수신시각이 기 설정 시간을 초과하면 제어장치에 대해 타임아웃으로 체크하고 타임아웃 에러코드를 메모리(12)에 저장한다(S110).Subsequently, when the reception time of the can message exceeds the preset time, the
한편 상기 S104에서 상기 제어부(18)는 상기 배터리(20)로부터 공급되는 전압 값이 상기 공통적인 동작 가능한 전압 값의 범위에 포함되지 않으면 과전압 또는 저전압 에러메시지를 상기 메모리(12)에 저장한다(S105).Meanwhile, in S104, the
이상, 본 발명은 비록 한정된 구성과 도면에 의해 설명되었으나, 본 발명의 기술적 사상은 이러한 것에 한정되지 않으며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해, 본 발명의 기술적 사상과 하기 기재될 특허청구범위의 균등범위 내에서 다양한 수정 및 변형 실시가 가능할 것이다.As mentioned above, although the present invention has been described by means of a limited configuration and drawings, the technical idea of the present invention is not limited to the above, and by those skilled in the art to which the present invention pertains, Various modifications and variations may be made without departing from the scope of the appended claims.
도 1은 일반적인 제어장치들이 캔 통신 라인으로 연결된 모습을 나타내는 블록도.1 is a block diagram showing a general controller connected to the can communication line.
도 2는 본 발명의 캔 통신용 제어장치의 구성을 나타내는 블록도.2 is a block diagram showing the configuration of a control device for can communication of the present invention;
도 3은 본 발명의 캔 통신용 제어장치의 동작을 나타내는 순서도.Figure 3 is a flow chart showing the operation of the control device for can communication of the present invention.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080096190A KR101417111B1 (en) | 2008-09-30 | 2008-09-30 | A controlling apparatus for can communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080096190A KR101417111B1 (en) | 2008-09-30 | 2008-09-30 | A controlling apparatus for can communication |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20100036803A true KR20100036803A (en) | 2010-04-08 |
KR101417111B1 KR101417111B1 (en) | 2014-07-08 |
Family
ID=42214257
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020080096190A KR101417111B1 (en) | 2008-09-30 | 2008-09-30 | A controlling apparatus for can communication |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101417111B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102451985B1 (en) | 2017-11-22 | 2022-10-06 | 현대자동차주식회사 | The method for controlling the shut-down mode of the vehicle operated by the electrical energy |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100721385B1 (en) * | 2002-05-10 | 2007-05-23 | 주식회사 만도 | Error detection control method of controller for vehicle |
KR20070062089A (en) * | 2005-12-12 | 2007-06-15 | 주식회사 만도 | Can message timeout error check method in an electronic stability program system of an automobile |
-
2008
- 2008-09-30 KR KR1020080096190A patent/KR101417111B1/en active IP Right Grant
Also Published As
Publication number | Publication date |
---|---|
KR101417111B1 (en) | 2014-07-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8125181B2 (en) | Method and apparatus for hybrid vehicle auxiliary battery state of charge control | |
CN107097769B (en) | A kind of vacuum method for controlling pump, device and electric car | |
CN104691448B (en) | The method and system collected for vehicle data | |
US10377257B2 (en) | Vehicle-mounted charging device and vehicle charging system | |
US10608447B2 (en) | System and method for avoiding depleted battery in a parked vehicle | |
JP2014088150A (en) | In-vehicle battery management device | |
CN103963658A (en) | Method and device for monitoring at least one traction battery of motor vehicle | |
CN112034818B (en) | Controller fault analysis method and system | |
US20220131372A1 (en) | Method for checking the behavior of at least one group of consumers in a motor vehicle | |
CN109910781A (en) | System and method for monitoring vehicle electrical system | |
CN111439224B (en) | In-vehicle system, wireless communication device, and control method | |
CN110995823B (en) | Vehicle-mounted terminal offline processing method, device, storage medium and device | |
JPWO2007086271A1 (en) | Car | |
US9817741B2 (en) | Method for monitoring an apparatus connected to a communication channel | |
CN110462964B (en) | Power storage device for vehicle | |
EP4057465A1 (en) | Method for determining an operational status of an electrical load of a heavy-duty vehicle | |
CN114347746A (en) | Parking air conditioner, control method and device thereof, and computer readable storage medium | |
CN112109726A (en) | Fault processing method for automatic driving vehicle, vehicle and readable storage medium | |
KR101417111B1 (en) | A controlling apparatus for can communication | |
CN110356345B (en) | Method, device and system for remotely monitoring storage battery condition and controlling power supply of storage battery | |
US9395416B2 (en) | Method for determining a charge state of a battery | |
US10606256B2 (en) | Method to prevent parasitic current drain of a vehicle battery | |
JP2007174829A (en) | Charger and vehicle monitoring device provided with the charger | |
CN110481460B (en) | Feeding and electricity supplementing method and system for electric automobile | |
JP2004538206A (en) | A method for stabilizing an onboard power supply network by forming short-lived energy |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20180628 Year of fee payment: 5 |