基于单片机的跑步机启停控制模块的软件设计说明
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
. . . .
基于单片机的跑步机启/停控制模块
的软件设计
学院:
专业班级:
学号:
学生姓名:
指导教师:
2016年04月
摘要
近年来,随着社会经济的发展和人们生活水平的提高,人们对自身的健康也日益关注,健身成为一种流行时尚,健身器材行业也逐步兴起为一个大的消费领域,电动跑步机作为一种重要的健身器材得到了越来越广泛的应用,具有广阔的市场前景。研发具有多功能和高附加值的人性化科学化的电动跑步机具有重要的现实意义。
电动跑步机的电控系统是整个跑步机运转的核心,它需要具有简单接口界面、电机调速和心率功能。本论文以电动跑步机控制系统为对象,以实用、廉价、高性价比和高安全性为目标,以改进型51系类单片机STC89C52为控制核心,完成了无刷直流电动机调速系统硬件设计、电动跑步机手握式红外心率计软硬件设计和电控系统部分软件开发等任务。
首先,文章叙述了跑步机的基本结构和工作原理,对其调速原理和调速方法进行了理论分析,建立了转速、电流反馈控制的直流调速系统的动态静态模型,并实际分析跑步机特殊负载的性质,确保跑步机的安全性和舒适性。并依据此基本控制策略,对电动跑步机无刷直流电动机的调速系统进行了硬件实现并画出相应的电路原理图。其次,文章介绍了电动跑步机附加的电子心率计的软硬件开发。最后,开发部分系统软件。
关键词:电动跑步机;数码管;控制系统
Abstract
In recent years, with the development of social economy and people living standard rise, people is increasingly concerned on their health, fitness has become a popular fashion, fitness equipment industry also gradually rise to a big consumption, electric treadmill as an important kind of fitness equipment has been more and more widely used, has a broad market prospect. R&d has multifunction and high value-added human scientific electric running machine has important practical significance.
Electric treadmill of electronic control system is the core of the treadmill running, it needs to have simple interfaces, motor speed and heart rate function. By electric treadmill control system as an object in this paper, with practical, cheap, high cost performance and high security as the goal, with the modified 51 series of single chip microcomputer AT89S51 as the core, to complete the brushless dc motor speed control system hardware design and running of electric tractor driver grip type infrared heart-rate monitor software and hardware design and electric control system part of the software development tasks.
First of all, the article describes the basic structure and working principle of BLDCM, the speed control principle and control method are analyzed in theory, established the speed and current feedback control of dynamic and static model of dc speed regulating system, and the actual analysis of the nature of the special load running machine, to ensure the safety and comfort of running machine. According to the basic control strategy of electric treadmill brushless dc motor speed control system for the hardware implementation and draw the corresponding circuit principle diagram. Secondly, this paper introduces the electric treadmill additional electronic heart-rate monitor hardware and software development. Finally, part of the system software development.
Keywords:electric treadmill; digital control system; control system