pid controller (m-file ) with input data and output data

3 ビュー (過去 30 日間)
mohammed hussein
mohammed hussein 2022 年 3 月 5 日
コメント済み: Star Strider 2022 年 3 月 5 日
Hi
I have data input should inter to PID controller without feedback. only data into PID and get the results data out. I would like to make code in m-file represent this way (data input to PID and get out data)
thank you very much for helping

採用された回答

Star Strider
Star Strider 2022 年 3 月 5 日
See if the lsim function will do what you want.
  2 件のコメント
mohammed hussein
mohammed hussein 2022 年 3 月 5 日
Thank you for your answer, my question in simple way is if I have input data for example (A=5) input to PID (P=0.2, I=180) how can I get the output data by using MATLAB m-file.
Star Strider
Star Strider 2022 年 3 月 5 日
I have no idea what any of that refers to.
See the documentation I linked to in order to understand how to use lsim to get output from a specific input. Create a time vector and a corresponding input vector (or array) and then use lsim to get the system output from those inputs.

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

その他の回答 (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