代码搜索结果
找到约 10,000 项符合
PID 的代码
pid.h
extern unsigned char PID_regulate(float set_da,float t);
pid.lst
C51 COMPILER V6.02 PID 12/14/2007 08:26:09 PAGE 1
C51 COMPILER V6.02, COMPILATION OF MODULE PID
OBJECT MODULE PLACED IN G:\
pid.c
#include
unsigned char PID_regulate(float set_da,float t)
{
float ei;
unsigned char da_out,u0;
static float ei_old=0,eij=0;
u0=128;
ei=set_da-t;
eij=ei+eij;
da_out=4.143*
pid.m
function varargout = pid(varargin)
% PID M-file for pid.fig
% PID, by itself, creates a new PID or raises the existing
% singleton*.
%
% H = PID returns the handle to a new PID or
pid.asv
function varargout = pid(varargin)
% PID M-file for pid.fig
% PID, by itself, creates a new PID or raises the existing
% singleton*.
%
% H = PID returns the handle to a new PID or
pid.h
/*This file has been prepared for Doxygen automatic documentation generation.*/
/*! \file *********************************************************************
*
* \brief Header file for pid.c.
pid.c
/*This file has been prepared for Doxygen automatic documentation generation.*/
/*! \file *********************************************************************
*
* \brief General PID implementati
pid.m
function y=PID(kp,ti,td)
%PID控制系统的仿真函数
%kp,ti,td分别为比例系数,积分系数,微分系数
f=[0,0,0,5*ones(1,200)];%定义输入信号为幅度为50的单位阶越信号
y=zeros(1,203);%首先初始化输出信号y
for i=4:length(f)
y(i)=(21*ti*y(i-1)-((5*kp+5*td*t