When debugging this issue, follow these troubleshooting steps:
- If the simulation stop time is set to 'inf', change this to have a time to stop so you can better see the transient response and the transition into steady state.
- This modulation of filter out data could be one or both of:
- Poor solver convergence
- Nonlinearity effects from the op-amp
- To rule out poor solver convergence, check the solver settings:
- Check that the max time step is shorter than the AC frequency
- Ensure 'Absolute tolerance' is not set to 'auto' and 'Auto scale absolute tolerance' is off
- Try tightening the relative and absolute tolerances
- Replace the op-amp with the foundation library op-amp. This op-amp has no nonlinearity
- Run the simulation and check filter output
- Put the nonlinear op-amp back and explore the internal op-amp integrator using 'sscexplore'
- It can be seen that the op-amp is power rail limiting (+-15V) and is also slew-rate limiting.
In summary, the op-amp in the model is power rail limiting and also skew-rate limiting. The nonlinearity is the cause of the output waveform modulation.
- In the Solver Configuration Parameters, change the absolute tolerance from 'auto' and uncheck 'Auto scale absolute tolerance'.
- Replace the 'Band-Limited Op-Amp' block with the 'Op-Amp' block from the Foundational Library.