Hi Leute, ich habe gerade versucht, das Spice Modell vom LM358 (von National) in Switchercad einzubinden. Ich bin bisher gescheitert: Too many parameters vor subcircuit "lm358" (instance:x§u2)
Was mache ich falsch?
Hier das asy-File: Version 3 SymbolType CELL LINE Normal -8 8 8 16 LINE Normal -8 24 8 16 LINE Normal -8 8 -8 24 LINE Normal -7 12 -5 12 LINE Normal -7 20 -5 20 LINE Normal -6 21 -6 19 LINE Normal 0 8 0 12 LINE Normal 0 24 0 20 LINE Normal 1 11 3 11 LINE Normal 2 10 2 12 LINE Normal 1 21 3 21 WINDOW 0 4 8 Left 0 WINDOW 3 4 24 Left 0 SYMATTR Prefix X SYMATTR SpiceModel Private\lm358.lib SYMATTR Value LM358 SYMATTR Value2 LM358 SYMATTR Description Single supply OPV PIN -8 20 NONE 0 PINATTR PinName In+ PINATTR SpiceOrder 1 PIN -8 12 NONE 0 PINATTR PinName In- PINATTR SpiceOrder 2 PIN 0 8 NONE 0 PINATTR PinName V+ PINATTR SpiceOrder 3 PIN 0 24 NONE 0 PINATTR PinName V- PINATTR SpiceOrder 4 PIN 8 16 NONE 0 PINATTR PinName OUT PINATTR SpiceOrder 5
Und das lib.File:
*//////////////////////////////////////////////////////////////////////- (C) National Semiconductor, Inc.
- Models developed and under copyright by:
- National Semiconductor, Inc.
*/////////////////////////////////////////////////////////////////////
- Legal Notice: This material is intended for free software support.
- The file may be copied, and distributed; however, reselling the
- material is illegal
*////////////////////////////////////////////////////////////////////
- For ordering or technical information on these models, contact:
- National Semiconductor's Customer Response Center
- 7:00 A.M.--7:00 P.M. U.S. Central Time
- (800) 272-9959
- For Applications support, contact the Internet address:
- snipped-for-privacy@galaxy.nsc.com
*//////////////////////////////////////////////////////////
*LM358 DUAL OPERATIONAL AMPLIFIER MACRO-MODEL *////////////////////////////////////////////////////////// *- connections: non-inverting input
- | inverting input
- | | positive power supply
- | | | negative power supply
- | | | | output
- | | | | |
- | | | | |
- supply current is 1/2 of total device current.
- Output crossover distortion with dual supplies
- is not modeled.
- IOS 2 1 5N
- I2 3 4 75U
- EH 3 98 3 49 1 G1 98 9 POLY(1) 5 6 0 9.8772E-4 0 .3459
- F6 4 3 POLY(1) V6 300U 1 E1 3 23 3 15 1 R16 24 23 17.5 D5 26 24 DX V6 26 22 .63V R17 23 25 17.5 D6 25 27 DX V7 22 27 .63V V5 22 21 0.27V D4 21 15 DX V4 20 22 0.27V D3 15 20 DX L3 22 5 500P RL3 22 5 100K
- .MODEL DX D(IS=1E-15) .MODEL QX PNP(BF=1.111E3)
- .ENDS
Gruß Michael