代码搜索结果
找到约 12,494 项符合
PID 的代码
ex1_24.m
% ex1_24
% 使用P、PI或PID控制器时控制器的参数
k=1,t=10,tor=3;[Gc,kc]=pid1(k,t,tor) % 得到P控制器传递函数Gc和参数kc;
k=1,t=10,tor=3;[Gc,kc,ti]=pid1(k,t,tor) % 得到PI控制器传递函数Gc和参数kc、ti;
k=1,t=10,tor=3;[Gc,kc,ti,td]=pid1(k,t,t
ex10_18.m
% ex10_18
% 获得当前选中的功能模块路径
open_system('onedead');
open_system('onedead/PID');
Td=get_param('onedead/PID','Td');
gcb('onedead/PID')
apid.m
function [Gc,Kc,KI,KD]=apid(G,Wcg,PM,ess)
% 解析整定法则根据所需闭环性能用解析方法计算PID控制器的参数
% 对象为G,可采用传递函数、零极点和状态空间模型
% Wcg是幅值交角频率,PM是相位裕度,ess是稳态误差
% Gc是PID控制器传递函数,Kc、KI和KD
% Copyright 2000-2001 ECUST.
% $R
pid_51.c
#include"stdio.h"
struct PID
{
unsigned int PV; /* 设定目标 */
unsigned int SV; /* 经过值 */
unsigned char KP; /* 比例常数 */
unsigned char KI; /* 积分常数 */
unsign
c34.m
%编写返回差值的.m文件
function F = tracklsq(pid,a1,a2)
% 设置PID参数
Kp = pid(1);
Ki = pid(2);
Kd = pid(3);
% 返回输出值
opt = simset('solver','ode5','SrcWorkspace','Current');
[tout,xout,yout] = sim('optsim',[
chap1_20.m
%PID Controler with Partial differential
clear all;
close all;
ts=20;
sys=tf([1],[60,1],'inputdelay',80);
dsys=c2d(sys,ts,'zoh');
[num,den]=tfdata(dsys,'v');
u_1=0;u_2=0;u_3=0;u_4=0;u_5=0;
排序例子.doc
排序前
Array
(
[0] => Array
(
[fid] => 1
[fleft] => 0
[fright] => 9
[lv] => 0
[fname] => _root_
[pid] => 0
daemonize.c
#include "apue.h"
#include
#include
#ifdef BSD
#include
#endif
#include
void
daemonize(const char *cmd)
{
int i, fd0, fd1, fd2;
pid_t pid;
struct
threadid.c
#include "apue.h"
#include
pthread_t ntid;
void
printids(const char *s)
{
pid_t pid;
pthread_t tid;
pid = getpid();
tid = pthread_self();
printf("%s pid %u tid %u (0x%x)\n", s, (u
request.c
#include "calld.h"
int /* return 0 if OK, -1 on error */
request(Client *cliptr)
{
pid_t pid;
/*
* Position where this client left off last (or rewind).
*/
errmsg[0] = 0;
sys_posn(clip