Hi,
I’m trying to compare a few op-amps in a very simple balanced to unbalanced audio converter.
I successfully tested the schematic with AD797, now I am trying to test NE5534 but all I am able to get is “Fatal error: .ends without matching .subckt”. This is the model.
…
- NE5534 OPERATIONAL AMPLIFIER “MACROMODEL” SUBCIRCUIT
- CREATED USING PARTS RELEASE 4.01 ON 04/10/89 AT 12:41
- (REV N/A) SUPPLY VOLTAGE: +/-15V
- CONNECTIONS: NON-INVERTING INPUT
-
| INVERTING INPUT -
| | POSITIVE POWER SUPPLY -
| | | NEGATIVE POWER SUPPLY -
| | | | OUTPUT -
| | | | | COMPENSATION -
| | | | | / \
.SUBCKT NE5534 1 2 3 4 5 6 7
*
C1 11 12 7.703E-12
DC 5 53 DX
DE 54 5 DX
DLP 90 91 DX
DLN 92 90 DX
DP 4 3 DX
EGND 99 0 POLY(2) (3,0) (4,0) 0 .5 .5
FB 7 99 POLY(5) VB VC VE VLP VLN 0 2.893E6 -3E6 3E6 3E6 -3E6
GA 6 0 11 12 1.382E-3
GCM 0 6 10 99 13.82E-9
IEE 10 4 DC 133.0E-6
HLIM 90 0 VLIM 1K
Q1 11 2 13 QX
Q2 12 1 14 QX
R2 6 9 100.0E3
RC1 3 11 723.3
RC2 3 12 723.3
RE1 13 10 329
RE2 14 10 329
REE 10 99 1.504E6
RO1 8 5 50
RO2 7 99 25
RP 3 4 7.757E3
VB 9 0 DC 0
VC 3 53 DC 2.700
VE 54 4 DC 2.700
VLIM 7 8 DC 0
VLP 91 0 DC 38
VLN 0 92 DC 38
.MODEL DX D(IS=800.0E-18)
.MODEL QX NPN(IS=800.0E-18 BF=132)
.ENDS
…
At the end there was a 0x1a char that I deleted, after first test.
I have successfully used a SSM2017 model which is quite similar, so I am not able to find anything wrong, and where I had doubts I checked just to find that they are normal, even though old time, spice elements. I suppose there plainly is something Qspice rejects, but cannot find what.
Othe issue: I also tried to test OPA164x in the same simple circuit, but I initially got
Starting Gmin stepping.
Warning: Gmin stepping failed.
Starting source stepping.
Warning: Source stepping failed at 0.49899(1e-15)
Starting pseudo transient analysis.
Pseudo transient analysis failed.
Warning: Using skipbp
Fatal error: Timestep too small(1.26335e-19) at t=1.06769e-08
and I’ve not been able to solve the issue. I also tried adding
uic, .options gshunt=1e-12, .options gmin=1e-11, .options RelTol=0.00001
in various combination to no result (message changed, but always a timestep problem. Is there anything else that I might try??
Thank you in advance
Giorgio

