Automotive link uses single wire
Anthony Smith, Scitech, Biddenham, Bedfordshire, UK -- 4/3/2003
In the automotive industry, in which the goal is to produce cars with simpler, lighter wiring looms, any interface that uses just one wire instead of two offers a distinct advantage. The circuit in Figure 1 implements a bidirectional link using a single wire, with the car's chassis or ground conductor providing a negative return path. The microcontroller communicates with the driver of the car by illuminating LED1. The driver communicates by operating switch S1. Detecting the switch closure requires no current sensing: The circuit simply exploits the fact that the forward voltage drop of a properly biased LED is usually two or three times the VBE of a bipolar transistor. Q1, LED2, and Q2 form a semiprecision current source. Q3 in the receiver path detects the switch closure. When the microcontroller's TX pin goes high, Q2 illuminates LED2 and biases Q1 on. Q1 sources a constant current to LED1 via R2 and D1.
LED2 constitutes an inexpensive but effective voltage reference, which imposes a constant voltage across current-setting resistor R1. Provided that you choose R3's value to suit Q2's base drive, you can set the current in LED2 and the voltage across it to fairly precise and constant values. For example, with R3=430Ω, the current in LED2 is approximately 10 mA with 5V at Q2's base (TX high). If you use a device such as the HLMP-1000 for LED2, its forward voltage remains constant at approximately 1.6V, putting approximately 0.9V across R1. The resulting 20 mA or so flowing in Q1 provides adequate brightness for LED1 and remains acceptably constant with changes in VB or temperature.
With S1 open, R6 biases Q3 on, pulling the receiver pin, RX, low. RX remains low, regardless of whether LED1 is on. When the switch closes, the values for R4 and R6 ensure that Q3's base pulls down to approximately 150 mV (with VS=5V), thereby turning off Q3 and allowing RX to go high. As long as the switch remains closed, RX stays high, whatever the state of the TX pin. Powering the current source directly from the car's battery voltage, VB, rather than from the microcontroller's supply, not only relieves the burden on the low-voltage regulator, but also ensures that LED1 receives proper bias, even with a very low value for VS. Thus, provided that R3, R4, and R6 have appropriate values, the circuit functions with VS as low as 3V or even lower. A further advantage is that you can replace LED1 with several LEDs connected in series. With VB=12V, the current source has adequate compliance to drive four or five LEDs.
Is this the best Design Idea in this issue? Select at www.edn.com.
© 2009, Reed Business Information, a division of Reed Elsevier Inc. All Rights Reserved.

