登录
首页 » Others » PID

PID

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

代码说明:

  一个比较典型的PID处理程序,在使用单片机作为控制cpu时,请稍作简化,具体的PID 参数必须由具体对象通过实验确定。由于单片机的处理速度和ram资源的限制,一般不采用浮点数运算, 而将所有参数全部用整数,运算到最后再除以一个2的N次方数据(相当于移位),作类似定点数运算,可 大大提高运算速度,根据控制精度的不同要求,当精度要求很高时,注意保留移位引起的“余数”,做好余 数补偿。这个程序只是一般常用pid算法的基本架构,没有包含输入输出处理部分。 (A typical PID process, using the microcontroller as a control cpu, make some simplification, the specific PID parameters must be determined experimentally by a specific object. As the chip processing speed and ram resource constraints, generally do not use floating-point operations, and all parameters of all integers, and divided by an operator to the last N-th power of 2 data (the equivalent of the shift) for a similar fixed-point operations, can greatly improve the speed of operation, according to the different requirements of precision control, when high precision, attention to retain the shift caused by the " remainder" and on the remainder of compensation. This procedure is commonly used basic structure pid algorithm, does not include input and output processing section.)

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

发表评论

0 个回复

  • plot_hht
    EMD处理及处理结果的显示 完整 直接处理即可(EMD treatment and treatment results display can be integrated directly with)
    2010-05-18 16:18:39下载
    积分:1
  • BaysianPGaussian
    最简单的贝叶斯分类器和高斯方法的结合案例 可直接运行 适合初学者(Combined with the simplest case of Bayesian classifier and Gaussian methods can be run directly suitable for beginners)
    2014-12-23 21:58:44下载
    积分:1
  • simulation
    机械手方面的几个例题的MATLAB仿真程序(Several examples robot side of the MATLAB simulation program)
    2010-12-11 15:31:08下载
    积分:1
  • mathematical-modeling-algorithm
    一本数学建模的算法大全,里面配有matlab和lingo的实例(A mathematical modeling algorithm Guinness, which is equipped with the instance of matlab and lingo)
    2013-01-27 16:09:24下载
    积分:1
  • Ransacfromwang
    使用matlab实现ransac算法,具体见程序(ransac)
    2009-09-12 12:53:25下载
    积分:1
  • MS_Regress_FEX
    这个Matlab程序估计、预测马尔可夫转换回归(Markov Switching Regression),绘制出K线图等回归。(The Matlab program estimates, forecasts Markov transition regression (Markov Switching Regression), drawing out the return of K line maps.)
    2010-08-23 21:51:07下载
    积分:1
  • GTOPO-30
    该程序用于读取GTOPO30. GTOPO30 是一个全球的数字高程模型,它覆盖西经180度至东经180度,南纬90至北纬90度的所有区域。它的分辨率为30秒(即0.00833333度),生成 一个21,600(行)×43,200(列)的DEM。其高程值范围在-407至8752米。在数字高程模型中,海洋地区被指定为-9999 。 低地沿海一带,海拔至少有1米。(GTOPO30 is a digital elevation model for the world, developed by USGS. It has a 30-arc second resolution (approximately 1 km) and is split into 33 tiles stored in the USGS DEM file format.)
    2015-09-08 10:50:29下载
    积分:1
  • matlab_MRF_examples
    基于马尔科夫随机场的图像分割matlab源码。包括ICM迭代条件模式求解最大后验概率算法。(based on the Markov random field image segmentation Matlab source. ICM conditions including iterative model for the largest posterior probability algorithm.)
    2007-05-19 21:13:44下载
    积分:1
  • Baseband_propagation
    Matlab script simulates the propagation of light in multilayered medium
    2011-08-05 15:32:44下载
    积分:1
  • lvboqi
    滤波器实例,matlab的,学完动态信号分析的作业,华南理工大学研究生课程(Filter instance, matlab, completion of the job of the dynamic signal analyzer, South China University of Technology postgraduate courses)
    2013-05-03 11:03:38下载
    积分:1
  • 696518资源总数
  • 106253会员总数
  • 14今日下载