- 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 ?
10 ビュー (過去 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!