
I think Arduino is not the best way in order to test a control strategy in real-Time. But I will try it once again. In spite of that I think a Data acquisition card should be the best choice. May be is more difficult but you can apply advanced control strategies. I dont know may be it is possible to do it with Arduino. For example if I want to test a linear quadratic controller, I dont know if Arduino will be able to calculate the state estimation of the system at each sampling time in order to apply a closed-loop control using, of course, the corresponding matrix gain, which can be obtained solving the Riccati Equation using the corresponding state-space representation of the analyzed system.
That's why I need to find, firstly, the state model of the system.
Which kind of input signal I can use for the DC motor and how can I deal with the potentiometer if I can just turn it from 0 to 300 degrees. It is difficult. I'm waiting some advice.
Thank you for reading