As a beginner, I've started this thread to put whatever I face of questions in LTSpice. For someone it may seem basic, but for me it will take me step ahead.
For now, here are two questions:
1- for the attached schematic, how to measure voltage across the transistor E and C (VCE)?
As a beginner, I've started this thread to put whatever I face of questions in LTSpice. For someone it may seem basic, but for me it will take me step ahead.
For now, here are two questions:
1- for the attached schematic, how to measure voltage across the transistor E and C (VCE)?
hi aljamri
To measure Vce, plot Vc ,as Ve is 0V reference potential
.tran 0,1 .2 1u
1....means run the Sim calculations for 1second time [ not real time as seen by the user]
.2 start to plot the data 0.2second after the Sim run starts
1u is the maximum time step for the calculations, I usually leave this blank, let LTS decide.
OK.?
BTW: your .tran means run the calcs for 10s time and start the plot 0 seconds later, with a cal interval of 1second.... not going to happen
EDIT:
Its always a big help if you post your asc file, when asking a question.
Trying to recreate the circuit in post #5 of this thread by crutschow, I did not add anything except than the components. When run the simulation , got the error message in the attachment , added the red circled text and everything went OK.
My questions are: 1- Where did this line came from, or simply I have to type it ? 2- What dose it mean ?
New question: Trying to recreate the circuit in post #5 of this thread, I did not add anything except than the components. When run the simulation , got the error message in the attachment , added the red circled text and everything went OK.
My questions are: 1- Where did this line came from, or simply I have to type it ? 2- What dose it mean ?
New question: Trying to recreate the circuit in post #5 of this thread, I did not add anything except than the components. When run the simulation , got the error message in the attachment , added the red circled text and everything went OK.
My questions are: 1- Where did this line came from, or simply I have to type it ? 2- What dose it mean ?
hi,
You have to declare on the circuit diagram the sub/model that you are using, it tells LTS where to look for the sub circuit, yes, type in that line.
hi.
Try this,
Delete the OPA from the circuit
F2, Opamps.......... select a OPA type you may recognise from the list.
Double click on it and place it on the circuit where the 'old' used to be.
You shouldn't need the include
Right click that '.include' use the Radio buttons to make it into a Comment [ it wil lbe ignored when you run the Sim] or you could just delete it.
All the commercial op amp models have the model parameters built-in so you don't need anything additional when you use those. The ideal op amp schematic icon does not have the model parameters included so you need to have the ".include opamp.sub" statement which adds the default ideal parameters. The opamp.sub file that's included is located in the LTC\LTspiceIV\lib\sub directory.