Author Topic: Instrumentation Amplifer from LM123/LM224/LM324  (Read 3965 times)

0 Members and 1 Guest are viewing this topic.

Offline lkTopic starter

  • Regular Contributor
  • *
  • Posts: 152
  • Country: dk
Instrumentation Amplifer from LM123/LM224/LM324
« on: February 16, 2014, 07:18:49 pm »
Greetings,
For the fun of it i wanted to simulate an instrumentation amplifier to measure the voltage drop over a resistor, but it is not working as i would expect it to work.

This is set up so i have a voltage drop of 1 volt over my sense resistor R5, and as i have set the gain resistor r8, so that the gain of the circuit is approaching 1. So with this setup i would expect that i get some where around 1 volt on my output. But the problem is that the output ends up at  ~6.7 mV.

the big question is what i do wrong here? I have tried in several simulators, so i'm sure that its something that i have screwed up :)

-lk



« Last Edit: February 16, 2014, 07:44:43 pm by lk »
 

Offline fcb

  • Super Contributor
  • ***
  • Posts: 2125
  • Country: gb
  • Test instrument designer/G1YWC
    • Electron Plus
Re: Instrumentation Amplifer from LM123/LM224/LM234
« Reply #1 on: February 16, 2014, 07:23:26 pm »
100meg (100 meg)!!!!!

try 100 ohms
https://electron.plus Power Analysers, VI Signature Testers, Voltage References, Picoammeters, Curve Tracers.
 

Offline qno

  • Frequent Contributor
  • **
  • Posts: 422
  • Country: nl
Re: Instrumentation Amplifer from LM123/LM224/LM234
« Reply #2 on: February 16, 2014, 07:30:31 pm »
Yes you beat me with the post.

Check your manual. 100 meg without a capital could be read by the simulation package as 100 mili ohms.

Some sim packages cold be difficult about this.
You could try a standard setup with all 10k resistors.

Why spend money I don't have on things I don't need to impress people I don't like?
 

Offline lkTopic starter

  • Regular Contributor
  • *
  • Posts: 152
  • Country: dk
Re: Instrumentation Amplifer from LM123/LM224/LM324
« Reply #3 on: February 16, 2014, 07:44:15 pm »
Thanks for the replies,

this is ltspcie so MEG = meg = 10^6, so i would imagine that is not the problem.

The reason for R8 being 100meg is the gain approaches 1 as the gain resistor approaches infinity.

fcb: if i set R8 at 100 ohm  the gain of the circuit will be 201,  so my output should be approaching the positive rail, it is not however.

-lk
 

Offline Bored@Work

  • Super Contributor
  • ***
  • Posts: 3932
  • Country: 00
Re: Instrumentation Amplifer from LM123/LM224/LM324
« Reply #4 on: February 16, 2014, 07:51:59 pm »
You have connected one positive input to the positive rail. But that opamp is not a rail-to-rail opamp.
I delete PMs unread. If you have something to say, say it in public.
For all else: Profile->[Modify Profile]Buddies/Ignore List->Edit Ignore List
 

Offline lkTopic starter

  • Regular Contributor
  • *
  • Posts: 152
  • Country: dk
Re: Instrumentation Amplifer from LM123/LM224/LM324
« Reply #5 on: February 16, 2014, 07:52:53 pm »
Thank you Bored@work,

i selected 100meg, to approach and open r8, and the calculated gain for the was 1.0002, which was close enough for me. But again i must have made a more fundamental mistake in my circuit.

-lasse
 

Offline PA0PBZ

  • Super Contributor
  • ***
  • Posts: 5158
  • Country: nl
Re: Instrumentation Amplifer from LM123/LM224/LM324
« Reply #6 on: February 16, 2014, 07:56:15 pm »
If you put a 5 ohm resistor between the top of R5 and the +12 you no longer have +12 on one of the inputs. (but it still gives the same result) :(

If you cut R1 and R2 the output of both opamps differ exactly 1 volt but there must be more... time for me to look up instrumental opamps I guess.
« Last Edit: February 16, 2014, 07:58:10 pm by PA0PBZ »
Keyboard error: Press F1 to continue.
 

Offline lkTopic starter

  • Regular Contributor
  • *
  • Posts: 152
  • Country: dk
Re: Instrumentation Amplifer from LM123/LM224/LM324
« Reply #7 on: February 16, 2014, 07:58:16 pm »
Good spot Bored@work,

I changed the one positive input to 9 volt, but i still don't get the expected 1 volt on my output. now it just hovers at -78 mV.


-lk
 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Instrumentation Amplifer from LM123/LM224/LM324
« Reply #8 on: February 16, 2014, 08:32:02 pm »
Try adding a 100k resistor from output to ground. Also, try something lower for that 100 Meg. Maybe 1 Meg.
 

Offline PA0PBZ

  • Super Contributor
  • ***
  • Posts: 5158
  • Country: nl
Re: Instrumentation Amplifer from LM123/LM224/LM324
« Reply #9 on: February 16, 2014, 08:32:21 pm »
It works if you use dual supply voltages (6 and -6), it doesnt work with single supply voltage.
Keyboard error: Press F1 to continue.
 

Offline Bored@Work

  • Super Contributor
  • ***
  • Posts: 3932
  • Country: 00
Re: Instrumentation Amplifer from LM123/LM224/LM324
« Reply #10 on: February 16, 2014, 08:59:08 pm »
It works with a single supply. Only that he has the polarity of the input wrong. Upper opamp should have a lower input voltage than the lower opamp. It is the opposite in the schematic.
I delete PMs unread. If you have something to say, say it in public.
For all else: Profile->[Modify Profile]Buddies/Ignore List->Edit Ignore List
 

Offline lkTopic starter

  • Regular Contributor
  • *
  • Posts: 152
  • Country: dk
Re: Instrumentation Amplifer from LM123/LM224/LM324
« Reply #11 on: February 16, 2014, 09:07:32 pm »
Thanks guys,

i swapped the input on the upper/lower opamp and now i get my ~1 volt out :)

-lk
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf