6
\$\begingroup\$

I am designing a voltage controlled current generator for the currents in a range from 0 - 2.5mA. The load resistance is within the range of 0 - 5k Ohms.

I decided to go with difference amplifier approach, similar like this:

enter image description here

Here is the part of the board that I designed and manufactured for testing purposes:

enter image description here

I used SPI-controlled DAC module (AD5620) to generate reference voltage for the voltage controlled current source. Generated current can be expressed by the following formula:

Iload = VREF/R1 = VREF/1KOhm

Consequently, if my DAC gives 1V to the current generator, the load current should be 1mA.

You can also see that I am using low-side current monitoring. 10 Ohm reference resistor together with LTC2054 opamp whose gain is equal to 100 helps me generate the voltage proportional to the load current, that can be expressed with the following formula:

Vi_monitor = 10 x Iload x 100

So, if my load current is 1mA, the voltage proportional to the load current will be 1V.

In addition to that, I am also monitoring the voltage on the load resistance by the help of voltage divider circuit made of resistors R2 and R4.

Before making a PCB, I simulated the above circuit in LTSpice and noticed it behaves as expected.

enter image description here

I finally manufactured the PCB and did some on-board testing. I used digital voltmeter/ammeter to measure the current through the load resistor. Here is what I got:

For the loads whose resistance is up to 2.5k Ohms (more or less), everything behaves as expected. Measured load current is proportional to the reference voltage generated by DAC module. However, when I increase the load resistance to the limit of 5k Ohms, the measured load current is saturated (less than theoretical value).

What is confusing me is the fact that even though I detect the saturation of the load current (on my ammeter display), the voltage proportional to the load current (Vi_monitor) still behaves as theoretically expected which implies that I have desired current passing through 10 Ohm reference resistor (the same current should be passing through my load resistor!?).

Do you have any idea what is going on here? Why do I measure current saturation with the ammeter, but my current monitor tells me I have desired current through the load?

I supply the differential amplifier with 18V which should be enough, given the fact that the voltage across 5k Ohm load for the load currents of 2.5mA (worst case) would be 12.5V.

To give you a complete picture of my circuit, I would like to mention that I am using an MCU-controlled SPDT dual switch (TS3A24159DGSR) that helps me change the orientation of the load resistor and, consequently, the direction of the current passing through the resistor:

enter image description here

Thank you for your time and effort! It is really appreciated!

\$\endgroup\$
  • 4
    \$\begingroup\$ The ammeters within DMMs can have some very unusual effects and I have learned to be cautious with their use. I would instead simply measure the voltage across the load resistor (which is just as good a measurement). \$\endgroup\$ – Peter Smith Sep 13 at 14:11
  • 1
    \$\begingroup\$ Whenever I hear about 'saturation' with opamps and there isn't an "obvious answer' the next thing I wonder about is if the design is pushing the (-) and (+) nodes of an opamp sufficiently apart from each other to cause internal input stage saturation with one of the inputs then actually soaking up measurable currents that aren't being accounted. With your arrangement, ask yourself what the voltage drop across the larger values of R19 are forcing backwards through the circuit. I haven't bothered yet. But can you do a 'sanity check' on that? \$\endgroup\$ – jonk Sep 13 at 18:20
0
\$\begingroup\$

I think I found a reason why I don't measure expected current through the load resistor, guys. Here is the explanation...

My load resistor actually comes between the ELECTRODE_1 and ELECTRODE_2 points, through the connector SJ-3523-SMT-TR.

enter image description here

So, between the current source and load resistor I have SPDT dual switch (TS3A24159DGSR) that helps me change the orientation of the load resistor and, consequently, the direction of the current passing through the resistor. When I start to increase load resistance, starting from some point (around 2.5k Ohms), the generated load current finds some other ways to flow from POS_end to NEG_end (probably somewhere inside SPDT switch IC).

So only the part of the generated current flows through the load resistor and other part finds other ways. I removed SPDT switch and connected my load resistor directly between POS_end and NEG_end points. The current through the resistor was as theoretically expected!

So the question arise... Is there any better way for me how to change the orientation of the load resistance and thus the direction of the current passing through it?

Thanks in advance for your time and effort!

Sincerely,

Bojan.

\$\endgroup\$
  • \$\begingroup\$ Usually the MUX needs to have as high or higher voltage source as that of the input signal. With a 3.3v source that chip was probably being reverse biased somehow and leaking the current into the supply. Try it with a mux that is powered by the same 18V. \$\endgroup\$ – Aaron Oct 15 at 16:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.