-
这是一个比较典型的PID处理程序,在使用单片机作为控制cpu时,请稍作简化,具体的PID 参数必须由具体对象通过实验确定。由于单片机的处理速度和ram资源的限制...
这是一个比较典型的PID处理程序,在使用单片机作为控制cpu时,请稍作简化,具体的PID 参数必须由具体对象通过实验确定。由于单片机的处理速度和ram资源的限制,一般不采用浮点数运算,而将所有参数全部用整数,运算 到最后再除以一个2的N次方数据(相当于移位),作类似定点数运算,可大大提高运算速度,根据控制精度的不同要求,当精度要求很 高时,注意保留移位引起的“余数”,做好余数补偿。这个程序只是一般常用pid算法的基本架构,没有包含输入输出处理部分。-This is a typical PID process, as in the use of SCM control cpu, please slightly simplified, specific PID parameters to be specific targets identified by experiments. As SCM processing speed and ram resource constraints, generally do not use floating-point operations, and will use all the parameters of all integers, and the final calculations to divide one of the Nth 2 data (the equivalent displacement), will count for a similar operation, it will greatly increase the computing speed, control Accuracy of different requirements and high precision, displacement caused reservations to the attention of the "I", which I do several compensation. This procedure is commonly used algorithm pid the basic structure does not include input and output processing.
- 2022-03-19 08:10:44下载
- 积分:1
-
基于单片机的数字电压表 和 跑马灯的切换程序
基于单片机的数字电压表 和 跑马灯的切换程序-based SCM digital voltage meter and 5,250 of the switching process
- 2022-08-04 00:20:29下载
- 积分:1
-
1总线通信协议应用实例 (C51编写的源程序,keil)
1总线通信协议应用实例 (C51编写的源程序,keil)-a bus communication protocol application examples (C51 prepared by the source, c51)
- 2022-04-06 13:29:04下载
- 积分:1
-
基于单片机的电动机的正反转电路
机构简单,介绍详细
基于单片机的电动机的正反转电路
机构简单,介绍详细-Based on single-chip motor body positive circuit is simple, to introduce a detailed
- 2022-10-08 12:20:03下载
- 积分:1
-
单片机点对点通信,分为主机部分和从机部分。
单片机点对点通信,分为主机部分和从机部分。-Single-chip point-to-point communications, the host is divided into parts and parts from the machine.
- 2022-01-21 05:18:22下载
- 积分:1
-
由格89S52
89S52 单片机 + 74HC595 + 组成的8X8 LED 点阵驱动显示程序,Keil C环境编写,带显示字符压缩/解压源/显示/代码。-89S52 composed of lattice-driven 8X8 LED display program, Keil C environment preparation, showed a band of characters compression/decompression source/Display/code.
- 2023-03-03 19:00:03下载
- 积分:1
-
利用PIC16系列单片机开发的时钟,通过编译,直接下载就可使用...
利用PIC16系列单片机开发的时钟,通过编译,直接下载就可使用-The development of the use of PIC16 MCU clock, through the compiler, can use direct download
- 2023-03-15 03:00:03下载
- 积分:1
-
upd6453是NEC 的一颗OSD芯片,这是它的中文文档,还有开发的例子,下载了它,不用再为看几十页的英文头疼了,可以省你很多的时间....
upd6453是NEC 的一颗OSD芯片,这是它的中文文档,还有开发的例子,下载了它,不用再为看几十页的英文头疼了,可以省你很多的时间.-upd6453 is the NEC" s an OSD chip, which is its Chinese documents, as well as the development of an example, download it, do not have to read dozens of pages of the English as a headache, and can save you a lot of time.
- 2022-11-03 19:05:03下载
- 积分:1
-
一维多项式多组求值,利用系数预处理法对多项式p(x)=an
一维多项式多组求值,利用系数预处理法对多项式p(x)=an-1x^n-1+an-2x^n-2+...+a1x+a0,进行多组求值。其中n=2^k-Many one-dimensional polynomial evaluation group, using coefficient polynomial preconditioning method p (x) = an-1x ^ n-1+ an-2x ^ n-2+...+ a1x+ a0, for many Group evaluated. One of n = 2 ^ k
- 2022-01-26 06:39:10下载
- 积分:1
-
man, i think i can download files right for i uploaded 5 files.
man, i think i can download files right for i uploaded 5 files.
- 2022-02-15 17:47:51下载
- 积分:1