PSPICE Error when trying to run simulation

Click For Summary

Discussion Overview

The discussion revolves around troubleshooting errors encountered while running a simulation in PSPICE for a circuit involving a parametric sweep of a voltage source. Participants share their circuit schematics and errors, seeking solutions to resolve the issues faced during simulation.

Discussion Character

  • Technical explanation, Debate/contested, Experimental/applied

Main Points Raised

  • One participant describes an error encountered while attempting a parametric sweep from 0V to 30V with a 0.1V interval.
  • Another participant suggests that the connection to the base of the NPN transistor was incorrect, potentially causing a netlist error.
  • There is mention of a voltage source being connected backwards, which may affect circuit functionality.
  • Participants discuss the implications of the base current source being connected to the collector instead of the base.
  • A participant shares a new schematic and inquires if it would resolve the issues.
  • After adjustments, one participant reports that moving the ground symbol resolved the error they were experiencing.

Areas of Agreement / Disagreement

Participants express differing views on the causes of the errors, with some suggesting specific circuit adjustments while others seek clarification on the implications of those adjustments. The discussion remains unresolved regarding the initial errors and their specific causes.

Contextual Notes

Participants reference specific circuit configurations and errors without providing complete details on the netlist or all assumptions made in their circuit designs. The discussion includes iterative corrections and adjustments that are not fully resolved.

Who May Find This Useful

Individuals working with PSPICE simulations, particularly those troubleshooting circuit design errors or learning about NPN transistor configurations.

ammarb32
Messages
26
Reaction score
9
Hi, so I built this circuit
Circuit Schematic.PNG


I'm trying to run a parametric sweep of the voltage source. I'm running it from 0V to 30V with a 0.1V interval

So I put up the simulation settings that I wanted:

Simulation Settings For Circuit.PNG
and I ended up getting this error:
Error for Simulation.PNG


I tried it on different computers as well and I still got the same error.

Thank You.EDIT: I got a new, different error after designing the circuit from scratch again:

New Circuit Schematic:
New Circuit Schematic.PNG
New Error:

New Simulation Error.PNG
 
Last edited:
Engineering news on Phys.org
ammarb32 said:
Hi, so I built this circuitView attachment 95301

I'm trying to run a parametric sweep of the voltage source. I'm running it from 0V to 30V with a 0.1V interval

So I put up the simulation settings that I wanted:

View attachment 95302and I ended up getting this error:View attachment 95303

I tried it on different computers as well and I still got the same error.

Thank You.EDIT: I got a new, different error after designing the circuit from scratch again:

New Circuit Schematic: View attachment 95306New Error:

View attachment 95305
It looks like your connection to the base of the NPN transistor missed, and connected to the collector? That leaves the base open, which would generate a netlist error. Your voltage source is also backwards -- you need a + voltage supply for the collector in this circuit. :smile:
 
berkeman said:
ted to the colle

"Connected to the collector"? What exactly does that mean?

Also, I flipped the voltage source:

Voltage Flipped 180 degrees.PNG
 
ammarb32 said:
"Connected to the collector"? What exactly does that mean?

Also, I flipped the voltage source:

View attachment 95311
In your first version that you posted in post #1, the base current source is shown connecting to the collector of the NPN transistor, and the base is open. Now that is fixed, but your flipped voltage source is not connected to the collector, and there is no ground connection to the - terminal of the voltage source. :smile:
 
I have this schematic now. I'm wondering if this would fix it.

New Schematic 3.PNG
 
ammarb32 said:
I have this schematic now. I'm wondering if this would fix it.

View attachment 95312

It didn't work. I still get this error.
New Simulation Error 4.PNG
 
ammarb32 said:
It didn't work. I still get this error.View attachment 95313
Looks closer. Move the ground symbol down a couple grid points below the wires that connect to it, and run a wire down from that T point to the ground symbol.

Also, can you output the netlist from this circuit? That will help to figure out what the SPICE compiler doesn't like.
 
Hey, sorry I couldn't reply earlier. It worked when I moved the ground symbol down a couple grid points. Thank You! :)
 
  • Like
Likes   Reactions: berkeman

Similar threads

Replies
3
Views
2K
  • · Replies 18 ·
Replies
18
Views
36K
Replies
9
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
7
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
93
Views
9K
  • · Replies 12 ·
Replies
12
Views
4K