Search Content

Use the search bar above, explore content using the categories below, or log in to find your favorites.

PID Control with FreeRTOS

PID Control with FreeRTOS

In this episode, we delve into the fundamentals of control theory, focusing on PID (Proportional-Integral-Derivative) control. We explore what control systems are, why they are essential, and how they can be implemented using FreeRTOS. The video introduces basic concepts through relatable examples like thermostats and cruise control, then discusses the principles behind on-off control, proportional control, and PID control. We also demonstrate how to set up a PID controller using STM32 microcontrollers and FreeRTOS, including practical coding examples. This episode sets the stage for deeper dives into more robust control systems in future sessions.

  • 00:00 Introduction to Control Theory
  • 00:48 Understanding Control with Thermostat Example
  • 02:01 Historical Applications of Control Systems
  • 03:21 The Importance of Control Systems
  • 06:24 Basics of Feedback in Control Systems
  • 08:43 Forms of Control: On-Off and Proportional Control
  • 14:18 Advanced Control: PID Control Explained
  • 21:05 Implementing PID Control with FreeRTOS
  • 34:45 Setting Up PWM for PID Control
  • 40:06 Enabling Compare Mode and Update Events
  • 40:49 Running PWM Signal on PA6
  • 42:10 Setting Up PWM Feed and Building Structure
  • 44:00 Understanding PID Control Components
  • 47:29 Calculating PID Output and Duty Cycle
  • 53:54 Applying PID Control in Real-World Scenarios
  • 55:35 Q&A and Community Interaction

Website: https://devheads.io

Discord: https://discord.gg/drvheads

Meetups: https://app.livestorm.co/devheads-community/devheads-weekly-office-hours-1

YouTube: https://m.youtube.com/@devheads

LinkedIn: https://www.linkedin.com/company/devheadscommunity/

Facebook: https://www.facebook.com/share/1K284iwVX8/?mibextid=wwXIfr

Twitter/X: https://x.com/devheadscomm

Instagram: https://www.instagram.com/devheads.io/profilecard/?igsh=MW82dHZ1d2ZkYmRmYw==

Up Next