LIBDSP Version 4.1.9
LIBDSP Software Library
Loading...
Searching...
No Matches
tpt_pid_f32_s Struct Reference

Instance structure for the floating-point PID Control. More...

#include <tpt_math_controller.h>

Data Fields

f32_t fA0
 The derived gain, A0 = Kp + Ki + Kd.
f32_t fA1
 The derived gain, A1 = -Kp - 2Kd.
f32_t fA2
 The derived gain, A2 = Kd.
f32_t fState [3]
 x[n - 1], x[n - 2], and y[n - 1]
f32_t fKp
 The proportional gain.
f32_t fKi
 The integral gain.
f32_t fKd
 The derivative gain.

Detailed Description

Instance structure for the floating-point PID Control.

Field Documentation

◆ fA0

f32_t tpt_pid_f32_s::fA0

The derived gain, A0 = Kp + Ki + Kd.

◆ fA1

f32_t tpt_pid_f32_s::fA1

The derived gain, A1 = -Kp - 2Kd.

◆ fA2

f32_t tpt_pid_f32_s::fA2

The derived gain, A2 = Kd.

◆ fKd

f32_t tpt_pid_f32_s::fKd

The derivative gain.

◆ fKi

f32_t tpt_pid_f32_s::fKi

The integral gain.

◆ fKp

f32_t tpt_pid_f32_s::fKp

The proportional gain.

◆ fState

f32_t tpt_pid_f32_s::fState[3]

x[n - 1], x[n - 2], and y[n - 1]


The documentation for this struct was generated from the following file: