STM32的旋转物体转速和位置测量系统设计+电路图+PCB图_毕业论文

毕业论文移动版

毕业论文 > 机械论文 >

STM32的旋转物体转速和位置测量系统设计+电路图+PCB图

摘要:现代工业中,广泛应用旋转物体为电动机或舵机驱动各种生产机械和装备,它们的作用是将电能转换为机械能,衡量机械能的直接物理量就是转速[1],这对判断旋转物体的性能有至关重要的作用,因此,实时测量并显示转速是很有必要的。旋转物体的转速的测量方法分为模拟式和数字式两种。模拟式采用测速发电机为检测元件。数字式通常采用光电编码器、霍尔元件等为检测元件。本文将以数字式的线性霍尔传感器为基础,运用M/T测速法,以STM32单片机为控制核心,运用线性霍尔传感器为测量元件的非接触式测量传感装置,对旋转物体的转速以及位置进行测量。单片机计算出转速与相应角度并且输送至存储装置以及上位机显示。该方法具有结构简单,有一定精确度并且成本低等优点。21574
关键词:转速测量角度测量STM32线性霍尔元件M/T法
毕业论文设计说明书(论文)外文摘要
Title    Research on the system of the objects rotation speed and position which based on Microcontroller STM32
Abstract
In modern industry, a variety of production of machinery and equipment are widely driven by electric motor and  servo ,the effect of the motor and servo is to convert electrical energy into mechanical energy. Speed is a direct physical to measure the mechanical energy, when analyzing the performance of the motor, it has a crucial role. Thus, real-time measurement and display speed is necessary. Motor speed measurement method is pided into two types of analog and digital. Analog type uses tacho generators as detection devices while digital detection devices commonly used optical encoder, the Hall element, etc. This article will use digital linear Hall sensor as foundation,use STM32 as micro-controller core and use M / T velocimetry while using linear Hall sensor element as non-contact measurement solutions which can measure the rotation speed and the position of the object . Micro-controller calculates out the speed and the corresponding angle and then tranfers the result to the storage device and the PC display. This method has a simple structure which can provided a certain accuracy and low cost.
Keywords: Speed Measurement、 Angle Measurement、STM32、Linear Hall element、M / T method
目录
1.    课题背景及意义    1
1.2国内外现状    1
1.2.1发展状态    1
1.2.2几种转速测量方案以及测角度方案    3
2.测速方案    8
2.1霍尔元件测速、测角度    8
2.2精度分析    9
2.2.1M法    9
2.2.2T法    11
2.2.3M/T法    12
2.3测量角度位置    14
3.总体设计    15
3.1系统各个模块    15
3.1.1被测信号的特点    16
3.2主要设计要求    16
4.系统硬件设计    17
4.1线性霍尔测速模块    17
4.1.1传感器的选择    17
4.2信号处理模块    19
4.2.1比较器的选择    20
4.3计数测频以及测角度模块    21
4.3.1信号输入单片机    23
4.3.2单片机的RESET设计    25
4.3.3调试端口/通信设计    25
4.4电源模块    26
4.5存储数据模块    27
4.5.1存储芯片选择    27
5.电路软件设计    29
5.1单片机STM32的程序设计    29
5.1.1单片机的功能分析    30
5.2STM32的开发环境    36
6.电路调试以及测试结果    38 (责任编辑:qin)