Azzera filtri
Azzera filtri

How to find sampling time for operation of a real time system?

3 visualizzazioni (ultimi 30 giorni)
I have a LEGO Mindstorms EV3, I have designed a algorithm to control the lego robot in upright position, basically i have made a two wheel inverted pendulum, so while running the robot through "Run on Target Hardware>>External Mode" i have taken a sampling time of 0.01 sec, well i want to know what is the basis for taking the sampling time or sampling rate for such real time system? If we do trial and error than i get to know that 50 samples i.e 0.02 sec is also sufficient, below it doesnt seem to work properly... so can you please suggest, some guidelines for selecting sampling time...

Risposte (0)

Categorie

Scopri di più su MATLAB Support Package for LEGO MINDSTORMS EV3 Hardware 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!

Translated by