Signal filtering for MPC (model predictive controller) output.

9 visualizaciones (últimos 30 días)
Syed Adil Ahmed
Syed Adil Ahmed el 18 de Jun. de 2020
Comentada: ali el 28 de Ag. de 2020
Hi,
Im using an Adaptive MPC to make a steering controller. But in order to track the path very accurately my MPC output has a lot of oscillations. In order to reduce this Ive tried reducing the constraints and tuning the MPC, but the oscillations still persist. The signal oscillation is shown in the figure below, titled noisy steering. Ive tried filtering the oscillations using moving average and median filter with some success, but I feel i can still do it better perhaps with some other filter which I'm unaware of.
Can anybody think of a suitable filter or advice of how to fix this without filtering? Personally I feel the MPC is working fine since it gives all the results that can be theoretically proved.
P.S. that this figure below was extracted from the closed loop system with the filter placed in series with MPC. Due to the filter the MPC works more and therefore to avoid the closed loop unstability and signal lag Ive had to keep the moving average window down to 4 and similarly the window for median filter is also 4.
  1 comentario
ali
ali el 28 de Ag. de 2020
I think you can use moving Average Filter and since you know for a moving average filter it will delay your signal by (N-1/2) samples, you calculate that and you use your (N-1/2) sample in your horizon, rather than your first point in your horizon.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Linear Plant Specification en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by