首页 | 本学科首页   官方微博 | 高级检索  
     

单片机中基于查表法的多变量函数求解方法设计
引用本文:徐立华,郑卫国,辛海会.单片机中基于查表法的多变量函数求解方法设计[J].数字社区&智能家居,2009,5(8):6227-6228.
作者姓名:徐立华  郑卫国  辛海会
作者单位:[1]中国矿业大学信息与电气工程学院,江苏徐州221116 [2]中国矿业大学计算机科学与技术学院,江苏徐州221116 [3]中国矿业大学安全工程学院,江苏徐州221116
摘    要:针对多变量非线性复杂函数关系式在单片机中难以实现的问题,提出了一种快速有效的查表求解算法。首先建立顺序存储数据块,接下来查找输入变量在已存变量存储块中的自然序号,最后利用查得的变量自然数序号及事先确定的算法查找这些变量所对应的函数值的存储地址,进而得到计算结果。实现了非线性复杂关系式的快速精确求解,可推广于各种运算能力有限的单片机,提高了单片机的整体使用效率。

关 键 词:单片机  复杂函数求解  数据建表  二分查找法  查表

Design of Solving Method for Multivariable Function Based on Consulting Tables in MCU
XU Li-hua,ZHENG Wei-guo,XIN Hai-hui.Design of Solving Method for Multivariable Function Based on Consulting Tables in MCU[J].Digital Community & Smart Home,2009,5(8):6227-6228.
Authors:XU Li-hua  ZHENG Wei-guo  XIN Hai-hui
Affiliation:1.College of Info.& Elec.Engineering, China University of Mining and Technology, Xuzhou 221116, China; 2.College of Computer Science and Technology, China University of Mining and Technology, Xuzhou 221116, China; 3.College of Safety Engineering, China University of Mining and Technology, Xuzhou 221116, China)
Abstract:Aimed at the problem that solving multivariable nonlinear complex functions are difficult to achieve in single-chip, A fast and effective algorithm is put forward. Firstly, the stored data blocks are established in sequence; secondly, the natural numbers of input variables are found in the stored variable blocks; finally, according to natural numbers of input variables and the Predetermined algorithm to find the function value which are corresponding to the input variables in the stored function value blocks, and then get results. Nonlinear relationship functions are solved quickly and accurately, and can be extended in a variety of single-chip microcomputing power limited, the overall efficiency is improved in the use of single-chip microcomputer.
Keywords:solving method for complex functions  data tabulation  dichotomy  Look-up table
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号