problem while tuning PID controller
이전 댓글 표시
I try to tune a PID-Controller in Matlab2010b if i use a discrete one i get the error Message "The second input argument of the "d2d" command must be a positive scalar." if i use a continuous one i get "Input to SVD must not contain NaN or Inf." what i have to pay attention that this block works fine? My system can became NaN due to a Sqrt-expression....
채택된 답변
추가 답변 (4개)
Arkadiy Turevskiy
2011년 12월 12일
0 개 추천
Can you provide the plant model?
Yoni
2012년 1월 19일
0 개 추천
Hi Martin,
I've had the same problem.
It seems the discrete PID option does not handle a sampling time of "-1" (should have inherited the sampling time it that case)
So the workaround for your problem is to enter your own explicit expression for the sampling time. do not leave it on "-1".
This should eliminate the "The second input argument of the "d2d" command must be a positive scalar."
Cheers, Yoni
댓글 수: 1
Nail
2018년 5월 14일
Also, simulation time must not be set to "inf".
카테고리
도움말 센터 및 File Exchange에서 PID Controller Tuning에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!