Latest from Analog

ID 217230663 © Christian Offenberg - Dreamstime.com | electronica.de
promo_messe_munich__id_217230663__christian_offenb
ID 312689142 © Chechotkin | Dreamstime.com
LiDAR in autonomous driving
ID 39977536 © Pino Carboni | Dreamstime.com
Transformers on a PCB
ID 326211957 © Kwangmoo | Dreamstime.com
Security IP CCTV camera using solar energy
Dreamstime_svetlanadiacenco_325233820 and LEM
dreamstime_svetlanadiacenco_325233820_promo
ID 22286147 © Piotr Adamowicz | Dreamstime.com
syntaxerror_dreamstime_l_22286147
Www Electronicdesign Com Sites Electronicdesign com Files Ifd2660 Fig1

Microcontroller Efficiently Converts Sensor Voltage to Current (.PDF Download)

Oct. 18, 2017
Microcontroller Efficiently Converts Sensor Voltage to Current (.PDF Download)

When taking measurements from analog sensors located at long distances, voltage drops and noise can affect precision of the readings. Therefore, a voltage-to-current (V/I) module is needed to transmit a current in order to obtain accurate readings. The reason is well-known: According to Kirchhoff’s current law (KCL), the sum of currents entering a node must be equal to the current leaving that node; thus, the sensor’s cable length is irrelevant when transmitting current and further, the low impedance of a current loop minimizes noise pickup in contrast to a voltage signal.

1. This circuit, based on a PIC microcontroller with a few added components, converts a sensor-based voltage into a 4- to 20-mA current loop. Shown is the circuit as originally drawn on a whiteboard.

The circuit in Figure 1 will deliver an output current from 4 to 20 mA for an input voltage (Vin) from 0 to 5 V.  PNP transistor Q1 (2N2907) is configured as a constant-current source;  its emitter current and resistor value (Re) are defined by the equation:

where Vcc = 5 V, and Vbe = 0.7 V.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!