- #1
Matthew Carson
- 7
- 0
Hi. I have a simple circuit with a third-part model. As far as I can tell using info from the internet I have everything correct, but I still get this problem. Please help me clear this log-jam, thanks!
Welcome to the PF.Matthew Carson said:Hi. I have a simple circuit with a third-part model. As far as I can tell using info from the internet I have everything correct, but I still get this problem. Please help me clear this log-jam, thanks!
* VCA810
*****************************************************************************
* (C) Copyright 2012 Texas Instruments Incorporated. All rights reserved.
*****************************************************************************
** This model is designed as an aid for customers of Texas Instruments.
** TI and its licensors and suppliers make no warranties, either expressed
** or implied, with respect to this model, including the warranties of
** merchantability or fitness for a particular purpose. The model is
** provided solely on an "as is" basis. The entire risk as to its quality
** and performance is with the customer.
*****************************************************************************
*
** Released by: WEBENCH(R) Design Center, Texas Instruments Inc.
* Part: VCA810
* Date: 01/15/2014
* Model Type: All In One
* Simulator: Pspice
* Simulator Version: v16.2.0
* EVM Order Number: N/A
* EVM Users Guide: N/A
* Datasheet: SBOS275F –JUNE 2003–REVISED DECEMBER 2010
*
* Model Version: 2.0
*
*****************************************************************************
*
* Updates:
*
* Version 1.0 : "VCA810 VOLTAGE CONTROLLED AMPLIFIER "MACROMODEL" SUBCIRCUIT
* CREATED 7/30/04 RRS"
* Release to Web
* Version 2.0 : Update header text
*
*****************************************************************************
* Notes:
* 1. The model still missing dc and noise to be added later
*****************************************************************************
*
* CONNECTIONS: NON-INVERTING INPUT
* | GROUND
* | | GAIN CONTROL, VC
* | | | OUTPUT
* | | | | POSITIVE SUPPLY VOLTAGE
* | | | | | NEGATIVE SUPPLY VOLTAGE
* | | | | | | INVERTING INPUT
* | | | | | | |
.SUBCKT VCA810/BB 1 2 3 5 6 7 8
* CONTROL VOLTAGE
Q1 7 3 13 P
C1 3 7 1E-12
Q2 7 2 13 P
I1 6 13 384E-6
Q3 10 11 7 N
R2 6 10 2
E1 11 7 POLY(1) (3,0) 0.45 -0.11911
G3 12 0 POLY(1) (10,6) 0 1
R3 12 0 139
C3 12 0 1.145E-9
G1 6 7 POLY(1) (6,10) 13.5102E-3 -0.489
G2 0 7 POLY(1) (6,10) 1.7958E-3 2.939E-3
* INPUT STAGE
Q01 20 1 26 N
C01 1 0 1E-12
Q02 21 8 26 N
C02 8 0 1E-12
R01 20 27 1E3
D01 29 27 DX
D03 6 29 DX
R02 21 28 1E3
D02 24 28 DX
D04 6 24 DX
IS 26 7 2.32E-3
* GAIN STAGE 1
R31 31 0 1E6
G31 31 0 POLY(2) (8,1) (12,0) 0 0 0 0 1.1E-6 0
* GAIN STAGE 2
R41 41 44 20E3
C41 41 44 230.25E-15
G41 41 44 0 31 1E-3
D41 41 43 DX
E41 44 43 POLY(1) (3,0) 100.2 14.87
R42 41 45 20E3
C42 41 45 230.25E-15
G42 41 45 0 31 1E-3
D42 42 41 DX
E42 42 45 POLY(1) (3,0) 100.2 14.87
E43 44 0 6 0 20
E44 0 45 0 7 20
* OUTPUT STAGE
E51 55 0 41 0 50E-3
D53 55 51 DX
D54 52 55 DX
D55 6 53 DX
D56 6 54 DX
D57 7 53 DZ
D58 7 54 DZ
G54 53 7 5 55 50E-3
G53 54 7 55 5 50E-3
V53 51 5 0.1833
V54 5 52 0.1833
G51 5 6 6 55 50E-3
G52 7 5 55 7 50E-3
R53 6 5 20
R54 7 5 20
.MODEL N NPN (IS=1E-12 BF=193)
.MODEL P PNP (IS=1E-12 BF=96)
.MODEL DX D(IS=1E-15 BV=200)
.MODEL DZ D(IS=1E-15 BV=50)
.ENDS
*$
Very cool -- good idea to try adding a dummy pin. Strange that the error occurred, but I agree that you've found a good workaround.Matthew Carson said:I added a dummy #4 pin in the symbol and and inserted the same in the spice model; it runs! Thanks for hint.
A mis-matched pin count error in LTSpice occurs when the number of pins on a component in a circuit does not match the number of pins specified in the model for that component. This can happen when a component is used in a different configuration or when the model is outdated.
To fix a mis-matched pin count error, you can either update the model for the component to match the number of pins in your circuit, or you can adjust the circuit configuration to match the pins in the model. You can also try using a different model for the component.
Yes, a mis-matched pin count error can cause simulation errors in LTSpice. This can result in inaccurate or unexpected simulation results, so it is important to resolve any mis-matched pin count errors before running simulations.
One common cause of mis-matched pin count errors in LTSpice is using a component in a different configuration than what is specified in the model. Another cause can be using an outdated model for a component. Additionally, manual editing of the circuit or model files can also lead to mis-matched pin count errors.
To prevent mis-matched pin count errors, it is important to carefully check the configurations and models for components in your circuit before running simulations. It is also helpful to regularly update and maintain the models used in your circuit. Additionally, it is recommended to use the correct naming conventions for components and to avoid manual editing of circuit and model files.