Smooth or filter too noisy data in simulink
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
Aquatris
le 19 Juin 2018
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.
Réponses (0)
Voir également
Catégories
En savoir plus sur Signal Generation and Preprocessing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!