[go: up one dir, main page]

CN103064061B - Sound source localization method of three-dimensional space - Google Patents

Sound source localization method of three-dimensional space Download PDF

Info

Publication number
CN103064061B
CN103064061B CN201310001460.1A CN201310001460A CN103064061B CN 103064061 B CN103064061 B CN 103064061B CN 201310001460 A CN201310001460 A CN 201310001460A CN 103064061 B CN103064061 B CN 103064061B
Authority
CN
China
Prior art keywords
microphone array
sound source
microphone
elevation angle
angle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201310001460.1A
Other languages
Chinese (zh)
Other versions
CN103064061A (en
Inventor
杨鹏
徐勤奇
孙昊
祖丽楠
郑昀
尹哲
吴秀谦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hebei University of Technology
Original Assignee
Hebei University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hebei University of Technology filed Critical Hebei University of Technology
Priority to CN201310001460.1A priority Critical patent/CN103064061B/en
Publication of CN103064061A publication Critical patent/CN103064061A/en
Application granted granted Critical
Publication of CN103064061B publication Critical patent/CN103064061B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Circuit For Audible Band Transducer (AREA)
  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)

Abstract

三维空间声源定位方法,是采用可移动小型麦克风阵列和基于时延估计的声源定位技术进行三维空间声源定位方法,用小型麦克风阵列采集一段时间的目标声源信号,使用互相关的算法计算其中各个麦克风之间的时间差,把该时间差代入方位角度和仰角的计算公式得出目标声源的方位角度和仰角,然后将该小型麦克风阵列沿着一定的方位角度移动一段距离,重复上述操作,得出此时目标声源的方位角度和仰角,通过对目标声源的两次的方位角和仰角的测量,计算出声源目标的距离。本发明方法所采用的测量声源目标的方法为被动法,测量过程中小型麦克风阵列进行了移动,克服了现有技术的测量声源目标距离精度低和采用主动法来测量声源目标距离成本高并不安全的缺点。

The three-dimensional sound source localization method is a three-dimensional sound source localization method using a movable small microphone array and sound source localization technology based on time delay estimation. A small microphone array is used to collect target sound source signals for a period of time, and a cross-correlation algorithm is used. Calculate the time difference between each of the microphones, and substitute the time difference into the calculation formula of azimuth angle and elevation angle to obtain the azimuth angle and elevation angle of the target sound source, and then move the small microphone array along a certain azimuth angle for a certain distance, repeat the above operation , get the azimuth angle and elevation angle of the target sound source at this time, and calculate the distance of the sound source target by measuring the azimuth angle and elevation angle of the target sound source twice. The method for measuring the sound source target adopted by the method of the present invention is a passive method, and the small-sized microphone array is moved in the measurement process, which overcomes the low accuracy of measuring the sound source target distance in the prior art and adopts the active method to measure the cost of the sound source target distance High and unsafe disadvantages.

Description

Three dimensions sound localization method
Technical field
Technical scheme of the present invention relates to application sound wave by the device of determining that the cooperation of multiple directions is located, specifically three dimensions sound localization method.
Background technology
Now, along with the continuous expansion of bionics techniques application, the Auditory Perception technology based on microphone array becomes the important topic of numerous research fields such as Mobile Robotics Navigation, voice signal enhancing and submarine target perception gradually.Can say, the sense of hearing is one of important symbol of New Generation of Intelligent robot, is to realize " people-machine-environment " mutual important means.Because sound has the characteristic of cut-through thing, in many information acquisition systems, the sense of hearing can match with vision, thereby it is limited and can not be through the limitation of non-printing opacity barrier to make up the visual field of vision.In addition, can not only localization of sound source target in " auditory scene ", can also obtain more valuable information by modern signal processing technology.Therefore, design high-precision sound source locating device and there is important theory significance and using value in medical treatment, service and military field.
Microphone sound source locating device of the prior art and method can only localization of sound source orientation angle, accurately orientation distances.For example, CN201010191634.1 disclosed " a kind of sound source locating device ", the method of the location spatial sound source adopting is: gather one section of acoustic target signal, then the mistiming between each microphone be can obtain by said apparatus and its method for calculating and locating, deflection, the elevation angle and distance calculated according to mistiming and array geometry model.The deflection that the method calculates and elevation accuracy are very high, but the precision of distance is just poor.The measuring distance method using in this patented technology is passive means, and in the method entirety measuring process, microphone array is not moved.The shortcoming of this prior art is that the precision of orientation distance is not high enough.The sound localization method that document " based on the object locating system of orthopyramid battle array " was mentioned in (the 25th the 5th phase of volume of Southeast China University's journal) is: gather one section of acoustic target signal, then can obtain the mistiming between each microphone by said system and algorithm, then can only calculate deflection and the elevation angle according to mistiming and array geometry model, and now not calculate distance.And the measuring method of this section of article middle distance is: in array center, the device that can launch sound is set, after audio emission is gone out, while arriving acoustic target, can be reflected back, now array received is to sound, when sound and receive mistiming in these two moment while reflecting sound, calculate the distance of acoustic target according to transmitting.The measuring distance method of this section of article use is active method, and in the process of measuring distance, array is not also moved.The shortcoming of the method is to carry out measuring distance with active method, so just needs the equipment of extra additional emission sound, has increased the cost of system.Also have potential safety hazard if be used in addition military aspect, for example, be used in submarine detection, while at this moment using active method, need to launch voice signal, this signal is easily found by the other side and is received, thereby exposed oneself, generation potential safety hazard.
Summary of the invention
Technical matters to be solved by this invention is: three dimensions sound localization method is provided, and is to adopt movable small microphone array and the auditory localization technology based on time delay estimation to carry out three dimensions sound localization method.The method of the measurement acoustic target that the inventive method adopts is passive means, the middle-size and small-size microphone array of measuring process moves, and has overcome the measurement acoustic target range accuracy of prior art low and adopt active method to measure the high and unsafe shortcoming of acoustic target distance costs.
The present invention solves this technical problem adopted technical scheme: three dimensions sound localization method is to adopt movable small microphone array and the auditory localization technology based on time delay estimation to carry out three dimensions sound localization method,
A. the method device used
Comprise minitype microphone array, power supply conditioning device, data collecting card and host computer, four summits that wherein minitype microphone array lays respectively at positive tetrahedron by four independences and the identical microphone of characteristic form, and host computer comprises that time-delay calculation model, position angle calculate model, elevation angle computation model and apart from computation model; Each microphone needs the data line of a BNC connector to be connected with power supply conditioning device, power supply conditioning device is connected and thinks that the latter powers with whole microphone array by the data line of 4 BNC connectors, power supply conditioning device is also connected with data collecting card by the data line of 4 BNC connectors, and data collecting card is connected by a usb data line with host computer;
B. by the step that said apparatus carries out three dimensions sound localization method be:
Three dimensions auditory localization comprises that position angle B, elevation angle F, the acoustic target of determining acoustic target are from the horizontal range d of the central point of microphone array bottom surface 2with the distance B of acoustic target to the central point of minitype microphone array bottom surface,
The first step, measures the position angle A of acoustic target before minitype microphone array moves and the elevation angle E before minitype microphone array moves
Minitype microphone array is positive tetrahedron, and the center of establishing positive tetrahedron bottom surface is true origin O, and the microphone of position, true origin O dead ahead is S1, the microphone of true origin O location right is S2, the microphone of true origin O left position is S3, and the microphone of true origin O top position is S4
(1) carrying out by the time-delay calculation model in host computer the time delay that in minitype microphone array, each microphone is relative estimates
One according to measure the selected position of environmental baseline, with minitype microphone array to gather a period of time be 10ms~30ms target sound signal, voice signal passes to host computer by data collecting card, first host computer calculates voice signal, and to arrive relative time between four microphones on four summits that lay respectively at positive tetrahedron poor, be that voice signal arrives the time delay value between the moment of microphone S2, microphone S3 and microphone S4 and the moment of voice signal arrival microphone S1, concrete grammar is as follows:
The coordinate of supposing the discrete event signal model of two microphones reception voice signals is:
x 1(t)=a 1s(t)+n 1(t),x 2(t)=a 2s(t-τ 12)+n 2(t) (1)
In above formula, α ifor the attenuation coefficient of sound-source signal, s (t) is acoustic target signal, x i(t) voice signal gathering for microphone, n i(t) be the additional noise signal of sound source, τ 12be two time delays that microphone picks up voice signal, i.e. time delay,
By the voice signal x gathering i(t), i=1,2 by Fourier transform, changes into frequency domain signal X by time domain i(ω), its cross-power spectrum function is:
G X 1 X 2 ( ω ) = X 1 ( ω ) X 2 * ( ω ) - - - ( 2 )
Its cross correlation function is:
R x 1 x 2 ( τ ) = ∫ 0 π G X 1 X 2 ( ω ) e jωτ dω - - - ( 3 )
Finally carry out peak value detection, the point of the horizontal ordinate that the peak value of cross correlation function is corresponding is exactly time delay value t 21, use the same method and can calculate time delay value t 31and t 41, finally show that the time delay value between microphone S2, microphone S3 and microphone S4 and microphone S1 is respectively: t 21, t 31, t 41;
(2) calculate the position angle A of acoustic target before minitype microphone array moves and the elevation angle E before minitype microphone array moves by position angle calculating model and elevation angle computation model in host computer
If Q is acoustic target point, coordinate is Q (x, y, z), true origin O is r to the distance of acoustic target point Q, and OQ is projected as OQ ' XOY plane, definition OQ ' is α with the angle of X-axis, the angle of OQ and Z axis is β, supposes that S1 is a to the distance of true origin O, and the coordinate of four microphones is respectively: S 1=(a, 0,0), S 2 = ( - a / 2 , 3 a / 2,0 ) , S 3 = ( - a / 2 , - 3 a / 2,0 ) , S 4 = ( 0,0 , 2 a ) ,
The time delay value obtaining between the moment of voice signal arrival microphone S2, microphone S3 and microphone S4 and the moment of voice signal arrival microphone S1 from above-mentioned (1) is respectively: t 21, t 31, t 41,
At this moment the position angle formula that draws sound source is:
α ≈ arctan 3 t 31 - t 21 t 21 + t 31 - - - ( 4 )
The angle of the α that above-mentioned formula (4) calculates is not necessarily in regulation azimuth coverage, because the problem of quadrant, the range of results that formula (4) Arctan calculates is that-90 degree are to 90 degree, and needed regulation position angle range of results is that-180 degree are to 180 degree, this just need to divide quadrant processing, via following position angle quadrant processing procedure, show that measuring for the first time the position angle A of acoustic target before minitype microphone array moves is:
In the time of result of calculation α > 0, and t 31when >0, position angle A=α,
In the time of result of calculation α > 0, and t 31when <0, position angle A=-180+ α,
In the time of result of calculation α < 0, and t 21when >0, position angle A=α,
In the time of result of calculation α < 0, and t 21when <0, position angle A=180+ α,
At this moment the elevation angle formula that draws sound source is:
&beta; &ap; arccot t 21 + t 31 - 3 t 41 2 2 t 21 2 + t 31 2 - t 21 t 31 - - - ( 5 ) ,
Above-mentioned formula (5) calculates the angle of β not necessarily in regulation elevation coverage, because the problem of quadrant, the range of results that formula (5) Arccot calculates is that-90 degree are to 90 degree, and the regulation elevation angle range of results needing is that 0 degree is to 180 degree, according to the geometric model calculating, here divide quadrant processing, via following elevation angle quadrant processing procedure, show that measuring for the first time the elevation angle E of acoustic target before minitype microphone array moves is:
In the time of result of calculation β > 0, elevation angle E=β,
In the time of result of calculation β < 0, elevation angle E=180+ β,
Second step, mobile minitype microphone array
After the first step completes, clockwise rotate the realization of χ-A degree by mobile robot original place minitype microphone array is clockwise rotated to χ-A degree, 0 degree < χ < 180 spends, then minitype microphone array is spent to direction along array orientation angle 0 is also that mobile robot dead ahead moves forward distance L;
The 3rd step, measures the position angle B of acoustic target after minitype microphone array moves and the elevation angle F after minitype microphone array moves
After second step has operated, on the position arriving after minitype microphone array moves, repeat with operation and the calculating of the first step, result is,
(1) carrying out by the time-delay calculation model in host computer the time delay that in minitype microphone array, each microphone is relative estimates
Finally show that the time delay value between microphone S2, microphone S3 and microphone S4 and microphone S1 is respectively: t 21, t 31, t 41;
(2) calculate the position angle B of acoustic target after minitype microphone array moves and the elevation angle F after minitype microphone array moves by position angle calculating model and elevation angle computation model in host computer
Show that measuring for the second time the position angle B of acoustic target after minitype microphone array moves is:
In the time of result of calculation α > 0, and t 31when >0, position angle B=α,
In the time of result of calculation α > 0, and t 31when <0, position angle B=-180+ α,
In the time of result of calculation α < 0, and t 21when >0, position angle B=α,
In the time of result of calculation α < 0, and t 21when <0, position angle B=180+ α,
Show that measuring for the second time the elevation angle F of acoustic target after minitype microphone array moves is:
In the time of result of calculation β > 0, elevation angle F=β,
In the time of result of calculation β < 0, elevation angle F=180+ β,
The 4th step, calculates the horizontal range of acoustic target to the central point of microphone array bottom surface
Calculate the horizontal range of acoustic target to the central point of microphone array bottom surface by the distance computation model in host computer, computing formula is:
d 2=L*sin(χ)/sin(180-χ-δ) (6)
D 2for acoustic target is to the horizontal range of the central point of microphone array bottom surface, the opposite direction O of the moving direction of minitype microphone array 2 2o 1the direction O of the acoustic target 3 after moving with minitype microphone array 2 2the angle of Z is δ, is also δ=180-B;
The 5th step, calculates the distance of acoustic target to the central point of minitype microphone array bottom surface
Calculate the distance of acoustic target to the central point of minitype microphone array bottom surface by the distance computation model in host computer, computing formula is:
D=d 2/sin(F) (7)
D is the distance of acoustic target to the central point of minitype microphone array bottom surface;
The 6th step, the demonstration output of three dimensions auditory localization data
By the peripheral hardware of computing machine, display shows or outputs on other computer the elevation angle F, acoustic target of the position angle B, the acoustic target that show output acoustic target to the horizontal range d of the central point of microphone array bottom surface by network interface card 2with the distance B of acoustic target to the central point of minitype microphone array bottom surface, complete thus three dimensions auditory localization.
Above-mentioned three dimensions sound localization method, the bottom surface circumradius of the positive tetrahedron of described minitype microphone array is 10 centimetres.
Above-mentioned three dimensions sound localization method, in described host computer, using software is matlab.
Above-mentioned three dimensions sound localization method, the scope of described L is preferably 0.5~1.5m.
Above-mentioned three dimensions sound localization method, the scope of described χ is preferably 45 degree~135 degree.
Above-mentioned three dimensions sound localization method, described mobile minitype microphone array is by manually moving with minitype microphone array or being moved with minitype microphone array by mobile robot.
Above-mentioned three dimensions sound localization method, microphone used is the MPA201 microphone that Beijing Sheng Wang Acoustic-Electric (BSWA) Technology Co., Ltd. produces, and forms MPA201 microphone array by four these microphones; Power supply conditioning device is the microphone power supply conditioning device MC104 that Beijing popularity company produces; Data collecting card is the NI9215A data collecting card that American National instrument and equipment (NI) is produced, host computer is general PC, host computer has been installed after NIDAQ driving, just can write Matlab program, read the data that NI data collecting card collects, can also use the filter function of matlab to realize filtering.
The invention has the beneficial effects as follows: compared with prior art, the outstanding substantive distinguishing features of three dimensions sound localization method of the present invention is to adopt movable small microphone array and the auditory localization technology based on time delay estimation to carry out three dimensions auditory localization, adopt minitype microphone array to gather the acoustic target signal that a period of time is 10ms~30ms, carry out the orientation angles for the first time and the elevation angle that after mistiming calculating, draw acoustic target, after this this minitype microphone array moves a segment distance along certain orientation, and then to gather a period of time be 10ms~30ms acoustic target signal, carry out the orientation angles for the second time and the elevation angle that after mistiming calculating, draw again acoustic target, the position angle of moving by the position angle of twice of acoustic target and the measurement at the elevation angle and this minitype microphone array and mobile distance just can calculate the distance of acoustic target, thereby complete three dimensions auditory localization.
Compared with prior art, significant progressive being of three dimensions sound localization method of the present invention, calculated amount is little, precision is high, can be in three dimensions localization of sound source target accurately, the method of the measurement acoustic target that the inventive method adopts is passive means, and the middle-size and small-size microphone array of measuring process moves, and has overcome prior art and has adopted active method to measure the high also unsafe shortcoming of acoustic target distance costs.
Brief description of the drawings
Below in conjunction with drawings and Examples, the present invention is further described.
Fig. 1 is the formation of the inventive method device used and forms each several part connected mode schematic block diagram.
Fig. 2 is that the minitype microphone array in the inventive method device used forms schematic diagram.
Fig. 3 is the algorithm principle figure of position angle, the elevation angle and the distance of the calculating acoustic target of the inventive method.
Fig. 4 is that the calculating acoustic target of the inventive method is to the schematic diagram calculation of the horizontal range of the central point of minitype microphone array bottom surface.
In figure, 1. microphone, 2. minitype microphone array, 3. acoustic target.
Embodiment
Embodiment illustrated in fig. 1 showing, the inventive method device used comprises minitype microphone array, power supply conditioning device, data collecting card and host computer, and four summits that wherein minitype microphone array lays respectively at positive tetrahedron by four independences and the identical microphone of characteristic form; Power supply conditioning device is connected with whole microphone array by the data line of 4 BNC connectors, power supply conditioning device is also connected with data collecting card by the data line of 4 BNC connectors, data collecting card is connected by a usb data line with host computer, and power supply conditioning device is connected with 220v AC power by wire.
Embodiment illustrated in fig. 2 showing, the minitype microphone array 2 in three dimensions sound localization method of the present invention device used is that four summits that lay respectively at positive tetrahedron by four independences and the identical microphone 1 of characteristic form.
Embodiment illustrated in fig. 3 showing, the algorithm principle of calculating acoustic target orientation angles, the elevation angle and the distance of the inventive method is:
Minitype microphone array is positive tetrahedron, and S1, S2, S3, S4 are respectively four microphones, and O had been both true origin, also be the center of positive tetrahedron bottom surface, establishing Q is acoustic target point simultaneously, and coordinate is Q (x, y, z), true origin O is r to the distance of acoustic target point Q, and OQ is projected as OQ ' XOY plane, definition OQ ' is α with the angle of X-axis, the angle of OQ and Z axis is β, supposes that S1 is a to the distance of true origin O, and the coordinate of four microphones is respectively: S 1=(a, 0,0), S 2 = ( - a / 2 , 3 a / 2,0 ) , S 3 = ( - a / 2 , - 3 a / 2,0 ) , S 4 = ( 0,0 , 2 a ) ,
The time delay value that voice signal arrived between the moment of microphone S2, S3 and S4 and the moment of voice signal arrival microphone S1 is respectively: t 21, t 31, t 41, at this moment show that the position angle formula of sound source is:
&alpha; &ap; arctan 3 t 31 - t 21 t 21 + t 31
Owing to will carrying out the twice azimuthal measurement of minitype microphone array before and after moving in the inventive method, each measurement is all to have used position angle publicity above to carry out computer azimuth angle, calculate for the first time the position angle A of acoustic target before minitype microphone array moves, calculate for the second time the position angle B of acoustic target after minitype microphone array moves.α is azimuthal general designation.The relation of α and position angle A or B is as follows:
In the time of result of calculation α > 0, and t 31when >0, position angle A or B=α
In the time of result of calculation α > 0, and t 31when <0, position angle A or B=-180+ α
In the time of result of calculation α < 0, and t 21when >0, position angle A or B=α
In the time of result of calculation α < 0, and t 21when <0, position angle A or B=180+ α
At this moment the elevation angle formula that draws sound source is:
&beta; &ap; arccot t 21 + t 31 - 3 t 41 2 2 t 21 2 + t 31 2 - t 21 t 31
Owing to will carrying out the measurement at twice elevation angle of minitype microphone array before and after moving in the inventive method, each measurement is all to have used elevation angle publicity above to calculate the elevation angle, calculate for the first time the elevation angle E of acoustic target before minitype microphone array moves, calculate for the second time the elevation angle F of acoustic target after minitype microphone array moves.β is the general designation at the elevation angle.The relation of β and elevation angle E or F is as follows:
In the time of result of calculation β > 0, elevation angle E or elevation angle F=β.
In the time of result of calculation β < 0, elevation angle E or elevation angle F=180+ β.
Apart from computing formula:
r=OQ′/sin(β)
R is the general designation of acoustic target to the distance of the central point of microphone array bottom surface.Move owing to will carrying out minitype microphone array in the inventive method, before and after have twice acoustic target distance to the horizontal range of the central point of minitype microphone array bottom surface and twice acoustic target to the central point of minitype microphone array bottom surface, wherein, after minitype microphone array moves acoustic target to the horizontal range d of the central point of minitype microphone array bottom surface 2represent, after minitype microphone array moves, acoustic target represents with alphabetical D to the distance of the central point of minitype microphone array bottom surface.
Draw thus the central point O of the bottom surface of measuring orientation angles α, the elevation angle β of acoustic target 3 and the positive tetrahedron of the minitype microphone array after minitype microphone array 2 moves 2 2and the distance of acoustic target 3 between the projection Z of the place of positive tetrahedron bottom surface plane is d 2, the central point O of the bottom surface of the positive tetrahedron of the minitype microphone array 2 after minitype microphone array 2 moves 2and the distance between acoustic target 3 is D.
Embodiment illustrated in fig. 4 showing, the calculating acoustic target of the inventive method to the Computing Principle of the horizontal range of the central point of minitype microphone array bottom surface is:
O in this figure 1the central point of the bottom surface of the positive tetrahedron of the minitype microphone array 2 of minitype microphone array 2 while not moving, O 2for the central point of the bottom surface of the positive tetrahedron of minitype microphone array 2 after minitype microphone array 2 displacement L, Z is the projection of acoustic target 3 in the place of positive tetrahedron bottom surface plane.Black arrow represents the direction that the position angle 0 of minitype microphone array 2 is spent, O 1place's black arrow and O 1the angle of Z is A, O 2place's black arrow and O 2the angle of Z is B.
The central point O of the bottom surface of the positive tetrahedron of the minitype microphone array 2 in the time that minitype microphone array 2 does not move 1and the distance of acoustic target 3 between the projection Z of the place of positive tetrahedron bottom surface plane is d 1, the central point O of the bottom surface of the positive tetrahedron of the minitype microphone array 2 after minitype microphone array 2 moves 2and the distance of acoustic target 3 between the projection Z of the place of positive tetrahedron bottom surface plane is d 2, the distance that minitype microphone array 2 moves is L, the moving direction O of minitype microphone array 2 1o 2the direction O of the acoustic target 3 before not mobile with minitype microphone array 2 1the angle of Z is χ, the opposite direction O of the moving direction of minitype microphone array 2 2o 1the direction O of the acoustic target 3 after moving with minitype microphone array 2 2the angle of Z is δ, calculates the central point O of the bottom surface of the positive tetrahedron of the minitype microphone array 2 after moving by following computing formula 2and the distance d of acoustic target 3 between the projection Z of the place of positive tetrahedron bottom surface plane 2for:
d 2=L*sin(χ)/sin(180-χ-δ)
Embodiment 1
A. the present embodiment device used
Comprise minitype microphone array MPA201 microphone array, power supply conditioning device MC104, NI9215A data collecting card and the PC after NIDAQ driving has been installed, this minitype microphone array is that bottom surface circumradius is the positive tetrahedron of 10 centimetres, microphone used is the MPA201 microphone that Beijing Sheng Wang Acoustic-Electric (BSWA) Technology Co., Ltd. produces, in host computer, use software matlab, in host computer, mainly comprise time-delay calculation model, orientation angles computation model, elevation angle computation model and apart from computation model; Each microphone needs the data line of a BNC connector to be connected with power supply conditioning device, power supply conditioning device is connected and thinks that the latter powers with whole microphone array by the data line of 4 BNC connectors, power supply conditioning device is also connected with data collecting card by the data line of 4 BNC connectors, and data collecting card is connected by a usb data line with host computer.
B. this enforcement by the step that said apparatus carries out three dimensions sound localization method is:
Three dimensions auditory localization comprises that position angle B, elevation angle F, the acoustic target of determining acoustic target are from the horizontal range d of the central point of microphone array bottom surface 2with the distance B of acoustic target to the central point of minitype microphone array bottom surface,
The first step, measures the position angle A of acoustic target before minitype microphone array moves and the elevation angle E before minitype microphone array moves
Minitype microphone array is positive tetrahedron, and the center of establishing positive tetrahedron bottom surface is true origin O, and the microphone of position, true origin O dead ahead is S1, the microphone of true origin O location right is S2, the microphone of true origin O left position is S3, and the microphone of true origin O top position is S4
(1) carrying out by the time-delay calculation model in host computer the time delay that in minitype microphone array, each microphone is relative estimates
One according to measure the selected position of environmental baseline, with minitype microphone array to gather a period of time be 10ms target sound signal, voice signal passes to host computer by data collecting card, first host computer calculates voice signal, and to arrive relative time between four microphones on four summits that lay respectively at positive tetrahedron poor, be that voice signal arrives the time delay value between the moment of microphone S2, microphone S3 and microphone S4 and the moment of voice signal arrival microphone S1, concrete grammar is as follows:
The coordinate of supposing the discrete event signal model of two microphones reception voice signals is:
x 1(t)=a 1s(t)+n 1(t),x 2(t)=a 2s(t-τ 12)+n 2(t) (1)
In above formula, α ifor the attenuation coefficient of sound-source signal, s (t) is acoustic target signal, x i(t) voice signal gathering for microphone, n i(t) be the additional noise signal of sound source, τ 12be two time delays that microphone picks up voice signal, i.e. time delay,
By the voice signal x gathering i(t), i=1,2 by Fourier transform, changes into frequency domain signal X by time domain i(ω), its cross-power spectrum function is:
G X 1 X 2 ( &omega; ) = X 1 ( &omega; ) X 2 * ( &omega; ) - - - ( 2 )
Its cross correlation function is:
R x 1 x 2 ( &tau; ) = &Integral; 0 &pi; G X 1 X 2 ( &omega; ) e j&omega;&tau; d&omega; - - - ( 3 )
Finally carry out peak value detection, the point of the horizontal ordinate that the peak value of cross correlation function is corresponding is exactly time delay value t 21, use the same method and can calculate time delay value t 31and t 41;
The result that the time delay that gained is relative is estimated is: microphone S2 is 29 with respect to the mistiming of microphone S1, and microphone S3 is 49 with respect to the mistiming of microphone S1, and microphone S4 is 28 with respect to the mistiming of microphone 1.
Because capture card is 100k, therefore here 29 representative real times be 29 sampling periods, be 29*10 -5second; The real time of 49 representatives is here 49 sampling periods, is 49*10 -5second; The real time of 28 representatives is here 28 sampling periods, is 28*10 -5second.
The time delay value being derived as between microphone S2, microphone S3 and microphone S4 and microphone S1 is respectively: t 21=29, t 31=49, t 41=28;
(2) calculate the position angle A of acoustic target before minitype microphone array moves and the elevation angle E before minitype microphone array moves by position angle calculating model and elevation angle computation model in host computer
Microphone array is classified positive tetrahedron as, establishes S1, S2, S3, S4 are respectively four microphones, and O had been both true origin, also be the center of positive tetrahedron bottom surface, establishing Q is acoustic target point simultaneously, and coordinate is Q (x, y, z), true origin O is r to the distance of acoustic target point Q, and OQ is projected as OQ ' XOY plane, definition OQ ' is α with the angle of X-axis, the angle of OQ and Z axis is β, supposes that S1 is a to the distance of true origin O, and the coordinate of four microphones is respectively: S 1=(a, 0,0), S 2 = ( - a / 2 , 3 a / 2,0 ) , S 3 = ( - a / 2 , - 3 a / 2,0 ) , S 4 = ( 0,0 , 2 a ) ,
The time delay value obtaining between the moment of voice signal arrival microphone S2, microphone S3 and microphone S4 and the moment of voice signal arrival microphone S1 from above-mentioned (1) is respectively: t 21, t 31, t 41;
At this moment the position angle formula that draws sound source is:
&alpha; &ap; arctan 3 t 31 - t 21 t 21 + t 31 - - - ( 4 )
Calculate α=29 degree, according to dividing quadrant problem to obtain about position angle: A=29 degree above.
At this moment show that elevation angle formula is:
&beta; &ap; arccot t 21 + t 31 - 3 t 41 2 2 t 21 2 + t 31 2 - t 21 t 31 - - - ( 5 )
Calculate β=-87 degree, according to above divide quadrant problem to obtain about the elevation angle: E=180+(-87)=93 degree, elevation angle E is 93 degree.
Draw thus and measure for the first time the position angle A=29 degree of acoustic target that acoustic target calculates before minitype microphone array moves and calculate the elevation angle E=93 degree of acoustic target before minitype microphone array moves;
Second step, mobile minitype microphone array
After the first step completes, clockwise rotate the realization of 90-29 degree by mobile robot original place minitype microphone array is clockwise rotated to 90-29 degree, χ=90 degree, then minitype microphone array is spent to direction Ye Ji robot dead ahead along array orientation angle 0 move forward distance L=1 meter;
The 3rd step, measures the position angle B of acoustic target after minitype microphone array moves and the elevation angle F after minitype microphone array moves
After second step has operated, on the position arriving at minitype microphone array, repeat the operation of the first step,
(1) carrying out by the time-delay calculation model in host computer the time delay that in minitype microphone array, each microphone is relative estimates
The result that the time delay that gained is relative is estimated is: microphone S2 is-49 with respect to the mistiming of microphone S1, and microphone S3 is-13 with respect to the mistiming of microphone S1, and microphone S4 is-20 with respect to the mistiming of microphone S1.
Because capture card is 100k, therefore here-49 representative real times be-49 sampling periods, be-49*10 -5second; The real time of-13 representatives is here-13 sampling periods, is-13*10 -5second; The real time of-20 representatives is here-20 sampling periods, is-20*10 -5second.
Show that the time delay value between microphone S2, microphone S3 and microphone S4 and microphone S1 is respectively: t 21=-49, t 31=-13, t 41=-20;
(2) calculate the position angle B of acoustic target after minitype microphone array moves and the elevation angle F after minitype microphone array moves by position angle calculating model and elevation angle computation model in host computer
Show that the result of measuring for the second time acoustic target is:
α=-45.1630 degree, the position angle B=180+(-45.1630 of acoustic target after minitype microphone array moves)=-134.8370 degree;
β=-88.1577 degree, the elevation angle F=180+(-88.1577 of acoustic target after minitype microphone array moves)=91.8423 degree.
The 4th step, calculates the horizontal range of acoustic target from the central point of microphone array bottom surface
Computing formula is:
d 2=L*sin(χ)/sin(180-χ-δ) (6)
D 2for acoustic target is to the horizontal range of the central point of microphone array bottom surface, the opposite direction O of the moving direction of minitype microphone array 2 2o 1the direction O of the acoustic target 3 after moving with minitype microphone array 2 2the angle of Z is δ, is also δ=180-B, and the above-mentioned the data obtained of substitution draws the horizontal range d of the central point of sound source distance microphone array bottom surface 2for:
d 2=1*sin(90)/sin(180-90-(180-134.837))=1.4183;
The 5th step, calculates the distance B of acoustic target to the central point of minitype microphone array bottom surface
Computing formula is:
D=d 2/sin(F) (7)
The above-mentioned the data obtained of substitution show that acoustic target to the distance B of the central point of minitype microphone array bottom surface is:
D=1.4183/sin(91.8423)=1.4187
The 6th step, the demonstration output of three dimensions auditory localization data
By the peripheral hardware of computing machine, be that display shows or outputed to and on other computer, shown that the concrete outcome of output the present embodiment three dimensions auditory localization is: the position angle B=-134.8370 degree of acoustic target by network interface card, the elevation angle F=91.8423 degree of acoustic target, acoustic target is from the horizontal range d of the central point of microphone array bottom surface 2=1.4183 and acoustic target to distance B=1.4187 of the central point of minitype microphone array bottom surface, complete thus three dimensions auditory localization.
Embodiment 2
A. the method device used
With embodiment 1.
B. this enforcement by the step that said apparatus carries out three dimensions sound localization method is:
Herein with embodiment 1.
The first step, measures the position angle A of acoustic target before minitype microphone array moves and the elevation angle E before minitype microphone array moves
Herein with embodiment 1.
(1) except gathering the target sound signal that a period of time is 20ms with minitype microphone array, other are with embodiment 1.
The result that the time delay that gained is relative is estimated is: microphone S2 is 36 with respect to the mistiming of microphone S1, and microphone S3 is 49 with respect to the mistiming of microphone S1, and microphone S4 is 28 with respect to the mistiming of microphone S1.
Because capture card is 100k, therefore here 36 representative real times be 36 sampling periods, be 36*10 -5second; The real time of 49 representatives is here 49 sampling periods, is 49*10 -5second; The real time of 28 representatives is here 28 sampling periods, is 28*10 -5second.
Show that the time delay value between microphone S2, microphone S3 and microphone S4 and microphone S1 is respectively: t 21=36, t 31=49, t 41=28
(2) calculate the position angle A of acoustic target before minitype microphone array moves and the elevation angle E before minitype microphone array moves by position angle calculating model and elevation angle computation model in host computer
Herein with embodiment 1.
Calculate α=14.8370 degree, calculate β=89.0786 degree;
Draw thus and measure for the first time the position angle A=14.8370 degree of acoustic target that acoustic target calculates before minitype microphone array moves and calculate the elevation angle E=89.0786 degree of acoustic target before minitype microphone array moves;
Second step, mobile minitype microphone array
After the first step completes, clockwise rotate the realization of 45-14.8370 degree by mobile robot original place minitype microphone array is clockwise rotated to 45-14.8370 degree, χ=45 degree, then minitype microphone array is spent to direction Ye Ji robot dead ahead along array orientation angle 0 move forward distance L=0.5 meter;
The 3rd step, measures the position angle B of acoustic target after minitype microphone array moves and the elevation angle F after minitype microphone array moves
After second step has operated, on the position arriving at minitype microphone array, repeat the operation of the first step,
(1) result that the time delay that gained is relative is estimated is: microphone S2 is-45 with respect to the mistiming of microphone S1, and microphone S3 is-3 with respect to the mistiming of microphone S1, and microphone S4 is-17 with respect to the mistiming of microphone S1.
Because capture card is 100k, therefore here-45 representative real times be-45 sampling periods, be-45*10 -5second; The real time of-3 representatives is here-3 sampling periods, is-3*10 -5second; The real time of-17 representatives is here-17 sampling periods, is-17*10 -5second.
The time delay value being derived as between microphone S2, microphone S3 and microphone S4 and microphone S1 is respectively: t 21=-45, t 31=-3, t 41=-17;
(2) calculate the position angle B of acoustic target after minitype microphone array moves and the elevation angle F after minitype microphone array moves by position angle calculating model and elevation angle computation model in host computer
Show that the result of measuring for the second time acoustic target is:
α=-56.5820 degree, the position angle B=123.4180 degree of acoustic target after minitype microphone array moves;
β=88.6057 degree, the elevation angle F=88.6057 degree of acoustic target after minitype microphone array moves.
The 4th step, calculates the horizontal range of acoustic target from the central point of microphone array bottom surface
Computing formula is:
d 2=L*sin(χ)/sin(180-χ-δ) (6)
D 2for acoustic target is to the horizontal range of the central point of microphone array bottom surface, the opposite direction O of the moving direction of minitype microphone array 2 2o 1the direction O of the acoustic target 3 after moving with minitype microphone array 2 2the angle of Z is δ, is also δ=180-B, the horizontal range d of the central point of the above-mentioned the data obtained sound source distance microphone array of substitution bottom surface 2for:
d 2=0.5*sin(45)/sin(180-45-(180-123.4180))=0.3609;
The 5th step, calculates the distance B of acoustic target to the central point of minitype microphone array bottom surface
Computing formula is:
D=d 2/sin(F) (7)
The above-mentioned the data obtained of substitution show that acoustic target to the distance B of the central point of minitype microphone array bottom surface is:
D=0.3609/sin(88.6057)=0.3610
The 6th step, the demonstration output of three dimensions auditory localization data
By the peripheral hardware of computing machine, be that display shows or outputed to and on other computer, shown that the concrete outcome of output the present embodiment three dimensions auditory localization is: the position angle B=123.4180 degree of acoustic target by network interface card, the elevation angle F=88.6057 degree of acoustic target, acoustic target is from the horizontal range d of the central point of microphone array bottom surface 2=0.3609 and acoustic target to distance B=0.3610 of the central point of minitype microphone array bottom surface, complete thus three dimensions auditory localization.
Embodiment 3
B. this enforcement by the step that said apparatus carries out three dimensions sound localization method is:
Herein with embodiment 1.
The first step, measures the position angle A of acoustic target before minitype microphone array moves and the elevation angle E before minitype microphone array moves
Herein with embodiment 1.
(1) except gathering the target sound signal that a period of time is 30ms with minitype microphone array, other are with embodiment 1.
The result that the time delay that gained is relative is estimated is: microphone S2 is 39 with respect to the mistiming of microphone S1, and microphone S3 is 47 with respect to the mistiming of microphone S1, and microphone S4 is 28 with respect to the mistiming of microphone S1.
Because capture card is 100k, therefore here 39 representative real times be 39 sampling periods, be 39*10 -5second; The real time of 47 representatives is here 47 sampling periods, is 47*10 -5second; The real time of 28 representatives is here 28 sampling periods, is 28*10 -5second.
The time delay value being derived as between microphone S2, microphone S3 and microphone S4 and microphone S1 is respectively: t 21=39, t 31=47, t 41=28
(2) calculate the position angle A of acoustic target before minitype microphone array moves and the elevation angle E before minitype microphone array moves by position angle calculating model and elevation angle computation model in host computer
Herein with embodiment 1.
Calculate α=9.1529 degree, calculate β=88.1403 degree,
Draw thus and measure for the first time the position angle A=9.1529 degree of acoustic target that acoustic target calculates before minitype microphone array moves and calculate the elevation angle E=88.1403 degree of acoustic target before minitype microphone array moves;
Second step, mobile minitype microphone array
After the first step completes, clockwise rotate the realization of 135-9.1529 degree by mobile robot original place minitype microphone array is clockwise rotated to 135-9.1529 degree, χ=135 degree, then minitype microphone array is spent to direction Ye Ji robot dead ahead along array orientation angle 0 move forward distance L=1.5 meter;
The 3rd step, measures the position angle B of acoustic target after minitype microphone array moves and the elevation angle F after minitype microphone array moves
After second step has operated, on the position arriving at minitype microphone array, repeat the operation of the first step,
(1) result that the time delay that gained is relative is estimated is: microphone S2 is-13 with respect to the mistiming of microphone S1, and microphone S3 is-9 with respect to the mistiming of microphone S1, and microphone S4 is-8 with respect to the mistiming of microphone S1.
Because capture card is 100k, therefore here-13 representative real times be-13 sampling periods, be-13*10 -5second; The real time of-9 representatives is here-9 sampling periods, is-9*10 -5second; The real time of-8 representatives is here-8 sampling periods, is-8*10 -5second.
The time delay value being derived as between microphone S2, microphone S3 and microphone S4 and microphone S1 is respectively: t 21=-13, t 31=-9, t 41=-8
(2) calculate the position angle B of acoustic target after minitype microphone array moves and the elevation angle F after minitype microphone array moves by position angle calculating model and elevation angle computation model in host computer
Show that the result of measuring for the second time acoustic target is:
α=-17.4802 degree, the position angle B=162.5198 degree of acoustic target after minitype microphone array moves;
β=86.4914 degree, the elevation angle F=86.4914 degree of acoustic target after minitype microphone array moves.
The 4th step, calculates the horizontal range of acoustic target from the central point of microphone array bottom surface
Computing formula is:
d 2=L*sin(χ)/sin(180-χ-δ) (6)
D 2for acoustic target is to the horizontal range of the central point of microphone array bottom surface, the opposite direction O of the moving direction of minitype microphone array 2 2o 1the direction O of the acoustic target 3 after moving with minitype microphone array 2 2the angle of Z is δ, is also δ=180-B, the horizontal range d of the central point of the above-mentioned the data obtained sound source distance microphone array of substitution bottom surface 2for:
d 2=1.5*sin(135)/sin(180-135-(180-162.5198))=2.2955;
The 5th step, calculates the distance B of acoustic target to the central point of minitype microphone array bottom surface
Computing formula is:
D=d 2/sin(F) (7)
The above-mentioned the data obtained of substitution show that acoustic target to the distance B of the central point of minitype microphone array bottom surface is:
D=2.2955/sin(86.4914)=2.2998
The 6th step, the demonstration output of three dimensions auditory localization data
By the peripheral hardware of computing machine, be that display shows or outputed to and on other computer, shown that the concrete outcome of output the present embodiment three dimensions auditory localization is: the position angle B=162.5198 degree of acoustic target by network interface card, the elevation angle F=86.4914 degree of acoustic target, acoustic target is from the horizontal range d of the central point of microphone array bottom surface 2=2.2955 and acoustic target to distance B=2.2998 of the central point of minitype microphone array bottom surface, complete thus three dimensions auditory localization.
Components and parts used in above-mentioned all embodiment are all by commercially available.

Claims (5)

1.三维空间声源定位方法,其特征在于:是采用可移动小型麦克风阵列和基于时延估计的声源定位技术进行三维空间声源定位方法,1. The three-dimensional spatial sound source localization method is characterized in that: the sound source localization technique based on movable small microphone array and time delay estimation is used to carry out the three-dimensional spatial sound source localization method, A.该方法所用的装置A. Apparatus used in the method 包括小型麦克风阵列、供电调理设备、数据采集卡和上位机,其中小型麦克风阵列由四个独立且特性相同的麦克风分别位于正四面体的四个顶点构成,上位机中包括时延计算模型、方位角计算模型、仰角计算模型以及距离计算模型;每个麦克风和供电调理设备需要一条BNC接头的数据线相连接,供电调理设备通过4条BNC接头的数据线和整个麦克风阵列相连接以为后者供电,供电调理设备还通过4条BNC接头的数据线和数据采集卡相连接,数据采集卡和上位机通过一条usb数据线连接;Including small microphone array, power supply conditioning equipment, data acquisition card and host computer, in which the small microphone array is composed of four independent microphones with the same characteristics located at the four vertices of the regular tetrahedron, and the host computer includes the delay calculation model, azimuth Angle calculation model, elevation angle calculation model and distance calculation model; each microphone needs to be connected with a data cable of BNC connector to the power supply conditioning device, and the power supply conditioning device is connected to the entire microphone array through 4 data cables of BNC connector to supply power for the latter , the power supply conditioning equipment is also connected to the data acquisition card through 4 data lines with BNC connectors, and the data acquisition card is connected to the host computer through a usb data line; B.用上述装置进行三维空间声源定位方法的步骤是:B. The steps of carrying out the three-dimensional sound source localization method with the above-mentioned device are: 三维空间声源定位包括确定声源目标的方位角B、仰角F、声源目标离麦克风阵列底面的中心点的水平距离d2和声源目标到小型麦克风阵列底面的中心点的距离D,Three-dimensional sound source localization includes determining the azimuth B of the sound source target, the elevation angle F, the horizontal distance d2 of the sound source target from the center point of the bottom surface of the microphone array, and the distance D from the sound source target to the center point of the bottom surface of the small microphone array, 第一步,测定声源目标在小型麦克风阵列移动前的方位角A和在小型麦克风阵列移动前的仰角EThe first step is to measure the azimuth A of the sound source target before the small microphone array moves and the elevation angle E before the small microphone array moves 小型麦克风阵列为正四面体,设正四面体底面的中心为坐标原点O,坐标原点O正前方位置的麦克风为S1,坐标原点O右边位置的麦克风为S2,坐标原点O左边位置的麦克风为S3,坐标原点O上方位置的麦克风为S4,The small microphone array is a regular tetrahedron, and the center of the bottom surface of the regular tetrahedron is set as the coordinate origin O, the microphone directly in front of the coordinate origin O is S1, the microphone on the right side of the coordinate origin O is S2, and the microphone on the left side of the coordinate origin O is S3 , the microphone above the coordinate origin O is S4, (1)由上位机中的时延计算模型进行小型麦克风阵列中各个麦克风相对的时延估计(1) The relative delay estimation of each microphone in the small microphone array is performed by the delay calculation model in the host computer 在一个根据测定环境条件选定的位置,用小型麦克风阵列采集一段时间为10ms~30ms的目标声音信号,声音信号通过数据采集卡传到上位机,上位机首先计算出声音信号到达分别位于正四面体的四个顶点的四个麦克风之间的相对时间差,即声音信号到达麦克风S2、麦克风S3和麦克风S4的时刻与声音信号到达麦克风S1的时刻之间的时延值,具体方法如下:At a location selected according to the measured environmental conditions, a small microphone array is used to collect target sound signals for a period of 10ms to 30ms. The sound signals are transmitted to the host computer through the data acquisition card. The host computer first calculates the arrival of the sound signals on the front four sides The relative time difference between the four microphones of the four vertices of the body, that is, the time delay value between the moment when the sound signal reaches the microphone S2, the microphone S3 and the microphone S4 and the moment when the sound signal reaches the microphone S1, the specific method is as follows: 假设两个麦克风接收声音信号的离散事件信号模型的坐标为:The coordinates of the discrete event signal model assuming that two microphones receive sound signals are: x1(t)=a1s(t)+n1(t),x2(t)=a2s(t-τ12)+n2(t)   (1)x 1 (t)=a 1 s(t)+n 1 (t), x 2 (t)=a 2 s(t-τ 12 )+n 2 (t) (1) 上式中,αi为声源信号的衰减系数,s(t)为声源目标信号,xi(t)为麦克风采集的声音信号,ni(t)为声源附加的噪声信号,τ12为两个麦克风拾取声音信号的延迟时间,即时延,In the above formula, α i is the attenuation coefficient of the sound source signal, s(t) is the target signal of the sound source, x i (t) is the sound signal collected by the microphone, n i (t) is the noise signal added to the sound source, τ 12 is the delay time for two microphones to pick up sound signals, that is delay, 将采集的声音信号xi(t),i=1,2通过傅里叶变换,由时域转化成频域信号Xi(ω),其互功率谱函数为:The collected sound signal x i (t), i=1, 2 is converted from time domain to frequency domain signal Xi (ω) by Fourier transform, and its cross power spectrum function is: GG Xx 11 Xx 22 (( &omega;&omega; )) == Xx 11 (( &omega;&omega; )) Xx 22 ** (( &omega;&omega; )) -- -- -- (( 22 )) 其互相关函数为:Its cross-correlation function is: RR xx 11 xx 22 (( &tau;&tau; )) == &Integral;&Integral; 00 &pi;&pi; GG Xx 11 Xx 22 (( &omega;&omega; )) ee j&omega;&tau;j&omega;&tau; d&omega;d&omega; -- -- -- (( 33 )) 最后进行峰值检测,互相关函数的峰值对应的横坐标的点就是时延值t21,用同样的方法可以计算出时延值t31和t41,最终得出麦克风S2、麦克风S3和麦克风S4与麦克风S1之间的时延值分别为:t21、t31、t41Finally, the peak detection is performed, and the point on the abscissa corresponding to the peak value of the cross-correlation function is the delay value t 21 , and the delay values t 31 and t 41 can be calculated by the same method, and finally the microphone S2, the microphone S3 and the microphone S4 are obtained The time delay values between microphone S1 are: t 21 , t 31 , t 41 ; (2)由上位机中的方位角计算模型和仰角计算模型进行计算声源目标在小型麦克风阵列移动前的方位角A和在小型麦克风阵列移动前的仰角E(2) Calculate the azimuth A of the sound source target before the small microphone array moves and the elevation angle E before the small microphone array moves by the azimuth angle calculation model and the elevation angle calculation model in the host computer 设Q为声源目标点,坐标为Q(x,y,z),坐标原点O到声源目标点Q的距离为r,OQ在XOY平面的投影为OQ′,定义OQ′与X轴的夹角为α,OQ与Z轴的夹角为β,假设S1到坐标原点O的距离为a,则四个麦克风的坐标分别为:S1=(a,0,0)、 S 2 = ( - a / 2 , 3 a / 2,0 ) , S 3 = ( - a / 2 , - 3 a / 2,0 ) , S 4 = ( 0,0 , 2 a ) , Let Q be the sound source target point, the coordinates are Q(x, y, z), the distance from the coordinate origin O to the sound source target point Q is r, the projection of OQ on the XOY plane is OQ′, define the distance between OQ′ and the X axis The included angle is α, the included angle between OQ and the Z axis is β, assuming that the distance from S1 to the coordinate origin O is a, then the coordinates of the four microphones are: S 1 =(a,0,0), S 2 = ( - a / 2 , 3 a / 2,0 ) , S 3 = ( - a / 2 , - 3 a / 2,0 ) , S 4 = ( 0,0 , 2 a ) , 从上述(1)得到声音信号到达麦克风S2、麦克风S3和麦克风S4的时刻与声音信号到达麦克风S1的时刻之间的时延值分别为:t21、t31、t41From the above (1), the time delay values between the moment when the sound signal reaches the microphone S2, the microphone S3 and the microphone S4 and the moment when the sound signal reaches the microphone S1 are respectively: t 21 , t 31 , t 41 , 这时得出声源的方位角公式为:At this time, the formula for the azimuth angle of the sound source is: &alpha;&alpha; &ap;&ap; arctanarctan 33 tt 3131 -- tt 21twenty one tt 21twenty one ++ tt 3131 -- -- -- (( 44 )) 上述公式(4)计算得出的α的角度不一定在规定方位角范围内,是因为象限的问题,公式(4)Arctan计算的结果范围为-90度到90度,而所需要的规定方位角结果范围为-180度到180度,这就需要进行分象限处理,经由如下的方位角象限处理过程,得出第一次测定声源目标在小型麦克风阵列移动前的方位角A为:The angle of α calculated by the above formula (4) is not necessarily within the range of the specified azimuth angle, because of the quadrant problem. The range of the result calculated by the formula (4) Arctan is -90 degrees to 90 degrees, and the required specified azimuth angle The angle result ranges from -180 degrees to 180 degrees, which requires sub-quadrant processing. Through the following azimuth quadrant processing, the azimuth A of the first measured sound source target before the small microphone array moves is: 当计算结果α>0时,并且t31>0时,方位角A=α,When the calculation result α>0, and t 31 >0, the azimuth A=α, 当计算结果α>0时,并且t31<0时,方位角A=-180+α,When the calculation result α>0, and t 31 <0, the azimuth A=-180+α, 当计算结果α<0时,并且t21>0时,方位角A=α,When the calculation result α<0, and t 21 >0, the azimuth A=α, 当计算结果α<0时,并且t21<0时,方位角A=180+α,When the calculation result α<0, and t 21 <0, the azimuth A=180+α, 这时得出声源的仰角公式为:At this time, the formula for the elevation angle of the sound source is: &beta;&beta; &ap;&ap; arccotarccot tt 21twenty one ++ tt 3131 -- 33 tt 4141 22 22 tt 21twenty one 22 ++ tt 3131 22 -- tt 21twenty one tt 3131 -- -- -- (( 55 )) ,, 上述公式(5)计算得出β的角度不一定在规定仰角范围内,是因为象限的问题,公式(5)Arccot计算的结果范围为-90度到90度,而需要的规定仰角结果范围为0度到180度,根据计算的几何模型,这里进行分象限处理,经由如下的仰角象限处理过程,得出第一次测定声源目标在小型麦克风阵列移动前的仰角E为:The angle of β calculated by the above formula (5) is not necessarily within the range of the specified elevation angle, because of the problem of the quadrant. The range of the result calculated by the formula (5) Arccot is -90 degrees to 90 degrees, and the required range of the specified elevation angle is From 0° to 180°, according to the calculated geometric model, sub-quadrant processing is performed here. Through the following elevation angle quadrant processing, the elevation angle E of the sound source target measured for the first time before the small microphone array moves is obtained as: 当计算结果β>0时,仰角E=β,When the calculation result β>0, the elevation angle E=β, 当计算结果β<0时,仰角E=180+β,When the calculation result β<0, the elevation angle E=180+β, 第二步,移动小型麦克风阵列Step two, move the small microphone array 在第一步完成之后,通过移动机器人原地顺时针转动χ-A度实现将小型麦克风阵列顺时针转动χ-A度,0度<χ<180度,再将小型麦克风阵列沿阵列方位角度0度方向也即移动机器人正前方向前移动距离L;After the first step is completed, the small microphone array is rotated clockwise by χ-A degrees by moving the robot in situ by χ-A degrees, 0 degrees<χ<180 degrees, and then the small microphone array is rotated along the array azimuth angle 0 In the direction of degrees, that is, the distance L that the mobile robot moves forward in front of it; 第三步,测定声源目标在小型麦克风阵列移动后的方位角B和在小型麦克风阵列移动后的仰角FThe third step is to measure the azimuth B of the sound source target after the small microphone array moves and the elevation angle F after the small microphone array moves 在第二步操作完成后,在小型麦克风阵列移动后到达的位置上,重复同第一步的操作和计算,结果是,After the second step is completed, repeat the same operation and calculation as the first step at the position where the small microphone array has moved, and the result is, (1)由上位机中的时延计算模型进行小型麦克风阵列中各个麦克风相对的时延估计(1) The relative delay estimation of each microphone in the small microphone array is performed by the delay calculation model in the host computer 最终得出麦克风S2、麦克风S3和麦克风S4与麦克风S1之间的时延值分别为:t21、t31、t41Finally, the time delay values between the microphone S2, the microphone S3 and the microphone S4 and the microphone S1 are respectively: t 21 , t 31 , t 41 ; (2)由上位机中的方位角计算模型和仰角计算模型进行计算声源目标在小型麦克风阵列移动后的方位角B和在小型麦克风阵列移动后的仰角F(2) Calculate the azimuth angle B of the sound source target after the small microphone array moves and the elevation angle F after the small microphone array moves by the azimuth angle calculation model and the elevation angle calculation model in the host computer 得出第二次测定声源目标在小型麦克风阵列移动后的方位角B为:It is obtained that the azimuth B of the second measurement of the sound source target after the small microphone array moves is: 当计算结果α>0时,并且t31>0时,方位角B=α,When the calculation result α>0, and t 31 >0, the azimuth B=α, 当计算结果α>0时,并且t31<0时,方位角B=-180+α,When the calculation result α>0, and t 31 <0, the azimuth B=-180+α, 当计算结果α<0时,并且t21>0时,方位角B=α,When the calculation result α<0, and t 21 >0, the azimuth B=α, 当计算结果α<0时,并且t21<0时,方位角B=180+α,When the calculation result α<0, and t 21 <0, the azimuth B=180+α, 得出第二次测定声源目标在小型麦克风阵列移动后的仰角F为:It is obtained that the elevation angle F of the second measurement sound source target after the small microphone array moves is: 当计算结果β>0时,仰角F=β,When the calculation result β>0, the elevation angle F=β, 当计算结果β<0时,仰角F=180+β,When the calculation result β<0, the elevation angle F=180+β, 第四步,计算出声源目标到麦克风阵列底面的中心点的水平距离The fourth step is to calculate the horizontal distance from the sound source target to the center point of the bottom surface of the microphone array 由上位机中的距离计算模型计算出声源目标到麦克风阵列底面的中心点的水平距离,计算公式为:The horizontal distance from the sound source target to the center point of the bottom surface of the microphone array is calculated by the distance calculation model in the host computer, and the calculation formula is: d2=L*sin(χ)/sin(180-χ-δ)   (6)d 2 =L*sin(χ)/sin(180-χ-δ) (6) d2为声源目标到麦克风阵列底面的中心点的水平距离,小型麦克风阵列2的移动方向的反方向O2O1和小型麦克风阵列2移动后的声源目标3的方向O2Z的夹角为δ,也即δ=180-B;d 2 is the horizontal distance from the sound source target to the center point of the bottom surface of the microphone array, the clip between the direction O 2 O 1 opposite the moving direction of the small microphone array 2 and the direction O 2 Z of the sound source target 3 after the small microphone array 2 moves The angle is δ, that is, δ=180-B; 第五步,计算出声源目标到小型麦克风阵列底面的中心点的距离The fifth step is to calculate the distance from the sound source target to the center point of the bottom surface of the small microphone array 由上位机中的距离计算模型计算出声源目标到小型麦克风阵列底面的中心点的距离,计算公式为:The distance from the sound source target to the center point of the bottom surface of the small microphone array is calculated by the distance calculation model in the host computer, and the calculation formula is: D=d2/sin(F)   (7)D=d 2 /sin(F) (7) D为声源目标到小型麦克风阵列底面的中心点的距离;D is the distance from the sound source target to the center point of the bottom surface of the small microphone array; 第六步,三维空间声源定位数据的显示输出The sixth step, display and output of 3D spatial sound source localization data 通过计算机的外设,即显示器显示或者通过网卡输出到别的电脑上显示输出声源目标的方位角B、声源目标的仰角F、声源目标到麦克风阵列底面的中心点的水平距离d2和声源目标到小型麦克风阵列底面的中心点的距离D,由此完成三维空间声源定位。Through the peripherals of the computer, that is, the monitor displays or outputs to other computers through the network card to display the azimuth B of the output sound source target, the elevation angle F of the sound source target, and the horizontal distance d 2 from the sound source target to the center point of the bottom surface of the microphone array and the distance D from the sound source target to the center point of the bottom surface of the small microphone array, thereby completing three-dimensional sound source localization. 2.根据权利要求1所述三维空间声源定位方法,其特征在于:所述小型麦克风阵列的正四面体的底面外接圆半径为10厘米。2. The three-dimensional sound source localization method according to claim 1, characterized in that: the radius of the circumscribed circle on the bottom surface of the regular tetrahedron of the small microphone array is 10 cm. 3.根据权利要求1所述三维空间声源定位方法,其特征在于:所述上位机中使用软件是matlab。3. The three-dimensional sound source localization method according to claim 1, characterized in that: the software used in the host computer is matlab. 4.根据权利要求1所述三维空间声源定位方法,其特征在于:所述L的范围为0.5~1.5m。4. The three-dimensional sound source localization method according to claim 1, characterized in that: the range of L is 0.5-1.5m. 5.根据权利要求1所述三维空间声源定位方法,其特征在于:所述χ的范围为45度~135度。5. The three-dimensional sound source localization method according to claim 1, characterized in that: the range of x is 45 degrees to 135 degrees.
CN201310001460.1A 2013-01-05 2013-01-05 Sound source localization method of three-dimensional space Expired - Fee Related CN103064061B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310001460.1A CN103064061B (en) 2013-01-05 2013-01-05 Sound source localization method of three-dimensional space

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310001460.1A CN103064061B (en) 2013-01-05 2013-01-05 Sound source localization method of three-dimensional space

Publications (2)

Publication Number Publication Date
CN103064061A CN103064061A (en) 2013-04-24
CN103064061B true CN103064061B (en) 2014-06-11

Family

ID=48106765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310001460.1A Expired - Fee Related CN103064061B (en) 2013-01-05 2013-01-05 Sound source localization method of three-dimensional space

Country Status (1)

Country Link
CN (1) CN103064061B (en)

Families Citing this family (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104809259B (en) * 2014-01-23 2019-03-08 腾讯科技(深圳)有限公司 Reverberation three dimension location method and apparatus
CN105451151B (en) * 2014-08-29 2018-09-21 华为技术有限公司 A kind of method and device of processing voice signal
CN104410939B (en) * 2014-10-16 2017-12-29 华为技术有限公司 Acoustic image direction feeling treating method and apparatus
CN104360315A (en) * 2014-10-16 2015-02-18 河北工业大学 LabVIEW-based (laboratory virtual instrumentation engineering workbench based) microphone array sound source localization method and device
CN104459625B (en) * 2014-12-14 2017-07-21 南京理工大学 The sound source locating device and method of two-microphone array are moved based on track
CN105227752B (en) * 2014-12-16 2019-03-05 维沃移动通信有限公司 Find the method and mobile terminal of mobile terminal
DE102014226077A1 (en) * 2014-12-16 2016-06-16 Robert Bosch Gmbh Method for detecting a work area of an autonomous implement and a work implement
CN106303810B (en) * 2015-05-13 2021-09-10 青岛通产智能机器人有限公司 Sound source direction judgment device and method based on directional sound sensor
CN104991573A (en) * 2015-06-25 2015-10-21 北京品创汇通科技有限公司 Locating and tracking method and apparatus based on sound source array
CN104905758B (en) 2015-06-30 2016-06-08 广东实联医疗器械有限公司 Novel medical endoscope all-in-one
CN106328130A (en) * 2015-06-30 2017-01-11 芋头科技(杭州)有限公司 Robot voice addressed rotation system and method
CN105163209A (en) * 2015-08-31 2015-12-16 深圳前海达闼科技有限公司 Voice receiving processing method and voice receiving processing device
CN105204001A (en) * 2015-10-12 2015-12-30 Tcl集团股份有限公司 Sound source positioning method and system
CN105548998B (en) * 2016-02-02 2018-03-30 北京地平线机器人技术研发有限公司 Sound positioner and method based on microphone array
CN105807261B (en) * 2016-04-26 2018-04-10 深思考人工智能机器人科技(北京)有限公司 A kind of audition distinguishes the device and method of position
CN105798917B (en) * 2016-04-29 2019-02-15 深圳市神州云海智能科技有限公司 A kind of Community Safety alarm method and patrol robot
CN106448693B (en) * 2016-09-05 2019-11-29 华为技术有限公司 A kind of audio signal processing method and device
CN107894595A (en) * 2017-11-06 2018-04-10 上海航天测控通信研究所 A kind of delay time estimation method under non-gaussian SaS impulsive noise environments
CN107991670B (en) * 2017-11-21 2022-01-18 宇龙计算机通信科技(深圳)有限公司 Navigation method and mobile terminal
CN109831717B (en) * 2017-11-23 2020-12-15 深圳市优必选科技有限公司 Noise reduction processing method and system and terminal equipment
CN108802684B (en) * 2018-03-29 2022-02-22 南京信息工程大学 Thunder three-dimensional positioning method based on inversion algorithm
CN108802689B (en) * 2018-06-14 2020-09-01 河北工业大学 Space microphone positioning method based on sound source array
CN108806684B (en) * 2018-06-27 2023-06-02 Oppo广东移动通信有限公司 Position prompting method and device, storage medium and electronic equipment
CN109100685A (en) * 2018-07-12 2018-12-28 南京信息工程大学 A kind of passive acoustic direction blending algorithm of two-sided quaternary cross battle array
CN109471145B (en) * 2018-10-17 2022-12-06 中北大学 A dual-acoustic positioning and attitude determination method based on a four-element acoustic array platform
CN109782225B (en) * 2019-01-18 2021-04-16 杭州微萤科技有限公司 Method for positioning coordinates of base station
CN113874746B (en) * 2019-03-22 2024-08-27 成都信息工程大学 Irradiance-based radiation source orientation method
CN110085029B (en) * 2019-05-31 2020-08-04 重庆交通大学 Highway inspection system and method based on rail type inspection robot
CN110333541A (en) * 2019-07-09 2019-10-15 中科传启(苏州)科技有限公司 A kind of life body detecting method, equipment and automobile data recorder
CN110333540A (en) * 2019-07-09 2019-10-15 中科传启(苏州)科技有限公司 A kind of life body detecting method, equipment and automobile data recorder
CN112964256B (en) * 2019-12-13 2024-02-27 佛山市云米电器科技有限公司 Indoor positioning method, intelligent household appliance and computer readable storage medium
CN112346016B (en) * 2020-10-28 2023-11-28 苏州触达信息技术有限公司 A method and wearable device for positioning people in water
CN112684414A (en) * 2020-12-21 2021-04-20 广西大学 Unmanned aerial vehicle counter-braking method and device
US11750971B2 (en) * 2021-03-11 2023-09-05 Nanning Fulian Fugui Precision Industrial Co., Ltd. Three-dimensional sound localization method, electronic device and computer readable storage
CN113317781B (en) * 2021-04-12 2023-07-21 中国人民解放军总医院第六医学中心 Audiometric system and method for testing sound source positioning capability
CN114034380B (en) * 2021-11-11 2023-11-17 上汽大众汽车有限公司 One-dimensional acoustic positioning method for engine rack
CN114624689B (en) * 2022-05-12 2022-09-23 杭州兆华电子股份有限公司 Near-field focusing sound source distance calculation method and system based on acoustic imaging instrument
CN116546384A (en) * 2023-04-21 2023-08-04 深圳市悦尔声学有限公司 Method for realizing automatic regulation of audio output of loudspeaker box based on Doppler radar sensor
CN119757530B (en) * 2025-01-17 2025-08-19 中国科学院武汉岩土力学研究所 Five-membered silicon microphone device for sound source positioning rock sample pressure cracking point and positioning method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1089092A1 (en) * 1999-10-01 2001-04-04 Baggermaatschappij Boskalis B.V. Method and apparatus for measuring physical parameters from the phase and amplitude histories of an acoustic signal
CN101855914A (en) * 2007-11-13 2010-10-06 Akg声学有限公司 Position determination of sound sources
CN101957442A (en) * 2010-06-04 2011-01-26 河北工业大学 Sound source positioning device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101483269B1 (en) * 2008-05-06 2015-01-21 삼성전자주식회사 Method and apparatus for locating sound source position of robot
US9031268B2 (en) * 2011-05-09 2015-05-12 Dts, Inc. Room characterization and correction for multi-channel audio

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1089092A1 (en) * 1999-10-01 2001-04-04 Baggermaatschappij Boskalis B.V. Method and apparatus for measuring physical parameters from the phase and amplitude histories of an acoustic signal
CN101855914A (en) * 2007-11-13 2010-10-06 Akg声学有限公司 Position determination of sound sources
CN101957442A (en) * 2010-06-04 2011-01-26 河北工业大学 Sound source positioning device

Non-Patent Citations (10)

* Cited by examiner, † Cited by third party
Title
Dirk Bechler等.RELIABILITY MEASUREMENT OF TIME DIFFERENCE OF ARRIVAL ESTIMATIONS FOR MULTIPLE SOUND SOURCE LOCALIZATION.《17th Annual Meeting of the IAR》.2002,
Kamen Y等.Learning-Based Three Dimensional Sound Localization Using a Compact Non-Coplanar Array of Microphones.《Proc. AAAI Spring Symposium on Intelligent》.1998,
Learning-Based Three Dimensional Sound Localization Using a Compact Non-Coplanar Array of Microphones;Kamen Y等;《Proc. AAAI Spring Symposium on Intelligent》;19981231;第68-77页 *
RELIABILITY MEASUREMENT OF TIME DIFFERENCE OF ARRIVAL ESTIMATIONS FOR MULTIPLE SOUND SOURCE LOCALIZATION;Dirk Bechler等;《17th Annual Meeting of the IAR》;20021231;第1-6页 *
基于BP 神经网络的正四面体阵列声源定向研究;杨鹏等;《传感器与微系统》;20120531;第31卷(第5期);第8-9、12页 *
基于声达时间差的多声源目标定位系统;徐向前等;《中南大学学报(自然科学版)》;20110930;第574-578页 *
徐向前等.基于声达时间差的多声源目标定位系统.《中南大学学报(自然科学版)》.2011,
杨鹏等.基于BP 神经网络的正四面体阵列声源定向研究.《传感器与微系统》.2012,第31卷(第5期),8、9、12.
移动机器人三维空间听觉定位系统设计;谷岳等;《计算机仿真》;20110930;第28卷(第9期);第195-198页 *
谷岳等.移动机器人三维空间听觉定位系统设计.《计算机仿真》.2011,第28卷(第9期),

Also Published As

Publication number Publication date
CN103064061A (en) 2013-04-24

Similar Documents

Publication Publication Date Title
CN103064061B (en) Sound source localization method of three-dimensional space
CN104459625B (en) The sound source locating device and method of two-microphone array are moved based on track
CN104035065A (en) Sound source orienting device on basis of active rotation and method for applying sound source orienting device
CN102033223B (en) Method for positioning sound source by using microphone array
CN105676171B (en) Single channel Dual base stations ultrashort wave signals space-location method
CN102707262A (en) Sound localization system based on microphone array
CN108037410B (en) Partial discharge ultrasonic positioning method and device based on controllable response power
CN104360315A (en) LabVIEW-based (laboratory virtual instrumentation engineering workbench based) microphone array sound source localization method and device
KR20090116089A (en) Sound source location search method of robot and its device
Ogiso et al. Robust indoor localization in a reverberant environment using microphone pairs and asynchronous acoustic beacons
CN106774901B (en) Remote PC body-sensing input method based on localization by ultrasonic
CA3153448A1 (en) Ultrasonic detector
CN104535964B (en) Sound source localization method of helmet microphone array based on low-frequency diffraction delay difference
Gala Three-dimensional sound source localization for unmanned ground vehicles with a self-rotational two-microphone array
Tuma et al. Sound source localization
CN116299182A (en) Sound source three-dimensional positioning method and device
CN103487796A (en) Method for using underwater acoustic channel statistics invariant features to achieve passive ranging
CN104965194A (en) Indoor multi-sound-source positioning device and method simulating binaural effect
CN108107435B (en) Ultrasonic-based virtual reality tracking method and system
CN105954710A (en) Error analysis device based on embedded array and error analysis method thereof
Yang et al. A data complementary method for sound source localization based on four-element microphone array groups
CN115453300A (en) A partial discharge localization system and method based on acoustic sensor array
KR102180229B1 (en) Apparatus for Estimating Sound Source Localization and Robot Having The Same
Tourbabin et al. Analysis of distortion in audio signals introduced by microphone motion
CN112720448A (en) Positioning robot for self-recognition and positioning system thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140611

CF01 Termination of patent right due to non-payment of annual fee