CN106093848B - Sound orientation method and device - Google Patents

Sound orientation method and device Download PDF

Info

Publication number
CN106093848B
CN106093848B CN201610357472.1A CN201610357472A CN106093848B CN 106093848 B CN106093848 B CN 106093848B CN 201610357472 A CN201610357472 A CN 201610357472A CN 106093848 B CN106093848 B CN 106093848B
Authority
CN
China
Prior art keywords
signal
predetermined angle
energy
sound
signal energy
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.)
Active
Application number
CN201610357472.1A
Other languages
Chinese (zh)
Other versions
CN106093848A (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.)
Shenzhen Horn Audio Co Ltd
Original Assignee
Shenzhen Horn Audio 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 Shenzhen Horn Audio Co Ltd filed Critical Shenzhen Horn Audio Co Ltd
Priority to CN201610357472.1A priority Critical patent/CN106093848B/en
Publication of CN106093848A publication Critical patent/CN106093848A/en
Application granted granted Critical
Publication of CN106093848B publication Critical patent/CN106093848B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S3/00Direction-finders for determining the direction from which infrasonic, sonic, ultrasonic, or electromagnetic waves, or particle emission, not having a directional significance, are being received
    • G01S3/80Direction-finders for determining the direction from which infrasonic, sonic, ultrasonic, or electromagnetic waves, or particle emission, not having a directional significance, are being received using ultrasonic, sonic or infrasonic waves
    • G01S3/802Systems for determining direction or deviation from predetermined direction
    • G01S3/8027By vectorial composition of signals received by plural, differently-oriented transducers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The present invention provides a kind of sound orientation method and device, obtains the voice signal of the first two-way acoustic-electrical transducer, the second two-way acoustic-electrical transducer acquisition issued by sound source to be oriented respectively, and is denoted as the first voice signal and second sound signal respectively;Obtain the included angle between the first two-way acoustic-electrical transducer and the second two-way acoustic-electrical transducer;It according to the first voice signal, second sound signal, included angle and by the predetermined angle that preset interval is arranged determines linear function, and determines the signal energy exported when rotating each predetermined angle as reference line using the straight line where a two-way acoustic-electrical transducer according to linear function;According to the signal energy determination in each predetermined angle wait the orientation angles where orienting sound source.Compared to conventional method or device, this method and device are positioned without the mode of the linear array of more traditional omnidirectional's acoustic-electrical transducers, L row array and square array, are calculated without a large amount of, calculation amount is small.

Description

Sound orientation method and device
Technical field
The present invention relates to audio signal processing technique field more particularly to a kind of sound orientation methods and device.
Background technique
It is competing in similar product in order to improve with the rise and development of the emerging industries such as smart home, intelligent toy Power is striven, the developer of smart machine is constantly developed based on the new function of human-computer interaction or intelligent monitoring etc..In smart machine On can recognize that the orientation of user and make a response to this, it has also become a standard configuration function of smart machine.
Currently, identifying that the orientation of user generally uses the linear array of more omnidirectional microphones, L row array based on acoustics And square array.Microphone array use specific method have: the method based on Wave beam forming, the method based on subspace and Based on the method for time delay estimation, the problem of these microphone array algorithms, is that operand is big.Therefore, cause to utilize these methods There is also computationally intensive problems for the method or apparatus of progress sound orientation.
Summary of the invention
Based on this, it is necessary to provide a kind of method and device of the sound that calculation amount is small orientation.
A kind of sound orientation method, comprising:
The first two-way acoustic-electrical transducer is obtained respectively, the second two-way acoustic-electrical transducer acquisition is issued by sound source to be oriented Voice signal, and it is denoted as the first voice signal and second sound signal respectively;
Obtain the included angle between the described first two-way acoustic-electrical transducer and the second two-way acoustic-electrical transducer;
According to first voice signal, the second sound signal, the included angle and by preset interval setting Predetermined angle determines linear function, and is determined according to the linear function with the straight line where the described first two-way acoustic-electrical transducer The signal energy exported when rotating each predetermined angle as reference line;
The orientation angles wait orient where sound source are determined according to the signal energy in each predetermined angle.
A kind of sound directing device, comprising:
Two-way signaling obtains module, and for obtaining the first two-way acoustic-electrical transducer respectively, the second two-way acoustic-electrical transducer is adopted The voice signal of collection issued by sound source to be oriented, and it is denoted as the first voice signal and second sound signal respectively;
Included angle obtains module, for obtaining the described first two-way acoustic-electrical transducer and the described second two-way acoustic-electric transducing Included angle between device;
Angular energy determining module, for according to first voice signal, the second sound signal, the angle angle It spends and determines linear function by the predetermined angle that preset interval is arranged, and is two-way with described first according to linear function determination The signal energy that straight line where acoustic-electrical transducer exports when rotating each predetermined angle as reference line;
Orientation angles determining module, for determining the sound to be oriented according to the signal energy in each predetermined angle Orientation angles where source.
Above sound orientation method and device, due to only needing to obtain the first two-way acoustic-electrical transducer, second two-way respectively The voice signal of acoustic-electrical transducer acquisition issued by sound source to be oriented, and it is denoted as the first voice signal and rising tone message respectively Number;Obtain the included angle between the described first two-way acoustic-electrical transducer and the second two-way acoustic-electrical transducer;Further according to institute It states the first voice signal, the second sound signal, the included angle and determines line by the predetermined angle that preset interval is arranged Property function, and according to the linear function determine using the straight line where the described first two-way acoustic-electrical transducer as reference line rotation Turn the signal energy exported when each predetermined angle;Finally, being determined according to the signal energy in each predetermined angle The orientation angles wait orient where sound source.Compared to conventional method or device, no this method and device are without tradition The linear arrays of more omnidirectional's acoustic-electrical transducers, L row array and square array mode positioned, be not necessarily to big meter It calculates, calculation amount is small.
Detailed description of the invention
Fig. 1 is the flow chart of the sound orientation method of an embodiment;
Fig. 2 is the specific flow chart of a step of the sound orientation method of Fig. 1;
Fig. 3 is the relative position schematic diagram of two two-way acoustic-electrical transducers;
Fig. 4 is the schematic diagram of the collected sound signal directive property of two two-way acoustic-electrical transducers;
Fig. 5 is the specific flow chart of another step of the sound orientation method of Fig. 1;
Fig. 6 is the flow chart of the sound orientation method of another embodiment;
Fig. 7 is the function structure chart of the sound directing device of an embodiment;
Fig. 8 is the cellular construction figure of a module of Fig. 7;
Fig. 9 is the cellular construction figure of another module of Fig. 7.
Specific embodiment
To facilitate the understanding of the present invention, a more comprehensive description of the invention is given in the following sections with reference to the relevant attached drawings.In attached drawing Give preferred embodiment of the invention.But the invention can be realized in many different forms, however it is not limited to herein Described embodiment.On the contrary, purpose of providing these embodiments is keeps the understanding to the disclosure more saturating It is thorough comprehensive.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.Term as used herein " or/and " it include one or more phases Any and all combinations of the listed item of pass.
As shown in Figure 1, being the sound orientation method of one embodiment of the invention, comprising:
S110: obtain respectively the first two-way acoustic-electrical transducer, the second two-way acoustic-electrical transducer acquisition by sound source to be oriented The voice signal of sending, and it is denoted as the first voice signal and second sound signal respectively.
The directive property of two-way acoustic-electrical transducer is 8 fonts, and the acoustic-electrical transducer of this directive property is most clever in forward and reverse Quick i.e. axial most sensitive, the both direction vertical with positive and negative both direction is least sensitive, i.e., is mutually perpendicular to axial place straight line Straight line where both direction cannot collect voice signal.It should be noted that two-way acoustic-electrical transducer cannot distinguish between is Positive or reversed voice signal.Therefore, in the present embodiment, the two-way acoustic-electric for mutually forming included angle by two changes Energy device may be implemented in the orientation of 0~180 degree.
Using the straight line where a two-way acoustic-electrical transducer as benchmark straight line, i.e., with the axial place of two-way acoustic-electrical transducer The straight line in direction is benchmark straight line.Remember that the two-way acoustic-electrical transducer is the first two-way acoustic-electrical transducer, the voice signal of acquisition For the first voice signal.Another two-way acoustic-electrical transducer is the second two-way acoustic-electrical transducer, and the voice signal of acquisition is the Two voice signals.In the present embodiment, it is only necessary to which therefore the second two-way acoustic-electric can be shielded in the orientation of 0~180 degree by realizing The voice signal in one face of energy converter.
Two-way acoustic-electrical transducer can be specially bi-directional microphones in one of the embodiments,.
S130: the angle angle between the first two-way acoustic-electrical transducer and the second two-way acoustic-electrical transducer is obtained Degree.
Obtain the included angle of two two-way acoustic-electrical transducers.The range of the included angle are as follows: be greater than 0 degree, less than 180 Degree.
S150: it sets according to first voice signal, the second sound signal, the included angle and by preset interval The predetermined angle set determines linear function, and is determined where the described first two-way acoustic-electrical transducer according to the linear function The signal energy that straight line exports when rotating each predetermined angle as reference line.
Preset interval is a lesser angle, and preset interval is related with precision to be achieved is oriented, such as can be 5 degree or 3 degree.The linear coefficient of linear function is determined according to included angle and by the predetermined angle that preset interval is arranged.
Linear function is the linear letter about the first voice signal and second sound signal in one of the embodiments, Number.First determine that rotation is each described pre- using the straight line where the first two-way acoustic-electrical transducer as reference line according to linear function If the signal energy exported when angle, the corresponding signal energy of the voice signal is determined further according to the signal energy.
In another embodiment, the first voice signal and the corresponding signal of second sound signal can also first be calculated Energy is denoted as the first signal energy and second signal energy;Linear function is about the first signal energy and second signal energy Linear function;Then it determines further according to linear function using the straight line where the first two-way acoustic-electrical transducer as reference line and revolves Turn the signal energy exported when each predetermined angle.
The first voice signal and second sound signal of available multiple periods in one of the embodiments, the The corresponding signal energy of one voice signal is the average value of the signal energy of the first voice signal of multiple periods;Second sound The corresponding signal energy of signal is the average value of multiple periods, second sound signal signal energy.In this way, improving positioning Accuracy.It is to be appreciated that average value here also could alternatively be root mean square.
S170: the azimuth wait orient where sound source is determined according to the signal energy in each predetermined angle Degree.
According to the size of the signal energy in each predetermined angle, the side wait orient where sound source can be determined Parallactic angle degree.Due to the voice signal that the vertical direction of two-way acoustic-electrical transducer axial direction cannot receive, it can be assumed that The smallest predetermined angle of signal energy is to subtract or add 90 degree, and the orientation angles wait the orientation angles where orienting sound source Between 0~180 degree.Again since the smallest rotation angle of signal energy may not be and to be difficult to determine in predetermined angle Therefore the situation of signal energy minimum can set a threshold value, when signal energy is equal to this threshold value, assert sound undetermined Orientation angles where source are that predetermined angle corresponding to the signal energy subtracts or plus 90 degree, and the orientation angles 0~ Between 180 degree.
Above sound orientation method, due to only needing to obtain the first two-way acoustic-electrical transducer respectively, the second two-way acoustic-electric changes The voice signal of energy device acquisition issued by sound source to be oriented, and it is denoted as the first voice signal and second sound signal respectively;It obtains Take the included angle between the described first two-way acoustic-electrical transducer and the second two-way acoustic-electrical transducer;Further according to described first Voice signal, the second sound signal, the included angle and by preset interval be arranged predetermined angle determine linear function, And determine that rotation is each using the straight line where the described first two-way acoustic-electrical transducer as reference line according to the linear function The signal energy exported when the predetermined angle;Finally, according to the signal energy in each predetermined angle determine it is described to Orient the orientation angles where sound source.Compared to conventional method, no this method is without more traditional omnidirectional's acoustic-electric transducings The mode of the linear array of device, L row array and square array is positioned, and is calculated without a large amount of, calculation amount is small.
As shown in Fig. 2, described according to first voice signal, the rising tone message in one of the embodiments, Number, the included angle and the predetermined angle being arranged by preset interval, determine linear function, and determine according to the linear function The letter exported when rotating each predetermined angle as reference line using the straight line where the described first two-way acoustic-electrical transducer The step of number energy, i.e. step S150, comprising:
S251: obtaining the predetermined angle being arranged according to preset interval, and the predetermined angle is with the described first two-way acoustic-electric The angle that straight line where energy converter rotates counterclockwise as reference line.
Specifically, it can be obtained according to preset interval using the straight line where the first two-way acoustic-electrical transducer as reference line The predetermined angle rotated counterclockwise.
S253: linear system corresponding with the predetermined angle respectively is determined according to the predetermined angle and the included angle Number.
Since predetermined angle has multiple, multiple linear functions can be determined.Linear coefficient in different predetermined angles is different.
S255: first voice signal and the corresponding energy size of the second sound signal are calculated, is remembered respectively For the first signal energy and second signal energy.
S257: according to the linear coefficient and first signal energy, the second signal energy determine respectively with institute State the corresponding linear function of predetermined angle.
S259: the signal energy in the predetermined angle is determined according to the linear function.
In the present embodiment, the included angle is 90 degree;The range intervals of predetermined angle are -90~90 degree of degree.In this way, The signal energy in predetermined angle is allowed to be expressed as the linear function of the first signal energy Yu second signal energy.
In a wherein specific embodiment, the position pass of the first two-way acoustic-electrical transducer, the second two-way acoustic-electrical transducer System's figure, as shown in figure 3, the included angle between the first two-way acoustic-electrical transducer 310, the second two-way acoustic-electrical transducer 330 is 90 Degree, i.e., the first two-way acoustic-electrical transducer 310, the second two-way acoustic-electrical transducer 330 are mutually perpendicular to.First two-way acoustic-electrical transducer 310 can acquire the voice signal of the right and left, and the second two-way acoustic-electrical transducer can acquire the voice signal on upper and lower both sides.
As shown in figure 4, using the straight line where the first two-way acoustic-electrical transducer as benchmark straight line, define the reference line be and For the X-axis of coordinate system, the straight line where the second two-way acoustic-electrical transducer is Y-axis.At this point, the first two-way acoustic-electrical transducer is directed toward 0 Degree, the first signal energy are denoted as S1, and directive property is cos θ;Second two-way acoustic-electrical transducer is oriented to 90 degree, second signal energy It is denoted as S2, directive property is sin θ.First signal energy and second signal energy can by the linear superposition of linear coefficient (c1, c2) It is defeated with the two-way acoustic-electrical transducer after obtaining using the straight line where the first acoustic-electrical transducer as reference line different rotation angle Signal energy out, is denoted as Sa, is axially directed to α degree.Wherein, Sa is represented by about the first signal energy and second signal energy Linear function:
Sa=c1*S1+c2*S2 (- 1 < c1 < 1,0 < c2 < 1) (1)
Linear coefficient (c1, c2) calculation method needed for rotation alpha degree counterclockwise are as follows:
C1=cos α;C2=sin α;Wherein, (- 90 ° < α < 90 °).
In the present embodiment, due to being obtained after linear coefficient (c1, c2) is substituted into (1):
Sa=cos (θ-α) (2)
Therefore, Sa is represented by the linear function about the first signal energy and second signal energy.
Preset intervalIt recycles to obtain by variable increment and be made with the straight line where the first two-way acoustic-electrical transducer The each predetermined angle rotated counterclockwise for benchmark straight line:
Wherein, α initial value is -90 degree, stops circulation when α is 90 degree (when being overlapped with reference line, α is 0 degree).
As shown in figure 5, the signal energy according in each predetermined angle determines in one of the embodiments, It is described wait orient the orientation angles where sound source the step of, i.e. step S170, comprising:
S571: the maximum value in the signal energy in each predetermined angle is obtained.
S573: signal ratio is determined with the maximum value according to the signal energy in each predetermined angle.
S575: the orientation angles wait orient where sound source are determined according to the signal ratio.
In this way, by signal energy in each predetermined angle and the maximum value determine the size of signal ratio come Determine the orientation angles of sound source to be oriented.
Further, it is described according to the signal ratio determine it is described wait orient the orientation angles where sound source the step of, That is step S575, comprising:
(a), when the signal ratio minimum, determine that the orientation angles are the corresponding predetermined angle of the signal ratio In addition 90 degree.Alternatively,
(b), when the signal ratio is equal to preset threshold, determine that the orientation angles are that the signal ratio is corresponding The corresponding threshold angle of the preset threshold is added or subtracted to predetermined angle plus 90 degree, or determines that the orientation angles are each The preset threshold pair is added or subtracted to a corresponding predetermined angle of the signal ratio equal to preset threshold plus 90 degree The average value for the threshold angle answered.
Wherein, preset threshold is also related with orientation accuracy.As preset threshold can be preset as 0.1, or it is pre- as needed It is set as other numerical value.
In the present embodiment, the range intervals of predetermined angle are -90~90 degree of degree, in this way, when the signal ratio is minimum When, it may be determined that the orientation angles are that the corresponding predetermined angle of the signal ratio adds 90 degree;When the signal ratio is equal to When preset threshold, if only existing such signal ratio, it may be determined that the orientation angles are that the signal ratio is corresponding The corresponding threshold angle of the preset threshold is added or subtracted to predetermined angle plus 90 degree;Multiple such signal ratios if it exists It is described pre- then to can determine that the orientation angles are added or subtracted plus 90 degree for the corresponding predetermined angle of the signal ratio for value If the average value of the corresponding threshold angle of threshold value.
Further, predetermined angle calculates all preset angles between -90~90 according to preset interval from -90 degree Degree.If the signal ratio of signal energy and maximum value in the predetermined angle being calculated in this order is equal to pre- If threshold value occurs prior to minimum value, the orientation angles are that the corresponding predetermined angle of the signal ratio is added plus 90 degree The corresponding threshold angle of the preset threshold.If the signal ratio of signal energy and maximum value in the predetermined angle is equal to pre- If threshold value is later than minimum value when occurring, the orientation angles are that the corresponding predetermined angle of the signal ratio subtracts again plus 90 degree The corresponding threshold angle of the preset threshold.
In a wherein specific embodiment, the signal energy for rotating predetermined angle is denoted as E, and maximum value is denoted as Emax, root Determine that signal ratio is E/Emax with the maximum value according to the signal energy in each predetermined angle.
When signal ratio obtains minimum value or reaches preset threshold (threshold), orientation angles β can be by corresponding Predetermined angle be calculated.Specifically,
(1) when meeting signal ratio E/Emax acquirement minimum value:
β=α+90 (- 90 ° < α < 90 °).
(2) when meeting signal ratio E/Emax equal to (such as 0.1) preset threshold threshold:
β 1=α+90+ γ E/Emax is equal to threshold to be occurred prior to minimum value;Or
β 2=α+90- γ E/Emax is equal to threshold and is later than minimum value appearance.
At this point, orientation angles β is the mean value mean (β 1, β 2) of β 1, β 2 or β 1 and β 2;Wherein, γ is two-way acoustic-electric transducing Differential seat angle between when device directive property is threshold and when directive property is minimum value.
As described in Figure 6, step S110~S170 respectively corresponds step S610~S670 in one of the embodiments,.Institute State according to the signal energy in each predetermined angle determine it is described wait orient the orientation angles where sound source the step of, i.e., S670, later, further includes:
S680: the signal energy in the corresponding predetermined angle of the orientation angles is obtained.
S690: obtaining omnidirectional signal energy, and the omnidirectional signal energy is the voice signal of omnidirectional's acoustic-electrical transducer acquisition Corresponding energy size.Omnidirectional's acoustic-electrical transducer is overlapped with the intersection point of two two-way acoustic-electrical transducers.
Specifically, the step of obtaining omnidirectional signal energy may include: the sound letter for obtaining the acquisition of omnidirectional's acoustic-electrical transducer Number, it is denoted as omnidirectional's voice signal;Omnidirectional signal energy is calculated according to omnidirectional's voice signal.
S6A0: according in the corresponding predetermined angle of the orientation angles signal energy and the omnidirectional signal energy Amount determines the final bearing degree of the sound source to be oriented.
In the present embodiment, two faces of the first two-way acoustic-electrical transducer and the second two-way acoustic-electrical transducer acquire sound Signal.At this point, the straight line where the orientation of sound source to be oriented can be determined on the basis of previous embodiment, without can determine that Bottom is the front or reverse side in the first two-way acoustic-electrical transducer.Therefore, it is also desirable to omnidirectional signal energy is obtained, it is undetermined with determination To the final bearing degree of sound source, in this way, may be implemented to treat orientation of the orientation sound source within the scope of 0~360 degree.
Specifically, signal energy in the corresponding predetermined angle of orientation angles and the omnidirectional signal energy can be passed through Amount, which is added and subtracts each other, respectively obtains sum signal energy and subtracted signal energy;Further according to sum signal energy and subtracted signal energy The size of amount can determine that sound source to be oriented is front or the reverse side in the first two-way acoustic-electrical transducer, so that it is determined that final side Parallactic angle degree.
In a wherein specific embodiment, sum signal energy is indicated with Sc1, and subtracted signal energy is indicated with Sc2;Then Sc1=Sa+S3;Sc2=Sa-S3.It, can according to sum signal energy and the size of subtracted signal energy and the range of predetermined angle With specifically determination wait the quadrant where orienting sound source.Finally, according to wait orient the quadrant where sound source, in conjunction with orientation angles can To determine that final bearing degree is equal to orientation angles or orientation angles plus or minus 180 degree.Its specific value is by sound to be oriented Quadrant where source determines.
Specifically, when -90 °<α<0 °, if Sc1>Sc2, sound source to be oriented is in fourth quadrant;If Sc1 < Sc2, to Sound source is oriented in the second quadrant.When 0 °<α<90 °, if Sc1>Sc2, sound source to be oriented is in first quartile;If Sc1 < Sc2, to Sound source is oriented in third quadrant.
As shown in fig. 7, the present invention also provides devices corresponding with above sound orientation method.A kind of sound directing device, Include:
Two-way signaling obtains module 710, for obtaining the first two-way acoustic-electrical transducer, the second two-way acoustic-electrical transducer respectively The voice signal of acquisition issued by sound source to be oriented, and it is denoted as the first voice signal and second sound signal respectively;
Included angle obtains module 730, for obtaining the described first two-way acoustic-electrical transducer and the described second two-way acoustic-electric Included angle between energy converter;
Angular energy determining module 750, for according to first voice signal, the second sound signal, the folder Angle angle and linear function is determined by the predetermined angle that preset interval is arranged, and determined according to the linear function with described first The signal energy that straight line where two-way acoustic-electrical transducer exports when rotating each predetermined angle as reference line;
Orientation angles determining module 770, it is described undetermined for being determined according to the signal energy in each predetermined angle To the orientation angles where sound source.
Above sound orienting device, due to only needing to obtain the first two-way acoustic-electrical transducer respectively, the second two-way acoustic-electric changes The voice signal of energy device acquisition issued by sound source to be oriented, and it is denoted as the first voice signal and second sound signal respectively;It obtains Take the included angle between the described first two-way acoustic-electrical transducer and the second two-way acoustic-electrical transducer;Further according to described first Voice signal, the second sound signal, the included angle and by preset interval be arranged predetermined angle determine linear function, And determine that rotation is each using the straight line where the described first two-way acoustic-electrical transducer as reference line according to the linear function The signal energy exported when the predetermined angle;Finally, according to the signal energy in each predetermined angle determine it is described to Orient the orientation angles where sound source.Compared to conventional method or device, without the device without more traditional omnidirectional's sound The mode of the linear array of electric transducer, L row array and square array is positioned, and is calculated without a large amount of, calculation amount It is small;And the length or volume of the device are smaller.
Please referring to Fig. 8, the angular energy determining module includes: in one of the embodiments,
Predetermined angle acquiring unit 851, for obtaining the predetermined angle being arranged according to preset interval, the predetermined angle is The angle rotated using the straight line where the described first two-way acoustic-electrical transducer as reference line;
Linear coefficient determination unit 853, for according to the predetermined angle and the included angle determine respectively with it is described The corresponding linear coefficient of predetermined angle;
Bidirectional energy computing unit 855, it is right respectively for calculating first voice signal and the second sound signal The energy size answered is denoted as the first signal energy and second signal energy respectively;
Linear function determination unit 857, for according to the linear coefficient and first signal energy, second letter Number energy determines the linear function corresponding with the predetermined angle respectively;
Signal energy determination unit 859, for determining the signal energy in the predetermined angle according to the linear function.
Please participating in Fig. 9, the orientation angles determining module includes: in one of the embodiments,
Ceiling capacity acquiring unit 971, for obtaining the maximum value in the signal energy in each predetermined angle;
Signal ratio determination unit 973, for according to the signal energy and the maximum value in each predetermined angle Determine signal ratio;
Orientation angles determination unit 975, for determining the orientation wait orient where sound source according to the signal ratio Angle.
The orientation angles determination unit in one of the embodiments, comprising:
Minimum value subunit, for when the signal ratio minimum, determining that the orientation angles are the signal ratio It is worth corresponding predetermined angle plus 90 degree;Alternatively,
Preset threshold subunit, for determining that the orientation angles are when the signal ratio is equal to preset threshold The corresponding threshold angle of the preset threshold is added or subtracted to the corresponding predetermined angle of the signal ratio plus 90 degree.
Please continue to refer to Fig. 7, in one of the embodiments, further include:
Orientation energy harvesting module 780, for obtaining the signal energy in the corresponding predetermined angle of the orientation angles Amount;
Omnidirectional's energy harvesting module 790, for obtaining omnidirectional signal energy, the omnidirectional signal energy is that omnidirectional's acoustic-electric changes The corresponding energy size of voice signal of energy device acquisition;Omnidirectional's acoustic-electrical transducer and two two-way acoustic-electrical transducers Intersection point is overlapped;
Final orientation determining module 7A0, for according to the signal energy in the corresponding predetermined angle of the orientation angles Amount and the omnidirectional signal energy determine the final bearing degree of the sound source to be oriented.
Since above sound orienting device is corresponding with sound orientation method, to save length, therefore specific embodiment is no longer It repeats.

Claims (10)

1. a kind of sound orientation method characterized by comprising
The sound of the first two-way acoustic-electrical transducer, the second two-way acoustic-electrical transducer acquisition issued by sound source to be oriented is obtained respectively Signal, and it is denoted as the first voice signal and second sound signal respectively;
Obtain the included angle between the described first two-way acoustic-electrical transducer and the second two-way acoustic-electrical transducer;
According to first voice signal, the second sound signal, the included angle and presetting by preset interval setting Angle determines linear function, and according to the linear function determine using the straight line where the described first two-way acoustic-electrical transducer as Reference line rotates the signal energy exported when each predetermined angle;
The orientation angles wait orient where sound source are determined according to the signal energy in each predetermined angle.
2. sound orientation method according to claim 1, which is characterized in that described according to first voice signal, institute It states second sound signal, the included angle and determines linear function by the predetermined angle that preset interval is arranged, and according to described Linear function, which is determined, rotates each preset angle using the straight line where the described first two-way acoustic-electrical transducer as reference line The step of signal energy exported when spending, comprising:
The predetermined angle being arranged according to preset interval is obtained, the predetermined angle is where the described first two-way acoustic-electrical transducer The angle that is rotated as reference line of straight line;
Linear coefficient corresponding with the predetermined angle respectively is determined according to the predetermined angle and the included angle;
First voice signal and the corresponding energy size of the second sound signal are calculated, is denoted as the first signal respectively Energy and second signal energy;
According to the linear coefficient and first signal energy, the second signal energy determine respectively with the predetermined angle The corresponding linear function;
The signal energy in the predetermined angle is determined according to the linear function.
3. sound orientation method according to claim 1, which is characterized in that described according in each predetermined angle Signal energy determine it is described wait orient the orientation angles where sound source the step of include:
Obtain the maximum value in the signal energy in each predetermined angle;
Signal ratio is determined with the maximum value according to the signal energy in each predetermined angle;
The orientation angles wait orient where sound source are determined according to the signal ratio.
4. sound orientation method according to claim 3, which is characterized in that described according to signal ratio determination Wait the step of orienting the orientation angles where sound source, comprising:
When the signal ratio minimum, determine that the orientation angles are the corresponding predetermined angle of the signal ratio plus 90 Degree;Alternatively,
When the signal ratio is equal to preset threshold, determine that the orientation angles are the corresponding predetermined angle of the signal ratio In addition 90 degree are added or subtracted the corresponding threshold angle of the preset threshold, or determine that the orientation angles are each be equal in advance If the corresponding threshold value of the preset threshold is added or subtracted to the corresponding predetermined angle of the signal ratio of threshold value plus 90 degree The average value of angle.
5. sound orientation method according to claim 1, which is characterized in that described according in each predetermined angle Signal energy determine it is described wait orient the orientation angles where sound source the step of after, further includes:
Obtain the signal energy in the corresponding predetermined angle of the orientation angles;
Omnidirectional signal energy is obtained, the omnidirectional signal energy is the corresponding energy of voice signal of omnidirectional's acoustic-electrical transducer acquisition Size;Omnidirectional's acoustic-electrical transducer is overlapped with the intersection point of two two-way acoustic-electrical transducers;
According in the corresponding predetermined angle of the orientation angles signal energy and the omnidirectional signal energy, determine described in The final bearing degree of sound source to be oriented.
6. a kind of sound directing device characterized by comprising
Two-way signaling obtains module, and for obtaining the first two-way acoustic-electrical transducer respectively, the second two-way acoustic-electrical transducer acquires The voice signal issued by sound source to be oriented, and it is denoted as the first voice signal and second sound signal respectively;
Included angle obtains module, for obtain the described first two-way acoustic-electrical transducer and the described second two-way acoustic-electrical transducer it Between included angle;
Angular energy determining module, for according to first voice signal, the second sound signal, the included angle and Linear function is determined by the predetermined angle that preset interval is arranged, and is determined according to the linear function with the described first two-way acoustic-electric The signal energy that straight line where energy converter exports when rotating each predetermined angle as reference line;
Orientation angles determining module, for determining the sound source institute to be oriented according to the signal energy in each predetermined angle Orientation angles.
7. sound directing device according to claim 6, which is characterized in that the angular energy determining module, comprising:
Predetermined angle acquiring unit, for obtaining the predetermined angle being arranged according to preset interval, the predetermined angle is with described The angle that straight line where first two-way acoustic-electrical transducer is rotated as reference line;
Linear coefficient determination unit, for according to the predetermined angle and the included angle determine respectively with the predetermined angle Corresponding linear coefficient;
Bidirectional energy computing unit, for calculating first voice signal and the corresponding energy of the second sound signal Size is denoted as the first signal energy and second signal energy respectively;
Linear function determination unit, for according to the linear coefficient and first signal energy, the second signal energy Determine the linear function corresponding with the predetermined angle respectively;
Signal energy determination unit, for determining the signal energy in the predetermined angle according to the linear function.
8. sound directing device according to claim 6, which is characterized in that the orientation angles determining module includes:
Ceiling capacity acquiring unit, for obtaining the maximum value in the signal energy in each predetermined angle;
Signal ratio determination unit, for determining signal with the maximum value according to the signal energy in each predetermined angle Ratio;
Orientation angles determination unit, for determining the orientation angles wait orient where sound source according to the signal ratio.
9. sound directing device according to claim 8, which is characterized in that the orientation angles determination unit, comprising:
Minimum value subunit, for when the signal ratio minimum, determining that the orientation angles are the signal ratio pair The predetermined angle answered adds 90 degree;Alternatively,
Preset threshold subunit, for determining that the orientation angles are described when the signal ratio is equal to preset threshold The corresponding threshold angle of the preset threshold is added or subtracted to the corresponding predetermined angle of signal ratio plus 90 degree, or determines institute Stating orientation angles is that each corresponding predetermined angle of the signal ratio equal to preset threshold is added or subtracted plus 90 degree The average value of the corresponding threshold angle of the preset threshold.
10. sound directing device according to claim 6, which is characterized in that further include:
Orientation energy harvesting module, for obtaining the signal energy in the corresponding predetermined angle of the orientation angles;
Omnidirectional's energy harvesting module, for obtaining omnidirectional signal energy, the omnidirectional signal energy is that omnidirectional's acoustic-electrical transducer is adopted The corresponding energy size of the voice signal of collection;The intersection point weight of omnidirectional's acoustic-electrical transducer and two two-way acoustic-electrical transducers It closes;
Final orientation determining module, for according in the corresponding predetermined angle of the orientation angles signal energy with it is described Omnidirectional signal energy determines the final bearing degree of the sound source to be oriented.
CN201610357472.1A 2016-05-25 2016-05-25 Sound orientation method and device Active CN106093848B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610357472.1A CN106093848B (en) 2016-05-25 2016-05-25 Sound orientation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610357472.1A CN106093848B (en) 2016-05-25 2016-05-25 Sound orientation method and device

Publications (2)

Publication Number Publication Date
CN106093848A CN106093848A (en) 2016-11-09
CN106093848B true CN106093848B (en) 2019-01-11

Family

ID=57230967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610357472.1A Active CN106093848B (en) 2016-05-25 2016-05-25 Sound orientation method and device

Country Status (1)

Country Link
CN (1) CN106093848B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107957571B (en) * 2017-10-09 2021-09-10 中国南方电网有限责任公司调峰调频发电公司 Hydrophone direction finding method and device, computer readable storage medium and computer equipment
CN108490384A (en) 2018-03-30 2018-09-04 深圳海岸语音技术有限公司 A kind of small space sound bearing detection device and its method
CN108860158B (en) * 2018-07-27 2021-08-24 平安科技(深圳)有限公司 Vehicle and vehicle insurance fraud prevention early warning and storage medium
CN109903753B (en) * 2018-12-28 2022-07-15 广州索答信息科技有限公司 Multi-person sentence classification method, equipment, medium and system based on sound source angle
CN112462323A (en) * 2020-11-24 2021-03-09 嘉楠明芯(北京)科技有限公司 Signal orientation method and device and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102257401A (en) * 2008-12-16 2011-11-23 皇家飞利浦电子股份有限公司 Estimating a sound source location using particle filtering
CN102804809A (en) * 2010-02-23 2012-11-28 皇家飞利浦电子股份有限公司 Audio source localization
CN105353340A (en) * 2015-10-27 2016-02-24 哈尔滨工程大学 Double-layer cylindrical array underwater passive target detection method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102257401A (en) * 2008-12-16 2011-11-23 皇家飞利浦电子股份有限公司 Estimating a sound source location using particle filtering
CN102804809A (en) * 2010-02-23 2012-11-28 皇家飞利浦电子股份有限公司 Audio source localization
US20130128701A1 (en) * 2010-02-23 2013-05-23 Koninklijke Philips Electronics N.V. Audio source localization
CN105353340A (en) * 2015-10-27 2016-02-24 哈尔滨工程大学 Double-layer cylindrical array underwater passive target detection method

Also Published As

Publication number Publication date
CN106093848A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
CN106093848B (en) Sound orientation method and device
US10366702B2 (en) Direction detection device for acquiring and processing audible input
CN104284291B (en) The earphone dynamic virtual playback method of 5.1 path surround sounds and realize device
CN106125048A (en) A kind of sound localization method and device
US20120026837A1 (en) Sound direction detection
Handzel et al. Biomimetic sound-source localization
EP2786375B1 (en) Real-time quality monitoring of speech and audio signals in noisy reverberant environments for teleconferencing systems
US10229667B2 (en) Multi-directional beamforming device for acquiring and processing audible input
US10306361B2 (en) Direction detection device for acquiring and processing audible input
CN109669158A (en) A kind of sound localization method, system, computer equipment and storage medium
CN106597379A (en) Planar sound source location method based on composite algorithm
WO2019214216A1 (en) Smart multimedia device and display method thereof
US9930462B2 (en) System and method for on-site microphone calibration
He et al. Closed-form DOA estimation using first-order differential microphone arrays via joint temporal-spectral-spatial processing
CN206114888U (en) Pronunciation sound source goniometer system
CN106303810B (en) Sound source direction judgment device and method based on directional sound sensor
CN110620836B (en) Mobile phone hearing positioning method
Handzel et al. A biomimetic apparatus for sound-source localization
CN109309888A (en) Voice information processing method, playback equipment and computer readable storage medium
CN204649957U (en) Portable sound source locating device
Ferreira et al. Implementation and calibration of a Bayesian binaural system for 3D localisation
Chen et al. A sound source localization device based on rectangular pyramid structure for mobile robot
CN109856598B (en) Ultra-short baseline positioning system and method
Jin et al. Real-time Sound Localization Using Generalized Cross Correlation Based on 0.13㎛ CMOS Process
CN207232386U (en) A kind of microphone array arrangement for auditory localization

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant