KR101899966B1 - Method for monitoring device of network on vehicle - Google Patents

Method for monitoring device of network on vehicle Download PDF

Info

Publication number
KR101899966B1
KR101899966B1 KR1020180057477A KR20180057477A KR101899966B1 KR 101899966 B1 KR101899966 B1 KR 101899966B1 KR 1020180057477 A KR1020180057477 A KR 1020180057477A KR 20180057477 A KR20180057477 A KR 20180057477A KR 101899966 B1 KR101899966 B1 KR 101899966B1
Authority
KR
South Korea
Prior art keywords
network
controller
controllers
information
control unit
Prior art date
Application number
KR1020180057477A
Other languages
Korean (ko)
Other versions
KR20180056618A (en
Inventor
윤병춘
Original Assignee
주식회사 경신
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 경신 filed Critical 주식회사 경신
Priority to KR1020180057477A priority Critical patent/KR101899966B1/en
Publication of KR20180056618A publication Critical patent/KR20180056618A/en
Application granted granted Critical
Publication of KR101899966B1 publication Critical patent/KR101899966B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40013Details regarding a bus controller
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle

Abstract

본 발명에 의한 차량의 네트워크 제어기 감시 방법은, 네트워크에 최초로 전원이 인가되면 진단 제어부가 차량정보를 요청하는 단계; 진단 제어부가 차량정보를 입력받아 차량정보의 동일여부를 판단하는 단계; 진단 제어부가 차량정보의 동일여부를 판단하여 동일한 경우 네트워크에 대해 미리 설정된 감시 조건이 만족되는지 판단하는 단계; 진단 제어부가 감시 조건이 만족되면 예상 네트워크의 존재 여부에 따라 네트워크를 구성하는 제어기들의 정보를 파악하여 예상 네트워크를 구성하는 단계; 및 진단 제어부가 제어기들을 감시하여 예상 네트워크와 비교하여 감시결과를 출력하는 단계;를 포함하되, 진단 제어부가 차량정보의 동일여부의 판단하여 동일하지 않은 경우 예상 네트워크를 초기화하는 단계; 진단 제어부가 예상 네트워크에 따른 제어기들의 감시결과에 따라 예상 네트워크에 신규 제어기를 추가하거나 오류가 발생된 제어기를 예상 네트워크에서 삭제하여 예상 네트워크를 갱신하는 단계; 및 진단 제어부가 게이트웨이 기능을 통해 서로 다른 프로토콜을 사용하는 네트워크의 데이터를 변환하여 중개하는 단계를 더 포함하고, 제어기들의 정보를 파악하는 단계는, 네트워크가 저속 CAN 네트워크인 경우, 진단 제어부가 제어기들 사이에서 송신 및 수신되는 네트워크 관리 메시지를 이용하여 제어기들의 정보를 파악하는 것을 특징으로 한다. According to another aspect of the present invention, there is provided a method of monitoring a network controller of a vehicle, the method comprising: requesting a diagnostic information from a diagnostic control unit when power is first applied to a network; The diagnostic control unit receiving the vehicle information and determining whether the vehicle information is the same or not; Determining whether the diagnostic information is identical to the vehicle information, and determining whether a predetermined monitoring condition for the network is satisfied if the information is the same; Constructing a predicted network by grasping information of controllers constituting the network according to presence or absence of a predicted network if the diagnostic control unit satisfies the monitoring condition; And a step of monitoring the controllers and outputting a monitoring result in comparison with a predicted network, wherein the diagnosis control unit determines whether the vehicle information is the same and initializes the expected network if the same is not the same; Updating a predicted network by adding a new controller to a predicted network or deleting a controller that has failed in a predicted network according to a monitoring result of controllers according to a predicted network; And converting the data of the network using different protocols through the gateway function to the diagnostic control unit, wherein the step of determining the information of the controllers comprises the steps of: if the network is a low speed CAN network, And the information of the controllers is obtained by using the network management messages transmitted and received between the nodes.

Description

차량의 네트워크 제어기 감시 방법{METHOD FOR MONITORING DEVICE OF NETWORK ON VEHICLE} METHOD FOR MONITORING DEVICE OF NETWORK ON VEHICLE "

본 발명은 차량의 네트워크 제어기 감시 방법에 관한 것으로서, 보다 상세하게는 차량정보를 기반으로 차량의 네트워크를 구성하는 제어기를 관리하고, 제어기들을 감시하여 신속하게 제어기 오류를 판별할 수 있도록 하는 차량의 네트워크 제어기 감시 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a network controller monitoring method for a vehicle, and more particularly, to a network controller monitoring method for managing a controller constituting a network of a vehicle based on vehicle information, And a controller monitoring method.

일반적으로, 최근 자동차의 경우 전자기술이 차지하는 비중이 커지면서 차량의 전자장치 사이를 연결하는 차량 네트워크 기술도 점점 중요해지고 있다. 차량의 에어컨, 와이퍼, 브레이크, 파워 시트, 파워 윈도우, 자동 변속기, 에어백, 라이트 등과 같은 차량의 기본 장비 및 편의 장비가 전자적으로 제어되고 있다. Generally, as the proportion of electronic technology in automobiles increases, automobile network technology that connects electronic devices of automobiles is becoming more and more important. Vehicle basic equipment and convenience devices such as air conditioners, wipers, brakes, power seats, power windows, automatic transmissions, airbags, lights, and the like of vehicles are electronically controlled.

차량의 네트워크는 차량 내부의 각 기능 등을 수행하는 전자장치 사이를 연결하며, 각 기능을 제어하는 제어 신호 또는 제어 데이터를 주고받을 수 있도록 CAN(Control Area Network)통신 정보를 이용하여 전자장치 제어기들 사이의 통신을 관리하고 있다. The network of the vehicle connects the electronic devices performing various functions within the vehicle, and controls the electronic device controllers (ECUs) using control area network (CAN) communication information so as to exchange control signals or control data for controlling the respective functions. As shown in FIG.

종래에는 차량 옵션에 따라 변경되는 전자장치 제어기들에 대한 정보를 제품의 제품번호를 사용하여 구분하고, 제품번호 별로 소프트웨어를 별도로 개발하여 관리하고 있었다. Conventionally, information on the electronic device controllers changed according to the vehicle option is classified by using the product number of the product, and software is separately developed and managed for each product number.

그러나 차량의 전자장치가 증가되고 전자장치의 소프트웨어 버전도 다양하게 개발됨에 따라 종래기술과 같이 제품번호 별로 전자장치 제어기나 소프트웨어를 관리하는 것은 비효율적이며 다양한 전자장치 제어기의 오류를 신속하게 확인하기 어려운 문제가 있었다. However, as electronic devices of vehicles have been increased and software versions of electronic devices have been variously developed, it is inefficient to manage electronic device controllers or software by product numbers as in the prior art, and it is difficult to quickly identify errors of various electronic device controllers .

관련 선행기술로는 한국공개특허 제2014-0060752호(2014.05.21.)인 "차량 네트워크에서의 게이트웨이 오류 대처 장치 및 그 방법"이 있다. Related prior arts are Korean Patent Laid-Open Publication No. 2014-0060752 (Apr. 21, 2014) entitled " gateway error handling device and method in vehicle network ".

본 발명은 상기와 같은 문제점들을 개선하기 위하여 안출된 것으로, 일 측면에 따른 본 발명의 목적은 차량정보를 기반으로 차량의 네트워크를 구성하는 제어기를 관리하고, 제어기들을 감시하여 신속하게 제어기 오류를 판별할 수 있도록 하는 차량의 네트워크 제어기 감시 방법을 제공하는 것이다. SUMMARY OF THE INVENTION The present invention has been made in order to solve the above problems, and it is an object of the present invention to provide a vehicle control system, And to provide a method for monitoring a network controller of a vehicle.

본 발명의 일 측면에 따른 차량의 네트워크 제어기 감시 장치는, 전원을 인가하는 전원 공급장치; 차량의 네트워크를 구성하는 제어기를 감시하기 위해 차량정보를 기반으로 구성된 예상 네트워크를 저장하는 저장부; 차량의 네트워크에 연결되어 전원 공급장치로부터 최초로 전원이 인가되면 차량정보를 입력받아 차량정보에 따라 예상 네트워크를 초기화한 후 네트워크 감시를 위한 미리 설정된 감시 조건에 따라 네트워크를 구성하는 제어기들의 정보를 파악하여 예상 네트워크를 구성하고, 예상 네트워크에 따른 제어기들의 감시결과를 출력하는 진단 제어부; 및 진단 제어부에서의 감시결과를 출력하는 출력부를 포함하되, 진단 제어부는, 예상 네트워크에 따른 제어기들의 감시결과에 따라 예상 네트워크에 신규 제어기를 추가하거나 오류가 발생된 제어기를 예상 네트워크에서 삭제하여 예상 네트워크를 갱신하고, 게이트웨이 기능을 통해 서로 다른 프로토콜을 사용하는 네트워크의 데이터를 변환하여 중개하며, 진단 제어부는, 네트워크가 저속 CAN 네트워크인 경우, 제어기들 사이에서 송신 및 수신되는 네트워크 관리 메시지를 이용하여 제어기들의 정보를 파악하는 것을 특징으로 한다. An apparatus for monitoring a network controller of a vehicle according to an aspect of the present invention includes: a power supply device for applying power; A storage unit for storing a predicted network configured based on vehicle information for monitoring a controller constituting a network of the vehicle; When the power is first supplied from the power supply unit, the vehicle information is inputted and the expected network is initialized according to the vehicle information. Then, the information of the controllers configuring the network is determined according to the preset monitoring conditions for network monitoring A diagnosis controller configured to construct a predicted network and output monitoring results of controllers according to a predicted network; And an output unit for outputting a monitoring result from the diagnosis control unit. The diagnosis control unit may add a new controller to the expected network according to the monitoring result of the controllers according to the predicted network, or delete the controller having an error from the expected network, And converts and mediates data of a network using different protocols through a gateway function. When the network is a low-speed CAN network, the diagnosis control unit controls the controller, using the network management message transmitted and received between the controllers, And the like.

본 발명의 다른 측면에 따른 차량의 네트워크 제어기 감시 방법은, 네트워크에 최초로 전원이 인가되면 진단 제어부가 차량정보를 요청하는 단계; 진단 제어부가 차량정보를 입력받아 차량정보의 동일여부를 판단하는 단계; 진단 제어부가 차량정보의 동일여부를 판단하여 동일한 경우 네트워크에 대해 미리 설정된 감시 조건이 만족되는지 판단하는 단계; 진단 제어부가 감시 조건이 만족되면 예상 네트워크의 존재 여부에 따라 네트워크를 구성하는 제어기들의 정보를 파악하여 예상 네트워크를 구성하는 단계; 및 진단 제어부가 제어기들을 감시하여 예상 네트워크와 비교하여 감시결과를 출력하는 단계;를 포함하되, 진단 제어부가 차량정보의 동일여부의 판단하여 동일하지 않은 경우 예상 네트워크를 초기화하는 단계; 진단 제어부가 예상 네트워크에 따른 제어기들의 감시결과에 따라 예상 네트워크에 신규 제어기를 추가하거나 오류가 발생된 제어기를 예상 네트워크에서 삭제하여 예상 네트워크를 갱신하는 단계; 및 진단 제어부가 게이트웨이 기능을 통해 서로 다른 프로토콜을 사용하는 네트워크의 데이터를 변환하여 중개하는 단계를 더 포함하고, 제어기들의 정보를 파악하는 단계는, 네트워크가 저속 CAN 네트워크인 경우, 진단 제어부가 제어기들 사이에서 송신 및 수신되는 네트워크 관리 메시지를 이용하여 제어기들의 정보를 파악하는 것을 특징으로 한다. According to another aspect of the present invention, there is provided a method of monitoring a network controller of a vehicle, the method comprising: requesting information of a vehicle by a diagnostic control unit when power is first applied to a network; The diagnostic control unit receiving the vehicle information and determining whether the vehicle information is the same or not; Determining whether the diagnostic information is identical to the vehicle information, and determining whether a predetermined monitoring condition for the network is satisfied if the information is the same; Constructing a predicted network by grasping information of controllers constituting the network according to presence or absence of a predicted network if the diagnostic control unit satisfies the monitoring condition; And a step of monitoring the controllers and outputting a monitoring result in comparison with a predicted network, wherein the diagnosis control unit determines whether the vehicle information is the same and initializes the expected network if the same is not the same; Updating a predicted network by adding a new controller to a predicted network or deleting a controller that has failed in a predicted network according to a monitoring result of controllers according to a predicted network; And converting the data of the network using different protocols through the gateway function to the diagnostic control unit, wherein the step of determining the information of the controllers comprises the steps of: if the network is a low speed CAN network, And the information of the controllers is obtained by using the network management messages transmitted and received between the nodes.

본 발명의 일 측면에 따른 차량의 네트워크 제어기 감시 방법은 차량정보를 기반으로 차량의 네트워크를 구성하는 제어기를 관리하고, 제어기들을 감시하여 신속하게 제어기 오류를 판별할 수 있도록 있을 뿐만 아니라 차량정보와 예상 네트워크가 서로 매칭되지 않아 발생될 수 있는 오류를 방지할 수 있다. A network controller monitoring method of a vehicle according to an aspect of the present invention manages a controller constituting a network of a vehicle on the basis of vehicle information and monitors the controllers to promptly determine a controller error, It is possible to prevent an error that may occur because the networks do not match each other.

도 1은 본 발명의 일 실시예에 따른 차량의 네트워크 제어기 감시 장치를 나타낸 블록구성도이다.
도 2는 본 발명의 일 실시예에 따른 네트워크 제어기의 감시 상태를 설명하기 위한 도면이다.
도 3은 본 발명의 일 실시예에 따른 네트워크 제어기 제어 방법을 설명하기 위한 흐름도이다.
1 is a block diagram illustrating a network controller monitoring apparatus for a vehicle according to an embodiment of the present invention.
2 is a view for explaining a monitoring state of a network controller according to an embodiment of the present invention.
3 is a flowchart illustrating a method of controlling a network controller according to an embodiment of the present invention.

이하, 첨부된 도면들을 참조하여 본 발명에 따른 차량의 네트워크 제어기 감시 방법을 설명한다. 이 과정에서 도면에 도시된 선들의 두께나 구성요소의 크기 등은 설명의 명료성과 편의상 과장되게 도시되어 있을 수 있다. 또한, 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례에 따라 달라질 수 있다. 그러므로 이러한 용어들에 대한 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.Hereinafter, a method of monitoring a network controller of a vehicle according to the present invention will be described with reference to the accompanying drawings. In this process, the thicknesses of the lines and the sizes of the components shown in the drawings may be exaggerated for clarity and convenience of explanation. In addition, the terms described below are defined in consideration of the functions of the present invention, which may vary depending on the intention or custom of the user, the operator. Therefore, definitions of these terms should be made based on the contents throughout this specification.

도 1은 본 발명의 일 실시예에 따른 차량의 네트워크 제어기 감시 장치를 나타낸 블록구성도이고, 도 2는 본 발명의 일 실시예에 따른 네트워크 제어기의 감시 상태를 설명하기 위한 도면이다. FIG. 1 is a block diagram illustrating a network controller monitoring apparatus for a vehicle according to an embodiment of the present invention. FIG. 2 is a view for explaining a monitoring state of a network controller according to an embodiment of the present invention.

도 1에 도시된 바와 같이 본 발명의 일 실시예에 따른 차량의 네트워크 제어기 감시 장치는 전원 공급장치(200), 저장부(300), 진단 제어부(100) 및 출력부(500)를 포함한다. As shown in FIG. 1, a network controller monitoring apparatus for a vehicle according to an embodiment of the present invention includes a power supply unit 200, a storage unit 300, a diagnosis control unit 100, and an output unit 500.

전원 공급장치(200)는 진단 제어부(100) 및 네트워크(400)에 전원을 공급하는 장치로써 배터리(battery)가 될 수 있다.The power supply device 200 may be a battery as a device for supplying power to the diagnosis control unit 100 and the network 400. [

저장부(300)는 차량의 네트워크(400)를 구성하는 제어기(411~416)를 감시하기 위해 차량정보를 기반으로 구성된 예상 네트워크를 저장함으로써 진단 제어부(100)에서 제어기(411~416)를 감시할 때 새롭게 예상 네트워크를 구성하지 않고 곧바로 사용할 수 있도록 한다. The storage unit 300 stores the predicted network configured based on the vehicle information to monitor the controllers 411 to 416 constituting the network 400 of the vehicle so that the diagnosis control unit 100 monitors the controllers 411 to 416 So that they can be used immediately without configuring a new network.

진단 제어부(100)는 차량의 네트워크(400)에 연결되어 전원 공급장치(200)로부터 최초로 전원이 인가되면 차량정보(VIN : Vehicle Identification Number)를 입력받아 차량정보에 따라 예상 네트워크를 초기화한 후 네트워크 감시를 위한 미리 설정된 감시 조건에 따라 네트워크(400)를 구성하는 제어기(411~416)들의 정보를 파악하여 예상 네트워크를 구성하고, 예상 네트워크에 따른 제어기(411~416)들의 감시결과를 출력한다. The diagnostic control unit 100 is connected to the network 400 of the vehicle and receives vehicle identification information (VIN: Vehicle Identification Number) when the power is first supplied from the power supply apparatus 200 to initialize the expected network according to the vehicle information, Monitors the information of the controllers 411 to 416 constituting the network 400 according to preset monitoring conditions for monitoring to construct a predicted network and outputs the monitoring results of the controllers 411 to 416 according to the expected network.

본 실시예에서 차량의 네트워크에는 제1네트워크(410), 제2네트워크(420), 제3네트워크(430)가 연결되고, 진단 제어부(100)는 네트워크 제어기들을 감시(monitoring)하는 기능 뿐만 아니라 네트워크를 중개하는 게이트웨이(gateway) 기능을 수행할 수 있다. In this embodiment, the first network 410, the second network 420, and the third network 430 are connected to the network of the vehicle, and the diagnosis control unit 100 not only has a function of monitoring the network controllers, And a gateway function for mediating the user.

게이트웨이 기능은 일반적으로 하나의 네트워크를 다른 네트워크와 연결하여 중개하는 기능으로써, 각각의 네트워크는 다른 네트워크와 구별되는 프로토콜로 데이터를 전송할 수 있는데, 이 때 다른 프로토콜을 사용하는 네트워크를 직접 연결하게 되면 데이터를 공유할 수 없기 때문에 게이트웨이를 통해 서로 다른 프로토콜을 사용하는 네트워크로 변환하여 중개하게 된다. The gateway function is generally a function of connecting one network to another network, and each network can transmit data in a protocol different from other network. In this case, if a network using another protocol is directly connected, It is converted into a network that uses different protocols through the gateway and intermediated.

여기서 네트워크는 CAN(Control Area Network) 네트워크일 수 있으며, CAN 네트워크는 저속 CAN 네트워크(Low Speed CAN Network)이거나 또는 고속 CAN 네트워크(High Speed CAN Network)일 수 있다.Here, the network may be a Control Area Network (CAN) network, and the CAN network may be a Low Speed CAN Network or a High Speed CAN Network.

예를 들어, 제1네트워크(410)는 제1네트워크(410)의 버스(bus)(401)에 연결된 전자장치들의 제어기로써 제1제어기(411), 제2제어기(412), 제3제어기(413), 제4제어기(414), 제5제어기(415) 및 제6제어기(416)를 포함할 수 있다.For example, the first network 410 may include a first controller 411, a second controller 412, a third controller (not shown) as a controller of the electronic devices connected to the bus 401 of the first network 410 413, a fourth controller 414, a fifth controller 415, and a sixth controller 416.

이와 같이 진단 제어부(100)는 전원 공급장치(200)로부터 최초로 전원이 인가되면 네트워크에 연결된 차량제어장치(미도시)에 차량정보(VIN : Vehicle Identification Number)를 요청하여 입력된 차량정보에 따라 저장부에 저장된 차량정보와 동일하지 않은 경우 예상 네트워크를 초기화하여 삭제함으로써, 감시 장치의 교체 및 A/S 등으로 인해 차량정보가 변경된 경우 저장된 예상 네트워크를 기반으로 네트워크 제어기를 감시할 경우 발생되는 오류 감지를 방지할 수 있도록 한다. When the power is first supplied from the power supply unit 200, the diagnosis control unit 100 requests the vehicle control unit (not shown) connected to the network to request vehicle information (VIN: Vehicle Identification Number) If the vehicle information is changed due to replacement of surveillance device or A / S by deleting the initialized network, it is possible to detect an error that occurs when monitoring the network controller based on the stored expected network .

반면, 차량정보가 동일할 경우에는 진단 제어부(100)가 네트워크 별로 미리 설정된 감시 조건이 만족되면, 예상 네트워크를 구성하지 않고 저장부(300)에 저장된 예상 네트워크에 따라 제어기(411~416)를 감시한다. 이때 예상 네트워크가 초기화된 경우에는 소정 시간 동안 네트워크를 구성하는 제어기(411~416)들의 정보를 파악하여 예상 네트워크를 구성하여 저장부(300)에 저장하게 된다. On the other hand, when the vehicle information is the same, if the diagnostic control unit 100 satisfies the predetermined monitoring condition for each network, the controller 411 - 416 is monitored in accordance with the expected network stored in the storage unit 300, do. At this time, if the expected network is initialized, information of the controllers 411 to 416 constituting the network is grasped for a predetermined time, and the predicted network is configured and stored in the storage unit 300.

예를 들어, 제1네트워크(410)가 저속 CAN 네트워크인 경우 감시 조건은 비활성 상태(Inactive)에서 활성 상태(Active)가 되는 조건이 될 수 있다. 이 경우, 진단 제어부(100)는 전원 공급장치(200)로부터 최초로 전원이 인가되고, 제1네트워크(410)가 비활성 상태에서 활성 상태로 되면 제1네트워크(410)를 구성하는 제1제어기(411) 내지 제6제어기(416)의 정보를 소정 시간(5초) 동안 파악하여 예상 네트워크를 구성하게 된다.For example, if the first network 410 is a low-speed CAN network, the monitoring condition may be a condition that becomes active from an inactive state (Active). In this case, when the power is first supplied from the power supply apparatus 200 and the first network 410 is activated from the inactive state, the diagnosis control unit 100 controls the first controller 411 constituting the first network 410 ) To the sixth controller 416 for a predetermined period of time (5 seconds) to construct a predicted network.

이때 진단 제어부(100)는 저속 CAN 네트워크의 경우 제1제어기(411) 내지 제6제어기(416) 사이에서 송신 및 수신 되어 제어기(411~416)들의 상태를 확인하는 네트워크 관리 메시지(Network Management Message)를 이용하여 제어기(411~416)들의 정보를 파악할 수 있다. At this time, the diagnostic control unit 100 transmits a network management message to the controllers 411 to 416 transmitted and received between the first controller 411 and the sixth controller 416 in the case of a low-speed CAN network, The information of the controllers 411 to 416 can be grasped.

예를 들어, 제1제어기(411)는 네트워크 관리 메시지에 자신의 정보를 저장하여 제2제어기(412)로 전송할 수 있고, 제2제어기(412)도 네트워크 관리 메시지에 자신의 정보를 추가로 저장하여 다른 제어기로 전송할 수 있다. 이와 같이 네트워크 관리 메시지가 제어기(411~416) 사이에서 전송되는 과정에서 각 제어기(411~416)의 정보가 저장되기 때문에 이후에 진단 제어부(100)는 네트워크 관리 메시지를 파악함으로써 제어기(411~416)의 정보를 한 번에 파악할 수 있게 된다.For example, the first controller 411 may store its information in the network management message and transmit it to the second controller 412, and the second controller 412 may further store its information in the network management message To another controller. Since the information of each of the controllers 411 to 416 is stored in the process of transmitting the network management message between the controllers 411 to 416 in this manner, the diagnosis control unit 100 can recognize the network management messages, ) Can be grasped at a time.

한편, 제1네트워크(410)가 고속 CAN 네트워크(High Speed CAN Network)인 경우에는 제1네트워크(410)를 구성하는 제1제어기(411) 내지 제6제어기(416) 각각으로부터 주기적으로 전송되는 주기 메시지를 수신하여 제어기(411~416)들의 정보를 파악할 수 있다.When the first network 410 is a high-speed CAN network, the first controller 410 transmits the periodically transmitted signals from the first controller 411 to the sixth controller 416, Message to receive information of the controllers 411 to 416.

진단 제어부(100)는 이와 같이 예상 네트워크가 구성되면 네트워크의 제어기(411~416)를 감시(monitoring)하고 감시결과를 출력한다. The diagnostic control unit 100 monitors the controllers 411 to 416 of the network and outputs a monitoring result when the predicted network is configured as described above.

예를 들어, 도 2를 참조하면, 도 2의 (A)는 진단 제어부(100)가 구성한 예상 네트워크의 일 예이고, 도 2의 (B)는 진단 제어부(100)에서 네트워크의 제어기(411~416)들을 감시한 결과이다. For example, referring to FIG. 2, FIG. 2 (A) is an example of a predicted network constituted by the diagnostic control unit 100, and FIG. 2 (B) 416).

이를 살펴보면 도 2의 (A)에서 예상 네트워크를 구성하는 제5제어기(415)가 도 2의 (B)에서는 파악되지 않으므로 이 경우 진단 제어부(100)는 제5제어기(415)에 오류가 발생한 것으로 판단하고, 오류 정보를 출력할 수 있다. 2 (A), the fifth controller 415 constituting the predicted network is not recognized in FIG. 2 (B). In this case, the diagnosis controller 100 determines that an error has occurred in the fifth controller 415 And output error information.

한편, 진단 제어부(100)에서 네트워크의 제어기(411~416)들을 감시한 결과 예상 네트워크에 포함되지 않은 신규 제어기가 파악된 경우 신규 제어기를 예상 네트워크에 추가하여 예상 네트워크를 갱신할 수 있다. Meanwhile, when the diagnosis controller 100 monitors the controllers 411 through 416 of the network, if a new controller not included in the expected network is identified, the new controller can be added to the expected network to update the predicted network.

즉, 도 2의 (B)에는 도 2의 (A)의 예상 네트워크에 포함되지 않는 신규 제6제어기(416)가 포함되어 있다. 전자장치 추가에 의해 제6제어기(416)가 제1네트워크(410)에 연결되면 이후 진단 제어부(100)에서 제1네트워크(410)를 감시(monitoring)할 때 제6제어기(416)가 파악된다. That is, FIG. 2B includes a new sixth controller 416 that is not included in the expected network of FIG. 2A. When the sixth controller 416 is connected to the first network 410 by the addition of the electronic device, the sixth controller 416 is detected when the first controller 410 monitors the first network 410 .

따라서, 진단 제어부(100)는 제6제어기(416)가 포함되도록 도 2의 (C)와 같이 예상 네트워크의 구성을 갱신한다. Therefore, the diagnostic control unit 100 updates the configuration of the expected network as shown in FIG. 2C so that the sixth controller 416 is included.

한편, 진단 제어부(100)는 예상 네트워크를 갱신할 때 예상 네트워크에 포함된 제어기 정보를 삭제할 수도 있다. 예를 들어, 전자장치 제거에 따라 제1네트워크(410)에서 제5제어기(415)가 더 이상 불필요한 경우 진단 제어부(100)는 예상 네트워크에서 제5제어기(415)를 삭제할 수 있다. On the other hand, the diagnostic control unit 100 may delete the controller information included in the expected network when updating the predicted network. For example, if the fifth controller 415 in the first network 410 is no longer needed due to electronic device removal, the diagnostic control 100 may delete the fifth controller 415 from the expected network.

출력부(500)는 진단 제어부(100)에서의 감시결과를 출력한다. The output unit 500 outputs the monitoring result of the diagnosis control unit 100. [

상술한 바와 같이, 본 발명의 실시예에 의한 차량의 네트워크 제어기 감시 장치에 따르면, 차량정보를 기반으로 차량의 네트워크를 구성하는 제어기를 관리하고, 제어기들을 감시하여 신속하게 제어기 오류를 판별할 수 있도록 있을 뿐만 아니라 차량정보와 예상 네트워크가 서로 매칭되지 않아 발생될 수 있는 오류를 방지할 수 있다. As described above, according to the network controller monitoring apparatus for a vehicle according to the embodiment of the present invention, the controller configuring the network of the vehicle is managed based on the vehicle information, and the controllers are monitored to promptly determine the controller error As well as preventing errors that may occur because the vehicle information and the expected network do not match each other.

도 3은 본 발명의 일 실시예에 따른 네트워크 제어기 제어 방법을 설명하기 위한 흐름도이다. 3 is a flowchart illustrating a method of controlling a network controller according to an embodiment of the present invention.

도 3에 도시된 바와 같이 본 발명의 일 실시예에 따른 네트워크 제어기 제어 방법은, 먼저, 전원 공급장치(200)에서 진단 제어부(100) 및 네트워크(400)에 최초 전원이 인가된다(S10). As shown in FIG. 3, in the method of controlling a network controller according to an embodiment of the present invention, power is first applied to the diagnosis control unit 100 and the network 400 in the power supply 200 (S10).

진단 제어부(100)는 전원 공급장치(200)로부터 최초로 전원이 인가되면 네트워크(400)에 연결된 차량제어장치(미도시)에 차량정보(VIN : Vehicle Identification Number)를 요청한다(S20).  The diagnostic control unit 100 requests the vehicle control unit (not shown) connected to the network 400 for vehicle information (VIN: Vehicle Identification Number) when the power is first supplied from the power supply unit 200 (S20).

이후 진단 제어부(100)는 차량제어장치로부터 차량정보를 입력받고(S30), 입력된 차량정보에 따라 저장부(300)에 저장된 차량정보와 동일한지 비교한다(S40). The diagnostic control unit 100 receives the vehicle information from the vehicle controller (S30), and compares the received vehicle information with the vehicle information stored in the storage unit 300 (S40).

S40 단계에서 저장된 차량정보와 동일하지 않은 경우, 진단 제어부(100)는 저장부(300)에 저장된 예상 네트워크를 초기화하여 삭제한다(S50). If it is not the same as the stored vehicle information in step S40, the diagnosis control unit 100 initializes and deletes the expected network stored in the storage unit 300 (S50).

이와 같이 차량정보가 동일하지 않은 경우에는 저장된 예상 네트워크를 초기화함으로써 감시 장치의 교체 및 A/S 등으로 인해 차량정보가 변경된 경우 저장된 예상 네트워크를 기반으로 네트워크 제어기(411~416)를 감시할 경우 발생되는 오류 감지를 방지할 수 있도록 한다. In the case where the vehicle information is not the same, when the vehicle information is changed due to the replacement of the monitoring apparatus and the A / S by initializing the stored expected network, it occurs when the network controllers 411 to 416 are monitored based on the stored expected network Thereby preventing the detection of errors.

S40 단계에서 차량정보가 동일하거나 S50 단계에서 예상 네트워크를 초기화함 후 진단 제어부(100)는, 네트워크(400) 별로 미리 설정된 감시 조건이 만족되는지 판단한다(S60). In step S40, the vehicle information is the same or the predicted network is initialized in step S50, and then the diagnosis control unit 100 determines whether the preset monitoring condition for each network 400 is satisfied (S60).

여기서 감시 조건은 비활성 상태(Inactive)에서 활성 상태(Active)가 되는 조건이 될 수 있으며, 저속 CAN 네트워크와 고속 CAN 네트워크 등 네트워크 마다 다르게 설정될 수 있다.In this case, the monitoring condition may be a condition that becomes inactive (active) to active (active), and may be set differently for each network such as a low-speed CAN network and a high-speed CAN network.

S60 단계에서 감시 조건을 판단하여 만족되지 않을 경우에는 계속해서 감시 조건을 만족하는지 판단하게 된다. In step S60, the monitoring condition is determined. If the monitoring condition is not satisfied, it is determined whether the monitoring condition is continuously satisfied.

그러나, S60 단계에서 감시 조건이 만족되는 경우, 진단 제어부(100)는 저장부(300)에 예상 네트워크가 존재하는지 판단한다(S70)However, if the monitoring condition is satisfied in step S60, the diagnostic control unit 100 determines whether there is an expected network in the storage unit 300 (S70)

S70 단계에서 예상 네트워크가 존재하지 않을 경우, 진단 제어부(100)는 네트워크의 제어기(411~416)들의 정보를 파악하여 예상 네트워크를 구성하여 저장한다(S80). If the expected network does not exist in step S70, the diagnostic control unit 100 grasps the information of the controllers 411 to 416 of the network and constructs and stores the predicted network in step S80.

예를 들어, 도 2의 (A)와 같이 제1제어기(411) 내지 제5제어기(415)가 예상 네트워크로 구성될 수 있다.For example, as shown in FIG. 2A, the first controller 411 to the fifth controller 415 may be configured as a predicted network.

이렇게 예상 네트워크를 구성한 후 진단 제어부(100)는 네트워크의 제어기(411~416)를 감시한다(S90)After configuring the anticipated network, the diagnosis control unit 100 monitors the controllers 411 to 416 of the network (S90)

반면, S70 단계에서 예상 네트워크가 존재할 경우, 진단 제어부(100)는 예상 네트워크를 구성하지 않고 저장부(300)에 저장된 예상 네트워크에 따라 제어기(411~416)를 감시한다(S90). On the other hand, if there is a predicted network in step S70, the diagnostic control unit 100 monitors the controllers 411 to 416 according to the expected network stored in the storage unit 300 without configuring the expected network in step S90.

진단 제어부(100)는 S90 단계에서 제어기(411~416)를 감시한 후 감시결과를 출력한다(S100)The diagnostic control unit 100 monitors the controllers 411 to 416 in step S90 and outputs a monitoring result (S100)

예를 들어, 진단 제어부(100)는 도 2의 (B)와 같이 제1제어기(411), 제2제어기(412), 제3제어기(413), 제4제어기(414) 및 제6제어기(416)를 감시한 후 저장부(300)에 저장된 예상 네트워크와 비교하여 오류가 발생하였는지 판단하고, 감시결과를 출력한다. For example, the diagnostic control unit 100 may include a first controller 411, a second controller 412, a third controller 413, a fourth controller 414, and a sixth controller 416, and then compares it with the expected network stored in the storage unit 300 to determine whether an error has occurred, and outputs the monitoring result.

즉, 도 2의 (A)와 (B)를 비교하면 예상 네트워크에 포함되어 있는 제5제어기(415)가 감시결과에는 파악되지 않으므로 진단 제어부(100)는 오류가 발생된 것으로 판단할 수 있다. That is, when comparing (A) and (B) in FIG. 2, the fifth controller 415 included in the expected network is not recognized in the monitoring result, so that the diagnosis controller 100 can determine that an error has occurred.

이와 같이 네트워크 제어기(411~416)를 감시한 후 진단 제어부(100)는 감시결과에 따라 예상 네트워크를 갱신한다(S110). After monitoring the network controllers 411 to 416, the diagnostic control unit 100 updates the expected network according to the monitoring result (S110).

도 2의 (B)를 참조하면 감시 결과 새로운 제6제어기(416)가 파악되었으므로, 진단 제어부(100)는 도 2의 (C)와 같이 제6제어기(416)가 포함되도록 예상 네트워크를 갱신한다.Referring to FIG. 2B, since the sixth controller 416 has been detected as a result of the monitoring, the diagnostic control unit 100 updates the expected network to include the sixth controller 416 as shown in FIG. 2C .

반면, 진단 제어부(100)는 제어기(411~416)을 감시한 결과와 예상 네트워크의 구성이 동일한 경우에는 예상 네트워크 구성을 그대로 유지한다.On the other hand, when the result of monitoring the controllers 411 to 416 is identical to the expected network configuration, the diagnostic control unit 100 maintains the expected network configuration.

한편, 전자장치 제거에 따라 제1네트워크(410)에서 제5제어기(415)가 더 이상 불필요한 경우, 진단 제어부(100)는 예상 네트워크에서 제5제어기(415)를 삭제하여 갱신함으로써 네트워크 관리 효율을 향상시킬 수 있다.On the other hand, if the fifth controller 415 is no longer needed in the first network 410 due to the removal of the electronic device, the diagnosis controller 100 deletes and updates the fifth controller 415 in the expected network, Can be improved.

상술한 바와 같이, 본 발명의 실시예에 의한 차량의 네트워크 제어기 감시 방법에 따르면, 차량정보를 기반으로 차량의 네트워크를 구성하는 제어기를 관리하고, 제어기들을 감시하여 신속하게 제어기 오류를 판별할 수 있도록 있을 뿐만 아니라 차량정보와 예상 네트워크가 서로 매칭되지 않아 발생될 수 있는 오류를 방지할 수 있다. As described above, according to the network controller monitoring method for a vehicle according to the embodiment of the present invention, the controller configuring the network of the vehicle is managed based on the vehicle information, and the controllers are monitored to quickly determine the controller error As well as preventing errors that may occur because the vehicle information and the expected network do not match each other.

본 발명은 도면에 도시된 실시예를 참고로 하여 설명되었으나, 이는 예시적인 것에 불과하며, 당해 기술이 속하는 분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. I will understand.

따라서 본 발명의 진정한 기술적 보호범위는 아래의 특허청구범위에 의해서 정하여져야 할 것이다.Accordingly, the true scope of the present invention should be determined by the following claims.

100 : 진단 제어부 200 : 전원 공급장치
300 : 저장부 400 : 네트워크
401 : 버스 410 : 제 1네트워크
420 : 제 2네트워크 430 : 제 3네트워크
100: diagnosis control unit 200: power supply unit
300: storage unit 400: network
401: bus 410: first network
420: second network 430: third network

Claims (2)

삭제delete 네트워크에 최초로 전원이 인가되면 진단 제어부가 차량정보를 요청하는 단계;
상기 진단 제어부가 상기 차량정보를 입력받아 상기 차량정보의 동일여부를 판단하는 단계;
상기 진단 제어부가 상기 차량정보의 동일여부를 판단하여 동일한 경우 상기 네트워크에 대해 미리 설정된 감시 조건이 만족되는지 판단하는 단계;
상기 진단 제어부가 상기 감시 조건이 만족되면 예상 네트워크의 존재 여부에 따라 상기 네트워크를 구성하는 제어기들의 정보를 파악하여 상기 예상 네트워크를 구성하는 단계; 및
상기 진단 제어부가 상기 제어기들을 감시하여 상기 예상 네트워크와 비교하여 감시결과를 출력하는 단계;를 포함하되,
상기 진단 제어부가 상기 차량정보의 동일여부의 판단하여 동일하지 않은 경우 상기 예상 네트워크를 초기화하는 단계;
상기 진단 제어부가 상기 예상 네트워크에 따른 상기 제어기들의 감시결과에 따라 상기 예상 네트워크에 신규 제어기를 추가하거나 오류가 발생된 제어기를 상기 예상 네트워크에서 삭제하여 상기 예상 네트워크를 갱신하는 단계; 및
상기 진단 제어부가 게이트웨이 기능을 통해 서로 다른 프로토콜을 사용하는 상기 네트워크의 데이터를 변환하여 중개하는 단계를 더 포함하고,
상기 제어기들의 정보를 파악하는 단계는, 상기 네트워크가 저속 CAN 네트워크인 경우, 상기 진단 제어부가 상기 제어기들 사이에서 송신 및 수신되는 네트워크 관리 메시지를 이용하여 상기 제어기들의 정보를 파악하는 것을 특징으로 하는 차량의 네트워크 제어기 감시 방법.
When the power is first applied to the network, the diagnostic control unit requests vehicle information;
The diagnostic control unit receiving the vehicle information and determining whether the vehicle information is the same;
Determining whether the vehicle information is the same or not, and determining whether a monitoring condition previously set for the network is satisfied if the diagnosis control unit determines that the vehicle information is the same;
If the monitoring condition is satisfied, constructing the expected network by grasping information of controllers constituting the network according to presence or absence of a predicted network; And
Monitoring the controllers by the diagnostic control unit and outputting a monitoring result in comparison with the expected network,
Initializing the expected network if the diagnostic control unit determines that the vehicle information is the same or not and is not the same;
Updating the predicted network by adding a new controller to the predicted network or deleting a controller with an error from the predicted network according to a monitoring result of the controllers according to the predicted network; And
Further comprising the step of converting and mediating data of the network using different protocols through the gateway function,
Wherein the step of grasping the information of the controllers grasps the information of the controllers using the network management message transmitted and received between the controllers when the network is a low speed CAN network. Of the network controller.
KR1020180057477A 2018-05-18 2018-05-18 Method for monitoring device of network on vehicle KR101899966B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180057477A KR101899966B1 (en) 2018-05-18 2018-05-18 Method for monitoring device of network on vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180057477A KR101899966B1 (en) 2018-05-18 2018-05-18 Method for monitoring device of network on vehicle

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020160113480A Division KR101869536B1 (en) 2016-09-02 2016-09-02 Apparatus for monitoring device of network on vehicle

Publications (2)

Publication Number Publication Date
KR20180056618A KR20180056618A (en) 2018-05-29
KR101899966B1 true KR101899966B1 (en) 2018-09-18

Family

ID=62453042

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180057477A KR101899966B1 (en) 2018-05-18 2018-05-18 Method for monitoring device of network on vehicle

Country Status (1)

Country Link
KR (1) KR101899966B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015229364A (en) * 2014-06-03 2015-12-21 本田技研工業株式会社 Vehicle diagnosis machine and vehicle diagnosis method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101095583B1 (en) * 2009-10-28 2011-12-19 동의대학교 산학협력단 System and Method for Monitoring Integrated Gateway in ???
KR101573483B1 (en) * 2010-10-13 2015-12-02 한국전자통신연구원 Apparatus and method for providing vehicle information
KR101886076B1 (en) * 2012-11-08 2018-09-07 현대자동차 주식회사 System and method for managing control device of network
KR101593571B1 (en) * 2014-07-16 2016-02-18 현대오트론 주식회사 Black box apparatus for diagnosing error of electronic control unit for vehicle and control method thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015229364A (en) * 2014-06-03 2015-12-21 本田技研工業株式会社 Vehicle diagnosis machine and vehicle diagnosis method

Also Published As

Publication number Publication date
KR20180056618A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN107465588B (en) State control method and device of multi-channel bus network and network management system
KR101886076B1 (en) System and method for managing control device of network
KR101575547B1 (en) The error variance detection method of can communication system and the can communication system
CN112165438A (en) Vehicle communication method and communication system
CN112235127B (en) Node fault reporting method and device, terminal equipment and storage medium
KR101899967B1 (en) Method for monitoring device of network on vehicle
CN111919422B (en) Method for operating an ethernet on-board network of a motor vehicle, control unit and ethernet on-board network
KR102298186B1 (en) How to operate a sensor device in a car based on the DSI protocol
KR101899966B1 (en) Method for monitoring device of network on vehicle
KR101899964B1 (en) Method for monitoring device of network on vehicle
KR101899968B1 (en) Apparatus for monitoring device of network on vehicle
CN108667640B (en) Communication method and device, and network access system
KR101899965B1 (en) Method for monitoring device of network on vehicle
US11095542B2 (en) Electronic control unit, monitoring method, and non-transitory computer readable medium storing program for monitoring a subject electronic control unit connected to a network
KR101869536B1 (en) Apparatus for monitoring device of network on vehicle
JP7001026B2 (en) Vehicle communication device
JP6981114B2 (en) Vehicle network system
JP7140011B2 (en) Gateway device
EP4059206B1 (en) Data communication network in a vehicle
JP2020022019A (en) Vehicle system
KR20180038970A (en) Operation method of communication node for selective wakeup in vehicle network
JP2015039924A (en) On-vehicle network system
KR102029371B1 (en) Power Supply system and method for ethernet communication network in vehicle
CN105743673B (en) Northbound interface and method for processing notification message
JP2014154998A (en) Communication system, communication node, and communication method

Legal Events

Date Code Title Description
A107 Divisional application of patent
A201 Request for examination
A302 Request for accelerated examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant