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

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

#include <tpt_math_controller.h>

Data Fields

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

Detailed Description

Instance structure for the Q15 PID Control.

Field Documentation

◆ iA0

q15_t tpt_pid_q15_s::iA0

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

◆ iA1

q15_t tpt_pid_q15_s::iA1

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

◆ iA2

q15_t tpt_pid_q15_s::iA2

The derived gain, A2 = Kd.

◆ iKd

q15_t tpt_pid_q15_s::iKd

The derivative gain.

◆ iKi

q15_t tpt_pid_q15_s::iKi

The integral gain.

◆ iKp

q15_t tpt_pid_q15_s::iKp

The proportional gain.

◆ iState

q15_t tpt_pid_q15_s::iState[3]

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


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