Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Robotics Programming: PID Algorithm - Wall Following and Balancing

Автор: Coding Coach

Загружено: 2021-07-17

Просмотров: 20301

Описание:

Today's episode of Robotics Programming is a special one, we will learn how to write a PID or Proportional, Integral and Derivative controller. In this complete guide to understanding PID we will breakdown the Mathematics, give step by step examples and see it in use! We will apply it to solve problems in robotics by showing how it can be applied to create both a wall following robot and a balancing / standing one.

This versatile algorithm is a staple not just in robotics programming but in many engineering disciplines and is the go-to method so solve many problems. We will discuss each of the 3 components of the PID controller, there relationship to each other and the overall outcome and introduce the idea of tuning a PID controller. Using a handwritten problem and also how to implement a PID in C for Arduino helps visualize solving this problem.

The PID algorithm can look intimidating to the uninitiated, but it is actually just 3 simple math equations summed together. Proportional is simply multiplication, Integral maintains a running total, and Derivative subtracts to obtain the difference of the error from the previous time the algorithm ran.

Throughout this series we will be introducing topics on building and programming an autonomous mobile robot! You can follow along with each lab adding amazing new behaviors to you robot projects and learning the algorithms and tuning techniques that produce incredible robots! We will be exploring reactive algorithms such as PID, Potential Fields and A*. Along the way you will learn how to program behaviors such as object following, wall following, standing / balancing, go-to goal and object avoidance. This series is intended to allow you to follow along with your own robot.

Code access: Direct access to source code and additional resources are available by becoming a Coding Coach supporter. You can join and learn more here: https://codingcoach.net/sponsor . You may also copy the code from the video as you follow along.

This video series is meant to help anyone interested in programming robots follow along. You do not need to use the same robot as I do. Any mobile robot can run these same algorithms, you just have to tune the robot differently.

If you missed episode 1, you can find it here:    • Robotics Programming: Building an Autonomo...  
Episode 2:    • Robotics Programming: Ultrasonic Sensor | ...  
Episode 3:    • Robotics Programming: Servo Control for Ar...  
Episode 4:    • Robotics Programming: Servo and HC-SR04 Ul...  

The next video in this series will be arriving shortly, make sure to subscribe and ring the bell to be notified when it lands!

Playlist of the full series:    • Robotics Programming Labs  
Video that discusses the future direction of the series:    • Robotics Programming: Introducing Henry IX...  

Chapters:
0:00 Introduction
1:35 Control Systems
4:32 How to determine Error and Magnitude
8:25 Applying a PID Controller
9:20 PID Overview
11:48 Proportional
13:30 Integral
15:21 Derivative
16:09 Example PID Problem
28:09 Coding a PID
31:45 Conclusion
32:46 Outtakes

#codingcoach #arduinorobot #PID

Robot used
Pololu 3pi+: https://www.pololu.com/category/280/3...

Links to hardware: (Amazon Affiliate links)
S90 9g Servo (10 pack): https://amzn.to/3tmUhGN
Mini breadboards: https://amzn.to/2NeHXZA
Jumper Wire assortment: https://amzn.to/3bJD6Jh
470uf Capacitors: https://amzn.to/2ORqBSU
Break-away headers: https://amzn.to/3cwVapl

Other robots, batteries and tools
Elegoo Smart Car: https://amzn.to/3iG3uFO
Robot car chassis (with encoder cutout): https://amzn.to/3odlacY
Pololu Zumo: https://amzn.to/39TbaAC

Batteries:
EBL Rechargeable batteries: https://amzn.to/3pdiM7A

Micrometer Caliper Measuring Tool (To measure wheel diameter): https://amzn.to/3sQ0BqB

Robotics Programming: PID Algorithm - Wall Following and Balancing

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Robotics Programming: Ultrasonic Sensor | Object Following Arduino Robot

Robotics Programming: Ultrasonic Sensor | Object Following Arduino Robot

What is a PID Controller? | DigiKey

What is a PID Controller? | DigiKey

Как Сделать Настольный ЭЛЕКТРОЭРОЗИОННЫЙ Станок?

Как Сделать Настольный ЭЛЕКТРОЭРОЗИОННЫЙ Станок?

Robotics Programming: Building an Autonomous Mobile Robot | Arduino Lab Series

Robotics Programming: Building an Autonomous Mobile Robot | Arduino Lab Series

What does a PID controller do?

What does a PID controller do?

Robotics Programming Labs

Robotics Programming Labs

Day 1: Introduction to Computer Science and Programming - Learn to Code!

Day 1: Introduction to Computer Science and Programming - Learn to Code!

Революция в космонавтике | SpaceX и Blue Origin. ESA и NASA. Китай и Россия | Итоги 2025

Революция в космонавтике | SpaceX и Blue Origin. ESA и NASA. Китай и Россия | Итоги 2025

ПИД-регулирование скорости двигателя постоянного тока

ПИД-регулирование скорости двигателя постоянного тока

Как Сделать Робособаку на BLDC моторах | Часть №2

Как Сделать Робособаку на BLDC моторах | Часть №2

The Fastest Maze-Solving Competition On Earth

The Fastest Maze-Solving Competition On Earth

Controlling Self Driving Cars

Controlling Self Driving Cars

LLM и GPT - как работают большие языковые модели? Визуальное введение в трансформеры

LLM и GPT - как работают большие языковые модели? Визуальное введение в трансформеры

PID Controller Implementation in Software - Phil's Lab #6

PID Controller Implementation in Software - Phil's Lab #6

Как Сделать Идеальный Сервопривод из любого BLDC мотора | Векторное управление | Робособака №1

Как Сделать Идеальный Сервопривод из любого BLDC мотора | Векторное управление | Робособака №1

How to Visually Tune PID Control Loops

How to Visually Tune PID Control Loops

Но что такое нейронная сеть? | Глава 1. Глубокое обучение

Но что такое нейронная сеть? | Глава 1. Глубокое обучение

Robotics Programming: Introducing Henry IX | Potential fields | SLAM | Lidar

Robotics Programming: Introducing Henry IX | Potential fields | SLAM | Lidar

Hardware Demo of a Digital PID Controller

Hardware Demo of a Digital PID Controller

Как производятся микрочипы? 🖥️🛠️ Этапы производства процессоров

Как производятся микрочипы? 🖥️🛠️ Этапы производства процессоров

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]