liba 0.1.15
An algorithm library based on C/C++
|
Data Structures | |
struct | a_pid_neuro |
instance structure for single neuron PID controller More... | |
Macros | |
#define | a_pid_neuro_init(ctx) |
initialize for single neuron PID controller | |
Typedefs | |
typedef struct a_pid_neuro | a_pid_neuro |
Functions | |
void | a_pid_neuro_set_kpid (a_pid_neuro *ctx, double k, double kp, double ki, double kd) |
set proportional integral derivative constant for single neuron PID controller | |
void | a_pid_neuro_set_wpid (a_pid_neuro *ctx, double wp, double wi, double wd) |
set proportional integral derivative weight for single neuron PID controller | |
double | a_pid_neuro_run (a_pid_neuro *ctx, double set, double fdb) |
calculate for single neuron PID controller | |
double | a_pid_neuro_inc (a_pid_neuro *ctx, double set, double fdb) |
calculate for incremental single neuron PID controller | |
void | a_pid_neuro_zero (a_pid_neuro *ctx) |
zeroing for single neuron PID controller | |
#define a_pid_neuro_init | ( | ctx | ) |
initialize for single neuron PID controller
[in,out] | ctx | points to an instance of single neuron PID controller |
double a_pid_neuro_inc | ( | a_pid_neuro * | ctx, |
double | set, | ||
double | fdb ) |
calculate for incremental single neuron PID controller
[in,out] | ctx | points to an instance of single neuron PID controller |
[in] | set | setpoint value |
[in] | fdb | feedback value |
double a_pid_neuro_run | ( | a_pid_neuro * | ctx, |
double | set, | ||
double | fdb ) |
calculate for single neuron PID controller
[in,out] | ctx | points to an instance of single neuron PID controller |
[in] | set | setpoint value |
[in] | fdb | feedback value |
void a_pid_neuro_set_kpid | ( | a_pid_neuro * | ctx, |
double | k, | ||
double | kp, | ||
double | ki, | ||
double | kd ) |
set proportional integral derivative constant for single neuron PID controller
[in,out] | ctx | points to an instance of single neuron PID controller |
[in] | k | proportional output coefficient |
[in] | kp | proportional learning constant |
[in] | ki | integral learning constant |
[in] | kd | derivative learning constant |
void a_pid_neuro_set_wpid | ( | a_pid_neuro * | ctx, |
double | wp, | ||
double | wi, | ||
double | wd ) |
set proportional integral derivative weight for single neuron PID controller
[in,out] | ctx | points to an instance of single neuron PID controller |
[in] | wp | proportional weight |
[in] | wi | integral weight |
[in] | wd | derivative lweight |
void a_pid_neuro_zero | ( | a_pid_neuro * | ctx | ) |
zeroing for single neuron PID controller
[in,out] | ctx | points to an instance of single neuron PID controller |