Post Go back to editing

Mapping 1v input to 5v output. (AD623?)

Hey there,

   I'm working on a project where I need to amplify a signal of ~0.9Vdc over 0-5Vdc.  The signal source/voltage is coming from one axis of a joystick which is equipped with a 5K linear potentiometer possessing ~355deg of electrical range in place of a 60deg ranging pot.  I initially believed that the AD623 would be a proper fit, but I'm having troubles implementing the device.   At best I seem to be able to get a 0-3.6V range with a gain somewhere around 4.  If I try to up the gain to 5 as I had intended/hoped the device saturates to its maximum output voltage (for the given gain) and stays at this value until the input signal is decreased.  The higher the gain (further into saturation), the more the input signal must be decreased to cause a decrease in output.

I've done some reading/research and I fear that my common-mode voltage is beyond that which the AD623 can manage for gains approaching/passing 5.  Does this sound like a possible culprit?  Furthermore, I can't seem to get a clear answer on how to determine what exactly the common-mode voltage is for my system.  From what I understand, I should connect the inverting and non-inverting inputs to ground.  Is the resultant output then the common-mode voltage?  Forgive my lack of understanding as this is my first adventure into the land of amplifiers.

I've attached a screen shot of the circuit to aid in diagnosing the cause of the device's behaviour.  As seen, I'm using a single sided supply of 5Vdc, have the wiper of the 5k pot attached to the non-inverting input and a 20k pot attached to the inverting input.  The measured signal range of the 5k pot is ~ 2.089Vdc to ~2.910vdc, as such the 20k pot (R3) is utilized to set the inverting input to ~2.05vdc allowing amplification of the difference.

Am I asking too much of the AD623?  Do I have a fundamental design flaw, or is there a better alternative in a PDIP package?  Any thoughts or insight anyone may have is greatly appreciated.

  • Hi Adam,

    You are correct that the common mode voltage is the likely problem. Basically you can derive this voltage from the equation (Vin+ + Vin-)/2. Say in your case where you have 2.05V at your inverting input, and 2.91V at the non-inverting, you would end up with a common mode voltage of 2.48V. Given this, I will refer you to Figure 23 of the AD623 datasheet. It gives you a plot of the maximum output voltage swing of the in amp vs. the common mode input. At a common mode input of 2.48V (or roughly 2.5V to check it out on the graph), projecting the plot to the y-axis will show you that you can only go to about 3.5V at the output. (This is for a gain of 10 and higher, but the graph can be scaled, so this should give you a good enough approximation. See this thread for more information.) You could also refer to page 20 of the datasheet. It gives you the equations that will allow you to derive the max output of your in amp given the differential input, gain, and Vcm.

    You can solve this problem by bringing down the common mode voltage of the resistor network. From the graph and equations that I mentioned above, you would probably be ok with a CMV of ~1.8V. Please check this thread to get a better understanding of how the common mode voltage is affecting your circuit.

    There are also newer parts that have a different architecture which allows you to get the full output swing with a larger range of common mode input voltages. You could check out the AD8420 or the AD8237, although these don't come in PDIPs. You could always use MSOP to DIP adapters if the option is viable.

    I hope this helps!

    Kris

  • Hi Adam,

    I just wanted to add that if you want to learn more about instrumentation amplifiers, you can download the Designer's Guide to Instrumentation Amplifiers. It's available at this link. You will probably find it very useful for your application.

    Best,

    Kris

  • Thank you for confirming my suspicions and shedding some light onto deriving the common mode voltage.  I've made reference to the manual as per your suggestion(s) and have managed to bring the functionality of my amplifier circuit into the realm of acceptance. 

    For anyone who peruses this in the future, following Krisf's advice, I repositioned the potentiometer(s) so that their output voltage was ~1.8VDC and was able to obtain the gains I was looking for.  At best I managed to map ~0V-0.757V to 0.13V - 4.82V, and at worst ~0V - 0.892V to 0.14V - 4.52V.  I could have squeezed more out of it, but in this application it was important to match the swing above and below the joystick's center position as best as possible.

    As per the handbook, I've got a hard copy here on my desk.  Thank-you for the heads up and I'd recommend it to anyone interesting in getting their feet wet with analog devices.  I only wish they still offered complimentary hard copies, but you can't have everything!

  • Check out https://ez.analog.com/message/80400#80400

    I wrote this after having a ton of trouble using an RTD with the AD623.

    I put in pics, simulation, and schematic

    Good luck

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.