필터 지우기
필터 지우기

Simulation of PID without simulink

조회 수: 7 (최근 30일)
Maksym Zawrotny
Maksym Zawrotny 2019년 4월 9일
댓글: Ful0 2021년 4월 26일
Hello!
I am trying to simulate a plant and I cannot simulate output of PID controller. I got PID object by
pidtude(sys, type)
Method returned me a discrete time PID controller just as I wanted, but the problem is that
y = lsim(sys, u)
function cannot be used to simulate response of improper transfer function systems. Is there any other method which can I use to simulate response of pid object knowing input vector? I prefer not using simulink.
Thank you,
Maksym Zawrotny

채택된 답변

David Wilson
David Wilson 2019년 4월 9일
It's unusual to just simulate a PID controller, and yes the D-part typically makes it non-proper. Without adding a fast denominator term or two, this is an ill-advised thing to do.
You can of course simulate the PID & plant, say either with Gc*Gp or using series.
  댓글 수: 2
Maksym Zawrotny
Maksym Zawrotny 2019년 4월 9일
편집: Maksym Zawrotny 2019년 4월 9일
Thank you, combining transfer functions together made the thing. Another solution is to model PID controller D-action with inertial denominator term.
Ful0
Ful0 2021년 4월 26일
Hello,
Can I use a PID controller on Matlab without using Simulink?
I can't find information about that: everything seems referred to Simulink.
Can you help me suggesting me some links, please?
Thank you

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 PID Controller Tuning에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by