Author Topic: Opamp as a shunt voltage amplifier and supply of it.  (Read 3160 times)

0 Members and 1 Guest are viewing this topic.

Offline firewalkerTopic starter

  • Super Contributor
  • ***
  • Posts: 2452
  • Country: gr
Opamp as a shunt voltage amplifier and supply of it.
« on: September 15, 2016, 01:41:47 pm »
A common practice for using a small value shunt resistor (in power supply current control) is to use an opamp as a differential amplifier. If the gain is around 10 the out of the opamp is commonly 0 to 5 volts (in order to directly read it with micro).

The opamp used must be quite good in characteristics (for the given) job. In almost every design the opamp supply will be the same as the voltage input. If we have a supply of 30 volts, we must use an opamp that can stand 30 volts. Like LT1013. Using an opamp with good characteristics but with lower supply voltage is cheaper.

Since the max output voltage is close to 5 volts, can a lower secondary voltage (e.g. 7 volts) be used to supply the opamp. Does it cause problems?

Alexander.
Become a realist, stay a dreamer.

 

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 8833
  • Country: fi
Re: Opamp as a shunt voltage amplifier and supply of it.
« Reply #1 on: September 15, 2016, 01:54:13 pm »
There are many hi-side current sense opamps that allow the common mode voltage on it's input pins outside it's own supply range. Using those is easiest. You just supply them with 5V (usually), and the shunt can sit at voltages higher than that, within some limits of course. Personally, I have used INA21x and LT1999.

These current sense opamps are typically easier and of better performance than just any random general purpose opamp. Outside of rails common mode range is one of the reasons. Fixed gain also helps PCB design by reducing part count.
 
The following users thanked this post: firewalker

Offline firewalkerTopic starter

  • Super Contributor
  • ***
  • Posts: 2452
  • Country: gr
Re: Opamp as a shunt voltage amplifier and supply of it.
« Reply #2 on: September 15, 2016, 02:08:23 pm »
To answer my self... It will destroy the opamp. I just had a brainfart. Input common-mode voltage.  :horse: :horse: :horse:

Alexander.
Become a realist, stay a dreamer.

 

Offline ajb

  • Super Contributor
  • ***
  • Posts: 2733
  • Country: us
Re: Opamp as a shunt voltage amplifier and supply of it.
« Reply #3 on: September 15, 2016, 02:14:48 pm »
With a standard opamp and four resistor diff amp, the resistors effectively divide down the input signal, so you can, potentially, use this to permit an input common mode range that extends outside the supply.  However this is not really compatible with the high gain typically required by a shunt amplifier.  It can be useful in other applications, though, where the inputs won't go far outside of the rails and little gain is required.
 
The following users thanked this post: firewalker

Offline Jeroen3

  • Super Contributor
  • ***
  • Posts: 4195
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: Opamp as a shunt voltage amplifier and supply of it.
« Reply #4 on: September 15, 2016, 02:20:40 pm »
You use INA199 or equivalent amplifiers.
 

Offline firewalkerTopic starter

  • Super Contributor
  • ***
  • Posts: 2452
  • Country: gr
Re: Opamp as a shunt voltage amplifier and supply of it.
« Reply #5 on: September 15, 2016, 02:26:03 pm »
Yes I know about the application specific amplifiers like INA199 or MAX4080 and is what I would go for. The design I was referring is for a school lab. Non through hole components complicate things.

Alexander.
Become a realist, stay a dreamer.

 

Offline macboy

  • Super Contributor
  • ***
  • Posts: 2289
  • Country: ca
Re: Opamp as a shunt voltage amplifier and supply of it.
« Reply #6 on: September 15, 2016, 03:04:39 pm »
Look up "over the top" op-amps. They allow common mode voltage higher than the rails, often to several tens of volts or more. Dedicated shunt amplifiers also exist, and they probably contain a front end similar to the OTT op-amps.
 
The following users thanked this post: firewalker

Offline JS

  • Frequent Contributor
  • **
  • Posts: 947
  • Country: ar
Re: Opamp as a shunt voltage amplifier and supply of it.
« Reply #7 on: September 15, 2016, 03:14:56 pm »
  Why not to sense the low side of the PS? Then you have a current shunt referred to GND (internal at one side, external on the other). If using a regulator IC you just need to tie the reference pin from the other side of the shunt to minimize voltage error. If using custom feedback this shouldn't be a problem at all.

JS
If I don't know how it works, I prefer not to turn it on.
 
The following users thanked this post: firewalker

Offline JPortici

  • Super Contributor
  • ***
  • Posts: 3527
  • Country: it
Re: Opamp as a shunt voltage amplifier and supply of it.
« Reply #8 on: September 15, 2016, 03:39:55 pm »
depending on the application, it may not be wise to elevate the application "0V" potential from system ground
 

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 8833
  • Country: fi
Re: Opamp as a shunt voltage amplifier and supply of it.
« Reply #9 on: September 15, 2016, 04:34:06 pm »
Non through hole components complicate things.

They only do so when people explicitly decide, without any sensible reason, that they do so. Every time I point this out, there always are people who just keep repeating this mantra, without giving a chance to evaluate their choices and make a change. The life is totally doomed for such people anyway, and it's getting more and more difficult to do any circuits at all.

Just learn to solder. It's a must anyway.

Non-through hole components do not complicate anything; the utterly random decision not to use them does.
 

Offline JPortici

  • Super Contributor
  • ***
  • Posts: 3527
  • Country: it
Re: Opamp as a shunt voltage amplifier and supply of it.
« Reply #10 on: September 15, 2016, 04:47:58 pm »
if is it complicate in the sense that you can't put them in a breadboard... use adapters. if you have to make tons of them they are exstremely cheap
almost all the better stuff is smd anyway
 

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 8833
  • Country: fi
Re: Opamp as a shunt voltage amplifier and supply of it.
« Reply #11 on: September 15, 2016, 06:04:42 pm »
Simply don't use a breadboard to develop a power supply.
 

Offline JPortici

  • Super Contributor
  • ***
  • Posts: 3527
  • Country: it
Re: Opamp as a shunt voltage amplifier and supply of it.
« Reply #12 on: September 15, 2016, 07:26:03 pm »
.. or perfboard
 

Offline firewalkerTopic starter

  • Super Contributor
  • ***
  • Posts: 2452
  • Country: gr
Re: Opamp as a shunt voltage amplifier and supply of it.
« Reply #13 on: September 15, 2016, 07:53:15 pm »
I have designed for the students (as part of them having a first impression of KiCAD) a pcb that can accept a plain MAX4080 or one on a adapter. I was looking for a full through hole solution for various other reasons not worth mentioning.

Thanks you guys!

Alexander.
Become a realist, stay a dreamer.

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf