Sorry guys,
newcomer here.
I am trying to create new symbols in my personal library to perform AA simulation and at the same time specify secific parameters for that kind of device (example: chip resistors on different sizes - like 0603 0805 and so on- each with their power rating etc.
What I tried is saving a copy of the R symbol from the ANALOG.OLG library, which is AA enabled, and renaming it to, say R_0603.
It looks like if I rename it, AA does not show the simulated component.
I think it has to do with the PspiceTemplate property value, which I read being
R^@REFDES %1 %2 ?TOLERANCE|R^@REFDES| @VALUE TC=@TC1,@TC2 ?TOLERANCE|\n.model R^@REFDES RES R=1 DEV=@TOLERANCE% TC1=@TC1 TC2=@TC2|
I have worked out a broad understanding of this (I cannot understand the part RES R=1 though)
How should I modify this?
Or is there an alternative to create sumbols simuylating resistors and being AA enable?
Thanks
Copyright © 2024 Cadence Design Systems, Inc. All rights reserved.
Hi,
Before you can use a part symbol from an existing OLB, you need to know the type of simulation model attached with the source part. If the original part symbol is attached to a device characteristic curves-based PSpice model, you only need to modify the implementation property. In case the original part symbol is attached to a template-based PSpice model, you will need to add the IMPLEMENTATION and the PSPICETEMPLATE property to the copied model.
It is recommended that unless you are very comfortable with different types of simulation models supported by PSpice, you should avoid situations where PSPICETEMPLATE property needs to be changed. You can either create symbols using the Model Editor or if you want to copy a symbol, select a symbol of same type and change the IMPLEMENTATION property.
Hope this helps.
Thanks
Thanks
not doing nothing really daring here - just trying to define two different type of resistors (each with their smoke params and Tol and TC1 and TC2) so that depending on the results of the AA analysis I can replace the component without having to specify manually the parameters and footprint once again.
As far as I understand, PSPICETEMPLATE is defining a plain
Rxx pin1 pin2 ResValue TC=tc1val,tc2val if TOLERANCE is not defined
If TOLERANCE is defined
Rxx pin1 pin2 modelRes ResValue TC=tc1val,tc2val
.model modelRes RES R=1 DEV=tolVal% TC1=tc1val TC2=tc2val
instead. All of this should work regardless of the schematic name - I wrote here to understand if there is something else to fix in the schematic, as this sounds weird to me
Yes, your understanding about PSPICETEMPLATE value is correct.
From your explanation, looks like you are not seeing the renamed part in AA because you havent' configured your my.olb in simulation setting dialog box.
PSpice will search the model only in the libraries that are configured for the project. Model libraries will be searched in the same sequence as listed in the Library Files list box in the Libraries tab of the simulation setting dialog box. Since my.olb is a custom library, you might have to add this in the Library Files list box.
Thanks
Thanks,
the lib is properly configured.
I'll make the example a bit clearer: here is a part of the schematics in my library:
R is a direct copy from ANALOG.OLB, R1 is again a direct copy from ANALOG.OLB, just renamed
In a test circuit, I insert an instance of R (here with refdes R2) and of R1 (here with refdes R3). I run the simulation which runs smoothly
But when I switch to AA, R3 does not show up - that's the issue
Hi Eddoh,
Please verify that you have
NB, try comparing properties between the working resistor and R3 (select both and push Ctrl + E on keyboard)
Notice any differences between the two columns?
Br,
Anders