How can the best possible convergence be achieved between simulations in Ltspice and Simscape?

7 次查看(过去 30 天)
I am simulating the switching of a mosfet with an inductive and resistive load. When doing the simulations in Ltspice and Simscape and comparing them, it is observed that in the turning on of the mosfet (in the simulation in Simscape) a very high voltage peak appears with oscillation measured at the mosfet’s drain. In the Ltspice simulation, this peak is much smaller and does not present oscillation.
LTspice schematic
Ltspice simulation
Simscape schematic
Simscape simulation

采纳的回答

Umar
Umar 2024-7-5
Hi Ignacio,
That is quite interesting. The discrepancy observed between the two simulations can be attributed to various factors such as modeling assumptions, numerical methods, and solver settings. For example, in Simscape, the physical modeling approach may introduce additional complexities related to electromagnetic interactions, leading to the observed high voltage peak and oscillations during MOSFET turn-on. Conversely, LTspice's simplified circuit model may not capture these nuances as accurately, resulting in a smaller peak without oscillation. To address this discrepancy and improve simulation accuracy, it is recommended to carefully review and adjust the model parameters, solver settings, and simulation time steps in both LTspice and Simscape. Additionally, validating the simulation results against experimental data or published literature can help verify the accuracy of the models and algorithms used.
  4 个评论
Umar
Umar 2024-7-8
Hi Ignacio,
I would recommend to approach LTSpice by sharing these plots with them and provide comments about differences being noticed. I don’t have LTSpice installed on my system. Hope, this will help resolve your problem.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Troubleshooting 的更多信息

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by