论文部分内容阅读
本文介绍微型机用于控制目的时,所经常遇到的一些实用程序的设计方法并给出例子,供读者参考。各种以微机为基础的仪器和设备中经常设置多个功能键,用以完成各种操作。因此,键盘命令分析程序在上述场合是应用程序的基础软件。通常所说的监控程序的主要内容就是键盘命令的解释和执行。PID 算法是反馈控制系统中最常用的控制算法。微机引入控制系统后最常用的控制规律依然是PID 控制。我们将提供离散PID 控制程序设计的流程和程序清单,为控制工程人员参考。本文的最后将给出最优PID 参数的自动搜索方法并做为例子给出实用搜索程序的框图和部分程序清单。上述程序设计内容,是控制工程人员将微机引入控制领域后首先会遇到的课题,期望本文有助于微机在控制工程中的普及和推广。
This article describes the design of some utilities that are often encountered when using a microcomputer for control purposes and gives examples for readers’ reference. A variety of computer-based instruments and equipment often set multiple function keys to complete a variety of operations. Therefore, the keyboard command analysis program in these cases is the application of the underlying software. The main content of the monitoring program is usually the interpretation and execution of keyboard commands. PID algorithm is the most commonly used control algorithm in feedback control system. Computer control system introduced the most commonly used control law is still PID control. We will provide discrete PID control program design flow chart and procedures for the control of engineering staff. At the end of this article, an automatic search method of optimal PID parameters will be given and a block diagram of the practical search program and a part of the program list will be given as an example. The contents of the program design, is to control engineering personnel will be introduced into the field of computer control will first encounter the problem, expect this article will help computer in the control project popularization and promotion.