KR20140064646A - Method for testing of receiving a message in a terminal - Google Patents

Method for testing of receiving a message in a terminal Download PDF

Info

Publication number
KR20140064646A
KR20140064646A KR1020130139167A KR20130139167A KR20140064646A KR 20140064646 A KR20140064646 A KR 20140064646A KR 1020130139167 A KR1020130139167 A KR 1020130139167A KR 20130139167 A KR20130139167 A KR 20130139167A KR 20140064646 A KR20140064646 A KR 20140064646A
Authority
KR
South Korea
Prior art keywords
time
message
terminal
interval
deviation
Prior art date
Application number
KR1020130139167A
Other languages
Korean (ko)
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 로베르트 보쉬 게엠베하
Publication of KR20140064646A publication Critical patent/KR20140064646A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/20Arrangements for detecting or preventing errors in the information received using signal quality detector
    • H04L1/205Arrangements for detecting or preventing errors in the information received using signal quality detector jitter monitoring
    • 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/40052High-speed IEEE 1394 serial bus
    • H04L12/40071Packet processing; Packet format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L2001/0092Error control systems characterised by the topology of the transmission link
    • H04L2001/0094Bus
    • 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

Abstract

The present invention relates to a method for testing the reception of a message in a terminal (200), comprising a step of determining a receiving point (tE,0) when the terminal receives a message using a communication unit (100); a step of determining an analyzing point (tA,0) when the message is analyzed by the terminal; and a step of creating the difference (Δtx) between the receiving point and the analyzing point and determining whether an error exists in receiving the message based on the difference (Δtx).

Description

단말기에서 메시지 수신의 검사 방법{METHOD FOR TESTING OF RECEIVING A MESSAGE IN A TERMINAL}TECHNICAL FIELD [0001] The present invention relates to a method for checking a message received from a terminal,

본 발명은 단말기에서 메시지 수신의 검사 방법에 관한 것이다.The present invention relates to a method for checking message reception in a terminal.

최근의 차량에서는 집중적으로 상호 통신하는 복수의 제어 장치가 이용된다. 이른바 컨트롤러 영역 네트워크(CAN)를 통한 표준 통신 외에, 신속하고 안전한 정보 교환을 위해 플렉스레이 네트워크들도 점차 이용되고 있다.In recent vehicles, a plurality of control apparatuses that intensively communicate with each other are used. In addition to standard communications over the so-called Controller Area Networks (CAN), FlexRay networks are also increasingly being used for rapid and secure information exchange.

플렉스레이 버스는 제1 단말기(예컨대 제어 장치)와 제2 단말기 사이에 정보(메시지)를 전송할 수 있는 시간 제어식 버스이다. 메시지는 사전 설정된 시간 프레임(예: 10㎳마다)으로 또는 이벤트 기반으로 (예컨대 회전수에 따라서) 송신될 수 있다.A FlexRay bus is a time-controlled bus that can transmit information (messages) between a first terminal (e.g., a control device) and a second terminal. The message may be transmitted in a predetermined time frame (e.g., every 10 ms) or on an event basis (e.g., depending on the number of rotations).

실제 메시지 내용 외에도, 수신측 단말기를 위해, 특히 안전 임계 데이터의 경우, 송신측 단말기가 아직 적절하게 작동하면서 최신의 데이터를 송신하는지 그리고 전송이 오류 없이 실행되었는지의 여부를 파악하는 것이 중요하다.In addition to the actual message content, it is important for the receiving terminal, particularly in the case of safety critical data, to know whether the transmitting terminal is still operating properly and is transmitting the latest data and whether the transmission has been performed without error.

단말기들과 플렉스레이 버스는 각각 클록 제어 방식으로 작동한다. 이 경우, 송신측 단말기는 각각의 클록 펄스로 메시지를 제공하고, 플렉스레이 버스는 각각의 클록 펄스로써 송신측 단말기로부터 제공된 메시지를 인계받으며, 상기 메시지를 수신측 단말기로 전송한다. 최종적으로 상기 수신측 단말기는 각각의 클록 펄스를 이용해 플렉스레이 버스로부터 전송된 메시지를 분석한다.The terminals and the FlexRay bus each operate in a clock controlled manner. In this case, the transmitting terminal provides the message with each clock pulse, and FlexRay bus takes over the message provided from the transmitting terminal with each clock pulse, and transmits the message to the receiving terminal. Finally, the receiving terminal analyzes each message sent from the FlexRay bus using each clock pulse.

클록 주파수가 동일할 경우에도, 플렉스레이 버스(더 자세히 버스 드라이버) 및 단말기들의 클록들은 각각 하나의 고유 시간축에 기초하므로, 상기 요소들의 클록 펄스는 주기적으로 상호 오프셋될 수 있다. 클록 주파수와 각각의 시간축은 함께, 각각의 요소(플렉스레이 버스 또는 단말기)가 활성 상태가 될 수 있는 시간을 사전 설정한다.Even when the clock frequencies are the same, since the clocks of the FlexRay bus (more specifically, the bus driver) and terminals are each based on one inherent time base, the clock pulses of the elements can be periodically mutually offset. The clock frequency and the respective time axes together preset the time at which each element (FlexRay bus or terminal) can become active.

최적의 경우, 송신측 단말기가 메시지를 공급한 바로 그 시점에 플렉스레이 버스가 메시지를 인계받고 전달할 수 있도록, 그리고 플렉스레이 버스가 메시지를 공급할 수 있는 순간에 수신측 단말기가 메시지를 분석할 수 있도록, 시간축들이 상호 조정된다.In an optimal case, it is desirable that the FlexRay bus be able to take over and forward the message at the same time that the sending terminal supplies the message, and so that the recipient terminal can analyze the message at the moment FlexRay bus can supply the message , The time axes are mutually adjusted.

그러나 실제로는 시간축들이 서로 오프셋되어 전송 시 지연(대기 시간)이 발생하게 된다.However, in reality, the time axes are offset from each other, resulting in a delay (waiting time) in transmission.

클록이 준수된다는 가정 및 그에 따른 변위 주기성도 현실성이 없다. 오히려 이른바 지터(Jitter)가 발생하며, 다시 말해 클록의 준수 시 관여 요소들에 의한 정확도 변동이 발생한다. 예컨대 수신측 단말기와 플렉스레이 버스가 (앞서 설명한 것처럼) 최적의 조건으로 서로에 대해 설정된다고 하더라도 (그럼으로써 이론적으로 정확히 플렉스레이 버스의 클록이 전송을 사전 설정하는 시점에 수신측 단말기가 정보를 분석할 수 있게 되더라도), 플렉스레이 버스가 실제로 늦어도 이를 위해 제공된 시점까지 메시지를 제공할 때에만, 수신측 단말기는 메시지를 분석할 수 있다. 그와 반대로 지연 시 메시지는 수신측 단말기로부터 상기 단말기의 다음 클록 펄스에서야 비로소 분석될 수 있다. 마찬가지로 수신측 단말기에서 분석 시점은 변경되는 컴퓨팅 부하에 의해 변형될 수 있다. 플렉스레이 버스와 송신측 단말기의 상호작용에도 이에 상응하게 적용된다. 상기 명시된 장애들은 수신측 단말기에서 메시지 카운터의 디바운싱의 경우에, 다시 말해 메시지가 주기적으로 수신되었는지 또는 메시지 내용이 여전히 최신인지의 여부를 검사할 경우에, 고려되어야 한다. 메시지의 미도달 시 오류 반응을 개시하고자 하는 경우, 반응 오류(부적절한 오류 반응)를 방지하도록, 지터의 영향 및 수신기에서의 변경되는 컴퓨팅 부하로 인해 전송 시의 2개의 시간 클록 후에야 비로소 오류 반응은 시작될 수 있다. 예컨대 송신측 단말기에서 연쇄 신호 중 다른 허용편차와 지연은 여전히 고려되지 않은 상태이다.The assumption that the clock is observed and the resulting periodicity of displacement are not realistic. Rather, so-called jitter occurs, in other words, when the clock adheres, the accuracy varies due to the participating elements. For example, even if the receiving terminal and the FlexRay bus are set to each other for optimal conditions (as described above) (thereby theoretically exactly at the time the clock of the FlexRay bus presets the transmission, , The receiving terminal can only analyze the message if and only if the FlexRay bus actually provides the message up to the point in time at which it was provided for this purpose. Conversely, a message at a delay can only be analyzed from the receiving terminal by the next clock pulse of the terminal. Likewise, at the receiving terminal, the analysis time may be modified by the changing computing load. This also applies to the interaction between the FlexRay bus and the transmitting terminal. The specified faults should be considered in the case of debouncing the message counter at the receiving terminal, i.e., checking if the message was received periodically or whether the message content is still up-to-date. If an error response is to be initiated when the message is not reached, the error response will only be started after two time clocks during transmission due to the impact of jitter and the changing computing load at the receiver, to prevent a response error (improper error response) . For example, other permissible deviations and delays in the chain signal at the transmitting terminal are still not considered.

특히 하이브리드 차량을 위한 안전에 대한 요구는 오류 상태를 점점 더 신속하게 식별하고 사전 설정된 오류 반응을 신속하게 활성화하도록 증대되고 있다. 게다가 버스 부하의 증가로 인해 메시지는 부분적으로 더 느린 시간 프레임으로 이동하게 되고, 이로써 모든 클록 손실은 오류를 식별할 때까지 더 중요해진다.In particular, the need for safety for hybrid vehicles is being increasing to identify fault conditions more and more quickly and to quickly activate preset fault responses. In addition, due to the increase in bus load, the message is moved to a partially slower time frame, so that all clock loss becomes more important until an error is identified.

그러므로 본 발명의 과제는, 통신 시스템의 신뢰성 있는 모니터링 시 대기 시간을 단축할 수 있는 가능성을 제공하는 것이다.It is therefore an object of the present invention to provide a possibility of shortening the waiting time in reliable monitoring of a communication system.

본 발명에 따라 청구범위 제1항의 특징부를 가지는 단말기에서 메시지 수신의 검사 방법이 제공된다. 바람직한 구현예들은 종속항들 및 하기 명세서의 대상이다.According to the present invention there is provided a method of inspecting the reception of a message in a terminal having the feature of claim 1. Preferred embodiments are subject of the dependent claims and the following specification.

본 발명은, 통신 시스템에서 (다시 말해, 송신측 단말기 또는 통신 수단에서) 수신측 단말기로부터 결함이 확인될 수 있을 때까지, 식별 기간을 단축시킨다. 이때 3 또는 그 이상의 미도달 정보들까지 기다릴 필요가 없다. 오히려 본 발명은, 수신 시점, 다시 말해 메시지 또는 정보가 단말기로부터 수신되어 있는 시점을 분석하는 검사 기능을 위해 이용되고, 분석 시점, 다시 말해 단말기에서 메시지가 처리되는 시점에 편차를 결정한다. 이러한 편차에 기초하여, 특히 임계값 비교에 의해, 수신 이후에 허용되는 시간의 범주 내에서 분석이 실행되는지의 여부를 식별할 수 있다.The present invention shortens the identification period until a defect can be confirmed from the receiving terminal in the communication system (that is, the transmitting terminal or the communication means). At this time, there is no need to wait for three or more unreached information. Rather, the present invention is used for an inspection function for analyzing a reception time point, that is, a time point at which a message or information is received from the terminal, and determines a deviation at an analysis time point, that is, a time point at which a message is processed in the terminal. Based on this deviation, it is possible to identify whether the analysis is performed within the scope of time allowed after reception, in particular by threshold comparison.

이를 위해 바람직하게 하한과 상한을 갖는 시간 간격이 확인될 수 있고, 상기 시간 간격에는 하기의 내용이 적용된다. 편차가 하한 아래에 있으면, 정상 기능을 확인할 수 있다. 편차가 상한 위에 있으면 오류가 있음을 확인할 수 있다. 편차가 상기 간격 내에 위치하면, 결정할 수 없으므로 검사 기능은 나중 시점에, 바람직하게는 다음 클록 간격에서 재호출되어야 한다. 그리고 나서 이러한 다음 클록 간격에서, 최후 수신된 메시지와 최신 분석 시점 사이의 시간이 분명히 허용된 시간 간격의 상한을 상회하기 때문에, 새로운 메시지가 주어지거나 오류 메시지가 확실히 차단될 수 있다.For this, a time interval preferably having a lower limit and an upper limit can be confirmed, and the following contents apply to the time interval. If the deviation is below the lower limit, normal function can be confirmed. If the deviation is above the upper limit, it can be confirmed that there is an error. If the deviation is within the interval, it can not be determined, so the checking function must be recalled at a later time, preferably at the next clock interval. Then, at this next clock interval, since the time between the last received message and the latest analysis time is clearly above the upper bound of the allowed time interval, a new message may be given or the error message may be reliably blocked.

분석 시점과 수신 시점 사이의 편차가 상기 간격 내에 위치할 경우, 바람직하게 검사 기능의 다음 호출까지의 시간은 단축된다. 예컨대 검사 기능은 이미 절반의 클록 간격 이후에 재호출될 수 있다. 이를 통해 오류를 더 신속하게 식별할 수 있다.If the deviation between the analysis time point and the reception time point is within the interval, the time until the next call of the inspection function is preferably shortened. For example, the check function may be re-invoked after a half clock interval already. This allows for faster identification of errors.

(대략 버스와 단말기에서 클록들의 상태에 서로 상응하는) 단말기에서 메시지 수신과 메시지 처리의 시점들은 지금까지 분석되지 않는다. 이는 단말기에서 메시지를 모니터링하기 위해, 발생할 수 있는 지터 효과를 방지하도록, 시간에 기초한 분석 시 디바운싱 시간의 적용은 시간 클록만큼 연장되는 것을 의미한다. 지터 효과가 발생할 수 없도록 시간 클록들이 서로 위치하는 경우에, 이를 통해 디바운싱 시간은 불필요하게 하나의 클록만큼 연장된다. [디바운싱은, 오류가 식별될 시 오류 반응을 즉시 시작하는 것이 아니라, 소정의 시간(디바운싱 시간)/기능 호출수를 더 기다리는 것을 의미한다. 이러한 시간 동안 오류가 다시 사라지면(예컨대 오히려 새로운 메시지가 다시 나타나면), 어떠한 오류 반응도 활성화되지 않는다.]The timing of message reception and message processing at the terminal (which approximately correspond to the bus and the status of the clocks in the terminal) has not been analyzed so far. This means that the application of the debounce time in the time-based analysis is extended by a time clock to prevent jitter effects that may occur, in order to monitor the message at the terminal. When the time clocks are positioned so that a jitter effect can not occur, the debounce time is thereby extended unnecessarily by one clock. Debouncing means not waiting for an error response to start immediately when an error is identified, but waiting for a certain amount of time (debouncing time) / number of function calls. If the error disappears again during this time (for example, if a new message appears again), no error response is activated.]

본 발명의 결과는 단말기(예컨대 자동차의 제어 장치)에서 메시지 수신 시간 및 처리 시간의 분석에 의해 이러한 추가적 디바운싱 클록을 실제로 지터 오프셋이 발생할 수 있는 경우들로 제한할 수 있다. 이를 통해 상기의 대부분의 경우, 필요한 디바운싱 시간을 하나의 시간 클록만큼 축소할 수 있다.The results of the present invention can limit this additional debouncing clock to cases where a jitter offset may actually occur by analyzing the message reception time and processing time at a terminal (e.g., a control device of an automobile). Thus, in most of the above cases, the necessary debouncing time can be reduced by one time clock.

바람직하게 통신 시스템에 오류가 있는지의 여부를 결정하는 결정 클록 간격이 결정된다. 이때 상기 클록 간격은 편차에 따라 편차가 결정되어 있는 최신 클록 간격이거나 (각각 단말기 클록과 관련하여) 바로 이어지는 클록 간격일 수 있다.Preferably, a decision clock interval is determined which determines whether there is an error in the communication system. Where the clock interval may be the latest clock interval with a deviation determined according to the deviation, or a clock interval immediately following each (in relation to the terminal clock).

본 발명은, 플렉스레이 버스가 시간축을 제공하기 때문에, 특히 플렉스레이 버스에서 사용하기에 적합하다. 이로써 수신 시점의 측정은 특히 단순하게 이루어질 수 있다. 그러나 본 발명은 예컨대 CAN과 같은 다른 버스 시스템들에서도 유리하게 이용될 수 있다. 여기서는 경우에 따라 수신 시점을 확인하기 위해 상응하는 단말기의 장치가 필요하다.The present invention is particularly well suited for use in FlexRay buses because FlexRay buses provide a time base. As a result, the measurement of the reception time point can be made particularly simple. However, the present invention can be advantageously used in other bus systems such as CAN. In this case, a corresponding terminal device is required to confirm the reception timing in some cases.

제1 대안에서, 예컨대 단말기 내의 플렉스레이 드라이버 모듈(driver module)은 메시지에 추가하여 수신 시점의 고유 시간축에서 수신 시점을 저장한다. 시간축의 오프셋은 단말기로부터 단말기 시간축으로 전환하도록 사용된다. 상기 오프셋은 작동 시 결정될 수 있다.In a first alternative, for example, a FlexRay driver module in a terminal stores in addition to the message a point in time at the inherent timebase of the point of time of reception. The offset of the time axis is used to switch from the terminal to the terminal time base. The offset may be determined during operation.

제2 대안에서, 예컨대 단말기 내의 플렉스레이 드라이버 모듈은 메시지의 수신 시 단말기 시간축에서 최신의 단말기 시간을 불러와 상기 단말기 시간을 메시지에 추가 저장한다.In a second alternative, for example a FlexRay driver module in a terminal, recalls the latest terminal time on the terminal time base upon receipt of the message and further stores the terminal time in the message.

제3 대안에서, 예컨대 단말기 내의 플렉스레이 드라이버 모듈 또는 CAN 드라이버 모듈은 메시지의 수신 시 단말기를 트리거링하고, 상기 단말기는 단말기 시간축에서 수신 시점을 저장한다.In a third alternative, for example, a FlexRay driver module or CAN driver module in a terminal triggers the terminal upon receipt of a message, and the terminal stores the reception time on the terminal time base.

본 발명에 따른 컴퓨터 유닛, 예컨대 자동차의 제어 장치는 특히 프로그램 기술적으로 본 발명에 따른 방법을 실행하도록 구성된다.The control unit of a computer unit according to the present invention, for example an automobile, is particularly adapted to carry out the method according to the invention by means of a program description.

소프트웨어의 형태로 본원의 방법을 구현하는 것도 바람직한데, 특히 실행 제어 장치가 다른 과제들에도 사용되어 이미 제공되어 있는 경우 이는 매우 적은 비용을 야기하기 때문이다. 컴퓨터 프로그램의 제공을 위한 적절한 데이터 캐리어는 특히 디스켓, 하드디스크, 플래시 메모리, EEPROM, CD-ROM, DVD 등이다. 컴퓨터 네트워크(인터넷, 인트라넷 등)를 통한 프로그램의 다운로드도 가능하다.It is also desirable to implement the method of the present invention in the form of software, especially if the execution control device has already been used for other tasks, which results in very low costs. Suitable data carriers for providing computer programs are, in particular, diskettes, hard disks, flash memories, EEPROMs, CD-ROMs, DVDs, and the like. It is also possible to download programs via a computer network (Internet, intranet, etc.).

본 발명의 그 밖의 장점들 및 구성들은 명세서와 첨부한 도면을 참조한다.Other advantages and configurations of the present invention refer to the specification and the accompanying drawings.

상기에 언급되고 하기에 설명될 특징들은, 본 발명의 범주 내에서, 각각 명시된 조합의 형태뿐만 아니라 또 다른 조합 형태 또는 단독으로도 사용될 수 있다.The features mentioned above and described below can be used within the scope of the present invention, in the form of each specified combination as well as another combination or alone.

본 발명은 일 실시예에 기초하여 도면에 개략적으로 도시되어 있으며, 하기에서 이 도면을 참고하여 상세하게 설명된다.BRIEF DESCRIPTION OF THE DRAWINGS The invention is schematically illustrated in the drawings on the basis of an embodiment and is described in detail below with reference to these figures.

도 1은 본 발명에 따른 방법의 바람직한 실시예의 과정을 도시한 개략도.BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a schematic diagram illustrating the process of a preferred embodiment of a method according to the present invention;

도 1에는 본 발명에 따른 방법의 바람직한 실시예가 시간에 따라 도시된다. 상기 도면에서 각각의 번호를 붙인 클록 간격(10)이 시간(t)에 따라 도시되어 있다. 상위 시간선(100)은 여기서 플렉스레이 버스로 형성된 (플렉스레이 드라이버 모듈을 단말기 상에 포함하는) 통신 수단의 시간축을 표시하고, 하위 시간선(200)은 여기서 제어 장치로서 형성된 (수신된) 단말기의 컴퓨터 코어의 시간축을 표시한다. 통신 매체 및 단말기는 통신 시스템의 부분이고, 일반적으로 적어도 또 다른 송신측 단말기를 더 포함한다.In Figure 1 a preferred embodiment of the method according to the invention is shown with time. Each numbered clock interval 10 in the figure is shown according to time t. The upper temporal line 100 here represents the time axis of the communication means formed on the FlexRay bus (comprising the FlexRay driver module on the terminal) and the lower temporal line 200 represents the time axis of the communication means Lt; RTI ID = 0.0 > of the < / RTI > The communication medium and the terminal are part of a communication system and generally further comprise at least another transmitting terminal.

도입부에 설명했듯이, 플렉스레이 버스 뿐만 아니라 제어 장치도 클록 제어 방식으로, 예컨대 각각의 프로세스 단계들이 도 1에서 최초로 tE ,0="1"의 시점에 정보 전송 및 도 1에서 최초로 tA ,0="7"의 시점에 정보 처리로 이어지도록 작동한다. 플렉스레이 버스에 연결된 단말기들은 "시분할 다중접속(TDMA)" 도식에 따라 관리된다. 단말기들 상에서 모든 플렉스레이 드라이버 모듈은 동일한 클록으로 동기화되어, 버스에 기록됨으로써 상기 클록이 순서가 될 때까지 대기한다.As mentioned in the introduction, the FlexRay the bus as well as the control device is also clock-controlled, for example, for the first time in the first in each process step are also 1 t E, 0 = "1 " information on the time of transmission and 1 t A, 0 = "7 ". The terminals connected to the FlexRay bus are managed according to the "Time Division Multiple Access (TDMA)" scheme. All FlexRay driver modules on the terminals are synchronized to the same clock and wait until the clock is in order by being written to the bus.

이벤트에 기초하지 않은 (즉 종래의 시간에 기초한) 메시지 전송을 위해 시간 프레임(T0)이 확인되고, 이는 (예컨대 다른 제어 장치로부터) 주기적으로 전송된 2개의 메시지들 사이의 간격을 규정한다. 이러한 시간 프레임(tE ,0, tE ,1,...)은 일반적으로 각각의 메시지에 의존하여 적용되고, 예컨대 안전 임계적인 메시지들은 더 자주 전송되고 안전에 덜 임계적인 메시지들은 거의 전달될 수 없다. 동일한 시간 프레임(tA ,0, tA ,1,...) 내에 메시지들의 처리도 제어 장치에서 실행된다. 바람직하게 검사 기능의 호출도 기본적으로 정보 처리의 클록 간격들에서 진행된다.A time frame T 0 is identified for message transmission that is not based on events (i.e., based on conventional time), which defines the interval between two messages periodically transmitted (e.g., from another control device). Such time frames (t E , 0 , t E , 1 , ...) are generally applied depending on each message, for example, messages in which safety critical messages are transmitted more frequently, I can not. Processing of messages in the same time frame (t A , 0 , t A , 1 , ...) is also performed in the control device. Advantageously, the invocation of the checking function also basically proceeds at clock intervals of the information processing.

플렉스레이 버스, 즉 여기서 더 자세히 제어 장치의 통신 인터페이스 드라이버 모듈의 독립된 시간축에 의해 그리고 제어 장치, 즉 여기서 더 자세히 제어 장치의 컴퓨터 코어의 독립된 시간축에 의해 수신 시점(tE ,1)과 처리 시점(tA ,1) 사이의 다소 큰 클록 간격의 변위△0(<T0)가 발생할 수 있다.(T E , 1 ) and the processing time point (t E , 1 ) by a separate time base of the FlexRay bus, i. E. The communication interface driver module of the control unit here in more detail and by the independent time base of the control unit, a somewhat large clock interval displacement? 0 (&lt; T 0 ) can be generated between the clock signals t A and T A.

버스에서 지터에 의해 야기되어 정상 작동 시 2개의 메시지들 사이에서 최대 시간(T0 ,최대)은 (T0 ,최대=T0+T지터 ,최대)에 달할 수 있고, 이때 T지터 ,최대는 (도면에 Tj로 표시되는) 최대 가능한 지터 시간이다.The maximum time (T 0 , maximum ) between two messages during normal operation caused by jitter on the bus can reach (T 0 , maximum = T 0 + T jitter , maximum ), where T jitter , (Indicated by T j in the figure).

바람직한 실시예에서 수신 제어 장치에서 메시지의 수신과 처리 사이의 계산 실행시간(T실행시간)(도면에는 TL로 표시되는)이 추가로 고려될 수 있다. 계산 부하의 변동에 의해 야기되어 다른 지터가 발생하여 계산 실행시간은 T실행시간,최소와 T실행시간,최대 사이에 존재한다. 이로써 정상 작동 시 최대로 예상되는 메시지 수신과 분석 사이의 지연 시간(△tx .최대)은 (△tx .최대 = T0 ,최대 + T시간,최대)가 된다.In a preferred embodiment, the calculation execution time (T execution time ) (indicated by T L in the figure) between reception and processing of a message at the receiving control device may be further considered. Another jitter is caused by the fluctuation of the calculation load, and the calculation execution time is between the T execution time, the minimum and the T execution time, and the maximum . This is the delay time (△ t x. Max) between the received messages that are expected to be maximum in normal operation and analysis (△ t x. Up to T = 0, max + T time, maximum).

클록들의 상태가 서로 공지되지 않기 때문에, 지금까지 시간 측정 없이 메시지를 모니터링한 경우 지터 효과를 고려하기 위해서는 항상 메시지의 장애를 기다려야 한다. 이로써 최종 유효한 메시지 입력으로부터 메시지 장애를 식별하기까지 버스 클록들과 제어 장치 클록들의 서로 간의 상태에 따라 최소(△tx .오류= 2*T0 + T실행시간,최소)와 최대(△tx .오류= 3*T0 + T실행시간,최대) 사이의 지연 시간이 발생한다.Since the states of the clocks are not known to each other, it is always necessary to wait for the message to fail to consider the jitter effect when monitoring the message without measuring the time. This results in a minimum (Δt x . Error = 2 * T 0) , depending on the state of the bus clocks and the controller clocks, from the last valid message input to the identification of the message failure . + T execution time, minimum ) and maximum (Δt x . Error = 3 * T 0 + T execution time, maximum ).

본 발명은 시간을 모니터링함으로써 이러한 지연 시간이 단축될 가능성을 제공한다. 이를 위해 메시지 수신과 처리의 시점들이 측정되고 메시지에 추가 저장된다.The present invention provides the possibility of shortening this delay time by monitoring the time. To this end, the points of message reception and processing are measured and further stored in the message.

지연 시간(△tx = tx .분석 - tx ,수신)은 정상 작동 시 △tx .최대보다 짧다.The delay time (t x = t x . Analysis - t x , reception ) is shorter than Δt x . max in normal operation.

이러한 고려사항들에서 검사 기능 호출 시 하기의 경우들이 구분될 수 있다.In these considerations, the following cases can be distinguished when calling the test function.

a) △tx < T0+T실행시간,최소-T지터 ,최대 a) Δt x <T 0 + T execution time, minimum -T jitter , maximum

이러한 경우, 이미 순간의 분석 클록 간격에서, 상기 처리된 메시지가 최신인 것이 확실히 식별될 수 있다. 그러므로 상기 순간의 분석 클록 간격은 결정 클록 간격(다시 말해 통신 시스템이 정확하게 작동하는지 또는 오류 작동하는지를 결정하는 클록 간격)이 된다.In this case, at the instantaneous analysis clock interval, it can be reliably identified that the processed message is up-to-date. Therefore, the instantaneous analysis clock interval is the determined clock interval (i.e., the clock interval that determines whether the communication system is operating correctly or error-wise).

b) T0+T실행시간,최소-T지터 ,최대 < △tx < T0+T실행시간,최대+T지터 ,최대 b) T 0 + T execution time, minimum -T jitter , maximum <Δt x <T 0 + T execution time, maximum + T jitter , maximum

이러한 경우, 순간의 분석 클록 간격에서, 상기 처리된 메시지가 최신인지의 여부를 아직 확실히 식별할 수 없다. 검사 기능은 나중 시점에 재호출된다. 이는 바람직하게 늦어도 바로 다음 분석 클록 간격이다. 그러나 결정을 가속화하도록 검사 기능은 분석 클록 간격에 의존하여, 예컨대 이미 절반의 분석 클록 간격 이후에 재호출될 수 있다.In this case, at the instantaneous analysis clock interval, it can not yet be reliably identified whether the processed message is up-to-date. The check function is recalled at a later time. This is preferably the latest analytical clock interval at the latest. However, the test function may be re-invoked after the analysis clock interval, e.g., already half the analysis clock interval, to accelerate the decision.

c) △tx > T0+T실행시간,최대+T지터 ,최대 c) Δt x > T 0 + T execution time, maximum + T jitter , maximum

이러한 경우, 순간의 분석 클록 간격에서, 상기 처리된 메시지가 최신이 아닌 것이 확실히 식별될 수 있다. 송신측 단말기 및/또는 통신 수단은 오류 없이 작동하지 않는다. 그러므로 순간의 분석 클록 간격은 결정 클록 간격이 된다.In this case, at the instantaneous analysis clock interval, it can be reliably identified that the processed message is not up-to-date. The transmitting terminal and / or the communication means do not operate without error. Therefore, the instantaneous analysis clock interval becomes the decision clock interval.

이로써 메시지 장애는 T0+T실행시간,최대+T지터 ,최대인 임계를 초과할 시 이미 식별된다.Thus, the message failure is already identified when it exceeds the threshold of T 0 + T execution time, maximum + T jitter , maximum .

이로써 10ms의 메시지 클록과 ±1ms의 전체 지터의 경우 이미 11ms부터, 다시 말해 경우들의 90%에서 수신 시간과 분석 시간 사이의 시간 오프셋을 균등분배할 시 첫 번째 발생하는 장애 메시지에서 메시지 장애가 식별될 수 있다. 남아 있는 불분명한 경우들은 확실히 다음 클록 호출 시 분명해질 수 있다.This means that a 10ms message clock and a total jitter of ± 1ms will already be able to identify a message failure in the first occurring error message when the time offset is already distributed from 11ms, ie 90% of the cases, between the reception time and the analysis time have. The remaining unclear cases can certainly be evident at the next clock call.

Claims (16)

단말기(200)에서 메시지 수신의 검사 방법이며,
- 단말기가 통신 수단(100)을 통해 메시지를 수신한 수신 시점(tE ,0)을 결정하는 단계와,
- 단말기에 의해 메시지의 분석이 이루어지는 분석 시점(tA ,0)을 결정하는 단계와,
- 분석 시점과 수신 시점 사이의 편차(△tx)를 형성하는 단계와,
- 메시지 수신에 오류가 없는지의 여부를 편차(△tx)에 의존하여 결정하는 단계를 포함하는, 단말기에서 메시지 수신의 검사 방법.
A method of inspecting the reception of a message in a terminal (200)
- determining the time of reception (t E , 0 ) at which the terminal received the message via the communication means (100)
- determining an analysis time (t A , 0 ) at which an analysis of the message is made by the terminal,
Forming the difference (△ t x) between the analysis start point and the reception point, -
- determining whether there is an error in the reception of the message, in dependence on the deviation (? T x ).
제1항에 있어서, 메시지 수신에 오류가 없는지의 여부를 편차(△tx)에 의존하여 결정하는 단계는, 하한과 상한 간격을 갖는 사전 설정된 시간 간격과 편차(△tx)와의 비교를 포함하는, 단말기에서 메시지 수신의 검사 방법.The method of claim 1, further comprising: an error in the message received no determined depending on the deviation (△ t x) whether is a comparison with the pre-set time intervals and the deviation (△ t x) having a lower and upper gap A method for checking the reception of a message on a terminal. 제2항에 있어서, 사전 설정된 간격의 상한 간격은 적어도 통신 수단(100)의 클록 길이와, 메시지를 위한 최대 계산 시간과, 최대 지터 시간의 합산으로서 계산되는, 단말기에서 메시지 수신의 검사 방법.3. The method of claim 2, wherein the upper interval of the predetermined interval is calculated as a sum of at least the clock length of the communication means (100), the maximum calculation time for the message, and the maximum jitter time. 제2항 또는 제3항에 있어서, 메시지는 단말기(200)에 버스(100)를 통해 전송되고 사전 설정된 간격은 폐쇄된 간격이며, 상기 간격의 길이는 버스, 단말기, 또는 버스와 단말기 둘 다에서 최대 지터 시간의 두 배 이상인, 단말기에서 메시지 수신의 검사 방법.4. The method of claim 2 or claim 3, wherein the message is sent to the terminal (200) via the bus (100) and the predetermined interval is a closed interval, the length of the interval being at least one of a bus, a terminal, A method of checking the receipt of a message at a terminal that is at least twice the maximum jitter time. 제2항 또는 제3항에 있어서, 편차(△tx)가 하한 간격보다 짧을 경우, 메시지 수신에 오류가 없는 것으로 결정되는, 단말기에서 메시지 수신의 검사 방법.4. The method according to claim 2 or 3, wherein if the deviation (DELTA t x ) is shorter than the lower limit interval, it is determined that there is no error in message reception. 제2항 또는 제3항에 있어서, 편차(△tx)가 상한 간격보다 길 경우, 메시지 수신에 오류가 있는 것으로 결정되는, 단말기에서 메시지 수신의 검사 방법.According to claim 2 or 3, wherein when the upper limit is longer than the distance deviation (△ t x), checking method of receiving messages in a terminal, it is determined that there is an error in the message received. 제1항 내지 제3항 중 어느 한 항에 있어서, 메시지 수신에 오류가 있을 경우, 오류 루틴이 시작되는, 단말기에서 메시지 수신의 검사 방법.4. The method of any one of claims 1 to 3, wherein an error routine is initiated if there is an error in message reception. 제1항 내지 제3항 중 어느 한 항에 있어서, 편차(△tx)가 사전 설정된 시간 간격 내에 위치하는 경우, 상기 방법은 나중 시점에 재실행되는, 단말기에서 메시지 수신의 검사 방법.4. The method of any one of claims 1 to 3, wherein the method is re-executed at a later time when the deviation (AT x ) is located within a predetermined time interval. 제8항에 있어서, 나중 시점은 늦어도 바로 이어지는 단말기의 처리 클록인, 단말기에서 메시지 수신의 검사 방법.9. The method of claim 8, wherein the later time point is the processing clock of the terminal immediately following. 제1항 내지 제3항 중 어느 한 항에 있어서, 편차(△tx)에 의존하여 메시지 수신에 오류가 없는지의 여부를 결정하는 단계는,
- 편차(△tx)에 의존하여 결정 클록 간격(tA ,0, tA ,1)을 결정하는 단계와,
- 메시지 수신에 오류가 없는지의 여부를 결정 클록 간격(tA ,0, tA ,1)에서 결정하는 단계를 포함하는, 단말기에서 메시지 수신의 검사 방법.
To claim 1, wherein the step of determining whether or not according to any one of claim 3, wherein, depending on the deviation (△ t x) there are no errors in the message received,
- determining a decision clock interval (t A , 0 , t A , 1 ) in dependence on the deviation (? T x )
- determining at a decision clock interval (t A , 0 , t A , 1 ) whether or not there is an error in receiving the message.
제10항에 있어서, 분석 시점은 분석 클록 간격 내에 위치하고, 결정 클록 간격을 결정하는 단계는,
- 편차(△tx)가 사전 설정된 시간 간격 내에 위치하지 않는 것을 확인하고, 분석 클록 간격으로서 결정 클록 간격을 확인하거나,
- 편차(△tx)가 사전 설정된 시간 간격 내에 위치하는 것을 확인하고, 분석 클록 간격에 바로 이어지는 클록 간격으로서 결정 클록 간격을 확인하는 것을 포함하는, 단말기에서 메시지 수신의 검사 방법.
11. The method of claim 10, wherein the analysis time point is located within an analysis clock interval,
- confirming that the deviation (DELTA t x ) is not located within a predetermined time interval, confirming the decision clock interval as the analysis clock interval,
- the deviation (△ t x) is a predetermined time and confirmed that the position in the interval, a method of checking a message received on the device, which comprises a check to determine clock intervals immediately following clock interval in clock analysis interval.
제11항에 있어서, 단말기는, 편차(△tx)가 사전 설정된 시간 간격 내에 위치하지 않는 것을 확인하고,
- 편차(△tx)가 사전에 주어진 시간 간격의 상한 간격보다 긴 것이 확인되면, 메시지 수신은 오류가 있는 것으로 결정하는 단계, 또는
- 편차(△tx)가 사전에 주어진 시간 간격의 상한 간격보다 짧은 것이 확인되면, 메시지 수신은 오류가 없는 것으로 결정하는 단계를 더 포함하는, 단말기에서 메시지 수신의 검사 방법.
The method of claim 11, wherein the terminal is configured to determine that the deviation (△ t x) are not located in a predetermined time interval,
- if it is ascertained that the deviation &lt; RTI ID = 0.0 & gt ; (Delta x ) & lt ; / RTI &gt; is longer than the upper bound of the given time interval,
- When the deviation (△ t x) is ascertained that the upper limit is less than the spacing of the given time interval in advance, the message received is a test method for receiving, from the terminal a message further comprises: determining that there is no error.
제1항 내지 제3항 중 어느 한 항에 있어서, 통신 수단은 플렉스레이 버스이거나 CAN 버스인, 단말기에서 메시지 수신의 검사 방법.4. A method according to any one of claims 1 to 3, wherein the communication means is a FlexRay bus or a CAN bus. 제13항에 있어서, 수신 시점(tE ,0)의 결정은,
- 플렉스레이 드라이버 모듈로부터 플렉스레이 시간축에 저장된 메시지의 수신 시점으로부터, 그리고 플렉스레이 시간축과 단말기 시간축 사이의 시간축 오프셋으로부터 플렉스레이 드라이버 모듈에 의해 단말기 시간축에서 수신 시점(tE ,0)을 계산하거나,
- 플렉스레이 드라이버 모듈로부터 플렉스레이 시간축에 저장된 메시지의 수신 시점으로부터, 그리고 플렉스레이 시간축과 단말기 시간축 사이의 시간축 오프셋으로부터 단말기에 의해 단말기 시간축에서 수신 시점(tE ,0)을 계산하거나,
- 메시지의 수신 시 플렉스레이 드라이버 모듈 또는 CAN 드라이버 모듈에 의해 수신 시점(tE ,0)을 결정하도록 단말기를 작동시키는 것을 포함하는, 단말기에서 메시지 수신의 검사 방법.
14. The method of claim 13, wherein determining the receive time (t E , 0 )
- calculate the receive time (t E , 0 ) on the terminal time axis by the FlexRay driver module from the time of receipt of the message stored in the FlexRay timebase from the FlexRay driver module and from the time axis offset between the FlexRay timebase and the terminal timebase,
- calculate the time of reception (t E , 0 ) on the terminal time base by the terminal from the time of receipt of the message stored in the FlexRay time axis from the FlexRay driver module and from the time axis offset between the FlexRay time axis and the terminal time axis,
- activating the terminal to determine the time of reception (t E , 0 ) by the FlexRay driver module or the CAN driver module upon receipt of the message.
제1항 내지 제3항 중 어느 한 항에 따른 방법을 실행하기 위해 설치되어 있는 컴퓨터 유닛.A computer unit installed for carrying out the method according to any one of claims 1 to 3. 컴퓨터 유닛에서 실행될 경우, 컴퓨터 유닛이 제1항 내지 제3항 중 어느 한 항에 따른 방법을 실행하도록 하는 프로그램 코드 수단을 가지는 컴퓨터 프로그램이 저장된 기계 판독 가능한 메모리 매체.A computer program having program code means for causing a computer unit to execute a method according to any one of claims 1 to 3 when executed on a computer unit.
KR1020130139167A 2012-11-19 2013-11-15 Method for testing of receiving a message in a terminal KR20140064646A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE201210221055 DE102012221055A1 (en) 2012-11-19 2012-11-19 Method for checking message reception in end device, involves determining reception time at which end device has received message over communication medium
DE102012221055.5 2012-11-19

Publications (1)

Publication Number Publication Date
KR20140064646A true KR20140064646A (en) 2014-05-28

Family

ID=50625570

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130139167A KR20140064646A (en) 2012-11-19 2013-11-15 Method for testing of receiving a message in a terminal

Country Status (3)

Country Link
KR (1) KR20140064646A (en)
CN (1) CN103825680A (en)
DE (1) DE102012221055A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105515929A (en) * 2015-12-01 2016-04-20 电子科技大学 Method for calculating data transmission reliability lower limit of FlexRay bus network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010049002A (en) * 1999-11-30 2001-06-15 서평원 Method of Testing Continuity in the ISUP Transit Call
WO2004105326A2 (en) * 2003-05-20 2004-12-02 Philips Intellectual Property & Standards Gmbh Time-triggered communication system and method for the synchronized start of a dual-channel network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105515929A (en) * 2015-12-01 2016-04-20 电子科技大学 Method for calculating data transmission reliability lower limit of FlexRay bus network
CN105515929B (en) * 2015-12-01 2019-12-10 电子科技大学 Computing method for data transmission reliability lower limit of FlexRay bus network

Also Published As

Publication number Publication date
DE102012221055A1 (en) 2014-05-22
CN103825680A (en) 2014-05-28

Similar Documents

Publication Publication Date Title
EP3282646B1 (en) Network monitoring device and computer readable recording medium
KR102064634B1 (en) Apparatus and method for testing
KR101581403B1 (en) Method for monitoring at least two microcontrollers
US8204083B2 (en) Network connection apparatus and communication system and method applying the same
JP2002158668A (en) Abnormality detector of network system for vehicle
US7953016B2 (en) Method and system for telecommunication apparatus fast fault notification
KR20080067702A (en) Bus guardian with improved channel monitoring
US20090290485A1 (en) Distributed communication system and corresponding communication method
KR102030462B1 (en) An Apparatus and a Method for Detecting Errors On A Plurality of Multi-core Processors for Vehicles
KR101869503B1 (en) Apparatus and method for monitoring optical communication line
CN103685501A (en) Data processing method, device and system
KR20140064646A (en) Method for testing of receiving a message in a terminal
CN112398672B (en) Message detection method and device
CN105530110A (en) Network failure detection method and related network elements
JP6913869B2 (en) Surveillance equipment, surveillance systems and computer programs
KR0129174B1 (en) Process for monitoring a computer
JP5643453B1 (en) Communication path management apparatus and program
TWI423638B (en) Communication system, test device, communication device, communication method, and test method
JP2006195780A (en) Controller and remote i/o communication method
CN113485291B (en) Method for monitoring communication fault of CAN bus node by vehicle-mounted gateway and gateway equipment
US20110264974A1 (en) Method for operating a communication system having a plurality of nodes, and a communication system therefor
US11226603B2 (en) Automation system for process automation and a corresponding method
KR102451821B1 (en) Bidirectional microcomputer monitoring method
WO2023223940A1 (en) In-vehicle device, program, and information processing method
KR100937098B1 (en) Problem occurrence check method from events

Legal Events

Date Code Title Description
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid