LIBML  Version 3.2.4
LIBML DSP Software Library
Data Fields
tpt_pid_q31_s Struct Reference

Instance structure for the Q31 PID Control. More...

#include <tpt_math_controller.h>

Data Fields

q31_t iA0
 The derived gain, A0 = Kp + Ki + Kd. More...
 
q31_t iA1
 The derived gain, A1 = -Kp - 2Kd. More...
 
q31_t iA2
 The derived gain, A2 = Kd. More...
 
q31_t iState [3]
 x[n - 1], x[n - 2], and y[n - 1] More...
 
q31_t iKp
 The proportional gain. More...
 
q31_t iKi
 The integral gain. More...
 
q31_t iKd
 The derivative gain. More...
 

Detailed Description

Instance structure for the Q31 PID Control.

Field Documentation

◆ iA0

q31_t tpt_pid_q31_s::iA0

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

◆ iA1

q31_t tpt_pid_q31_s::iA1

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

◆ iA2

q31_t tpt_pid_q31_s::iA2

The derived gain, A2 = Kd.

◆ iKd

q31_t tpt_pid_q31_s::iKd

The derivative gain.

◆ iKi

q31_t tpt_pid_q31_s::iKi

The integral gain.

◆ iKp

q31_t tpt_pid_q31_s::iKp

The proportional gain.

◆ iState

q31_t tpt_pid_q31_s::iState[3]

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


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