摘要根据国际航模发展联盟的比赛规则以及我国对航空领域的规定和航模爱好者对航模限高的要求,本课题设计了一种自动实现航模限制高度的装置。该装置选用STM8单片机作为控制系统的核心,选用气压传感器进行气压测量,利用空气压力随高度升高而减小的原理,将本装置固定在模型飞机上,在程序里预先设置好限定高度,若没有到达限定高度,则限高仪继续输出之前采样的PWM波的油门信号;若航模飞行高度高于或等于设定的高度,则限高仪中断遥控接收器信号通过,这样航空模型的驱动装置将停止工作,以达到限制高度的目的,待飞行结束后将气压传感器测量的数据的值通过数据输出接口与计算机连接。39768
本航模限高装置包括STM8S208单片机、存储装置、气压传感器和数据输入输出适配接口,STM8S208单片机通过控制电路分别与存储装置、气压传感器和数据输入输出接口连接。功能模块包括飞行高度的采集调理模块、电机电调的控制模块和通讯接口模块。飞行高度采集模块是利用数字气压传感器将采集到的高度和温度数据传送给STM8单片机,单片机通过读取用户的设置来控制气压传感器的采样频率;通信接口模块是将气压传感器测量的温度和高度数据通过数据输出接口传输给计算机。本设计最为关键的是如何中断遥控信号来暂停航模驱动装置,这样设计能最优化的实现航模限高,具有很高的应用价值。
毕业论文关键词: 航模 限高 单片机 气压传感器
Abstract
According to game rules of the development league of international model aircraft, aerospace provisions of china and model the requirement of aircraft enthusiasts to limit height, this paper designed the device to limit the height of model aircraft automaticly .The device selects STM8 microcontroller as the control core, the system uses the pressure sensor to detect the gas pressure, using the principle of pressure falling with height rising to fix this device in the model aircraft, i will preset height of limit in the programmer, if the height of model aircraft is inferior to the limitted height;if the height of model aircraft is equal or greater than to the height, the data output interface of the device will stop transmitting remote receiving signal ,thus model aircraft drive will stop working, so as to realize the function of limiting height, until the end of the flight to connect the value of pressure sensor data by data output interface to the computer.
The device of model aircraft height permit includes STM8S208 microcontroller, storage devices, pressure sensors, and data input/output interface adapter, STM8S208 microcontroller respectively connects to the storage device, pressure sensor, a data output interface connection through the control circuit. Function modules includes acquisition module of flying height, the module of motor control and communication interface. Acquisition conditioning module of flying height uses air pressure sensor to transmit collected temperature and height data to MCU, MCU by reading the user's settings to control the sampling frequency of the pressure sensor; The module of communication interface connects the value of the pressure sensor data by the interface of data output to the computer. The most crucial of the design is how to interrupt remote signal to control the drive of model aircraft. This design can implemente function of the model aircraft height limit, has the very high applicated value.
Key word:Flight Model Limit Height Microcontroller Pressure Sensor
目 录
摘 要 I
Abstract Ⅱ
1 绪论 1
1.1课题研究背景及意义 1
1.2航模限高仪的发展现状 2 STM8单片机航模限高仪的设计+电路图:http://www.751com.cn/zidonghua/lunwen_40437.html