PID Control 1.0
Discrete time implementation of P, PI, PD, PID. Including derivative filter, integral clamping, feed-forward, gain scheduling in standard and parallel form.
Loading...
Searching...
No Matches
pid_p.h File Reference

PID controller with configurable derivative filtering and feed-forward. More...

#include "filters.h"
#include "../utility/utility.h"
#include "../../src/pid/pid_p.tpp"
Include dependency graph for pid_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  control_system::pid::PID_P< T >
 PID controller with configurable derivative filtering and feed-forward. More...

Namespaces

namespace  control_system
 Contains control-system algorithms and controllers.
namespace  control_system::pid
namespace  pid
 Contains proportional-integral-derivative controller implementations.

Detailed Description

PID controller with configurable derivative filtering and feed-forward.

This file defines the control_system::pid::PID_P class, which implements a proportional-integral-derivative (PID) controller with configurable derivative filtering and feed-forward control.

The controller provides configurable proportional, integral, and derivative gains. The integral contribution and total controller output can be limited independently.

The derivative term can optionally be filtered using a first-order low-pass filter. A feed-forward term can also be added to the controller output.

The class provides access to the individual proportional, integral, and derivative contributions as well as the final controller output.

Template Parameters
TNumeric data type used for the controller calculations.
Author
Abhinay Kumar
Version
1.0.0
Date
2026-08-11

Definition in file pid_p.h.