Documente Academic
Documente Profesional
Documente Cultură
1
2
0
Node 1 Node 2 Node 10
40 meters
Near End
Far End
CAN
Network
Eye diagram measurements
Fast Data Rates, More HF Loss
Reference Maxim Note HFDN-27.0 (Rev. 0, 09/03)
Tx
+
-
+
-
Rcv
path +
-
+
-
Clean, open, logical 1 & 0 at
launch from transmitter
Smeared edges at end of long
interconnect.
Logical 1 & 0 can be hard to
distinguish at end of long
interconnects; (this is often
called a closed eye)
Fast, sharp, edges at
transmitter launch
31
CAN Data and Remote Frame Overview
SOF: begins with a start of frame (SOF) bit
Arbitration: Identifier (address) and Remote Transmission Request (RTR) bit
Control: 6 bits including Identifier Extension (IDE) bit and Data Length Code (DLC)
Data: zero to eight bytes of data
CRC: 15-bit cyclic redundancy check code and a recessive delimiter bit
ACK: acknowledge field is two bits long
EOF: 7 recessive bits indicate the end of frame (EOF)
INT: intermission field of three recessive bits indicates the bus is free
32
Characterize System Timing
Characterize timing between bus messages and system operation
Requires waveform displays time-correlated with decoded messages
Characterize timing differences which occur when adding a new
network node to an existing network
Automotive application example:
Measure worst-case time from crash sensor output to airbag activation
Measure variations in timing of airbag activation with varying levels of CAN bus traffic
33
CAN Bus
DPO7000 CAN Trigger
34
CAN Bus
DPO7000 CAN Analysis Application
Select Function :
Decoding
Timing Analysis
35
CAN Bus
DPO7000 CAN Analysis Application
Configure :
Trig.-Source
Bus-Source
36
CAN Bus
DPO7000 CAN Analysis Application
Trig.-Configure :
Field Type
Field Value
37
CAN Bus
DPO7000 CAN Analysis Application
Decoding Results :
Field Value
Timing Result
38
CAN Bus
DPO7000 CAN Analysis Application
Decoding Results :
Correlation to
Acq.-Mem
39
Characterizing Oscillator Tolerance and Propagation Delay
Oscillator tolerance of a
CAN node
Specify the specific ID for
trigger condition
Result will include ACK and
without ACK bit
With ACK bit, shows the
impact of receiving CAN node
oscillator tolerance on
transmitting node
Propagation Delay
Connect two channels to any
two CAN nodes
Result is directly available
40
Monitoring CAN Traffic for Bus Utilization
Measure at specific
ID, error frame or
overload frame
Specifies percentage
of time traffic present
in the CAN bus
Type of traffic can be
analyzed
Frame count
Tektronix DPO7000 Series with TDSVNM option
41
CAN Trigger Overview
42
FlexRay 2.1 (3.0)
FlexRay is a automotive bus still being developed by a group of
leading automotive companies and suppliers known as the FlexRay
Consortium
The physical bus can be unshielded twisted pair, or shielded twisted
pair to improve EMC performance
FlexRay is a differential serial bus configured in three recurring
segments: Header, Payload, and Trailer
Each frame contains a static and dynamic segment, and bus idle time
concludes each frame
Transmitted data rates up to 10 Mbps
Automotive
Manufacturers are finding that existing automotive serial standards
such as CAN and LIN do not have the speed, reliability, or redundancy
required to address X-by-wire applications such as brake-by-wire or
steer-by-wire.
43 43
FlexRay Frame Structure
Header Segment
Contains Indicator Bits, Frame ID, Payload Length (in words), Header CRC, and Cycle Count
Payload Segment
Contains data transferred by the frame. Maximum payload length is 127 words (254 bytes)
Trailer Segment
Contains a single 24 bit field [three 8 bit CRC registers] for header and payload protection
44 44
FlexRay Terms and Abbreviations
TSS (Transmission Start Sequence): initiate network connection setup.
FSS (Frame Start Sequence): immediately follows TSS
Indicator Bits: provides Header Segment preamble information.
Frame Id (Frame Identifier): defines to which slot frame is transmitted.
Payload Length: indicates data size being transferred in the frame.
Header CRC: contains CRC computed from portion of Header Segment.
Cycle Count: holds value that increments for each comm. cycle start.
Data (Payload): contains data transferred by frame (254 bytes max.).
Trailer CRC: protects against improper header and payload modification.
FES (End of Frame): immediately follows the Trailer CRC
DTS (Dynamic Trailing Sequence): indicates a dynamic frame.
CID (Channel Idle Detection): indicates end of comm. (Idle: BP=BM)
Data_0: negative differential voltage between BP and BM.
Data_1: positive differential voltage between BP and BM.
Idle_LP (LowPower): biased to ground. No current to BP or BM.
Idle: biased to a voltage. No current to BP or BM.
BP (Bus Plus) and BM (Bus Minus) lines used to balance the differential
communications network.
FlexRay Bus Decode Terms
45
FlexRay Bus
FlexRay Analysis Application
Configure :
Data Source
Probing
Trigger
46
Results :
Decoding
CRC Analysis
Correlation to
Acq.-Mem
FlexRay Bus
FlexRay Analysis Application
47
Results :
Timing Meas.
Sync. Meas.
Eye/Mask Test
TIE
Zoom
FlexRay Bus
FlexRay Analysis Application
48
FlexRay Bus
FlexRay Analysis Application
Real Signals
MASK violation
could be ID related