Tuning a PID controller with real time sensor input ?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Kiat Nern Yeo
il 10 Giu 2019
Commentato: Kiat Nern Yeo
il 19 Giu 2019
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 Commenti
Risposta accettata
Sruthi Yenugula
il 12 Giu 2019
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 Commenti
Sruthi Yenugula
il 19 Giu 2019
We just have examples for usage of fromApp and toApp blocks but nothing related to USB
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Modeling in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!