200918928 九、發明說明: 【發明所屬之技術領域】 本發明涉及一種聲源定位系統及方法。 • 【先前技術】 如手機都内置有麥克風用 市面上多數手持電子裝置 來傳輸聲音。 Π77 虽于钱處於免提狀態模式時, 聲源的位置’無法傳輸清晰的語音訊息從而= 由於聲源方向是會變化 聲源方位,亦無法傳輸 當手機處於電話會議模式時’ 的,而此時如果手機無法準確定位 Ν品質聲音。 【發明内容】 法,内谷’有必要提供—種聲源定位系統及2 感度以提高聲音傳輸品f。1 “麥克風在聲源方㈣ 安佳實施例提供一種聲源定位系統,包括-個 個用程式的手縣置,該手縣置包括至少一 波束开:成源訊號的麥克風’戶斤述之聲源定位程式利用 =絲成Μ法計算出麥克風接收聲音訊號的總電塵,藉 -异出麥克風接收聲音訊號的能量分佈以^ 疋聲源的方位。 包括S明較佳實施㈣提供—種聲源定位方法,該方法 200918928 (a)將聲源定位程式安袭於手持裝置中; (b )運行該聲源定位程式; 總電慶;,用波束心成/貝异法計算麥克風接收聲音訊號的 量』:由所述總電壓計算出麥克風接收聲音訊號的能 ⑷確定能量分佈最大的方位為聲源方位。 相較於習知技術,所述之聲 用波束形成演算法計算手持 糸、、先及方法,可利 總電壓,並藉由該總電壓計算= f音訊號的 而確定最大能量分佈方位為聲源;= 度,最终改善麥克風的聲音傳輸IS 【貫施方式】 月 庫用1料,是本糾㈣m紐彳i實施例的 S二圖。該聲源定位系統至少包括—個手持裝置2。 置是手機或其他㈣有麥克風的電子裝 :::剩組成-陣列的麥克風-,其中每兩個 手持F w距離為d。—個聲源1從θ角度位置入射到 源手持裝置2中的麥克風2。陣列接收該聲 首、,出的$日訊號。該聲較位程式21利用波束 理麥克風料列接收到的聲音訊號,計算各产 二的二姻,藉由最大波束能量來判斷聲源方位,麟 克風20陣列在該方位上的感度調至最高,從而大大改善 200918928 聲音的傳輸品質。 在其他實施射,手持裝置2中亦可僅包括_ 風20。 個麥克 其中,波束形成演算法的公式為如下: Όθ角度上入射到麥克風20 弋. 兄卩〇陣列的總電壓的計算公 ^ ~ ^〇s{(〇r + wi() 2nd . ^ —r-sm^ Λ 壓 回應。 其中’d為麥克風間距;λ為聲波波長;以 數量4為第m個麥克風;及細為第以個麥克^的 Γοϊ J# _ J 电 量 八2)由上述接收的總電壓V可得出波束在各方位能 分佈的計算公式: 其中,b(e)的分佈示意圖如圖2所示,從圖中可看出, 其中聲音訊號能量分佈為A, BA c三個方向,能量密华 的A方位就是聲源方位。 山木 圖3是本發明聲源定位方法的工作流程圖。步驟 S3〇l,將聲源定位程式21寫入手持裝置2中,該手持裝 置2可以是手機。 、 〜步驟S302,當用戶使用免提(Speakerph〇ne)電話或進 行電話會議(Conference Call)時運行該聲源定位程式21。 步驟S303,當手持裝置2中的麥克風2〇陣列接收到 200918928 聲源1發出的聲音訊號時’該聲源定位程式21利、 成演算法計算該聲音訊號的聲音能量分饰, 波束形 找出最大的At ^分佈來確定聲音聲源i的方向。其中波形形成演算法: !)θ、角度上入射到麥克風20陣列的總電壓的計管公200918928 IX. Description of the Invention: [Technical Field of the Invention] The present invention relates to a sound source localization system and method. • [Prior Art] If the phone has a built-in microphone, it is used by most handheld electronic devices on the market to transmit sound. Π77 Although the location of the sound source cannot transmit a clear voice message when the money is in the hands-free state mode, = the direction of the sound source will change the sound source orientation, and it cannot be transmitted when the mobile phone is in the conference call mode. If the phone cannot accurately locate the quality sound. SUMMARY OF THE INVENTION The method, the inner valley, is necessary to provide a sound source localization system and 2 sensitivities to improve the sound transmission product f. 1 "Microphone in the sound source side (4) Anjia embodiment provides a sound source positioning system, including - a program of the hand county, the hand county includes at least one beam open: the microphone into the source signal The sound source localization program calculates the total electric dust of the microphone receiving the sound signal by using the method of the wire-forming method, and the energy distribution of the sound signal is received by the external microphone to control the orientation of the sound source. Sound source localization method, the method 200918928 (a) the sound source localization program is attacked in the handheld device; (b) running the sound source localization program; total electric celebration; calculating the microphone receiving sound by the beam core/beauty method The amount of signal: the energy of the microphone receiving the sound signal is calculated by the total voltage. (4) The orientation with the largest energy distribution is determined as the sound source orientation. Compared with the prior art, the sound beamforming algorithm calculates the hand-held chirp, First, the method, the total voltage can be used, and the total energy distribution is determined by the total voltage calculation = f sound signal to determine the maximum energy distribution direction as the sound source; = degree, and finally improve the sound transmission of the microphone IS [Practical mode] The library uses 1 material, which is the second diagram of the embodiment of the correction (4) m 彳 彳 i. The sound source positioning system includes at least one handheld device 2. The device is a mobile phone or other (4) electronic device with a microphone::: residual composition - array Microphone - wherein each of the two handheld F w distances is d. - A sound source 1 is incident from the θ angular position to the microphone 2 in the source handset 2. The array receives the first and second day signals. The bit program 21 uses the sound signal received by the beam microphone to calculate the two marriages of each product, and the maximum beam energy is used to determine the sound source orientation, and the sensitivity of the Linke 20 array in the orientation is adjusted to the highest. Therefore, the transmission quality of the sound of 200918928 is greatly improved. In other implementations, the handheld device 2 may also include only the _ wind 20. The mic of the beam forming algorithm is as follows: Ό θ angle is incident on the microphone 20 弋. The total voltage of the 〇 array is calculated by ^^^〇{(〇r + wi() 2nd . ^ —r-sm^ 回应 回应 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 m microphones; and fine for the first mic ο ϊ J# _ J Electricity 八 2) From the total voltage V received above, the calculation formula of the beam energy distribution in each position can be obtained: where the distribution diagram of b(e) is shown in Fig. 2, as can be seen from the figure, The sound signal energy distribution is A, BA c three directions, and the energy A dense A direction is the sound source orientation. The mountain wood figure 3 is the working flow chart of the sound source localization method of the present invention. Step S3〇l, the sound source localization program 21 is written in the handheld device 2, and the handheld device 2 can be a mobile phone. Step S302, the sound source locating program 21 is run when the user uses a speakerphone or a conference call. Step S303, when the microphone 2 array in the handheld device 2 receives the sound signal from the sound source 1 of the 200918928 sound source, the sound source positioning program 21 calculates an algorithm for calculating the sound energy of the sound signal, and the beam shape is found. The largest At ^ distribution determines the direction of the sound source i. The waveform forming algorithm: !) θ, the angle of the total voltage incident on the array of microphones 20
1 ~ X<-'Os(wr+ /;///) II …V 7、凡风白勺 為第Π1個麥克風的電壓 其中,d為麥克風間距;λ為 數里,m為第m個麥克風;及Rm 回應。 可得出波束在各方位能量 2)由上述接收的總電壓v 分佈的計算公式:1 ~ X<-'Os(wr+ /;///) II ...V 7. Where the wind is the voltage of the first microphone, where d is the microphone pitch; λ is a few miles, m is the mth microphone; Rm responded. It can be derived from the energy of the beam in all places 2) The formula for calculating the total voltage v distribution received by the above:
f中,_的分佈示意圖如圖2所示,從圖中可看出, 其中聲音訊號能量分佈為A,B及C -伽士a 次L二個方向,能量密隼 的A方位就是聲源方位。 一 步驟S304 ’在確定聲源1的方位後,將麥克風20陣 列對聲源1所在方位的感度調至最高,並降低㈣i在其 他方位的感度。從而提高麥克風2G傳輸聲音的品質。 綜上所述’本發明符合發明專利要件,菱依法提出專 利申μ g U上所述者僅為本發明之較佳實施例,本發 明之範圍並不以上述實施例為限,舉凡熟悉本案技藝之人 9 200918928 士援依本發明之精神所作之等效修飾或變化,皆應涵蓋於 以下申請專利範圍内。 ^ 【圖式簡單說明】 , 圖1是本發明聲源定位系統的應用環境圖。 圖2是本發明的聲音能量分佈示意圖。 圖3是本發明聲源定位方法較佳實施例的流程圖。 【主要元件符號說明】 聲源 1 手持裝置 2 麥克風 20 聲源定位程式 21 10In f, the distribution diagram of _ is shown in Fig. 2. As can be seen from the figure, the energy distribution of the sound signal is A, B and C-gashi a times L, and the A-direction of the energy density is the sound source. Orientation. In step S304', after determining the orientation of the sound source 1, the sensitivity of the array of microphones 20 to the position of the sound source 1 is adjusted to the highest, and the sensitivity of (4) i in other directions is lowered. Thereby improving the quality of the sound transmitted by the microphone 2G. In summary, the present invention is in accordance with the invention patent requirements, and the above-mentioned patent application is only a preferred embodiment of the present invention, and the scope of the present invention is not limited to the above embodiments. Artisan 9 200918928 The equivalent modifications or variations of the Society in accordance with the spirit of the present invention are intended to be included in the scope of the following claims. ^ [Simple description of the drawings], Fig. 1 is an application environment diagram of the sound source localization system of the present invention. Figure 2 is a schematic diagram of the distribution of sound energy of the present invention. 3 is a flow chart of a preferred embodiment of a sound source localization method of the present invention. [Main component symbol description] Sound source 1 Handheld device 2 Microphone 20 Sound source positioning program 21 10