基于单片机的语音控制小车系统设计与实现
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
编号:
毕业设计说明书
题目:基于单片机的语音控制
小车系统设计与实现
学院:机电工程学院
专业:机械设计制造及其自动化
学生姓名:
学号:
指导教师:
职称:教授
题目类型:工程设计工程技术研究软件开发
摘要
在科技革命日新月异的创新发展过程中,人们越来越离不开智能化的科技时代;就此,机器的语音智能化扮演着越来越重要的角色,人类所追求的机器人性化,就是让机器能够听懂我们人类的语言,并以此为目的使机器为我们人类服务,在这个探寻的过程中,语音识别成为人与机器沟通的核心。
本课题为语音小车的设计,设计难点也主要在于语音的识别技术,通过多方面的学习参考文献,最终确定语音小车的设计方案,让小车能够听懂人的话语命令动作起来。小车主体硬件结构主要采用ICRoute 公司生产的高性能语音识别芯片LD3320作为语音识别模块,专门负责接收、识别外界的语音信号,在内部通过处理,转换成数字信号;使用STC11L08XE单片机作为主控模块,专门负责处理接受的语音信号,把处理后的语音信号转换成小车的控制信号;使用L298N作为小车电机的驱动模块,该芯片是ST公司生产的一种高电压大电流的电机驱动芯片,当接收到单片机发出的控制信号时,用于控制小车的启动、停止和转向;在软件上,通过单片机向LD芯片写入需要识别的关键字,由LD内部非特定人识别的算法得出匹配结果,再由单片机获取结果执行操作,其次,使用单片机内部定时计数器T0通过计数的方式产生PWM方波调压,控制小车输出电压,实现非特定人语音控制小车前进、后退、左转、右转、加速、减速、停止等运动状态,由于所选语音芯片工作性能稳定,在反复的实验调试中,小车都能够有效的识别声音,最终,稳定的实现各个运动要求,完成课题设计要求。
关键词:单片机;语音识别;LD3320;L298N;语音控制
Abstract
In the process of innovation and development of science and technology change rapidly in revolution, people are increasingly inseparable from the intelligent era of science and technology; and thus, voice intelligent machines playing more and more important role, the pursuit of human nature of robot, is to allow the machine to be able to understand our language and for this purpose to make the machine for our human services, in the search process, speech recognition has become the core of human and machine communication.
The topic to speech car design, design difficulties mainly in that the speech recognition technology, through a wide range to learn References , ultimately determine the design of the voice car, let the car able to understand human speech a command action to work effectively. The car body structure of the hardware consists of ICRoute's high performance speech recognition LD3320 chip as a voice recognition module, be responsible for receiving, identifying external voice signal and converted into digital signal by processing; Using STC11L08XE microcontroller as the main control module, responsible for processing voice signals, converts the processed voice signal into a control signal car; A kind of motor driver chip L298N with high voltage and large current produced by ST company as the motor vehicle driver module, upon receiving the single chip microcomputer control signal, used to control the car start, stop, and turn; On the software, through the single chip microcomputer to write need keywords into LD3320 chip , the matching results are obtained by the algorithm of the non-specific person identification in the chip, perform an operation by single chip microcomputer to obtain results , second, the use of single chip microcomputer internal timing counter T0 by way of counting PWM square wave voltage regulation , the car output voltage control ,to achieve non-specific voice control car forward, backward, turn left turn right, speed up, slow down, stop and other sports status, because the selected the voice chip performance and stability, in repeated the experiment in debugging, the car are able to recognize the voice effectively, to implement various requirements of movement Stability ,complete the task design requirements.
Keywords: single chip microcomputer; speech recognition; LD3320; L298N; voice control