Embedded PID Autotuner - Simulink Tutorial
In this video we deploy 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 PID Controller 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 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.
Learn more about Simulink Control Design: https://goo.gl/mTkMqF
See what's new in the latest release of MATLAB and Simulink: https://goo.gl/3MdQK1
Download a trial: https://goo.gl/PSa78r
Видео Embedded PID Autotuner - Simulink Tutorial канала MATLAB
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 PID Controller 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 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.
Learn more about Simulink Control Design: https://goo.gl/mTkMqF
See what's new in the latest release of MATLAB and Simulink: https://goo.gl/3MdQK1
Download a trial: https://goo.gl/PSa78r
Видео Embedded PID Autotuner - Simulink Tutorial канала MATLAB
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![How to Automatically Tune PID Controllers](https://i.ytimg.com/vi/ENhFepqjFOY/default.jpg)
![Maze Solving Lego EV3 Robot](https://i.ytimg.com/vi/Ro7T3q14uDY/default.jpg)
![DC Motor - PID Kontrol V1.0](https://i.ytimg.com/vi/qK3i_XkC9jM/default.jpg)
![PI Controller Software implementation for any microcontroller using C](https://i.ytimg.com/vi/v9Cch6Vl97M/default.jpg)
![LEGO EV3 Tutorial: PID Controller (Lego® EV3 Classroom)](https://i.ytimg.com/vi/WBfmMeNp1zo/default.jpg)
![Introduction to PID Control for VEX Robotics](https://i.ytimg.com/vi/D0H4t4n5J6k/default.jpg)
![Lego Self-Driving Minirobot | EV3](https://i.ytimg.com/vi/I5pBo6bxt5s/default.jpg)
![Gain Scheduling of PID Controllers](https://i.ytimg.com/vi/g7R1USqJOUo/default.jpg)
![PID Theory and Robotics: Breakthrough Junior Challenge](https://i.ytimg.com/vi/_bWvXn4ilrY/default.jpg)
![Fast Line Follower Robot with PID Control from JSumo](https://i.ytimg.com/vi/Vc28vGAgWys/default.jpg)
![A very fast Lego Mindstorms NXT Line Follower using PID on a competition](https://i.ytimg.com/vi/eGYKkFS8AlU/default.jpg)
![EV3 programming: Using Variables with sensors to save values and calibrate your robot!](https://i.ytimg.com/vi/iHpfPv8Rn5o/default.jpg)
![Robotchallenge 2015 Line Follower LEGO](https://i.ytimg.com/vi/oZ4yF_WrtpQ/default.jpg)
![Deep Learning with Raspberry Pi and MATLAB](https://i.ytimg.com/vi/i5XfCIdVStY/default.jpg)
![PID Velocity Control in Python](https://i.ytimg.com/vi/k46nCvOBllA/default.jpg)
![Getting Started with Simulink, Part 2: How to Add a Controller and Plant to the Simulink Model](https://i.ytimg.com/vi/a_DW7xznPco/default.jpg)
![PID Autotuning with LabVIEW](https://i.ytimg.com/vi/T9sZoDCtKyM/default.jpg)
![Encoder con Simulink (MATLAB SIMULINK - ARDUINO)](https://i.ytimg.com/vi/FCUNFx7_Z3E/default.jpg)
![wro 2019 junior high 49 sec](https://i.ytimg.com/vi/H1h-VVR5srQ/default.jpg)
![Understanding PID Control, Part 6: Manual and Automatic Tuning Methods](https://i.ytimg.com/vi/qj8vTO1eIHo/default.jpg)