KR101899967B1 - Method for monitoring device of network on vehicle - Google Patents
Method for monitoring device of network on vehicle Download PDFInfo
- Publication number
- KR101899967B1 KR101899967B1 KR1020180057478A KR20180057478A KR101899967B1 KR 101899967 B1 KR101899967 B1 KR 101899967B1 KR 1020180057478 A KR1020180057478 A KR 1020180057478A KR 20180057478 A KR20180057478 A KR 20180057478A KR 101899967 B1 KR101899967 B1 KR 101899967B1
- Authority
- KR
- South Korea
- Prior art keywords
- network
- control unit
- controller
- controllers
- monitoring
- 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/40013—Details regarding a bus controller
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- 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)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Small-Scale Networks (AREA)
Abstract
본 발명은 네트워크에 최초로 전원이 인가되면 진단 제어부가 차량정보를 요청하는 단계; 진단 제어부가 차량정보를 입력받아 차량정보의 동일여부를 판단하는 단계; 진단 제어부가 차량정보의 동일여부를 판단하여 동일한 경우 네트워크에 대해 미리 설정된 감시 조건이 만족되는지 판단하는 단계; 진단 제어부가 감시 조건이 만족되면 예상 네트워크의 존재 여부에 따라 네트워크를 구성하는 제어기들의 정보를 파악하여 예상 네트워크를 구성하는 단계; 및 진단 제어부가 제어기들을 감시하여 예상 네트워크와 비교하여 감시결과를 출력하는 단계;를 포함하되, 진단 제어부가 차량정보의 동일여부의 판단하여 동일하지 않은 경우 예상 네트워크를 초기화하는 단계; 진단 제어부가 예상 네트워크에 따른 제어기들의 감시결과에 따라 예상 네트워크에 신규 제어기를 추가하거나 오류가 발생된 제어기를 예상 네트워크에서 삭제하여 예상 네트워크를 갱신하는 단계; 및 진단 제어부가 게이트웨이 기능을 통해 서로 다른 프로토콜을 사용하는 네트워크의 데이터를 변환하여 중개하는 단계를 더 포함하고, 제어기들의 정보를 파악하는 단계는, 네트워크가 고속 CAN 네트워크인 경우, 진단 제어부가 제어기들로부터 주기적으로 전송되는 주기 메시지를 수신하여 제어기들의 정보를 파악하며, 감시 조건은, 네트워크가 비활성 상태에서 활성 상태로 되는 조건인 것을 특징으로 한다.The present invention provides a method of controlling a vehicle, comprising the steps of: when a first power is 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. The step of acquiring the information of the controllers includes the steps of: when the network is a high-speed CAN network, And the monitoring condition is a condition in which the network is activated from an inactive state to an active state.
Description
본 발명은 차량의 네트워크 제어기 감시 방법에 관한 것으로서, 보다 상세하게는 차량정보를 기반으로 차량의 네트워크를 구성하는 제어기를 관리하고, 제어기들을 감시하여 신속하게 제어기 오류를 판별할 수 있도록 하는 차량의 네트워크 제어기 감시 방법에 관한 것이다.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 intervenes the data of the network using different protocols through the gateway function. When the network is a high-speed CAN network, the diagnosis control unit receives the periodic messages periodically transmitted from the controllers, And the monitoring condition is a condition that causes the network to become active in an inactive state.
본 발명의 다른 측면에 따른 차량의 네트워크 제어기 감시 방법은, 네트워크에 최초로 전원이 인가되면 진단 제어부가 차량정보를 요청하는 단계; 진단 제어부가 차량정보를 입력받아 차량정보의 동일여부를 판단하는 단계; 진단 제어부가 차량정보의 동일여부를 판단하여 동일한 경우 네트워크에 대해 미리 설정된 감시 조건이 만족되는지 판단하는 단계; 진단 제어부가 감시 조건이 만족되면 예상 네트워크의 존재 여부에 따라 네트워크를 구성하는 제어기들의 정보를 파악하여 예상 네트워크를 구성하는 단계; 및 진단 제어부가 제어기들을 감시하여 예상 네트워크와 비교하여 감시결과를 출력하는 단계;를 포함하되, 진단 제어부가 차량정보의 동일여부의 판단하여 동일하지 않은 경우 예상 네트워크를 초기화하는 단계; 진단 제어부가 예상 네트워크에 따른 제어기들의 감시결과에 따라 예상 네트워크에 신규 제어기를 추가하거나 오류가 발생된 제어기를 예상 네트워크에서 삭제하여 예상 네트워크를 갱신하는 단계; 및 진단 제어부가 게이트웨이 기능을 통해 서로 다른 프로토콜을 사용하는 네트워크의 데이터를 변환하여 중개하는 단계를 더 포함하고, 제어기들의 정보를 파악하는 단계는, 네트워크가 고속 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. The step of acquiring the information of the controllers includes the steps of: when the network is a high-speed CAN network, And the monitoring condition is a condition in which the network is activated from an inactive state to an active state.
본 발명의 일 측면에 따른 차량의 네트워크 제어기 감시 방법은 차량정보를 기반으로 차량의 네트워크를 구성하는 제어기를 관리하고, 제어기들을 감시하여 신속하게 제어기 오류를 판별할 수 있도록 있을 뿐만 아니라 차량정보와 예상 네트워크가 서로 매칭되지 않아 발생될 수 있는 오류를 방지할 수 있다. 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
전원 공급장치(200)는 진단 제어부(100) 및 네트워크(400)에 전원을 공급하는 장치로써 배터리(battery)가 될 수 있다.The
저장부(300)는 차량의 네트워크(400)를 구성하는 제어기(411~416)를 감시하기 위해 차량정보를 기반으로 구성된 예상 네트워크를 저장함으로써 진단 제어부(100)에서 제어기(411~416)를 감시할 때 새롭게 예상 네트워크를 구성하지 않고 곧바로 사용할 수 있도록 한다. The
진단 제어부(100)는 차량의 네트워크(400)에 연결되어 전원 공급장치(200)로부터 최초로 전원이 인가되면 차량정보(VIN : Vehicle Identification Number)를 입력받아 차량정보에 따라 예상 네트워크를 초기화한 후 네트워크 감시를 위한 미리 설정된 감시 조건에 따라 네트워크(400)를 구성하는 제어기(411~416)들의 정보를 파악하여 예상 네트워크를 구성하고, 예상 네트워크에 따른 제어기(411~416)들의 감시결과를 출력한다. The
본 실시예에서 차량의 네트워크에는 제1네트워크(410), 제2네트워크(420), 제3네트워크(430)가 연결되고, 진단 제어부(100)는 네트워크 제어기들을 감시(monitoring)하는 기능 뿐만 아니라 네트워크를 중개하는 게이트웨이(gateway) 기능을 수행할 수 있다. In this embodiment, the
게이트웨이 기능은 일반적으로 하나의 네트워크를 다른 네트워크와 연결하여 중개하는 기능으로써, 각각의 네트워크는 다른 네트워크와 구별되는 프로토콜로 데이터를 전송할 수 있는데, 이 때 다른 프로토콜을 사용하는 네트워크를 직접 연결하게 되면 데이터를 공유할 수 없기 때문에 게이트웨이를 통해 서로 다른 프로토콜을 사용하는 네트워크로 변환하여 중개하게 된다. 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
이와 같이 진단 제어부(100)는 전원 공급장치(200)로부터 최초로 전원이 인가되면 네트워크에 연결된 차량제어장치(미도시)에 차량정보(VIN : Vehicle Identification Number)를 요청하여 입력된 차량정보에 따라 저장부에 저장된 차량정보와 동일하지 않은 경우 예상 네트워크를 초기화하여 삭제함으로써, 감시 장치의 교체 및 A/S 등으로 인해 차량정보가 변경된 경우 저장된 예상 네트워크를 기반으로 네트워크 제어기를 감시할 경우 발생되는 오류 감지를 방지할 수 있도록 한다. When the power is first supplied from the
반면, 차량정보가 동일할 경우에는 진단 제어부(100)가 네트워크 별로 미리 설정된 감시 조건이 만족되면, 예상 네트워크를 구성하지 않고 저장부(300)에 저장된 예상 네트워크에 따라 제어기(411~416)를 감시한다. 이때 예상 네트워크가 초기화된 경우에는 소정 시간 동안 네트워크를 구성하는 제어기(411~416)들의 정보를 파악하여 예상 네트워크를 구성하여 저장부(300)에 저장하게 된다. On the other hand, when the vehicle information is the same, if the
예를 들어, 제1네트워크(410)가 저속 CAN 네트워크인 경우 감시 조건은 비활성 상태(Inactive)에서 활성 상태(Active)가 되는 조건이 될 수 있다. 이 경우, 진단 제어부(100)는 전원 공급장치(200)로부터 최초로 전원이 인가되고, 제1네트워크(410)가 비활성 상태에서 활성 상태로 되면 제1네트워크(410)를 구성하는 제1제어기(411) 내지 제6제어기(416)의 정보를 소정 시간(5초) 동안 파악하여 예상 네트워크를 구성하게 된다.For example, if the
이때 진단 제어부(100)는 저속 CAN 네트워크의 경우 제1제어기(411) 내지 제6제어기(416) 사이에서 송신 및 수신 되어 제어기(411~416)들의 상태를 확인하는 네트워크 관리 메시지(Network Management Message)를 이용하여 제어기(411~416)들의 정보를 파악할 수 있다. At this time, the
예를 들어, 제1제어기(411)는 네트워크 관리 메시지에 자신의 정보를 저장하여 제2제어기(412)로 전송할 수 있고, 제2제어기(412)도 네트워크 관리 메시지에 자신의 정보를 추가로 저장하여 다른 제어기로 전송할 수 있다. 이와 같이 네트워크 관리 메시지가 제어기(411~416) 사이에서 전송되는 과정에서 각 제어기(411~416)의 정보가 저장되기 때문에 이후에 진단 제어부(100)는 네트워크 관리 메시지를 파악함으로써 제어기(411~416)의 정보를 한 번에 파악할 수 있게 된다.For example, the
한편, 제1네트워크(410)가 고속 CAN 네트워크(High Speed CAN Network)인 경우에는 제1네트워크(410)를 구성하는 제1제어기(411) 내지 제6제어기(416) 각각으로부터 주기적으로 전송되는 주기 메시지를 수신하여 제어기(411~416)들의 정보를 파악할 수 있다.When the
진단 제어부(100)는 이와 같이 예상 네트워크가 구성되면 네트워크의 제어기(411~416)를 감시(monitoring)하고 감시결과를 출력한다. The
예를 들어, 도 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
이를 살펴보면 도 2의 (A)에서 예상 네트워크를 구성하는 제5제어기(415)가 도 2의 (B)에서는 파악되지 않으므로 이 경우 진단 제어부(100)는 제5제어기(415)에 오류가 발생한 것으로 판단하고, 오류 정보를 출력할 수 있다. 2 (A), the
한편, 진단 제어부(100)에서 네트워크의 제어기(411~416)들을 감시한 결과 예상 네트워크에 포함되지 않은 신규 제어기가 파악된 경우 신규 제어기를 예상 네트워크에 추가하여 예상 네트워크를 갱신할 수 있다. Meanwhile, when the
즉, 도 2의 (B)에는 도 2의 (A)의 예상 네트워크에 포함되지 않는 신규 제6제어기(416)가 포함되어 있다. 전자장치 추가에 의해 제6제어기(416)가 제1네트워크(410)에 연결되면 이후 진단 제어부(100)에서 제1네트워크(410)를 감시(monitoring)할 때 제6제어기(416)가 파악된다. That is, FIG. 2B includes a new
따라서, 진단 제어부(100)는 제6제어기(416)가 포함되도록 도 2의 (C)와 같이 예상 네트워크의 구성을 갱신한다. Therefore, the
한편, 진단 제어부(100)는 예상 네트워크를 갱신할 때 예상 네트워크에 포함된 제어기 정보를 삭제할 수도 있다. 예를 들어, 전자장치 제거에 따라 제1네트워크(410)에서 제5제어기(415)가 더 이상 불필요한 경우 진단 제어부(100)는 예상 네트워크에서 제5제어기(415)를 삭제할 수 있다. On the other hand, the
출력부(500)는 진단 제어부(100)에서의 감시결과를 출력한다. The
상술한 바와 같이, 본 발명의 실시예에 의한 차량의 네트워크 제어기 감시 장치에 따르면, 차량정보를 기반으로 차량의 네트워크를 구성하는 제어기를 관리하고, 제어기들을 감시하여 신속하게 제어기 오류를 판별할 수 있도록 있을 뿐만 아니라 차량정보와 예상 네트워크가 서로 매칭되지 않아 발생될 수 있는 오류를 방지할 수 있다. 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
진단 제어부(100)는 전원 공급장치(200)로부터 최초로 전원이 인가되면 네트워크(400)에 연결된 차량제어장치(미도시)에 차량정보(VIN : Vehicle Identification Number)를 요청한다(S20). The
이후 진단 제어부(100)는 차량제어장치로부터 차량정보를 입력받고(S30), 입력된 차량정보에 따라 저장부(300)에 저장된 차량정보와 동일한지 비교한다(S40). The
S40 단계에서 저장된 차량정보와 동일하지 않은 경우, 진단 제어부(100)는 저장부(300)에 저장된 예상 네트워크를 초기화하여 삭제한다(S50). If it is not the same as the stored vehicle information in step S40, the
이와 같이 차량정보가 동일하지 않은 경우에는 저장된 예상 네트워크를 초기화함으로써 감시 장치의 교체 및 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
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
여기서 감시 조건은 비활성 상태(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
S70 단계에서 예상 네트워크가 존재하지 않을 경우, 진단 제어부(100)는 네트워크의 제어기(411~416)들의 정보를 파악하여 예상 네트워크를 구성하여 저장한다(S80). If the expected network does not exist in step S70, the
예를 들어, 도 2의 (A)와 같이 제1제어기(411) 내지 제5제어기(415)가 예상 네트워크로 구성될 수 있다.For example, as shown in FIG. 2A, the
이렇게 예상 네트워크를 구성한 후 진단 제어부(100)는 네트워크의 제어기(411~416)를 감시한다(S90)After configuring the anticipated network, the
반면, S70 단계에서 예상 네트워크가 존재할 경우, 진단 제어부(100)는 예상 네트워크를 구성하지 않고 저장부(300)에 저장된 예상 네트워크에 따라 제어기(411~416)를 감시한다(S90). On the other hand, if there is a predicted network in step S70, the
진단 제어부(100)는 S90 단계에서 제어기(411~416)를 감시한 후 감시결과를 출력한다(S100)The
예를 들어, 진단 제어부(100)는 도 2의 (B)와 같이 제1제어기(411), 제2제어기(412), 제3제어기(413), 제4제어기(414) 및 제6제어기(416)를 감시한 후 저장부(300)에 저장된 예상 네트워크와 비교하여 오류가 발생하였는지 판단하고, 감시결과를 출력한다. For example, the
즉, 도 2의 (A)와 (B)를 비교하면 예상 네트워크에 포함되어 있는 제5제어기(415)가 감시결과에는 파악되지 않으므로 진단 제어부(100)는 오류가 발생된 것으로 판단할 수 있다. That is, when comparing (A) and (B) in FIG. 2, the
이와 같이 네트워크 제어기(411~416)를 감시한 후 진단 제어부(100)는 감시결과에 따라 예상 네트워크를 갱신한다(S110). After monitoring the
도 2의 (B)를 참조하면 감시 결과 새로운 제6제어기(416)가 파악되었으므로, 진단 제어부(100)는 도 2의 (C)와 같이 제6제어기(416)가 포함되도록 예상 네트워크를 갱신한다.Referring to FIG. 2B, since the
반면, 진단 제어부(100)는 제어기(411~416)을 감시한 결과와 예상 네트워크의 구성이 동일한 경우에는 예상 네트워크 구성을 그대로 유지한다.On the other hand, when the result of monitoring the
한편, 전자장치 제거에 따라 제1네트워크(410)에서 제5제어기(415)가 더 이상 불필요한 경우, 진단 제어부(100)는 예상 네트워크에서 제5제어기(415)를 삭제하여 갱신함으로써 네트워크 관리 효율을 향상시킬 수 있다.On the other hand, if the
상술한 바와 같이, 본 발명의 실시예에 의한 차량의 네트워크 제어기 감시 방법에 따르면, 차량정보를 기반으로 차량의 네트워크를 구성하는 제어기를 관리하고, 제어기들을 감시하여 신속하게 제어기 오류를 판별할 수 있도록 있을 뿐만 아니라 차량정보와 예상 네트워크가 서로 매칭되지 않아 발생될 수 있는 오류를 방지할 수 있다. 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)
상기 진단 제어부가 상기 차량정보를 입력받아 상기 차량정보의 동일여부를 판단하는 단계;
상기 진단 제어부가 상기 차량정보의 동일여부를 판단하여 동일한 경우 상기 네트워크에 대해 미리 설정된 감시 조건이 만족되는지 판단하는 단계;
상기 진단 제어부가 상기 감시 조건이 만족되면 예상 네트워크의 존재 여부에 따라 상기 네트워크를 구성하는 제어기들의 정보를 파악하여 상기 예상 네트워크를 구성하는 단계; 및
상기 진단 제어부가 상기 제어기들을 감시하여 상기 예상 네트워크와 비교하여 감시결과를 출력하는 단계;를 포함하되,
상기 진단 제어부가 상기 차량정보의 동일여부의 판단하여 동일하지 않은 경우 상기 예상 네트워크를 초기화하는 단계;
상기 진단 제어부가 상기 예상 네트워크에 따른 상기 제어기들의 감시결과에 따라 상기 예상 네트워크에 신규 제어기를 추가하거나 오류가 발생된 제어기를 상기 예상 네트워크에서 삭제하여 상기 예상 네트워크를 갱신하는 단계; 및
상기 진단 제어부가 게이트웨이 기능을 통해 서로 다른 프로토콜을 사용하는 상기 네트워크의 데이터를 변환하여 중개하는 단계를 더 포함하고,
상기 제어기들의 정보를 파악하는 단계는, 상기 네트워크가 고속 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,
The step of recognizing the information of the controllers may include receiving a periodic message periodically transmitted from the controllers by the diagnostic control unit to determine information of the controllers when the network is a high speed CAN network,
Wherein the monitoring condition is a condition that causes the network to become active in an inactive state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020180057478A KR101899967B1 (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 |
---|---|---|---|
KR1020180057478A KR101899967B1 (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 |
---|---|
KR20180056619A KR20180056619A (en) | 2018-05-29 |
KR101899967B1 true KR101899967B1 (en) | 2018-09-18 |
Family
ID=62453039
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020180057478A KR101899967B1 (en) | 2018-05-18 | 2018-05-18 | Method for monitoring device of network on vehicle |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101899967B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109669442B (en) * | 2018-12-25 | 2022-02-22 | 深圳市元征科技股份有限公司 | Protocol conversion method and conversion device |
Citations (1)
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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5138949B2 (en) * | 2007-02-07 | 2013-02-06 | 日立オートモティブシステムズ株式会社 | In-vehicle gateway device |
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 |
KR101621877B1 (en) * | 2015-01-20 | 2016-05-31 | 현대자동차주식회사 | Method and apparatus for collecting vehicle data |
-
2018
- 2018-05-18 KR KR1020180057478A patent/KR101899967B1/en active IP Right Grant
Patent Citations (1)
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 |
---|---|
KR20180056619A (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 | |
JP4416649B2 (en) | Method and apparatus for telematic services for vehicles | |
KR101575547B1 (en) | The error variance detection method of can communication system and the can communication system | |
KR101886076B1 (en) | System and method for managing control device of network | |
CN111919422B (en) | Method for operating an ethernet on-board network of a motor vehicle, control unit and ethernet on-board network | |
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 | |
JP6894043B2 (en) | A method for operating a sensor device in an automated vehicle 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 | |
KR101899965B1 (en) | Method for monitoring device of network on vehicle | |
CN108667640B (en) | Communication method and device, and network access system | |
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 | |
EP4059206B1 (en) | Data communication network in a vehicle | |
JP7140011B2 (en) | Gateway device | |
JP2020022019A (en) | Vehicle system | |
JP2015039924A (en) | On-vehicle network system | |
CN105743673B (en) | Northbound interface and method for processing notification message | |
JP2005341495A (en) | Gateway apparatus and method | |
JP7154161B2 (en) | vehicle controller | |
US11424954B2 (en) | Method for operating a sensor arrangement in a motor vehicle on the basis of a DSI protocol |
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 |