【機(jī)械類畢業(yè)論文中英文對(duì)照文獻(xiàn)翻譯】ISD4004語音芯片在語音報(bào)站器中的應(yīng)用【word英文1087字3頁word中文翻譯1978字2頁】
【機(jī)械類畢業(yè)論文中英文對(duì)照文獻(xiàn)翻譯】ISD4004語音芯片在語音報(bào)站器中的應(yīng)用【word英文1087字3頁word中文翻譯1978字2頁】,機(jī)械類畢業(yè)論文中英文對(duì)照文獻(xiàn)翻譯,word英文1087字3頁,word中文翻譯1978字2頁,機(jī)械類,畢業(yè)論文,中英文,對(duì)照,對(duì)比,比照,文獻(xiàn),翻譯,isd4004,語音,芯片,報(bào)站,中的,應(yīng)用,利用
ISD4004 voice chip voice stop in the browser application
摘要: ISD4004語音系列芯片是美國ISD公司推出的產(chǎn)品,具有可多次重復(fù)錄放、存儲(chǔ)時(shí)間長、使用時(shí)不需擴(kuò)充存儲(chǔ)器、所需外圍電路簡單Abstract: ISD4004 voice chip series are the United States ISD introduced products, with multiple repeat playback, storage time, when used without the expansion of memory, peripheral circuits required for features such as easy. 介紹了ISD4004芯片在語音報(bào)站器中的一個(gè)實(shí)際應(yīng)用,并說明了其功能和使用方法,從而使讀者對(duì)ISD4004系列語音芯片的使用有個(gè)初步的了解。 Introduced in the voice chip ISD4004 stop device in a practical application, and explains its function and use of methods, thus enabling readers to voice chip ISD4004 series use to have a preliminary understanding.
關(guān)鍵詞: ISD4004單片機(jī)Key words: ISD4004 single-chip voice stop browser
ISD4004語音芯片是由美國ISD公司推出的新產(chǎn)品。 ISD4004 voice chip ISD are from the United States launched the new products. 關(guān)于該語音芯片的引腳說明以及內(nèi)部電路等,很容易在ISD公司提供的芯片資料中查到,筆者就不進(jìn)行過多的描述,只簡單地對(duì)其特點(diǎn)做一介紹。 On the voice chip pin description of the internal circuit, etc., it is easy in the ISD chip information provided by the company found, I will not describe too much, only a brief introduction to its characteristics make one.
與普通的錄音/重放芯片相比,ISD4004具有如下特點(diǎn):首先,記錄聲音沒有段長度限制,并且聲音記錄不需要A/D轉(zhuǎn)換和壓縮;其次,將快速閃存作為存儲(chǔ)介質(zhì),無需電源即可保存數(shù)據(jù)長達(dá)100年,重復(fù)記錄10000次以上;此外,ISD4004具有記錄時(shí)間長(可達(dá)16分鐘,本文采用的為8分鐘的ISD4004語音芯片)的優(yōu)點(diǎn);最后,ISD4004的開發(fā)應(yīng)用具有所需外圍電路簡單的優(yōu)點(diǎn),這一點(diǎn)從本文介紹的其在語音報(bào)站器中的實(shí)際應(yīng)用可以體會(huì)到。 With ordinary recording / playback chip compared, ISD4004 has the following characteristics: First, the record does not sound paragraph length, and sound recordings do not need A / D conversion and compression; Secondly, as a fast flash storage medium, that is, without power supply data can be stored for up to 100 years, more than 10,000 duplicate records; In addition, ISD4004 has recorded a long time (up to 16 minutes, the paper used for the 8-minute ISD4004 voice chip) advantages; Finally, ISD4004 has required the development and application of peripheral circuits of the advantages of easy, This is evident from the introduction of this article reported that stations in the voice browser can be of practical application experience.
1 語音報(bào)站器硬件電路Sound Station 1 hardware circuit design
目前市場(chǎng)上流通的語音報(bào)站器,大多采用的不是ISD4004系列的芯片,這與其剛推出不久以及價(jià)格偏高有關(guān)。 Currently on the market stop the flow of voice, and mostly not used ISD4004 series of chips, which were introduced not long ago, as well as its high price-related. 但隨著ISD4004應(yīng)用的增多以及價(jià)格的回落,再加上ISD4004系列芯片本身的優(yōu)點(diǎn),可以相信,在語音報(bào)站器中采用ISD4004系列語音芯片是完全可行的。 However, with the number of applications, as well as ISD4004 price drop, coupled with the ISD4004 series of chips having the advantage, it is believed that the voice browser to use stop ISD4004 series voice chips are entirely feasible. 筆者設(shè)計(jì)了該裝置的硬件電路,并進(jìn)行了上車調(diào)試,取得了較為滿意的效果。 I designed the device's hardware circuit, and a Board debug, and achieved satisfactory results.
圖1 報(bào)站器硬件電路Figure 1 stop hardware circuit connection diagram
本文討論的語音報(bào)站器主要是指裝在車上的放音電路,不包含錄音電路。 This article discusses voice stop device is installed in the car means the playback circuit, does not include the recording circuit. 而在實(shí)際應(yīng)用中,錄音電路則完成報(bào)站內(nèi)容的錄音工作,并收錄內(nèi)容存儲(chǔ)到語音芯片中。 In practical application, the recording circuit is completed stop the contents of the recording, and recorded content is stored into the voice chip. 本文主要結(jié)合ISD4004在放音電路中的使用介紹ISD4004的典型應(yīng)用。 In this paper, combined with the ISD4004 playback circuit ISD4004 introduce the use of a typical application.
本文討論的報(bào)站器主電路主要由單片機(jī)89C52和ISD4004構(gòu)成。 This article discusses the browser stop main circuit mainly by single-chip microcomputer 89C52 and constitute ISD4004. 該系統(tǒng)的硬件電路連接圖如圖1所示。
本系統(tǒng)主要分為三部分:單片機(jī)控制部分、放音部分和顯示部分。 This system is mainly divided into three parts: single-chip control of the playback part and display part. 顯示電路采用的是通過P3.0、P3.1控制的兩個(gè)7段數(shù)碼管的靜態(tài)顯示器,在此不作詳細(xì)介紹;控制部分主要由單片機(jī)89C52構(gòu)成,包含必要的按鍵電路、復(fù)位電路和看門狗電路等外圍電路;放音部分主要由ISD4004構(gòu)成,包含配套的變壓電路、功放電路等。 Display circuit used by P3.0, P3.1 to control the two paragraph 7 of the static digital tube display, and I shall not detail; control part constituted mainly by the 89C52 single-chip that contains the necessary keys circuit, reset circuit and peripheral circuits, such as watchdog circuit; playback from ISD4004 constitute some of the major, including supporting the PSA circuit, power amplifier circuit.
從圖1中可以看出89C52和ISD4004之間的連接較少。 From Figure 1 can be seen 89C52 and fewer connections between the ISD4004. 單片機(jī)的P1.0~P1.3引腳接按鍵,控制報(bào)站器工作過程中是否放音和放音內(nèi)容;P1.6接ISD4004的片選引腳/SS,控制ISD4004是否選通;P1.7接ISD4004的串行輸入引腳MOSI,從該引腳讀入放音的地址;P3.0和P3.1控制外圍顯示電路,在報(bào)站器工作過程中顯示當(dāng)前的站號(hào);P3.2和P3.3分別接ISD4004的串行時(shí)鐘引腳SCLK和中斷引腳/INT。 MCU P1.0 ~ P1.3 pin access buttons, control devices stop the course of their work whether or not release the contents of tone playback; P1.6 access the ISD4004 chip select pin / SS, control whether ISD4004 strobe; ISD4004 then P1.7 serial input pin MOSI, read from the pin to the address of playback; P3.0 and P3.1 to control the external display circuit, in a newspaper, the course of their work station device displays the current number of stations; P3 .2 and P3.3, respectively, then ISD4004-pin serial clock SCLK and interrupt pin / INT. ISD4004芯片所需要的連接還有音頻信號(hào)輸出引腳AUDOUT,該引腳通過一個(gè)濾波電容與揚(yáng)聲器連接;AMCAP為自動(dòng)靜音端,使用時(shí)通過一電容接地。 ISD4004 chips needed to connect audio signals are output pins AUDOUT, the pin through a filter capacitor connected with the speaker; AMCAP to automatically mute end, through the use of one grounded capacitor. 此外,由于ISD4004的工作電壓為3V,而單片機(jī)所需供電電壓為5V,因此需要采用變壓電路得到3V電壓供ISD4004使用。 In addition, because of the work of ISD4004 voltage 3V, while the single-chip supply voltage required for the 5V, therefore be necessary to adopt 3V voltage transformer circuit for use ISD4004.
2 軟件2 Software Design
電路上電后,首先完成程序的初始化,隨后查詢按鍵狀態(tài),進(jìn)入系統(tǒng)待機(jī)狀態(tài)。 Electric circuits, the first to complete the initialization procedure, and then query the status button to enter system standby mode. 如果有按鍵按下,則轉(zhuǎn)去執(zhí)行該按鍵指向的工作程序。 If you have press the button, then turn to the implementation of the key point to the work procedures. 按鍵包括放音鍵、停止鍵、加一鍵、減一鍵以及特殊語鍵。 Keys including the playback button and stop button, plus 1 key, minus one key and special key words. 在待機(jī)狀態(tài)下,如果放音鍵首次被按下,程序?qū)⑹紫扰袛嗍侨ミ€是回(公交車路徑一般是既去又回的),并點(diǎn)亮相應(yīng)的指示燈,自動(dòng)讀出第一站的放音內(nèi)容,站號(hào)顯示1。 In the standby mode, if the playback button is pressed the first time, the program will be the first to judge are or go back to (the general path of the bus are not only go further back), and the corresponding indicator light automatically read out the first stop playback of the content, Station No. 1 show. 如果不是首次按下,則首先判斷當(dāng)前站號(hào),并以該站號(hào)為依據(jù)獲得存放該站放音內(nèi)容的首地址;然后調(diào)用放音子程序,讀入前面獲得的本站放音內(nèi)容首地址,開始放音。 If it is not the first press, then the first station to determine the current number, and the station number is based on access to stored content playback at the station and the first address; then call subroutine playback, read access to the site in front of the contents of the first playback Address to begin playback. 每一句放音完畢后,ISD4004的中斷引腳(25腳)會(huì)自動(dòng)送一低電平信號(hào)。 Each sentence after playback, ISD4004 interrupt pin (25 feet) will be automatically sent to one low-level signals. 在硬件設(shè)計(jì)中,該引腳與單片機(jī)的P3.3連接,因此會(huì)引起一次中斷,在中斷子程序中有一個(gè)計(jì)數(shù)器記錄中斷次數(shù),從而判斷何時(shí)當(dāng)前一站結(jié)束,站號(hào)加一并刷新顯示。 In hardware design, the pin and the MCU P3.3 connection, so will cause an interruption in the interruption subroutine, there is a disruption Record the number of counters, which determine when the end of the current Station 1, Station Plus together Refresh display. 加一鍵按下后,程序放音內(nèi)容轉(zhuǎn)向下一站;減一鍵按下后,則使程序放音內(nèi)容轉(zhuǎn)向上一站,相應(yīng)的站號(hào)顯示也將隨之刷新;特殊語鍵按下后,程序轉(zhuǎn)向執(zhí)行特殊語放音(譬如“拐彎請(qǐng)注意”等語句);停止鍵按下,將中止當(dāng)前的放音狀態(tài)。 Add one button press, the procedures for the next shift playback content; minus one key press, after the process is turned on playback the content of one station, the corresponding station number display will also refresh; special language key press after the procedure to the implementation of the special language playback (for example, "turning Please note" and other statements); stop key press, would suspend the current playback status. 為了便于讀者對(duì)ISD4004應(yīng)用的理解,本文給出了部分程序。 ISD4004 in order to facilitate the readers understanding of the application, this paper some of the procedures.
該部分程序主要完成放音操作,把獲得的放音內(nèi)容的地址送到ISD4004中,完成放音。 Part of the procedure to complete the main playback operation, to get the address of the content playback to the ISD4004, the completion of playback.
PLAY PLAY
ACALL POWERUP 上電子程序 ACALL POWERUP of electronic procedures
ACALL DELAY25 延遲子程序,至少延 ACALL DELAY25 delay subroutine, at least the extension of
遲25ms No later than 25ms
CLR P1.6 選中ISD4004 CLR P1.6 select ISD4004
MOV PLAY2#11100000B 存放SETPLAY命令 MOV PLAY2 # 11100000B stored command SETPLAY
MOV APLAY0 送放音地址低8位 MOV A PLAY0 playback address to send low 8
ACALL SEND 調(diào)用送地址子程序 ACALL SEND subroutine call to send the address
MOV APLAY1 送放音地址高8位 MOV A PLAY1 playback address to send high eight
ACALL SEND ACALL SEND
收藏