代码搜索结果

找到约 10,000 项符合 PID 的代码

pid.h

#ifdef __cplusplus extern "C" { #endif // Typical PID Control Frame struct STRUCT_PID{ Uint32 SetPoint; //设定目标值 Uint32 Proportion; //比例常数 Uint32 Integral; //积分常数 Uint32 Derivative

pid.c

#include "DSP281x_Device.h" #include "pid.h" //PID Calculation Program Uint32 PIDCalc(struct STRUCT_PID *pp,Uint32 NextPoint,Uint32 SetPoint) { Uint32 dError,Error; pp->SetPoint=SetPoint;

pid.cpp

#include #include struct _pid { int pv; /*integer that contains the process value*/ int sp; /*integer that contains the set point*/ float integral; float pgain; float igain

pid.h

#ifdef __cplusplus extern "C" { #endif // Typical PID Control Frame struct STRUCT_PID{ Uint32 SetPoint; //设定目标值 Uint32 Proportion; //比例常数 Uint32 Integral; //积分常数 Uint32 Derivative

pid.c

#include "DSP281x_Device.h" #include "pid.h" //PID Calculation Program Uint32 PIDCalc(struct STRUCT_PID *pp,Uint32 NextPoint,Uint32 SetPoint) { Uint32 dError,Error; pp->SetPoint=SetPoint;

pid.h

#define PID_PARA_NUM 16 #define PID_PvSet 0 #define PID_Kc 1 #define PID_Ts 2 #define PID_Ti 3 #define PID_Td 4 #define PID_U 5 #define PID_P 6 #define PID_Out 7 #define PID_Mi 8