LIBML  Version 3.2.4
LIBML DSP Software Library
Data Structures | Typedefs | Functions
tpt_math_controller.h File Reference
This graph shows which files directly or indirectly include this file:

Data Structures

struct  tpt_pid_q15_s
 Instance structure for the Q15 PID Control. More...
 
struct  tpt_pid_q31_s
 Instance structure for the Q31 PID Control. More...
 
struct  tpt_pid_f32_s
 Instance structure for the floating-point PID Control. More...
 

Typedefs

typedef struct tpt_pid_q15_s tpt_pid_q15_t
 Instance structure for the Q15 PID Control. More...
 
typedef struct tpt_pid_q31_s tpt_pid_q31_t
 Instance structure for the Q31 PID Control. More...
 
typedef struct tpt_pid_f32_s tpt_pid_f32_t
 Instance structure for the floating-point PID Control. More...
 

Functions

static f32_t tpt_pid_f32 (tpt_pid_f32_t *aController, f32_t aX)
 Process function for the floating-point PID Control. More...
 
static q31_t tpt_pid_q31 (tpt_pid_q31_t *aController, q31_t aX)
 Process function for the Q31 PID Control. More...
 
static q15_t tpt_pid_q15 (tpt_pid_q15_t *aController, q15_t aX)
 Process function for the Q15 PID Control. More...
 
void tpt_pid_init_f32 (tpt_pid_f32_t *aController, bool aResetFlag)
 Initialization function for the floating-point PID Control. More...
 
void tpt_pid_init_q15 (tpt_pid_q15_t *aController, bool aResetFlag)
 Initialization function for the Q15 PID Control. More...
 
void tpt_pid_init_q31 (tpt_pid_q31_t *aController, bool aResetFlag)
 Initialization function for the Q31 PID Control. More...
 
void tpt_pid_reset_f32 (tpt_pid_f32_t *aController)
 Reset function for the floating-point PID Control. More...
 
void tpt_pid_reset_q15 (tpt_pid_q15_t *aController)
 Reset function for the Q15 PID Control. More...
 
void tpt_pid_reset_q31 (tpt_pid_q31_t *aController)
 Reset function for the Q31 PID Control. More...
 
static void tpt_clarke_f32 (f32_t *pIalpha, f32_t *pIbeta, f32_t Ia, f32_t Ib)
 Floating-point Clarke transform. More...
 
static void tpt_clarke_q31 (q31_t *pIalpha, q31_t *pIbeta, q31_t Ia, q31_t Ib)
 Clarke transform for Q31 version. More...
 
static void tpt_inv_clarke_f32 (f32_t *pIa, f32_t *pIb, f32_t Ialpha, f32_t Ibeta)
 Floating-point Inverse Clarke transform. More...
 
static void tpt_inv_clarke_q31 (q31_t *pIa, q31_t *pIb, q31_t Ialpha, q31_t Ibeta)
 Inverse Clarke transform for Q31 version. More...
 
static void tpt_park_f32 (f32_t *pId, f32_t *pIq, f32_t Ialpha, f32_t Ibeta, f32_t aSinVal, f32_t aCosVal)
 Floating-point Park transform. More...
 
static void tpt_park_q31 (q31_t *pId, q31_t *pIq, q31_t Ialpha, q31_t Ibeta, q31_t aSinVal, q31_t aCosVal)
 Q31 Park transform. More...
 
static void tpt_inv_park_f32 (f32_t *pIalpha, f32_t *pIbeta, f32_t Id, f32_t Iq, f32_t aSinVal, f32_t aCosVal)
 Floating-point Park transform. More...
 
static void tpt_inv_park_q31 (q31_t *pIalpha, q31_t *pIbeta, q31_t Id, q31_t Iq, q31_t aSinVal, q31_t aCosVal)
 Inverse Park transform for Q31 version. More...
 

Typedef Documentation

◆ tpt_pid_f32_t

typedef struct tpt_pid_f32_s tpt_pid_f32_t

Instance structure for the floating-point PID Control.

◆ tpt_pid_q15_t

typedef struct tpt_pid_q15_s tpt_pid_q15_t

Instance structure for the Q15 PID Control.

◆ tpt_pid_q31_t

typedef struct tpt_pid_q31_s tpt_pid_q31_t

Instance structure for the Q31 PID Control.