Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem with using XTR117

Other Parts Discussed in Thread: XTR117, XTR111, XTR110, XTR105, XTR112, XTR106, XTR300, OPA188, OPA333

Hello,

I'm trying to incorporate a 4-20 mA transmitter and receiver in my PCB design.  The transmitter will be controlled with a 0-3V analog output from a cortex-m3 microcontroller.  The current receiver value will be read with a 0-3V analog input pin.

Starting with the transmitter, I am using an XTR117.  I attached the schematic I'm using for reference.  I've tried 2 configurations.

1) The first configuration is based on the datasheet: http://www.ti.com/lit/ds/symlink/xtr117.pdf

2) The second configuration is based on the schematic posted here: http://e2e.ti.com/support/amplifiers/etc_amplifiers__other_linear/f/18/t/223866.aspx

I am using the TIP41C transistor: http://www.drixsemi.com/TIP41C.PDF

I am getting 0 current reading for both configurations and I also see a 0.28 V reading at Vreg, referenced to Iret.

It's possible that either the XTR117 or the TIP41C is bad, but I figured I should make sure the circuit connections I'm using is correct.

Thanks,

Anna

1882.XTR117 inquiry.pdf

  • Hello Anna,

    First, the transistor is connected backwards in the schematic.  Please reverse the collector and emitter connections and see if things behave better. 

    Second, are you sure you want a 2-wire transmitter?  It sounds like this is a 3-wire system which could explain your issues.  Since the schematic is pretty bare-bones I can't tell where you connected the instruments to their respective GND potentials.  Is the 0-3V input to the XTR isolated from the 0-12V supply?  If it is not, then this design will not function.  You will find many references in the forum of us correcting improperly used 2-wire transmitters and replacing them with 3-wire devices.  

    Please consider a 3-wire locally powered 4-20mA transmitter such as the XTR111 or XTR110 and see if it works better in your system.

  • Hello Collin,

    Thanks for the fast response.

    I drew the transistor symbol incorrectly, and the arrow should be pointing from the base to the emitter and not from the emitter into the base.

    I made sure that the negative terminal of the 0-3V is not connected to the negative terminal of the 12V supply.

    Can you clarify the difference between a 2-wire vs 3-wire?  We had assumed that we want a 2-wire system because we want to make our transmitter versatile such that it could be connected to a receiver that already had loop power or if the receiver does not have loop power, we could connect our on-board supply.

    Thanks for your help,

    Anna

  • Hi Anna,

    As mentioned before there are already many posts dedicated to the subject of 2-wire vs. 3-wire operation, please give them a read.  In short, a 2-wire transmitter has two-terminals, V+ and IOUT, and is typically remotely located (up to distances > 5miles), powered by the loop, and must consume less than 4-mA to operate correctly.   All 2-wire transmitters sink current.  Look at the XTR105, XTR106, XTR112, XTR114, and XTR115- XTR117.  

    A 3-wire transmitter is typically local and is powered from a local supply and GND and creates an output between IOUT and GND used to interface with remote instruments.  All 3-wire transmitters (except bi-directional ones) are current sources.  Look at the XTR110, XTR111, and XTR300.

    If you want your design to be either a 2-wire or 3-wire transmitter it may not be possible with our dedicated 4-20mA ICs.  Would you please draw a full block diagram or share a full schematic?   This will be the easiest way for me to prescribe what type of system is likely best for you.   

  • Hi Collin,

    After examining my schematic more, I think that I probably have to use a 3-wire device, since the DAC ground is a common ground for the whole board and from what I understand, the Iret (pin 3 of XTR117) should not be connected to a common ground to other devices.  Is this correct?  Please take a look at the schematic of my transmitter for reference:

    4544.DOC050613.pdf

    This transmitter needs to be able to interface to various types of 4-20mA current receivers.  The current receiver is a black box to me.  I only know whether it contains loop supply or not.  I was hoping that I could design the current transmitter such that I can manually add a shunt to an on-board 12 V supply if necessary.

    If I were to use the XTR111, would it still be able to interface to receivers that already have loop power?

    Thanks,

    Anna

  • Hi Anna,

    Where is the MCU/processor that controls the DAC?  

    You are correct that if you're going to drive the input of the XTR with a DAC then the DAC needs to be powered between VREG and IRET.  In this configuration IRET cannot be connected to any other potential in the system (loop-supply, GND) or the device will not function correctly.

    I've worked through several 4-20 mA systems and I haven't seen one like yours that may or may not be powered locally, something seems strange about the way you've connected things and I really wanted to see a full schematic showing what you're using to communicate to the DAC with and how your powering everything.  Is this system supposed to be a "Remote 4-20mA Transmitter"?  If so, the industry standard is that a loop-supply will be provided, that's how a 2-wire system works.  

    How much current do the devices that control the DAC consume?  At a minimum this would be the controller and DAC or digital isolator and DAC.

    If you use an XTR111 which would be a locally powered 3-wire transmitter then it can not be configured to operate as a remote 2-wire transmitter.  

  • I am using the AnalogOut pin on mbed with Cortex-M3 to control the input to the current transmitter.  There is an embedded system running Linux that is connected via internet to our server.

    http://mbed.org/handbook/mbed-NXP-LPC1768

    I will have external power to the board with a power block that supplies 12 V, up to 1.5A.  The AnalogOut pin can only source 4 mA of current.

    So the industry standard is for the loop supply to be with the transmitter?  It seems that I should go with a 3-wire transmitter then.  This module that I'm working on is meant to be a portable unit that can be connected to either a 4-20 mA transmitter or a 4-20 mA receiver out in the field, for the purpose of monitoring power use.  It can then sense the 4-20 mA signal or send out a 4-20 mA control signal.

    I am not familiar with 4-20 mA systems so thank you for your patience to work with me towards a working solution.  I also appreciate learning from your expertise with 4-20 mA systems.  I am certainly open to better suggestions for both the transmitter and receiver.  I had intended to use a TI-INA170 current monitor followed by a voltage buffer as the current receiver but that doesn't seem to be working either.  Do you have a suggestion for a better circuit in the context of my application?

  • Hello,

    Just so we're clear, here's a simplified picture showing the difference between a 2-wire and 3-wire transmitter.

    I don't want to call it a "standard" but in general a system that is local to the main power and control and receives a 4-20mA input signal will provide power (loop-supply) to the remote 2-wire transmitters that supply it with information.  Remote equipment that accepts 4-20mA inputs are controlled by 3-wire transmitters that are local to the main power.

    So to break it down, there are three basic types:

    4-20mA Reciever:
    -Accepts both 2-wire and 3-wire inputs
    -Provides loop-supply to remote 2-wire transmitters 

    3-wire 4-20mA Transmitter:
    -Accepts power and GND from a local supply
    -Sources an output current between 4-20mA

    2-wire 4-20mA Transmitter:
    -Accepts loop-supply from 4-20mA receiver
    -Sinks a return current between 4-20mA

    I think I understand your system better now.  Since you have a local supply you should use a 3-wire transmitter to create your 4-20mA outputs.  I would recommend the XTR111 for current outputs and the XTR300 if your system could also benefit from sinking current (+/- 20mA outputs) or creating voltage outputs (+/-10V, 0-10V, 0-5V,etc.).

    I would not recommend a current-shunt monitor for a 4-20mA receiver.  The input bias current on these devices is typically very high, a by-product of the architectures used to create the wide common-mode ranges, which overwhelms the system error.  I would instead recommend an OPA333 or OPA188 configured for a low-side current sensing measurement.  These are zero-drift devices and are very accurate, if you use precision resistor and good ADC you will create a very accurate system.  An example of this is shown here:

    http://e2e.ti.com/support/amplifiers/precision_amplifiers/f/14/t/242351.aspx

    The shunt resistor and gain were based on that customer requirement which could be changed based on your desires.  

    I hope this helps! 

  • Thanks, Collin.  I'll try these out.

    Cheers,

    Anna