1、 题 目: 角度传感器简单应用系统 学 院: 信息电子技术学院 年 级: 专 业: 生物医学工程 姓 名: 学 号: 0809024109 指导教师: (副教授) 佳木斯大学教务处 第第 II 页页 摘 要 角度测量是技术测量中的一个重要组成部分,随着生产和科学技术的发展,对产品和 零部件角度测量应用越来越广泛,对精度要求也越来越高。特别是在现代工业技术中,角 度是机械、仪器仪表和电子产品制造业中的重要几何参数之一,它的准确度直接影响着产 品的质量与寿命,因而角度测量在现代工业中占有重要的地位。角度传感器是用来测量固 定部件和转动部件之间的旋转角度,广泛应用于动态系统的角度精密测量,如惯性导航
2、、 机械控制、无人驾驶飞行器、指挥仪和雷达等系统的方位角或俯仰角测量。 本课题设计一个角度传感器应用系统,该系统能控制倾斜角度,保持水平和显示倾斜 角度值等功能。硬件部分主要包括 STC89C52 单片机最小系统,ULN2003 电机驱动电路, SCA60C 倾角传感器,电源模块,数码管显示模块等。系统通过角度传感器实时采集角度信 号,采用 STC89C52 单片机控制并产生脉冲信号精确控制步进电机的转速和角度,ULN2003 作为电机驱动模块,IO 口输出具有时序的脉冲信号作为 4 相 5 线步进电机的控制信号,进 而驱动 28BYJ-48 步进电机,使步进电机上的平板随着摆杆的摆动而旋转。
3、系统还可以通过 键盘输入系统设置步进电机所要达到的角度值。用数码管显示器显示设置角度值。当步进 电机达到设置值时,启动报警装置。此时步进电机停止工作,数码管显示设置角度值。 关键词:角度测量;SCA60C 角度传感器;STC89C52 单片机 佳木斯大学教务处 第第 III 页页 Abstract Angle measurement is an important part of the technical measurement, and measurement applications with the development of production and science and t
4、echnology, products and parts more widely and increasingly high precision. Particularly in the modern industrial technology, the angle is one of the important geometrical parameters in machinery, instrumentation, and electronic products manufacturing, its accuracy has a direct impact on the quality
5、of the product life, and thus the angle measurement in modern industry occupies an important status. The angle sensor is used to measure the angle of rotation between the fixed parts and rotating parts are widely used in the dynamic system point of view the precision measurement of the azimuth or el
6、evation, such as inertial navigation, machine control, unmanned aerial vehicles, command analyzer and radar systems angle measurements. This project is to design an angle sensor applications, the system can control the tilt angle, keeping it level and display tilt angle value.Angle sensor applications STC89C52 microcontroller, precise control of speed and angle of the stepper, the stepper motor on the tablet can swing to the preset an