RS485 termination resistor  - Page 1
Forum section: electronics / projects

author: hamdi.tn
author_rank: Frequent Contributor
timestamp: May 29, 2016, 06:54:54 pm
content: Hi,Am starting a project where i aim to connect 100 unit with an RS485 bus, and the length of this bus could be around 1KM, and i was reading this document about RS485 from TIhttp://www.ti.com/lit/an/slla272b/slla272b.pdfAnd looking at Bus loading (Page 4) they saidQuotei don't get how they calculated that !! any help please.

author: Yansi
author_rank: Super Contributor
timestamp: May 29, 2016, 07:17:39 pm
content: Capacitance is the main issue.I would highly recommend to split the cable run to 100m (maximum) sections and use sort of signal repeaters.Termination resistors have to be used on both ends (of each cable section) and the stub length have to be minimized.What baud rate are we talking about?And by the way, the appnote talks about the bus load units and how the max number of stubs can be calculated.

author: NW27
author_rank: Regular Contributor
timestamp: May 29, 2016, 07:22:52 pm
content: Using their figures, a standard input presents a 12k input impedance.12k / 20 = 600. 600 is approximately the value of the Rb + (Rt/2) = (532+60) = 592.

author: hamdi.tn
author_rank: Frequent Contributor
timestamp: May 29, 2016, 07:38:52 pm
content: Quote from: Yansi on May 29, 2016, 07:17:39 pmfor all those problem i will keep the baud rate to minimum, the amount of data to be transferred is not huge and timing is nor critical either so the lowest practical baud will be used.And i will design a repeater too, to solve any problem on the field.yeah i saw how max number of unit is calculated , it's just the detail that those termination resistors are equivalent to 20UL that i don't understand

author: hamdi.tn
author_rank: Frequent Contributor
timestamp: May 29, 2016, 07:54:25 pm
content: Quote from: NW27 on May 29, 2016, 07:22:52 pmyeah that's it !

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: May 29, 2016, 08:27:15 pm
content: Quote from: Yansi on May 29, 2016, 07:17:39 pmCable resistance is also a significant limiting factor, so for long runs, cable selection is important, i.e. not CAT5!

author: nctnico
author_rank: Super Contributor
timestamp: May 29, 2016, 08:57:18 pm
content: Still you'll find it will be surprisingly difficult to find cable which has a low capacitance! At long distances it is necessary to use cable (or coax) with a well defined impedance (usually 100 Ohms) and terminate it properly so it at least looks like a resistive load to the driver. Nevertheless ane (copper) cable will have a significant attenuation (increasing with frequency) due to the resistance of copper and the capacitance. At 1km I think shielded twisted pair is about the best you can do before going to optical fiber.

author: ebclr
author_rank: Super Contributor
timestamp: May 29, 2016, 09:16:21 pm
content: The speed of the communication is a crucial point, if you plan to do at very low speeds even nothing will work, but take a note that if you plan to have 100 units on the same line will not be a easy task to do without using repeaters.No general answer is possible, you need to know the exactly cable characteristic, a practical "way " is to put a trimpot near 500R and with a scope adjust to have a best "square wave" on full speed.

author: hamdi.tn
author_rank: Frequent Contributor
timestamp: May 29, 2016, 09:56:57 pm
content: Quote from: nctnico on May 29, 2016, 08:57:18 pmThat's the plan , to use shielded twisted pair.also what am planning to do is to use the units boards to link between those twisted pairs, each board will have two RJ45 connector that will link the previous unit to the next unit. am sure the pcb itself will only make it worst.Quote from: ebclr on May 29, 2016, 09:16:21 pmthe most annoying thing for me is that even if this work in the lab , there is 1000 reasons not to work when they install the units. So yeah am not eliminating the need for repeaters.it's the first time i have to use rs485 bus on such scale, so every datasheet and app note are a bit confusing about the limit of the system and the number of parameters involved. yeah this will not be easy.

author: ebclr
author_rank: Super Contributor
timestamp: May 29, 2016, 10:36:22 pm
content: Don't forget a Hugh lightning protection

author: hamdi.tn
author_rank: Frequent Contributor
timestamp: May 30, 2016, 02:23:12 pm
content: Quote from: mikeselectricstuff on May 29, 2016, 08:27:15 pmwe will use CAT6

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: May 30, 2016, 04:19:30 pm
content: Quote from: hamdi.tn on May 30, 2016, 02:23:12 pmFor 1km you'll need something more like 22AWG. The DC resistance of cat6 may be too high for reliable operation at any baudrate