Effacer les filtres
Effacer les filtres

Tuning a PID controller with real time sensor input ?

4 vues (au cours des 30 derniers jours)
Kiat Nern Yeo
Kiat Nern Yeo le 10 Juin 2019
Commenté : Kiat Nern Yeo le 19 Juin 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 !!

Réponse acceptée

Sruthi Yenugula
Sruthi Yenugula le 12 Juin 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 commentaires
Kiat Nern Yeo
Kiat Nern Yeo le 19 Juin 2019
Ok sir thank you i will look through them

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by