-
这是一个比较典型的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
-
Silicon Lab
Silicon Lab公司以太网控制器芯片CP2200/1中文数据手册,网上大多数是英文的,中文的很难找.所以非常难得!-Silicon Lab
- 2023-08-27 06:40:04下载
- 积分:1
-
5045的底层操作程序,使用时根据实际接线情况对程序中管脚定义部分做适当修改
//定义管脚
sbit SCK=P3^4 //时钟
sbit SI=P...
5045的底层操作程序,使用时根据实际接线情况对程序中管脚定义部分做适当修改
//定义管脚
sbit SCK=P3^4 //时钟
sbit SI=P3^5 //CPU--->5045
sbit SO=P3^5 //5045-->CPU
sbit CS=P3^6 //片选
-5045 underlying operating procedure, when used in accordance with the actual situation on the process of wiring pin to do some appropriate changes to the definition// define pin sbit SCK = P3 ^ 4// clock sbit SI = P3 ^ 5// CPU-
- 2022-07-12 18:25:31下载
- 积分:1
-
多用途的usb调试程序.用vb编写.可通过增加功能,变成自己的软件....
多用途的usb调试程序.用vb编写.可通过增加功能,变成自己的软件.-Usb multi-purpose debugger. Prepared using vb. Can increase the functionality into its own software.
- 2022-01-23 10:09:01下载
- 积分:1
-
利用ps2键盘向单片机输入数据,这样做不仅可以减少输入输出口,而且程序代码短小精悍,可以极大的提高单片机的执行效率....
利用ps2键盘向单片机输入数据,这样做不仅可以减少输入输出口,而且程序代码短小精悍,可以极大的提高单片机的执行效率.-Ps2 keyboard to use single-chip input data, to do so not only can reduce the input and output port, and program code dapper, you can greatly improve efficiency in the implementation of SCM.
- 2022-05-21 00:44:12下载
- 积分:1
-
这个源代码是关于MCS
这个源代码是关于MCS-51的无线接收,用89S52控制MT8870B进行DTMF解码。程序相当的经典,本人调试了几周后,达到了非常好的效果。误码率相当的小。我觉得好东西要大家分享的,所以今天我上传此代码,与大家共同分析进步。-the source code is on the MCS-51 wireless receiver, S52 control with 89 MT8870B for DTMF decoder. Quite the classic procedure, I debug a few weeks later, to achieve very good results. The error rate is very small. I think that good things should be shared, so I upload this code, and the analysis of common progress.
- 2022-10-19 20:35:04下载
- 积分:1
-
设计一个允许n个进程并发运行的进程管理模拟系统。该系统包括有简单的进程控制、同步与通讯机构,其进程调度算法可任意选择。每个进程用一个PCB表示,其内容根据具体情...
设计一个允许n个进程并发运行的进程管理模拟系统。该系统包括有简单的进程控制、同步与通讯机构,其进程调度算法可任意选择。每个进程用一个PCB表示,其内容根据具体情况设置。各进程之间有一定的同步关系(可选)。系统在运行过程中应能显示或打印各进程的状态及有关参数的变化情况,以便观察诸进程的运行过程及系统的管理过程。-N the design of a permit to run a process complicated by the process management simulation system. The system has a simple process control, synchronization and communication agencies, the process scheduling algorithm can be arbitrary choice. Each process of a PCB said that its content in accordance with the specific circumstances of settings. The process has a certain degree of synchronization between the relationship between the (optional). System in the running process should be able to display or print the status of the process and the relevant parameters in order to observe the operation of various process and systems management processes.
- 2023-05-29 02:10:03下载
- 积分:1
-
输入法,适用于单片机
输入法,适用于单片机-input method, applied to SCM
- 2023-08-02 02:45:03下载
- 积分:1
-
一个单片机的按键程序。没有使用延时。但是使用其他的方式来达到了延时的目的。...
一个单片机的按键程序。没有使用延时。但是使用其他的方式来达到了延时的目的。-A single-chip key procedures. Do not use the delay. However, the use of other means to achieve the purpose of delay.
- 2022-11-22 15:15:03下载
- 积分:1
-
pcf s I2C softpake ,form zlgmcu.com
pcf s I2C softpake ,form zlgmcu.com
- 2023-05-28 20:45:02下载
- 积分:1