- For the Ki gain of value 2, The value of Ki*Ts = 2*Ts, where Ts is the sample time of the block, which in many cases is the sample time of the algorithm where the block is used.
- One can refer any of the shipping demo of MCB (Motor Control Blockset) for clear understanding on how to decide the value of Ts. for eg: mcb_pmsm_foc_qep_f28379d, https://www.mathworks.com/help/mcb/gs/foc-pmsm-using-quadrature-encoder.html
What does Ki*Ts mean in Discrete PI controller ?
조회 수: 8 (최근 30일)
이전 댓글 표시
Hi everyone,
I am using a Discrete PI controller for an FOC algorithm I am developing in Simulink using the Motor Control Blockset. I would like to use a Ki gain if 2. At the input of the block, I have an input labelled Ki*Ts. If I use my gain with a sampling period of, let's say, 1ms, should Ki*Ts = 2e-3 ? What would be an appropiate sampling period (Ts) and what would be the reason for it ? Please any help would be really appreciated.
Discrete PI controller Documentation: https://www.mathworks.com/help/mcb/ref/discretepicontroller.html
댓글 수: 0
답변 (2개)
Sharat Yadav
2020년 12월 2일
I think the answer by Jesus clears the question, I am adding few points which one might find helpful.
댓글 수: 0
Jesús Zambrano
2020년 4월 18일
From the documentation about the meaning of Ki*Ts, it indicates that: "You must premultiply the integral gain value by the integrator sample time (Ts) for the block to execute within asynchronous interrupts."
You can see an example in this link https://www.mathworks.com/help/mcb/ug/design-current-controller.html
About: What would be an appropiate sampling period (Ts) and what would be the reason for it ?
This depends on your specific application. The sample time of the signal you want to implement the PI controller will give you this answer.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 C2000 Microcontroller Blockset에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!