Oversampling in PID tuning
4 ビュー (過去 30 日間)
古いコメントを表示
I'm developing a PID controller to control the position of a laser beam. The controller will be implemented in software on a TI micro controller. The sampling time will be 15 us but I need to simulate the system at a higher frequency to check for higher frequency oscillations. What would be the best way to do it?
1 件のコメント
Muthu Annamalai
2015 年 7 月 27 日
編集済み: Muthu Annamalai
2015 年 7 月 27 日
Hello Wolfy
As Azizz has pointed out, it will be helpful if you specify what you are looking for here.
Do you want guidance on a Simulink model or MATLAB code. Does the MATLAB code have to generate C-code so you may put it one a microcontroller.
Better clarifications will help you get a prompt answer.
回答 (1 件)
Azzi Abdelmalek
2015 年 7 月 27 日
- The best way to do what?
- Your PID is continue or discrete?
- How about the system you are controlling?
2 件のコメント
Azzi Abdelmalek
2015 年 7 月 27 日
Wolfy, Even a continuous PID can be implemented with software, at a high frequency. However, for discrete PID, the frequency can't be chosen as high as you want, because it will cause the instability of your closed loop. The sample time depends on the system you want to control.
参考
カテゴリ
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!