PID-based Digital Control Engineering with Raspberry Pi and Arduino Uno

By Dogan Ibrahim

Published by Elektor

Introduction and Diagram Description

This document introduces PID (Proportional-Integral-Derivative) control engineering, focusing on digital implementations using popular platforms like Raspberry Pi and Arduino Uno. The book provides practical examples and theoretical background.

Diagram Description: The diagram illustrates a process control system. It shows a distillation column with a reboiler. Inputs include 'Cold Water In', and outputs include 'Cold Water Out'. Key components are the 'MEG Distillation Column' and 'Reboiler'. Various sensors are indicated: 'TA' (Temperature sensor), 'TI' (Temperature Indicator), 'TT' (Temperature Transmitter), and a 'C' (Controller). Other indicators include 'EK' (Encoder Count) and 'DEG + TEG' (likely indicating output stream composition). Process streams are labeled, such as 'Phase A'. The diagram also features representations of a Raspberry Pi and an Arduino Uno, highlighting their use as control platforms.

Chapter 1: Control Systems

Covers fundamental concepts of control systems, including open and closed-loop circuits, and the role of microcontrollers in control loops. It also discusses the design of control systems.

Chapter 2: Sensors

Details various sensors used in computer-based control, such as temperature sensors (including digital ones), position sensors, speed/acceleration sensors, force sensors, pressure sensors, fluid sensors, and flow sensors.

Chapter 3: Transfer Functions and Time Behavior

Explains the mathematical representation of systems using transfer functions and analyzes their time-domain behavior for first-order and second-order systems, including time delays.

Chapter 4: Discrete-Time (Digital) Systems

Focuses on digital control, introducing concepts like sampling processes and the Z-transform, which is essential for analyzing discrete-time systems. It covers the Z-transform of functions and inverse Z-transforms.

Chapter 5: The PID Controller in Continuous-Time Systems

Provides a comprehensive overview of the PID controller, detailing its proportional, integral, and derivative components. It discusses parameter tuning methods (Ziegler-Nichols, Cohen-Coon) and practical aspects like saturation effects and integral windup.

Chapter 6: Digital PID Controllers

Explores the implementation of PID controllers in digital systems, including selecting sampling times and integrating the PID algorithm into microcontroller systems.

Chapter 7: ON-OFF Temperature Control

This chapter presents practical projects for ON-OFF temperature control using Arduino Uno and Raspberry Pi 4. Projects include basic ON-OFF control, control with hysteresis, and control using buttons or rotary encoders.

Chapter 8: PID Temperature Control with Raspberry Pi

Details practical projects for PID temperature control using the Raspberry Pi. Topics include determining temperature with a thermistor, analyzing system step response, PI control, and PID control implementation.

Chapter 9: PID Temperature Control with Arduino Uno

Focuses on PID temperature control projects using the Arduino Uno. This includes reading thermistor temperatures, implementing PID control, and utilizing the Arduino Uno PID library.

Chapter 10: Speed Control of DC Motors with Arduino and Raspberry Pi

Covers the control of DC motors, including different motor types (brushed, brushless, servo, stepper) and their characteristics. Practical projects involve motor speed and direction control using H-bridges, displaying RPM on LCDs, and implementing PID speed control.

Chapter 11: Water Level Control

This chapter explores water level control using ultrasonic sensors (HC-SR04) with Arduino Uno and Raspberry Pi. Projects include distance measurement and implementing PID-based water level regulation.

Chapter 12: PID-based LED Brightness Control

Demonstrates PID control for adjusting LED brightness using Raspberry Pi and Arduino Uno. Projects cover step response analysis and PID implementation for precise brightness control.

Publisher Information

Published by Elektor Verlag GmbH, Aachen. The book is based on the original title "PID-based Practical Digital Control" translated by Dr. Gunter Spanner. Elektor is a leading source for technical information and electronics products for engineers and developers.

PDF preview unavailable. Download the PDF instead.

Inhalt PID-basierte-digitale-Regelungstechnik Adobe InDesign 18.0 (Macintosh) Adobe PDF Library 17.0

Related Documents

Preview PID-based Practical Digital Control with Raspberry Pi and Arduino Uno
Master PID control with Raspberry Pi and Arduino Uno. This practical guide by Dogan Ibrahim from Elektor covers digital control systems, sensors, and hands-on projects for embedded systems and electronics enthusiasts.
Preview Motor Control with Arduino and Raspberry Pi: A Practical Guide
A comprehensive guide to controlling electric motors, stepper motors, and servo motors using Arduino and Raspberry Pi platforms. Includes practical projects for motor on/off control, speed adjustment, direction changes, and remote control via Bluetooth and Wi-Fi.
Preview PID-based Practical Digital Control with Raspberry Pi and Arduino Uno: Errata & Updates
This document provides essential errata and updates for the book 'PID-based Practical Digital Control with Raspberry Pi and Arduino Uno', detailing corrections to text, figures, and formulas to ensure accuracy for readers.
Preview The CAN Bus Companion: Projects with Arduino Uno & Raspberry Pi
A comprehensive guide to understanding and implementing the Controller Area Network (CAN) bus using Arduino Uno and Raspberry Pi. Explore CAN bus fundamentals, physical layer, frames, data exchange, interface modules, and practical project examples.
Preview Das CAN-Bus Praxisbuch: Projekte mit Arduino Uno und Raspberry Pi
Ein umfassender Leitfaden für die Arbeit mit dem CAN-Bus, der praktische Projekte mit Arduino Uno und Raspberry Pi vorstellt. Erfahren Sie mehr über CAN-Bus-Systeme, Frames, Datenübertragung und Fehleranalyse.
Preview MIT App Inventor Projects: 50+ Android and iOS Apps with Raspberry Pi, ESP32 and Arduino
A comprehensive guide to building over 50 Android and iOS applications using MIT App Inventor, with projects integrating Raspberry Pi, ESP32, and Arduino platforms. Covers setup, programming concepts, and practical examples for hobbyists and developers.
Preview Control Engineering with Fuzzy Logic: Practical Applications and Projects with Arduino, ESP32, and RP2040
A comprehensive guide to control engineering using fuzzy logic, featuring practical applications and projects with popular microcontrollers like Arduino, ESP32, and RP2040. Covers sensors, actuators, PID controllers, neural networks, and more.
Preview Raspberry Pi 4 and Pico Projects: Measuring, Controlling, Regulating
Explore practical projects for Raspberry Pi 4 and Raspberry Pi Pico, covering measurement, control, and regulation techniques with Python programming and hardware insights. This guide provides step-by-step instructions and project ideas for makers and electronics enthusiasts.