Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] 4-20mA to 0-3V3 Converter

Status
Not open for further replies.

yolco

Member level 2
Joined
Jun 12, 2009
Messages
48
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,787
Hi,


for designing a 4-20mA to 0-3V3 converter I'm thinking on two circuit configurations (Please, forgive me about the pictures, they were not done with proper software).

4-20mA_to_0-3V3_voltage_divider.jpg
Powered at +10V. This configration has three steps:
  1. First. Differential step. To subtract 1 to input signal, and reduce to 0 when the measured signal is 4mA. Output1: 0-4V
  2. Second. Apply 1.25 gain to get 5V at 20mA. Output2: 0-5V
  3. Third. Voltage Divider Resistor. Convert the output signal from 0-5V to 0-3V3. Output3: 0-3V3

4-20mA_to_0-3V3_PS24V.jpg
Powered at +24V. This configration has three steps:
  1. First. Differential step. To subtract to input signal, and reduce to 0 when the measured signal is 4mA. Output1:
  2. Second. Apply gain to get 3V3 at 20mA. Output2: 0-3V3

  • Which of those configurations are better for this application?
  • In case of designing the first option, are the final voltage divider resistors (R10 & R11) values correct? Or maybe, it would be better to reduce them as there is no high current through them.
  • Any additional info will be helpful.

Regards.

* EDIT:
  • Talking about power supply voltage, which would be the better one, +10V or +24V?
 

Attachments

  • 4-20mA_to_0-3V3.jpg
    4-20mA_to_0-3V3.jpg
    48.1 KB · Views: 31
  • 4-20mA_to_0-3V3.jpg
    4-20mA_to_0-3V3.jpg
    48.1 KB · Views: 29
Last edited:

schmitt trigger

Advanced Member level 5
Joined
Apr 17, 2013
Messages
2,725
Helped
858
Reputation
1,720
Reaction score
845
Trophy points
1,393
Activity points
18,402
By far, and I mean by far, the best configuration is the simplest one, the one that converts from 4-> 20 mA to 0 -> 3v3

There is an even simpler option. If you are feeding the voltage to a microcontroller's ADC port, use only a resistor for a 0v66 -> 3v3 voltage, and perform the conversion in software.

As a matter of fact, I just finished an anemometer project, which has an output of 0v4 -> 2v0 for a windspeed of 0 -> 100km/h, on which I'm doing exactly that.
 
  • Like
Reactions: yolco

    yolco

    Points: 2
    Helpful Answer Positive Rating

yolco

Member level 2
Joined
Jun 12, 2009
Messages
48
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,787
Hi Schmitt trigger,

thanks for your answer!

you're right the simplest option will be the best configuration for my requirements.
Although I was looking for understanding a bit more both configurations to know their pros & contras.

About your design, I think you left that 0V4 for being advised of when an error becomes (wire broken, malfunction...), and as you said before, by sotware you introduce those values and alerts, isn't it?

One more doubt I have, is the power supply, +10V or +24V. We can talk about +24V is the standard power supply, although this is not always true. So, which of them will be better to source the circuit?
I'm going to need a DC boost, so maybe it will be better to add a +24V than a +10V (with all the risk it has, power consumption...). What do you think?
 

schmitt trigger

Advanced Member level 5
Joined
Apr 17, 2013
Messages
2,725
Helped
858
Reputation
1,720
Reaction score
845
Trophy points
1,393
Activity points
18,402
In software, you would test the condition for V< 0v4, and send an error if true. That way broken wires can be detected.

For the source voltage, use what is commonly available, and that properly powers the remote circuit.

For my project I could have used anything from 7 to 24 volts, but I used 12 volts because it was available.
 
  • Like
Reactions: yolco

    yolco

    Points: 2
    Helpful Answer Positive Rating

yolco

Member level 2
Joined
Jun 12, 2009
Messages
48
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,787
Thanks a lot Schmitt Trigger!

I go on with the design!
 

schmitt trigger

Advanced Member level 5
Joined
Apr 17, 2013
Messages
2,725
Helped
858
Reputation
1,720
Reaction score
845
Trophy points
1,393
Activity points
18,402
If you find my posts helpful, please provide a like.
 
  • Like
Reactions: yolco

    yolco

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top