没有合适的资源?快使用搜索试试~ 我知道了~
云台之家基于STM32的云台控制技术.doc
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 25 浏览量
2023-06-07
12:59:32
上传
评论
收藏 520KB DOC 举报
温馨提示
试读
28页
云台之家基于STM32的云台控制技术.doc
资源推荐
资源详情
资源评论
基于 STM32 的云台控制
学 校:XXXXXXXXXXXX
队 伍:云台之家
组 长:XXXXXX
队 员:XXXXXX
队 员:XXXXXX
指导老师:XXXXXXX
“华为杯”第九届中国研究生电子设计竞赛
目录
摘要 ..................................................................................................................................................3
Abstract ..........................................................................................................................................4
第 1 章 绪论 ....................................................................................................................................5
1.1 课题研究背景 ..................................................................................................................5
1.2 国内外云台研究发展现状...............................................................................................5
1.3 本文的主要工作和结构安排...........................................................................................6
第 2 章 系统概述 ............................................................................................................................8
2.1 STM32F103 处理器 .........................................................................................................8
2.1.1 STM32 F107 处理器概述....................................................................................8
2.1.2 STMF103 处理器系统结构..................................................................................9
2.1.3 STM32 微处理器对电机的控制..........................................................................10
2.1.4 STM32F103 处理器低功耗..................................................................................11
2.2 电机的定义及控制原理.................................................................................................11
2.2.1 直流电机定义 ....................................................................................................11
2.2.2 直流无刷电机工作原理.....................................................................................12
第 3 章 直流电机控制模块 ..........................................................................................................13
3.1 直流电机驱动电路 ........................................................................................................13
3.1.1 直流电机驱动芯片 L293D..................................................................................13
3.2 直流电机转速 PWM 控制.................................................................................................14
3.3 直流电机闭环控制 .........................................................................................................15
3.3.1 PID 控制算法 .....................................................................................................15
第 4 章 倾角检测模块 ..................................................................................................................17
4.1 加速度传感器 .................................................................................................................17
4.2 测倾角原理 .....................................................................................................................18
第 5 章 基于 STM32 云台系统硬件设计.......................................................................................21
5.1 驱动电路的介绍 ............................................................................................................21
5.2 倾角检测电路的介绍 ..................................................................................................22
第 6 章 基于 STM32 云台控制系统软件设计...............................................................................23
6.1 软件设计流程图如下 ..................................................................................................23
第 7 章 总结 ..................................................................................................................................24
7.1 总结 ................................................................................................................................24
摘要
随着经济社会的发展,人们对于想在高空拍摄地面图片的要求越来越高,云
台技术得到了迅速发展并逐步开始应用各个领域。为了能够扩大拍摄视野,便于
远程操作,常借助于云台,即把摄像机安装在云台上,通过云台转动来带动摄像
机转动,同时通过云台控制协议设置摄像机镜头参数,云台在拍摄系统中起着非
常重要的作用。而现在又的云台控制系统普遍采用步进电机作为驱动源,存在着
稳定性差、功耗大、计数不准确等特点,而采用体积小,节能环保的直流电机作
为驱动源的云台控制系统成为研究的热点,并且具有广阔的应用前景。
本文提出以低功耗云台设计为出发点的系统设计方案。以现有的单片机技术
和控制理论为依托,研究如何从硬件和软件两方面,对系统进行低功耗设计。硬
件核心处理器采用的是意法半导体公司的 STM32F103 芯片,该芯片使用好高性能
且低功耗的的 ARM Cortex-M3 处理器。云台驱动源采用低功耗的直流无刷电机,
在角度计数方面采用加速度计来检测倾角从而实现云台的精确定位功能。
论文采用模块化的设计概念,以 STM32 处理器为核心,通过外围电机驱动电
路来驱动无刷直流电机,实现电机的正传与反转,同时由直流电机的转速与其电
枢两端的电压成正比,根据这一特性可通过 STM32 单片机 PWM 外设控制直流电机
的转速。STM32 微处理器根据为角度编写的 PID 算法来调节 PWM 输出,保证了云
台的匀速、稳定、精确运行。
关键词:STM32 直流电机驱动 PWM 陀螺仪
Abstract
With the development of economy and society, people who want to shoot at high
altitude ground pictures have become increasingly demanding, PTZ technology has
been developing rapidly and gradually began to apply in various fields. To be able to
shoot horizons expand, easy remote operation, often by means of PTZ camera that is
mounted on the head, led by head rotation to rotate the camera, while the camera lens
control protocol parameters set by the head, the head in the shooting system plays a
very important role. And now the head stepper motor control system widely used as a
driving source, there is a poor stability, power consumption, the count is not accurate,
etc., and the use of small, energy-saving DC motor as a driving source tilt control
system become a hot research and has broad application prospects.
This paper presents the design of low-power system design PTZ starting point.
Existing microcontroller technology and control theory as the basis, to study how the
hardware and software aspects of the system low-power design. Hardware core
processor uses the STMicroelectronics STM32F103 chip that good use of
high-performance and low-power ARM Cortex-M3 processor. PTZ driver source
using low-power DC motor, using gyroscopes to achieve in terms of the angle of the
head count of the precise positioning.
Paper uses a modular design concept to STM32 processor as the core, through
the peripheral motor drive circuit to drive the brushless DC motor to achieve Story
and reverse the motor, while the voltage is proportional to the rotational speed of the
DC motor armature ends its according to this feature DC motor speed can be
controlled by STM32 microcontroller PWM peripheral. STM32 microprocessor
prepared according to the angle of the PID algorithm to adjust the PWM output to
ensure that the head of the uniform, stable and accurate operation.
剩余27页未读,继续阅读
资源评论
omyligaga
- 粉丝: 54
- 资源: 2万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功