This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TINA/Spice/LM3886: Can't resolve .param ibrkv=1m"

Part Number: LM3886
Other Parts Discussed in Thread: TINA-TI

Tool/software: TINA-TI or Spice Models

Hey folks,

after including the .lib file for the Audio amp LM3886 in PSpice by copying the file in the sub folder, opening the file in Spice and selecting auto create new symbol and changing its Value and ModelFile to the right ones i get the same issue all the time.

When i try to run the whole thing it says "Can't resolve .param ibrkv=1m". Unfortunately i got no clue what this could mean and why this happens. I changed nothing in the lib file btw.

I could just figure out that it has to do with this part of the lib file.

I would really appreciate your help.

Kind regards

Fabian Janoth

.SUBCKT lm3886 Vip Vin VDD VSS Vout MUTE
IS2         VDD 19 200N
IS3         18 VSS -210N
Vos         19 20 1M
XU7         VDD VSS Vimon PD ILOAD_PD_0
XU2         12 10 11 GNDF PD GBW_SLEW_SE_0
+ PARAMS: AOL=115 GBW=8MEG SRP=19.1MEG SRN=19.1MEG IT=1M VON=0.5 ROFF=1M
XU3         14 13 PD OUT_CURRENT_CLAMP_PD_0
+ PARAMS: RON=0.1 ROFF=100MEG VON=0.5 IMAX=11.5 IMIN=-11.5
XU5         MUTE PD VDD VSS IV110_0
XU4         VDD GNDF 15 16 GNDF PSRR_0
+ PARAMS: PSRR=120 FPSRR=8K
XU_TF       11 17 GNDF TF_0
+ PARAMS: FZ1=10G FZ2=10G FZ3=10G FZ4=10G FZ5=10G FP1=10E6 FP2=10G FP3=10G
+ FP4=10G
XU1         VDD VSS PD IQ_IOFF_0
+ PARAMS: VON=0.5 IQQ=50M IOFF=0.5M
XD4         VSS 18 IDEAL_DIODE_0
+ PARAMS: EMCO=0.01 BRKV=60 IBRKV=1M
XD3         18 VDD IDEAL_DIODE_0
+ PARAMS: EMCO=0.01 BRKV=60 IBRKV=1M
XD2         VSS 19 IDEAL_DIODE_0
+ PARAMS: EMCO=0.01 BRKV=60 IBRKV=1M
XD1         19 VDD IDEAL_DIODE_0
+ PARAMS: EMCO=0.01 BRKV=60 IBRKV=1M
XU_GND      VDD VSS GNDF GND_FLOAT_0
XU6         13 Vout Vimon AMETER_0
+ PARAMS: GAIN=1

  • Hi Fabian,

    On the file, there is statement such as this

    .SUBCKT IDEAL_DIODE_0  A C
    +PARAMS: EMCO = 0.01 BRKV = 60 IBRKV = 1M)
    D1 A C IDIODE
    .MODEL IDIODE D(N = {EMCO} BV = {BRKV} IBV = {IBRKV})
    .ENDS

    Try to delete the ")" next to the 1M and see how that will help. If that still does not help, what kind of Spice are you using? Is it Pspice 17.2/Allegro or other type of spice? If it's Pspice/Allegro, could you attach your project file completely to this post (.OPJ, .DSN and folders associated with the project)? .. this is so that I can download and debug and see what's happening.

    Herman

  • Dear Herman,

    Thanks for your help i'm really grateful for your reply. It solved the problem. Was a sneaky little fault.

    Fabian