Basic Opamp Circuit: Connect Vp/Vn & Find Gain w/ Pspice

  • Thread starter Thread starter hoheiho
  • Start date Start date
  • Tags Tags
    Circuit Opamp
AI Thread Summary
The discussion centers on troubleshooting an inverting op-amp circuit simulation using PSpice, where the user is trying to achieve a gain of 10 with a sinusoidal input. Key issues include incorrect connections of the power supply to the op-amp and confusion over the Vp and Vn labels, which are causing simulation errors. Suggestions include removing unnecessary connections to the power supply and ensuring the signal source is correctly configured without DC offset. The circuit should function properly if the power connections are made to the correct pins of the op-amp and the input signal is appropriately set. Properly configuring these elements is essential for successful simulation and achieving the desired output waveform.
hoheiho
Messages
43
Reaction score
0
Hi, i am using Pspice schematics to build up an inverting opamp with 10 gain using an input sinusoidal source. For other opamp model, i will need to connect Vp and Vn to the top and bottom of opamp. But for this opamp (shown in the fig. below). Where should i connect my Vp and Vn? And how can i use the simulation to find the gain? i try to use create netlist-->simulate
and it said my some error on my circuit.

2vmu1ee.png
I have try to search the example in google but cannot find any basic opamp with sin source. Most of them are using 741 or other model so they got the top and bottom connection in opamp.

For other opamp, i have connected like this. The opamp pin 4 and 7 have been connceted to Vp and Vn. But i don't know how to connect those into my basic opamp?
qsp3bk.png
Thank you
 
Last edited:
Engineering news on Phys.org
Try simulation first, maybe it does not require that as they assume it's there.
 
Your second diagram looks correct and the output voltage -4.499 (4.5) is correct. (gain is 4.5)
I must admit that I am not familiar with your simulation program but your circuit as drawn is OK
 
Last edited:
Sorry, i have uploaded the wrong diagram for the second one. I have fixed it now
 
yungman said:
Try simulation first, maybe it does not require that as they assume it's there.

Thanks for your reply

I cannnot do the simulation. It said: Error in the circuit. But it doesn't say what kind of error is that
 
Are you certain that you have the supply voltages connected the right way round .
Your labels look correct but you have drawn your amplifier "upside down" ...double check
 
technician said:
Are you certain that you have the supply voltages connected the right way round .
Your labels look correct but you have drawn your amplifier "upside down" ...double check
Thanks for your reply

I think that is correct. i have change the V+ and V- "upside down" as well.
 
What simulation program are you using? How did you place that part in your schematic (first diagram)?

Can you do something like right-click on the opamp and edit its properties? The supply voltages may just be part of its properties for that simple opamp model...
 
berkeman said:
What simulation program are you using? How did you place that part in your schematic (first diagram)?

Can you do something like right-click on the opamp and edit its properties? The supply voltages may just be part of its properties for that simple opamp model...

Hi, I am using PSpice Student V9.1 Schematics. I did not edit any setting in the opamp. I have try to connect it like that(fig. below) but it still not working. It said some problem with my voltage source

pc0mb.png
 
  • #10
Remove the inverting input resistor from the positive supply. You just need the signal source here.

Also reduce the output of the signal source to 0.05 volts so the output should be 0.5 volts peak, but inverted.

It seems to be working as you would get an output equal to almost the voltage of the negative rail with your circuit, and that is what you are getting.

Are you observing the waveform at the output of the opamp?
 
  • #11
hoheiho said:
Hi, I am using PSpice Student V9.1 Schematics. I did not edit any setting in the opamp. I have try to connect it like that(fig. below) but it still not working. It said some problem with my voltage source

pc0mb.png

How come there is a 15V label at Vp? If you have +/-15V supply and you have an offset at Vp and a gain of -10, you are not going to get any wave form at the output, all you get is -15V hung on the rail!
 
  • #12
I think the problem is the Vp =15v at the input.
The label for your voltage input says Vampl = 1 which sounds sensible.
The gain is x10 so with 1v. In Vout would be 10V
 
  • #13
vk6kro said:
Remove the inverting input resistor from the positive supply. You just need the signal source here.

Also reduce the output of the signal source to 0.05 volts so the output should be 0.5 volts peak, but inverted.

It seems to be working as you would get an output equal to almost the voltage of the negative rail with your circuit, and that is what you are getting.

Are you observing the waveform at the output of the opamp?

I have try to what u suggest. The circuit seems like not working. If i reduce the output source to 0.05v the output will be 0.05v(there is no gain?) I cannot do the simulation to get the waveform because it said there is an error in my circuit but it doesn't say what kind of error is that
 
  • #14
yungman said:
How come there is a 15V label at Vp? If you have +/-15V supply and you have an offset at Vp and a gain of -10, you are not going to get any wave form at the output, all you get is -15V hung on the rail!

Yes:(. i cannot get any gain. What i get from the waveform is just the my voltage source(-/+ 15V). Do you think i put my source at the right place?
 
  • #15
technician said:
I think the problem is the Vp =15v at the input.
The label for your voltage input says Vampl = 1 which sounds sensible.
The gain is x10 so with 1v. In Vout would be 10V

If i remove the voltage source (Vp and Vn) from the circuit. i will get 0V in the circuit.
 
  • #16
Is it possible for you to remove the Vp from the input signal (V1)
The other circuits you have drawn do not have Vp connected to the input
 
  • #17
If you cannot remove 15V at Vp, then put the supply voltage at +/-180V! You should see the wave form riding on top of -150V offset.

Just hope the simulation will not give you a puff of smoke on the screen to tell you that you burn you amp! Hehe!

Merry Christmas

Alan
 
  • #18
You should be able to connect wires from the power supply to the opamp. This will get around any problems with labels.

The only input should be the 1 KHz signal generator. This should be checked to see if it has any DC offset. Look in the properties of the signal generator to see if there is any.

I specified a small signal of 0.05 volts AC to see if there was any DC offset in the signal generator.

With a gain of 10 the output should be a 0.5 volts (peak voltage) sinewave centered on 0 volts
 
  • #19
technician said:
Is it possible for you to remove the Vp from the input signal (V1)
The other circuits you have drawn do not have Vp connected to the input

That looks to be the key point. You are trying to use the symbol "Vp" as both a test point (on top of the signal generator) and as the label for a power supply.
 
  • #20
The original circuit looks ok and it should have a voltage gain of -10. The feedback resistor is connected to the correct input if you wanted an Inverting amplifier.
As long as the supply voltage connections are correct, the circuit should work fine.
You should definitely not be connecting an input to Vp as that will force the output to limit at -Vn.
If you change R1 to 100k, the ac gain should be -1. The input (-) pin should always measure at very nearly 0V because that point is held at a 'virtual earth' potential because of the action of the negative feedback.

I think there must be some problem with how you are specifying the input data to your simulation.
 
  • #21
hoheiho said:
I have try to connect it like that(fig. below) but it still not working. It said some problem with my voltage source.
There certainly is a problem. In this arrangement https://www.physicsforums.com/showpost.php?p=3680661&postcount=9 it seems you have your -15v power rail connected to your op-amp's output pin. It does not belong there. You also have the signal source shorted out by the +15v rail. Remove this, too. The power supply doesn't connect to those pins of the IC. You have to find the V+ and V- pins for that IC and connect the power there!

I understand that you haven't found which pins those are, but that doesn't mean you can connect the power supply anywhere you like. You have to connect them correctly. As someone pointed out, maybe that model doesn't require explicit connection to the power supplies? But that's unlikely; I think you just have to look harder to find the correct pins.

This is the sort of question that is best asked of one of your fellow students in your class, or of the teaching staff.
 
Last edited:
  • #22
NascentOxygen said:
There certainly is a problem. You have your -15v power rail connected to your op-amp's output pin. It does not belong there. You also have the signal source shorted out by the +15v rail. Remove this, too. The power supply doesn't connect to those pins of the IC. You have to find the V+ and V- pins for that IC and connect the power there!
Are you confusing connection to a source of PD and a measured value? I think the green rectangles contain measured values.
 
  • #23
When you use the simple op amp model you don't need power supplies, they are properties of the model (by default I think +15V and -15V). Your first circuit was OK apart from the parts you added to try to implement power. Remove those completely and it should work.
 
Back
Top