Pspice Help: Plotting VTC of Circuit with Orcade Capture Lite

  • Thread starter ACLerok
  • Start date
  • Tags
    Pspice
In summary, the conversation discusses the process of plotting the VTC (Voltage Transfer Characteristic) of a given circuit using Orcade Capture Lite. The individual is having trouble getting the correct output and asks for help in achieving this task. A solution is proposed, which involves setting up a simulation profile and using a DC sweep analysis to collect data points. The individual also shares the type of circuit they are trying to model and presents screenshots of their output plots. After some troubleshooting and suggestions from others, a solution is found and the individual inquires about taking the derivative and finding corresponding values for noise margins. The conversation concludes with a discussion on the accuracy of the VTC produced by Orcade and the use of the D() function to find more accurate
  • #1
ACLerok
194
0
I need help plotting the VTC of a given circuit. I tried dividing the output signal by the input signal put that does not work. Is there a function I can use to achieve this? I'm using Orcade Capture Lite by the way.

Thanks in advance.
 
Last edited:
Engineering news on Phys.org
  • #2
Are you you using actual pspice code or the OrCad GUI ?
 
  • #3
I'm using the GUI. They haven't really gone over the code in depth.
 
  • #4
Configure your simulation as either a DC or parametric sweep. After running the simulation you should be able to add a trace with the output node voltage divided by the input node voltage.
 
  • #5
Is it a single output variable or do I have to use an operator or analog function to divide the two signals? I can't find anything that resembles the VTC of this circuit. :confused:
 
  • #6
I have not done this specifically before but I might still be able to help you. I apologize if I am over-simplifying your problem.

I am assuming that you are looking for a "Transfer Characteristic" for your circuit. I am also assuming that you have defined input and output nodes of your circuit. You just need to know which nodes you are interested in, they don't need to be labeled or anything.

After you enter your circuit in Capture you need to set up a simulation profile. Since you are plotting a voltage vs voltage curve you are going to need to sweep a voltage source to collect data points.

Make sure that the input node of you circuit has a VDC supply with the positive terminal connected to your input node and the negative terminal grounded. Configure your simulation to perform a DC sweep analysis through a range of values at specified intervals. Since it is your input voltage, the range of values will correspond to your desired X axis.

You do not need any probes on your circuit.

Run the simulation and it will bring up the PSPICE A/D window. You can then click on Trace > Add Trace. Narrow the results to voltages and select the output node. Enter a "/" to divide and then select the input voltage. When you add the trace you will have the input voltage on the X axis and the output voltage on the Y axis.

If you are still having problems you will need to give me more detailed information.
 
  • #7
Thanks! I haven't tried it yet, but I will in a bit once I get some time.
 
  • #8
I just tried it, and I was able to plot the output vs. the input. Unfortunately the plot did not come out looking correct. It might be the circuit that's causing the problem. I won't be able to mess around with it until tomorrow but I'll see if I can get it looking right then.
Thanks!
 
  • #9
What type of circuit are you trying to model? You could post a screen capture of the circuit and the results if you like.
 
  • #10
http://eden.rutgers.edu/~cjjacob/circuit.JPG"
http://eden.rutgers.edu/~cjjacob/voutvin.JPG"
http://eden.rutgers.edu/~cjjacob/vinvout.JPG"

It's just a regular BiCMOS logic inverter. I'm pretty sure the circuit is correct. I used the same parts that were suggested in the lab manual. i thought I'd also post what vin/vout looks like since it more resembles the VTC than the first plot.
 
Last edited by a moderator:
  • #11
Was missing a 100k Resistor between the output and ground. I just tested it with the resistor and I'm still getting the same output plots. :confused:
 
  • #12
I am not familiar with that type of circuit. I was hoping someone with some more electronics experience would check it for accuracy.

Are you sure that all of the circuit junctions are correct? Also, are the characteristics of the model components that you selected comparable to their real-world counterparts?

It looks like your sweep simulation is properly configured so I would almost assume that the issue is with your circuit or the components.
 
  • #13
The lab manual mentions no need to change and of the model parameters. Well I appreciate your efforts in helping me.
 
  • #14
Two things:

- Define Vout as Net Alias of the output node, run a DC Sweep with V5 as sweep variable, and add a trace of Vout

- Looks like the curse of the p-MOS FET in Orcad haunts you. Looks like the source and drain terminals on M1 (the IRF9140 one) are swapped. Do a Mirror Vertically of that transistor.

I did this with a stock demo version of Orcad 9 and arrived to a decent VTC.

Cheers.

Jose
 
  • #15
Thanks! One more thing, when taking the derivative I can just use the D() function correct? I just need to find the corresponding Noise Margins. I guess I can just 'eyeball' it or whatever, but I'd rather have a nice accurate value.
 
  • #16
With the stock models of transistors, the VTC that OrCAD produces is very "squarish". I think you could take values of VIH and VIL accurate enough from the corners of the charasteristic.

However, the true VTC of a BiCMOS inverter is "rounder" and, in the case of arriving to a "rounded" VTC, you better use the D() function.
 

1. What is PSPICE?

PSPICE is a circuit analysis software commonly used by scientists and engineers to simulate and analyze electronic circuits. It allows users to model and test the behavior of circuits before physically building them.

2. What is Orcade Capture Lite?

Orcade Capture Lite is a version of PSPICE that offers a simplified interface and limited features compared to the full version. It is often used by students or beginners to learn the basics of circuit simulation.

3. How do I plot VTC of a circuit in PSPICE?

To plot the VTC (voltage transfer characteristic) of a circuit in PSPICE, you will need to first create a schematic in Orcade Capture Lite and then run a simulation. Once the simulation is complete, you can use the plot function to display the VTC on a graph.

4. Can I customize the VTC plot in PSPICE?

Yes, PSPICE allows users to customize the VTC plot by adjusting the plot settings such as the voltage and current scales, plot colors, and labeling the axes. This allows for a more detailed and personalized analysis of the circuit's behavior.

5. Is there a tutorial or user guide for plotting VTC in PSPICE?

Yes, there are many resources available online that provide step-by-step tutorials and user guides for plotting VTC in PSPICE. You can also refer to the help section within the software for more specific instructions and tips.

Similar threads

  • Electrical Engineering
Replies
3
Views
3K
  • Electrical Engineering
Replies
18
Views
1K
  • Electrical Engineering
Replies
1
Views
3K
  • Electrical Engineering
Replies
7
Views
1K
  • Electrical Engineering
Replies
5
Views
14K
Replies
6
Views
3K
  • Electrical Engineering
Replies
20
Views
663
Replies
24
Views
3K
Replies
9
Views
4K
  • Electrical Engineering
Replies
6
Views
3K
Back
Top