Hi team.
It's possible to perform pspice simulations with netlist file exported from Kicad and tools like LTspice for models and subcircuit, and Qucs just for models.
Conditions for simulation:
- Symbol is named like is labeled in simulation model file.
Sometimes label doesn't match with part number of manufacturer.
DI_DFLS230LH: Label in simulation model
DFLS230LH-7: Part number
- Pinout distribution matches with simulation model file.
Sometimes distribution doesn't match with package.
.SUBCKT MCP6001 1 2 3 4 5
| | | | |
5 | | | | Output
4 | | | Negative Supply
3 | | Positive Supply
2 | Inverting Input
1 Non-inverting Input
MCP6001 (SC70-5, SOT-23-5)
1 | | | | Output
2 | | | Negative Supply
5 | | Positive Supply
4 | Inverting Input
3 Non-inverting Input
MCP6001U (SOT-23-5)
4 | | | | Output
2 | | | Negative Supply
5 | | Positive Supply
3 | Inverting Input
1 Non-inverting Input
Also, electrical parameters can be lost. In example, capacitor model doesn't show capacitance value.
- TDK P/N: C2012JB2A104M125AA (Multilayer Ceramic Chip Capacitor)
- Property: C=100nF
- Size(LxWxT): 2x1.25x1.25mm, 0.079x0.049x0.049inches
- Model Type: Simple Model
- Model Generated on Feb. 28, 2014
.SUBCKT C2012JB2A104M125AA_s 1 2
Other way to include electrical parameters to schematic symbols is writing directly in value field. In example of an inductor, these parameters are compatible with LTspice.
68u IPK=1.82 RSER=0.18318 RPAR=6405.6 CPAR=0 PN="MSS1038-683"
Conclusion:
It's necessary to have two schematic symbols for same part. One of them for simulation and other for pcb. For simulation, symbol name and pinout distribution must match with simulation model file.
Symbol name rules in Kicad Library Convention doesn't allow labeling schematic symbols like indicates simulation model.
Thanks.