论文部分内容阅读
乘法是八位微机控制系统使用频繁、耗时多、影响大的基本运算.乘法运算的速度和精度直接影响到系统的控制性能.本文提出比通用乘法子程序快一倍的、占用内存少的快速分部相乘法和控制系统专用乘法表格法.为克服因小数相乘的舍入误差引起的积分偏移现象,本文提出了微量累积积分算法,大大提高了系统的静态精度,并实现了条件积分。
Multiplication is the basic operation of eight-bit microcomputer control system which is frequent, time-consuming and big impact, and the speed and accuracy of multiplication directly affect the control performance of the system.This paper proposes to double the common multiplication subroutine and occupy less memory Rapid fractional multiplication method and control system dedicated multiplication table method.In order to overcome the integral deviation caused by the rounding error caused by fractional multiplication, this paper presents a micro cumulative integral algorithm, which greatly improves the static accuracy of the system and realizes Conditional integration.