KR100764201B1 - A communicaton speed setiing method of can communication node - Google Patents

A communicaton speed setiing method of can communication node Download PDF

Info

Publication number
KR100764201B1
KR100764201B1 KR1020030069096A KR20030069096A KR100764201B1 KR 100764201 B1 KR100764201 B1 KR 100764201B1 KR 1020030069096 A KR1020030069096 A KR 1020030069096A KR 20030069096 A KR20030069096 A KR 20030069096A KR 100764201 B1 KR100764201 B1 KR 100764201B1
Authority
KR
South Korea
Prior art keywords
communication
communication node
transceiver
pulse
bus
Prior art date
Application number
KR1020030069096A
Other languages
Korean (ko)
Other versions
KR20050033138A (en
Inventor
김재구
Original Assignee
주식회사 만도
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 만도 filed Critical 주식회사 만도
Priority to KR1020030069096A priority Critical patent/KR100764201B1/en
Publication of KR20050033138A publication Critical patent/KR20050033138A/en
Application granted granted Critical
Publication of KR100764201B1 publication Critical patent/KR100764201B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/4013Management of data rate on the bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/02Details ; arrangements for supplying electrical power along data transmission lines
    • H04L25/0262Arrangements for detecting the data rate of an incoming signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/20Traffic policing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/25Flow control; Congestion control with rate being modified by the source upon detecting a change of network conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Quality & Reliability (AREA)
  • Communication Control (AREA)

Abstract

본 발명은 캔 통신노드의 통신속도 설정방법에 관한 것으로, 캔 트랜시버와 캔 통신노드간에 통신속도 설정회로를 구비하는 제1과정과, 상기 캔 통신노드에서통신속도 설정회로를 제어하여 초기 통신속도 설정시간동안 통신속도 설정을 위한 캔 버스 메시지 프레임의 펄스를 상기 캔 트랜시버로부터 수신하는 제2과정과, 상기 제2과정에서 수신되는 캔 버스 메시지 프레임의 펄스 변화기간을 모니터링하여 캔 버스의 전송속도를 구하는 제3과정과, 상기 제3과정에서 구한 전송속도로 테스트 메시지를 캔 버스를 통해 상기 캔 트랜시버로 전송하여 에러가 없는 경우 해당 전송속도를 캔 통신노드의 통신속도로 자동 설정하는 제4과정으로 이루어지는 것을 특징으로 하며, 이와 같이 초기 통신속도 설정시간동안 캔 버스 메시지 프레임의 펄스 변화기간을 모니터링하고, 이를 이용하여 캔 통신노드의 전송속도를 알아낸 후 자동으로 통신속도를 설정함으로써 캔 통신노드에서 프로그램 변경없이 어떠한 캔 버스에도 연결 가능하여 캔 트랜시버와의 원할한 통신이 이루어질 수 있게 되는 효과가 있다.The present invention relates to a communication speed setting method for a CAN communication node, comprising a first step of providing a communication speed setting circuit between a CAN transceiver and a CAN communication node, and a step of controlling the communication speed setting circuit in the CAN communication node, Receiving a can bus message frame pulse for setting a communication speed from the can transceiver for a predetermined period of time; monitoring a pulse change period of the can bus message frame received in the second process, And a fourth step of transmitting the test message to the can transceiver through the CAN bus at the transmission rate determined in the third step and automatically setting the transmission rate at the can communication node if there is no error Thus, during the initial communication rate setting time, the pulse change period of the can bus message frame is The can communication node can connect to any can bus without changing the program, so that the can communication can be performed smoothly with the can transceiver. .

캔 통신노드, 캔 트랜시버, 캔 버스CAN communication node, CAN transceiver, CAN bus

Description

캔 통신노드의 통신속도 설정방법{A COMMUNICATON SPEED SETIING METHOD OF CAN COMMUNICATION NODE}[0001] The present invention relates to a CAN communication node,

도 1은 본 발명에 따른 캔 통신노드의 통신속도 설정방법을 수행하기 위한 캔 트랜시버 및 캔 통신노드간의 통신속도 설정회로를 보인 도면.BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a diagram showing a communication speed setting circuit between a CAN transceiver and a CAN communication node for performing a communication speed setting method of a CAN communication node according to the present invention; Fig.

도 2는 본 발명에 따른 캔 통신노드의 통신속도 설정방법을 보인 동작 흐름도.2 is a flow chart illustrating a communication speed setting method of a can communication node according to the present invention;

<도면의 주요부분에 대한 부호의 설명>Description of the Related Art

10 : 캔 통신노드 20 : 캔 트랜시버 10: CAN communication node 20: CAN transceiver

Q1 : 트랜시스터1 Q2 : 트랜지스터2Q1: Transistor 1 Q2: Transistor 2

본 발명은 캔(CAN : Controller Area Network) 통신노드의 통신속도 설정방법에 관한 것으로, 특히 캔 버스(Bus) 메시지 프레임의 펄스 변화기간을 모니터링하여 캔 통신노드의 통신속도를 자동으로 설정할 수 있도록 한 캔 통신노드의 통신속도 설정방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication speed setting method of a CAN (Controller Area Network) communication node, and more particularly, to a method of setting a communication speed of a CAN node by monitoring a pulse change period of a CAN bus message frame Can communication node.

종래에는 캔 통신노드, 즉 캔 모듈을 캔 트랜시버(CAN Transceiver)의 캔 버 스에 연결할 때, 캔 버스의 통신속도, 즉 보드 레이트(Baud Rate)를 미리 알아내어 그 값으로 통신속도 변수를 변경하고, 해당 프로그램을 캔 모듈에 다시 깔아주어야 한다.Conventionally, when connecting a CAN communication node, that is, a CAN module, to a CAN bus of a CAN transceiver, the CAN bus communication speed, that is, the baud rate, is determined in advance and the communication speed variable is changed , And re-install the program in the can module.

그러나, 상기와 같은 방법은 다음과 같은 문제점이 있다.However, the above method has the following problems.

첫째, OTP(One Type Programming) 타입의 MCU(Micro Controller Unit)와 같은 캔 모듈일 경우에는 통신속도 변경 자체가 불가능하여 지정된 통신속도의 캔 버스에서만 사용할 수 있고, 특히 상품화된 캔 모듈의 경우에는 외함으로 싸여져 있기 때문에 그것을 제거하고 프로그래밍할 경우 그 절차가 매우 복잡하고 번거롭다는 문제점이 있다.First, in case of a can module such as an MCU (Micro Controller Unit) of OTP (One Type Programming) type, it is impossible to change the communication speed itself, so that it can be used only in a CAN bus having a designated communication speed. The process is very complicated and troublesome when the program is removed and programmed.

둘째, 상기와 같은 프로그래밍하는 수고를 감수한다 하더라도, 통신속도를 아예 모르는 캔 버스에는 캔 모듈을 설치할 수 없다고 하는 문제점이 있다. Second, even if the above-mentioned programming work is taken, there is a problem that the CAN module can not be installed in the CAN bus which does not know the communication speed at all.

본 발명은 상기와 같은 문제점을 해결하기 위한 것으로서, 그 목적은 초기 통신속도 설정시간동안 캔 트랜시버로부터 출력되는 캔 버스 메시지 프레임의 펄스 변화기간을 모니터링하고, 이를 이용하여 캔 통신노드의 전송속도를 알아낸 후 자동으로 통신속도를 설정함으로써 캔 통신노드에서 프로그램 변경없이 어떠한 캔 버스에도 연결 가능하여 캔 트랜시버와의 원할한 통신이 이루어질 수 있도록 한 캔 통신노드의 통신속도 설정방법을 제공하는 데에 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to monitor a pulse change period of a CANBUS message frame output from a CAN transceiver during an initial communication speed setting time, The can communication node can be connected to any can bus without changing the program at the can communication node so that the can communication can be performed smoothly with the can transceiver.

상기와 같은 목적을 달성하기 위한 본 발명의 캔 통신노드의 통신속도 설정 방법은, 캔 트랜시버와 캔 통신노드간에 통신속도 설정회로를 구비하는 제1과정과, 상기 캔 통신노드에서 통신속도 설정회로를 제어하여 초기 통신속도 설정시간동안 통신속도 설정을 위한 캔 버스 메시지 프레임의 펄스를 상기 캔 트랜시버로부터 수신하는 제2과정과, 상기 제2과정에서 수신되는 캔 버스 메시지 프레임의 펄스 변화기간을 모니터링하여 캔 버스의 전송속도를 구하는 제3과정과, 상기 제3과정에서 구한 전송속도로 테스트 메시지를 캔 버스를 통해 상기 캔 트랜시버로 전송하여 에러가 없는 경우 해당 전송속도를 캔 통신노드의 통신속도로 자동 설정하는 제4과정으로 이루어지는 것을 특징으로 한다.According to another aspect of the present invention, there is provided a communication speed setting method for a can communication node including a first step of providing a communication speed setting circuit between a can transceiver and a can communication node, A second step of receiving a can bus message frame pulse for setting a communication speed during the initial communication speed setting time from the can transceiver; A third step of obtaining a transmission speed of the CAN communication node, and a test message is transmitted to the CAN transceiver through the CAN bus at a transmission rate determined in the third process, And a fourth step of performing the second step.

이하, 첨부된 도면을 참고하여 본 발명에 따른 캔 통신노드의 통신속도 설정방법을 상세히 설명한다.Hereinafter, a communication speed setting method of the CAN communication node according to the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따른 캔 통신노드의 통신속도 설정방법을 수행하기 위한 캔 트랜시버 및 캔 통신노드간의 통신속도 설정회로를 보인 도면으로서, 캔 통신노드(10)는 캔 버스를 통해 캔 트랜시버(20)에 연결되며, 특히 캔 통신노드(10)내 각각의 송수신 포트(CANTX, CANRX)는 캔 트랜시버(20)내 해당 송수신 포트(TxD,RxD)에 연결된다.FIG. 1 is a diagram showing a communication speed setting circuit between a can transceiver and a can communication node for performing a communication speed setting method of a can communication node according to the present invention. The can communication node 10 is connected to a can transceiver 20 Each of the transmission and reception ports CANTX and CANRX in the can communication node 10 is connected to the transmission and reception ports TxD and RxD in the can transceiver 20.

그리고, 상기 캔 통신노드(10)에는 송수신 포트(CANTX, CANRX) 이외에도 클럭 카운터 포트(Clock Counter) 및 별도의 일반 출력 포트(General Output)가 구비된다.The can communication node 10 is provided with a clock counter and a general output port in addition to the transmission / reception ports CANTX and CANRX.

한편, 상기 캔 통신노드(10)의 통신속도 설정방법을 수행하기 위한 캔 트랜시버(20) 및 캔 통신노드(10)간의 통신속도 설정회로는 두 개의 트랜지스터(Q1,Q2) 로 구성된다.The communication speed setting circuit between the can transceiver 20 and the can communication node 10 for performing the communication speed setting method of the can communication node 10 is composed of two transistors Q1 and Q2.

즉, 상기 캔 트랜시버(20)의 수신 포트(RxD) 및 캔 통신노드(10)의 클럭 카운터 포트(Clock Counter)에 연결된 PNP 타입의 트랜지스터1(Q1)과, 이 트랜지스터1(Q1) 및 상기 캔 통신노드(10)의 일반 출력 포트(General Output)에 연결되어, 상기 트랜지스터1(Q1)의 스위칭 동작을 제어하는 NPN 타입의 트랜지스터2(Q2)로 구성된다.That is, the PNP type transistor 1 (Q1) connected to the receiving port RxD of the can transceiver 20 and the clock counter of the can communication node 10, and the transistor 1 (Q1) And an NPN type transistor 2 (Q2) connected to a general output port of the communication node 10 for controlling the switching operation of the transistor 1 (Q1).

상기와 같이 구성된 통신속도 설정회로에서는 초기 통신속도 설정시간동안 트랜지스터2(Q2)의 제어에 따라 트랜지스터1(Q1)를 스위칭 온시켜 캔 통신노드(10)에서 캔 트랜시버(20)내 수신 포트(RxD)를 통해 출력되는 캔 버스 메시지 프레임의 펄스를 수신하고, 이 수신되는 펄스의 변화기간을 모니터링하여 캔 통신노드(10)가 캔 버스의 통신속도를 알아낼 수 있도록 한다.In the communication rate setting circuit configured as described above, the transistor 1 (Q1) is switched on under the control of the transistor 2 (Q2) during the initial communication rate setting time to set the receiving port RxD in the can transceiver 20 And monitors the change period of the received pulse so that the can communication node 10 can determine the communication speed of the can bus.

이후, 보다 상세하게 본 발명에 따른 캔 통신노드의 통신속도 설정방법을 도 2의 동작 흐름도를 참고하여 설명하면 다음과 같다.Hereinafter, the communication speed setting method of the CAN communication node according to the present invention will be described in detail with reference to the operation flowchart of FIG.

먼저, 캔 통신노드(10)에서는 초기 통신속도 설정시간 변수 T2의 값을 100으로 설정하고, 일련의 펄스 변화에 대한 횟수 변수 N을 0으로 초기 설정한다(S1).First, the can communication node 10 sets the initial communication rate setting time variable T2 to 100 and initializes the number variable N for a series of pulse changes to 0 (S1).

즉, 캔 통신노드(10)에서는 트랜지스터2(Q2)를 제어하여 상기 100이라는 초기 통신속도 설정시간동안 트랜지스터1(Q1)를 스위칭 온시켜 캔 트랜시버(20)내 수신 포트(RxD)를 통해 출력되는 캔 버스 메시지 프레임의 펄스를 수신하고, 이 수신되는 펄스의 변화기간을 모니터링하도록 한다. 이후, 통신속도 설정이 최종 완료되면 다시 트랜지스터2(Q2)를 제어하여 트랜지스터1(Q1)를 스위칭 오프시켜 캔 통신 노드(10)와 캔 트랜시버(20)간의 원할한 통신이 이루어지도록 한다.That is, the can communication node 10 controls the transistor 2 (Q2) to turn on the transistor 1 (Q1) during the initial communication rate setting time of 100 and output through the receiving port RxD in the can transceiver 20 Receive a pulse of the CANBAS message frame, and monitor the period of change of the received pulse. Thereafter, when the communication speed setting is finally completed, the transistor 2 (Q2) is controlled again to switch off the transistor 1 (Q1) so that good communication is established between the can communication node 10 and the can transceiver 20.

이어, 캔 통신노드(10)에서는 상기와 같이 초기 통신속도 설정시간동안에 캔 트랜시버(20)내 수신 포트(RxD)를 통해 출력되는 캔 버스 메시지 프레임에 대한 펄스 엣지(Pulse Edge) 발생 여부를 확인하여(S2), 펄스 엣지가 발생하면 타이머를 온시켜 시간을 카운터하기 시작한다(S3).Next, the can communication node 10 checks whether or not a pulse edge for a can bus message frame output through the receiving port RxD in the can transceiver 20 occurs during the initial communication rate setting time as described above (S2). When a pulse edge occurs, the timer is turned on to start counting the time (S3).

이후, 계속해서 펄스 엣지 발생 여부를 확인하여(S4), 캔 버스 메시지 프레임에 대한 펄스 엣지가 발생하면 캔 버스 메시지 프레임의 펄스가 변화한 것이므로, 타이머를 오프시킨다(S5).Thereafter, whether or not a pulse edge has been generated is checked (S4). If a pulse edge for a can bus message frame occurs, the pulse of the can bus message frame is changed, and the timer is turned off (S5).

이때, 캔 통신노드(10)에서는 캔 버스 메시지 프레임의 펄스 변화기간을 카운터하기 위해 어셈블리언어로 프로그래밍하거나, 또는 클럭 카운터 포트(Clock Counter)의 인터럽트를 이용하게 된다.At this time, in the CAN communication node 10, an assembly language is used to count a pulse change period of the can bus message frame, or an interrupt of a clock counter port is used.

이어, 상기와 같은 일련의 펄스 변화에 대한 횟수 변수 N 값을 1씩 증가시키고(S6), 펄스가 변화되기전까지 카운트된 타이머 시간값을 통신속도 설정시간 변수 T1로 설정한다(S7).Next, the number N of values for the series of pulse changes is increased by 1 (S6), and the timer time value counted until the pulse is changed is set as the communication speed setting time variable T1 (S7).

이후, 상기 N이 일정 기준 횟수인 100보다 작은지를 판단하여(S8), 100보다 작다면 상기 초기 통신속도 설정시간 T2가 통신속도 설정시간 T1보다 큰지를 판단하고(S9), 이때 T2가 T1보다 크다면 T1의 시간을 T2로 설정한 후(S10), 이렇게 다른 값으로 설정된 T2로 1/T2 계산하여 전송속도인 보드 레이트를 구한다(S11). 한편, 상기 단계(S8)에서 N이 100보다 작지 않다면 바로 상기 단계(S11)로 진행하여 100으로 설정된 초기 통신속도 설정시간 T2를 그대로 사용하여 1/T2 계산하여 보드 레이트를 구한다.If it is smaller than 100, it is determined whether the initial communication speed setting time T2 is greater than the communication speed setting time T1 (S9). If T2 is less than T1 If it is greater, the time of T1 is set to T2 (S10), and the baud rate, which is a transmission rate, is calculated by calculating 1 / T2 with T2 set to such another value (S11). On the other hand, if N is not smaller than 100 in step S8, the process proceeds to step S11 and the baud rate is calculated by calculating 1 / T2 using the initial communication rate setting time T2 set to 100 as it is.

그리고 나서, 캔 통신노드(10)에서는 상기 단계(S11)에서 구한 보드 레이트의 전송속도로 테스트 메시지를 캔 버스 통해 캔 트랜시버(20)에 전송한다(S12).Then, the CAN communication node 10 transmits the test message to the CAN transceiver 20 through the CAN bus at the baud rate determined in step S11 (S12).

이후, 에러 프레임의 발생 여부를 확인하여(S13), 에러 프레임이 발생되지 않으면 캔 통신노드(10)에서는 이 전송속도를 통신속도로 최종 결정함으로써(S14) 캔 통신노드(10)와 캔 트랜시버(20)간의 원할한 통신이 가능해지도록 한다.If the error frame is not generated, the can communication node 10 finally determines the transmission rate as the communication speed (S14), and the can communication node 10 and the can transceiver (Fig. 20).

상기에서 설명한 바와 같이, 본 발명은 초기 통신속도 설정시간동안 캔 버스 메시지 프레임의 펄스 변화기간을 모니터링하고, 이를 이용하여 캔 통신노드의 전송속도를 알아낸 후 자동으로 통신속도를 설정함으로써 캔 통신노드에서 프로그램 변경없이 어떠한 캔 버스에도 연결 가능하여 캔 트랜시버와의 원할한 통신이 이루어질 수 있게 되는 효과가 있다.


As described above, the present invention monitors the pulse change period of the CANBAS message frame during the initial communication rate setting time, finds the transmission speed of the CAN communication node using it, and automatically sets the communication speed, It is possible to connect to any can bus without changing the program, thereby enabling the communication with the can transceiver to be performed smoothly.


Claims (6)

캔 트랜시버와 캔 통신노드간에 통신속도 설정회로를 구비하는 제1과정과,Comprising: a first step of providing a communication speed setting circuit between a CAN transceiver and a CAN communication node; 상기 캔 통신노드에서 통신속도 설정회로를 제어하여 초기 통신속도 설정시간동안 통신속도 설정을 위한 캔 버스 메시지 프레임의 펄스를 상기 캔 트랜시버로부터 수신하는 제2과정과, A second step of controlling the communication speed setting circuit in the can communication node to receive a pulse of a can bus message frame for setting a communication speed from the can transceiver during an initial communication speed setting time; 상기 제2과정에서 수신되는 캔 버스 메시지 프레임의 펄스 변화기간을 모니터링하여 캔 버스의 전송속도를 구하는 제3과정과,A third step of monitoring the pulse change period of the CANBASE message frame received in the second step to obtain a CAN bus transmission rate; 상기 제3과정에서 구한 전송속도로 테스트 메시지를 캔 버스를 통해 상기 캔 트랜시버로 전송하여 에러가 없는 경우 해당 전송속도를 캔 통신노드의 통신속도로 자동 설정하는 제4과정으로 이루어지는 것을 특징으로 하는 캔 통신노드의 통신속도 설정방법.And transmitting the test message to the CAN transceiver through the CAN bus at a transmission rate determined in the third step and automatically setting the transmission rate to the CAN communication node if there is no error. A method of setting a communication speed of a communication node. 제1항에 있어서,The method according to claim 1, 상기 제1과정의 통신속도 설정회로는,The communication speed setting circuit of the first process comprises: 상기 캔 트랜시버의 수신 포트 및 캔 통신노드의 클럭 카운터 포트에 연결된 PNP 타입의 트랜지스터1과, 상기 트랜지스터1 및 상기 캔 통신노드의 일반 출력 포트에 연결되어, 상기 트랜지스터1의 스위칭 동작을 제어하는 NPN 타입의 트랜지스터2로 구성되는 것을 특징으로 하는 캔 통신노드의 통신속도 설정방법.A PNP type transistor 1 connected to a receiving port of the can transceiver and a clock counter port of a can communication node; an NPN type transistor connected to a general output port of the transistor 1 and the CAN communication node for controlling the switching operation of the transistor 1 Of the can communication node. 제1항 또는 제2항에 있어서,3. The method according to claim 1 or 2, 상기 제2과정의 캔 통신노드에서 상기 통신속도 설정회로내 트랜지스터2를 제어하여 초기 통신속도 설정기간동안 트랜지스터1을 스위칭 온시켜 캔 트랜시버내 수신 포트를 통해 출력되는 캔 버스 메시지 프레임의 펄스를 수신하도록 하고, 통신속도 설정이 최종 완료되는 경우에는 트랜지스터2를 제어하여 트랜지스터1을 스위칭 오프시키도록 하는 것을 특징으로 하는 캔 통신노드의 통신속도 설정방법.The can communication node of the second process controls the transistor 2 in the communication rate setting circuit to switch on the transistor 1 during the initial communication rate setting period to receive the pulse of the can bus message frame output through the receiving port in the can transceiver And when the communication speed setting is finally completed, the transistor 2 is controlled to switch off the transistor 1. 2. A communication speed setting method of a can communication node according to claim 1, 제1항에 있어서,The method according to claim 1, 상기 제3과정은,In the third step, 상기 캔 통신노드에서 초기 통신속도 설정시간(T2)동안에 수신되는 캔 버스 메시지 프레임에 대한 펄스 엣지 발생 여부를 확인하여, 펄스 엣지가 발생하면 타이머를 온시켜 시간을 카운터하는 제1단계와,A first step of checking whether a pulse edge is generated for a can bus message frame received during the initial communication rate setting time (T2) in the can communication node, and counting the time by turning on a timer when a pulse edge occurs; 상기 제1단계 수행 후, 펄스 엣지 발생 여부를 계속 확인하여, 캔 버스 메시지 프레임에 대한 펄스 엣지가 발생하면 타이머를 오프시킨 후, 일련의 펄스 변화에 대한 횟수(N)를 1씩 증가시키고, 펄스가 변화되기전까지의 카운트된 시간을 통신속도 설정시간(T1)으로 설정하는 제2단계와,After the first step, whether or not a pulse edge is generated is continuously checked. If a pulse edge for a can bus message frame occurs, the timer is turned off, and the number of times N for a series of pulse changes is incremented by one. A second step of setting the counted time until the communication speed is set to the communication speed setting time (T1) 상기 제2단계에서 증가된 일련의 펄스 변화에 대한 횟수(N)가 일정 기준 회수보다 작은지를 판단하는 제3단계와,A third step of determining whether the number of times N for the series of pulse changes increased in the second step is smaller than a predetermined reference number; 상기 횟수(N)가 일정 기준 횟수보다 작다면 상기 초기 통신속도 설정시간(T2)이 통신속도 설정시간(T1)보다 큰지를 판단하여, T2가 T1보다 크다면 T1의 시간을 T2로 설정한 후, 이 설정된 T2로 1/T2 계산하여 전송속도를 구하고, 상기 횟수(N)가 일정 기준 횟수보다 작지 않다면 초기 통신속도 설정시간(T2)으로 1/T2 계산하여 전송속도를 구하는 제4단계로 이루어지는 것을 특징으로 하는 캔 통신노드의 통신속도 설정방법.If the number of times N is smaller than the predetermined reference number, it is determined whether the initial communication rate setting time T2 is greater than the communication rate setting time T1. If T2 is greater than T1, the time T1 is set to T2 And calculating a transmission rate by calculating 1 / T2 with an initial communication rate set time (T2) if the number of times (N) is not smaller than a predetermined reference number; Wherein the can communication node is a communication node. 제4항에 있어서,5. The method of claim 4, 상기 제2단계의 캔 통신노드에서 캔 버스 메시지 프레임의 펄스 변화기간을 카운터하기 위해 어셈블리언어로 프로그래밍하는 방법을 이용하는 것을 특징으로 하는 캔 통신노드의 통신속도 설정방법.And programming in an assembly language to counter the pulse change period of the can bus message frame at the can communication node of the second stage. 제4항에 있어서,5. The method of claim 4, 상기 제2단계의 캔 통신노드에서 캔 버스 메시지 프레임의 펄스 변화기간을 카운터하기 위해 클럭 카운터 포트의 인터럽트를 이용하는 것을 특징으로 하는 캔 통신노드의 통신속도 설정방법.Wherein the interruption of the clock counter port is used to counter the pulse change period of the can bus message frame at the can communication node of the second step.
KR1020030069096A 2003-10-06 2003-10-06 A communicaton speed setiing method of can communication node KR100764201B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030069096A KR100764201B1 (en) 2003-10-06 2003-10-06 A communicaton speed setiing method of can communication node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030069096A KR100764201B1 (en) 2003-10-06 2003-10-06 A communicaton speed setiing method of can communication node

Publications (2)

Publication Number Publication Date
KR20050033138A KR20050033138A (en) 2005-04-12
KR100764201B1 true KR100764201B1 (en) 2007-10-05

Family

ID=37237404

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030069096A KR100764201B1 (en) 2003-10-06 2003-10-06 A communicaton speed setiing method of can communication node

Country Status (1)

Country Link
KR (1) KR100764201B1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100747760B1 (en) * 2006-09-04 2007-08-08 한양대학교 산학협력단 Time division scheduling method on can and the can system thereof
CN108984453B (en) * 2018-07-12 2021-02-02 山东超越数控电子股份有限公司 PCIE bus speed measuring system and method based on Shenwei platform
KR101987890B1 (en) * 2019-04-09 2019-09-30 브이에스아이 주식회사 Method for determining the transmission speed of a communication module in mediating connection of the communication module to a bus, and a device for said method
KR102274671B1 (en) * 2019-12-06 2021-07-08 현대오트론 주식회사 Apparatus and method for setting baud rate of electronic control unit based on can communication

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR960027148A (en) * 1994-12-08 1996-07-22 전성원 Communication speed converting device and control method of internal combustion engine controller
KR19980017128A (en) * 1996-08-30 1998-06-05 박병재 Ken communication data module device
KR20020001403A (en) * 2000-06-28 2002-01-09 홍승호 Methode for allocating bandwidth in control area network protocol
KR20030000578A (en) * 2001-06-26 2003-01-06 주식회사 엘지이아이 detecting method of communication speed in device through receiver signal detection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR960027148A (en) * 1994-12-08 1996-07-22 전성원 Communication speed converting device and control method of internal combustion engine controller
KR19980017128A (en) * 1996-08-30 1998-06-05 박병재 Ken communication data module device
KR20020001403A (en) * 2000-06-28 2002-01-09 홍승호 Methode for allocating bandwidth in control area network protocol
KR20030000578A (en) * 2001-06-26 2003-01-06 주식회사 엘지이아이 detecting method of communication speed in device through receiver signal detection

Also Published As

Publication number Publication date
KR20050033138A (en) 2005-04-12

Similar Documents

Publication Publication Date Title
EP0939511B1 (en) Method and arrangement in a network repeater for automatically changing link speed
EP2701024B1 (en) Portable device maintenance support apparatus, system, and method
WO2012062219A1 (en) Modbus repeater with self-adaptive baud rate and self-adaptive baud rate system and method
KR100764201B1 (en) A communicaton speed setiing method of can communication node
JP7251324B2 (en) Communication device, automatic baud rate setting method, and communication system
EP0679038B2 (en) Television receiver
US7509510B2 (en) Energy detect with auto pair select
EP0543359B1 (en) Bus competitive control apparatus
CN108259706B (en) Video signal adjusting device and adjusting method
JPH08221108A (en) Remote i/o system of plc
CN112130053A (en) Method for performing chip function synchronous test on ATE
US5528760A (en) Data transmission/receive system and control method using dummy data to signify transmission/reception state and to detect transmission error
JP2709720B2 (en) Line connection method between the numerical controller and its peripheral devices
CN100466566C (en) Automatic configuration equipment for linking network media and its method
JPH05101007A (en) Serial transmission equipment
EP1316181B1 (en) Energy detect with auto pair select
KR100201818B1 (en) Apparatus and method for processing q signalling using additional channel
JP2509520Y2 (en) Signal attenuation circuit
JPH0362652A (en) Data communication controller
JPH05158723A (en) Abnormality diagnostic device for decentralized processing type controller
JPH07284168A (en) Two-way signal transmission system
JPH04356848A (en) Abnormality detector for controller
JP2001211176A (en) Automatic setting system for identification number of terminal in network
JPH113484A (en) Signal transmitter having communication function
JPH08171406A (en) Data transmission controller

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: 20130624

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20140618

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee