Signal filtering for MPC (model predictive controller) output.

11 ビュー (過去 30 日間)
Syed Adil Ahmed
Syed Adil Ahmed 2020 年 6 月 18 日
コメント済み: ali 2020 年 8 月 28 日
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 件のコメント
ali
ali 2020 年 8 月 28 日
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.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeModel Predictive Control Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by