Smooth or filter too noisy data in simulink
2 次查看(过去 30 天)
显示 更早的评论
Hi I have a control model in simulink. I use a feedback controller where states are estimated using a observer. All states are observed with good accuracy however they are not so smooth. One of those states needs to go to controller and get derivatrd du/dt. But this derivation is very very noisy and it is of course because of the noisy estimated signal. It is a time serie and I need to smooth/filter the data so that the derivation start making sense. It totally ruins my controller. Is there any way to perform such a thing? I don't think that using smoothdata is an option since the filtering should occure during the simulation. Thanks in advance
1 个评论
Aquatris
2018-6-19
Do you add noise to your "measurements" in your simulation? If so, just add a simple low pass filter or butterworth filter before feeding the "measurement" signal to your observer. If you do not add noise to your system, than your observer might not be designed correctly.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Signal Generation and Preprocessing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!