Mismatch between Simscape and Ltspice

20 visualizaciones (últimos 30 días)
Domenico Pappalardi
Domenico Pappalardi el 10 de Oct. de 2017
Respondida: Sabin el 17 de Jul. de 2025
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.

Respuestas (1)

Sabin
Sabin el 17 de Jul. de 2025
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:

Community Treasure Hunt

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

Start Hunting!

Translated by