Below diagram depicts the overview of the basic CAN bus system deployed. In this system, there consists of two nodes, namely the handset itself and mobile radio transceiver. They are connected via shielded twisted pair wires with Zo of 120 ohm. The differential signalling and shielded twisted pair characteristics would provide a robust resilience toward EMI. EMIcould be notorious in automative environment that the product itself is installed within. We use TI's CAN bus transceiver IC 65HVD230 with 120 ohm differential termination between differential lines. The CAN logic controller resides in a FPGA developed in-house.
For our CAN bus system, we decided to use Vector CANScope as the measurement tool to capture the eye diagram and respective CAN bus data decipher. The reason being the tool could provide a oscilloscope window to display the bus levels and the eye diagram as well. The ability of different trigger condition is also useful. The cost effectiveness of the tool is also an important factor in the purchase decision over other alternative options.
The captured data signal data could look something like below:

In order to design an eye mask for signal integrity evaluation, we would need to finalize the calculation of the bit segments for our product at max length of 40m. Below calculations shown was completed with reference to "CAN Bit Timing Requirements" technical document released by Freescale Semiconductor.
Bit rate = 1M bit per second
Bus length = 40m (or ~130’)
Bus propagation delay = 5.5 ns/ m
Physical Interface (SN65HVD230) transmitter plus receiver propagation delay = 135ns at 85°C
CAN system clock = 16MHz
Physical delay of bus = 40 x 5.5 ns = 220ns
tPROP_SEG=2(220ns + 135ns)= 710ns
A prescaler value of 1 gives a CAN system clock of 16MHz and a Time Quantum of 62.5ns.
This will give 1000 / 62.5 = 16 time quanta per bit.
Prop_seg = round up (710ns/ 62.5 ns) = 12. Therefore, maximum tprop_seg = 750 ns
From 16 time quanta per bit, subtract 12 for PROP_SEG and 1 for SYNC_SEG. This leaves 3 which is the absolute minimum.
The eye mask diagram shown below would be the eye mask used in the CAN signal evaluation based on the calcualations.
1 comment:
great sharing also, please elaborate how to use this in real application, do you have any actual example? and what is the real problem encounter and how to resolve them ? btw, how good is the CAN bus in noise environment?
Post a Comment