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

#include <riscv_math_controller.h>

Data Fields

q31_t A0
 The derived gain, A0 = Kp + Ki + Kd.
q31_t A1
 The derived gain, A1 = -Kp - 2Kd.
q31_t A2
 The derived gain, A2 = Kd.
q31_t state [3]
 x[n - 1], x[n - 2], and y[n - 1]
q31_t Kp
 The proportional gain.
q31_t Ki
 The integral gain.
q31_t Kd
 The derivative gain.

Field Documentation

◆ A0

q31_t riscv_pid_instance_q31::A0

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

◆ A1

q31_t riscv_pid_instance_q31::A1

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

◆ A2

q31_t riscv_pid_instance_q31::A2

The derived gain, A2 = Kd.

◆ Kd

q31_t riscv_pid_instance_q31::Kd

The derivative gain.

◆ Ki

q31_t riscv_pid_instance_q31::Ki

The integral gain.

◆ Kp

q31_t riscv_pid_instance_q31::Kp

The proportional gain.

◆ state

q31_t riscv_pid_instance_q31::state[3]

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


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