NMSIS-DSP  Version 1.3.1
NMSIS DSP Software Library
riscv_pid_instance_f32 Struct Reference

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

Data Fields

float32_t A0
 
float32_t A1
 
float32_t A2
 
float32_t state [3]
 
float32_t Kp
 
float32_t Ki
 
float32_t Kd
 

Detailed Description

Instance structure for the floating-point PID Control.

Field Documentation

◆ A0

float32_t riscv_pid_instance_f32::A0

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

◆ A1

float32_t riscv_pid_instance_f32::A1

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

◆ A2

float32_t riscv_pid_instance_f32::A2

The derived gain, A2 = Kd .

◆ Kd

float32_t riscv_pid_instance_f32::Kd

The derivative gain.

◆ Ki

float32_t riscv_pid_instance_f32::Ki

The integral gain.

◆ Kp

float32_t riscv_pid_instance_f32::Kp

The proportional gain.

◆ state

float32_t riscv_pid_instance_f32::state[3]

The state array of length 3.