+ Reply to Thread
Page 1 of 2
1 2 Last
Results 1 to 15 of 19

Thread: 0-10V, 4-20mA conversion to 0-5V

  1. #1
    leonel Newbie
    Join Date
    Feb 2005
    Location
    Portugal
    Posts
    118

    Default 0-10V, 4-20mA conversion to 0-5V

    Hi...
    I'm building an electronic project that has to control 4 relays.
    I've one input sensor that could be 0-5V, 0-10V or 4-20mA selected with jumpers. My input microcontroller only accept 5V. What i have to do to the others inputs to have accurate results? If i use a voltage divider to the input 0-10V iīll have unprecision results due to error associated to resistances. In my input 4-20mA how i turn in an accurate signal 0-5V?
    There are any IC that does that?
    Regards


  2. #2
    checkmate Newbie
    Join Date
    Aug 2003
    Posts
    402

    Default

    Resistors comes in precisions of 5%, 1% ir even lower. I don't think resistors are your problem, more like output impedance.
    Anyway, what you need is an opamp in non-inverting configuration with gain of 0.5.

  3. #3
    Sebi Newbie
    Join Date
    Jan 2003
    Location
    Hungary
    Posts
    1,717

    Default

    If i understand right, You have 3 outputs from sensor. Why not connect the 0-5V output directly to microcontroller? I mean, the 0-5V is a basic output and the other two contains additional circuits (opamp for 0-5V to 0-10V and 0-10V to 4-20mA). Using the 4-20mA output only reasonable when the distance between devices too long.
    So the most precise output is 0-5V.

  4. #4
    leonel Newbie
    Join Date
    Feb 2005
    Location
    Portugal
    Posts
    118

    Default inputs

    Sebi, my problem itīs not choose what input shoul i use... My problem itīs that my circuit has to be prepared to the 3 inputs, that are choosen by jumpers.
    I agree with the ideia to use the non-inverting amplifier with a 0.5 gain to the 0-10V input.
    But to 4-20mA what configuration shoud i use?

  5. #5
    Sebi Newbie
    Join Date
    Jan 2003
    Location
    Hungary
    Posts
    1,717

    Default

    Analog Devices made a precise transmitter. The receiver is simple.
    Attached Images
    Attached Files

  6. #6
    leonel Newbie
    Join Date
    Feb 2005
    Location
    Portugal
    Posts
    118

    Default

    What do you think it's best... A simple opamp with a 250 ohm resistor or the upper one?

  7. #7
    instruite Newbie
    Join Date
    May 2005
    Location
    India/Japan
    Posts
    246

    Default

    Hi
    first of all the 4-20mA should not be converter to 0-5V
    using 4mA as base point is with a reason so it should be always converted to 1V-5V
    depending on the accuracy requirement you can use a precision resistor of 250 ohm (actually no opamp is required just a current limiting series resistor for AD input will work) but if you can use an opam as buffer it will be good (just it will add some errors so accuracy will reduce a bit depending on what component you use

    for 0-10V you can use a precision voltage divider

    Just note that even if you use a precision OPAMP the best available its will still have offset voltage and bias current errors
    Instruite
    http://www.icesociety.org
    =====================
    Ideas that work,
    Concepts that sell.
    =====================

  8. #8
    leonel Newbie
    Join Date
    Feb 2005
    Location
    Portugal
    Posts
    118

    Default

    Hi...
    I build one board with a 0-5V and a 0-10V. The 0-5V works very well with my micro, but i did a voltage divider with R=150ohm (1%) and i don't have my voltage output right. For example if my input is 5V, my output itīs supposed to be 2.5V, but i have 2.2V. It's impedance problems? If i put an opamp with a gain i will not have problems with my output impedance?

  9. #9
    checkmate Newbie
    Join Date
    Aug 2003
    Posts
    402

    Default

    The problem is with input impedance rather than output impedance. You can use an opamp voltage follower, or a half-gain non-inverting opamp.

  10. #10
    instruite Newbie
    Join Date
    May 2005
    Location
    India/Japan
    Posts
    246

    Default

    leonel wrote:
    I build one board with a 0-5V and a 0-10V. The 0-5V works very well with my micro, but i did a voltage divider with R=150ohm (1%) and i don't have my voltage output right. For example if my input is 5V, my output itīs supposed to be 2.5V, but i have 2.2V. It's impedance problems? If i put an opamp with a gain i will not have problems with my output impedance?
    150 ohm is too small a value to use for voltage division
    You should use a bigger resistor the maximum resistance value will be decided for current requirement for the analog input of the microcontroller.
    Instruite
    http://www.icesociety.org
    =====================
    Ideas that work,
    Concepts that sell.
    =====================

  11. #11
    leonel Newbie
    Join Date
    Feb 2005
    Location
    Portugal
    Posts
    118

    Default

    Initially i had a 510ohm resistor but the difference was bigger... i will try with opamps to see the result!

  12. #12
    Thunderchild Good Thunderchild Good Thunderchild Good Thunderchild Good
    Join Date
    Jul 2005
    Location
    UK
    Posts
    2,014

    Default

    Quote Originally Posted by checkmate
    Anyway, what you need is an opamp in non-inverting configuration with gain of 0.5.
    u better go check out your op-amp theory. a non inverting op amp has to have a minimum gain of 1 to obtain 0.5 gain and no inversion a ptential devider on the input must cut the signal in half !
    I AM the exeption that disproves the rule in many ways but the rules still apply (unfortunately)

    www.simonsphotography.org.uk/ - My other hobby
    www.rotaract1070.org.uk/ - make a difference and have fun !


    Never buy "Trust" products, all mine broke !!!

  13. #13
    rl_east Newbie
    Join Date
    Oct 2008
    Posts
    2

    Default help me

    Quote Originally Posted by Sebi View Post
    Analog Devices made a precise transmitter. The receiver is simple.
    thanks for your attachment files.

    in your disign, there areresistor zero and resistor span.

    please tell me about resistor zero and resistor span.

    thank you before..
    Last edited by rl_east; 18th October 2008 at 08:01 AM.

  14. #14
    ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent
    Join Date
    Jan 2007
    Location
    Hampshire. England.
    Posts
    10,853
    Blog Entries
    13

    Default

    Quote Originally Posted by rl_east View Post
    thanks for your attachment files.

    in your disign, there areresistor zero and resistor span.

    please tell me about resistor zero and resistor span.

    thank you before..
    hi,
    The thread is years old.

    The 'zero' is set to give '0v' on the output for 4mA loop current and the 'span' is set to give +5V output for 20mA loop current.

    Is this what you are asking.?
    Eric " Good enough is Perfect "
    I will NOT answer PM's requesting technical help, please use the Forum
    PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/

    Link to my Articles: http://www.electro-tech-online.com/a...icgibbs-55450/

  15. #15
    rl_east Newbie
    Join Date
    Oct 2008
    Posts
    2

    Default

    how we can set resistor to be zero or span?

    thank

+ Reply to Thread
Page 1 of 2
1 2 Last

Tags for this Thread