Delay in "realtime" response

Hello World! I'm constructing an inverted pendulum system, but I'm facing a great delay problem. The time time for response(write to pwm pin, it is) is very long. even with a PID controller, the processes takes about five to ten seconds. it's not sufficient time to balance the shaft. I'm communicating an arduino mega2560 with a matlab 2014b-simulink. I hope someone would be able to solve it. thanks.

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Simulink Supported Hardware 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by