필터 지우기
필터 지우기

How to convert PIDF to discrete transfer function?

조회 수: 2 (최근 30일)
Daniel Gelman
Daniel Gelman 2017년 8월 1일
댓글: Daniel Gelman 2017년 8월 1일
Hello,
I have discrete-time PIDF controller in parallel form with integrator and derivative filter methods are trapezoidal. The controller was designed in Discrete PID(z) Controller block in Simulink.
I want to convert the PIDF controller to a discrete transfer function - I am not sure how to do this. There are several examples online that show how to do it with standard forms of the PID controller, however I do need the trapezoidal filtering, which is often omitted in these examples.
I would greatly appreciate any advice, either how to do it on MATLAB or by hand.
Regards,
  댓글 수: 1
Daniel Gelman
Daniel Gelman 2017년 8월 1일
Nvm, this was easier than I originally thought. I ended up expanding the characteristic PIDF equation illustrated in the picture attached in the original post.
For anyone that is interested here is the solution:
CPz = tf([P],[1],Ts);
CIz = tf([I*Ts I*Ts],[2 -2],Ts);
CDz = tf([2*D*N -2*D*N],[2+N*Ts N*Ts-2],Ts);
CPIDz = CPz+CIz+CDz;
I verified the discrete transfer function with the original PIDF block in Simulink. The model differences were in the factor of 10^-10.

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

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by