摘 要
隨著多媒體信息處理技術的發展,音頻處理技術得到了廣泛的應用.語音技術是研究用數字信號處理技術對語音信號進行處理的一門學科,是在多學科基礎上發展起來的綜合性技術。語音技術涉及數字信號處理、模式識別、語音學、語言學和人工智能等多個學科。
凌陽十六位單片機SPCE061A采用凌陽最新推出的μ’nSP(Microcontroller and Signal Processor)16 位微處理器內核(以下簡稱μ’nSP),而μ’nSP內核是一個通用的核結構。SPCE061A內嵌32K字(Word)閃存(FLASH),2K字(Word)SRAM,內置十位ADC、DAC,有多達十四個的中斷源等豐富的片內資源。CPU最高可工作在49MHz的主頻下,較高的處理速度使μ’nSP能夠非常容易地、快速地處理復雜的數字信號,這使得SPCE061A具有靈活的語音處理能力。因此,與其它類型的單片機相比,以μ’nSP為核心的SPCE061A微控制器是適用于有數字語音功能的應用領域產品的一種最經濟的選擇。
本文討論了應用SPCE061A精簡開發板——61板、LED鍵盤顯示模塊、SPR模組_4096實現簡易的公交車報站器。接著對語音報站系統從硬件和軟件方面進行分析設計,選擇和利用開發板提供的軟硬件資源,詳細描述了語音報站系統的設計思想和實現步驟。
系統硬件設計是采用凌陽公司的SPCE061A高性能16位單片機,工作電壓范圍是2.6~5.5V,低電壓、較高的系統工作頻率使該單片機能夠較快速的處理數字信號。片內集成了自動增益控制功能的麥克風輸入方式以及DAC音頻輸出功能,提供了豐富的C函數庫和語音處理函數庫。
軟件采用模塊化程序結構,程序模塊包括初始化、鍵盤掃描、SPR_4096驅動、時間顯示、語音播放模塊等等。
關鍵詞: SPCE061A;SPR4096;公交車報站器;FLASH
Abstract
With the development of multimedia information processing technology, Audio processing technology has been widely applied. Speech technology is using digital signal processing technology, the audio signal of a subject, in a multidisciplinary developed on the basis of comprehensive technical. Speech technology involve digital signal processing, pattern recognition, voice science, linguistics and artificial intelligence, and other disciplines.
Sunplus 16 SPCE061A used Sunplus μ'nSP16 spaces Microprocessor Core ( here in after referred μ'nSP) newly introduced,μ'nSP kernel is a common nuclear structure. SPCE061A embedded 32 K word (Word) Flash (FLASH), 2K words (Word) SRAM, a built-in 10 ADC, DAC, Up to 14 interrupt sources, such as the abundant resources within the unit. CPU maximum in the 49 MHz frequency, the higher the processing speed to make μ'nSP very easily, Quick to tackle complex digital signal, which makes SPCE061A with flexible voice processing capability. Therefore, with other types of SCM, the μ'nSP as the core to the SPCE061A Microcontrollers is applicable to a digital voice function areas of application products one of the most economic choice.
This paper discusses the application of SPCE061A streamline the development board -- 61 board, LED keyboard and display module, SPR_4096 module to achieve simple bus stations device. Then the voice stations from the system hardware and software design analysis, Selection and Development Board for the use of the hardware and software resources, a detailed description of Sound station system design and implementation steps.
System hardware design is used Sunplus high-performance 16 SPCE061A MCU, Working voltage range of 2.6-5.5V, low voltage, higher frequency of the system so that the MCU can be more rapid process digital signal. Chip integrates AGC function of the microphone input mode and the audio DAC output, provided a wealth of C functions and voice processing functions.
Software used modular program structure.Modules include initialization procedures, keyboard scan, SPR_4096 drive, time show, broadcast speech module, and so on.
Key words: SPR4096; SPCE061A; bus stations for voice; FLASH