Skip to content

A seamless integration of an Arduino-driven PID control system with a Python-based real-time graphing interface. Adjust PID parameters and setpoints dynamically, monitor feedback loops, and manage system performance all in one place.

Notifications You must be signed in to change notification settings

Atrabilis/Interactive_PID_Controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Real-Time PID Controller and Graphical Interface

This repository contains a real-time control system for a PID (Proportional, Integral, Derivative) controller with a graphical user interface (GUI). The system leverages an Arduino-based hardware setup for process control and a Python application using PyQt5 and pyqtgraph for visualization and interaction.

Key Features:

  • PID Control: Fine-tune your system with real-time PID parameter adjustments.
  • Serial Communication: Communicates with Arduino over a serial connection to apply control commands and read sensor data.
  • Graphical Visualization: Real-time plotting of system variables such as target vs. actual position, error values, and PID contributions.
  • User Interaction: Update target values and PID parameters on-the-fly through an intuitive GUI.
  • Anti-Windup Handling: Toggle anti-windup feature from the interface to prevent integral term saturation.

Ideal for educational purposes, hobbyists, or as a starting point for more complex control systems.

Scheme

The scheme of the project is shown below:

Scheme

in this case a L298N is utilized but any motor controler is enough.

Materials

For this project in specific, the materials utilized are shown below:

  • Arduino 1
  • L298N
  • USB B cable
  • DC motor with encoder (model unknown)
  • Breadboard

About

A seamless integration of an Arduino-driven PID control system with a Python-based real-time graphing interface. Adjust PID parameters and setpoints dynamically, monitor feedback loops, and manage system performance all in one place.

Topics

Resources

Stars

Watchers

Forks