Data Structures | |
struct | pid_params_struct |
Proportional-Integral-Derivative parameters specification. More... | |
struct | pid_struct |
Files | |
file | pid.h |
Private Interface for the Proportional-Integral-Derivative (PID) Controller. | |
file | pid_lib.h |
Public Interface for the Proportional-Integral-Derivative (PID) Controller. | |
Defines | |
#define | PID_DEF_TARGET_SE 0 |
Default target scheduling error for PID controller. | |
#define | PID_DEF_Z1 0.01 |
Default first pole (Z1) for PID controller. | |
#define | PID_DEF_Z2 0.4 |
Default second pole (Z2) for PID controller. | |
Typedefs | |
typedef struct pid_params_struct | pid_params_t |
Proportional-Integral-Derivative parameters specification. | |
typedef struct pid_struct | pid_ctrl_t |
Functions | |
qos_rv | pid_register (void) |
Register the PID class with the framework. | |
qos_rv | pid_init (void *self, void *self_params) |
Initialize a Proportional-Integral-Derivative controller. | |
qos_rv | pid_final (qmgr_ctrl_t *ctrl) |
Virtual destructor. | |
qos_bw_t | pid_fb_func (qmgr_ctrl_t *ctrl, qres_time_t sched_err) |
The StochDB feedback-based control function. | |
qos_rv | pid_set_defaults () |
Configures a Proportional-Integral-Derivative controller with default parameters. | |
qos_rv | pid_set_target_se (qres_time_t target_se) |
Sets the target scheduling error value. | |
qos_rv | pid_set_poles (double z1, double z2) |
Sets the two control poles. |
qos_rv pid_init | ( | void * | self, | |
void * | self_params | |||
) |
Initialize a Proportional-Integral-Derivative controller.
qos_rv pid_set_defaults | ( | ) |
Configures a Proportional-Integral-Derivative controller with default parameters.
Tells to the QoS library to use a PID controller with a default set of parameters (null target scheduling error).