• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Amplifiers » /etc... Amplifiers & Other Linear » /etc... Amplifiers & Other Linear Forum » 4-20mA simulation circuit for PLC
Share
/etc... Amplifiers & Other Linear
  • Forum
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS

4-20mA simulation circuit for PLC

4-20mA simulation circuit for PLC

This question is answered
harshal patwardhan
Posted by harshal patwardhan
on May 09 2012 04:54 AM
Prodigy20 points

Hi,

I am looking for a simple circuit to simulate sensor inputs to PLC. Sensors take 12VDC and outputs 4-20mA. I was looking at your XTR series devices which seems to be able to achieve this but I am not sure which one will be ok to use for 12VDC voltage. Also, it would be good to have the range of output from 0 to 24mA rather than 4-20mA so that we can test the PLC input for error inputs as well.

I am electrical engineer with very minimal electronics knowledge so was wondering if someone could help.

I have attached a simple representation of my circuit.



4-20mA simulator
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Avi Chami1
    Posted by Avi Chami1
    on May 09 2012 06:44 AM
    Verified Answer
    Verified by Collin Wells
    Mastermind7405 points

    There is a product folder for 4-20mA transmitters and receivers at

    http://focus.ti.com/paramsearch/docs/parametricsearch.tsp?family=analog&familyId=508&uiTemplateId=NODE_STRY_PGE_T

    In particular, the XTR117 could be of interest for you, it includes its own linear regulator, and the input current could be generated using the Regulated 5V output in series with a potentiomenter to control the current output value.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Collin Wells
    Posted by Collin Wells
    on May 09 2012 10:16 AM
    Genius15530 points

    Hello,

    Thanks for the help Albert!  You're correct that the XTR117 is likely the best candidate for this type of simple circuit to simulate a 2-wire current loop transmitter. 

    I would suggest a circuit such as the one shown in Figure 1 in the datasheet that I've pasted below. 

    Best Regards,
    Collin Wells
    Precision Linear Applications

    Regards,
    Collin Wells
    Precision Linear Applications

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • harshal patwardhan
    Posted by harshal patwardhan
    on May 09 2012 16:57 PM
    Prodigy20 points

    Hi Collin,

     

    I have seen couple of answers given previously with circuit diagram and components to suit the requirement. Is it possible to get a schematic and calculations? If not I have a circuit calculation for XTR116 which was previously posted so I can work with it. I found a  XTR116 in lab at my work but XTR117 is not available so I will have to buy it. For my application, if I use XTR116 rather than XTR117 then do I miss out on anything? do I need to keep anything else in mind when using XTR116 instead of your suggested XTR117? I have attached files that I found from one of the other questions on ti.com

    1374.XTR116 R-to-I_calculations.zip

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Collin Wells
    Posted by Collin Wells
    on May 10 2012 12:53 PM
    Genius15530 points

    Hello,

    The XTR116 actually has more features than the XTR117, not less.  The XTR116 includes everything that the XTR117 includes with the addition of a more precise reference voltage of 4.096V. The XTR115 is a similar product with a 2.5V precision reference. 

    Both the XTR117 and XTR116 are fairly easy products to use and full applications diagrams are included in the datasheet.  Figure 1 describes a standard application with a 4-20mA output from a 0.8V to 4V input voltage.  Figure 2 shows how to configure the output for 4-20mA with a 0V minimum input by adding an offset current through the voltage reference.

    Another option to help you understand this circuit better is to download TINA-TI, Texas Instrument's free SPICE simulator at the following link:

    http://www.ti.com/tool/tina-ti

    I have attached a basic SPICE model for the XTR117 that provides a good representation of the basic functional behavior.  When you open the file it is configured for a 4-20mA output with a 0-5V input. 

    0876.XTR117.TSC

    Regards,
    Collin Wells
    Precision Linear Applications 

    Regards,
    Collin Wells
    Precision Linear Applications

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use