PCA82C250/251 CAN Transceiver

APPLICATION NOTE
PCA82C250 / 251
CAN Transceiver
AN96116
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
Application Note
AN96116
Abstract
The PCA82C250 and PCA82C251 are advanced transceiver products for use in automotive and general industrial applications with transfer rates up to 1 Mbit/s. They support the differential bus signal representation being
described in the international standard for in-vehicle CAN high-speed applications (ISO 11898). Controller Area
Network (CAN) is a serial bus protocol being primarily intended for transmission of control related data between a
number of bus nodes.
This application note provides information how to use the above-mentioned transceiver products and discusses
several topics of interest like slope control mode, stand-by mode, bus length and maximum number of bus nodes
per network.
 Philips Electronics N.V. 1996
All rights are reserved. Reproduction in whole or in part is prohibited without the prior written consent of the copyright owner.
The information presented in this document does not form part of any quotation or contract, is believed to be
accurate and reliable and may be changed without notice. No liability will be accepted by the publisher for any
consequence of its use. Publication thereof does not convey nor imply any license under patent- or other industrial or intellectual property rights.
2
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
Application Note
AN96116
APPLICATION NOTE
PCA82C250 / 251
CAN Transceiver
AN96116
Author(s):
Harald Eisele, Egon Jöhnk
Product Concept & Application Laboratory Hamburg,
Germany
Keywords
Transceiver, ISO 11898, Physical Layer,
Slope-Control, Bus Length, PCA82C250, PCA82C251,
Controller Area Network (CAN)
Supersedes Data of 1996 April 17 (AN96001)
Date: 1996 October 23
3
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
Application Note
AN96116
Summary
This report is intended to provide basic technical information for the implementation of the Physical Medium
Attachment in a CAN network according to the ISO 11898 standard, using the transceiver products PCA82C250
and PCA82C251 from Philips Semiconductors. These products support bit rates up to 1 Mbit/s over a two-wire
differential bus line, which is the transmission medium being specified by the ISO 11898 standard.
The report provides typical application circuit diagrams with and without electrical isolation and discusses several
topics in more detail like slope control mode, stand-by mode, maximum bus length and maximum number of bus
nodes per network.
4
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
Application Note
AN96116
CONTENTS
1.
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.
APPLICATION OF THE PCA82C250 AND PCA82C251 . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.1
Application Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.2
Reference Voltage Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.
OPERATION MODES . . .
3.1
High-Speed Mode .
3.2
Slope Control Mode
3.3
Stand-by Mode . . .
4.
SLOPE CONTROL FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.1
Slew Rate Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.2
Bus Length in Slope Control Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5.
MAXIMUM BUS LINE LENGTH . . . . . .
5.1
Impact of the Bus Cable Resistance
5.2
Maximum Number of Nodes . . . .
5.3
Examples . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
17
17
19
20
6.
BUS TERMINATION AND TOPOLOGY ASPECTS
6.1
Split Termination Concept . . . . . . . . .
6.2
Multiple Termination Concept . . . . . . .
6.3
Single Termination Concept . . . . . . . .
6.4
Termination Mismatch . . . . . . . . . . .
6.5
Unterminated Cable Drop Length . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
22
22
22
23
23
24
7.
CONCLUSION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
8.
LIST OF REFERENCES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
12
12
12
13
APPENDIX 1
ABBREVIATIONS AND DEFINITIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
APPENDIX 2
CALCULATION OF THE VOLTAGE AT THE INPUT OF A NODE . . . . . . . . . . . . . . 27
APPENDIX 3
CALCULATION OF THE MAXIMUM BUS LINE LENGTH . . . . . . . . . . . . . . . . . . 28
5
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
Application Note
AN96116
(page has been left blank intentionally)
6
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
1.
Application Note
AN96116
INTRODUCTION
ISO 11898 [3] is the international standard for in-vehicle high-speed communication using the Controller Area
Network (CAN) bus protocol. The scope of this standard essentially is to specify the so-called data link layer and
physical layer of the communication link. The physical layer is subdivided into three sublayers as shown in Fig. 1.
These are
• Physical Signalling
bit coding, timing and synchronization
• Physical Medium Attachment
driver and receiver characteristics
• Medium Dependent Interface
bus connector
This report focuses on the implementation of the Physical Medium Attachment sublayer using the transceivers
PCA82C250 [1] and PCA82C251 [2] from Philips Semiconductors. The implementation of the Physical Signalling
sublayer and the Data Link Layer is typically performed by integrated protocol controller products, like the
PCx82C200 from Philips Semiconductors. Connection to the transmission medium is provided via the Medium
Dependent Interface i.e. a connector used to attach bus nodes to the bus line.
SPECIFICATION
OSI-LAYER
TO BE SPECIFIED BY
THE SYSTEM DESIGNER
IMPLEMENTATION
APPLICATION LAYER
LOGICAL LINK CONTROL
DATA LINK
LAYER
CAN-PROTOCOL
SPECIFICATION
CAN-CONTROLLER
MEDIUM ACCESS CONTROL
e.g.
PCx82C200
PHYSICAL SIGNALLING
SCOPE OF ISO 11898
PHYSICAL
LAYER
PHYSICAL MEDIUM ATTACHMENT
CAN-TRANSCEIVER
PCA82C250/251
MEDIUM DEPENDENT INTERFACE
TRANSMISSION MEDIUM
JK512191.GWM
Note: OSI = Open Systems Interconnection (see ISO 7498)
Fig. 1 Layered architecture of CAN
7
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
2.
Application Note
AN96116
APPLICATION OF THE PCA82C250 AND PCA82C251
The PCA82C250/251 transceiver products basically provide interfacing between a protocol controller and a physical transmission line. They are designed to transmit data with a bit rate of up to 1 Mbit/s over a two-wire differential voltage bus line as described in the ISO 11898 standard. Their general features are listed in the data sheets
(see [1] and [2]).
Both devices are designed for the use in CAN bus systems with a nominal supply voltage of 12 V (PCA82C250)
and 24 V (PCA82C251) respectively. They are functionally identical and can be used in automotive and general
industrial applications according to the relevant standards e.g. the ISO 11898 standard [3] and the DeviceNet TM
Specification [5]. Both the PCA82C250 and the PCA82C251 can communicate to one another in one network.
Moreover they are pin- & function-compatible i.e. they can be used with identical printed circuit boards.
Some main differences between both products are listed in Table 1.
Table 1 Main differences between PCA82C250 and PCA82C251
PCA82C250
PCA82C251
12 V
12V and/or 24 V
−8 V < VCA NL , H < +18 V
−40 V < VC AN L, H < +40 V
−150 V < Vt r < +100 V
−200 V < Vtr < +200 V
VCC > 4.9 V
VC C > 4.5 V
Nominal system supply voltage
Maximum bus terminal DC voltage
(0 V < VC C < 5.5 V)
Maximum transient bus terminal voltage
(ISO 7637)
Minimum transceiver supply voltage for extended fan
out applications (RL = 45 Ω)
For general industrial applications the PCA82C251 is recommended to be employed as to e.g. its higher breakdown voltage and its capability to drive loads down to 45 Ω over the whole supply voltage range. Also the
PCA82C251 draws less supply current in the recessive state and provides an enhanced bus output behaviour in
power-fail situations.
Voltage
5V
CAN_H
3.5V
2.5V
CAN_L
1.5V
EI203030
0V
Time
Recessive
Dominant
Recessive
Fig. 2 Nominal bus levels according to ISO 11898
8
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
Application Note
AN96116
uC
e.g. PCx82C200
CAN - Contoller
CTX1CTX0 CRX0 CRX1 Px,y
/ TX1 / TX0 / RX0 / RX1
either connection to an output port pin,
if standby mode shall be possible
or
connection to ground
0V
R ext
TxD
RxD
VREF
Rs
PCA 82C250/251 VCC
CAN Transceiver
CANH CANL
GND
+5V
100n
0V
JK512151.GWM
ISO 11898 Standard
CAN_H
124
CAN Bus Line
CAN_L
124
Programming of the Output Control Register (example)
Output Control
TX0 push-pull, dominant = low e.g. 1Ah e x
Fig. 3 Application example of the PCA82C250/251 transceivers
2.1
Application Examples
A typical application of the PCA82C250/251 transceiver is shown in Fig. 3. A protocol controller is connected to
the transceiver via a serial data output line (TX) and a serial data input line (RX). The transceiver is attached to
the bus line via its two bus terminals CANH and CANL, which provide differential receive and transmit capability.
The input Rs is used for mode control purpose. The reference voltage output VR EF provides an output voltage of
0.5 × VC C nominal. Both transceiver products are powered with a nominal supply voltage of +5 V.
The protocol controller outputs a serial transmit data stream to the TxD input of the transceiver. An internal pullup function sets the TxD input to logic HIGH i.e. the bus output driver is passive by default. In this so-called
recessive state (see Fig. 2) the CANH and CANL inputs are biased to a voltage level of 2.5 V nominal via
receiver input networks with an internal impedance of 17 kΩ typical. Otherwise if a logic LOW-level is applied to
TxD, this activates the bus output stage, thus generating a so-called dominant signal level on the bus line (see
Fig. 2). The output driver consists of a source and a sink output stage. CANH is attached to the source output
and CANL to the sink output stage. The nominal voltage in the dominant state is 3.5 V for the CAN_H line and
1.5 V for the CAN_L line.
9
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
Application Note
AN96116
e.g. PCx82C200
CAN - Contoller
CTX0 CTX1
/ TX0 / TX1
CRX0 CRX1
/ RX0 / RX1
6.2k
360
4.3k
360
100n
+5V
+5V
0V
6N137
Isolation
6N137
360
+5V
100n
+5V
0V
360
either connection to
high-active reset signal
R ext
n.c.
TxD
RxD
VREF
PCA 82C250/251
CAN Transceiver
CANH CANL
Rs
VCC
+5V
100n
RST
5V
0V Regulator
GND
or connection to ground
JK512152.GWM
ISO 11898 Standard
CAN_H
124
CAN Bus Line
CAN_L
124
Programming of the Output Control Register (example)
Output Control
TX0 push-pull, dominant = low e.g. 1Ah ex
Fig. 4 Application example for an interface with galvanic isolation using optocouplers
Note: If high bit rates shall be used, e.g. 500 kbit/s or above, then high-speed optocouplers should be considered with a delay of less than 40ns, e.g. HCPL-7101.
The bus line is in recessive state if no bus node transmits a dominant bit, i.e. all TxD inputs in the network are
logic HIGH. Otherwise if one or multiple bus nodes transmit a dominant bit, i.e. at least one TxD input is logic
LOW, then the bus line enters the dominant state thus overriding the recessive state (wired-AND characteristic).
10
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
Application Note
AN96116
The receiver comparator converts the differential bus signal to a logic level signal which is output at RxD. The
serial receive data stream is provided to the bus protocol controller for decoding. The receiver comparator is
always active i.e. it monitors the bus while the bus node is transmitting a message. This is required e.g. for safety
reasons and to support the non-destructive bit by bit contention scheme of CAN. Some controller products provide an analog receive interface (RX0, RX1). In that case RX0 usually needs to be connected to the RxD output
and RX1 needs to be biased to an appropriate voltage level. This can be done e.g. by using the VR EF output (see
Fig. 3) or by using a resistive voltage divider (see Fig. 4).
In Fig. 3 the transceiver is directly connected to the protocol controller and its application circuitry. In cases where
galvanic isolation is desired, optocouplers can be placed e.g. between the transceiver and the protocol controller
as shown in Fig. 4. When using optocouplers one has to pay attention to choose the right default state when the
circuitry at the protocol controller side of the isolation is not powered. In such a case the optocoupler being
attached to TxD will be “dark” i.e. LED switched off. When this optocoupler is off/dark, then a logic HIGH-level
has to be output to the TxD input of the transceiver for fail-safe purpose. Also if using optocouplers one may consider to attach the Rs mode control input to an active-high reset signal, e.g. to disable the transceiver when the
local transceiver supply voltage is not OK e.g. during ramp-up and -down.
However using optocouplers generally increases the so-called loop delay of a bus node, if placed between the
transceiver and the protocol controller. The signal has to pass these devices twice per node, i.e. transmit and
receive path, which effectively decreases the maximum achievable bus length at a given bit rate. This fact has to
be considered when calculating the maximum achievable bus length due to propagation delays in a CAN network. For more details please refer e.g. to [4].
2.2
Reference Voltage Output
The PCA82C250/251 provides a reference voltage output VR EF , which may be used e.g. to bias one of the
inputs of a CAN protocol controller´s differential input comparator as shown in Fig. 3. In other cases a reference
voltage may be generated locally at the protocol controller input as shown e.g. in Fig. 4. Which solution is appropriate in a system depends on the application and the bus input structure of the protocol controller product.
11
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
3.
Application Note
AN96116
OPERATION MODES
The PCA82C250 and PCA82C251 provide three different operation modes. Mode control is being provided
through the Rs control input.
The first mode is the high-speed mode supporting maximum bus speed and/or length.
The second mode is the so-called slope control mode which should be considered if unshielded bus wires shall
be used. In this mode the output slew rate can be decreased intentionally, e.g. to reduce electromagnetic emission.
The third mode is the stand-by mode being of interest especially in battery powered applications, when the system power consumption needs to be very low. System reactivation is performed through transmission of a message. Fig. 3 gives an example for switching the transceiver between stand-by mode and normal operating mode.
• Px,y = HIGH:
the PCA82C250/251 is switched to stand-by mode (VRs > 0.75 × VC C )
• Px,y = LOW:
the PCA82C250/251 is switched to normal operating mode, which is either high-speed mode
or slope control mode, depending essentially upon the resistance connected to Rs.
Usually the following resistance values for the slope-control resistor Re x t are suitable:
• 0 Ω < Re x t < 1.8 kΩ
high-speed mode (VR s < 0.3 × VCC )
• 16.5 kΩ < Re x t < 140 kΩ
slope control mode (10 µA < - IRs < 200 µA)
In the following these three operation modes shall be discussed in more detail.
3.1
High-Speed Mode
This mode is suitable to achieve a maximum bit rate and/or bus length. The high-speed mode is commonly
employed in general industrial applications such as the CAN based system DeviceNet TM. In this mode the bus
output signals are switched as fast as possible and therefore a shielded bus cable usually would be appropriate
to prevent a possible disturbance of e.g. a car radio by the bus signal.
The high-speed mode is selected with VRs < 0.3 × VCC . This can be achieved with a direct connection of the Rs
control input to an output port of a microcontroller or ground potential or an active-high reset signal (see Fig. 3
and Fig. 4).
In high-speed mode the transceivers provide an effective loop delay of as low as 145 ns max. (155 ns for
Ta m b > 85°C). With view to the CAN bit timing requirements, the effective loop delay is the maximum of the dominant edge loop delay and the average value of dominant and recessive edge loop delay.
t loop.eff = max {0.5 × ( t onRxD + t offRxD ), t onRx D}
3.2
Slope Control Mode
In several applications the use of an unshielded bus cable will be desirable e.g. for system cost reasons. However using an unshielded cable implies additional requirements to be met by the transceiver product e.g. with
view to electromagnetic compatibility (EMC). Using the PCA82C250/251 the slew rate of the bus signal can be
decreased intentionally, which is recommended if an unshielded bus cable shall be used. The slew rate can be
set via a series resistance value Rex t being connected to the control pin Rs. With respect to the CAN bit timing
requirements a decreased slew rate implies an increase of the bus node loop delay and thus a lower bus length
at a given bit rate or alternatively a lower bit rate at a given bus length. In slope control mode the bus output slew
rate is basically proportional to the current flow out of pin Rs in the range of 10 µA < - IR s < 200 µA (see data
sheets [1], [2]). If the Rs output current is in that range, then a voltage of approximately 0.5 × VC C will be output
at the pin Rs. The transceiver is set to slope control mode when an appropriate resistance value is applied
between the Rs pin and ground potential. As a rule of thumb the resistance value should be in the range of
16.5 kΩ < Re x t < 140 kΩ to meet the above-mentioned range for the Rs output current.
12
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
Application Note
AN96116
The suitable range for Re x t can be calculated using the limits for slope control mode
10 µA < -IR s < 200 µA
and
0.4 × VCC < VRs < 0.6 × VC C .
The minimum and maximum values for Re x t can be calculated with the following two relations (for the explanation of the symbols see APPENDIX 1).
0.6V CC.m ax 0.6V CC.m ax
R ex t > ------------------------------- = ------------------------------I Rs.m ax
200µA
(1)
0.4V CC.min – V OL.max 0.4V CC.min – V OL.max
R ext < ---------------------------------------------------------- = ----------------------------------------------------------I Rs .m in
10µA
(2)
If the slope control resistor Re x t is connected to ground, then the value V O L . m a x is zero volts. The relation
between the Rs output current and the bus signal slew rate is discussed in chapter 4.1.
3.3
Stand-by Mode
This mode is to be used when the power consumption needs to be minimized e.g. temporarily. The stand-by
mode is selected with VR s > 0.75 × VCC .
Using the stand-by mode, the system power consumption can be reduced drastically. This mode is primarily
intended for battery powered applications for example when a vehicle is parked. To enter stand-by mode a logic
HIGH-level has to be applied to the transceiver´s control input Rs. This can be done either by direct connection of
an output port pin to Rs or via any suitable slope control resistor Re x t . In stand-by mode the transmitter function
and the receiver input bias network are switched off to reduce power consumption. The reference voltage output
and a basic receive function will remain active and work with very low power consumption. This allows to reactivate the system via the bus line by transmission of a message. Upon detection of a dominant bus condition of at
least 3 µs length, the transceiver will provide a wake-up interrupt signal to the protocol controller via its RxD output. Upon detection of a falling edge on RxD the controller should set the Rs pin to logic LOW-level in order to
switch the transceiver back to normal transmission mode. As the receiver is slower in stand-by mode, it essentially depends on the delay time of the logic (falling edge on Rs) when the transceiver is back to normal reception
speed. At high bus speeds the transceiver may not be able to correctly receive messages in stand-by mode i.e.
while the Rs pin is still HIGH.
An alternative application is to connect the Rs input to an active-high reset signal. This can be done for example
with view to the case of the transceiver and the protocol controller being supplied by different supply sources,
e.g. if optocouplers are used (see Fig. 4).
13
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
4.
4.1
Application Note
AN96116
SLOPE CONTROL FUNCTION
Slew Rate Calculation
As mentioned above, the slew rate (SR) of the bus output signal is proportional to the current flow (IRs ) out of the
pin Rs. As the current is primarily determined by the slope-control resistance value Re x t , a certain slew rate is
achieved by applying a respective resistance. Note that there is a difference between the single-ended slew rate,
which applies to each bus voltage individually and the differential signal slew rate, which applies to the differential
voltage between CANH and CANL. Fig. 5 gives typical single-ended slew rate values as a function of the slopecontrol resistance value (see equation (4)).
single ended
slew rate for
CANH,CANL 20
[V/µs]
15
10
5
10
50
100
140 Re x t
[kΩ]
Fig. 5 Diagram: Slew rate versus slope control resistance value
These values are derived using the typical slew rate value given in the data sheets [1] and [2]:
SR (CANH or CANL) = 7 V/µs typ.
at Rex t = 47 kΩ (connected between input Rs and 0 V, see Fig. 3)
In slope-control mode the Rs-voltage is VR s = 0.5 × VCC typ.
As
V Rs
I Rs = ----------- = k SE × SR
R ext
with kS E : single-ended slew rate constant
the slew rate constant (single-ended) can be calculated using above typical values.
0.5V CC
2.5V
– 3 µs
k SE = -------------------------- = ------------------------------- = 7.6 × 10 ------kΩ
R ext × SR
V
47kΩ × 7 -----µs
14
(3)
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
Application Note
AN96116
Normally for slope control mode the resistor Re x t is connected between the input Rs and and a logic LOW-level
(VO L ), provided either by a port output or a ground line. Thus the relation between the single-ended slew rate and
the resistance Rex t is given by the following equation:
V Rs – V OL
V Rs – V O L
SR = ---------------------------- = ------------------------------------------------------ .
k SE × R ext
– 3 µs
7.6 × 10 ------- × R ext
kΩ
(4)
Example 1:
With Re x t = 24 kΩ and VO L = 0V the single-ended slew rate typically would be
V Rs – V OL
0.5V CC
V
0.5 × 5V
SR = ---------------------------- = ------------------------------------------------------ = --------------------------------------------------------- = 14 -----µs
k SE × R ext
– 3 µs
– 3 µs
7.6 × 10 ------- × 24kΩ
7.6 × 10 ------- × R ext
kΩ
kΩ
Example 2:
To achieve a single-ended slew rate of 5 V/µs the typical slope-control resistance would be
V Rs – V O L
0.5V CC
0.5 × 5 V
R ext = --------------------------- = --------------------------------------------------- = ----------------------------------------------------- = 66 kΩ ===> Rex t = 68 kΩ
V
k SE × S R
– 3 µs
– 3 µs
7.6 × 10 ------- × 5 -----7.6 × 10 ------- × SR
kΩ
kΩ
µs
15
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
4.2
Application Note
AN96116
Bus Length in Slope Control Mode
In slope control mode the bus output slew rate is decreased intentionally, which implies an increase of the bus
node loop delay. Due to the CAN bit timing requirements, this is equivalent to a reduction of the maximum bus
line length at a given bit rate or reduction of the bit rate at a given bus length in a system compared to using the
high-speed mode.
The maximum achievable bus line length is given by (see also [4]):
t prop
------------ – t loop.eff – t loop.eff.oth
2
L max = -------------------------------------------------------------------------tp
With Lm a x
(5)
: Maximum achievable bus line length
tp r o p
: Maximum available two-way propagation delay (CAN bit timing)
tl o o p .e f f
: Effective transceiver loop delay
tl o o p .e f f. o th : Effective loop delay of other components e.g. CAN controller and optocouplers
tp
: Specific bus line delay
From equation (5) it is obvious, that the maximum bus line length will increase, if the transceiver loop delay is
decreased. The loop delay of a transceiver, which is set to the high-speed mode, is smaller than the loop delay of
a transceiver, which is set to the slope control mode. Thus a higher bus line length can be achieved, if the transceiver is used in the high-speed mode, as a greater portion of the available propagation delay can be used for tolerating line delay.
This increase is given by the following equation:
t loop.eff ( slope control mode ) – t loo p.e ff ( high speed mode )
∆t loop.eff
∆L max = ---------------------------------------------------------------------------------------------------------------------------------------------- = ----------------------tp
tp
(6)
In a CAN network the effective maximum delay of a transceiver (also valid for the delay of other devices) are calculated using the following equation
(See APPENDIX 1 for an explanation of used symbols and abbreviations):
t loop.eff.max = max {0.5 × ( t onRx D + t offRx D ), t onRxD}
(7)
Table 2 gives an indication of the difference between using high-speed mode and slope control mode - in terms
of maximum bus length. The values below refer to a specific propagation delay of tp = 5 ns/m on the bus cable.
Table 2 Difference of maximum bus length
Effective loop delay (upper limit at 125oC)
slope-control mode2
high-speed mode
∆ tlo o p .e f f
Difference between both
modes in terms of bus length1
∆ Lm a x
PCA82C250
520 ns
155 ns
365 ns
~ 75 m
PCA82C251
550 ns
155 ns
395 ns
~ 80 m
Product
1.
2.
At 5 ns/m specific propagation delay on the bus cable
Slope-control resistance Re x t = 47 kΩ
16
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
5.
Application Note
AN96116
MAXIMUM BUS LINE LENGTH
The maximum achievable bus line length in a CAN bus network is determined essentially by the following physical effects:
1.
The loop delays of the connected bus nodes (CAN controller, transceiver etc.) and the delay of the bus line
2.
The differences in bit time quantum length due to the relative oscillator tolerance between nodes
3.
The signal amplitude drop due to the series resistance of the bus cable and the input resistance of bus
nodes
The effect 3. is discussed below.
The effects 1. and 2. are not discussed in this document (please refer e.g. to [4]). However as a rule of thumb the
following bus line length can be achieved with the PCA82C250 and PCA82C251 in high-speed mode and with
CAN bit timing parameters being optimized for maximum propagation delay:
Table 3 Bit Rate / Bus Length Relation
5.1
Bit Rate (kbit/s)
Bus Length (m)
1000
30
500
100
250
250
125
500
62.5
1000
Impact of the Bus Cable Resistance
The ISO 11898 Standard [3] assumes the network wiring topology to be close to a single line structure in order to
minimize reflection effects on the bus line (Fig. 6).
At static conditions the differential input voltage at a bus node is determined by the current flowing through the
differential input resistance of that node. In case of a dominant bit the output transistors of the transmitting node
are switched on, causing a current flow, whereas the transistors are switched off for a recessive bit.
Thus the generated differential voltage at the input of a node (Vdi f f. i n ) depends on (see Fig. 7)
• The differential output voltage of the transmitting nodes (Vd i f f. o u t )
• The resistance of the bus cable (RW = ρ × L) with
ρ = specific resistance per length unit and
L = length of the bus line
• The differential input resistance of receiving nodes (Rd if f )
The worst case situation is given for one transmitting node at one end of the bus wire and a receiving node at the
other end.
For this case the differential input voltage at the receiving node is calculated using Fig. 7 (see APPENDIX 2).
V diff.out
V diff.in = -----------------------------------------------------------1 n–1
1 + 2R W ×  ------- + ------------ 
 R T R diff 
(8)
17
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
Application Note
AN96116
node
node
node
node
1
2
3
n
RT
RT
Fig. 6 Basic setup of a bus system (ISO 11898)
termination
output of
transmitting
node (#1)
CAN_H
bus wiring
RW
Rd i ff
(n-2)
Vd if f. o u t
RT
node inputs
(#2 to #n-1)
input of
receiving
node (#n)
Rd i ff
termination
Vd if f. i n
RT
CAN_L
RW
Fig. 7 Circuit diagram for the system setup of Fig. 6
A receiver recognizes a
recessive bit
if the differential input voltage is below a level of 0.5V or 0.4V (see [1] and [2])
dominant bit
if the differential input voltage is above a level of 0.9V or 1.0V (see [1] and [2])
The recessive level is generated by the bias network of the bus nodes and the termination resistors. The dominant level is determined by the drive capability of the transmitting node and the total network load resistance.
Thus for proper detection of a dominant bit, a differential input voltage at the receiving node is requested
(Vd i f f. in . re q ), which is given by the dominant threshold voltage of the receiver (V th ) and a user-defined safety
margin. This safety margin can be considered as a fraction (ks m ) of the difference between the output level at the
transmitting node and the receiver input threshold for detection of a dominant bit as shown in equation (9).
V diff.in.re q = V th + k sm × ( V diff.out – V th )
with k sm = 0....1
18
(9)
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
Application Note
AN96116
From equation (8) it is evident that the value of V d if f .i n for a dominant level is restricted by
• the minimum value of the differential output voltage for a dominant level (V d i ff . o ut . m in )
• the maximum value of the bus wire resistance (RW . m a x )
• the minimum value of the termination resistors (RT .m in )
• the minimum differential input resistance of the nodes (R di f f. m i n )
• the maximum number of connected bus nodes (nm a x ).
This leads to the following relation
V diff.out.m in
V diff.in.min = -------------------------------------------------------------------------------------------- ≥ V diff.in.req
n max – 1
1
1 + 2R W.m ax ×  ----------------- + ----------------------
 R T.min R diff.min 
(10)
Equations (10) and (9) are the basis for calculating the maximum bus line length (see APPENDIX 3) dependent
on
• the maximum number of nodes in a system (nm a x )
• the desired safety margin for detecting a dominant bit (ks m )
• the maximum specific resistance per length unit (cross section) of the used cable (ρm ax ).
R T.min × R diff.m in
V diff.out.min
1
L max ≤ ---------------------- ×  --------------------------------------------------------------------------------------------------------- – 1  × ------------------------------------------------------------------------------- R diff.min + ( nm ax – 1 ) × R T.min
2 × ρ max  V th.m ax + k sm × ( V diff.out.m in – V th.max )
(11)
Using this equation the maximum bus line length for different wire types and a different number of connected
nodes can be calculated. Some examples are given in Table 6.
5.2
Maximum Number of Nodes
The transceivers PCA82C250 and PCA82C251 provide an output drive capability down to a minimum load of
RL .m i n = 45 Ω. If the PCA82C250 is used, a supply voltage of VC C > 4.9 V is needed for driving a load of
RL = 45Ω (see Table 1). The number of nodes which can be connected to a network depends e.g. on the minimum load resistance a transceiver is able to drive. This maximum number of nodes can be calculated using the
circuit diagram of Fig. 7. For worst case consideration the bus line resistance RW is considered to be zero.
This leads to the following relations for calculating the maximum number of nodes:
R T.min × R diff.m in
----------------------------------------------------------------------------------- > R L.min
( nm ax – 1 ) × R T.min + 2R diff.min
===>
2
1
nm ax < 1 + R diff.min ×  ----------------- – ----------------- 
 R L.m in R T.min 
As the minimum differential input resistance of the PCA82C250/251 transceivers is Rd i ff .m i n = 20 kΩ, the following maximum number of bus nodes can be connected:
106 nodes
for RT = 118 Ω and RL = 45 Ω ; (VCC > 4.9V if 82C250 is used)
112 nodes
for RT = 120 Ω and RL = 45 Ω ; (VCC > 4.9V if 82C250 is used)
19
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
5.3
Application Note
AN96116
Examples
Table 4 provides a first indication on which kind of wire cross section should be considered for the signal pair of
the bus trunk cable.
Table 4 Minimum recommended bus wire cross-section for the trunk cable1
Bus Length / Number of Nodes
32
64
100
100 m
0.25 mm2 or AWG 24
0.25 mm2 or AWG 24
0.25 mm2 or AWG 24
250 m
0.34 mm2 or AWG 22
0.5 mm2 or AWG 20
0.5 mm2 or AWG 20
500 m
0.75 mm2 or AWG 18
0.75 mm2 or AWG 18
1.0 mm2 or AWG 18
1.
Assumptions for Table 4:
32 nodes : Rw < 21 Ω
64 nodes : Rw < 18.5 Ω
100 nodes: Rw < 16 Ω
For the drop cables a wire cross section of 0.25 to 0.34 mm 2 (or AWG 24, AWG 22) would be an appropriate
choice in many cases.
Based on the discussion in chapter 5.1 and chapter 5.2, the following examples list the maximum achievable bus
line length, calculated for bus cables being specified in the ISO 11898 standard [3] and in the Device Net TM specification [5]. The specific cable resistance for the cables used are given in Table 5.
Table 5 Specific resistance of different cables (1 km = 3280.84 ft., 1 ft. = 0.3048 m)
Specific cable resistance
Cable type
ρno m [ Ω/km]
ρm a x [ Ω/km]
ISO 11898 (automotive): 0.25 mm2 (or AWG23)
70
90 1
Device NetTM thin cable
69
92
Device NetTM thick cable
18
23
0.5 mm2 (or AWG20)
37
50 1
0.75 mm2 (or AWG18)
26
33 1
1.
Assumed value
With the known values for
the minimum dominant value
the minimum differential input resistance
the requested differential input voltage
the minimum termination resistance of
: Vd i ff . ou t .m in
: Rd i f f. m i n
: V t h .m a x
: RT . m i n
= 1.5 V
= 20 kΩ
= 0.9V or 1.0 V
= 118 Ω
see
see
see
see
[1] and [2]
[1] and [2]
[1] and [2]
[3]
the maximum wiring length is calculated for different bus cable types and a different number of connected bus
nodes using equation (11) on page 19. The result is listed in Table 6.
20
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
Application Note
AN96116
Table 6 Maximum bus cable length for different cables and number of nodes (n)
Lm ax (ks m = 0,2)1
Cable Type
Lm a x (ksm = 0,1)2
n = 32
n = 64
n = 100
n = 32
n = 64
n = 100
DeviceNetTM (thin cable)
and/or ISO 11898 cable
200 m
170 m
150 m
230 m
200 m
170 m
DeviceNetTM (thick cable)
800 m
690 m
600 m
940 m
810 m
700 m
0.5 mm2 (or AWG 20)
360 m
310 m
270 m
420 m
360 m
320 m
0.75 mm2 (or AWG 18)
550 m
470 m
410 m
640 m
550 m
480 m
1.
2.
Calculated with Vth . m a x = 1.0 V and a safety margin of ks m = 0.2
Calculated with Vth . m a x = 1.0 V and a safety margin of ks m = 0.1
Note: If driving more than 64 bus nodes and/or more than 250 m bus length the accuracy of the VCC supply voltage for the PCA82C251 is recommended to be 5% or better. The PCA82C250 needs a supply voltage of at least
4.75V when driving 50 Ω load, i.e. 64 bus nodes, and at least 4.9V when driving 45 Ω load, i.e. 100 bus nodes.
21
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
6.
Application Note
AN96116
BUS TERMINATION AND TOPOLOGY ASPECTS
Generally the CAN high-speed standard ISO 11898 provides a single line structure as network topology. The bus
line is terminated at both ends with a single termination resistor. However in practice some deviation from that
topology may be needed to accommodate appropriate drop cable length of e.g. a few meters. Also a modified
termination network may be desirable in some applications e.g. for EMC related considerations. In this chapter
some modified bus termination concepts as well as topology aspects shall be discussed.
6.1
Split Termination Concept
This is an option intended to provide enhanced EMC characteristics without changing the DC characteristics of
the terminated line. Basically each of the termination resistors is split into two resistors of equal value, i.e. two
resistors of 62 Ω instead of one resistor of 124 Ω (see Fig. 8). The special characteristic of this approach is, that
the so-called common-mode signal is available at the centre tap of the termination. As the common-mode signal
is simply a DC voltage in the ideal case, this centre tap can be grounded via a capacitor of e.g. 10 nF to 100 nF.
However it is obvious, that the capacitor should be connected to a “quiet” ground level. For example a separate
ground lead to the connector´s ground pin is recommended, if termination is placed inside of bus nodes.
CAN_H
RT/2
RT/2
Bus line
CG
RT/2
RT/2
CAN_L
AAAAAAAAAAAAA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
CG
RT/2 = 62 Ω
Fig. 8 Split termination concept
Basically there are two options with different advantages and disadvantages. The first option includes both termination resistors to be split and grounded. This is the preferred approach to optimize the characteristic in the
higher frequency range. However there is a chance that there are unwanted loop currents via ground potential,
as both termination resistors are grounded. In that case one may consider to ground only one of the termination
resistors. This can provide a better characteristic in the medium to low frequency range. As mentioned above, the
DC characteristics of the terminated bus line is not changed.
6.2
Multiple Termination Concept
This concept can be used in combination with the split termination concept above and targets at network topologies which differ from a single line structure.
In some applications a topology different from a single line structure is needed, e.g. a star topology with three
branches (see Fig. 9). To accommodate such a topology, the multiple termination concept may be considered.
Essentially this approach suggests, that the total termination resistance, i.e. 62 Ω, is being distributed over more
than two resistors. If for example a star topology is needed with three branches, then one may consider to terminate each branch with about three times the total termination resistance, i.e. 180 Ω. With this approach it is
essential that the total termination resistance (i.e. all termination resistors in parallel) does suit the transceiver´s
output drive capability. If one of the branches is optional, e.g. for temporary attachment of diagnostic equipment,
then the trunk line would be terminated via two resistors of 180 Ω and the optional branch would be terminated
via another termination resistor of 180 Ω. It is obvious that this concept implies some mismatch between charac22
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
Application Note
AN96116
teristic line impedance and termination resistance. However this is not considered to be critical, provided there is
a sufficient safety margin left with view to the CAN bit timing parameters.
As a rule of thumb the total bus length including all branches shall be less than the suitable bus length for the
single line structure in a given configuration. For example instead of a single line structure of 100 m length a
3-branch star topology may be considered with each branch being terminated with 180 Ω and a drop length of
less than 33 m each. The basic network is recommended to be terminated with at least 50% of the nominal
termination resistance i.e. when all optional parts are disconnected, the remaining “basic” termination resistance
is recommended to be less than 120 Ω (e.g. 2 x 180 Ω or 3 x 240 Ω, etc.).
CAN_H
RT
RT
CAN_L
RT = 180 Ω
RT
Fig. 9 Multiple termination concept (example)
6.3
Single Termination Concept
In some cases only a single termination resistor, e.g. 124 Ω or 62 Ω, is desired inside e.g. a master node. This is
suitable when the system configuration provides a considerable safety margin with view to the CAN bit timing
requirements. As a rule of thumb the total line length should be less than 50% of the length with the normal termination concept.
6.4
Termination Mismatch
This concept supposes an intentional mismatch between the termination resistance and the characteristic line
impedance, e.g. to decrease the required wire cross section, to increase fan-out or to reduce power consumption
in a given configuration.
Essentially this approach implies termination resistance values being higher than the characteristic cable impedance. Termination mismatch can be suitable when the system configuration provides a large safety margin with
view to the CAN bit timing requirements, i.e. the bit rate or bus length is considerably reduced compared to the
limit with the standard termination concept. This is needed due to the fact, that the bus line related delay will significantly increase when the termination resistance is increased. In any case the differential termination resistance is recommended to be less than 500 Ω, i.e. 2 x 1 kΩ should be considered as an upper limit independent of
the bit rate used. Note, that the value for the two-way bus line propagation delay is related to the bus time constant, i.e. the capacitance of the entire network times the effective discharge resistance (e.g. 60 Ω). Also one
needs to consider, that ground offset between the bus nodes increases the time needed to discharge the network
capacitance.
23
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
6.5
Application Note
AN96116
Unterminated Cable Drop Length
Initially the topology of a CAN bus system is considered to be close to a single line structure. However in a
number of cases some deviation from this topology may be needed, e.g. for temporary attachment of diagnostic
equipment to the bus line. Also bus nodes will often be connected to the bus line via an unterminated drop cable.
When unterminated drop cables are connected, some reflection effects will occur on the bus line. Reflection is
not necessarily a problem, as the network will provide some robustness thanks to e.g. receiver hysteresis and the
synchronization rules of the CAN protocol. Reflected waves are assumed to disappear once they arrive at one of
the bus line ends being terminated with the characteristic cable impedance. Essentially it depends on the bit timing parameters, the trunk cable length and the drop cable length whether reflections will be tolerated.
Basically it is advisable to specify an upper limit for the drop length and an upper limit for the so-called cumulative
drop length. The cumulative drop length is the sum of all drop cable length. As a rule of thumb, the following relation can be considered for the cable drop length:
t PRO PSEG
L u < --------------------------50 × t p
(12)
With tP RO P SE G being the length of the propagation segment of the bit period i.e. the length of time segment 1
(TSEG1) minus the length of the resynchronization jump width (SJW), tp being the specific line delay per length
unit (e.g. 5 ns/m) and Lu representing the length of the unterminated cable stub.
As to the cumulative drop length the following relation can be considered as a rule of thumb:
n
∑
t PROPSEG
L ui < --------------------------10 × t p
(13)
i=1
In addition to that, the actual propagation delay on the bus line should be calculated on the basis of the total line
length i.e. trunk cable plus all drop cable length. This effectively leads to a reduction of the maximum trunk cable
length by the sum of the actual cumulative drop cable length at a given bit rate. If the above recommendations
are met, then the probability of reflection problems is considered to be fairly low.
Example:
Bit Rate = 500 kbit/s , tPR O P SE G = 12 × 125 ns = 1500 ns , tp = 5 ns/m
t PRO PSEG
1500ns
L u < --------------------------- = ------------------------- = 6 m
50 × t p
ns
50 × 5 -----m
n
t PRO PSEG
=
∑ Lu i < --------------------------10 × t p
i=1
1500ns
------------------------- = 30 m
ns
10 × 5 -----m
As a rule of thumb an unterminated drop cable should be shorter than 6 m and the cumulative drop length should
be less than 30 m for a CAN propagation segment (PROP_SEG) length of 1500 ns.
24
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
7.
Application Note
AN96116
CONCLUSION
The PCA82C250 and PCA82C251 are advanced transceiver products being suitable for usage in automotive as
well as general industrial applications with bit rates up to 1 Mbit/s. They support a differential bus signal representation as described in the international standard for in-vehicle high-speed applications (ISO 11898) using the
Controller Area Network (CAN) protocol.
Enhanced electromagnetic compatibility (EMC) performance is provided through an extended common-mode
range of -7V to +12V and the slope-control function, where the slew rate of the bus signal can be adjusted via a
resistance value. For battery powered applications a stand-by mode is provided to drastically reduce power consumption of the network, e.g. when a vehicle is parked. In stand-by mode the network is being activated via the
bus lines upon detection of a message.
The PCA82C250 and PCA82C251 are proof against short-circuit conditions on the bus outputs and usual transients in an automotive environment (ISO 7637). Moreover a thermal shutdown function protects the devices
against thermal overload e.g. due to short-circuit conditions. Both products are designed for connection to the
protocol controller or bus line with a minimum number of external components.
Also both products are capable of driving a large number of bus nodes i.e. 64 to 100 per network, and bus length
of up to about 0.5 to 1 km, which is advantageous primarily in general industrial applications such as the CAN
based system DeviceNetTM.
The PCA82C250 and PCA82C251 are pin- and function compatible and operate in a wide supply voltage range
of 5 V ± 10%. For general industrial applications the PCA82C251 should be used because of e.g. its larger drive
capability and higher breakdown voltage protection at the bus outputs.
The advanced functionality being described above makes the PCA82C250 and PCA82C251 an attractive choice
in many automotive and general industrial applications.
8.
LIST OF REFERENCES
[1]
Data Sheet PCA82C250, Philips Semiconductors, September 1994
[2]
Data Sheet PCA82C251, Philips Semiconductors, October 1995
[3]
Road vehicles - Interchange of digital information - Controller area network (CAN) for high-speed communication, ISO 11898, International Standardization Organization, 1993
[4]
CAN Bit Timing, Application Note, Philips Semiconductors, 1996 (to be published)
[5]
DeviceNet Specification, Volume I, Release 1.3, Open DeviceNet Vendor Association Inc., December 1995
25
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
APPENDIX 1
Application Note
AN96116
ABBREVIATIONS AND DEFINITIONS
SR
single-ended slew rate of the signal transition at CANL and/or CANH
kSE
single-ended slew rate constant (in slope control mode the slew rate is proportional to the current out of pin Rs of the transceiver)
IRs ,
IRs . m i n , IR s. m a x
current (minimum, maximum) at pin Rs of the transceiver
VRs
typical voltage at pin Rs of the transceiver
Px ,y
digital output port pin of a controller IC for transceiver mode control
VO L ,
VO L . m a x
nominal (maximum) LOW-level output voltage of the controller output port
Re x t ,
Re x t .m i n , Re x t .m a x
nominal (minimum, maximum) value of the slope-control resistor at pin Rs
of the transceiver. This value determines the current and thus the slew rate
at CANL and CANH
VCC ,
VCC .m i n , VCC .m a x
nominal (minimum, maximum) value of the transceiver supply voltage
tlo o p .e f f , tlo o p . ef f .o t h
∆tl o op . e ff
effective transceiver (other components) loop delay
tpr o p
available two-way propagation delay (limited by CAN bit timing parameters)
tp
specific line delay per length unit (e.g. 5 ns/m)
ton R x D , to ff Rx D
loop delay of the transceiver between pin TxD (transmit data input) and
RxD (receive data output) at switching from recessive to dominant (dominant to recessive) state (see [1] and [2])
tPR O PS EG
length of the propagation segment of the bit period i.e. length of segment 1
(TSEG1) minus length of the resynchronization jump width (SJW)
Vd if f .i n , Vd i ff .i n .m in , Vd i ff .i n . re q
Vd if f .o u t , Vd i ff .o u t .m i n
nominal (minimum, requested) differential input voltage for reception
Vth ,
nominal (maximum) differential input threshold voltage for detection of a
dominant bus condition
Vt h. m a x
difference between the effective loop delay of the transceiver in slope control mode and in high-speed mode
nominal (minimum) differential output voltage at the transmitting node
a factor indicating the safety margin for the differential input voltage for
detecting a dominant bit at reception (0 < ks m < 1)
ks m
Rd i ff ,
Rd i ff . m in
nominal (minimum) differential input resistance of a bus node in recessive
state (TxD = HIGH)
n,
nm a x
number (maximum number) of bus nodes in the network
RT ,
RT . m in
nominal (minimum) value for the bus termination resistors
RW ,
RW . m a x
nominal (maximum) series resistance of the bus wires
L,
Lm a x
length (maximum length) of the bus wires between any two bus nodes
length of the unterminated cable stub.
Lu
ρ,
ρt y p , ρm ax
specific (typical, maximum) resistance per length unit of the bus wires
RL ,
RL . m in
total (minimum total) differential resistive bus load as seen by the transmitting node
26
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
APPENDIX 2
Application Note
AN96116
CALCULATION OF THE VOLTAGE AT THE INPUT OF A NODE
For the calculation of the worst case (i.e. minimum) differential input voltage at the receiving node the following
assumptions or simplifications are made (see also Fig. 7 and Fig. 10):
• The termination resistors (RT ) are located at the output of the transmitting and at the input of the receiving
node.
• The resistance of the lines between the transmitting and the receiving node is represented by the resistors
RW .
• All other nodes are at the same end of the transmission line as the receiving node resulting in the minimum differential input voltage.
• The output voltage of the transmitting node (V d i ff .o u t ) is supposed to be generated by a voltage source.
termination
output of
transmitting
node (1)
bus wiring
IW
RT
node inputs
(2...n-1)
input of
receiving
node (n)
termination
RW
Rd i ff
(n-2)
Vd i f f. o ut
Rd i ff
RT
Vd i f f. in
IT1
Ii n (n - 2)
Ii n
IT 2
RW
IW
Fig. 10 Circuit diagram used for the calculation of the differential input voltage at the receiver node.
Thus the relation between the achievable differential input voltage at the receiving node and the differential output voltage of the transmitting node is given by:
V diff.out = V diff.in + 2 × R W × I W
(14)
The current IW flowing through the bus lines splits up in Ii n (n - 2) (input current of the connected nodes without the
transmitting and receiving one), IT 2 (current flowing through the termination resistor) and Ii n (input current of the
receiving node) as shown in Fig. 10.
With
I W = I in ( n – 2 ) + I T2 + I in
R diff
V diff.in = I in ( n – 2 ) × -----------n–2
and
and V diff.in = I T2 × R T
and V diff.in = I in × R diff
the relation between Vd i ff .o u t and Vd i ff . in is calculated from equation (14)
27
Philips Semiconductors
PCA82C250 / 251 CAN Transceiver
Application Note
AN96116
n–1
1
V diff.out = V diff.in + 2 × R W × V diff.in ×  ------- + ------------ 
R
R 
T
(15)
diff
Equation (8) on page 17 is derived from equation (15).
APPENDIX 3
CALCULATION OF THE MAXIMUM BUS LINE LENGTH
Under worst case conditions the minimum differential input voltage of a dominant level at the receiving node must
be higher than the sum of the worst case switching threshold of the input transistor and a certain safety margin,
which is requested in the system. The requested input voltage was given by equation (9) on page 18. The worst
case value is given by
V diff.in.re q = V th .m ax + k sm × ( V diff.out.min – V th.ma x )
with k s m = 0....1 .
Thus the relation (10) on page 19 is changed to
V diff.o ut.m in
V diff.in.min = -------------------------------------------------------------------------------------------- ≥ V th.max + k s m × ( V diff.out.min – V th .m ax )
nm ax – 1
1
1 + 2R W.max ×  ----------------- + ---------------------- 
 R T.m in R diff.min 
.
With the definition
R W.max = ρ max × Lm ax
the maximum wiring length is determined using equation (16):
R T.min × R diff.m in
V diff.out.min
1
L max ≤ ---------------------- ×  --------------------------------------------------------------------------------------------------------- – 1  × -------------------------------------------------------------------------

2 × ρ m ax
R diff.m in + ( n max – 1 )R T.m in
V th.max + k sm × ( V d iff.out.min – V th.max )
28
(16)