Simulink scope giving out "noisy" output

So I have a simulink model that gives output of error signal fed back to a PID controller. The problem is that its very "noisy" (as can be seen below); whereas it is supposed to be flat (as shown in the 2nd picture). I can see that the shape of the noisy response is overall similar to the correct one; its just the noisy oscillations that make them different. Does anyone know why? I have chosen a stiff ode solver but this problem keeps persisting.aekx5ucub0131.png

2 Comments

You have not attached any 2nd picture. Did you try adjusting the tolerances?
Ariel, attaching the model will help us answer the question better.
Are your reference and feedback signals noise free? Have you tried playing with your PID gains?

Sign in to comment.

Answers (0)

Products

Release

R2018b

Asked:

on 28 May 2019

Community Treasure Hunt

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

Start Hunting!