필터 지우기
필터 지우기

Discrete PID reg. sample time and Solver options

조회 수: 1 (최근 30일)
Robin Beene
Robin Beene 2013년 5월 9일
I want to ask whether the sample times (1 inside the discrete PID governor and the another inside the configuration parameters ->Solver options-> Fixed-Step size) must be the same. I would like to have Solver option sample time: 0.001 but my discrete PID has 0.1. Unfortunately when I run simulation I get an error message and to avoid error I need to decrease my PID sample time to 0.001 but I don't want that.
Is there any other way to solve this out?
  댓글 수: 2
Arkadiy Turevskiy
Arkadiy Turevskiy 2013년 5월 9일
These 2 sampling times don't have to be the same. What is the error message you are getting?
Robin Beene
Robin Beene 2013년 5월 9일
I get error for proportional,derivation and integration gain "The sample time 0.1 of 'PELTON/Discrete PID Controller1/Derivative Gain' at input port 1 is different from the sample time [0, 0] of 'PELTON/Sum1' at output port 1. Consider inserting a Rate Transition block between the two ports. Alternatively, you can control the diagnostic action for unspecified rate transitions on the Sample Time Diagnostics pane of the Configuration Parameters dialog box."

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

채택된 답변

Arkadiy Turevskiy
Arkadiy Turevskiy 2013년 5월 13일
Try inserting a rate transition block like the tool says.
  댓글 수: 1
Robin Beene
Robin Beene 2013년 5월 13일
편집: Robin Beene 2013년 5월 13일
I did and it worked :P But I'm not sure does it make any difference to my results. Does the Rate transition block has any influence on my simulation results?

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

추가 답변 (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