- subcircuit2ssc function that allows us to import simple SPICE subcircuits
- SIMetrix cosimulation interface that allows us to run cosimulations using Simscape and SIMetrix
Mismatch between Simscape and Ltspice
19 ビュー (過去 30 日間)
古いコメントを表示
I have implemented an operational amplifier firstly in Ltspice and then in Matlab Simscape. In Matlab Simscape I used the Band-Limited Op-Amp. For both circuits I have shown the trend of input and output voltage. The image below shows the result in LTspice

Detailed image:

Instead the following image show the result obtained in Simscape.

Detailed image:

Analyzing the two results, it is noticed that circuit implemented in LTspice had a expected behavior, instead the same is not true for the circuit implemented in Simscape. The operational amplifier implemented in Simscape seems severely limited by the slew rate that hides the bandwidth limitation.
I would like to know if this inequality could be linked with simulation parameter settings, the solver settings or something else.
The copy of the Simscape’s file is attached. Attached are also images of the simulation parameters used.
If further information is required I'm willing to provide you everything necessary.
Thank you for your interest and support.
0 件のコメント
回答 (1 件)
Sabin
2025 年 7 月 17 日
Simscape Electrical provides a variety of different levels of fidelity. For a fair comparison, both models must use the exact same fidelity. LTspice model may include details that are not covered by the Simscape model. Simscape Electrical supports different workflows involving SPICE such as:
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Integrated Circuits についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!