登录
首页 » Others » PID-refer

PID-refer

于 2011-07-17 发布 文件大小:1KB
0 141
下载积分: 1 下载次数: 26

代码说明:

  在这里,被控量是小车转角,向上回朔是舵机的转角,再向上就是用来控制舵机的PWM波的占空比,也就是说你的被控量是PWM波的占空比;一旦你的 舵机安装方式确定后,小车前轮的左右极限转角也就定死了,也就是说你的PWM波的占空比的变化范围也就确定了,即被控量的论域确定了,以我的为 例是1225到1725,显然S12的模糊机无法直接输出这么大的数值,在此对于输出量的隶属度函数我选用的是单值的,对应9个等级(0-8),即对应9个 PWM占空比值,即对应9个角度值。模糊语言等级、输出等级以及实际PWM占空比值的对应关系如下。 (Themohu function is used in mainly control applications. PIDCalc performs one iteration of the PID algorithm. While the PID function works, main is just a dummy program showing a typical usage.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • LorenzData
    用作相空间重构分析的Lorenz 时间序列(Phase space reconstruction for the analysis of Lorenz time series)
    2010-10-21 10:55:59下载
    积分:1
  • adaptivefilter
    自适应滤波器原理第四版(答案与代码),作者西蒙-霍金(Adaptive Filter Theory Fourth Edition (the answer with the code), by Simon- Stephen Hawking)
    2009-11-26 14:01:43下载
    积分:1
  • Matlab-input-output-function
    MATLAB 输入输出函数 描述。还有常用函数简介(MATLAB input and output functions described. There are commonly used functions Introduction)
    2012-09-13 09:35:25下载
    积分:1
  • New-folder
    This function will display the radars buffer content in separate figures.
    2013-04-24 13:04:08下载
    积分:1
  • lowp
    本程序是切比雪夫低通滤波器,用于电力系统离散数据基波提取(This program is a Chebyshev low-pass filter for extracting the fundamental power system discrete data)
    2014-02-13 23:29:47下载
    积分:1
  • predictedcontrol
    预测控制,通过当前输入和预测未来输出来控制输出值,使系统尽快达到稳定。(Predictive control to predict the future by the current input and output to control the output value, allowing the system to stabilize as soon as possible.)
    2009-11-04 21:21:39下载
    积分:1
  • Binary-GA
    Binary Genetic algorithm
    2011-05-01 14:21:42下载
    积分:1
  • FFTsolver
    快速傅里叶变换自编程序,直接运行即可,简单方便实用(Fast Fourier Transform self program can be run directly, simple and convenient and practical)
    2013-09-24 22:03:05下载
    积分:1
  • Gui
    matlab编程代码中的GUI设计非常有用,都是初级设计,希望有说帮助,(some design about matlab gui)
    2011-12-20 09:26:00下载
    积分:1
  • LAPORAN-KEL-1-SPEECH-RECOGNITION
    speech recognition for DSP
    2012-10-03 19:49:06下载
    积分:1
  • 696518资源总数
  • 105584会员总数
  • 19今日下载