代码搜索结果
找到约 10,000 项符合
PID 的代码
pid_moto.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.a*; *.src)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt)
pExt (*.plm)
CppX (*.cpp)
DaveTm { 0,0,0,0,0,0,0,0 }
pid_moto.lnp
"Char_map.obj",
"Main.obj",
"PIDmotor.obj",
"Sch51.obj",
"2_01_10i.obj",
"PC_O.obj",
"PC_O_in.obj"
TO "PID_Moto"
RAMSIZE(256)
OVERLAY (main ~ (PID_MOTOR_Poll_Speed_Pulse,
PID_MOTOR_Co
数字pid控制.m
%Discrete PID control for continuous plant
clear all;
close all;
ts=0.001; %Sampling time
xk=zeros(2,1);
e_1=0;
u_1=0;
for k=1:1:2000
time(k)=k*ts;
rin(k)=0.50*sin(1*2
pid_zn.m
den1=[1 6 11 6 0];
num1=[1];
sysrl=tf(num1,den1);
%Transfer function of the Root Locus PID controller
den_pid=[1 0];
num_pid=[4.74 6 1.91]; %Kd Kp Ki
rl_pid=tf(num_pid,den_pid);
%Placing PID co
pid_ga.m
clc
clear
close all
global sys_controlled
global time
global sysrl
%____________________________________________________________________
den1=[1 6 11 6 0];
num1=[1];
sysrl=tf(num1,den1);
%
wait_pid.c
/* Public domain. */
#include
#include
#include "error.h"
#include "haswaitp.h"
#ifdef HASWAITPID
int wait_pid(wstat,pid) int *wstat; int pid;
{
int r;
do
r = wa
fuzz_pid.m
a = newfis('fuzz_pid');
k1 = 1.0;
k11 = 0.5;
a = addvar(a,'input','deta1',[-4*k1,4*k1]);
a = addmf(a,'input',1,'NVH','gaussmf',[k11,-4*k1]);
a = addmf(a,'input',1,'NH','gaussmf',[k11,-3*k1]);
pid_design.m
%PID_DESIGN is the function used in CtrlLAB for PID controller design. In this
%function, different tuning algorithms are implemented, and details can be referred
%from the lecture notes.
%
%Av
pid_file.c
#ifdef HAVE_CONFIG_H
# include
#endif
#include
#include
#include
#include
#if HAVE_ERRNO_H
# include
#endif
#if HAVE_SIGNAL_H
# inc