liba 0.1.15
An algorithm library based on C/C++
 
Loading...
Searching...
No Matches
single neuron proportional integral derivative controller
Collaboration diagram for single neuron proportional integral derivative controller:

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, a_float k, a_float kp, a_float ki, a_float kd)
 set proportional integral derivative constant for single neuron PID controller
 
void a_pid_neuro_set_wpid (a_pid_neuro *ctx, a_float wp, a_float wi, a_float wd)
 set proportional integral derivative weight for single neuron PID controller
 
a_float a_pid_neuro_run (a_pid_neuro *ctx, a_float set, a_float fdb)
 calculate for single neuron PID controller
 
a_float a_pid_neuro_inc (a_pid_neuro *ctx, a_float set, a_float fdb)
 calculate for incremental single neuron PID controller
 
void a_pid_neuro_zero (a_pid_neuro *ctx)
 zeroing for single neuron PID controller
 

Detailed Description

Macro Definition Documentation

◆ a_pid_neuro_init

#define a_pid_neuro_init ( ctx)
Value:
void a_pid_neuro_zero(a_pid_neuro *ctx)
zeroing for single neuron PID controller

initialize for single neuron PID controller

Parameters
[in,out]ctxpoints to an instance of single neuron PID controller

Function Documentation

◆ a_pid_neuro_inc()

a_float a_pid_neuro_inc ( a_pid_neuro * ctx,
a_float set,
a_float fdb )

calculate for incremental single neuron PID controller

Parameters
[in,out]ctxpoints to an instance of single neuron PID controller
[in]setsetpoint value
[in]fdbfeedback value
Returns
output value

◆ a_pid_neuro_run()

a_float a_pid_neuro_run ( a_pid_neuro * ctx,
a_float set,
a_float fdb )

calculate for single neuron PID controller

Parameters
[in,out]ctxpoints to an instance of single neuron PID controller
[in]setsetpoint value
[in]fdbfeedback value
Returns
setpoint value

◆ a_pid_neuro_set_kpid()

void a_pid_neuro_set_kpid ( a_pid_neuro * ctx,
a_float k,
a_float kp,
a_float ki,
a_float kd )

set proportional integral derivative constant for single neuron PID controller

Parameters
[in,out]ctxpoints to an instance of single neuron PID controller
[in]kproportional output coefficient
[in]kpproportional learning constant
[in]kiintegral learning constant
[in]kdderivative learning constant

◆ a_pid_neuro_set_wpid()

void a_pid_neuro_set_wpid ( a_pid_neuro * ctx,
a_float wp,
a_float wi,
a_float wd )

set proportional integral derivative weight for single neuron PID controller

Parameters
[in,out]ctxpoints to an instance of single neuron PID controller
[in]wpproportional weight
[in]wiintegral weight
[in]wdderivative lweight

◆ a_pid_neuro_zero()

void a_pid_neuro_zero ( a_pid_neuro * ctx)

zeroing for single neuron PID controller

Parameters
[in,out]ctxpoints to an instance of single neuron PID controller