I am trying PID tuning using RL how to incorporate filter coefficient in simulink

2 ビュー (過去 30 日間)
I am trying to do RL based PID tuning for that i neeed to incorporate filter coeffcient in my simulink model but i am unable to understand how to do it. Also how can i add initial value in my action signal in my matlab script.
thank you in advance for helping. I have attached the code and simulink file.

採用された回答

Shree Harsha Kodi
Shree Harsha Kodi 2023 年 6 月 30 日
To incorporate filter coefficients in your Simulink model and add an initial value to your action signal in your MATLAB script:
1. Incorporating Filter Coefficients in Simulink Model:
2. Add Initial Value to Action Signal in MATLAB Script:
By using the conditional statement, you assign the initial value only for the first iteration, and for subsequent iterations, the calculation logic takes over.
Here are some documentation resources that can help you with the same:
- Filtering Signals: https://www.mathworks.com/help/simulink/slref/filtering-signals.html
- Simulink Library Browser: https://www.mathworks.com/help/simulink/ug/simulink-library-browser.html
- Discrete Library: https://www.mathworks.com/help/simulink/slref/discrete.html
- Filtering Signals in Simulink: https://www.mathworks.com/help/simulink/examples/filtering-signals.html
- PID Controller Tuning in Simulink: https://www.mathworks.com/help/simulink/examples/pid-controller-tuning-in-simulink.html

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePID Controller Tuning についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by