CN103399293A - Method and device for realizing sound source direction finding - Google Patents

Method and device for realizing sound source direction finding Download PDF

Info

Publication number
CN103399293A
CN103399293A CN2013103396307A CN201310339630A CN103399293A CN 103399293 A CN103399293 A CN 103399293A CN 2013103396307 A CN2013103396307 A CN 2013103396307A CN 201310339630 A CN201310339630 A CN 201310339630A CN 103399293 A CN103399293 A CN 103399293A
Authority
CN
China
Prior art keywords
time difference
measurement points
time
timer
impact point
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.)
Pending
Application number
CN2013103396307A
Other languages
Chinese (zh)
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.)
Chengdu Siwi High Tech Industrial Park Co Ltd
Original Assignee
Chengdu Siwi High Tech Industrial Park Co Ltd
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 Chengdu Siwi High Tech Industrial Park Co Ltd filed Critical Chengdu Siwi High Tech Industrial Park Co Ltd
Priority to CN2013103396307A priority Critical patent/CN103399293A/en
Publication of CN103399293A publication Critical patent/CN103399293A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)

Abstract

The invention provides a method and a device for realizing sound source direction finding. Based on the advantages of passive cross locating and typical time difference locating, in combination with judgment of an approximate direction and analysis of a hyperbola, the direction locating of an accurate direction is finally realized by a robot. By adopting the scheme, not only can the realization difficulty of a system be reduced, but also the higher accuracy can be guaranteed.

Description

A kind of method and device of realizing the sound source direction finding
Technical field
The present invention relates to a kind of method and device of realizing the sound source direction finding, particularly relate to a kind of method and device that is applicable to realize robot sound source direction finding.
Background technology
The passive location technology is an important technology in the direction finding means, in engineering and military affairs, have a wide range of applications, and along with the upgrading of technology, research and all progressively upgradings of application to passive location, particularly, aspect voice application, a large amount of patent and documents about shotgun microphone, directed osophone aspect have been emerged.We wish in machine person to person's reciprocal process, allow the behavior pattern of robot more close to the people, corresponding feedback is all done in action, expression and position etc. to the people, and the identification of Sounnd source direction when the people is spoken, in the time of can allowing the machine person to person exchange, all the time recognize speaker's direction, but because robot is self-existent, we also have no idea to realize cross bearing by the mode of establishing a plurality of observation point, therefore general passive location technology as: intersecting passive location method and multistation time difference passive location method all can't use.
Passive cross bearing is a kind of traditional localization method, utilize the azimuthal measurement of a plurality of measurement points to target, obtain the coordinate position of point of crossing, in order to make mathematical model more clear, usually be reduced to plane problem and solve, describe by the localization method of 2 intersections here.
As shown in Figure 1, the coordinate of establishing two measurement points is respectively (x 1, y 1) and (x 2, y 2), record azimuth of target and calculate and be respectively θ from the X-axis forward 1And θ 2, the equation of two direction finding lines is respectively:
(x-x i)×sinθ i=(y-y i)×cosθ i(i=1,2)
Work as θ 1≠ θ 2The time, have intersecting point coordinate to be:
x 0 = x 1 + l cos θ 1 y 0 = y 1 + l sin θ 1
Wherein, l is impact point (x 0, y 0) to measurement point (x 1, y 1) distance, l can be expressed as:
l = Δx × sin θ 2 - Δy × cos θ 2 sin ( θ 2 - θ 1 )
Wherein, Δ x=x 2-x 1, Δ y=y 2-y 1.
And the principle of utilizing time difference measurement can obtain the equation of two direction finding lines, article one, time difference line needs two measurement points, article two, time difference line needs three measurement points, so by the detection of three measurement points to the impact point signal, can set up two groups of Hyperbolic Equations, utilize hyp intersection point, obtain the position of impact point.
This patent, by extracting the advantage of classical time difference positioning method, has provided a kind of sound source direction method and the device that can realize based on robot self, the method and and device not only reduced realizing difficulty but also having guaranteed higher precision of system.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method and device that is applicable to realize robot sound source direction finding, advantage based on passive cross bearing and classical time difference location, in conjunction with the judgement to general orientation with to hyp parsing, realize that finally robot is to the direction in accurate orientation location, this scheme of the invention had not only reduced realizing difficulty but also having guaranteed higher precision of system.
The technical solution used in the present invention is as follows:
A kind of method that realizes the sound source direction finding, its concrete grammar is: one, in robot, establish two measurement points with it; Two, take two measurement points as focal length, obtain Hyperbolic Equation; Three, by the impact point source sound, propagate into the time order and function of two measurement points, reach the division of robot front and back, detect the quadrant area of sound source; Four, resolve hyperbolic curve and draw the angle between impact point and measurement point.
As preferably, the concrete grammar of described step 2 is: by in passive location, obtaining the mode of time difference line, utilizing corresponding fixing distance of the fixing time difference, is 2 times of hyperbolic curve real axis from 2 range differences, and the distance of two measurement points is namely focal length; If the coordinate of two measurement points is respectively (x a, y a) and (x b, y b), impact point is D to this range difference of 2, thereby can draw hyp equation.
As preferably, the method for obtaining the time difference of two measurement points is: with two-way independently, interrupt processing two paths of signals, and independently timer is set calculates the two paths of signals time difference.
As preferably, measure two paths of signals and calculate the concrete grammar step of the time difference and be: A, time difference counter original state is set; B, judge whether to interrupt first and triggered, be, entered step C, no, continue to wait for; C, unlatching timer first are also closed the interruption first; Whether D, judgement are interrupted second and are triggered, and are, enter step e, no, return steps A after entering blocking time; E, stop the timer first, close interruption second, and open timer second; F, report time difference data to host computer; G, return steps A after entering blocking time.
As preferably, described blocking time greater than impact point to two measurement points apart from the quotient of difference D divided by sound propagation velocity.
As preferably, described blocking time is 2 seconds.
As preferably, described step 4 is resolved hyp concrete grammar and is: the method that adopts asymptotic line to approach solves.
Based on the described system that realizes the sound source direction-finding method, it is characterized in that: comprise the sound collection unit, operation amplifier unit, pulse transmitter, time difference counter and the host computer that are connected successively.
Compared with prior art, the invention has the beneficial effects as follows: combine the passive location technology, utilize the interrupt handling capacity of single-chip microcomputer, realized to the detection of audio direction and to the control of integral body, not only reduced realizing difficulty but also having guaranteed higher precision of system, enriched the application of intellectual technology, also for follow-up development in this field, laid a good foundation.
The accompanying drawing explanation
Fig. 1 is two straight line cross bearing principle schematic.
Fig. 2 is a wherein examples measure two paths of signals calculate the process flow diagram of temporal difference method of the present invention.
Fig. 3 is the wherein apparatus structure block diagram of an embodiment of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Disclosed all features in this instructions, except the feature of mutual eliminating, all can make up by any way.
Disclosed arbitrary feature in this instructions (comprising any accessory claim, summary and accompanying drawing), unless special narration all can be replaced by other equivalences or the alternative features with similar purpose.That is, unless special narration, each feature is an example in a series of equivalences or similar characteristics.
In robot application, because robot is self-existent, we can't set up outside measurement point and come auxiliary robot to complete location, therefore the mode of cross bearing is also not exclusively applicable, but concerning robot, do not need to know the range information of impact point and robot, only need to pay close attention to directional information and just can complete direction finding, thus we only need in robot, establish two measurement points can extract directional data.
A kind of method that realizes the sound source direction finding, its concrete grammar is: one, in robot, establish two measurement points with it; Two, take two measurement points as focal length, obtain Hyperbolic Equation; Three, by the impact point source sound, propagate into the time order and function of two measurement points, reach the division of robot front and back, detect the quadrant area of sound source; Four, resolve hyperbolic curve and draw the angle between impact point and measurement point.
The concrete grammar of described step 2 is: by in passive location, obtaining the mode of time difference line, utilize corresponding fixing distance of the fixing time difference, and when from 2 range differences, being fixed value, this value is 2 times of hyperbolic curve real axis, and the distance of two measurement points is namely focal length; If the coordinate of two measurement points is respectively (x a, y a) and (x b, y b), impact point is D to this range difference of 2, thereby can draw hyp equation.
If the coordinate of two measurement points is respectively (x a, y a) and (x b, y b), impact point is D to this range difference of 2, so corresponding hyp equation is:
( Δ x 2 - D 2 ) ( x - Σx 2 ) 2 + 2 ΔxΔy ( x - Σx 2 ) ( y - Σy 2 ) + ( Δ y 2 - D 2 ) ( y - Σy 2 ) 2
= ( D 2 ) 2 [ D 2 - ( Δ x 2 + Δ y 2 ) ]
Wherein, Δ x=x b-x a, Δ y=y b-y a; Σ x=x b+ x a, Σ y=y b+ y a.
By equation, can find out, when we recorded D, point source of sound must be on this hyperbolic curve, but still faced two problems: the one, and there are 4 quadrants in hyperbolic curve, and these 4 quadrants are on all four concerning robot, and we need artificial distinguishing; The 2nd, hyp parsing is comparatively complicated, and single-chip microcomputer carries out the poor ability of floating-point operation, and along with the change of distance, the angle that hyperbolic curve is corresponding is also different.
The settling mode of first problem is to judge by the time order and function that detects two measurement points, the propagation of sound is slower, two measurement points the time difference must occur to the acceptance of sound, when one of them measurement point is first received signal, sound source must be in a corresponding side, so just can exclude 2 quadrants, then by the division to the robot front and back, can exclude again a quadrant, by such mode, just detect the approximate region of sound source.
The method of obtaining the time difference of two measurement points is: with two-way independently, interrupt processing two paths of signals, and independently timer is set calculates the two paths of signals time difference.
Therefore the time difference value of two measurement points is parameters most crucial in scheme, and the precision of this value directly affects the precision of direction, with two-way independently, interrupts processing this two paths of signals, and independently timer is set calculates the time difference.
As shown in Figure 2, measure two paths of signals calculate the concrete grammar step of the time difference and be: A, time difference counter original state is set; B, judge whether to interrupt first and triggered, be, entered step C, no, continue to wait for; C, unlatching timer first are also closed the interruption first; Whether D, judgement are interrupted second and are triggered, and are, enter step e, no, return steps A after entering blocking time; E, stop the timer first, close interruption second, and open timer second; F, report time difference data to host computer; G, return steps A after entering blocking time.
In this specific embodiment, interrupt first and interrupt not strict differentiation of second, but convenient the description distinguished name afterwards according to the elder generation of down trigger.Also can interrupt 1 by called after, interrupt 2, same, timer is similarly random state, according to successively distinguishing name.
Described blocking time greater than impact point to two measurement points apart from the quotient of difference D divided by sound propagation velocity.
Described blocking time is 2 seconds.
A blocking time is set, is conducive to the stable of system, be convenient to voice signal is changed to point value.
Described step 4 is resolved hyp concrete grammar: the method that adopts asymptotic line to approach solves.
The method that Second Problem adopts asymptotic line to approach solves, when point source of sound from measurement point away from the time, the tangent line y that puts on hyperbolic curve will overlap with asymptotic line, when the distance value of measurement point and impact point during much larger than focal length, the distance of two measurement points namely, asymptotic line and hyperbolic error can be ignored.Therefore we,, hyp parsing is converted into asymptotic parsing, have greatly reduced operand.Below derive asymptotic equation:
( x - Σx 2 ) = Δ y 2 - D 2 ΔxΔy + D 2 ( Δ x 2 + Δ y 2 - D 2 ) ( y - Σy 2 ) ( y - Σy 2 ) = Δ x 2 - D 2 ΔxΔy + D 2 ( Δ x 2 + Δ y 2 - D 2 ) ( x - Σx 2 )
Only need to solve the hyperbolic curve asymptotic line, namely can draw the angle between impact point and measurement point.
As shown in Figure 3, based on the described system that realizes the sound source direction-finding method, it is characterized in that: comprise the sound collection unit, operation amplifier unit, pulse transmitter, time difference counter and the host computer that are connected successively.
Sound collection unit is responsible for voice signal is converted to electric signal, transfers to operational amplifier and realizes the amplification of signal and stablize and produce pulse, and time difference counter calculates the time difference of two-way pulse, finally gives host computer and completes positioning calculation process and control.

Claims (8)

1. method that realizes the sound source direction finding, its concrete grammar is: one, in robot, establish two measurement points with it; Two, take two measurement points as focal length, obtain Hyperbolic Equation; Three, by the impact point source sound, propagate into the time order and function of two measurement points, reach the division of robot front and back, detect the quadrant area of sound source; Four, resolve hyperbolic curve and draw the angle between impact point and measurement point.
2. method according to claim 1, the concrete grammar of described step 2 is: by in passive location, obtaining the mode of time difference line, utilizing corresponding fixing distance of the fixing time difference, is 2 times of hyperbolic curve real axis from 2 range differences, and the distance of two measurement points is namely focal length; If the coordinate of two measurement points is respectively (x a, y a) and (x b, y b), impact point is D to this range difference of 2, thereby draws hyp equation.
3. method according to claim 2, the method for obtaining the time difference of two measurement points is: with two-way independently, interrupt processing two paths of signals, and independently timer is set calculates the two paths of signals time difference.
4. method according to claim 3, measure two paths of signals and calculate the concrete grammar step of the time difference and be: A, time difference counter original state is set; B, judge whether to interrupt first and triggered, be, entered step C, no, continue to wait for; C, unlatching timer first are also closed the interruption first; Whether D, judgement are interrupted second and are triggered, and are, enter step e, no, return steps A after entering blocking time; E, stop the timer first, close interruption second, and open timer second; F, report time difference data to host computer; G, return steps A after entering blocking time.
5. method according to claim 4, described blocking time greater than impact point to two measurement points apart from the quotient of difference D divided by sound propagation velocity.
6. method according to claim 5, described blocking time is 2 seconds.
7. method according to claim 1, described step 4 are resolved hyp concrete grammar and be: the method that adopts asymptotic line to approach solves.
8. based on the device of the described method of one of claim 1 to 7, it is characterized in that: comprise the sound collection unit, operation amplifier unit, pulse transmitter, time difference counter and the host computer that are connected successively.
CN2013103396307A 2013-08-06 2013-08-06 Method and device for realizing sound source direction finding Pending CN103399293A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013103396307A CN103399293A (en) 2013-08-06 2013-08-06 Method and device for realizing sound source direction finding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013103396307A CN103399293A (en) 2013-08-06 2013-08-06 Method and device for realizing sound source direction finding

Publications (1)

Publication Number Publication Date
CN103399293A true CN103399293A (en) 2013-11-20

Family

ID=49562950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013103396307A Pending CN103399293A (en) 2013-08-06 2013-08-06 Method and device for realizing sound source direction finding

Country Status (1)

Country Link
CN (1) CN103399293A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105807261A (en) * 2016-04-26 2016-07-27 深思考人工智能机器人科技(北京)有限公司 Device and method for distinguishing position by listening to sound
CN106328130A (en) * 2015-06-30 2017-01-11 芋头科技(杭州)有限公司 Robot voice addressed rotation system and method
WO2019015455A1 (en) * 2017-07-21 2019-01-24 国网上海市电力公司 Apparatus for preventing damage to cable by external force by means of sound source localization
CN110658491A (en) * 2019-08-27 2020-01-07 四川中电昆辰科技有限公司 Direction finding system, direction finding method, positioning system and positioning method
CN110992972A (en) * 2019-11-20 2020-04-10 佳禾智能科技股份有限公司 Sound source noise reduction method based on multi-microphone earphone, electronic equipment and computer readable storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102411138A (en) * 2011-07-13 2012-04-11 北京大学 Method for positioning sound source by robot

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102411138A (en) * 2011-07-13 2012-04-11 北京大学 Method for positioning sound source by robot

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
周文斐: ""基于FPGA的声源定位"", 《中国优秀硕士学位论文全文数据库(电子期刊) 信息科技辑》 *
杜海艳 等: ""基于单片机的主从式声音导引系统"", 《自动化技术与应用》 *
胡胜 等: ""基于ARM7的声音导引系统的设计"", 《自动化与仪表》 *
谷岳 等: ""移动机器人三维空间听觉定位系统设计"", 《计算机仿真》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106328130A (en) * 2015-06-30 2017-01-11 芋头科技(杭州)有限公司 Robot voice addressed rotation system and method
CN105807261A (en) * 2016-04-26 2016-07-27 深思考人工智能机器人科技(北京)有限公司 Device and method for distinguishing position by listening to sound
CN105807261B (en) * 2016-04-26 2018-04-10 深思考人工智能机器人科技(北京)有限公司 A kind of audition distinguishes the device and method of position
WO2019015455A1 (en) * 2017-07-21 2019-01-24 国网上海市电力公司 Apparatus for preventing damage to cable by external force by means of sound source localization
US10878839B2 (en) 2017-07-21 2020-12-29 State Grid Shanghai Municipal Electric Power Company Device for preventing cables against external damage based on sound source localization
CN110658491A (en) * 2019-08-27 2020-01-07 四川中电昆辰科技有限公司 Direction finding system, direction finding method, positioning system and positioning method
CN110992972A (en) * 2019-11-20 2020-04-10 佳禾智能科技股份有限公司 Sound source noise reduction method based on multi-microphone earphone, electronic equipment and computer readable storage medium
CN110992972B (en) * 2019-11-20 2023-11-14 佳禾智能科技股份有限公司 Sound source noise reduction method based on multi-microphone earphone, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN101957442B (en) Sound source positioning device
CN103399293A (en) Method and device for realizing sound source direction finding
CN103064061B (en) Sound source localization method of three-dimensional space
CN103364761B (en) Method for positioning system to position indoor sound source
CN104035065A (en) Sound source orienting device on basis of active rotation and method for applying sound source orienting device
US10645668B2 (en) Indoor positioning system and method based on geomagnetic signals in combination with computer vision
CN104459625A (en) Sound source positioning device and method based on track moving double microphone arrays
CN107390176A (en) A kind of auditory localization guider
CN106019217A (en) AOA-based two-dimensional wireless sensor network semi-definite programming positioning method
CN110026993B (en) Human body following robot based on UWB and pyroelectric infrared sensor
CN104237849A (en) Bi-pentabasic cross-array passive acoustic location integrating method
CN105022026A (en) Two-dimensional arrival angle estimation method of L-shaped array
CN103994765A (en) Positioning method of inertial sensor
CN105353351A (en) Improved positioning method based on multi-beacon arrival time differences
CN202095037U (en) Real-time three-dimensional sound source image monitoring system
CN109100685A (en) A kind of passive acoustic direction blending algorithm of two-sided quaternary cross battle array
CN105538311B (en) A kind of intelligent robot is followed the sound the method and system of positioning
CN104964689A (en) Wall-climbing robot navigation location system and method based on sound localization and INS (inertial navigation system)
CN109597031A (en) A kind of indoor orientation method merged based on SVM and pedestrian's dead reckoning
CN204788411U (en) Wall climbing robot navigational positioning system based on sound localization , INS
Zhang et al. A measurement fusion algorithm of active and passive sensors based on angle association for multi-target tracking
CN201576308U (en) Registration system for complex curved surface
CN103439090B (en) A kind of data sampling paths planning method detected for sub-aperture stitching
CN104391272A (en) Method and system for target positioning by using direction finding data
CN201765319U (en) Sound source positioning device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20131120