¿ªÔÆÌåÓý

Re: LTspice models do not work in Qspice


 

¿ªÔÆÌåÓý

On 19/04/2025 13:00, suded emmanuel via groups.io wrote:
In the example I uploaded I used BSZ076N06NS3 N-ch MOSFET?
But in Qspice I used IRFR7446 mosfet which I generated the model for in Qspice that is all good, but I think the error is with regards to the UCC27282 model and not the mosfet!
Anyway the uploaded .zip file should work in LTspice, but Qspice is giving me an error:
Fatal error: No such subcircuit: COMPHYS_BASIC_GEN
"COMPHYS_BASIC_GEN" is the 4th line written in the model after ".SUBCKT" command line, could it be the format (sytntax) needs to be written differently?
The reason why I want to run the Qspice simulation to see it simulates faster than LTspice!?
Well, we can't run it because you have not uploaded the missing/changed files.

The syntax for COMPHYS_BASIC_GEN seems normal. Many TI models use a similar methodology - they are often made using the PSpice model tool, and they normally work OK in LTspice.

The only thing I wonder is whether the PARAMS: VDD=1 VSS=0 VTHRESH=0.5 syntax is accepted in QSPICE. But since I don't use QSPICE, I couldn't test it, anyway.

Perhaps you could try changing it from:
.SUBCKT COMPHYS_BASIC_GEN INP INM HYS OUT PARAMS: VDD=1 VSS=0 VTHRESH=0.5
..
..

..to:
.SUBCKT COMPHYS_BASIC_GEN INP INM HYS OUT
.PARAM VDD 1
.PARAM VSS 0
.PARAM VTHRESH 0.5
..
..

If that works, I guess it will then throw up similar errors in turn for all the other .subckts that use the same syntax - they will need the same fix.

If that does doesn't work, I give up. I suggest you ask for help from the QSPICE forum. Similar compatibility questions have been asked there before, right from day one. You can't reasonably expect much help for QSPICE from a group "dedicated to LTspice".

--
Regards,
Tony

Join [email protected] to automatically receive all group messages.