Voltage-to-Current Converter Circuit: Simulated in OrCAD Spice

  • Thread starter Thread starter Rudinhoob
  • Start date Start date
  • Tags Tags
    Circuit Converter
Click For Summary
SUMMARY

The discussion centers on a voltage-to-current converter circuit simulated in OrCAD Spice, where users address discrepancies in expected output current when altering voltage (V) or load resistance (R). Participants clarify that the output current should remain constant through the load resistor (R) if V and R are constant, but changing V or R results in different current values. A key takeaway is that issues with simulation results often stem from incorrect circuit connections, misunderstandings of circuit functionality, or model inaccuracies rather than flaws in the SPICE tool itself.

PREREQUISITES
  • Understanding of voltage-to-current conversion principles
  • Familiarity with operational amplifiers (OPAMP) functionality
  • Knowledge of circuit simulation using OrCAD Spice
  • Basic concepts of loading effects in circuits
NEXT STEPS
  • Explore detailed tutorials on OrCAD Spice circuit simulation techniques
  • Study the principles of operational amplifier configurations and their applications
  • Research the impact of loading effects on circuit performance
  • Learn about troubleshooting common simulation errors in SPICE software
USEFUL FOR

Electronics engineers, circuit designers, and students studying analog electronics who are interested in circuit simulation and analysis using OrCAD Spice.

Rudinhoob
Messages
33
Reaction score
0
Hi,

Here's a voltage-to-current converter circuit I simulated in OrCAD Spice. While the current is supposed to be constant through out the load, it does not seem the case with spice, when altering V or R.

Thanks.
 

Attachments

  • circ1.jpg
    circ1.jpg
    7 KB · Views: 401
Engineering news on Phys.org
What? OrCAD lying? Never.

Haha. Jokes apart. Your voltage to current converter is having the loading effect.
 
What's the loading effect?
 
Rudinhoob said:
What's the loading effect?

Sorry I was too fast to say it is loading effect. Actually in this case with OPAMP loading effect won't happen. Your output current should not change with R but it should change with V.

Can you show me screenshot of the schematic or netlist?
 
i = V/R so it changes with V or R, not R-load.
 
Kholdstare said:
Sorry I was too fast to say it is loading effect. Actually in this case with OPAMP loading effect won't happen. Your output current should not change with R but it should change with V.

Can you show me screenshot of the schematic or netlist?

Damnit. I was correct in the first place. It is loading effect.

http://en.wikipedia.org/wiki/Voltage_divider#Loading_effect
 
Rudinhoob said:
i = V/R so it changes with V or R, not R-load.

Which resistance are you talking about?
 
The grounded R.
 
The other resistor R(L) represents the load.
 
  • #10
Rudinhoob said:
The grounded R.

Aha, you can say RL instead of writing R-load. Its easier to understand.

Now, you have one concept wrong here. The RL you are referring to is not the load of the circuit. Its just a resistor connected to the output of the OPAMP to limit the current coming out of it. The actual load is R which is where the current is going to and reaching ground. That is where you connect your next stage of circuits. In other words, your next stage of circuit replaces where the R is.
 
  • #11
Rudinhoob said:
While the current is supposed to be constant through out the load, it does not seem the case with spice, when altering V or R.

Thanks.

I think you misunderstood what the circuit is meant to do (and I'm also confused by the previous post!)

If V and R are constant, it keeps the current through RL constant if RL changes. (The constant current = V/R.)

If you change V or R, you get a different "constant" current through RL.
 
  • #12
When analyzing the circuit, the i = V/R is the current through RL, which is the load, and this current is apparently independent of the RL.
 
  • #13
I think you misunderstood what the circuit is meant to do (and I'm also confused by the previous post!)

If V and R are constant, it keeps the current through RL constant if RL changes. (The constant current = V/R.)

If you change V or R, you get a different "constant" current through RL.

Yes but that's not what SPICE is giving me, when I change RL, it changes the current.
 
  • #14
Did you check if you hit the rails (does the output voltage of the op amp reach the supply voltage)?
 
  • #15
0xDEADBEEF said:
Did you check if you hit the rails (does the output voltage of the op amp reach the supply voltage)?

Thanks for the hint! Adjusting the ohms to make sure the output voltage is less than the supply did the trick.
 
  • #16
Also, Rudinhoob, SPICE almost never lies. If you don't understand the output of a simulation the issue is most likely:

1. You hooked up the circuit wrong. (this is almost always it)
2. You don't understand the circuit.
3. Your models are wrong.
4. You set the accuracy or step-size wrong.

Way, way down the list is SPICE is lying. I'm a professional at this stuff and I've only seen in ONE case where a simulator was making an error. And this was an accelerated matrix-solver, not a vanilla SPICE.

Seriously, "SPICE is wrong" should be the LAST assumption you make.
 
  • #17
Yeah you are right carlgrace, I might be influenced by some analog epic, Bob Pease ;)
 
  • #18
Hahah that famous "What's all this SPICE stuff anyway?" article! :)

That thing is so obsolete it isn't even funny.

Although the photo of Bob throwing his PC off the roof of the National Semiconductor parking lot was pretty funny.

I knew Bob (he passed away a couple of years ago) and he refuted that article years ago. He used SPICE. In fact, in a modern IC, breadboarding is MUCH more likely to lie to you than SPICE.
 
  • #19
carlgrace said:
Hahah that famous "What's all this SPICE stuff anyway?" article! :)

That thing is so obsolete it isn't even funny.

Although the photo of Bob throwing his PC off the roof of the National Semiconductor parking lot was pretty funny.

I knew Bob (he passed away a couple of years ago) and he refuted that article years ago. He used SPICE. In fact, in a modern IC, breadboarding is MUCH more likely to lie to you than SPICE.

That only makes sense. All analog legends might had fixed Tek. 547 using breadboard while eating pizza in MIT building 20 at 3 am. But they can never ignore the convenience and accuracy of SPICE program.
 

Similar threads

Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 26 ·
Replies
26
Views
4K
Replies
14
Views
2K
Replies
9
Views
7K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
93
Views
8K
  • · Replies 3 ·
Replies
3
Views
4K