Unlock instant, AI-driven research and patent intelligence for your innovation.

USB microphone array real-time complete data flow method based on programmable chip

A microphone array and data stream technology, applied in electrical digital data processing, digital memory information, instruments, etc., can solve the problems of data overflow in the buffer, loss of valid data, no clock synchronization mechanism, etc., to achieve good performance, guaranteed Real-time and complete effects

Pending Publication Date: 2022-07-22
HARBIN INST OF TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Since there is no synchronous clock line on the USB bus, and the underlying protocol of the USB does not provide an inherent clock synchronization mechanism, the communication between the USB microphone array and the system platform is asynchronous clock communication, and there will be asynchronous reading and writing across clock domains during the audio data stream transmission process. Problem, as the working time increases, there will be data overflow or empty reading in the buffer area, that is, valid data will be lost

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • USB microphone array real-time complete data flow method based on programmable chip
  • USB microphone array real-time complete data flow method based on programmable chip
  • USB microphone array real-time complete data flow method based on programmable chip

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings and examples.

[0042] A real-time complete data flow method for USB microphone array based on programmable chip, its overall architecture is as follows figure 1 shown, including:

[0043] The ping-pong buffer program module is used to provide an efficient temporary buffer to ensure the real-time performance of receiving the microphone PDM data stream and subsequent extraction and decoding operations. During the DMA transmission process, the two buffers are continuously alternately received the PDM data stream continuously output by the microphone;

[0044] The main loop decoding program module, such as figure 2 As shown in the figure, it is used to perform decimation filtering in software on the PDM data stream output by the microphone to decode it into the required PCM data stream, which consumes CPU resources. A section of the cache array is full...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a USB microphone array real-time complete data flow method based on a programmable chip. Ping-pong buffering, main loop decoding, an annular queue and a USB IN interrupt program module are included. A huge data stream needs to be transmitted and processed in a microphone array, and the real-time and integrity of the data stream need to be ensured in the process. Therefore, firstly, a ping-pong buffer of software is designed, and two sections of buffer arrays with the same length are developed for alternately receiving PDM data streams continuously output by a microphone; then, whenever a certain section of ping-pong buffer is full of data, the whole ping-pong buffer is placed in a main loop program to be extracted and decoded, and PCM data blocks are obtained; and finally, directly writing the PCM data block decoded each time into the designed annular queue, and dynamically reading data from the annular queue by adopting a self-adaptive algorithm to upload the data when the USB IN is interrupted. In addition, the ping-pong buffer size is designed to ensure the integrity of the data stream. According to the method, the real-time and integrity of transmission and processing of a huge data stream in the microphone array can be guaranteed.

Description

technical field [0001] The invention belongs to the technical field of electronics and communication, and more particularly, relates to a real-time complete data flow method of a USB microphone array based on a programmable chip. Background technique [0002] Microphone arrays are the basis for applications such as sound source localization, intelligent video conferencing, and intelligent perception. The USB microphone array platform developed based on embedded programmable chips is a convenient and low-cost solution with great commercial application value. The key to the realization of the array function lies in the design of the programmable chip firmware program, and the core of the firmware program is the audio data stream architecture. In order to facilitate developers to develop USB audio device applications based on convenient and open source programmable chips, it is difficult for existing data stream solutions to ensure the real-time and integrity of data in the pro...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G11C7/16G06F13/28
CPCG11C7/16G06F13/282
Inventor 汪志胜崔俊宁程钟义
Owner HARBIN INST OF TECH