Algebraic loop: PID control DC motor in Simscape
이전 댓글 표시
I am trying to add a PID controller to the elec_motor_dc_pwm.slx DC motor Simscape example:
Original model:

My model:

However, Simscape complains about an algebraic loop in the feedback path.
This answer says models shouldn't contain both "physical signal to simulink" and "simulink to physical signal" converter blocks. (My picture does.) But then how do you design a feedback controller?
This Simscape help page suggests replacing the "PS-to-S" blocks with blocks like "PS Subtract" and "PS Gain". However, there is not a "PS Derivative" block, which would be needed for a PID controller.
Here is a link to these two models.
Thanks for your help.
댓글 수: 1
Sergio
2025년 3월 10일
use a delay 1/z in the feedback.....
채택된 답변
추가 답변 (1개)
Francisco J. Triveno Vargas
2024년 7월 9일
1 개 추천
Only is necessary include the memory block to cancel the algebric loop.
커뮤니티
더 많은 답변 보기: Power Electronics Community
카테고리
도움말 센터 및 File Exchange에서 Electrical Systems에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!