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.
Hi,
i'm developing a sensor that should have 4-20mA and 0-10V output, jumper selectable.
The sensor has 3 connections, PWR, OUT and COM.
For most applications it should work with 4mA, and could use 2 wire connection (PWR and OUT). It will have an option with displays and relays, that would consume more than 4mA, so it would have to insert COM line for extra current.
It could be powered with AC, and in this case should connect COM line.
Basically the connection are those:
Usually i would simulate on LTspice, but i haven't find the model for XTR115, and i'm very uncomfortable developing those analogical and not usual ground separation, so i need some help with this.
I started with the circuit below.
GND - Basic functionality of the sensor, powered by 5V XT115.
COM-GND - Would return the current from optional extra functionalities, Display, relays, etc, powered by other sources (LM317 in example)
The jumper should pass 1A or 2A to A, same for B and C.
"A" should make the current pass trough the resistor, making voltage output.
"B" line should tell uC that it's Voltage selected, changing the range of the DAC-OUT1.
"C" - Nothing yet.
Some doubts:
Does R16 work for that desirable Voltage output?
Does the ground separations are correct?
Will the circuit work with the AC option?
Hi Zack,
many thanks for the reply.
I've been working in the circuit based on your text.
1) DAC is on the same IRET (uC is IRET referenced)
2)I have some digital data that i need to pass from the IRET ref. circuit to COM ref. circuit, as i have just 1mA left i found this one.
3) There's already a simple rectifier in the circuit, diode and capacitors, i just wasn't sure it would work the way it need to comply with the wiring schematic above.
4) Unfortunally i have some budget target for the final circuit.
Hey Rodrigo,
I see what you are after now. I overlooked the rectifier, that part of it would work as long as you ensure you will never droop below the compliance limitation. Modulating your loop supply is also going to modulate IRET so bear that in mind for the devices that share that common node. Some of your diagrams look like a true 3-wire implementation and I think you would be better off using a 3-wire device like the XTR111 to ensure you don't run into issues, but if you make sure that you keep IRET and loop ground isolated and there are no return paths through any of your other devices, then you should be okay. If you would like a behavioral model to test you can use the attached file. It does not capture the true transient or ac behavior of the device, but is a good dc model to make sure everything is properly connected.