KR100634229B1 - CAN network controll system and test and debugging method thereof - Google Patents
CAN network controll system and test and debugging method thereof Download PDFInfo
- Publication number
- KR100634229B1 KR100634229B1 KR1020040072756A KR20040072756A KR100634229B1 KR 100634229 B1 KR100634229 B1 KR 100634229B1 KR 1020040072756 A KR1020040072756 A KR 1020040072756A KR 20040072756 A KR20040072756 A KR 20040072756A KR 100634229 B1 KR100634229 B1 KR 100634229B1
- Authority
- KR
- South Korea
- Prior art keywords
- operation program
- electronic device
- bus
- test
- message
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0208—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
- G05B23/0213—Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
-
- 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/40032—Details regarding a bus interface enhancer
-
- 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
Abstract
본 발명은 캔 네트워크 관리 시스템 및 이의 테스트 및 디버깅 방법을 공개한다. 이 캔 네트워크 관리 시스템은 메시지를 전송하는 캔 버스와, 동작 프로그램을 각각 구비하며, 상기 캔 버스를 통해 테스트동작을 요청받으면 상기 구비된 동작 프로그램의 정상 동작 여부를 각각 테스트하고, 상기 캔 버스를 통해 디버깅동작을 요청받으면, 상기 구비된 동작 프로그램을 상기 캔 버스로부터 전송되는 동작 프로그램으로 각각 재저장하는 다수개의 전자 장치들과, 상기 다수개의 전자 장치들 각각의 동작 프로그램을 모두 구비하고, 테스트 시에는 테스트하고자하는 상기 전자 장치의 상기 동작 프로그램을 동작시켜 상기 동작 프로그램의 정상 동작 여부를 확인하고, 오동작되는 상기 전자 장치가 존재하면, 상기 오동작되는 전자 장치의 상기 동작 프로그램을 획득하여 상기 캔 버스로 전송하는 테스터기와, 상기 캔 버스와 상기 테스터기를 물리적으로 연결하는 인터페이스 수단을 구비하는 것을 특징으로 한다. 따라서 오동작되는 전자 장치를 디버깅하는 데 소용되는 시간과 비용을 획기적으로 감소시킨다. The present invention discloses a can network management system and its testing and debugging method. The CAN network management system includes a CAN bus for transmitting a message and an operation program, respectively, and when a test operation is requested through the CAN bus, the CAN network management system tests whether the provided operation program is normally operated, and through the CAN bus. When a debugging operation is requested, a plurality of electronic devices for restoring the provided operating program as an operating program transmitted from the CAN bus, and an operating program of each of the plurality of electronic devices are all provided. Operate the operation program of the electronic device to be tested to check whether the operation program is normally operated, and if the malfunctioning electronic device exists, acquire the operation program of the malfunctioning electronic device and transmit the same to the CAN bus. With tester to do, The bus and the tester And interface means for physically connecting the groups. This significantly reduces the time and cost of debugging a malfunctioning electronic device.
Description
도 1은 일반적인 캔 네트워크 시스템의 개략적인 구성을 도시한 도면이다. 1 is a diagram illustrating a schematic configuration of a general can network system.
도 2는 종래의 기술에 따른 캔 네트워크 관리 시스템의 테스트 방법을 설명하기 위한 기능 블록도를 도시한 도면이다. 2 is a block diagram illustrating a test method of a can network management system according to the related art.
도 3은 본 발명의 기술에 따른캔 네트워크 관리 시스템을 설명하기 위한 기능 블록도를 도시한 도면이다. 3 is a functional block diagram illustrating a can network management system according to the technology of the present invention.
도 4는 본 발명의 기술에 따른 캔 네트워크 관리 시스템의 테스트 및 디버깅 방법을 설명하기 위한 흐름도를 도시한 도면이다. 4 is a flowchart illustrating a test and debugging method of a can network management system according to an exemplary embodiment of the present invention.
본 발명은 캔 네트워크 관리 시스템에 관한 것으로, 특히 캔(controller area network; CAN) 프로토콜을 이용하는 차량내의 전자 장치들을 통합 관리하는 캔 네트워크 관리 시스템 및 이의 테스트 및 디버깅 방법에 관한 것이다. BACKGROUND OF THE
캔은 초기에 자동차 산업 분야에 적용하기 위해 고안된 시리얼 네트워크 통신 방식으로, 근래에는 자동차 분야뿐만 아니라 산업 전 분야에 폭 넓게 적용되고 있으며 자동차 분야에 적용되는 기본적인 캔 네트워크 시스템 구성은 도 1과 같다.The can is a serial network communication scheme designed to be applied to the automotive industry in the early days. Recently, the can is widely applied to not only the automobile field but also the entire industry, and the basic can network system configuration applied to the automobile field is shown in FIG. 1.
도 1에 도시된 바와 같이, 캔 네트워크 시스템은 다수개의 노드를 구비하며 각종 메시지를 전송하는 캔 버스(1), 캔 버스(1)의 각 노드(2)에 연결되고, 각 노드(2)를 통해 메시지를 송수신함으로서 해당 동작을 수행하는 다수개의 전자 장치(ECU-Electronic Control Unit)들(2)로 구성된다. As shown in FIG. 1, a CAN network system includes a
캔 네트워크 시스템에 사용되는 메시지는 송신측이나 수신측의 주소를 포함하지 않으며, 수신측의 식별자 정보만을 포함한다. The message used for the CAN network system does not include an address of a sender or a receiver, but includes only identifier information of a receiver.
이에 캔 버스(1)는 캔 프로토콜에 따라 다수개의 노드들(2) 또는 다수개의 전자 장치들(2) 각각에 고유한 식별자(또는 아이디)를 할당한다. 이는 공지된 기술에 따른 것이므로 상세한 설명은 생략하기로 한다. The can
그리고 캔 버스(1)의 각 노드에 연결된 전자장치는 캔 버스(1)를 통해 전송되는 메시지를 획득하고, 획득한 메시지의 식별자를 통해 수신 여부를 확인하고, 메시지의 식별자가 자신의 식별자와 동일하면 획득한 메시지를 입력 메시지로써 받아 들이고, 이에 따른 동작을 수행한다. The electronic device connected to each node of the
이와 같은 구성되는 캔 네트워크 시스템의 각 전자 장치는 도 2와 같은 구성을 가지는 캔 네트워크 관리 시스템을 통해 정상 동작 여부를 진단한다.Each electronic device of the can network system configured as described above diagnoses normal operation through the can network management system having the configuration as shown in FIG. 2.
도 2는 종래의 기술에 따른 캔 네트워크 관리 시스템의 기능 블럭도를 도시한 도면이다. 2 is a functional block diagram of a can network management system according to the prior art.
도 2에 나타난 바와 같이, 종래의 캔 네트워크 관리 시스템은 캔 버스(1)와, 다수개의 전자 장치들(2) 각각의 내부에 설치되는 메모리(2a) 및 동작 제어 모 듈(2b)과, 캔 버스용 USB(3)와, 테스터기(4)의 내부에 설치되는 테스트 모듈(4a), 테스트용 메모리(4b), 및 사용자 인터페이스 수단(4c)을 구비한다.As shown in FIG. 2, a conventional can network management system includes a
전자 장치(2)의 메모리(2a)는 동작 제어 모듈(2b)을 구동시키기 위한 동작 프로그램과 동작 프로그램의 데이터들을 저장한다. The
캔 버스(1)는 각 전자 장치(2)로부터 또는 캔 버스용 USB(3)로부터 출력되는 메시지를 전송한다. The CAN
전자 장치(2)의 동작 제어 모듈(2b)은 캔 버스(1)를 통해 자신에 해당되는 메시지를 수신하면, 메모리(2a)내의 저장된 동작 프로그램을 구동시켜, 수신한 메시지에 따른 동작을 수행한다. 특히, 캔 버스(1)를 통해 테스트 메시지를 수신한 경우에는 테스트 메시지에 따른 동작을 수행하고, 동작 결과를 반영하는 테스트 결과 통보 메시지를 생성하여 캔 버스(1)로 다시 출력하여 준다. When the
캔 버스용 USB(3)는 캔 버스(1)와 외부의 테스터기(4)를 물리적으로 연결하고, 캔 버스(1)를 통해 전송되는 메시지를 테스터기(4)로, 테스터기(4)로부터 출력되는 메시지는 캔 버스(1)로 출력한다.USB (3) for the CAN bus physically connects the CAN bus (1) and an external tester (4), and outputs a message transmitted through the CAN bus (1) to the tester (4), which is output from the tester (4). The message is output to the CAN
테스터기(4)의 테스트 모듈(4a)은 캔 버스(1)에 연결된 전자 장치들(2) 각각의 동작 상태를 테스트한다. 이를 위해 테스트 모듈(4a)은 사용자가 사용자 인터페이스 수단(4c)을 통해 테스트할 전자 장치(2)를 선택할 수 있도록 하고, 사용자가 테스트할 전자 장치(2)를 선택하면, 선택된 전자 장치(2)의 식별자를 포함하는 테스트 메시지를 생성하여 캔 버스용 USB(3)로 출력한다. 그리고 캔 버스용 USB(3)로부터 테스트 결과 통보 메시지를 수신하고, 이를 분석하여 특정 전자 장치(2)의 정 상 동작 유무를 확인함과 동시에 사용자 인터페이스 수단(4c)을 통해 테스트 결과를 출력하고, 테스트용 메모리(4b)에 저장된 전자 장치(2)의 테스트 결과를 현재의 테스트 결과로 업데이트한다. The
테스터기(4)의 테스트용 메모리(4b)는 다수개의 전자 장치들(2) 각각에 메모리 영역을 할당하고, 각 메모리 영역에는 해당 전자 장치(2)(또는 식별자)의 테스트 결과를 저장한다. The
테스터기(4)의 사용자 인터페이스 수단(4c)은 모니터 장치(미도시), 오디오 장치(미도시), 및 키 입력장치(미도시)를 구비하고, 모니터 장치 및 오디오 장치를 통해서는 테스터기(4)의 동작 상태 및 다수개의 전자 장치(2)의 상태를 시각적 및 청각적으로 인식할 수 있도록 하고, 키 입력 장치를 통해서는 사용자가 테스터기(4)의 동작 모드 및 테스트할 전자 장치(2)를 선택하여 줄 수 있도록 한다. The user interface means 4c of the
이와 같은 종래의 기술에 따른 캔 네트워크 관리 시스템은 캔 네트워크 시스템에 외부의 테스터기(4)를 접속시키고, 테스터기(4)를 이용하여 캔 네트워크 시스템에 접속된 다수개의 전자 장치들의 정상 동작 여부를 확인하여 준다. The conventional can network management system connects an
그러나 종래의 기술에 따른 캔 네트워크 관리 시스템은 캔 버스(1)를 통해 연결되는 다수개의 전자 장치들의 정상 동작 여부만을 확인하는 수준에 머물러 있다. However, the can network management system according to the related art remains at a level of confirming only normal operation of a plurality of electronic devices connected through the
이에 종래에는 오동작되는 전자 장치를 확인하고, 이를 디버깅하는 경우, 오동작되는 전자 장치를 차체에서 분리하고, 분리된 전자 장치를 다시 디버깅 프로그램을 구비하는 별도의 제어 장치와 연결하고, 이를 이용하여 전자 장치의 동작 프 로그램을 수정하여 주어야 하였다.Therefore, in the related art, when a malfunctioning electronic device is identified and debugged, the malfunctioning electronic device is disconnected from the vehicle body, and the separated electronic device is connected to a separate control device having a debugging program. The operation program of the system had to be modified.
따라서 오동작되는 전자 장치를 디버깅하는 경우, 많은 시간과 비용이 소요되는 문제가 있었다. Therefore, when debugging a malfunctioning electronic device, there is a problem that takes a lot of time and money.
본 발명의 목적은 캔 버스를 이용하여 각 전자 장치의 정상 동작 여부를 확인하고 오동작하는 전자 장치를 수정할 수 있도록 하는 캔 네트워크 관리 시스템 및 이의 테스트 및 디버깅 방법을 제공하는 것이다. An object of the present invention is to provide a can network management system and a method for testing and debugging the same, which can identify a normal operation of each electronic device using a can bus and correct a malfunctioning electronic device.
상기의 목적을 달성하기 위한 본 발명의 캔 네트워크 관리 시스템은 메시지를 전송하는 캔 버스와, 동작 프로그램을 각각 구비하며, 상기 캔 버스를 통해 테스트동작을 요청받으면 상기 구비된 동작 프로그램의 정상 동작 여부를 각각 테스트하고, 상기 캔 버스를 통해 디버깅동작을 요청받으면, 상기 구비된 동작 프로그램을 상기 캔 버스로부터 전송되는 동작 프로그램으로 각각 재저장하는 다수개의 전자 장치들과, 상기 다수개의 전자 장치들 각각의 동작 프로그램을 모두 구비하고, 테스트 시에는 테스트하고자하는 상기 전자 장치의 상기 동작 프로그램을 동작시켜 상기 동작 프로그램의 정상 동작 여부를 확인하고, 오동작되는 상기 전자 장치가 존재하면, 상기 오동작되는 전자 장치의 상기 동작 프로그램을 획득하여 상기 캔 버스로 전송하는 테스터기와, 상기 캔 버스와 상기 테스터기를 물리적으로 연결하는 인터페이스 수단을 구비하는 것을 특징으로 한다. The can network management system of the present invention for achieving the above object is provided with a can bus for transmitting a message and an operation program, respectively, and if a test operation is requested through the can bus, whether the provided operation program is normally operated or not. Each of the plurality of electronic devices for re-storing the provided operation program as an operation program transmitted from the can bus, when each test and request for debugging operation through the CAN bus, and each operation of the plurality of electronic devices In the test, the operation program of the electronic device to be tested is operated to check whether the operation program is normally operated, and if the malfunctioning electronic device exists, the operation of the malfunctioning electronic device. A program is obtained and sent to the canvas. And an interface means for physically connecting the can bus and the tester.
상기의 목적을 달성하기 위한 본 발명의 캔 네트워크 시스템은 메시지를 전송하는 캔 버스와, 상기 캔 버스에 연결되며, 고유의 식별자와 동작 프로그램을 각각 구비하며, 상기 캔 버스를 통해 테스트동작을 요청받으면 상기 구비된 동작 프로그램의 정상 동작 여부를 각각 테스트하고, 상기 캔 버스를 통해 디버깅 동작을 요청받으면, 상기 캔 버스로부터 전송되는 동작 프로그램을 상기 구비된 동작 프로그램으로 각각 재저장하는 다수개의 전자 장치들을 구비하고, 상기 전자 장치는 상기 캔 버스로부터 상기 전자 장치의 식별자와 동일한 식별자를 포함하는 동작 프로그램을 수신하면, 상기 전자 장치에 구비된 동작 프로그램을 상기 수신된 동작 프로그램으로 재저장하는 디버깅 모듈을 더 구비하는 것을 특징으로 한다.The can network system of the present invention for achieving the above object is provided with a can bus for transmitting a message, and connected to the can bus, each having a unique identifier and an operation program, when a test operation is requested through the can bus. And a plurality of electronic devices that test whether each of the provided operating programs are normally operated, and when the debugging operation is requested through the CAN bus, re-save the operating program transmitted from the CAN bus into the provided operating program, respectively. The electronic device may further include a debugging module configured to re-store the operation program included in the electronic device as the received operation program when receiving the operation program including the same identifier as the identifier of the electronic device from the canvas. Characterized in that.
상기의 목적을 달성하기 위한 본 발명의 캔 네트워크 관리 시스템의 디버깅 방법은 상기 테스터기는 상기 다수개의 전자 장치들 각각의 식별자를 파악하고, 내부의 메모리에 상기 다수개의 전자 장치들 각각의 동작 프로그램을 저장하는 메모리 초기화 단계와, 상기 테스터기는 상기 메모리를 읽어 디버깅할 전자 장치의 동작 프로그램을 획득하고, 상기 획득된 동작 프로그램을 상기 디버깅할 전자 장치의 식별자를 가지는 메시지로 변환한 후 상기 캔 버스로 출력하는 동작 프로그램 제공 단계와, 상기 메시지에 포함된 식별자와 동일한 식별자를 가지고 있는 상기 전자 장치는 상기 캔 버스를 통해 전송되는 상기 메시지로부터 새로운 동작 프로그램을 획득하고, 상기 새로운 동작 프로그램을 내부의 동작 프로그램으로 재저장하는 동작 프로그램 디버깅 단계를 구비하는 것을 특징으로 한다. In the debugging method of the CAN network management system of the present invention for achieving the above object, the tester recognizes the identifier of each of the plurality of electronic devices, and stores the operation program of each of the plurality of electronic devices in an internal memory. And a memory initialization step, wherein the tester acquires an operation program of the electronic device to be read by reading the memory, converts the obtained operation program into a message having an identifier of the electronic device to be debugged, and outputs the message to the canvas. The electronic device having an operation program providing step and an identifier identical to the identifier included in the message acquires a new operation program from the message transmitted through the CAN bus, and redirects the new operation program to an internal operation program. Save Action Program Debug And a ging step.
상기의 목적을 달성하기 위한 본 발명의 캔 네트워크 관리 시스템의 테스트 및 디버깅 방법은 상기 테스터기는 상기 다수개의 전자 장치들 각각의 식별자를 파악하고, 내부의 메모리에 상기 다수개의 전자 장치들 각각의 동작 프로그램을 저장 하는 메모리 초기화 단계와, 상기 테스터기는 상기 테스트할 전자 장치가 선택되면, 상기 선택된 전자 장치의 식별자를 포함하며 상기 테스트동작을 요청하기 위한 메시지를 생성하여 상기 캔 버스로 출력하는 테스트 요청 단계와, 상기 메시지에 포함된 식별자와 동일한 식별자를 가지는 상기 전자 장치는 상기 캔 버스를 통해 전송되는 상기 메시지에 응답하여 테스트 동작을 수행하고, 테스트 결과를 반영하는 메시지를 생성하여 상기 캔 버스로 출력하는 테스트 수행 단계와, 상기 테스터기는 상기 테스트 결과를 반영하는 메시지의 수신하여 분석하고 상기 테스트를 수행한 전자 장치가 오동작됨이 확인되면, 상기 테스터기 내부의 메모리를 읽어 상기 테스트를 수행한 전자 장치의 동작 프로그램을 획득하는 동작 프로그램 획득 단계와, 상기 테스터기는 획득된 동작 프로그램을 상기 디버깅할 전자 장치의 식별자를 가지는 메시지로 변환한 후 상기 캔 버스로 출력하는 동작 프로그램 제공 단계와, 상기 메시지에 포함된 식별자와 동일한 식별자를 가지고 있는 상기 전자 장치는 상기 캔 버스를 통해 전송되는 상기 메시지로부터 새로운 동작 프로그램을 획득하고, 상기 새로운 동작 프로그램을 내부의 동작 프로그램으로 재저장하는 동작 프로그램 디버깅 단계를 구비하는 것을 특징으로 한다. In the test and debugging method of the can network management system of the present invention for achieving the above object, the tester recognizes the identifier of each of the plurality of electronic devices, the operation program of each of the plurality of electronic devices in the internal memory A memory initialization step of storing a memory; and a test requesting step of generating a message for requesting the test operation by including the identifier of the selected electronic device when the electronic device to be tested is selected, and outputting the message to the canvas; The electronic device having the same identifier as the identifier included in the message performs a test operation in response to the message transmitted through the canvas and generates a message reflecting a test result and outputs the message to the canvas. Performing and the tester Acquiring and analyzing a message reflecting an error, and acquiring an operation program of the electronic device which performed the test by reading a memory inside the tester when it is confirmed that the electronic device which performed the test is malfunctioning; The tester converts the obtained operation program into a message having an identifier of the electronic device to be debugged, and then outputs the operation program to the canvas, and the electronic device having the same identifier as the identifier included in the message. And an operation program debugging step of acquiring a new operation program from the message transmitted through the CAN bus and resave the new operation program as an internal operation program.
이하, 첨부한 도면을 참고로 하여 본 발명의 캔 네트워크 관리 시스템 및 이의 테스트 및 디버깅 방법을 설명하면 다음과 같다.Hereinafter, a can network management system and a test and debugging method thereof according to the present invention will be described with reference to the accompanying drawings.
도 3은 본 발명의 캔 네트워크 관리 시스템의 기능 블럭도를 도시한 도면이다. 3 is a functional block diagram of a can network management system of the present invention.
도 3에 나타난 바와 같이, 본 발명의 캔 네트워크 관리 시스템은 도 2에서와 동일하게 캔 버스(1)와, 다수개의 전자 장치들(5)과, 캔 버스용 USB(3)와, 테스터기(6)를 구비하되, 각 전자 장치(5)는 디버깅 모듈(5a)을 더 구비하고, 테스터기(6)는 디버깅 모듈(6a) 및 디버깅용 메모리(6b)를 더 구비한다.As shown in FIG. 3, the can network management system of the present invention is the same as in FIG. 2, the
이에 도 2와 동일한 구성 및 동작을 수행하는 도 3의 구성요소에 대해서는 도 2와 동일한 번호를 부여하고, 이에 대한 상세한 설명은 생략하기로 한다. Accordingly, the components of FIG. 3 that perform the same configuration and operation as those of FIG. 2 are given the same numbers as in FIG. 2, and detailed description thereof will be omitted.
전자 장치(5)의 디버깅 모듈(5a)은 오동작하는 전자 장치(5)의 동작 프로그램을 수정하여 전자 장치(5)의 오동작을 디버깅한다. 이에 디버깅 모듈(5a)은 테스트기(6)가 출력하는 자신의 식별자를 가지는 디버깅 메시지들이 캔 버스(1)를 통해 전송되면, 수신된 디버깅 메시지들을 디코딩하여 유효 데이터들을 획득하고, 획득된 유효 데이터들을 조립하여 동작 프로그램 및 동작 프로그램의 데이터를 획득한다. 그리고 메모리(2a)내에 저장되어 있는 기존의 동작 프로그램 및 동작 프로그램의 데이터를 새로이 획득된 동작 프로그램 및 동작 프로그램의 데이터로 업데이트한다. 이에 전자 장치(5)는 업데이트된 동작 프로그램 및 동작 프로그램의 데이터에 따른 동작을 수행하여 정상적인 동작을 수행할 수 있게 된다. 즉, 전자 장치(5)의 오동작이 디버깅된다. The
테스터기(6)의 디버깅 모듈(6a)은 다수개의 전자 장치들(5) 중, 오동작되는 전자 장치(5)가 있으면, 이에 새로운 동작 프로그램 및 이의 데이터를 제공하여 전자 장치(5)가 정상동작 될 수 있도록 한다. 더욱 상세하게는 디버깅 모듈(6a)은 테스트용 메모리(4b)를 실시간으로 모니터링하고, 그 결과 디버깅 동작이 필요한 전자 장치가 발견되면, 사용자 인터페이스 수단(4c)을 통해 디스플레이하고, 사용자가 해당 전자 장치(5)의 디버깅을 요청할 수 있도록 한다. 이에 사용자가 디버깅할 전자 장치(5)를 선택하면, 디버깅용 메모리(6b)를 읽어 선택된 전자 장치(5)에 대응되는 동작 프로그램 및 이 동작 프로그램의 데이터를 획득하고, 획득된 동작 프로그램 및 이 동작 프로그램의 데이터를 분해 및 디코딩하여 다수개의 디버깅 메시지들로 변환한 후, 캔 버스용 USB(3)로 출력한다.
예를 들어, 디버깅 모듈(6a)은 "*0001"의 식별자를 가지는 전자 장치(5a)가 오동작됨을 감지하면, 디버깅 모듈(6a)은 디버깅용 메모리(6b)를 검색하여 "*0001"의 식별자에 대응되는 동작 프로그램과 이의 데이터 "A file"과 "A data"를 획득한 후, 복수개의 디버깅 메시지들로 분해 및 디코딩한 후, 이를 캔버스를 통해 전송하여준다. 그러면 "*0001"의 식별자를 가지는 전자 장치(5)는 복수개의 디버깅 메시지들 수신하게 되고, 디버깅 모듈(5a)을 통해 이들을 인코딩 및 조합하여 다시 "A file"과 "A data"을 생성한 후, 이를 새로운 동작 프로그램과 이의 데이터로 업데이트하게 된다. 즉, "*0001"의 식별자를 가지는 전자 장치(5)는 오동작되는 동작 프로그램 및 이의 데이터를 새로운 동작 프로그램과 이의 데이터로 수정하여, 오동작을 디버깅하여 준다. If the
For example, when the
이때의 디버깅 메시지들은 오동작되는 전자 장치(5)의 식별자를 포함하며, 캔 프로토콜에 따른 메시지 프레임 형태를 따른다. In this case, the debugging messages include an identifier of the malfunctioning
테스터기(6)의 디버깅용 메모리(6b)는 다수개의 전자 장치들(5) 각각에 메모리 영역을 할당하고, 각 메모리 영역에 해당 전자 장치(5)의 동작 제어 모듈(2b)을 구동시키기 위한 동작 프로그램 및 이 동작 프로그램의 데이터를 저장한다. The
테스터기(6)의 사용자 인터페이스 수단(4c)은 모니터 장치(미도시), 오디오 장치(미도시), 및 키 입력장치(미도시)를 구비하고, 모니터 장치 및 오디오 장치를 통해서는 테스터기(6)의 동작 상태 및 다수개의 전자 장치들(5)의 상태를 시각적 및 청각적으로 인식할 수 있도록 하고, 키 입력 장치를 통해서는 사용자가 테스터기(6)의 테스트 동작, 디버깅 동작, 및 테스트할 전자 장치(5)를 선택하여 줄 수 있도록 한다. The user interface means 4c of the
도 4는 도 3의 캔 네트워크 관리 시스템의 테스트 및 디버깅 방법을 설명하기 위한 흐름도이다. FIG. 4 is a flowchart illustrating a test and debugging method of the can network management system of FIG. 3.
먼저 테스터기(6)를 캔 버스용 USB(3)에 연결하여, 캔 버스(1)에 연결된 다수개의 전자 장치들(5) 각각의 식별자를 파악하고, 디버깅용 메모리(6b)의 영역을 파악된 전자 장치들(5) 각각에 대응되는 메모리 영역으로 분할하고, 분할된 메모리 영역들 각각에는 해당 전자 장치(5)(또는 각 식별자)의 동작 제어 모듈(2b)을 구동시키기 위한 동작 프로그램 및 동작 프로그램의 데이터들을 저장한다. 또한 테스터 기(6)는 다수개의 전자 장치들(5) 각각의 테스트 결과를 초기화한 후 테스트용 메모리(4b)에 저장한다. 이에 테스터기(6)의 초기화 작업을 완료한다(단계 S1). First, the
그리고 테스터기(6)는 사용자 인터페이스 수단(4c)을 통해 사용자가 테스트 모드를 선택하는지 모니터링하고(단계 S2), 사용자가 테스트 모드를 선택하고, 테스트를 수행할 전자 장치(5)를 선택하면(단계 S3), 테스트 모듈(4a)을 구동시켜 테스트할 전자 장치(5)의 식별자(예를 들어, *0001)를 포함하는 테스트 메시지를 생성하여 캔 버스용 USB(3) 및 캔 버스(1)로 출력한다(단계 S4).The
캔 버스(1)를 공유하는 다수개의 전자 장치들(5) 중, 테스트 메시지에 포함된 식별자(*0001)와 동일한 식별자(*0001)를 가지는 전자 장치(5)는 테스트 메시지를 수신하고, 동작 제어 모듈(2b)을 구동시켜, 수신한 테스트 메시지에 대응되는 테스트 동작을 수행한다(단계 S5).Among the plurality of
테스트 동작이 완료되면, 테스트 동작 결과를 반영하는 테스트 결과 통보 메시지를 생성하여 캔 버스(1) 및 캔 버스용 USB(3)로 출력한다(단계 S6). When the test operation is completed, a test result notification message reflecting the test operation result is generated and output to the
테스터기(6)의 테스트 모듈(4a)은 캔 버스용 USB(3)를 통해 테스트 결과 통보 메시지를 수신하고, 수신한 테스트 결과 통보 메시지를 분석하여(단계 S7), 테스트를 수행한 전자 장치(5)의 정상 동작 유무를 확인함과 동시에 사용자 인터페이스 수단(4c)을 통해 테스트 결과를 출력하고, 테스트용 메모리(4b)에 저장된 전자 장치(5)의 테스트 결과를 현재에 획득된 테스트 결과로 업데이트한다. The
테스트 결과 통보 메시지의 분석 결과, 테스트를 수행한 전자 장치(5)가 정상동작됨이 확인되면(단계 S8), 다시 S3 단계로 진입하여 다른 전자 장치(5)를 테 스트하도록 하고, 전자 장치(5)가 오동작됨이 확인되면, 테스터기(6)는 사용자 인터페이스 수단(4c)을 통해 사용자가 디버깅 모드를 선택하는지를 모니터링한다(단계 S9). As a result of the analysis of the test result notification message, when it is confirmed that the
모니터링 결과, 사용자가 디버깅 모드를 선택하면, 테스터기(6)는 디버깅용 메모리(6b)의 메모리 영역들 중 디버깅할 전자 장치(5)에 대응되는 메모리 영역(*0001)을 읽어, 디버깅을 수행 할 전자 장치(5)의 동작 프로그램 및 동작 프로그램의 데이터(A file, A data)를 획득한다. 그리고 획득된 동작 프로그램 및 동작 프로그램의 데이터(A file, A data)를 캔 프로토롤에 따라 분해 및 디코딩하여 다수개의 디버깅 메시지들로 변환하고, 변환된 디버깅 메시지들을 캔 버스용 USB(3) 및 캔 버스(1)로 출력한다(단계 S10). As a result of monitoring, when the user selects the debugging mode, the
캔 버스(1)에 연결된 다수개의 전자 장치들(5) 중, 디버깅 메시지에 포함된 식별자(*0001)와 동일한 식별자(*0001)를 가지는 전자 장치(5)의 디버깅 모듈(5a)은 디버깅 메시지들을 수신하고, 수신된 디버깅 메시지들을 다시 인코딩 및 조합하여 동작 프로그램 및 이의 데이터(A file, A data)를 획득한다. Among the plurality of
그리고 전자 장치(5)의 디버깅 모듈(5a)은 메모리내에 저장된 동작 프로그램 및 동작 프로그램의 데이터 대신에 새로이 획득된 동작 프로그램 및 동작 프로그램의 데이터(A file, A data)로 저장하고, 성공적으로 디버깅을 수행하였음을 알려주기 위한 디버깅 성공 메시지를 생성하여 캔 버스용 USB(3) 및 캔 버스(1)로 출력한다(단계 S12). The
테스터기(6)의 디버깅 모듈(6a)은 캔 버스용 USB(3)를 통해 디버깅 성공 메시지를 수신하면, 디버깅을 수행한 전자 장치(5)의 동작 프로그램이 성공적으로 수정되었음을 확인하고(단계 S13), 본 발명의 캔 네트워크 관리 시스템의 테스트 및 디버깅 방법을 종료한다. When the
이와 같이 본 발명의 캔 네트워크 관리 시스템 및 이의 테스트 및 디버깅 방법은 캔 버스를 통해 테스트 메시지와 디버깅 메시지를 전송할 수 있도록 하여, 다수개의 전자 장치들의 테스트 및 디버깅 동작을 차량에 부착한 상태에서 모두 수행할 수 있도록 하는 장점을 제공한다. As described above, the can network management system of the present invention and its test and debugging method can transmit a test message and a debugging message through a can bus, so that the test and debugging operations of a plurality of electronic devices can be performed while attached to the vehicle. It offers the advantage of making it possible.
상기에서는 본 발명의 바람직한 실시 예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.Although the above has been described with reference to a preferred embodiment of the present invention, those skilled in the art will be variously modified and changed within the scope of the invention without departing from the spirit and scope of the invention described in the claims below. I can understand that you can.
본 발명의 캔 네트워크 관리 시스템 및 이의 테스트 및 디버깅 방법은 캔 버스를 이용하여 각 전자 장치의 정상 동작 여부를 확인함과 동시에 오동작하는 전자 장치의 동작 프로그램을 수정할 수 있도록 한다. The can network management system of the present invention and its testing and debugging method can check the normal operation of each electronic device using the can bus and modify the operation program of the malfunctioning electronic device.
이에 오동작되는 전자 장치를 디버깅하는 데 소용되는 시간과 비용을 획기적으로 감소시킨다. This dramatically reduces the time and cost of debugging a malfunctioning electronic device.
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040072756A KR100634229B1 (en) | 2004-09-10 | 2004-09-10 | CAN network controll system and test and debugging method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040072756A KR100634229B1 (en) | 2004-09-10 | 2004-09-10 | CAN network controll system and test and debugging method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20060023862A KR20060023862A (en) | 2006-03-15 |
KR100634229B1 true KR100634229B1 (en) | 2006-10-16 |
Family
ID=37129953
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020040072756A KR100634229B1 (en) | 2004-09-10 | 2004-09-10 | CAN network controll system and test and debugging method thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100634229B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102854865A (en) * | 2012-09-20 | 2013-01-02 | 江苏常隆客车有限公司 | Method for online debugging of electric automobile based on real-time curve |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101104166B1 (en) | 2009-11-26 | 2012-01-12 | 애니포인트 미디어 그룹 | System and method for testing user application using computing apparatus and media playback apparatus |
KR101303880B1 (en) * | 2011-12-22 | 2013-09-04 | (주)동아엘텍 | Real time communication network structure of auto in-line aging system |
CN104298224A (en) * | 2014-09-12 | 2015-01-21 | 中国第一汽车股份有限公司 | Automatic vehicle-mounted electronic control unit CAN bus communication testing device and system |
CN104267715A (en) * | 2014-09-12 | 2015-01-07 | 中国第一汽车股份有限公司 | Vehicle-mounted electronic control unit LIN bus communication automatic testing device and system |
CN113534765A (en) * | 2020-04-22 | 2021-10-22 | 北京新能源汽车股份有限公司 | Real vehicle network test system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5323385A (en) | 1993-01-27 | 1994-06-21 | Thermo King Corporation | Serial bus communication method in a refrigeration system |
US6393379B1 (en) * | 2000-09-01 | 2002-05-21 | International Truck Intellectual Property Company, L.L.C. | Controller area network diagnostic instrument |
-
2004
- 2004-09-10 KR KR1020040072756A patent/KR100634229B1/en active IP Right Grant
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5323385A (en) | 1993-01-27 | 1994-06-21 | Thermo King Corporation | Serial bus communication method in a refrigeration system |
US6393379B1 (en) * | 2000-09-01 | 2002-05-21 | International Truck Intellectual Property Company, L.L.C. | Controller area network diagnostic instrument |
Non-Patent Citations (2)
Title |
---|
1020040072756 - 639493 |
15244779 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102854865A (en) * | 2012-09-20 | 2013-01-02 | 江苏常隆客车有限公司 | Method for online debugging of electric automobile based on real-time curve |
Also Published As
Publication number | Publication date |
---|---|
KR20060023862A (en) | 2006-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6701233B2 (en) | Scan tool with dropped communications detection and recovery and improved protocol selection | |
US7797581B2 (en) | Device and method for testing motherboard | |
CN110457744B (en) | SD/SDIO equipment simulation model framework and design method thereof | |
JP2009264770A (en) | Vehicle diagnostic system, vehicle diagnostic terminal, information server device, and vehicle diagnostic method | |
CN111506047B (en) | Vehicle diagnosis method, device and storage medium | |
US7385927B2 (en) | Methods and structure for improved testing of embedded systems | |
KR100634229B1 (en) | CAN network controll system and test and debugging method thereof | |
KR100505692B1 (en) | Fail diagnostics service system and method for disc drive | |
CN111857103B (en) | Vehicle diagnosis method, device, equipment and storage medium | |
US20240036111A1 (en) | Chip verification method and apparatus, electronic device, and storage medium | |
JP2003318996A (en) | Communication device for vehicle | |
CN112148537A (en) | Bus monitoring device and method, storage medium, and electronic device | |
CN113225232B (en) | Hardware testing method and device, computer equipment and storage medium | |
CN113542333B (en) | Method for monitoring vehicle signals | |
CN111708568B (en) | Modularized development decoupling method and terminal | |
CN108648298B (en) | Message processing method and device, storage medium and electronic equipment | |
KR20160043378A (en) | Apparatus and method for updating vehicle device having multiple modules | |
KR20030080872A (en) | Method and apparatus for checking state of peripheral | |
CN104202207A (en) | Handheld bus debugging terminal and method thereof | |
CN113960991A (en) | Vehicle fault diagnosis system, method and device, system-on-chip and vehicle | |
CN110967614B (en) | Chip testing method, chip testing equipment and chip | |
US20180276107A1 (en) | Method for message-processing | |
JP3870890B2 (en) | Operation board, remote I / O communication control method | |
CN115328838A (en) | Comprehensive avionics system bus analysis system | |
CN115576305A (en) | Vehicle diagnosis method and apparatus with separated upper and lower bodies, and storage medium |
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: 20121010 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20130930 Year of fee payment: 8 |
|
FPAY | Annual fee payment |
Payment date: 20140915 Year of fee payment: 9 |
|
FPAY | Annual fee payment |
Payment date: 20150917 Year of fee payment: 10 |
|
FPAY | Annual fee payment |
Payment date: 20160920 Year of fee payment: 11 |
|
FPAY | Annual fee payment |
Payment date: 20180917 Year of fee payment: 13 |