KR100634911B1 - Test method and test system for control device - Google Patents
Test method and test system for control device Download PDFInfo
- Publication number
- KR100634911B1 KR100634911B1 KR1020040069291A KR20040069291A KR100634911B1 KR 100634911 B1 KR100634911 B1 KR 100634911B1 KR 1020040069291 A KR1020040069291 A KR 1020040069291A KR 20040069291 A KR20040069291 A KR 20040069291A KR 100634911 B1 KR100634911 B1 KR 100634911B1
- Authority
- KR
- South Korea
- Prior art keywords
- test
- input
- output
- signal lines
- control device
- Prior art date
Links
Images
Classifications
-
- 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
-
- 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
- G05B11/00—Automatic controllers
- G05B11/01—Automatic controllers electric
-
- 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
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/23—Pc programming
- G05B2219/23452—Simulate sequence on display to control program, test functions
Abstract
본 발명은 제어 장치의 테스트 방법 및 테스트 시스템을 공개한다. 이 방법은 통신 라인이 연결되는 통신 포트, 복수개의 입력 신호 라인들이 연결되는 입력 포트, 및 복수개의 출력 신호 라인들이 연결되는 출력 포트를 구비하는 제어 장치의 테스트 방법에 있어서, 제어 장치의 소프트웨어 버전을 확인하는 버전 확인 단계, 제어 장치로 인가되는 입력 테스트 메시지와 순차적으로 상태가 변환되는 복수개의 입력 신호 라인들에 응답하여 입력 포트의 상태 정보를 통신 라인으로 전송함으로 입력 포트를 테스트하는 입력 포트 테스트 단계, 및 제어 장치로 한번 인가되는 출력 테스트 메시지에 응답하여 복수개의 출력 신호 라인들의 상태를 순차적으로 변환하고, 출력 포트의 상태 정보를 통신 라인으로 전송함으로 출력 포트를 테스트하는 출력 포트 테스트 단계를 구비하는 것을 특징으로 한다. 따라서, 하드웨어적인 구성들만 테스트할 수 있으므로, 테스트 시간을 감소시킬 수 있다.The present invention discloses a test method and test system of a control device. The method includes a communication port to which a communication line is connected, an input port to which a plurality of input signal lines are connected, and an output port to which a plurality of output signal lines are connected. Version checking step for checking, Input port test step for testing the input port by transmitting the status information of the input port to the communication line in response to the input test message applied to the control device and the plurality of input signal lines sequentially converted state And an output port test step of sequentially converting states of the plurality of output signal lines in response to an output test message applied once to the control device, and testing the output port by transmitting state information of the output port to the communication line. It is characterized by. Thus, only hardware configurations can be tested, thus reducing test time.
Description
도 1은 제어 장치를 테스트하기 위한 테스트 시스템의 일반적인 구성을 나타내는 블록도이다.1 is a block diagram showing a general configuration of a test system for testing a control device.
도 2는 종래의 제어 장치의 테스트 방법을 설명하기 위한 도면이다.2 is a view for explaining a test method of a conventional control device.
도 3은 본 발명의 제어 장치의 테스트 방법을 설명하기 위한 도면이다.3 is a view for explaining a test method of the control device of the present invention.
본 발명은 제어 장치의 테스트 방법에 관한 것으로서, 특히 통신 라인이 연결되는 통신 포트, 복수개의 입력 신호 라인들이 연결되는 입력 포트, 및 복수개의 출력 신호 라인들이 연결되는 출력 포트를 구비하는 제어 장치의 테스트 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test method of a control device, and more particularly, to a test of a control device having a communication port to which a communication line is connected, an input port to which a plurality of input signal lines are connected, and an output port to which a plurality of output signal lines are connected. It is about a method.
제어 장치가 제어하고자하는 장치들을 제어하기 위해서는 입력부와 상기 제어 장치들 사이, 및 상기 제어하고자하는 장치들과 상기 제어 장치들 사이에 많은 배선을 필요로 하게 된다. 상기 제어하고자하는 장치들이 여러 군데에 분산 배치되어 있는 경우에는 상기 배선은 더욱 많이 필요해지며, 따라서, 배선이 복잡해진다. 이러한 문제를 해결하기 위해 복수개의 제어 장치를 구비하고 상기 복수개의 제어 장치들을 통신 라인으로 연결하여 전체 시스템을 제어하는 분산 제어 방식이 사용된다.In order to control the devices to be controlled by the control device, a lot of wiring is required between the input unit and the control devices and between the devices to be controlled and the control devices. In the case where the devices to be controlled are distributed in several places, the wiring becomes more necessary, and the wiring becomes complicated. In order to solve this problem, a distributed control method including a plurality of control devices and connecting the plurality of control devices by a communication line to control the entire system is used.
예를 들면, 자동차에는 운전의 편의 및 안전한 운행을 위해 많은 전자 장치들(예를 들면, 파워 윈도우, 각종 램프 등) 및 이들 전자 장치들을 제어하기 위한 제어 장치들이 장착된다. 최근 들어, 이러한 전자 장치들이 증가함에 따라 제어 모듈과 전자 장치를 연결하는 배선이 증가하고 복잡해지고 있다. 이러한 문제를 해결하기 위해 통신 라인(CAN : Controller Area Network)을 이용하여 제어 모듈들이 서로 정보를 공유하도록 하고 있다. 즉, 제어 모듈은 입력 신호가 입력되면 상기 입력 신호에 응답하여 전자 장치들을 구동함과 동시에, 통신 라인(CAN)을 통하여 상기 입력 신호에 대한 정보를 다른 제어 모듈로 전송함으로써 필요한 배선량을 감소시키고, 배선을 간단하게 할 수 있다.For example, automobiles are equipped with many electronic devices (eg, power windows, various lamps, etc.) and control devices for controlling these electronic devices for the convenience of driving and safe driving. In recent years, as these electronic devices increase, wiring for connecting the control module and the electronic devices increases and becomes more complicated. To solve this problem, control modules use a communication line (CAN) to share information with each other. That is, when an input signal is input, the control module drives electronic devices in response to the input signal, and at the same time, reduces the amount of wiring required by transmitting information on the input signal to another control module through a communication line (CAN), The wiring can be simplified.
도 1은 제어 장치를 테스트하기 위한 일반적인 구성을 나타낸 블록도로서, 테스트 장비(10) 및 테스트를 하고자 하는 제어 장치(20)로 구성되어 있다. 도 1에서 P는 전원 라인을, CAN은 통신 라인을, IN1, IN2, …, INn은 입력 신호 라인들을, OUT1, OUT2, …, OUTn은 출력 신호 라인들을 각각 나타낸다. 또한, 제어 장치(20)의 IP는 상기 입력 신호 라인들(IN1, IN2, …, INn)과 연결되는 입력 포트를, OP는 상기 출력 신호 라인들(OUT1, OUT2, …, OUTn)과 연결되는 출력 포트를, CP는 상기 통신 라인(CAN)과 연결되는 통신 포트를 각각 나타낸다.FIG. 1 is a block diagram showing a general configuration for testing a control device, and is composed of
도 1에 나타낸 제어 장치(20)는 정상 동작(normal mode) 시, 입력 신호 라인 들(IN1, IN2, …, INn)은 각종 스위치 또는 센서 등과 연결되고, 출력 신호 라인들(OUT1, OUT2, …, OUTn)은 작동시키고자 하는 전자 장치들에 연결되고, 통신 라인(CAN)은 다른 제어 모듈들과 연결되어, 상기 입력 신호 라인(IN1, IN2, …, INn)을 통하여 입력된 입력 신호 및 통신 라인(CAN)을 통하여 입력된 통신 신호에 응답하여 상기 출력 신호 라인들(OUT1, OUT2, …, OUTn)을 통하여 상기 전자 장치들을 제어하기 위한 구동 신호들을 출력하고, 또한, 상기 입력 신호 라인(IN1, IN2, …, INn)을 통하여 입력된 입력 신호에 응답하여 통신 라인(CAN)을 통하여 통신 신호를 출력한다.In the normal operation of the
도 1에 나타낸 블록들 각각의 기능을 설명하면 다음과 같다.The function of each of the blocks shown in FIG. 1 is as follows.
테스트 장비(10)는 전원 라인(P)을 통하여 제어 장치(20)로 전원을 공급하며, 저장된 프로그램에 따라 통신 라인(CAN) 및/또는 입력 신호 라인(IN1, IN2, …, INn)을 통하여 제어 장치(20)를 테스트하기 위한 신호들을 출력하고, 다시 제어 장치(20)로부터 통신 라인(CAN) 및/또는 출력 신호 라인(OUT1, OUT2, …, OUTn)을 통하여 출력된 신호들을 확인함으로써 테스트를 수행한다.The
제어 장치(20)는 상기 통신 라인(CAN) 및/또는 입력 신호 라인(IN1, IN2, …, INn)을 통하여 입력된 신호들에 응답하여 출력 신호 라인(OUT1, OUT2, …, OUTn) 및/또는 통신 라인(CAN)을 통하여 각종 신호들을 출력한다.The
도 2는 종래의 제어 장치의 테스트 방법을 설명하기 위한 도면으로서, 도 2를 참고하여 종래의 제어 장치의 테스트 방법을 설명하면 다음과 같다.FIG. 2 is a diagram for describing a test method of a conventional control device. Referring to FIG. 2, the test method of the conventional control device will be described below.
제어 장치(20)는 테스트 장비(10)로부터 전원이 공급되면 일단 노멀 모드 (normal mode)에서 동작한다. The
이 상태에서, 우선, 테스트 장비(10)는 통신 라인(CAN)을 통하여 테스트 시작 신호를 전송한다(100). In this state, first, the
제어 장치(20)는 상기 테스트 신호를 수신하면 노멀 모드(normal mode)에서 테스트 모드(test mode)로 전환한다(110). 다음으로, 리턴 테스트 시작 신호를 통신 라인(CAN)을 통하여 테스트 장비로 전송한다(120).When the
테스트 장비(10)는 상기 리턴 테스트 시작 신호를 수신하면 제어 장치(20)를 테스트하기 위해, 즉, 제어 장치(20)가 임의의 기능을 수행하도록 입력 신호 라인(IN1, IN2, …, INn) 및 통신 라인(CAN)을 통하여 입력 신호 및/또는 통신 신호를 출력한다(130).The
제어 장치(20)는 상기 입력 신호 및/또는 상기 통신 신호에 응답하여 입력된 상기 입력 신호 및/또는 상기 통신 신호에 상응하는 기능을 수행한다(140). 상기 기능을 수행하게 되면 출력 포트(OP) 및/또는 통신 포트(CP)를 통하여 출력 신호 및/또는 통신 신호가 출력된다(150). 즉, 상술한 바와 같이, 제어 장치(20)는 입력 신호 및/또는 통신 신호에 응답하여 전자 장치들을 작동시키기 위한 출력 신호를 출력한다. 또한, 입력 신호에 응답하여 통신 신호를 출력한다. The
테스트 장비(10)는 제어 장치(20)로부터 출력된 상기 출력 신호 및 상기 통신 신호를 확인함으로써 제어 장치(20)를 테스트한다(160). 제어 장치(20)의 모든 기능을 확인하면 테스트를 종료한다. 즉, 테스트 장비(10)가 출력한 입력 신호 및/또는 통신 신호에 따라 적절한 통신 신호 및/또는 출력 신호를 출력하는지를 판단 함으로써 제어 장치(20)를 테스트한다.The
다시 말하면, 종래의 제어 장치(20)의 테스트 방법은 제어 장치(20)가 어떤 기능을 수행하도록 하고, 제어 장치(20)가 그 기능을 수행하기에 적절한 통신 신호 및/또는 출력 신호를 출력하는지를 판단함으로써 제어 장치(20)를 테스트한다. In other words, the test method of the
그런데, 상술한 바와 같이 테스트를 하게 되면 테스트 시간이 많이 걸린다는 단점이 있다. However, when the test as described above has a disadvantage that the test takes a lot of time.
즉, 제어 장치(20)가 입력 신호 및/또는 통신 신호에 응답하여 출력 신호 및/또는 통신 신호를 출력하도록 하는 것은 일반적으로 소프트웨어(software)적으로 구현된다. 그런데, 상술한 바와 같이 테스트를 하게 되면, 상기 소프트웨어(software) 및 하드웨어(hardware)적으로 구현된 통신 라인(CAN), 입력 신호 라인(IN1, IN2, …, INn), 및 출력 신호 라인(OUT1, OUT2, …, OUTn)을 동시에 테스트하는 것이 되어 테스트 시간이 많이 걸리게 된다. 다시 말하면, 상기 소프트웨어는 일반적으로 다른 테스트 공정에서도 다른 방법으로 테스트를 수행하는데도 불구하고, 상술한 종래의 테스트 방법은 하드웨어를 테스트할 때 결과적으로 다시 소프트웨어를 테스트하게 되어 테스트 시간이 많이 걸리게 된다.That is, it is generally software implemented to cause the
또한, 제어 장치(20)가 여러 가지 기능을 수행하도록 함으로써 결과적으로 하드웨어(hardware)적으로 구현된 통신 라인(CAN), 입력 신호 라인(IN1, IN2, …, INn), 및 출력 신호 라인(OUT1, OUT2, …, OUTn)을 중복하여 테스트하게 된다. 다시 말하면, 상기 통신 라인(CAN), 상기 입력 신호 라인(IN1, IN2, …, INn), 및 상기 출력 신호 라인(OUT1, OUT2, …, OUTn)의 전부 또는 일부는 테스트하는 두 가지 이상의 기능에서 사용될 수 있으며, 이 때에는 그 신호 라인은 두 번 이상 테스트하게 되므로, 결과적으로 테스트 시간이 많이 걸리게 된다.In addition, by allowing the
본 발명의 목적은 테스트 시간을 감소시킬 수 있는 제어 장치의 테스트 방법을 제공하는데 있다.It is an object of the present invention to provide a test method of a control device that can reduce the test time.
본 발명의 다른 목적은 상기 목적을 달성하기 위한 제어 장치의 테스트 시스템을 제공하는데 있다.Another object of the present invention is to provide a test system of a control device for achieving the above object.
상기 목적을 달성하기 위한 본 발명의 제어 장치의 테스트 방법은 통신 라인이 연결되는 통신 포트, 복수개의 입력 신호 라인들이 연결되는 입력 포트, 및 복수개의 출력 신호 라인들이 연결되는 출력 포트를 구비하는 제어 장치의 테스트 방법에 있어서, 제어 장치의 소프트웨어 버전을 확인하는 버전 확인 단계, 제어 장치로 인가되는 입력 테스트 메시지와 순차적으로 상태가 변환되는 복수개의 입력 신호 라인들에 응답하여 입력 포트의 상태 정보를 통신 라인으로 전송함으로 입력 포트를 테스트하는 입력 포트 테스트 단계, 및 제어 장치로 한번 인가되는 출력 테스트 메시지에 응답하여 복수개의 출력 신호 라인들의 상태를 순차적으로 변환하고, 출력 포트의 상태 정보를 통신 라인으로 전송함으로 출력 포트를 테스트하는 출력 포트 테스트 단계를 구비하는 것을 특징으로 한다.The control method of the control apparatus of the present invention for achieving the above object is a control device having a communication port to which the communication line is connected, an input port to which the plurality of input signal lines are connected, and an output port to which the plurality of output signal lines are connected. In the test method of the step, the version of the step of confirming the software version of the control device, the input test message applied to the control device and the status information of the input port in response to the plurality of input signal lines are sequentially converted status communication line An input port test step of testing the input port by transmitting a signal to the controller, and sequentially converting the states of the plurality of output signal lines in response to an output test message applied to the control device, and transmitting status information of the output port to the communication line. Output port test step to test the output port It characterized in that it comprises.
상기 목적을 달성하기 위한 본 발명의 제어 장치의 테스트 방법의 입력 포트 테스트 단계는 통신 라인을 통하여 제어 장치로 입력 테스트 메시지를 전송하고, 제어 장치는 입력 테스트 메시지를 리턴하는 입력 테스트 메시지 전송 단계, 복수개의 입력 신호 라인들을 순차적으로 구동하고, 제어 장치가 상기 입력 포트의 상태를 읽어 그 상태에 대한 입력 포트 상태 정보를 전송하는 입력 포트 구동 단계, 및 입력 포트 상태 정보와 복수개의 입력 신호 라인들의 상태가 일치하는지 여부를 확인하는 입력 포트 확인 단계를 구비하고, 복수개의 입력 신호 라인들을 모두 테스트할 때까지 입력 포트 구동 단계 및 입력 포트 확인 단계를 반복하는 것을 특징으로 한다. The input port test step of the test method of the control device of the present invention for achieving the above object is an input test message transmission step of transmitting an input test message to the control device via a communication line, the control device returns an input test message, a plurality An input port driving step of sequentially driving two input signal lines and reading a state of the input port and transmitting input port state information about the state; and input port state information and states of the plurality of input signal lines And an input port checking step of checking whether there is a match, and repeating the input port driving step and the input port checking step until all the plurality of input signal lines have been tested.
상기 목적을 달성하기 위한 본 발명의 제어 장치의 테스트 방법의 출력 포트 테스트 단계는 통신 라인을 통하여 제어 장치로 출력 테스트 메시지를 전송하고, 제어 장치는 출력 테스트 메시지를 리턴하는 출력 테스트 메시지 전송 단계, 제어 장치가 출력 포트를 통하여 복수개의 출력 신호 라인들을 순차적으로 구동하고, 출력 포트의 상태에 대한 출력 포트 상태 정보를 전송하는 출력 포트 구동 단계, 및 복수개의 출력 신호 라인들의 상태와 출력 포트 상태 정보가 일치하는지 여부를 확인하는 출력 포트 확인 단계를 구비하고, 복수개의 출력 신호 라인들을 모두 테스트할 때까지 출력 포트 구동 단계 및 출력 포트 확인 단계를 반복하는 것을 특징으로 한다. The output port test step of the test method of the control apparatus of the present invention for achieving the above object transmits an output test message to the control apparatus via a communication line, and the control apparatus sends an output test message to return the output test message, control An output port driving step in which a device sequentially drives a plurality of output signal lines through an output port, transmits output port status information on the status of the output port, and the status of the plurality of output signal lines coincides with the output port status information. And an output port confirming step of repeating the output port driving step and the output port checking step until all of the plurality of output signal lines have been tested.
상기 다른 목적을 달성하기 위한 본 발명의 제어 장치의 테스트 시스템은 통신 라인이 연결되는 통신 포트, 복수개의 입력 신호 라인들이 연결되는 입력 포트, 및 복수개의 출력 신호 라인들이 연결되는 출력 포트를 구비하는 제어 장치, 및 통신 라인, 복수개의 입력 신호 라인들, 및 복수개의 출력 신호 라인들과 연결된 테스트 장비를 구비하고, 테스트 장비는 통신 라인을 통하여 버전 확인 메시지를 출력하여 제어 장치의 소프트웨어 버전을 확인하고, 입력 테스트 메시지를 출력하여 제어 장치의 입력 포트를 테스트하고, 출력 테스트 메시지를 출력하여 제어 장치의 출력 포트를 테스트하는 기능을 구비하고, 제어 장치는 입력 테스트 메시지에 응답하여 리턴 입력 테스트 메시지를 통신 라인을 통하여 전송한 다음, 복수개의 입력 신호 라인들을 모두 테스트할 때까지 입력 포트의 상태를 읽어 그 상태에 대한 입력 포트 상태 정보를 통신 라인을 통하여 전송하는 기능을 구비하고, 출력 테스트 메시지에 응답하여 리턴 출력 테스트 메시지를 통신 라인을 통하여 전송한 다음, 복수개의 출력 신호 라인들을 모두 테스트할 때까지 출력 포트의 상태를 순차적으로 변화시키고, 출력 포트의 상태에 대한 출력 포트 상태 정보를 통신 라인을 통하여 전송하는 기능을 구비하는 것을 특징으로 한다. The test system of the control apparatus of the present invention for achieving the above another object is a control having a communication port to which a communication line is connected, an input port to which a plurality of input signal lines are connected, and an output port to which a plurality of output signal lines are connected. A device, and test equipment connected to the communication line, the plurality of input signal lines, and the plurality of output signal lines, the test equipment outputting a version confirmation message via the communication line to confirm the software version of the control device, Outputting an input test message to test an input port of a control device, and outputting an output test message to test an output port of the control device, wherein the control device sends a return input test message in response to the input test message. Transmits the signal through a plurality of input signal lines Reads the state of the input port until the test, and transmits the input port state information about the state through the communication line, and transmits a return output test message through the communication line in response to the output test message, And sequentially changing the state of the output port until all the output signal lines have been tested, and transmitting output port state information about the state of the output port through the communication line.
상기 다른 목적을 달성하기 위한 본 발명의 제어 장치의 테스트 시스템의 상기 제어 장치는 상기 버전 확인 메시지에 응답하여 소프트웨어 버전을 상기 통신 라인을 통하여 상기 테스트 장비로 전송하는 기능을 구비하는 것을 특징으로 한다.The control device of the test system of the control device of the control device of the present invention for achieving the another object is characterized in that it has a function of transmitting a software version to the test equipment via the communication line in response to the version confirmation message.
삭제delete
상기 다른 목적을 달성하기 위한 본 발명의 제어 장치의 테스트 시스템의 상기 테스트 장비는 상기 리턴 입력 테스트 메시지가 입력되면 상기 복수개의 입력 신호 라인들을 모두 테스트할 때까지 상기 복수개의 입력 신호 라인들의 상태를 순차적으로 변화시키고, 상기 복수개의 입력 신호 라인들의 상태와 상기 입력 포트 상태 정보가 일치하는지 여부를 확인함으로써 상기 제어 장치의 입력 포트를 테스트하는 기능을 구비하는 것을 특징으로 한다.When the return input test message is input, the test equipment of the test system of the control apparatus of the present invention for achieving the above another object sequentially processes the states of the plurality of input signal lines until all of the plurality of input signal lines are tested. And inputting the input port of the control device by checking whether the state of the plurality of input signal lines coincides with the input port state information.
삭제delete
상기 다른 목적을 달성하기 위한 본 발명의 제어 장치의 테스트 시스템의 상기 테스트 장비는 상기 리턴 출력 테스트 메시지가 입력되면 상기 복수개의 출력 신호 라인들을 모두 테스트할 때까지 상기 출력 포트 상태 정보와 상기 복수개의 출력 신호 라인들의 상태가 일치하는지 여부를 확인함으로써 상기 제어 장치의 출력 포트를 테스트하는 기능을 구비하는 것을 특징으로 한다.The test equipment of the test system of the control device of the control device of the present invention for achieving the another object is that the output port state information and the plurality of outputs until the return output test message is tested until all of the plurality of output signal lines are tested. And a function of testing the output port of the control device by checking whether the states of the signal lines coincide.
이하, 첨부한 도면을 참고로 하여 본 발명의 제어 장치의 테스트 방법 및 테스트 시스템을 설명하면 다음과 같다.Hereinafter, a test method and a test system of a control device of the present invention will be described with reference to the accompanying drawings.
도 3은 본 발명의 제어 장치의 테스트 방법을 설명하기 위한 도면으로서, 도 3을 참고하여 본 발명의 제어 장치의 테스트 방법을 설명하면 다음과 같다.3 is a view for explaining a test method of the control device of the present invention, the test method of the control device of the present invention with reference to FIG.
제어 장치(20)는 테스트 장비(10)로부터 전원이 공급되면 일단 노멀 모드(normal mode)에서 동작한다. The
이 상태에서, 우선, 테스트 장비(10)는 통신 라인(CAN)을 통하여 테스트 시작 신호를 전송한다(200).In this state, first, the
제어 장치(20)는 상기 테스트 신호를 수신하면 노멀 모드(normal mode)에서 테스트 모드(test mode)로 전환한다(210). 다음으로, 리턴 테스트 시작 신호를 통신 라인(CAN)을 통하여 테스트 장비(10)로 전송한다(220).When the
테스트 장비(10)는 상기 리턴 테스트 시작 신호를 수신하면 버전(version) 확인 메시지를 통신 라인(CAN)을 통하여 제어 장치(20)로 전송한다(230).When receiving the return test start signal, the
제어 장치(20)는 상기 버전 확인 메시지에 응답하여 통신 라인(CAN)을 통하여 소프트웨어 버전을 테스트 장비(10)로 전송한다(240).The
테스트 장비(10)는 상기 소프트웨어 버전이 맞는지를 확인한다(250).The
다음으로, 테스트 장비(10)는 상기 소프트웨어 버전을 확인하여 버전이 틀리면 테스트를 종료하고, 버전이 맞으면 입력 테스트 메시지를 전송한다(260).Next, the
제어 장치(20)는 상기 입력 테스트 메시지에 응답하여 리턴 입력 테스트 메시지를 통신 라인(CAN)을 통하여 테스트 장비(10)로 전송한다(270).The
테스트 장비(10)는 상기 리턴 입력 테스트 메시지를 수신하면 입력 신호 라인(IN1, IN2, …, INn)의 상태를 변환한다(280). 그리고, 제어 장치(20)는 상기 입력 신호 라인들(IN1, IN2, …, INn)의 상태, 즉, 입력 포트(IP)의 상태를 읽는다(290).The
다음으로, 제어 장치(20)는 상기 입력 신호 라인들(IN1, IN2, …, INn)의 상태에 대한 정보(즉, 입력 포트 상태 정보)를 통신 라인(CAN)을 통하여 테스트 장비(10)로 전송한다(300).Next, the
테스트 장비(10)는 통신 라인(CAN)을 통하여 전송된 상기 입력 포트 상태 정보가 테스트 장비(10)가 변환시킨 입력 신호 라인들(IN1, IN2, …, INn)의 상태와 일치하는지 확인한다(310). 이 때, 입력 신호 라인들(IN1, IN2, …, INn)의 상태와 상기 입력 포트 상태 정보가 일치한다면 다시 입력 신호 라인(IN1, IN2, …, INn) 의 상태를 변환한다(280). 그러나, 일치하지 않으면 일치하는 입력 포트 상태 정보가 입력될 때까지 소정 시간(예를 들면, 1초) 기다리지만, 상기 소정 시간이 지나도록 상기 입력 신호 라인들(IN1, IN2, …, INn)의 상태와 일치하는 입력 포트 상태 정보가 입력되지 않으면 테스트를 종료한다.The
모든 입력 신호 라인들(IN1, IN2, …, INn)을 모두 테스트 할 때까지 상기 280 내지 310의 과정을 반복한다. The process of 280 to 310 is repeated until all the input signal lines IN1, IN2,..., INn are all tested.
예를 들면, 테스트 장비(10)는 먼저 첫 번째 입력 신호 라인(IN1)에는 하이 레벨을, 나머지 신호 라인들(IN2, …, INn)에는 로우 레벨의 신호를 출력하고, 통신 라인(CAN)을 통하여 입력된 입력 신호 라인들(IN1, IN2, …, INn)의 상태에 대한 입력 포트 상태 정보가 입력 신호 라인들(IN1, IN2, …, INn)의 상태와 일치하는지를 확인한다. 일치한다면, 두 번째 입력 신호라인(IN2)에 하이 레벨의 신호를 출력하고, 다시 확인한다. 이러한 과정을 n 번째 입력 신호 라인(INn)까지 반복한다.For example, the
입력 신호 라인들(IN1, IN2, …, INn)의 테스트가 끝나면, 테스트 장비(10)는 통신 라인(CAN)을 통하여 출력 테스트 메시지를 제어 장치(20)로 전송한다(320).After testing the input signal lines IN1, IN2,..., INn, the
제어 장치(20)는 상기 출력 테스트 메시지에 응답하여 리턴 출력 테스트 메시지를 통신 라인(CAN)을 통하여 테스트 장비(10)로 전송한다(330).The
다음으로, 제어 장치(20)는 출력 신호 라인들(OUT1, OUT2, …, OUTn)의 상태를 변환한다(340).Next, the
다음으로, 제어 장치(20)는 상기 출력 신호 라인들(OUT1, OUT2, …, OUTn)의 상태에 대한 정보(즉, 출력 포트 상태 정보)를 통신 라인(CAN)을 통하여 테스트 장비(10)로 전송한다(350).Next, the
테스트 장비(10)는 상기 출력 포트 상태 정보와 출력 신호 라인들(OUT1, OUT2, …, OUTn)의 상태가 일치하는지를 확인한다(360). 이 때, 상기 출력 포트 상태 정보와 출력 신호 라인들(OUT1, OUT2, …, OUTn)의 상태가 일치한다면 계속해서 테스트를 진행한다. 그러나, 만일 일치하지 않는다면, 즉, 소정 시간(예를 들면, 1초)동안 일치하는 출력 포트 상태 정보가 입력되지 않는다면 테스트를 종료한다.The
모든 출력 신호 라인들(OUT1, OUT2, …, OUTn)을 테스트할 때까지 상기 340 내지 360의 과정을 반복한다.The
예를 들면, 우선, 제어 장치(20)는 첫 번째 출력 신호 라인(OUT1)에는 하이 레벨을, 나머지 출력 신호 라인들(OUT2, …, OUTn)에는 로우 레벨의 신호를 출력하고, 이에 대한 출력 포트 상태 정보를 통신 라인을 통하여 테스트 장비(10)로 전송한다. 테스트 장비(10)는 출력 신호 라인들(OUT1, OUT2, …, OUTn)의 상태가 상기 출력 포트 상태 정보와 일치하는지를 확인한다. 소정 시간(예를 들면, 1초) 후에 제어 장치(20)는 두 번째 출력 신호 라인(OUT2)을 통하여 하이 레벨의 신호를 송신하고, 이에 대한 출력 포트 상태 정보를 테스트 장비(10)로 전송하며, 테스트 장비(10)는 다시 출력 신호 라인들(OUT1, OUT2, …, OUTn)의 상태가 상기 출력 포트 상태 정보와 일치하는지를 확인한다. 이와 같은 과정을 n 번째 출력 신호 라인(OUTn)을 테스트할 때까지 반복한다. 만일, 소정 시간동안 출력 신호 라인들(OUT1, OUT2, …, OUTn)의 상태와 일치하는 출력 포트 상태 정보가 입력되지 않는다면, 테스트 장비(10)는 테스트를 종료한다.For example, first, the
출력 신호 라인들(OUT1, OUT2, …, OUTn)을 모두 테스트하면 테스트를 종료한다.Testing the output signal lines OUT1, OUT2, ..., OUTn ends the test.
테스트 장비(10)는 테스트 수행 중에는 통신 라인(CAN)을 통하여 소정의 테스트 코드를 주기적으로 전송하며(예를 들면, 10ms 마다), 테스트가 종료되면 상기 테스트 코드를 출력하지 않는다. 따라서, 소정 시간이상(예를 들면, 10ms 이상) 상기 테스트 코드가 전송되지 않으면 제어 장치(20)는 테스트 모드를 종료하고 노멀 모드(normal mode)로 전환한다.The
즉, 본 발명의 제어 장치의 테스트 방법은 제어 장치의 소프트웨어는 배제한 채, 하드웨어적인 구성 요소들, 즉, 통신 라인(CAN), 입력 신호 라인들(IN1, IN2, …, INn), 및 출력 신호 라인들(OUT1, OUT2, …, OUTn)만을 테스트함으로써 테스트에 소요되는 시간을 감소시킬 수 있다. That is, the test method of the control device of the present invention excludes software of the control device, and includes hardware components, that is, a communication line (CAN), input signal lines (IN1, IN2, ..., INn), and an output signal. By testing only the lines OUT1, OUT2,..., And OUTn, the time required for the test can be reduced.
본 발명의 제어 장치의 테스트 방법 및 테스트 시스템은 자동차의 전자 장치를 제어하는 자동차의 제어 장치들 외에, 통신 포트, 입력 포트, 및 출력 포트를 가지는 다른 제어 장치들을 테스트할 경우에도 적용될 수 있다.The test method and test system of the control device of the present invention can be applied to the test of other control devices having a communication port, an input port, and an output port, in addition to the control devices of the car controlling the electronic device of the car.
상기에서는 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당 기술분야의 숙련된 당업자는 하기의 특허 청구 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.Although the above has been described with reference to a preferred embodiment of the present invention, those skilled in the art will be able to variously modify and change the present invention without departing from the spirit and scope of the invention as set forth in the claims below. It will be appreciated.
따라서, 본 발명의 제어 장치의 테스트 방법 및 테스트 시스템은 하드웨어적인 구성들만 테스트할 수 있으므로, 테스트 시간을 감소시킬 수 있다.Therefore, the test method and the test system of the control apparatus of the present invention can test only the hardware configurations, thereby reducing the test time.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040069291A KR100634911B1 (en) | 2004-08-31 | 2004-08-31 | Test method and test system for control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040069291A KR100634911B1 (en) | 2004-08-31 | 2004-08-31 | Test method and test system for control device |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20060020447A KR20060020447A (en) | 2006-03-06 |
KR100634911B1 true KR100634911B1 (en) | 2006-10-17 |
Family
ID=37127597
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020040069291A KR100634911B1 (en) | 2004-08-31 | 2004-08-31 | Test method and test system for control device |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100634911B1 (en) |
-
2004
- 2004-08-31 KR KR1020040069291A patent/KR100634911B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR20060020447A (en) | 2006-03-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7265569B2 (en) | Test apparatus | |
EP1037061A2 (en) | Method for testing on-vehicle electronic unit | |
KR100634911B1 (en) | Test method and test system for control device | |
ATE370579T1 (en) | DEVICE FOR TRANSMITTING AND/OR RECEIVING DATA AND METHOD FOR CONTROLLING SUCH DEVICE | |
US5511225A (en) | Programmable controller for controlling output of control system by having configuration circuit cooperating with monitor logic to selectively transmit return output frame | |
US7200510B2 (en) | Measurement control apparatus including interface circuits | |
JP3401985B2 (en) | Control communication system | |
JP3472891B2 (en) | Control communication system | |
KR100278403B1 (en) | Dual control method | |
JPH09505187A (en) | Electrical switching assembly | |
CN110389922B (en) | Switching system and method for computer input signals | |
KR101018876B1 (en) | Method of Testing Navigation Analog Input Device for Integration Navigation System | |
EP0978771B1 (en) | Telecontrol device and method | |
KR100478784B1 (en) | internal communication device between systems | |
JP3567069B2 (en) | Matrix test equipment | |
KR960001834Y1 (en) | An input signal auto-changing circuit | |
JP2647209B2 (en) | Electrical circuit test method | |
JPH09218845A (en) | Selection system for external connection apparatus | |
JPH0652075A (en) | Communication emulator device | |
KR0145939B1 (en) | Apparatus for generating drive control signal of clock transmissing and reception | |
JP2830601B2 (en) | Abnormal sequence test circuit | |
JP3001505B2 (en) | Test method of speech channel interface | |
KR19980059725U (en) | Self Diagnosis Device of Communication Module | |
JPH05336212A (en) | Test system for data communication protocol | |
JPS63124140A (en) | Test circuit for picture signal switching control device |
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: 20121025 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 |
|
LAPS | Lapse due to unpaid annual fee |