Resistors R1 and R2 bias the line to a logic 1 if no driver is active, and R3 and
Figure 7-11: This RS-485 interface has open-circuit and fail-safe biasing.
Designing RS-485 Links and Networks
131
R4 protect the receiver and ensure that the input remains biased even if the
wires short together. In a network, only the two end nodes have termination
resistor R5, but each node has its own set of resistors R1??“R4.
This termination reduces the noise margin because R3 and R4 each drop a few
tenths of a volt. If the network has fewer than 32 unit loads, you can increase
the noise margin slightly by reducing the values of R1??“R4. Multiply each value
by half the total number of unit loads in the network. To calculate the resistor
values in ohms, use:
R1 = NumberOfUnitLoads * 1100
R2 = R1
R3 = NumberOfUnitLoads * 55
R4 = R3
For example, with just two unit-load nodes, R1 and R2 would be 2.2k and R3
and R4 would be 110 ?„¦.
& 5 +
On some half-duplex lines, including those with one control signal for the
driver and receiver enable, the receiver is disabled at times, causing the receiver??™s
TTL output to be undefined. To ensure that the output remains high, add a
10k pull-up resistor from the output to +5V. You don??™t need the pull up if the
output connects to a microcontroller pin with an internal pull up or if the
receiver drives an input to a MAX232 or other RS-232 interface chip with
internal pull ups.
Pages:
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167