通过LED的亮灭来模拟电灯、电视和空调的开关,通过电机的转轴的转动与否来模拟窗帘的开关。
摘要:本论文设计了一种基于语音识别模块(LD3320)的智能家居嵌入式控制系统,包括语音采集处理模块,单片机处理器模块(STC89C52芯片),电源模块,步进电机驱动器模块。本发明通过LD3320芯片采集用户输入的语音命令,LD3320对语音信号进行处理,识别,判断是否为有效命令,命令有效,单片机处理模块输出相应的控制指令到对应的智能家居模拟设备,完成智能家居的统一语音控制,将语音识别技术运用到智能家居控制中,通过语音命令对家电进行控制,代替手动和遥控控制,方便舒适,不断改善人们的生活。此次毕业设计结合语音识别芯片与单片机控制系统来模拟现代智能家居控制系统。优点在于可以直接进行语音控制智能家电。
关键词: 嵌入式控制系统;语音识别芯片(LD3320);单片机处理器(STC89C52);步进电机。
Intelligent household electrical appliance control system
Abstract: In this paper, a smart home embedded control system based on speech recognition module (LD3320) is designed, including voice acquisition and processing module, single chip processor module (STC89C52 chip), power module and stepper motor driver module. The invention uses the LD3320 chip to collect the voice commands of the user input, the LD3320 handles the voice signal, identifies whether it is the effective command, the command is effective, the MCU processing module outputs the corresponding control instructions to the corresponding intelligent home simulation equipment, and completes the unified voice control of the smart home, and makes the speech recognition technique In the control of smart home, the operation is controlled by voice command, instead of manual and remote control, it is convenient and comfortable, and constantly improves people's life. Now there are mature household appliances intelligent voice control system, such as millet AI speakers, KOTI smart home, etc.
Keywords: Embedded control system; speech recognition chip (LD3320); MCU processor (STC89C52); stepper motor; millet AI speakers.
目录
摘要 i
Abstract i
目录 iii
1 绪论 4
1.1 背景 4
1.2 意义 4
2 分析 6
2.1 设计要求 6
2.2 主要器件介绍 6
2.2.1 语音识别芯片———LD3320 6
2.2.2 STC89C52RC芯片 9
2.2.3 步进电机控制芯片 3
3 设计 6
3.1 系统设计框架 6
3.2 流程图 7
3.3 硬件之间的信息传输连接 8
3.4 系统的主要子程序 8
3.4.1 语音识别模块程序 8
3.4.2 单片机程序 14
4 软硬件调试 17
4.1 KELL,PROTUS的工程截图 17
4.2 语音芯片的程序导入 18
4.3 硬件调试检测 18
5 结论 20
5.1 成果展示 20
5.1.1 成品展示 20
5.1.2 运行效果展示 21
5.2 设计中遇到的问题以及解决方案 26
5.3 后期展望 28
致谢 30
参考文献 31
1 绪论
1.1 背景
2016年有些经济发达的国家提出了“智能家居”的概念,首先家居需要可以达到传统理念的用途,还需要能“听懂人的语言”;那怎么样的系统才能称为智能家居呢?现在国内外还没有统一的智能家居的概念。美国电子工业协会(EIA)在1988年制定了全世界第一份关于民用化智能家居产品要求的规定-《家庭自动化系统与通讯标准》;其中的智能家居产品是通过两芯信号二总线来完成的。中国也在1997年制定了《小康住宅电气设计(标准)导则》[1]。在电气设计(标准)中的条例:民用级家庭智能家居产品的智能设计应该满足以下要求:智能产品的安全度高,能营造舒适生活环境,舒适清新的家居智能设计,产品间的通讯方式简单且便捷(信号二总线),信息服务全面,智能化家居系统。
智能家居最终目的是让家庭环境更舒适环境更适宜人居住更人性化。随着社会的发展与人们生活水准的提高,如今的智能化家居系统也有着更高的要求与发展前途,系统配置也越来越复杂。现在的智能家居包含互联网、防盗系统、消防系统、门禁系统、紧急求助系统、网上购物系统、语音与传真(电子邮件)服务系统、窗帘开关系统,自动开关电视系统等等,随着物联网的发展,各式各样的新鲜名词与概念正在加入智能家居系统中,让人们的生活更加美好。