Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] LTSpice Simulation error

Status
Not open for further replies.

Kerrowman

Member level 4
Member level 4
Joined
Oct 12, 2021
Messages
75
Helped
0
Reputation
0
Reaction score
2
Trophy points
8
Location
West Penwith
Activity points
579
Hi there,

I am trying to run a simulation in LTSpice of the circuit below but it keeps coming up with an error as in the image below.

Can anyone suggest what "\cb1" refers to? There is nothing in the imported transistor model to account for it.

Thanks

Julian

Inductor charging circuit.png

Sim error.jpeg
 

As there are few 'complex' components above, you could replace one by one to check which one is raising this error.
My guess is something related to the ldevice ibrary, try using a standsrd one.
 

Do you mean the inductors? They are all intrinsic Spice components and I’ve checked the imported MJL21194 model.
 

The imported model for the MJL21194 and which I have checked the file to see if there are any “\cb1” characters in.

This is the file text:

.MODEL Qmjl21194 npn
+IS=9.56205e-11 BF=62.3633 NF=0.858602 VAF=29.6613
+IKF=9.86004 ISE=7.00007e-12 NE=3.43749 BR=4.96358
+NR=0.925054 VAR=6.18692 IKR=4.87016 ISC=3.25e-13
+NC=4 RB=11.0204 IRB=0.1 RBM=0.1
+RE=0.000675706 RC=0.124974 XTB=0.150823 XTI=1.00001
+EG=1.11955 CJE=1.70807e-08 VJE=0.4 MJE=0.520397
+TF=1e-08 XTF=47.3046 VTF=1.88154 ITF=0.560261
+CJC=5e-10 VJC=0.95 MJC=0.238884 XCJC=0.800727
+FC=0.8 CJS=0 VJS=0.75 MJS=0.5
+TR=1e-07 PTF=0 KF=0 AF=1
* Model generated on Jan 25, 2004
* Model format: PSpice
 

First debug step would be to review the netlist.
Or zip the .asc file together with all non-standard libraries and special files and post it here.
 

Ok but doesn't the net list only appear when the simulation is run successfully?
--- Updated ---

Here they are:

Netlist.png


BJT imported file.png
 
Last edited:

Save .rtf as .txt file. The curly braces are in .rtf, but you don't see it because you open it with wordpad.
 

Thank you. It was imported and saved in a text editor on a Mac and which saves as an rtf file. So I need to find an editor that saves in .txt instead of .rtf
 

Hi,

if you can open it with you mentioned proram, simply copy the text and and include the SPICE file as SPICE directive. Than you do not need to store the SPICE model anywhere alse. And you do not need to include it by .lib or .inc.

INCLUDE_LIB.png



BR
 

Find the folders where any of the "stuff" sits. For each that LTSpice
could be pulling from (searchpath),

grep cb1 *

or use file contents search. A limited number of hits should be
found. Look backward to the preceding curly brace (which in
some dialects forces evaluation of the term before final netlist,
which is your problem) and then forward to the end of whatever
"line" of the netlist (incl continuation lines). Somewhere in that
span, an expression wants its "}".

Or more; perhaps the "}" was part of a larger chunk of lost text.
 

try: eliminate R2 and connect the bottom of v1 to ground(g in ltspice ) and if your problem exists still, refer to a ltspice group such as group.io .
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top