Infineon Mosfet Spice Model to Simulink

조회 수: 6 (최근 30일)
Fan Yingpeng
Fan Yingpeng 2023년 10월 7일
답변: SANKALP DEV 2023년 12월 13일
Hello,
I am attempting to import the Infineon Mosfet/AIMW120R080M1 Pspice models into Matlab Simulink using 'subcircuit2ssc', however I get the error:
"Error using spiceV
V1 is not supported. Transient specification must occur after all <name>=<value> pairs."
Mosfet datasheet and Hyperlink of Pspice Model is attached
Code in matlab of Model Convertion is shown as below:
netlist = 'Infineon-CoolSiC_MOSFET_automotive_1200V_G1_2.1_enc_AIMW120R080M1.lib-SimulationModels-v01_00-EN.lib';
libName = '+Infineon-CoolSiC_MOSFET_automotive_1200V_G1_2.1_enc_AIMW120R080M1.lib-SimulationModels-v01_00-EN';
subcircuit2ssc(netlist,libName)

답변 (1개)

SANKALP DEV
SANKALP DEV 2023년 12월 13일
Hello Fan,
I understand that you are trying to import an Infineon MOSFET PSpice model into MATLAB Simulink using the ‘subcircuit2ssc’ function.
It appears that the error you encountered, "Error using spiceV V1 is not supported. Transient specification must occur after all <name>=<value> pairs," is related to the structure of the PSpice model file.
The error specifically mentions that "V1 is not supported," indicating an issue with the transient specification (‘V1’).
The error message states that the transient specification must occur after all <name>=<value> pairs. This aligns with the structure of the PSpice model file, where transient specifications such as ‘V1’ should come after parameter assignments.
To resolve this issue, I recommend reviewing the content of your PSpice model file (InfineonCoolSiC_MOSFET_automotive_1200V_G1_2.1_enc_AIMW120R080M1.lib-SimulationModels-v01_00-EN.lib). Ensure that transient specifications are correctly placed after all parameter assignments. Move the transient specifications (e.g., ‘V1’) to the end of the subcircuit definitions to comply with the expected structure.
Please note that the ‘subcircuit2ssc’ function in MATLAB Simulink expects a specific structure in the PSpice model file, and ensuring proper ordering is crucial for successful conversion. To know more about the supported format of PSpice model files, you can refer to the below provided MATLAB documentation: -
I hope it helps.
Thanks and Regards,
Sankalp dev.

카테고리

Help CenterFile Exchange에서 Choose and Parameterize Blocks에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by