CAN Gateway Analysis Specifications
CAN Gateway Latency and Message Loss Analysis
Analysis Overview
Measures timestamp differences between gateway source and destination channels for the specified CAN frames, and obtains maximum, minimum, and average values.
A message is considered lost if a frame appears on the gateway source channel but the corresponding frame does not appear on the gateway destination channel.
Settings
The following settings are used (multiple entries are supported).
- Frame information (protocol/ID)
- Gateway information (source/destination channel)
Latency Measurement
Example: FrameA, gateway source Ch1-1, gateway destination Ch2-1
Red arrows indicate latency. Communication intervals at the gateway source (blue arrows) are measured separately from latency, and their average is also obtained.
- Frame border colors represent differences in transmitted data. Data differences are also considered; if source and destination data lengths differ, comparison uses the shorter data length.
For example, if the gateway source DL is 8 and the destination DL is 5, Data1–Data5 are checked for a match. - Log entries detected at the gateway destination before the gateway source are excluded from analysis.
- One source/destination frame pair is analyzed as one sample.
Message Loss
Example: FrameA, gateway source Ch1-1, gateway destination Ch2-1
When loss occurs, latency/loss analysis of that target frame stops at that point (analysis continues for the next target frame), but results obtained so far are output.
Note: Frames must appear at the gateway destination in the order shown in
; otherwise the result is NG.
Message loss is also detected if, for one frame definition, no destination frame is detected and the source-frame information buffer reaches its maximum size (30).
Analysis Results
The following results are provided for each target frame.
- Maximum latency (and its timestamp)
- Minimum latency (and its timestamp)
- Average latency
- Average reception interval at the gateway source
- Maximum delay ratio (maximum latency ÷ average reception interval at the gateway source)
- Message loss timestamp
- Sample count
CAN Gateway Residence Analysis
Analysis Overview
Measures the difference in occurrence counts between gateway source and destination channels for the specified CAN frames and obtains its peak value.
A peak value is also obtained for each gateway destination channel.
Settings
The following settings are used (multiple entries are supported).
- Frame information (protocol/ID)
- Gateway information (source/destination channel)
Measuring Resident Frame Counts
Example: FrameA, gateway source Ch1-1, gateway destination Ch2-1
- Log entries detected at the destination before the source (which would make the current count negative) are excluded from analysis.
- Each frame used to increment/decrement the count for peak measurement is counted as a sample.
Obtaining Peaks per Gateway Destination Channel
Obtains peak values across all target frames for each gateway destination channel.
Example: Channel residence counts for destination Ch2-1
FrameA, gateway source Ch1-1, gateway destination Ch2-1
FrameB, gateway source Ch3-1, gateway destination Ch2-1
- Log entries detected at the destination before the source (which would make the current count negative) are excluded from analysis.
- Each frame used to increment/decrement the count for peak measurement is counted as a sample.
Analysis Results
The following results are provided.
Results per Gateway Destination Channel
- Peak value (and its timestamp)
- Sample count
Results per Target Frame (for Each Target Frame)
- Peak value (and its timestamp)
- Sample count