liba 0.1.15
An algorithm library based on C/C++
|
fuzzy proportional integral derivative controller More...
Go to the source code of this file.
Data Structures | |
struct | a_pid_fuzzy |
instance structure for fuzzy PID controller More... | |
Macros | |
#define | a_pid_fuzzy_init(ctx) |
initialize for fuzzy PID controller | |
#define | A_PID_FUZZY_BFUZZ(n) |
compute size of memory block for fuzzy PID controller | |
Typedefs | |
typedef struct a_pid_fuzzy | a_pid_fuzzy |
typedef struct a_pid_fuzzy | a::pid_fuzzy |
Enumerations | |
enum | { A_PID_FUZZY_EQU , A_PID_FUZZY_CAP , A_PID_FUZZY_CAP_ALGEBRA , A_PID_FUZZY_CAP_BOUNDED , A_PID_FUZZY_CUP , A_PID_FUZZY_CUP_ALGEBRA , A_PID_FUZZY_CUP_BOUNDED } |
enumeration for fuzzy PID controller operator More... | |
Functions | |
void | a_pid_fuzzy_set_opr (a_pid_fuzzy *ctx, unsigned int opr) |
set fuzzy relational operator for fuzzy PID controller | |
void * | a_pid_fuzzy_bfuzz (a_pid_fuzzy const *ctx) |
get memory block for fuzzy PID controller | |
void | a_pid_fuzzy_set_bfuzz (a_pid_fuzzy *ctx, void *ptr, size_t num) |
set memory block for fuzzy PID controller | |
void | a_pid_fuzzy_set_rule (a_pid_fuzzy *ctx, unsigned int nrule, double const *me, double const *mec, double const *mkp, double const *mki, double const *mkd) |
set rule base for fuzzy PID controller | |
void | a_pid_fuzzy_set_kpid (a_pid_fuzzy *ctx, double kp, double ki, double kd) |
set proportional integral derivative constant for fuzzy PID controller | |
double | a_pid_fuzzy_run (a_pid_fuzzy *ctx, double set, double fdb) |
calculate for fuzzy PID controller | |
double | a_pid_fuzzy_pos (a_pid_fuzzy *ctx, double set, double fdb) |
calculate for positional fuzzy PID controller | |
double | a_pid_fuzzy_inc (a_pid_fuzzy *ctx, double set, double fdb) |
calculate for incremental fuzzy PID controller | |
void | a_pid_fuzzy_zero (a_pid_fuzzy *ctx) |
zeroing for fuzzy PID controller | |
Variables | |
double(*)(double, double) | a_pid_fuzzy_opr (unsigned int opr) |
get fuzzy relational operator for fuzzy PID controller | |
fuzzy proportional integral derivative controller