Skip to main content

Making a Current Source Using an In-Amp

With the availability of many modern instrumentation amplifiers today, it has become quite an easy task to build a very precise current source. Current source is an important electronic building block that is supposed to deliver a constant defined current regardless of the load. If to a voltage source the low output impedance is the important characteristic, high output impedance would be for the current source. High output impedance means that as the load voltage changes due to current being sourced or sunk, there is very small change to the current. Ideally we would want the current to remain unchanged, because it is what it is supposed to do, to be a constant current source.

My Digilent Discovery Kit includes an AD8226 in-amp, and together with a buffer, OP02, also included in the kit, I made a very simple but very precise current source.

 What I like about this in-amp is it is a low-power, wide input and supply range instrumentation amplifier at +/-1.35 to +/18V, very flexible with the precision it offers. The Digilent kit has +/-5V fixed supplies that conveniently power the current source. The OP02 serves as a buffer to the reference pin of the AD8226. When you build your own current source circuit don't forget to always put bypass capacitors at the supplies.

               
Figure 1 Precision Current Source
                   
Here's how the circuit operates. The in-amp gives an output equals to the differential input multiplied by the gain, in this case I set it to one with pins 1 and 2 of the in-amp left open. The output of the in-amp is obtained across its output pin and the reference pin. The reference pin of the in-amp is buffered by OP02, and is equal to the voltage across the load. The OP02 is necessary in order to isolate the current coming out of the reference pin to the output circuit. It is important to note that there is a significant amount current flowing at the reference pin, and the output of OP02 provides a low impedance node. Providing a low impedance node means that even if there is a changing current at that node, the voltage at the node is unaffected and remains unchanged. In this case this voltage should solely be equal to the voltage at the top of the load. The output of the in-amp is then effectively impressed across Rs, which creates a current equals to Vin/Rs. This is the current that is passed to the load.

The circuit offers reliability and accuracy with the precision of the in-amp and the low temperature drift of the offset of the OP02. There are a few subtleties in the circuit one should be aware of. The programmable current is limited by the rails of the in-amp, the value of Rs, and the load resistance. The maximum programmable current will set maximum load voltage. This voltage, plus the voltage across Rs, should not exceed the rated swing of the in-amp. For example, if we have a 10k load, and an Rs = 10k, the maximum programmable current would be swing of the in-amp which is either positive or negative, Vmax, divided by Rload (10k) + Rs (10k). Another consideration will be the maximum power rating of the in-amp, which determines the maximum current that it can source. For the ad8226 it's rated at 140C junction temperature maximum, with 135C/W thermal resistance, allowing over 200mA of output current. 

Here's how the circuit looks like with my Digilent set-up.


In order to demonstrate the accuracy and linearity, at least generally and visually, I thought of applying a 0.4 Vp-p sinusoid signal at the input and observe the load voltage on an oscilloscope. The 0.4Vp-p corresponds to 40uA of peak-to-peak current, passed on to the 10k load which will produce the same voltage at the output. Using the oscilloscope software tool that also comes with Digilent, the output is shown in blue (C1) and the input in orange (C2).

Figure 2 






Comments

  1. Thanks you for your blogposts. What is your status? Are you going to continue to make posts in the future?

    ReplyDelete

Post a Comment

Popular posts from this blog

Arduino Transistor DC Motor Control

Arduino boards have PWM (Pulse Width Modulation) outputs that can be used to control like the speed of a DC motor. On a Pro Micro, those outputs are encircled white on the board. You can program it such that it outputs on a scale of 1-255, 1 being the slowest and 255 being the fastest. PWM gives out pulses whose width is varied (modulated) while the period is constant. The longer it is high, the higher power it delivers to the circuit. PWM can be used to drive a transistor (switch) which in turn drives the motor ON and OFF. The longer the switch is ON, the higher the power delivered to the motor, and thus faster. The circuit consists of a transistor Q1 (TIP31) NPN transistor, driven by the PWM from Arduino. The resistor is to limit the current to the base, but enough to operate the transistor in saturation when the input is high. The diode is to protect the motor from any back emf that might come from the motor when the current is cut off. The circuit is supplied by a 9V battery.

What Can You Do With Two Transistors (BJT)? Part 2 - Transistor Regulator

In the first installment of this series, we talked about what exciting things we can do with just two transistors, in particular BJT transistors. Some of us might probably think that we don't talk a lot about BJT transistors nowadays, not with the thrill, excitement, and trend brought about by high advancements in the technology in the Internet of Things, Machine Learning, Machine Intelligence, Advanced Algorithm, etc.. But we argue that these little circuits and components are constantly in the background of the advancements we see around us and we should not ignore them, as much we will not ignore what we currently enjoy and what the future holds for us. Let's continue to look at the Two-Transistor Series Regulator we talked about in Part 1 . The circuit below is a different version, now using the transistor to provide feedback from the output. This makes the output voltage higher. The output is still derived from the zener voltage. The output voltage is now a s

How Does The Howland Current Source Work?

Current source programs an output current as defined by the user, regardless of the load resistance. We know that when load resistance is larger, the voltage across it also increases. An ideal source would maintain a constant amount of current even if the load resistance changes, or in other words even if the output voltage changes. Such behavior describes a very good current source that has high output impedance. Remember, the output voltage changes, but very little or no change in output current. That means high output resistance or impedance. We use the term impedance when dealing with changes. Howland circuit in the figure is a classic current source circuit.   When R 1 is made equal to R 2 , R F equal to R 3,  the output current is given by V IN /R 1 where V IN is V 1 minus V 2 . A simple implementation is grounding V 2 and taking V 1 as the V IN . Figure 1 Basic Howland Current Source This circuit is such a clever manipulation of the op amp, such