Help with 4-20mA System XTR116: AD623 Offset Issue at 0mV Input

kemaltekbas

New Member
Hi all,
I’m new to circuit design and working on a 4-20mA 2-wire loop-powered system to convert a 0-50mV sensor output using the XTR116 (simulated based on the datasheet since I couldn’t find a library). I’m stuck on a couple of issues and need help:

  1. My sensor has a common mode voltage (50% of input). I added a voltage source at the AD623 input to simulate this. For 1-50mV inputs, I get 4.32-20mA output, which is great. But the AD623 output has an offset from the REF pin (tied to my simulated IRET). Oddly, the current through my 25kΩ resistors is always correct (e.g., 160µA at 50mV). Why is this happening?

  1. At 0mV input, the AD623 output doesn’t go to 0V due to the REF pin offset, so I get 7mA instead of 4mA. How can I fix this to ensure 0mV gives 4mA?

Thanks for any help!
 

Attachments

  • AD6235V_50mV_20mA.jpg
    279 KB · Views: 33
  • AD6235V_1mV_4.32mA.jpg
    222.9 KB · Views: 27
In my project, I’m designing a pressure transmitter, and I need the 0-50mV differential sensor output to map precisely to a 4-20mA current output for PLC. This is critical because any deviation could result in a loss of pressure measurement accuracy, which would affect the system’s performance. I understand that rail-to-rail isn’t exactly 0V but rather "nearish" to the rails, as you mentioned. However, I’m concerned that even a small offset might cause significant errors in my application. Is there an alternative way to design this circuit to ensure the 0-50mV input maps exactly to 4-20mA, without losing precision? I’d really appreciate any suggestions!
 
Something to try:
Add a diode (e.g. 1N4148) from the Ref pin to the negative rail to raise the IRET/U1Ref voltage for Ref and the op amp (-) input about 0.7V above the negative rail.
Add a 10KΩ resistor from the positive rail to the Ref voltage to provide bias current.
 
I use the XTR115, and the IRET is 0v referenced to the 2.5v output I run a precision op amp at 2.5 v.

I dont think your XTR116 is quite right.. the output stage on a real device has a darlington set up.

Without a "true" XTR116 part, your pretty much guessing.
 
To improve my simulation and better understand the circuit’s logic before testing it in real life, is there a way to find a true SPICE model for the XTR116? Alternatively, do you have any suggestions on how I can simulate the XTR116 more accurately, especially considering the Darlington output stage? I’d really like to ensure my simulation aligns with the real device’s behavior as much as possible.
Thanks again for your help!
 
Got this from ChatGPT :

Texas Instruments does not offer an official SPICE model for the XTR116 4–20 mA current loop transmitter. However, a functional behavioral model is available within the TINA-TI simulation software. This model is designed to emulate the device's general behavior rather than provide a detailed transistor-level simulation.


Accessing the TINA-TI Model​


You can find the XTR116 example circuit in the TINA-TI software under the "4–20 mA Loop Analyzer" example. Please note that this example contains a known issue where the amplifier is incorrectly oriented. To correct this:


  1. Right-click on the amplifier component in the schematic.
  2. Select "Mirror" to flip the component.
  3. Rotate the amplifier to the correct orientation.
  4. Paste it back into the circuit.

After making these adjustments, the simulation should more accurately reflect the expected behavior of the XTR116. citeturn0search0


Alternative Simulation Options​


If you're seeking a more detailed simulation, you might consider using PSpice for TI, which offers a comprehensive simulation environment with an extensive model library. While the XTR116 may not have a dedicated model, you can explore similar devices or create a custom behavioral model to suit your simulation needs. citeturn0search4


If you need assistance with setting up the simulation or have further questions about modeling the XTR116, feel free to ask!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…