embedded pid autotuner video -凯发k8网页登录
in this video, we deploy a pid autotuner to embedded software running on lego® mindstorms® ev3 robot to automatically tune gains of a pid controller that provides power to the wheel to regulate its speed.
we use online pid tuner block, a new capability in simulink control design™ in release r2017b, to generate the code for the pid autotuning algorithm. we download the generated code to the lego ev3. we initialize the pid controller, running at 20 hz in the lego ev3 embedded software, with initial guesses and command step changes in reference speed to evaluate pid controller performance with initial gains. we show that system performance is poor, with large overshoot and oscillations.
we then use simulink® external mode to run the autotuning algorithm. the algorithm opens the feedback loop, injects an excitation signal into the plant, measures the output, and uses collected data to estimate plant frequency response. all of this is done in embedded software. the algorithm then computes pid gains for use in the pid controller. we test the new gains by requesting a series of step changes in wheel speed to demonstrate improved controller performance.
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 mathworks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- (español)
- (english)
- (english)
欧洲
- (english)
- (english)
- (deutsch)
- (español)
- (english)
- (français)
- (english)
- (italiano)
- (english)
- (english)
- (english)
- (deutsch)
- (english)
- (english)
- switzerland
- (english)
亚太
- (english)
- (english)
- (english)
- 中国
- (日本語)
- (한국어)