Home
last modified time | relevance | path

Searched refs:Kp (Results 1 – 6 of 6) sorted by relevance

/cmsis-dsp-3.7.0-3.6.0/Source/ControllerFunctions/
Darm_pid_init_q15.c58 S->A0 = __QADD16(__QADD16(S->Kp, S->Ki), S->Kd); in arm_pid_init_q15()
63 S->A1 = __PKHBT(-__QADD16(__QADD16(S->Kd, S->Kd), S->Kp), S->Kd, 16); in arm_pid_init_q15()
65 S->A1 = __PKHBT(S->Kd, -__QADD16(__QADD16(S->Kd, S->Kd), S->Kp), 16); in arm_pid_init_q15()
73 temp = S->Kp + S->Ki + S->Kd; in arm_pid_init_q15()
77 temp = -(S->Kd + S->Kd + S->Kp); in arm_pid_init_q15()
Darm_pid_init_q31.c58 S->A0 = __QADD(__QADD(S->Kp, S->Ki), S->Kd); in arm_pid_init_q31()
61 S->A1 = -__QADD(__QADD(S->Kd, S->Kd), S->Kp); in arm_pid_init_q31()
68 temp = clip_q63_to_q31((q63_t) S->Kp + S->Ki); in arm_pid_init_q31()
73 S->A1 = -clip_q63_to_q31((q63_t) temp + S->Kp); in arm_pid_init_q31()
Darm_pid_init_f32.c55 S->A0 = S->Kp + S->Ki + S->Kd; in arm_pid_init_f32()
58 S->A1 = (-S->Kp) - ((float32_t) 2.0f * S->Kd); in arm_pid_init_f32()
/cmsis-dsp-3.7.0-3.6.0/Include/dsp/
Dcontroller_functions.h185 q15_t Kp; /**< The proportional gain. */ member
200 q31_t Kp; /**< The proportional gain. */ member
215 float32_t Kp; /**< The proportional gain. */ member
/cmsis-dsp-3.7.0-3.6.0/PythonWrapper/cmsisdsp_pkg/src/
Dcmsisdsp_controller.c93 ,&self->instance->Kp in arm_pid_instance_q15_init()
108 GETFIELD(arm_pid_instance_q15,Kp,"h");
183 ,&self->instance->Kp in arm_pid_instance_q31_init()
198 GETFIELD(arm_pid_instance_q31,Kp,"i");
273 ,&self->instance->Kp in arm_pid_instance_f32_init()
288 GETFIELD(arm_pid_instance_f32,Kp,"f");
/cmsis-dsp-3.7.0-3.6.0/PythonWrapper/examples/
Dtestdsp.py62 pidf32 = dsp.arm_pid_instance_f32(Kp=1.0,Ki=1.2,Kd=0.4)
63 print(pidf32.Kp())