- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
单片机的数值运算程序设计方法 numeric calculation program design of single chip
2008葺E3局 电子测斌 Mar.2DD8
第3期 ELEcTRONlcTEsT No.3
单片机的数值运算程序设计方法
刘 涛
(济宁职业技术学院济宁272037)
摘要:本文从实际应用出发,结合计量移动标准的开发讨论了单片机数值运算程序设计的4个方面。其中,参
数传递决定了采用怎样的程序结构,容错设计是为了使程序在各种条件下正常工作,算法的时间复杂性分析关
系到程序的先天素质,文档编写与程序测试则说明了怎样维护程序。本文从这4个方面,概括和阐述单片机数
值运算程序设计的思路和方法。
关键词:数值运算;单片机;程序设计
中图分类号:TP368文献标识码:A ’
Numericcalculation of
programdesignsinglechip
LiuTao
(∥砌曙VocationalTechnologyCollege,.1ining272037,China)
theactual withthe ofthe verifica-
Abstract:From connected
applications,and developmentportable
tion
instrument.thefour ofthenumericcalculation isdiscussed.Ofthe船一
aspects programdesign
determineshowtoselectthe andthe
poets,parameterpassing programstructure,errortoleratingdesign
oftime affectthe ofthe and tea—
analysis original
complefity qualityprogram,documentwritingpmgram
istomaintainthe ideasandmethodsofthiskindof issumma-
ting program.Fromthese,the program
rizedandillustrated.
Keywords:numericcalculation;singlechip;programmingdesign
用,必须理解数值运算在单片机上的设计方法与原
O 引 言
理,才能够使用好数值运算子程序库,正确、规范的
很多单片机应用系统都需要用到数值运算功 实现有特殊要求的运算功能。如何进行单片机系统
能,即加、减、乘、除、开方以及各类函数的求值。按 中数值运算程序的设计,本文将结合自己参与开发
照数的存储方式分类,它分为定点运算和浮点运算2 的检定仪软件编制工作从4个方面来讨论。
种。目前,要实现运算功能,有不少成熟的子程序库
您可能关注的文档
- 带负荷更换10kv负荷开关应用研究 research on replacement methods of loading switch.pdf
- 带附加电流线圈的三相无功电能计量装置错误接线分析 the analysis about the false wiring of three-phase reactive watt-hour counting mechanism with attaching current coil.pdf
- 带恒功率负载的buck变换器的稳定性分析和最优pid控制器设计 the stability analysis of buck converter with constant power load and optimal pid controller design.pdf
- 带恒功率负载的dcdc变换器起动过程分析 start-up process analysis of dcdc converter with constant power load.pdf
- 带缓冲单元的多输入直流变换器电路拓扑 multiple-input dcdc converters with buffer cells.pdf
- 带隔离变压器的并网逆变器的降阶模型及滑模变结构控制 reduction model and sliding mode variable structure control for grid-connected inverters with isolation transformer.pdf
- 带钢分选控制系统的研究 research on steel plate selection control system.pdf
- 带间隙线路避雷器的状态监测 status monitoring of line arrester with gaps.pdf
- 带交错油道饼式绕组油流分布的数值模拟 numerical simulation of oil flow distribution in disc winding with staggered oil duct.pdf
- 带接地保护功能塑壳断路器在发电厂低压电动机中的应用 application and discussion of moulded case circuit-breaker with ground protection function to low-voltage motor of power plant.pdf
- 牛津译林版必修第一册Unit 4 Looking good, feeling good Grammar and usage & Integrated skills课件(共33张PPT)(内嵌音频+视频).pptx
- 牛津译林版八年级上册Unit 6 Bird watching要点梳理2 课件(共25张PPT)(内嵌音频+视频).pptx
- 期末冲刺测试卷(含解析)-2026年一年级下册数学人教版.pdf
- 牛津译林版必修第一册Unit 1 Back to school Language points 1课件(共30张ppt)(内嵌音频+视频).pptx
- 牛津译林版八年级下册Unit 7 International Charities Period 3 课件 (共25张PPT)(内嵌音频+视频).pptx
- 牛津译林版八年级英语下册Unit1 Past and present Integrated skills课件(共27张PPT)(内嵌音频+视频).pptx
- 牛津译林版必修 第三册Unit 1 Nature in the balance扩展阅读A课件(共19张PPT)(内嵌音频+视频).pptx
- 期末冲刺测试卷(含解析)-2026年二年级下册数学人教版.pdf
- 牛津译林版选择性必修 第三册Unit 3 Back to the past词汇讲解课件(共37张PPT)(内嵌音频+视频).pptx
- 期末冲刺测试卷(含解析)-2026年六年级下册数学人教版.pdf
文档评论(0)