MATLAB Answers


This question is closed.


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

Asked by pravin behera on 7 Apr 2016
Latest activity Closed by Walter Roberson
on 7 Apr 2016
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...



0 Answers