本科毕业论文(设计) - bylw.hbeutc.cn

47
教学单位 信息工程系 学生学号 516300274131 本科毕业论文(设计) 交互式语音识别与控制系统 学生姓名 朱松鹤 专业名称 通信工程 指导教师 蔡朝 2019 11 29

Upload: others

Post on 28-Mar-2022

9 views

Category:

Documents


0 download

TRANSCRIPT

I

STM32
LD3320 ASR-AI



II
Interactive speech recognition and control system Abstract:In recent yearswith the development trend of embedded and Interne
t of things, it's becoming more and more popular. But the simple man-machine
interface interaction is obviously far from meeting the need for intellectualizati
on. On this basis, the interactive voice recognition that meets the requirements
of the intelligent equipment comes into being.
In this article, STM32 single chip microcomputer and STC11L08XE single
chip microcomputer are used to communicate.In this design, each of the two si
ngle-chip microcomputer has its own division of labor.Thereinto,STM32 single
chip microcomputer mainly realizes the acquisition of coded data, so as to cont
rol the main logic and function of the system. The other STC11 single chip m
icrocomputer mainly realizes the speech analog data analysis, the processing, th
e conversion.In addition,this design is using the LD3320 to obtain the voice si
mulation data amount.The ASR-AI algorithm also is used for pinyin recognition
of speech conversion, and the digital quantity converted into analog quantity i
s obtained.By compression of the digital quantity, the digital compression can b
e transmitted. Of course,with the above process, an interactive voice recognition
and control system is produced.The first level instruction of voice data will b
e realized, and the corresponding speech function will be executed after the se
cond instruction is received successfully.The corresponding functions are: make
phone calls, send text messages, control lamp switches, control water heaters a
nd other commonly used household appliances.If the primary instruction or the
secondary instruction receives an error, the system also automatically prompts
for the corresponding error.Due to the large interference of external noise to th
e voice module, the recognition sensitivity of the voice system is not high, an
d the voice distance can be adjusted manually as an external input quantity on
the subsequent design.
equipment; Double-machine communication.
2.3 ............................................ 8 3 ..................................................... 9
3.1 STM32F103C8T6 ..................................... 9 3.2 LD3320 .................................... 10 3.3 OLED ............................................... 11 3.4 JQ8400 ........................................ 12 3.5 GSM/GPRS ............................................. 12 3.6 DHT11 .......................................... 13 3.7 RGB ..................................... 14 3.8 ............................................... 14
4 .................................................... 15 4.1 ............................................... 15
4.1.1 .......................................... 15 4.1.2 .......................................... 17
4.2 ........................................... 18 4.3 ............................................... 19
4.3.1 .................................... 19 4.3.2 ASR ...................................... 19 4.3.3 ........................................ 20 4.3.4 ...................................... 20
5 .................................................... 21 5.1 ........................................... 21 5.2 ........................................... 22
5.2.1 ........................................ 22 5.2.2 ...................................... 22 5.2.3 .......................................... 23
6 ............................................................ 24 .......................................................... 25 .............................................................. 26
........................................ 26 STM32 ........................... 32 LD3320 .......................... 38
.............................................................. 43




[1~5]




[9~14]
STM32
STM32 STM32


16 25MHZ
16MHZ TIM USART 12
ADC DMARTC MSP430F5529
4
32 144MHZ 72MHZ
8 ADC DMARTC
SPI IIC STM32F103C8T6


32
180MHZ 12 ADC DMA SPI
IIC USART STM32F429IGT6
STM32F429IGT6
USART
LD3320
LD3320 UASRT ,
5

USARTIICSPI
TTS
REC-V2
I/O

2.1
STM32F103C8
STM32F429IG
6
0.96 OLED 64*128 SPI 12.70
TFT 128*160 SPIUSART 25.00
2.4 GPRS
7

OLED LD3320


TFT

VISIO
Microsoft Office Visio IT

2.1 VISIO
64K I/O ADCDMASDIO
SPIIICUSART STM32F103C8T6 USART1
LD3320
STM32F103C8T6 DHT11
DHT11 STM32F103C8T6 DHT11

SPI SPI
SPI C SPI OLED STM32
SPI SPI SPI SPI SPI

JQ8400
USART3
10
LD3320
C
LD3320
STC11L08XE
STC11L08XE LD3320
ASR-AI
STM32F103C8T6
STM32F103C8T6
11
0.96 SPI-OLED 7
SPI SPI OLED
SPI SPI-OLED USART
SPI USART SPI
SPI C STM32 OLED 0.96 OLED
64*128 TFT

OLED
FLASH
2K FLASH
FLASH 2000
U
.MP3 STM32

3.4 JQ8400


MIC
13
3mA 3.3V AT
USART AT AT
“ADT+”“ATA”
“ATH” PDU TEXT
GSM/GPRS 3.5
3.5 GSM-A6

STM32 DHT11
3.3V
DHT11 10 40

A I/O



PWM PWM RGB
RGB RGB
RGB
5V 3.3V LM2596S
150KHZ
36W
3.6 LM2596
C Keil C

C51 STM32
MDK PC Windows10 64
Keil MDK μVisionV5.24.2.0 Keil C51
μVisionV5.11.2.0 KEIL
32K
KEIL
JLNK-OB
JILINK


JLINK 4.3
Altium Designered Altium PCB
Altium Designered 17.1
PCB PCB


10
3
4.5
18
LD3320



DHT11 RGB GSM
LD3320
4.3.2 ASR

20

STC11
STM32 USART1
GPRS/GSMOLED LD3320 JQ8400


LD3320
LD3320
STM32 LD3320
OLED LD3320

STM32



RGB
OLED

1 3 1
LD3320 3 AT GSM A6

5.2.2


0x06 0xFE 1
0x07 0xFF 2
23
1 2


LD3320 STM32F103C8T6 LD3320
ADSP LD3320
ADSP STC11L08XE USART
STM32F103C8T6
MIC
LD3320
ADSP STC11L08XE ASR
STM32F103C8T6 STC11L08XE
STM32






[3].[J].,2019(09):55-
,2019,48(06):135-137.
,2018(27):90-91.
26

32
MAIN
Main