检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]陕西科技大学电气与信息工程学院,陕西西安710021
出 处:《陕西科技大学学报(自然科学版)》2015年第2期148-153,共6页Journal of Shaanxi University of Science & Technology
基 金:陕西省教育厅专项科研计划项目(12JK0494);陕西科技大学博士科研启动基金项目(BJ08-07)
摘 要:在微控制器中断程序中,大量的长时间计算是不可取的.为了提高计算效率,提出了一种在软件上将调用编译器中函数库求解复杂函数的方法,改为查表与插值的方法.这种查表插值方法的引入,在理论上能提高编译器在该段程序的编译效率和程序在微控制器中的执行速度,具有高效性.本文以STM32F407VGT6微控制器为硬件平台,设计了控制变量法的对比实验.结果表明,该方法能有效减少程序运行时间,适用于大多复杂函数,并且适用于不同主频的微控制器,从而验证了该方法的通用性与高效性.A huge amount of computations with a long time are not desirable in micro controller interrupt program.In order to improve the computational efficiency,a method is proposed that calling the compiler function library for the complex function is changed into a look-up table and interpolation in the software.The introduction of the look-up table and interpolation method can improve the efficiency of the compiler in the program and the program′s execution speed in the micro controller,it has a high efficiency.In this paper,the micro controller STM32F407VGT6 is treated as the hardware platform,and it designs variable method of the contrast experiment.The results show that the method can effectively reduce the running time of the program,and it is suitable for most complex functions and micro controllers with different frequency,it verifies the method′s universality and high efficiency.
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.28