1357269 九、發明說明: 【發明所屬之技術領域】 本發明係使用硬體電路設計配合軟體控制,讓一個音 訊處理裝置同時能偵測與接收數位與類比訊號。 【先前技術】1357269 IX. Description of the Invention: [Technical Field of the Invention] The present invention uses a hardware circuit design and software control to allow an audio processing device to simultaneously detect and receive digital and analog signals. [Prior Art]
隨著電子產品不斷的創新與發展,麥克風接頭的種類 也越來越多樣化;例如’有以類比方式傳送訊號的三端式 的接頭,即所謂的類比式麥克風,也有一種以數位方式傳 送訊號的四端式接頭,即所謂的數位式麥克風。 由於類比式麥克風與數位式麥克風的接頭形式盥吒 號格式不相同’若要支援不同種麥克風的接頭,—般會採 用不同的電路板與晶片進行訊號處理。然而,4 了接收不 同種類型的麥克風,電路料者需請進行電路設計,如 此-來’會增加設計上的時間與減少使用者在使用上的彈 性0 【發明内容】 本發明的目的之一在於裎 级i μ各 ΒΦ ± ± 在於獒供一種音讯處理裝置,可同 時支极數位麥克風與類比麥克 ,兄風運到隨插即用的功能。 本發明揭露一種種音 处段装置,適用於處理一接收 松、,且上之一音源訊號,音..理往婆6人 a Λ慝理裝置包含一第一偵測雷 路,用於偵測該接收模組是 、 疋企有接頭插入,以輪屮―筮 一偵測訊號;一第-偵測φm 顆】出第 弟一偵測電路,用於偵測 類型,以輸出-第二偵剛 按貝之接頭 识〜汛唬,一音訊處理電路,耦接至 1357269 该第一偵測電路與該第二偵測電路,用於依據該第一與該 第一偵測訊號以輸出至少一控制訊號;以及一操作訊號輸 出黾路耗接至戎音訊處理電路,用於依據該控制訊號以 ,、疋疋否輸出一操作訊號至該接頭;其中,當該接頭類髮 為數位麥克風接頭類型時,該操作訊號輸出電路輸出該 操作訊號至該接頭;當該接頭類型為類比麥克風接頭類型 時,該操作訊號輸出電路停止輸出該操作訊號至該接頭。 【實施方式】 以下說明將參照相關的圖式說明本發明之較佳實施 例三使任何熟悉此項技藝者可據以實施本發明,雖本發明 貫施例有所差異,然而特色、結構或特徵說明於本文中 用以聯繫任—實施者’在無需脫離本發明之㈣内,可據 以實施於其他實施例中’而非僅以下所述方式。此外,個 別原:於每一揭露之實施例之安排與位置,在不脫離本發 :::靶!内當可作適當更動’因此本發明之保護範圍當視 後附之申請專利範圍所界定者為準。 >請參閱第!圖,第!圖為本發明一音訊處理裝置第一 :細例之不意圖’如圖所示,音訊處理裝1_包含有第 =測:路⑽’用以偵測接收模組u。上之插槽ιΐ2是 112中j插入,第二侦測電路104,用α偵測插入插槽 接頭類型;音訊處理電路_用以處理接收模 立上之音源訊號;操作訊號輸出電路106,用 曰訊處理電路1〇2所輸出之控制訊號以決定 二 刼作訊號至該插槽丨12中。 輸出 u本貫施例而言,該接收模組 1357269 110上之插槽112為一四端訊號的插槽,該四端訊號的插 槽用以接受一數位麥克風之接頭114,該數位麥克風之接 頭114包含第一工作電壓端DVDD、一時脈訊號端clk、 一資料訊號端與第二工作電壓端gnd。 以下對第一實施例之操作原理做較詳細之說明,請再 次參閱第1圖,當數位麥克風之接頭114未插入插槽112 時,插槽112中之接點5與接點ό形成短路的狀態,在此 情況下,耦接於音訊處理電路丨〇2與接收模組間之開關 Q卜其閘極電壓為0V,即,開關Q1為關閉(Turn_〇ff)之 狀態,因此,第一偵測電路丨〇8會輸出一相對應之第一偵 測電壓Vdetl至音訊處理電路1〇2之感測腳位sense_b 上,以供音訊處理電路102判斷是否插槽112有接頭插 入。接著,音訊處理電路i 〇2藉由内部的硬體電路或系統 軟體依據該第一偵測電壓Vdetl之電壓值,可判斷出插槽 112並未有接頭插入。當判斷出沒有接頭插入的狀態下, 音讯處理電路1〇2則透過控制腳位UNE2_vrEF〇輸出控 制訊號至操作訊號輸出電路1〇6中的開關Q2,以關閉開 關Q2、開關Q3與開關q4,禁能操作訊號輸出至插槽丄12 中。凊注意,以本發明之—實施例而言,操作訊號可為一 時脈訊號或一工作電壓訊號,其中,時脈訊號係由 DMIC—CUC之接腳所輸出_,工作電麼訊號係由電晶體 Q4所輸出,但本發明並不以此為限。 田數位麥克風之接頭】14插入插槽112時插槽 中之接點5與接點6形成斷路的狀態,在此情況下,開關 Q1之間極電塵為4.55V’即,開關Q1為導通(丁,〇n) 1357269 之狀悲,此時,第一偵測電路108會輸出一相對應之第一 偵測電壓Vdetl至音訊處理電路1〇2之感測腳位senseb 上,以供音訊處理電路102進行判斷❶在此狀態下,由於 數位麥克風之接頭114已插入插槽112中,第二偵測電路 104亦會輸出—相對應之第二偵測電壓Vdet2至資料腳位 DMIC_DATA t ’以供音訊處理電路i 〇2進行判斷,判斷 所插入之接頭類型。依據一實施例,第二偵測電路為一電 阻Ri,其一端耦接於音訊處理電路102與接收模組11〇 之間’另一端耦接至工作電壓33V。 承上所述,當音訊處理電路1〇2依據第一偵測電壓 Vdetl判斷出數位麥克風之接頭114已插入插槽112時, /、内邛之硬體電路與系統軟體再偵測資料腳位 C一DATA之第二偵測電壓,以判斷所插入之接頭類 型三以本實施例來說,所插入之接頭為一數位式之接頭; 接著,音訊處理電路102透過控制腳位UNE2_vref〇輸 出控制訊號至操作訊號輸出電路1G6中,致能或導通開關 Q2、開關Q3料關q4,以輸出時脈訊號CLK與工作電 壓3.3V至數位麥克風之接頭114,以讀取麥克風上之音 源訊號。 另外,為了能夠順利的驅動麥克風,提供至麥克風的 電流量相較於一般積體電路中的電流量要來得大,因此, 操作訊號輸出電路206中之開關Q4依據一實施例,可由 一功率電晶體所實現(Pt)wei· _),以提供較大的電流量 至麥克風並防止電流過時會燒壞電晶體Q4的現象發生。 此外,依據本發明之—實施例,音訊處理電路ig2係設置 1357269 综上所述,本發明之音訊處理裝置與方法係藉由偵測 電路、音訊處理電路與操作訊號輸出電路間的交互運作, •提一種解決方案,可使得系統設計者可依據產品的需 求设叶所需要的模組,不需再對電路進行重新的設計,如 此來不僅可以減少產品設計上的時間,更可增加產品 應用上的彈性。 以上所述僅為本發明之較佳實施例,凡依本發明申請 -專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範 • 圍。 【圖式簡單說明】 圖1為本發明音訊處理裝置之第—實施例示意圖。 圖2為本發明音訊處理裝置之第二實施例示意圖。 圖3為本發明音訊處理方法之操作流程圖。 【主要元件符號說明】 100 ' 200 108 ' 208 102 ' 202With the continuous innovation and development of electronic products, the types of microphone connectors are becoming more and more diverse; for example, 'three-terminal connectors that transmit signals in analogy, so-called analog microphones, there is also a digital signal transmission. The four-terminal connector is a so-called digital microphone. Since the analog microphone and the digital microphone have different connector formats, </ br>, to support different types of microphone connectors, different circuit boards and chips are used for signal processing. However, 4 to receive different types of microphones, the circuit material needs to perform circuit design, so - will increase the design time and reduce the flexibility of the user in use 0 [Summary] One of the objects of the present invention In the 裎 grade i μ Β Φ ± ± 獒 獒 獒 一种 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒 獒The invention discloses a seeding section device, which is suitable for processing a receiving sound, and the upper one of the sound source signals, and the sounding of the six-person a processing device comprises a first detecting lightning path for detecting The receiving module is tested, the connector has a connector inserted, and the wheel 屮-筮一 detecting signal; a first detecting φm one out of the first brother detecting circuit for detecting the type to output - the second The first detection circuit and the second detection circuit are configured to output at least the first detection signal according to the first detection circuit and the second detection circuit. a control signal; and an operation signal output circuit is connected to the audio processing circuit for outputting an operation signal to the connector according to the control signal; wherein, when the connector is a digital microphone connector In the type, the operation signal output circuit outputs the operation signal to the connector; when the connector type is an analog microphone connector type, the operation signal output circuit stops outputting the operation signal to the connector. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The following description of the preferred embodiments of the present invention will be made in accordance with the accompanying drawings. Features are described herein to be used in connection with the "executor" without departing from the invention (4), and may be implemented in other embodiments, rather than merely as described below. In addition, the individual original: the arrangement and location of each disclosed embodiment, without departing from the present invention ::: target! The scope of protection of the present invention is defined by the scope of the appended claims. >See the first! Figure, the first! The figure is an audio processing device of the present invention. First, the detailed description is not intended. As shown, the audio processing device 1_ includes a measurement channel (10) for detecting the receiving module u. The upper slot ιΐ2 is inserted in 112, the second detecting circuit 104 detects the inserted slot connector type by using α; the audio processing circuit _ is used to process the sound source signal on the receiving module; and the operation signal output circuit 106 is used. The control signal outputted by the processing circuit 1〇2 determines the signal to the slot 丨12. In the case of the output embodiment, the slot 112 on the receiving module 1357269 110 is a slot of four-terminal signals, and the slot of the four-terminal signal is used to receive a connector 114 of a digital microphone. The connector 114 includes a first working voltage terminal DVDD, a clock signal terminal clk, a data signal terminal and a second operating voltage terminal gnd. The operation principle of the first embodiment will be described in more detail below. Please refer to FIG. 1 again. When the connector 114 of the digital microphone is not inserted into the slot 112, the contact 5 in the slot 112 is short-circuited with the contact ό. State, in this case, the switch Q coupled between the audio processing circuit 丨〇2 and the receiving module has a gate voltage of 0V, that is, the switch Q1 is in a state of being turned off (Turn_〇ff), therefore, A detecting circuit 8 outputs a corresponding first detecting voltage Vdetl to the sensing pin sense_b of the audio processing circuit 1〇2 for the audio processing circuit 102 to determine whether the slot 112 has a connector inserted. Then, the audio processing circuit i 〇 2 can determine that the slot 112 has no connector insertion by the internal hardware circuit or the system software according to the voltage value of the first detection voltage Vdetl. When it is determined that there is no connector insertion, the audio processing circuit 1〇2 outputs a control signal to the switch Q2 in the operation signal output circuit 1〇6 through the control pin UNE2_vrEF〇 to turn off the switch Q2, the switch Q3 and the switch q4, The disable operation signal is output to the slot 丄12. It should be noted that, in the embodiment of the present invention, the operation signal can be a clock signal or a working voltage signal, wherein the clock signal is output by the DMIC-CUC pin _, and the working power signal is powered by The crystal Q4 is output, but the invention is not limited thereto. Field digital microphone connector] 14 When the slot 112 is inserted into the slot 112, the contact 5 and the contact 6 in the slot form an open state. In this case, the extreme dust between the switch Q1 is 4.55 V', that is, the switch Q1 is turned on. (D, 〇n) 1357269 is sad, at this time, the first detecting circuit 108 outputs a corresponding first detecting voltage Vdetl to the sensing pin senseb of the audio processing circuit 1〇2 for audio The processing circuit 102 performs the determination. In this state, since the connector 114 of the digital microphone has been inserted into the slot 112, the second detecting circuit 104 also outputs a corresponding second detecting voltage Vdet2 to the data pin DMIC_DATA t ' It is judged by the audio processing circuit i 〇 2 to judge the type of the connector to be inserted. According to an embodiment, the second detecting circuit is a resistor Ri, and one end thereof is coupled between the audio processing circuit 102 and the receiving module 11A, and the other end is coupled to the operating voltage 33V. As described above, when the audio processing circuit 1〇2 determines that the connector 114 of the digital microphone has been inserted into the slot 112 according to the first detection voltage Vdetl, the hardware circuit of the internal microphone and the system software re-detect the data pin. The second detection voltage of C_DATA is used to judge the type of connector to be inserted. In the embodiment, the inserted connector is a digital connector; then, the audio processing circuit 102 is controlled by the control pin UNE2_vref〇. In the signal-to-operation signal output circuit 1G6, the enable or turn-on switch Q2 and the switch Q3 are turned off q4 to output the clock signal CLK and the operating voltage 3.3V to the connector 114 of the digital microphone to read the sound source signal on the microphone. In addition, in order to drive the microphone smoothly, the amount of current supplied to the microphone is larger than the amount of current in the general integrated circuit. Therefore, the switch Q4 in the operation signal output circuit 206 can be powered by a power according to an embodiment. The crystal realizes (Pt)wei· _) to provide a large amount of current to the microphone and prevent the phenomenon that the transistor Q4 is burned out when the current is overdated. In addition, according to the embodiment of the present invention, the audio processing circuit ig2 is provided with 1357269. In summary, the audio processing device and method of the present invention operate by the interaction between the detecting circuit, the audio processing circuit and the operating signal output circuit. • A solution that allows the system designer to set the required modules for the product according to the needs of the product. There is no need to redesign the circuit, which not only reduces the time required for product design, but also increases product application. Elasticity. The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention are subject to the scope of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a schematic view showing a first embodiment of an audio processing device of the present invention. 2 is a schematic diagram of a second embodiment of an audio processing device of the present invention. 3 is a flow chart showing the operation of the audio processing method of the present invention. [Main component symbol description] 100 ' 200 108 ' 208 102 ' 202
104 、 204 106 、 206 110 、 210 112 、 212 音訊處理裝置 第一偵測電路 音訊處理電路 第二偵測電路 操作訊號輸出電路 接收模組 插槽 114 :數位麥克風之接頭 214 :類比麥克風之接頭104, 204 106, 206 110, 210 112, 212 audio processing device first detection circuit audio processing circuit second detection circuit operation signal output circuit receiving module slot 114: digital microphone connector 214: analog microphone connector
Rl、R2、R3、R4、R5、r6、R7、R8、r9、R1〇、Rn : 電阻 13 • -r 1357269 Q1、Q2、Q3、Q4 :開關 C1、C2 :電容 D1、D2 :二極體Rl, R2, R3, R4, R5, r6, R7, R8, r9, R1〇, Rn: Resistor 13 • -r 1357269 Q1, Q2, Q3, Q4: Switch C1, C2: Capacitor D1, D2: Diode
/ ^>1 t n·. ···· =# 14/ ^>1 t n·. ···· =# 14