-
这是一个比较典型的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
-
一个AVR单片机at17c85的系统程序,内容比较全面
一个AVR单片机at17c85的系统程序,内容比较全面-AVR Singlechip at17c85 a systematic procedure, the contents of a more comprehensive
- 2022-09-01 22:40:03下载
- 积分:1
-
Luminary看门狗代码(IAR开发环境)
LUMINARY 看门狗代码(IAR开发环境)-Luminary watchdog code (IAR development environment)
- 2022-01-30 16:27:03下载
- 积分:1
-
DES/3DES算法的C语言实现,我对代码进行优化。只需要几十个字节的内存就可以。很适合用于单片机等下位机使用。...
DES/3DES算法的C语言实现,我对代码进行优化。只需要几十个字节的内存就可以。很适合用于单片机等下位机使用。-DES/3DES algorithm in C language, I optimized code. Only need dozens of bytes of memory can be. SCM is very suitable for such use under the plan.
- 2022-03-10 13:33:55下载
- 积分:1
-
实现单片机和计算机之间的数据交换,
Windows 环境下的Visual Basic 6.0 作为可视化的编程工具, 具有完整的基于组件设计的可视化集成开发...
实现单片机和计算机之间的数据交换,
Windows 环境下的Visual Basic 6.0 作为可视化的编程工具, 具有完整的基于组件设计的可视化集成开发环境、操作简单、界面友好的特点。
上位机通信程序是用VB6.0
使用MAX232 来进行数据通信的协议, 既可
以使用查询方式又可以使用事件驱动方式来完成串行通信。-Realize single-chip computer and data exchange between computers, Windows environment Visual Basic 6.0 as a visual programming tool with a complete component-based design visualization integrated development environment, simple operation, user-friendly features of . PC communication program using VB6.0 using MAX232 to data communication protocol, we can use the query can also use event-driven approach to the completion of serial communication.
- 2022-01-25 19:34:03下载
- 积分:1
-
该程序比较好用容易修改,是一个单片机应用类的一个很好的程序。...
该程序比较好用容易修改,是一个单片机应用类的一个很好的程序。-Comparison of the program easy-to-use changes is a single-chip applications of a good type of procedure.
- 2022-04-28 01:27:50下载
- 积分:1
-
使用8031单片机加载FPGA的源代码,为FPGA的加载提供了另一种方便的方法....
使用8031单片机加载FPGA的源代码,为FPGA的加载提供了另一种方便的方法.-use FPGA 8031 load the source code for the FPGA loaded provide another convenient way.
- 2023-08-23 09:30:03下载
- 积分:1
-
51 单片机的经常用到的子函数,非常具有参考价值。
51 单片机的经常用到的子函数,非常具有参考价值。-51 SCM Functions frequently used, very useful.
- 2022-04-06 12:29:22下载
- 积分:1
-
Serial Communication Interface SCI : Transmit & Receive Interrupt
Serial Communication Interface SCI : Transmit & Receive Interrupt -Serial Communication Interface SCI : Transmit
- 2022-11-09 01:30:04下载
- 积分:1
-
SCM C language for the 25045 chip and write the language of the source code. SCM...
单片机C语言实现的对芯片25045的读写操作的语言的源代码。可供单片机开发人员参考。-SCM C language for the 25045 chip and write the language of the source code. SCM developed for reference.
- 2022-01-21 05:20:14下载
- 积分:1