-
PID
一个比较典型的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.)
- 2011-07-17 23:45:45下载
- 积分:1
-
pic16f676
i need same sours code pls help pudn
- 2012-09-04 20:21:03下载
- 积分:1
-
Discrete-Time
高端的离散时间傅里叶变换计算当然是你必不可少的需要(Discrete-Time Fourier Transform Computation )
- 2013-04-21 21:42:17下载
- 积分:1
-
biggest_lyapunov
用小数据量方法求最大lyapunov指数程序设计(With a small amount of data method, to calculate the largest index of program design lyapunov)
- 2009-11-13 16:34:49下载
- 积分:1
-
lunwen
录入图像,可以将一副图像读取并且显示出来(input image,it can read and show the image out )
- 2011-05-19 18:19:32下载
- 积分:1
-
batchML2
递推最小二乘法 系统辨识 参数辨识 matlab仿真(Recursive least squares method)
- 2011-06-16 21:28:32下载
- 积分:1
-
Glauert
风电叶片设计,利用Glauert公式计算诱导因子a,b(Glauert formula to calculate the induced factor a and b)
- 2013-10-17 10:18:52下载
- 积分:1
-
通信实验5--田叶
1.深入理解最佳基带系统的概念。
2.掌握用Matlab进行通信系统仿真的方法。(digital low-pass filter)
- 2017-06-26 18:03:37下载
- 积分:1
-
apiext
Matlab 官方工具箱使用说明
apiext外部程序使用手册(Matlab toolbox for use in official external program apiext user manual)
- 2008-01-26 17:21:06下载
- 积分:1
-
MadaTransfo
model of an induction motor to connect two different network of frequnce
- 2012-05-18 21:52:29下载
- 积分:1