口语控制的多路电子开关
摘 要
智能家居作为一个新生产业,目前处于一个导入期与成长期的临界点,随着智能家居市场推广普及的进一步落实,培育起消费者的使用习惯,智能家居市场的消费潜力必然是巨大的,产业前景光明。 正因为如此,国内优秀的智能家居生产企业愈来愈重视对行业市场的研究,特别是对企业发展环境和客户需求趋势变化的深入研究,一大批国内优秀的智能家居品牌迅速崛起,逐渐成为智能家居产业中的翘楚!在日常家居生活中,为了使我们对家庭的控制系统能随时掌控、需要的信息随时获取,操作终端的形式非常重要,多种形式的智能操作终端是必不可少,口语智能控制是智能家具中很重要的一部分,本文介绍的是一种口语智能控制开关。
本课题设计口语智能控制开关采用了89C51单片机为口语智能控制开关的核心部件,对口语芯片LD3320收集的信息进行处理,并对开关进行控制。通过LD3320外接的麦克风采集声音信号,再通过LD3320口语芯片进行频谱分析,再提取口语特征,之后和关键词语列表中的关键词语进行对比匹配,最后找出得分最高的关键词语作为识别结果输出给单片机,单片机进行处理后,再输出信号来控制继电器,通过继电器来控制开关工作,开关又可实现很多对电器的控制,从而实现口语智能控制。整个系统硬件电路设计合理,软件设计可行。测试可表明,在环境背景的噪音不是太大,控制者发音不模糊的前提下,口语控制开关的口语识别系统能对口语指令做出智能反应,做出了预想中的通断动作。
关键词:智能家居;口语;开关;单片机
ABSTRACT
Smart home as a new industry, is currently in a period and the critical point of growth, market consumption idea has not been formed, but with the further implement of smart home market popularization, develop habits of consumers, smart home market consumption potential is tremendous, industry a bright future.Because of this, the domestic excellent intelligent household production enterprises more and more attention to market research to the industry, especially for enterprise development environment and the further research of customer demand trends, a large number of domestic excellent intelligent household brand rapid rise, gradually becoming the best intelligent household industry! In daily household life, in order to make our family control system can control at any time, the information you need to access at any time, the operating terminal is very important, in the form of multiple forms of intelligence terminal operation is necessary, voice intelligent control is a very important part of intelligent furniture in, a kind of intelligent control are introduced in this paper -- -- -- voice intelligent control switch.
This topic design voice intelligent control switch voice USES 89 c51 SCM is the core component of intelligent control switch, to deal with voice chip LD3320 collection of information, and to control the switch. Through collecting LD3320 external microphone sound signal, again through the LD3320 voice chip spectrum analysis, then extract the speech features, after comparing and key words in the list of key words matching, finally find out the key words with the highest scores as recognition results output to single-chip, single-chip microcomputer for processing, then the output signal to control the relay, the relay to control switch, switch and can achieve a lot of electrical control, to achieve voice intelligent control. The whole system hardware circuit design is reasonable, the software design is feasible. Tests can show that the environment background noise is not too big, the pronunciation without fuzzy controller, voice control switch of voice recognition system can make intelligent response to voice commands, made the forecast of the on-off action.
Keywords: intelligent household; Voice; Switch; Single chip microcomputer
目 录
第一章 绪论 - 1 -
1.1 论文研究背景及意义 - 1 -
1.2 国内外发展现状 - 3 -
1.3 口语识别的应用 - 4 -
第二章 方案设计 - 5 -
2.1 系统设计要求 - 5 -
2.2 方案的比较 - 6 -
2.2.1 从功能上方案的比较 - 6 -
2.2.2 器件选型 - 7 -
第三章 硬件设计 - 10 -
3.1 电源电路设计 - 10 -
3.1.1 芯片介绍 - 10 -
3.1.2 电源电路 - 13 -
3.2 主控电路设计 - 14 -
3.2.1 时钟电路 - 14 -
3.2.2 复位电路 - 16 -
3.2.3 80C51 - 17 -
3.3 口语识别电路设计 - 22 -
3.3.1 口语识别芯片 - 22 -
3.3.2 声音接收模块 - 30 -
3.4 开关电路设计 - 31 -
3.4.1 继电器介绍 - 31 -
3.4.2 开关电路 - 33 -
第四章 软件设计 - 34 -
4.1 LD3320工作方式设计 - 34 -
4.1.1 电路中LD3320模式选择 - 34 -
4.1.2 需要识别的关键词的ID及其设置 - 34 -
4.1.3 调节口语结束后得到识别结果的反应时间 - 35 -
4.2 系统程序设计 - 36 -
4.2.1 驱动程序 - 36 -
4.2.2 口语识别程序 - 37 -
4.2.3 响应中断 - 44 -
第五章 结论 - 50 -
参 考 文 献 - 51 -
致 谢 - 52 -
附件 - 53 -
·附件1:系统原理图 - 53 -
·附件2:系统程序 - 54 -