필터 지우기
필터 지우기

How to create this equation in simulink?

조회 수: 10 (최근 30일)
Hein zaw
Hein zaw 2024년 4월 9일
답변: Finn 2024년 7월 16일 7:53
Hello, this equation is the discrete time PI controller transfer function. How can I create this equation in simulink? Please, any idea.
u(t) = u(t-1) + Kp [e(t) - e(t-1)] + Kp (Ts/Ti) e(t)
  댓글 수: 1
Sam Chak
Sam Chak 2024년 4월 9일
Have you tried using the Discrete PID Controller block to accomplish part of the equation in ?

댓글을 달려면 로그인하십시오.

답변 (2개)

Aquatris
Aquatris 2024년 4월 9일
편집: Aquatris 2024년 4월 9일
you can use 'delay' block to make the u(t) = u(t-1) part of the equation.
you can use another 'delay' block to make the e(t) = e(t-1) part of the equation.
Kp, Ts and Ti can be done via constants with 'divide' blocks or they can be 'gain' blocks themselves.
Then you would need some 'sum' blocks.
The rest is just connecting them appropriatly.

Finn
Finn 2024년 7월 16일 7:53
Your equation would look like this.

카테고리

Help CenterFile Exchange에서 Classical Control Design에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by