I would like to know how to provide feedback on the scope's data during the simulation time.

2 次查看(过去 30 天)
I am encountering an error while providing feedback on the scope's data. Even when I placed it within the workspace block for feedback, the same error persists. How can I provide feedback for a large amount of data from the scope?
error:
  • Solver was unable to reduce the step size without violating minimum step size of 1.07009E-25 for 1 consecutive times at time 3.01203E-11. Solver will continue simulation with the step size restricted to 1.07009E-25 and using an effective relative error tolerance of 0.00319113, which is greater than the specified relative error tolerance of 0.001. This usually may be caused by the high stiffness of the system. Please check the system or increase the solver Number of consecutive min steps violation parameter.
error:
  • ['STP_TEST/Cylinder 5/Revolute_J10_2', 'STP_TEST/Solver Configuration']: 'STP_TEST/Cylinder 5/Revolute_J10_2' kinematic constraints cannot be maintained. Check solver type and consistency tolerance in the Simscape Solver Configuration block. Check Simulink solver type and tolerances in Model Configuration Parameters. A kinematic singularity might be the source of this problem.

回答(1 个)

Sam Chak
Sam Chak 2024-1-18
The errors likely don't stem from the Scope but are more likely a result of the system being excessively stiff, or the states switching rapidly at an unrealistically high frequency, possibly due to some discontinuous function. For instance, the Sign block can occasionally lead to such issues. I suggest showing the entire model or providing the Simulink file.

类别

Help CenterFile Exchange 中查找有关 Simulation and Analysis 的更多信息

标签

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by