replace Discrete PI Controller with anti-windup & reset for speed control with a matlab function
조회 수: 3 (최근 30일)
이전 댓글 표시
Ciao, sto utilizzando il tool motor control blockset per controllare un motore brushless.
Negli esempi, il controllo, per esempio della velocità, viene fatto tramite un blocco "Discrete PI Controller with anti-windup & reset"
Mi è stato chiesto di sostituire questo blocco con una matlab function, per effettuare lo stesso tipo di controllo, dunque per farlo, l'idea che ho, è quella di riprodurre la funzione del blocco che verrà sostituito, all'interno del blocco matlab function.
Questa idea è corretta? Sapete consigliarmi come applicarla?
댓글 수: 0
답변 (1개)
KrishnaKumar
2025년 4월 2일
The Discrete PID Controller block is a versatile block that allows multiple options for the user and is recommended to be used for code generation/simulation. If you however want to replace the same with a matlab function, the same can be done by implementing the underlying equations on your own.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!