Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
pravin behera
pravin behera le 7 Avr 2016
Clôturé : MATLAB Answer Bot le 20 Août 2021
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...

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by