Problem with derivative block simulink

3 ビュー (過去 30 日間)
Hamid Ghaedi
Hamid Ghaedi 2017 年 11 月 17 日
コメント済み: Purvaja 2025 年 3 月 10 日
I want to simulate these two equations in simulink to get the results. It's about adaptive control.
The outputs are dy1 and ddy2 How to simulate without using derivative block that makes the simulation infinite numbers? e.g integrator instead.
The inputs are y1ref and y2ref and y1 and y2ref and the equations are separate.
All The k11 k21 and k22 are constant numbers.
Any help is appreciated.
  4 件のコメント
Sam Chak
Sam Chak 2025 年 3 月 7 日
What is the issue of running these two so-called adaptive control equations in Simulink? I'm unfamiliar, but the OP mentioned that the measurable outputs are dy1 and ddy2, which I presume to be and , respectively. The state in the 1st equation can be obtained by integrating . Both and in the 2nd equation can be obtained by peforming and , respectively.
If both reference signals and are constants, then . If both and can be described by at least 2-times differentiable continuous-time mathematical models, then , , and can be manually computed beforehand. The real issue is when and are time series data.
However, do take note that the dynamics will be unstable if .
Purvaja
Purvaja 2025 年 3 月 7 日
Hello @Sam Chak
I am just a beginner in Simulink. I had some hands on on integrator block. This question intrigued me because here equations need to use 2 integrators in same equation, and I was not sure how to simulate it in Simulink, can you please explain me with respect to blocks in Simulink or best how to handle such equations with derivatives of 2 different variables used in same equation using integrator block?

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

回答 (1 件)

Sam Chak
Sam Chak 2025 年 3 月 7 日
Based on the information provided by the OP, I will likely construct the model as illustrated. However, if the reference is time series data, I believe that @Mathieu NOE's suggestion to use a high-pass filter to approximate the derivative signals is better.
  1 件のコメント
Purvaja
Purvaja 2025 年 3 月 10 日
Thankyou @Sam Chak.

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

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by