I'm designing a very long transmission line between a master node a some slaves far away connected by a bus where only 3 wires are used: - A DC power supply (24vdc) - B Digital comm - C Ground
As there is only a communication wire, half-duplex is mandatory, so all slaves only answer when master asks them. The distance between nodes may by up to 100 m (110 yd), and up to 20 nodes may be installed. May be 2 Km long!!
By other designing reason, a relay may isolate the communication line from the rest of the slaves, they get inaccessible, this is ok. And the voltage on this line may be 5v or 10v depending on other conditions.
As I'm afraid of typical transmission problems (reflections, impedance-mismatch, etc) I have chosen a speed of 1200 baud.
My question is how may I estimate the impedance questions, how to overcome impedance variation. Is that speed low enough? Can be higher? Is this a realistic circuit?
This is the basic circuitry: And in the master and slave nodes, this is the communication diagram:
The X2 component is a microcontroller with the asynchronous terminals connected. It writes '0' when Q1 is on, otherwise a '1' is transmitted. The U1 comparator adapts the slightly high voltages to TTL levels. May be the plus-minus connection is reversed, doesn't matter at this design stage.
Resistors R3 and R4 (10k) have the function of polarize the diodes D1 and D2.
Please give me some light of how to save time of frustrating real tests. May be R3 and R4 have to be lower... But please take into account that Vb must be almost '0' when Q1 is activated. Current carried on line B is very low (as the 250 ohm resistors limit it), a low voltage drop is expected.