spice impedance - input and output

spice impedance - input and output

Anonymous
Not applicable
1,199 Views
6 Replies
Message 1 of 7

spice impedance - input and output

Anonymous
Not applicable

Is there a way to use spice to get the input and output impedance of an analog circuit?

0 Likes
Accepted solutions (1)
1,200 Views
6 Replies
Replies (6)
Message 2 of 7

jorge_garcia
Autodesk
Autodesk
Hello @Anonymous,

I hope you're doing well. I don't know of a good way to simulate output impedance in SPICE. However, input impedance is pretty easy. Use and AC current source as the input to your circuit and set its value to 1A. The voltage across that current source is your input impedance. If you have your signals AC coupled you may have to set the RSHUNT option in the simulation setup to on.

Let me know if there's anything else I can do for you.

Best Regards,


Jorge Garcia
​Product Support Specialist for Fusion 360 and EAGLE

Kudos are much appreciated if the information I have shared is helpful to you and/or others.

Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.
0 Likes
Message 3 of 7

Anonymous
Not applicable

Thanks for the reply. I do indeed have AC coupling and was getting errors and unable to simulate. I will try turning RSHUNT on and try again. Thanks again for responding.

0 Likes
Message 4 of 7

Anonymous
Not applicable

My circuit is AC coupled and I followed you advice and turned on RSHUNT. The simulation now runs but the voltage at the output of the current source is near zero. I have attached my simple schematic and the simulation setup screen. Thanks for your help.

0 Likes
Message 5 of 7

mtl_asm
Collaborator
Collaborator

Hi,

 

I believe "operating point" will only give DC values and dump them on your schematic.

 

You need to do an ac sweep, with probes to measure the voltage, current and phase, then you can calculate the impedance at each frequency in the sweep once you get teh bode plot (remember impedance is frequency dependent) 

 

you can google "how to measure impedance with spice" or something like that, there are many examples.

 

hope this helps.

 

s

 

 

0 Likes
Message 6 of 7

Anonymous
Not applicable

Excellent, thanks for the response. I will try it this evening.

0 Likes
Message 7 of 7

Anonymous
Not applicable
Accepted solution

I tried doing an AC sweep and it worked. To summarize, the missing key was that RSHUNT needs to be set to "ON" in the configuration in order for the simulation to run. It also to be an AC sweep. I have attached images of the schematic, configuration, and graph. Thanks for all the help from everyone.

0 Likes