KR100193511B1 - Communication protocol between engine control unit and external computer - Google Patents
Communication protocol between engine control unit and external computer Download PDFInfo
- Publication number
- KR100193511B1 KR100193511B1 KR1019970010788A KR19970010788A KR100193511B1 KR 100193511 B1 KR100193511 B1 KR 100193511B1 KR 1019970010788 A KR1019970010788 A KR 1019970010788A KR 19970010788 A KR19970010788 A KR 19970010788A KR 100193511 B1 KR100193511 B1 KR 100193511B1
- Authority
- KR
- South Korea
- Prior art keywords
- data
- receiving
- transmitting
- control device
- engine control
- Prior art date
Links
Images
Landscapes
- Combined Controls Of Internal Combustion Engines (AREA)
Abstract
본 발명은 자동차의 ECU개발 단계에서 개발 ECU와 PC간의 통신 프로토콜을 표준화하여 향후 개발되는 ECU에 적용할 수 있도록 하므로써 ECU개발 기간을 단축시키고 데이터 전송을 보다 원활하게 하기 위하여 엔진 제어 장치와 외부에 연결되어 있는 외부 통신 제어 장치와의 통신 프로토콜에 있어서, 엔진 제어 장치의 특정 어드레스 데이터 수신을 위한 저장 모드와; 엔진 제어 장치의 지정된 어드레스에 데이터 매칭 즉 데이터 에뮬레이션을 위한 디스플레이 모드 및 에뮬레이션 모드와; 엔진 제어 장치의 선택된 어드레스 데이터 수신을 수행하는 수신 모드와; 엔진 제어 장치의 지정된 시작 어드레스부터 지정된 개수 만큼 데이터 에뮬레이션을 수행하는 송신 모드와; 엔진 제어 장치의 ROM 에뮬레이션 및 데이터 매칭을 수행하는 데이터 매칭 모드와; 데이터 통신 종료를 수행하는 종료 모드로 구분하여 통신이 이루어지는 자동차의 통신 프로토콜에 관한 것이다.The present invention connects to the engine control device and the outside in order to shorten the ECU development period and facilitate data transmission by standardizing the communication protocol between the development ECU and the PC in the ECU development stage of the vehicle and applying it to future ECUs. A communication protocol with an external communication control device, comprising: a storage mode for receiving specific address data of an engine control device; A display mode and emulation mode for data matching, ie data emulation, to a designated address of the engine control apparatus; A reception mode for performing the selected address data reception of the engine control device; A transmission mode for performing data emulation as many as a specified number starting from a specified start address of the engine control device; A data matching mode for performing ROM emulation and data matching of the engine control apparatus; The present invention relates to a communication protocol of a vehicle in which communication is performed by dividing into an end mode for terminating data communication.
Description
본 발명은 컴퓨터간의 통신 프로토콜(protocol)에 관한 것으로서, 자동차 엔진 제어 장치의 개발 또는 시험을 수행할 경우 외부 통신 제어 장치와 엔진 제어 장치간의 통신 프로토콜을 정의하고 향후 본 프로토콜을 기준으로 프로토콜을 표준화하여 엔진 제어 장치와 외부 통신 제어 장치간의 원활한 통신이 이루어지도록 하기 위한 통신 프로토콜에 관한 것이다.The present invention relates to a communication protocol between computers, and when developing or testing a vehicle engine control device, defines a communication protocol between an external communication control device and an engine control device, and standardizes the protocol based on the present protocol in the future. The present invention relates to a communication protocol for smooth communication between an engine control device and an external communication control device.
일반적으로 각 주행 상태에 따른 정확한 엔진의 동작을 제어하기 위해 많은 시험을 통해 엔진 제어 장치의 동작이나 내장되는 데이터(data)를 각각 설정하여 적절한 엔진의 제어 동작이 이루어질 수 있도록 한다.In general, in order to control the operation of the engine correctly according to each driving state, a number of tests are performed to set the operation of the engine control apparatus or embedded data, respectively, so that the appropriate control operation of the engine can be achieved.
따라서 새로운 자동차를 개발할 경우나 또는 보다 정확한 엔진의 동작을 제어할 수 있도록 하기 위해서, 엔진의 동작을 제어하는 엔진 제어 장치의 동작 상태를 외부 시험자들이 확인할 필요가 있다.Therefore, when developing a new vehicle or in order to be able to control the operation of the engine more accurately, it is necessary for external testers to confirm the operation state of the engine control device that controls the operation of the engine.
그러므로 각 제어동작을 통해 발생하는 데이터를 인식하고 제어 데이터의 상태를 새로운 제어 데이터 등으로 변경하여 여러 조건하에서 다양한 시험 동작이 이루어질 수 있도록 한다.Therefore, it recognizes the data generated through each control operation and changes the state of the control data to new control data to enable various test operations under various conditions.
상기와 같은 필요 동작에 따라 엔진 제어 장치에 내장되어 있는 메모리(memory)의 데이터를 모니터링(monitoring)하여 데이터의 상태를 확인하고 새로운 데이터로의 변경 동작을 실행할 경우엔, 제어 장치인 엔진 제어 장치와 외부에 장착되는 컴퓨터간의 통신 동작이 필요하다.According to the necessary operation as described above, when monitoring the data in the memory (memory) built in the engine control device to check the status of the data and to perform a change operation to the new data, the engine control device as a control device and Communication operation between external computers is required.
그리고 상기와 같은 해당 컴퓨터간의 통신을 위해서는 각 통신 규약이 필요하다.And each communication protocol is required for the communication between the computers as described above.
그러나 상기와 같이 엔진 제어 장치와 외부 컴퓨터간의 데이터 모니터링을 위한 별도의 통신 장치가 개발되지 않은 상태에서는 이미 개발되어 있는 통신 프로토콜을 통해 데이터 통신을 실현해야 하므로 원하는 상태로의 원활한 데이터 통신을 실현할 수 없고, 타사에서 이미 개발해 놓은 프로토콜을 사용하므로 경제적인 부담을 초래하는 문제가 발생한다.However, in the state where a separate communication device for data monitoring between the engine control device and the external computer is not developed as described above, data communication must be realized through a communication protocol that has already been developed, so that smooth data communication in a desired state cannot be realized. However, using the protocols developed by other companies, there is a problem that causes economic burden.
본 발명은 상기와 같은 문제점을 해결하기 위하여 안출된 것으로서, 엔진 제어 장치와 외부 통신 제어 장치간에 통신 동작을 실행할 경우 필요한 프로토콜을 자체 개발하므로 원활한 데이터 통신을 수행할 수 있도록 하는 통신 프로토콜을 제공하는데 그 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and provides a communication protocol that enables a smooth data communication since a necessary protocol is developed when a communication operation is performed between an engine control device and an external communication control device. There is a purpose.
상기한 목적을 달성하기 위한 수단으로서 본 발명은The present invention as a means for achieving the above object
엔진 제어 장치와 외부에 연결되어 있는 외부 통신 제어 장치와의 통신 프로토콜에 있어서,In the communication protocol between the engine control device and an external communication control device connected to the outside,
엔진 제어 장치의 특정 어드레스 데이터 수신을 위한 저장 모드와;A storage mode for receiving specific address data of the engine control device;
엔진 제어 장치의 지정된 어드레스에 데이터 매칭 즉 데이터 에뮬레이션을 위한 디스플레이 모드 및 에뮬레이션 모드와;A display mode and emulation mode for data matching, ie data emulation, to a designated address of the engine control apparatus;
엔진 제어 장치의 선택된 어드레스 데이터 수신을 수행하는 수신 모드와;A reception mode for performing the selected address data reception of the engine control device;
엔진 제어 장치의 지정된 시작 어드레스부터 지정된 개수 만큼 데이터 에뮬레이션을 수행하는 송신 모드와;A transmission mode for performing data emulation as many as a specified number starting from a specified start address of the engine control device;
엔진 제어 장치의 ROM 에뮬레이션 및 데이터 매칭을 수행하는 데이터 매칭 모드와;A data matching mode for performing ROM emulation and data matching of the engine control apparatus;
데이터 통신 종료를 수행하는 종료 모드로 구분하여 통신하는 것을 특징으로 한다.Characterize and communicate in the termination mode for performing the data communication termination.
도 1은 본 발명의 실시예에 따른 외부 통신 제어 장치와 엔진 제어 장치간의 통신 선로에 관한 블록도이고,1 is a block diagram of a communication line between an external communication control device and an engine control device according to an embodiment of the present invention;
도 2는 본 발명의 실시예에 따른 통신 장치에 프로그램 되어 있는 알고리즘 중 저장 모드의 초기화 단계에 관한 순서도이고,2 is a flowchart illustrating an initialization step of a storage mode among algorithms programmed in a communication device according to an embodiment of the present invention.
도 3은 저장 모드의 데이터 전송 단계에 관한 순서도이고,3 is a flowchart of a data transmission step of a storage mode;
도 4는 디스플레이 및 에뮬레이션 모드에 관한 순서도이고,4 is a flow chart related to a display and emulation mode,
도 5는 수신 모드에 관한 순서도이고,5 is a flowchart related to a reception mode,
도 6은 송신 모드에 관한 순서도이고,6 is a flowchart related to a transmission mode,
도 7은 데이터 매칭 모드에 관한 순서도이고,7 is a flowchart related to a data matching mode,
도 8은 종료 모드에 관한 순서도이다.8 is a flowchart related to an end mode.
이하, 첨부된 도면을 참조로 하여 본 발명의 가장 바람직한 실시예를 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail the most preferred embodiment of the present invention.
본 발명의 구성을 도 1을 참고로 하여 설명하면 다음과 같다.Referring to the configuration of the present invention with reference to Figure 1 as follows.
데이터 통신을 실행하기 위한 제어 동작을 실행하고 각 해당 데이터의 송/수신 동작을 실행할 수 있도록 하는 외부 통신 제어 장치(10)와, 엔진의 제어 동작에 따른 각 해당 데이터가 롬(ROM)이나 램(RAM)에 저장되어 있고 통신 동작을 위한 각 해당동작을 실행하는 엔진 제어 장치(20)를 포함하여 이루어져 있다.An external
상기와 같이 이루어지는 본 발명의 통신 과정은 저장 모드(mode), 디스플레이(display) 및 에뮬레이션(emulation) 모드, 수신 모드, 송신 모드, 데이터 매칭(data matching) 모드, 종료 모드로 미리 구분되어 각 식별 문자를 통하여 해당 모드로 인식할 수 있도록 구성되어 있다.The communication process of the present invention made as described above is classified into a storage mode, a display and emulation mode, a reception mode, a transmission mode, a data matching mode, and an end mode. It is configured to recognize the mode through.
상기의 저장 모드는 초기화 단계와 데이터 송수신 단계로 나뉘어 지는데, 저장 모드의 커맨드 송수신 식별문자는 임의적으로 A, T로 정의하였다.The storage mode is divided into an initialization step and a data transmission / reception step. Command transmission / reception characters of the storage mode are arbitrarily defined as A and T.
도 2를 참고로 하여 초기화 단계를 상세히 설명하면 다음과 같다.The initialization step will be described in detail with reference to FIG. 2 as follows.
먼저 외부 통신 제어 장치(10)에서 통신 시작을 위하여 커맨드(command)를 엔진 제어 장치(20)로 송신한다(S10).First, the external
이때 커맨드는 미리 정의한 A문자이며 엔진 제어 장치(20)는 연결되어 있는 통신 선로를 통해 수신되는 커맨드 즉 A문자를 수신한 후(S20), 커맨드의 수신 완료 상태를 상기 외부 통신 제어 장치(10)로 알려주기 위한 응답신호 T를 송신한다(S21).At this time, the command is a predefined letter A and the
그러므로 외부 통신 제어 장치(10)는 수신되는 응답신호 T를 수신한 후(S11), 전송할 데이터의 개수(N)를 엔진 제어 장치(20)로 송신한다(S12).Therefore, the external
따라서 엔진 제어 장치(20)는 데이터 개수를 수신하고(S22), 데이터의 개수 만큼의 어드레스(address)를 송신하기 위하여 롬이나 램의 해당 어드레스를 로우(low) 상태와 하이(high) 상태로 구분하여 엔진 제어 장치(20)로 송신한다(S13,S14).Therefore, the
그러므로 엔진 제어 장치(20)는 송신되는 데이터 개수에 대한 어드레스 신호를 로우 상태와 하이 상태로 구분하여 수신한다(S23,S24).Therefore, the
그리고 외부 통신 제어 장치(10)와 엔진 제어 장치(20)는 각각 어드레스 전송 회수 카운트(count) 신호가 데이터 개수 만큼 이루어졌는지를 비교판단하여(S15,S25), 데이터 개수 만큼의 어드레스 신호가 전송된 것으로 판단되면 엔진 제어 장치(20)는 실행되었던 모든 통신 동작에 대한 체크데이터(checksum)를 외부 통신 제어 장치(10)로 송신한다(S26).The external
따라서 외부 통신 제어 장치(10)는 송신되는 체크데이터를 수신한 후(S16), 수신되는 체크데이터 응답 신호가 정상인지를 비교판단한다(S17).Therefore, after receiving the check data transmitted (S16), the external
응답 신호가 정상으로 판정되면 데이터 전송 모드로 리턴(return)되며, 데이터 전송 모드는 도 3을 참고로 하여 설명하면 다음과 같다.If the response signal is determined to be normal, it is returned to the data transmission mode, and the data transmission mode will be described below with reference to FIG. 3.
먼저 외부 통신 제어 장치(10)는 초기화 단계와 마찬가지로 통신 시작을 위한 커맨드를 엔진 제어 장치(20)로 송신한다(S30).First, the external
이때 커맨드는 미리 정의한 B문자이며 엔진 제어 장치(20)는 연결되어 있는 통신 선로를 통해 수신되는 커맨드 즉 B문자를 수신한 후(S40), 커맨드의 수신 완료 상태를 상기 외부 통신 제어 장치(10)로 알려주기 위한 응답신호 U를 송신한다(S41).At this time, the command is a predefined letter B and the
그리고 외부 통신 제어 장치(10)로 응답신호 U가 수신되면(S31), 엔진 제어 장치(20)는 데이터를 송신하고(S42), 외부 통신 제어 장치(10)는 데이터를 수신한다(S32).When the response signal U is received by the external communication control device 10 (S31), the
이때 데이터의 송수신은 카운트가 N이 될 때까지 이루어진다(S33,S43).At this time, transmission and reception of data is performed until the count reaches N (S33, S43).
다음으로 디스플레이 및 에뮬레이터 모드를 도 4를 참고로 하여 설명한다.Next, the display and emulator modes will be described with reference to FIG. 4.
먼저 외부 통신 제어 장치(10)에서 통신 시작을 위하여 커맨드를 엔진 제어 장치(20)로 송신한다(S50).First, the external
이때 커맨드는 미리 정의한 C문자이며 엔진 제어 장치(20)는 연결되어 있는 통신 선로를 통해 수신되는 커맨드 즉 C문자를 수신한 후(S60), 커맨드의 수신 완료 상태를 상기 외부 통신 제어 장치(10)로 알려주기 위한 응답신호 V를 송신한다(S61).At this time, the command is a predefined letter C and the
그러므로 외부 통신 제어 장치(10)는 수신되는 응답신호 V를 수신한 후(S51), 전송할 데이터의 개수(N)를 엔진 제어 장치(20)로 송신한다(S52).Therefore, the external
따라서 엔진 제어 장치(20)는 데이터 개수를 수신하고(S62), 데이터의 개수 만큼의 어드레스를 송신하기 위하여 롬이나 램의 해당 어드레스를 로우 상태와 하이 상태로 구분하여 엔진 제어 장치(20)로 송신한다(S53,S54).Therefore, the
그러므로 엔진 제어 장치(20)는 송신되는 데이터 개수에 대한 어드레스 신호를 로우 상태와 하이 상태로 구분하여 수신한다(S63,S64).Therefore, the
그리고 수신된 어드레스에 해당하는 데이터를 외부 통신 제어 장치(10)로 송신한 뒤(S65), 체크 데이터를 송신한다(S66).Then, data corresponding to the received address is transmitted to the external communication control device 10 (S65), and then check data is transmitted (S66).
따라서 외부 통신 제어 장치(10)는 엔진 제어 장치(20)에서 송신되는 데이타를 수신하고(S55), 데이터 송수신이 정상적으로 이루어졌는지를 비교판단하기 위하여 체크데이타를 수신한다(S56).Therefore, the external
수신된 체크데이터를 비교하여 응답신호가 정상인지를 비교판단하여(S57), 정상이 아닌 것으로 판단된 경우 처음으로 리턴 되어 본 모드를 다시 시작하고 정상인 것으로 판단되면 종료된다.Comparing the check data received to determine whether the response signal is normal (S57), if it is determined that it is not normal is returned for the first time and restarts this mode and ends when it is determined to be normal.
다음으로 수신 모드를 도 5를 참고로 하여 설명한다.Next, the reception mode will be described with reference to FIG. 5.
먼저 외부 통신 제어 장치(10)에서 통신 시작을 위하여 커맨드를 엔진 제어 장치(20)로 송신한다(S70).First, the external
이때 커맨드는 미리 정의한 D문자이며 엔진 제어 장치(20)는 연결되어 있는 통신 선로를 통해 수신되는 커맨드 즉 D문자를 수신한 후(S80), 커맨드의 수신 완료 상태를 상기 외부 통신 제어 장치(10)로 알려주기 위한 응답신호 W를 송신한다(S81).At this time, the command is a predefined letter D and the
그러므로 외부 통신 제어 장치(10)는 수신되는 응답신호 W를 수신한 후(S71), 전송할 데이터의 개수(N)를 엔진 제어 장치(20)로 송신한다(S72).Therefore, the external
따라서 엔진 제어 장치(20)는 데이터 개수를 수신하고(S82), 데이터 개수 만큼의 어드레스를 송신하기 위하여 롬이나 램에 저장되어 있는 시작 어드레스 신호를 로우 상태와 하이 상태로 구분하여 엔진 제어 장치(20)로 송신한다(S73,S74).Therefore, the
그러므로 엔진 제어 장치(20)는 송신되는 데이터 개수에 대한 어드레스 신호를 로우 상태와 하이 상태로 구분하여 수신한다(S83,S84).Therefore, the
그리고 수신된 어드레스에 해당하는 데이터를 카운트가 N이 될 때까지(S86) 외부 통신 제어 장치(10)로 송신한 뒤(S85), 체크데이터를 송신한다(S87).The data corresponding to the received address is transmitted to the external
따라서 외부 통신 제어 장치(10)는 엔진 제어 장치(20)에서 송신되는 데이타를 카운트가 N이 될 때까지(S76) 수신한 후(S75), 엔진 제어 장치(20)로 부터 체크데이타를 수신받아(S77) 실행된 데이터 전송 회수가 정상인지를 비교판단한다(S78).Therefore, the external
S78에서 정상이 아닌 것으로 판단되면 처음으로 리턴 되어 본 모드를 다시 시작하고 정상인 것으로 판단되면 종료된다.If it is determined in S78 that it is not normal, it is returned to the beginning and restarts this mode.
다음으로 송신 모드를 도 6을 참고로 하여 설명한다.Next, the transmission mode will be described with reference to FIG.
먼저 외부 통신 제어 장치(10)에서 통신 시작을 위하여 커맨드를 엔진 제어 장치(20)로 송신한다(S90).First, the external
이때 커맨드는 미리 정의한 E문자이며 엔진 제어 장치(20)는 연결되어 있는 통신 선로를 통해 수신되는 커맨드 즉 E문자를 수신한 후(S100), 커맨드의 수신 완료 상태를 상기 외부 통신 제어 장치(10)로 알려주기 위한 응답신호 X를 송신한다(S101).In this case, the command is a predefined letter E and the
그러므로 외부 통신 제어 장치(10)는 수신되는 응답신호 T를 수신한 후(S91), 전송할 데이터의 개수(N)를 엔진 제어 장치(20)로 송신한다(S92).Therefore, the external
따라서 엔진 제어 장치(20)는 데이터 개수를 수신하고(S102), 데이터의 개수 만큼의 어드레스를 송신하기 위하여 롬이나 램에 저장되어 있는 시작 어드레스 신호를 로우 상태와 하이 상태로 구분하여 엔진 제어 장치(20)로 송신한다(S93,S94).Therefore, the
그러므로 엔진 제어 장치(20)는 송신되는 데이터 개수에 대한 어드레스 신호를 로우 상태와 하이 상태로 구분하여 수신한다(S103,S104).Therefore, the
그리고 외부 통신 제어 장치(10)에서 카운트가 N이 될 때까지(S96) 데이터를 송신하면(S95), 엔진 제어 장치(20)는 카운트가 N이 될 때까지(S106) 수신된 어드레스에 해당하는 데이터를 수신받는다(S105).If the external
따라서 데이터 전송이 완료되면 외부 통신 제어 장치(10)는 통신이 정상적으로 이루어졌는가를 비교판단하기 위하여 엔진 제어 장치(20)로 체크데이타를 송신한다(S97).Therefore, when the data transmission is completed, the external
상기 엔진 제어 장치(20)는 체크 데이터를 수신받으면(S107), 외부 통신 제어 장치(10)로 응답 신호를 송신한다(S108).When the
외부 통신 제어 장치(10)는 수신되는 응답 신호가 정상상태임을 의미하는 0인지를 비교판단한다(S99).The external
S99에서 정상이 아닌 것으로 판단되면 처음으로 리턴 되어 본 모드를 다시 시작하고 정상인 것으로 판단되면 종료된다.If it is determined in S99 that it is not normal, it is returned for the first time, and this mode is restarted.
다음으로 데이터 매칭 모드를 도 7을 참고로 하여 설명한다.Next, the data matching mode will be described with reference to FIG. 7.
먼저 외부 통신 제어 장치(10)에서 통신 시작을 위하여 커맨드를 엔진 제어 장치(20)로 송신한다(S110).First, the external
이때 커맨드는 미리 정의한 F문자이며 엔진 제어 장치(20)는 연결되어 있는 통신 선로를 통해 수신되는 커맨드 즉 F문자를 수신한 후(S130), 커맨드의 수신 완료 상태를 상기 외부 통신 제어 장치(10)로 알려주기 위한 응답신호 Y를 송신한다(S131).At this time, the command is a predefined letter F and the
그러므로 외부 통신 제어 장치(10)는 수신되는 응답신호 Y를 수신한 후(S111), 전송할 데이터의 개수(N)를 엔진 제어 장치(20)로 송신한다(S112).Therefore, the external
따라서 엔진 제어 장치(20)는 데이터 개수를 수신하고(S132), 데이터의 개수 만큼의 어드레스를 송신하기 위하여 롬이나 램에 저장되어 있는 어드레스 신호를 로우 상태와 하이로 구분하여 엔진 제어 장치(20)로 송신한다(S113,S114).Therefore, the
그러므로 엔진 제어 장치(20)는 송신되는 데이터 개수에 대한 어드레스 신호를 로우 상태와 하이 상태로 구분하여 수신한다(S133,S134).Therefore, the
그리고 수신된 어드레스 신호에 해당하는 초기 데이터를 외부 통신 제어 장치(10)로 송신한다(S135).The initial data corresponding to the received address signal is transmitted to the external communication control device 10 (S135).
따라서 상기와 같이 외부 통신 제어 장치(10)에서 지정된 번지에 해당하는 데이터가 송신되면 외부 통신 제어 장치(10)는 송신되는 초기 데이터를 수신한 후 (S115), 해당 상태로 변경한 후 변경된 갱신 데이터를 엔진 제어 장치(20)로 송신한다(S116).Therefore, when the data corresponding to the designated address is transmitted from the external
상기와 같이 새로운 상태로 갱신된 데이터가 송신되면, 엔진 제어 장치(20)는 갱신 데이터를 수신하여(S136), 수신된 상태로 해당번지의 데이터를 갱신한 후, 다시 갱신된 데이터를 외부 통신 제어 장치(10)로 송신하여 정확한 상태로 데이터가 변경되었는지를 확인할 수 있도록 한다(S137).When the updated data is transmitted in the new state as described above, the
따라서 외부 통신 제어 장치(10)는 상기 엔진 제어 장치(20)에서 송신되는 데이터를 수신한 후(S117), 외부 통신 제어 장치(10)에서 실행되었던 상기한 모든 통신 동작에 대한 에러 발생 상태에 대한 체크데이터를 엔진 제어 장치(20)로 송신한다(S118).Therefore, after the external
따라서 엔진 제어 장치(20)는 송신되는 체크데이터를 수신한 후(S138), 역시 엔진 제어 장치(20)에서 실행되었던 통신 결과에 대한 체크데이터와 송신된 체크 데이터의 결과를 비교하여 해당하는 상태의 응답 신호를 외부 통신 제어 장치(10)로 송신한다(S139).Therefore, after the
상기와 같은 엔진 제어 장치(20)의 송신 동작을 통해 송신되는 응답 신호를 외부 통신 제어 장치(10)에서 수신한 후(S119), 수신된 응답 신호의 상태를 판단한다(S120).After receiving the response signal transmitted through the transmission operation of the
따라서 판단된 응답 신호의 상태가 정상 상태일 경우 통신 동작을 종료하고, 정상 상태가 아닌 것으로 판단되면 처음으로 리턴 되어 본 모드를 다시 시작하게 된다.Therefore, when the determined response signal is in the normal state, the communication operation is terminated, and when it is determined that the non-normal state is returned to the beginning, the mode is restarted.
다음으로 종료 모드를 도 8을 참고로 하여 설명한다.Next, the termination mode will be described with reference to FIG. 8.
먼저 외부 통신 제어 장치(10)에서 통신 시작을 위하여 커맨드를 엔진 제어 장치(20)로 송신한다(S140).First, the external
이때 커맨드는 미리 정의한 G문자이며 엔진 제어 장치(20)는 연결되어 있는 통신 선로를 통해 수신되는 커맨드 즉 G문자를 수신한 후(S150), 커맨드의 수신 완료 상태를 상기 외부 통신 제어 장치(10)로 알려주기 위한 응답신호 Z를 송신한다(S151).In this case, the command is a predefined letter G and the
그러므로 외부 통신 제어 장치(10)는 수신되는 응답신호 Z를 수신한 후(S141)프로그램을 최종적으로 종료한다.Therefore, the external
이와 같은 일련의 정의된 프로토콜에 따라 엔진 제어 장치(20)와 외부 통신 제어 장치(10)간의 통신이 이루어진다.Communication between the
따라서 본 발명은 엔진 제어 장치에 저장되어 있는 데이터를 연결되어 있는 컴퓨터를 이용하여 메모리에 저장되어 있는 데이터의 상태를 확인할 수 있고, 또한 원하는 데이터의 상태를 갱신할 수 있으므로 사용자의 편의를 향상시킨다.Therefore, the present invention can confirm the state of the data stored in the memory using a computer connected to the data stored in the engine control device, and can update the state of the desired data, thereby improving user convenience.
또한 사용자의 편의에 맞는 상태로 자체 개발한 프로토콜에 의해 데이터 통신 동작이 가능하므로 원하는 상태로 데이터 통신 동작을 실행할 수 있는 효과가 발생한다.In addition, since the data communication operation is possible by the protocol developed by the user in a state suitable for the user's convenience, the data communication operation can be executed in a desired state.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970010788A KR100193511B1 (en) | 1997-03-27 | 1997-03-27 | Communication protocol between engine control unit and external computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970010788A KR100193511B1 (en) | 1997-03-27 | 1997-03-27 | Communication protocol between engine control unit and external computer |
Publications (2)
Publication Number | Publication Date |
---|---|
KR19980074804A KR19980074804A (en) | 1998-11-05 |
KR100193511B1 true KR100193511B1 (en) | 1999-06-15 |
Family
ID=65950940
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019970010788A KR100193511B1 (en) | 1997-03-27 | 1997-03-27 | Communication protocol between engine control unit and external computer |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100193511B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100373007B1 (en) * | 2000-07-13 | 2003-02-25 | 현대자동차주식회사 | Windows monitoring tool of control unit for vehicle |
-
1997
- 1997-03-27 KR KR1019970010788A patent/KR100193511B1/en not_active IP Right Cessation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100373007B1 (en) * | 2000-07-13 | 2003-02-25 | 현대자동차주식회사 | Windows monitoring tool of control unit for vehicle |
Also Published As
Publication number | Publication date |
---|---|
KR19980074804A (en) | 1998-11-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2007507016A (en) | Software update method for electronic control device by flash programming via serial interface and state automatic device corresponding thereto | |
CN106126414B (en) | Application software testing method and system | |
EP0443556A2 (en) | Method and apparatus for partially running a sequence program for debugging thereof | |
CN108628621A (en) | It is a kind of from the firmware upgrade method of equipment and slave equipment, the system of firmware upgrade | |
CN111831495A (en) | Production automation test method and system | |
CN112698640B (en) | ECU upgrading test system | |
US11537485B2 (en) | Test sequencing method, configuration generating method, and configuration generating apparatus for testing devices according to their communication protocols | |
CN112380078B (en) | USB equipment communication test method and test device | |
KR100193511B1 (en) | Communication protocol between engine control unit and external computer | |
US7215253B2 (en) | Method for recognizing electronic appliance in multiple control system | |
US6266725B1 (en) | Communications protocol for asynchronous memory card | |
US5612961A (en) | Method and system for verification of the baud rate for an asynchronous serial device residing within a data processing system | |
CN111459730A (en) | PCH (physical channel) end parameter adjusting method and system under Whitley platform | |
CN112783355B (en) | Touch display panel and automatic firmware burning method thereof | |
US20180059179A1 (en) | Automatic control system and automatic instrument searching method for the same | |
TWI322623B (en) | Diagnostic device for automotive remote control system | |
CN112084076A (en) | Test method, electronic device, and storage medium | |
CN100465892C (en) | Forcibly downloading program in mobile communications terminal | |
CN112860582A (en) | Local voice recognition module production test method | |
CN105652114A (en) | Power supply method, power supply device and testing jig in testing display screen | |
CN218100207U (en) | Single-wire firmware verification system | |
CN108513169A (en) | A kind of chip downloads method, chip and the LCD TV of startup program | |
KR100482815B1 (en) | A system and method for operating lcd module | |
CN113849207B (en) | ARM server and reservation mode selection method for option configuration of ARM server | |
KR970044905A (en) | Communication protocol between engine controller and external computer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20020205 Year of fee payment: 6 |
|
LAPS | Lapse due to unpaid annual fee |