Home
last modified time | relevance | path

Searched refs:Kd (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()
79 S->A2 = S->Kd; 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()
69 S->A0 = clip_q63_to_q31((q63_t) temp + S->Kd); in arm_pid_init_q31()
72 temp = clip_q63_to_q31((q63_t) S->Kd + S->Kd); in arm_pid_init_q31()
78 S->A2 = S->Kd; 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()
61 S->A2 = S->Kd; in arm_pid_init_f32()
/cmsis-dsp-3.7.0-3.6.0/Include/dsp/
Dcontroller_functions.h187 q15_t Kd; /**< The derivative gain. */ member
202 q31_t Kd; /**< The derivative gain. */ member
217 float32_t Kd; /**< The derivative gain. */ member
/cmsis-dsp-3.7.0-3.6.0/PythonWrapper/cmsisdsp_pkg/src/
Dcmsisdsp_controller.c95 ,&self->instance->Kd in arm_pid_instance_q15_init()
110 GETFIELD(arm_pid_instance_q15,Kd,"h");
185 ,&self->instance->Kd in arm_pid_instance_q31_init()
200 GETFIELD(arm_pid_instance_q31,Kd,"i");
275 ,&self->instance->Kd in arm_pid_instance_f32_init()
290 GETFIELD(arm_pid_instance_f32,Kd,"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)
65 print(pidf32.Kd())