Tuning a PID controller with real time sensor input ?
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi all
I understand that it is possible to tune a PID controller according to various inputs, such as a RNG source block, a sine wave block, CSV value files etc.
However, how does one tune a PID controller using real time sensor data, especially from an android phone's sensors ? For example an accelerometer.
Can a PID controller be tuned interactively with the user moving and rotating the phone around ?
Cheers !!
댓글 수: 0
채택된 답변
Sruthi Yenugula
2019년 6월 12일
You can use TCP/IP blocks on Android to send sensor data to other hardware(Adruino/Rasberry pi/Lego) or host PC.
Check this example
댓글 수: 7
Sruthi Yenugula
2019년 6월 19일
We just have examples for usage of fromApp and toApp blocks but nothing related to USB
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Modeling에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!