How to import SPICE model into matlab Simulink?
이전 댓글 표시
Hello,
How to import SPICE model of SiC Mosfet into matlab Simulink? I downloaded the spice model in .lib file from rohm.com. But I did not know how to use SiC Mosfet in simulink.
답변 (1개)
Ganapathi Subramanian R
2024년 5월 10일
0 개 추천
Hi Biruk,
I understand that you would like to import SPICE model into Simulnk.
The 'subcircuit2ssc' function is used to convert SPICE subcircuit to custom Simscape components. Kindly refer to the below documentation to understand more about 'subcircuit2ssc' function.
Additonally, refer to the below documentation for further information regarding how to convert SPICE netlist into Simscape blocks.
I also found a relevant MATLAB Answer question similar to your query for CoolSiC MOSFET. Please find the link for the same below.
I hope this helps.
Thanks
댓글 수: 1
SUHANYA M S
2025년 9월 8일
Hi,
I'm trying to import a specific device "IMBG65R072M1H_L0" from a PSpice .lib file (unable to attach here) to Simulink, where I can use it as part of simulations in a larger system. I do not need to see the characteristics of the device.
Which one must be used - ee.spice.semiconductorSubcircuit2lookup or subcircuit2ssc..?
I really didn't understand how to do it. There is too much information there regarding each parameter. Is there a specific example reseource to just include rather than so much info to read?
For a start, I tried this:
I have used these lines as mentioned in the documentations :
libraryPath = ['D:\WORK FOLDER\.......\Infineon_SiC_Pspice_Models\IFX_C650V.lib'];
subcircuitName = "IMBG65R072M1H_L0";
SPICEPath = "C:\Program Files\SIMetrix850\bin64\Sim.exe"; %I don't have PSpice installed in my system.
Then, I included the line (given below) as mentioned in the link.
lookuptable = ee.spice.semiconductorSubcircuit2lookup(libraryPath, subcircuitName, "SPICEPath"= SPICEPath); % Line 5
I get an error:
"Error: File: SiC_MOSFET_Pspice_Model.m Line: 5 Column: 95
Incorrect use of '=' operator. To assign a value to a variable, use '='. To compare values for equality, use '=='."
When I tried with the subcircuit2ssc command also, I got errors.
I have no clue about how to do this. please help!
Thanks.
카테고리
도움말 센터 및 File Exchange에서 Semiconductors and Converters에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!