Implement PID controller in stateflow with simulink function interface get error!
조회 수: 5 (최근 30일)
이전 댓글 표시
Hello members,
I designed a position loop with pid and it works fine,but when I try to implement this pid controller in state flow ,i got the error below
'CollisionDetectWithVelocity/Chart/simfcn/PID W2/Filter' has sample time '0'. Only constant (inf) or inherited (-1)
sample times are allowed in 'function call' subsystem 'CollisionDetectWithVelocity/Chart/simfcn'.
And my stateflow are as follows:
![QW$CD7JURU(CNV`P5A_WIPC.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/222763/QW$CD7JURU(CNV`P5A_WIPC.png)
Can Somebady help me .
Best regards!
-John
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 PID Controller Tuning에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!