Back to Forums
3 posts / 0 new
Last post
#1 Oct 14, 2017
sourav
Offline
Last seen: 3 years 2 weeks ago
Joined: 2017-07-29 06:48

error in finding phase angle of current in AC circuit

sir/mam,

i am trying to simulate an AC circuit which is attached in the below link:

https://ibb.co/hjHaOw

i need to find phase angle of Is and I2

for finding Is i have attached a very low series resistance ( Rs ) (approximately equal to 0) as shown in the attached image link:

https://ibb.co/j0rMVb

but the pspice program is not giving the desied results!!

 

i have copied my Pspice .CIR file below:

 

To find phase angle of current in AC circuit
Vs 1 0 AC 50
Rs 1 2 1e-30
R1 2 3 10
L1 3 0 0.1
R2 2 4 20
C1 4 0 1000u
.AC LIN 1 15.9 15.9
.print AC IP(Rs) IP(R2) 
.end

 

output:


  FREQ        IP(Rs)      IP(R2)      


   1.590E+01  -9.000E+01   2.659E+01

 

But the actual value should be:

IP(Rs) = -18.44 degree 

IP(I2) = 26.59 degree

 

thus i am getting an incorrect value of IP(Rs) in Pspice!!

 

so please help me and guide me to simulate the circuit properly in Pspice

with thanks

 

Thu, 2017-10-19 04:23
oldmouldy
Offline
Last seen: 2 years 4 months ago
Joined: 2016-07-06 04:23

Try an actual sweep:

.AC LIN 100 15.0 15.99

Call the library:

.LIB

Open the Probe Window

.Probe

With these additional command in the CIR file, I get the expected results. In the PSpice Simulation Profile, just change the Sweep Parameters, the route for Capture will add the .LIB and .Probe commands.

Tue, 2017-10-31 12:37 (Reply to #2)
sourav
Offline
Last seen: 3 years 2 weeks ago
Joined: 2017-07-29 06:48

still i am getting the same results!!!

eg.: 

IP(Rs)        

-9.000E+01 

for all Freq !!!!

Download PSpice and try it for free! Download Free Trial
Cadence