Can the p function be used for symbols other than symbol:MN?
I tried to estimate the losses of a MOS device by creating an embedded Infineon device (symbol:X) and using the p function in a .measure statement, just as I would with symbol:MN, but I got the following error:
no such function p
My questions are:
1. Can the p function be used with symbol:X?
2. If it cannot be used, do I have no choice but to estimate it manually using VdsIds + VgsIg?
I have a 3-terminal subcircuit symbol for power measurement designed to fit a MOSFET symbol. Here is an example schematic. You can download this symbol from my GitHub (https://github.com/KSKelvin-Github/Qspice). /Symbols-KSKelvin/probes and measure/PowerProbe-3Terminals.qsym
Anyway, there is no different in using this formula, or differentiate voltage formula to compute total power. So, it is also calculating Vgs * Igs + Vds + Ids
First time I run the example “example.PowerProbe-3Terminals (MOSFET-Subckt).qsch” it run as intended.
Later on, re run same file I got this error message: “Fatal error: MM•X2: AF must be positive definite.”
Re-install QSpice and restarting PC didn’t resolve it. Any idea what is happening?
Update Qspice again; this bug has just been resolved by Mike. Something went wrong in the previous update regarding flicker noise in MOS, as AF is a flicker noise parameter.