Transfer function analysis
Title
Question
Sir,
I tried using tf v(5) v1 for doing transfer function analysis using the ngspice window. It said Doing analysis. But then the values were not printed. Should I use any other command to get the input, output resistance and other values?
Oscad Schematic-Creation-and-Simulation 00-01 min 0-10 sec
Answers:
after you typed the command tf v(5) v1did u try typing the commandrunon Ngspice terminal?
Can you pls share the example?
<a href="https://drive.google.com/file/d/0B9lSgysdbrbAOEM3VGkxVEZ5X0k/edit?usp=sharing" target="" title="example 10.1">example 10.1</a> Yes sir.
You need to use print/plot statements to print or plot values.
Sir,
I tried print v(5)/v1 to print the resistance value but it said invalid vector. Can you please say what statements I should use to print input and output resistance and gain value sir?
print v(5)/v1 is incorrect. find out the node where v1 is connected to and type print v(5)/v(node#of v1).
It gave an error that "argument out of range for divide" sir.
first type print v(5), then print v(node#of v1). Check the output values. Also make sure if you are dividing the correct terms
Sir,
Can you please tell what should I type to get input resistance and output resistance values sir?
Place a current plot component in series with the input voltage, say v1. Now type print v(node#of v1)/i(v_u1)
Login to add comment
Login to add comment