基于stm32的声控智能手机支架(附件)【字数:8015】
目录
Abstract
At present, the level of science and technology is improving day by day, and people are also enjoying the convenience brought by the rapid de *51今日免费论文网|www.51jrft.com +Q: ^351916072*
velopment of science and technology. When science and technology are combined with life, most things will be operated automatically.
Therefore, I designed a voice controlled smartphone bracket that does not need to manually adjust the direction and position. It only needs to send voice commands to automatically adjust the direction and angle according to the commands, so as to completely liberate both hands.
The system designs and completes a smart phone support based on speech recognition. The mobile phone support is composed of power supply circuit, central processing unit circuit, ultrasonic ranging circuit, speech recognition circuit and steering gear driving circuit. The steering gear rotation is controlled and the corresponding adjustment is completed by inputting voice commands through speech recognition. The steering opportunity encapsulates the corresponding actions into functions, makes corresponding adjustment through specific commands, and measures the distance by ultrasonic, It is used to confirm whether the mobile phone bracket is clamped. The design has the characteristics of low cost, practicality and reliability, low maintenance cost and so on.
Key words: AT89C51 single chip microcomputer, single chip microcomputer, intelligent support; speech recognition
一、系统总体设计
(一)总体设计思路
智能手机支架主要有以下几大部分电路组成,中央处理芯片及其最小系统电路,语音识别电路,超声波距离检测电路,舵机驱动电路组成,如图1.1是智能手机支架系统的总体设计框图,该系统有两个电源,一个是5.0V电源,另一个是3.3V电源,5V电源给舵机,超声波传感器使用,提供电源,3.3V给中央处理单元供电,通过超声波距离的检测来判断智能手机支架是否需要调整,进而驱动舵机来调整角度,当语音识别模块得到指令的时候,就会将标志位信息发送至中央处理器,中央处理器就会根据标志位的改变完成舵机驱动,得到相关的姿态调节。
/
图1.1 智能支架总体框图
智能支架系统由检测部分和姿态调整部分组成,在检测部分中,利用各个传感器的检测数据,超声波检测距离信息,语音模块检测语音指令信息,根据两个传感器采集的信息,让中央处理芯片判断出驱动舵机,调整相应姿态。
(二) 系统功能分析
1. 自动调整功能
智能手机支架系统的自动调整的功能是由中央处理芯片和电源电路,语音识别电路,舵机驱动电路和结构件组成,当设备的语音识别模块接收到“向左调节”的语音指令时,中央处理芯片就会将这个标志位变量状态改变,然后依据改变的标志位,来控制舵机逆时针转动90度,调整手机支架的姿态;同理,接收到“向右调节”,中央处理芯片会控制舵机顺时针旋转90度。
相对于步进电机来说,舵机的可控性就很好,在舵机驱动板的控制下,舵机可以根据需要,在自己的自身参数范围内,来调整任意的旋转角度,达到精准控制的效果,所以,舵机被广泛的应用到汽车,机器人,飞机等领域。而舵机的旋转角度一般都是180度,智能手机支架的最大旋转角度只是90度,所以对于该设备来说,舵机很适用。
语音调节的实现既避免了用手调节的麻烦,也避免了一直处于调节状态导致能耗增加,还能解决了智能支架在距离较远时自动调节的问题。另外,该智能支架的机械结构简单,占用空间较小。
2. 底座语音控制器功能
手机支架的底座语音控制器是由语音模块实现的,利用语音模块检测当前用户发出的语音指令,根据语音指令,将声音的特征提取,然后将声音数据数字化,去与数据库对比,识别成功后改变该标志位信号,然后利用标志位信号的改变来确定执行哪一条指令,达到语音控制的效果。
原文链接:http://www.jxszl.com/dzxx/dzdq/607718.html