CN104569956B - A kind of distance measuring method and equipment - Google Patents

A kind of distance measuring method and equipment Download PDF

Info

Publication number
CN104569956B
CN104569956B CN201310476499.9A CN201310476499A CN104569956B CN 104569956 B CN104569956 B CN 104569956B CN 201310476499 A CN201310476499 A CN 201310476499A CN 104569956 B CN104569956 B CN 104569956B
Authority
CN
China
Prior art keywords
voice signal
spl
distance
sound
module
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
CN201310476499.9A
Other languages
Chinese (zh)
Other versions
CN104569956A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201310476499.9A priority Critical patent/CN104569956B/en
Publication of CN104569956A publication Critical patent/CN104569956A/en
Application granted granted Critical
Publication of CN104569956B publication Critical patent/CN104569956B/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
    • G01S15/00Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems
    • G01S15/74Systems using reradiation of acoustic waves, e.g. IFF, i.e. identification of friend or foe
    • 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
    • G01S11/00Systems for determining distance or velocity not using reflection or reradiation
    • G01S11/14Systems for determining distance or velocity not using reflection or reradiation using ultrasonic, sonic, or infrasonic waves
    • 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
    • G01S15/00Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems
    • G01S15/02Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems using reflection of acoustic waves
    • G01S15/06Systems determining the position data of a target
    • G01S15/08Systems for measuring distance only

Abstract

The invention discloses a kind of distance measuring method and equipment.Wherein distance measuring method of the invention includes:Main method, apparatus of surveying receives the voice signal for being used for ranging;The main space propagation distance surveyed method, apparatus and the voice signal of the voice signal is drawn according to the voice signal received, the space propagation of the voice signal of the voice signal survey method, apparatus with being tested the distance between side based on;The distance measuring method and equipment of the present invention can improve the experience of user using voice signal come ranging.

Description

A kind of distance measuring method and equipment
Technical field
The present invention relates to sound signal processing field, more particularly to a kind of distance measuring method and equipment.
Background technology
Traditional ranging (measurement space distance) equipment is mainly special laser range finder, its high certainty of measurement, is used Environment influence is small, but this kind of functions of the equipments are single, miniaturization difficult, and power hungry is, it is necessary to use dedicated laser generator And receiver, overall plan transplant difficulty to terminal device, of high cost, application prospect is small.
All the time, intelligent terminal is to provide more more easily functions to the user and humanized be designed as Theory, from integrated camera function, to introduce temperature, optics, temperature, gyroscope, the sensor such as the gentle pressure meter of magnetic acceleration, it is real The detection of existing various environmental variances and notice, the strong influence generated to user using the custom of equipment, while also expedite the emergence of Go out the application that large quantities of relevant informations collected using these devices are reprocessed, brought for terminal user many fresh With the user experience of stimulation, the fields of terminal applies is enriched.But do not have ranging work(in existing intelligent terminal Can, thus be badly in need of now it is a kind of using intelligent terminal come the technical solution of ranging, to improve the experience of user.
The content of the invention
The main technical problem to be solved in the present invention is to provide a kind of distance measuring method and equipment, can utilize voice signal Ranging, improves user experience.
In order to solve the above technical problems, the present invention provides a kind of distance measuring method, comprise the following steps:
Main method, apparatus of surveying receives the voice signal for being used for ranging;
The main space propagation distance surveyed method, apparatus and the voice signal is drawn according to the voice signal received, Method, apparatus is surveyed with being tested the distance between side based on the space propagation distance of the voice signal.
Further, the voice signal for ranging includes:The sound letter that the loudness that tested method, apparatus plays determines Number;
The main step surveyed method, apparatus and the space propagation distance of the voice signal is drawn according to the voice signal received Suddenly include:
The main acoustic pressure SPL for surveying the voice signal that method, apparatus measurement receives
The loudness parameter that tested method, apparatus plays voice signal is obtained, according to the loudness parameter in S (d, SPL) set of curves In find out corresponding S (d, SPL) curve, wherein d is the space propagation distance of voice signal;
The space propagation distance of the corresponding voice signal is matched on the curve according to the acoustic pressure SPL;
S (d, the SPL) curve is the space propagation attenuation characteristic curve of voice signal, and the transverse axis of the curve is believed for sound Number space propagation distance d, the acoustic pressure SPL of the received voice signal of method, apparatus, S (d, the SPL) set of curves are surveyed based on the longitudinal axis It is polymerized by S (d, SPL) curve of muli-sounds loudness.
Further, the voice signal for ranging includes:The voice signal that tested side user repeatedly sends;
The main step surveyed method, apparatus and the space propagation distance of the voice signal is drawn according to the voice signal received Suddenly include:
The main acoustic pressure SPL for surveying method, apparatus and repeatedly measuring the voice signal received, obtains the acoustic pressure difference DELTA of voice signal SPL;
According to the acoustic pressure difference DELTA SPL in the corresponding S'(d of all sound intensities, Δ SPL, a) finds out institute in set of curves State Δ SPL corresponding acoustic space transmission attenuation curve S'(d, Δ SPL);Then according to the acoustic pressure difference DELTA SPL described Corresponding space propagation distance d is found out on the corresponding acoustic space transmission attenuation curves of Δ SPL;To the space propagation of all acquisitions Distance d carries out default data processing and finally obtains the main survey method, apparatus with being tested the distance between side;
The S'(d, Δ SPL, a) set of curves is the acoustic space transmission attenuation set of curves of sound intensity a, its transverse axis is sound Sound space propagation distance d, the longitudinal axis are the acoustic pressure difference DELTA SPL of voice signal, and the S'(d, Δ SPL, a) set of curves is by different Loudness decays to acoustic space transmission attenuation the curve S'(d, Δ SPL of loudness a) it is polymerized.
Further, the step of acoustic pressure SPL for the voice signal that the main survey method, apparatus measurement receives includes:
The voice signal that the loudness that the tested method, apparatus plays determines is converted to electric signal by the main method, apparatus of surveying Level value;
The main acoustic pressure SPL for surveying the voice signal that method, apparatus receives is obtained according to the level value.
Further, the step of main survey method, apparatus receives the voice signal for ranging includes:
The main echo path surveyed method, apparatus and determine energy maximum, receives the echo letter of the main survey side on the echo path Number;
The main step surveyed method, apparatus and the space propagation distance of the voice signal is drawn according to the voice signal received Suddenly include:
The main method, apparatus of surveying obtains the time parameter for receiving the echo signal;
The main environmental parameter for surveying method, apparatus detection voice transmission, sound transmission speed is matched according to the environmental parameter Degree;
The main survey method, apparatus calculates the voice signal according to the time parameter and the sound propagation velocity Space propagation distance.
For the purposes of solving above-mentioned technical problem, present invention also offers a kind of distance-measuring equipment, the distance-measuring equipment is made Based on survey method, apparatus, it includes:Receiving module and processing module;
The receiving module is used to receive the voice signal for ranging;
The voice signal that the processing module is used to be received according to the receiving module draws the sky of the voice signal Between transmission range, the distance between method, apparatus and tested side are surveyed based on the space propagation distance of the voice signal.
Further, the processing module includes:Parameter acquisition module, sound pressure measurement module and range finder module;
The sound pressure measurement module is used for the acoustic pressure SPL for measuring the voice signal received;
The parameter acquisition module is used to obtain the loudness parameter that tested method, apparatus plays voice signal;
The range finder module is used to obtain the loudness parameter that tested method, apparatus plays voice signal, according to the loudness parameter Corresponding S (d, SPL) curve is found out in S (d, SPL) set of curves, wherein d is space propagation distance, and according to the acoustic pressure SPL matches the space propagation distance of the corresponding voice signal on the curve;
S (d, the SPL) curve is the space propagation attenuation characteristic curve of voice signal, and the transverse axis of the curve passes for space Defeated distance d, the acoustic pressure SPL of the received voice signal of method, apparatus is surveyed based on the longitudinal axis, S (d, the SPL) set of curves is by muli-sounds S (d, SPL) curve of loudness is polymerized.
Preferentially, the voice signal that the sound pressure measurement module is used to determine the loudness that the tested method, apparatus plays turns It is changed to the level value of electric signal;The main acoustic pressure SPL for surveying the voice signal that method, apparatus receives is obtained according to the level value.
Further, the voice signal for ranging includes:The voice signal that tested side user repeatedly sends;
The processing module includes:Sound pressure measurement module and range finder module
The sound pressure measurement module is used for the acoustic pressure SPL for repeatedly measuring the voice signal received, and obtains voice signal Acoustic pressure difference DELTA SPL;
The range finder module is used for according to the acoustic pressure difference DELTA SPL in the corresponding S'(d of all sound intensities, Δ SPL, A) the Δ SPL corresponding acoustic space transmission attenuation curve S'(d, Δ SPL are found out in set of curves);Then according to the acoustic pressure Difference DELTA SPL finds out corresponding space propagation distance d on the corresponding acoustic space transmission attenuation curves of the Δ SPL;To institute The space propagation distance d for having acquisition carry out default data processing finally obtain it is described it is main survey between method, apparatus and tested side away from From;
The S'(d, Δ SPL, a) set of curves is the acoustic space transmission attenuation set of curves of sound intensity a, its transverse axis is sound Sound space propagation distance d, the longitudinal axis are the acoustic pressure difference DELTA SPL of voice signal, and the S'(d, Δ SPL, a) set of curves is by different Loudness decays to acoustic space transmission attenuation the curve S'(d, Δ SPL of loudness a) it is polymerized.
Further, the receiving module includes:Circuit determining module;The processing module includes:Time-obtaining module, Transmission speed matching module and computing module;
The circuit determining module is used for the echo path for determining energy maximum, and receives the main survey side on the echo path Echo signal;
The time-obtaining module is used to obtain the time parameter for receiving the echo signal;
The transmission speed matching module is used for the environmental parameter for detecting voice transmission, is matched according to the environmental parameter Sound propagation velocity;
The computing module is used to calculate the voice signal according to the time parameter and the sound propagation velocity Space propagation distance.
The beneficial effects of the invention are as follows:
The present invention provides a kind of distance measuring method and equipment can utilize voice signal ranging, improve user experience.This hair Bright distance measuring method includes:Main method, apparatus of surveying receives the voice signal for being used for ranging;The main method, apparatus of surveying is according to receiving The voice signal draws the space propagation distance of the voice signal of the voice signal, the voice signal of the voice signal Method, apparatus is surveyed based on space propagation distance with being tested the distance between side;The method of the present invention passes through according to the sound for being used for ranging Signal draws the i.e. main survey method, apparatus of the space propagation distance of the voice signal of the voice signal with being tested the distance between side, with biography System laser ranging is compared, and method of the invention is a brand-new distance measuring method, it can come with the sound interaction of tested side Into ranging, substitute using this expensive equipment of laser generator come ranging, cost can be reduced;In addition ranging side of the invention Method transplantability is high, such as can apply on mobile terminals, mobile terminal is possessed distance measurement function, improves user experience.Into When one step this method is applied on mobile terminals, it is only necessary to which the hardware and software resource carried using mobile terminal can be realized Ranging, the change to mobile terminal is less, and applicability is stronger.
Brief description of the drawings
Fig. 1 is a kind of flow diagram for distance measuring method that the embodiment of the present invention one provides;
Fig. 2 is that a kind of voice signal according to reception that the embodiment of the present invention one provides obtains the space propagation of voice signal The flow diagram of distance;
Fig. 3 is a kind of schematic diagram of S (d, SPL) set of curves that the embodiment of the present invention one provides;
Fig. 4 is the schematic diagram for the voice signal ranging that a kind of user that the embodiment of the present invention one provides is determined using loudness;
Fig. 5 is the flow for the voice signal ranging process that a kind of equipment that the embodiment of the present invention one provides is determined according to loudness Schematic diagram;
Fig. 6 is the schematic diagram that a kind of user that the embodiment of the present invention one provides passes through people's sound ranging;
Fig. 7 is a kind of flow diagram using people's sound ranging that the embodiment of the present invention one provides;
Fig. 8 be the embodiment of the present invention one provide a kind of S'(d, Δ SPL, 60dB) set of curves schematic diagram;
Fig. 9 be the embodiment of the present invention one provide a kind of S'(d, Δ SPL, 120dB) set of curves schematic diagram;
Figure 10 is the flow diagram for the equipment utilization echo ranging that the embodiment of the present invention one provides;
Figure 11 is the schematic diagram that a kind of user that the embodiment of the present invention one provides utilizes echo ranging;
Figure 12 is the structure diagram of the first test equipment provided by Embodiment 2 of the present invention;
Figure 13 is the structure diagram of second of test equipment provided by Embodiment 2 of the present invention;
Figure 14 is the structure diagram of the third test equipment provided by Embodiment 2 of the present invention;
Figure 15 is the structure diagram of the 4th kind of test equipment provided by Embodiment 2 of the present invention.
Embodiment
The present invention is described in further detail below by embodiment combination attached drawing.
Embodiment one:
As shown in Figure 1, present embodiments providing a kind of distance measuring method, comprise the following steps:
Step 101:Main method, apparatus of surveying receives the voice signal for being used for ranging;
Step 102:The main sound surveyed method, apparatus and the voice signal is drawn according to the voice signal received The space propagation distance of signal, the space propagation of the voice signal of the voice signal survey method, apparatus and tested side based on Between distance.
The method of the present invention draws the i.e. main survey of space propagation distance of the voice signal of the voice signal by voice signal Method, apparatus is with being tested the distance between side, and compared with conventional laser ranging, method of the invention is a brand-new distance measuring method, It can complete ranging with the sound interaction of tested side, substitute using this expensive equipment of laser generator come ranging, can To reduce cost;In addition distance measuring method transplantability of the invention is high, such as can apply on mobile terminals, has mobile terminal Standby distance measurement function, improves user experience.When further this method is applied on mobile terminals, it is only necessary to using mobile terminal certainly The hardware and software resource of band can realize ranging, and the change to mobile terminal is less, and applicability is stronger.
The distance measuring method of the present embodiment mainly includes three kinds of specific ranging schemes:
The first ranging scheme:
When the voice signal for ranging includes:The survey during voice signal that the loudness that tested method, apparatus plays determines Away from process, main survey method, apparatus show that the sound is believed according to the voice signal received described in above-mentioned steps 102 at this time Number the process of space propagation distance of voice signal include:
Step 1021:The main acoustic pressure SPL for surveying the voice signal that method, apparatus measurement receives.
The acoustic pressure SPL for the voice signal that the main survey side's measurement of the present embodiment receives can be measured in the following manner:It is described The main level value surveyed method, apparatus and the voice signal that the loudness that the tested method, apparatus plays determines is converted to electric signal;
The main acoustic pressure SPL for surveying the voice signal that method, apparatus receives is obtained according to the level value.
Step 1022:Obtain the loudness parameter that tested method, apparatus plays voice signal, according to the loudness parameter S (d, SPL corresponding S (d, SPL) curve) is found out in set of curves, wherein d is the space propagation distance of voice signal.
The mode that the present embodiment obtains the loudness parameter that tested method, apparatus plays voice signal can have a variety of, such as short message Notice etc..
Step 1023:The space propagation of the corresponding voice signal is matched on the curve according to the acoustic pressure SPL Distance.
S (d, SPL) curve is the space propagation attenuation characteristic curve of sound in the present embodiment, and the transverse axis of the curve is sound The space propagation distance d of signal, the acoustic pressure SPL of the received voice signal of method, apparatus, S (d, the SPL) curve are surveyed based on the longitudinal axis Cluster is polymerized by S (d, SPL) curve of muli-sounds loudness.
The level value that the voice signal received is switched to electric signal in the present embodiment can be realized by electro-acoustic element, different Electro-acoustic element transformational relation it is different, it is necessary to demarcated by acoustics, the correspondence of this SPL and v can be obtained, we Represented with transfer function V (S).Can also small electrical signals be done with some analog- and digital- conversion after electric signal is converted to, Obtain more accurately measuring level value v.
Equally can also be by transfer function V (S) when obtaining the acoustic pressure SPL of the voice signal received according to level value To obtain.
S (d, SPL) set of curves of sound is the space propagation attenuation characteristic curve cluster of sound in the present embodiment, it is defined For:
In acoustics, we are with the sound size heard of acoustic pressure SPL characterizations, the loudness and transmission of the size of acoustic pressure by sound source Distance determines, the space propagation attenuation characteristic curve of a kind of specific functional relation, i.e. sound is showed between their threes, this The transverse axis of a curve is the space propagation distance d of voice signal, and the longitudinal axis is the acoustic pressure SPL values that receiving terminal obtains, each is different Source of sound/sound source loudness can all there is a specific curve to represent this attenuation relation, by these collection of curves together, shape Into space propagation attenuation characteristic curve cluster, a kind of into space propagation attenuation characteristic curve cluster of the present embodiment is illustrated in figure 3, this The generation of cluster curve needs acoustics special equipment to measure, and specific information is stored in equipment using control tableau format It is interior.
It can also include in this ranging scheme:The main environmental parameter for surveying method, apparatus detection voice transmission, according to the ring Border parameter compensates described S (d, SPL) curve in S (d, SPL) set of curves;S (d, the SPL) curve is through overcompensation S (d, SPL) curve afterwards.
Such as it is main survey termination set to or need what user selected a series of to adopt real time environment variable.They include air Pressure Pa, humidity W, height above sea level H, temperature T, and geographical environment gain coefficient G and urban architecture density loss factor D.Often introduce As soon as a parameter, has corresponding coefficient and is attached on space propagation attenuation characteristic curve S (d, SPL), the tool of this partial parameters Body information is also required to acoustics special equipment and measures, and revised parameter is stored in terminal by control tableau format. The space propagation distance d of more accurate voice signal is obtained by S (d, SPL) curve after compensation.
The first ranging scheme is described in detail below, as shown in Figures 4 and 5:
Step 501:User 402 plays the audio files that selected loudness parameter determines using equipment 402a, and by the loudness Parameter is sent to the equipment 401a of user 401;
Step 502:The equipment 401a of user 401 is connected to the voice signal and loudness parameter of specific audio files, and detects Voice transmission environmental parameter, using detecting that S (d, SPL) set of curves that environmental parameter stores equipment 401a compensates;
Environmental parameter can include:Atmospheric pressure Pa, humidity W, height above sea level H, temperature T, and geographical environment gain coefficient G and Urban architecture density loss factor D;
Step 503:The voice signal being connected to is switched to the level value v of electric signal by equipment 401a;
Step 504:The voice signal SPL values received at equipment are conversed by V (S) function;
The correspondence of V (S) function representation SPL and level value v;
Step 505:Equipment 401a in S (d, SPL) set of curves after compensation of loudness parameter according to finding out and the loudness is joined Corresponding S (d, the SPL) curves of number, according to voice signal SPL values the curve find out the space propagation of corresponding voice signal away from From.
By step 501-505 can between the equipment 401a of user 401 and the equipment 402a of user 402 distance, this reality Applying the ranging scheme of example can also take multiple measurements, and obtain the space propagation distance of multiple voice signals, then take multiple sound The space propagation distance of sound signal carries out calculation process and obtains the space propagation distance d of more accurate voice signal.
Second of ranging scheme:
When the voice signal for ranging includes:During the voice signal that tested side user sends, it is more to be tested side user It is secondary to make a sound signal;Received as shown in fig. 6, user 402 makes a sound signal by the equipment 401a of user 401;In this scene Described in middle above-mentioned steps 102 it is main survey method, apparatus according to the voice signal received draw the space propagation of the voice signal away from From process can include:
The main acoustic pressure SPL for surveying method, apparatus and repeatedly measuring the voice signal received, obtains the acoustic pressure difference DELTA of voice signal SPL;
According to the acoustic pressure difference DELTA SPL in the corresponding S'(d of all sound intensities, Δ SPL, a) finds out institute in set of curves State Δ SPL corresponding acoustic space transmission attenuation curve S'(d, Δ SPL);Then according to the acoustic pressure difference DELTA SPL described Corresponding space propagation distance d is found out on the corresponding acoustic space transmission attenuation curves of Δ SPL;To the space propagation of all acquisitions Distance d carries out the space propagation distance that default data processing finally obtains the sound that the tested side user sends;
S'(d, Δ SPL, a) set of curves is the acoustic space transmission attenuation set of curves of sound intensity a, its transverse axis is empty for sound Between transmission range, the longitudinal axis be voice signal acoustic pressure difference DELTA SPL, the S'(d, Δ SPL, a) set of curves is by different loudness The acoustic space transmission attenuation curve for decaying to loudness a is polymerized.
The main acoustic pressure SPL for surveying the voice signal that method, apparatus measurement receives can be surveyed in the following manner in the present embodiment Amount:
The main level value surveyed method, apparatus and the voice signal received is converted to electric signal;
The acoustic pressure SPL for the voice signal that the main survey method, apparatus receives is obtained according to the level value, such as can be led to Cross V (S) function and converse the voice signal SPL values received at equipment.
Second of ranging scheme of the present embodiment is discussed in detail below by an example:
Step 701:Tested side user continuously sends sound twice.
Step 702:Main survey method, apparatus measures the acoustic pressure SPL of the voice signal received twice, and calculates and measure twice Acoustic pressure SPL difference, i.e. voice signal acoustic pressure difference DELTA SPL.
The acoustic pressure SPL of each voice signal is measured by above-mentioned level conversion, then acoustic pressure SPL will subtract each other and take definitely twice It is worth to the acoustic pressure difference DELTA SPL of voice signal.
Acoustic pressure difference of the present embodiment between voice signal twice introduces second of ranging scheme, in other application field Scape, when tested square user's contact sends N (N >=2) secondary sound, main survey method, apparatus can repeatedly measure acoustic pressure SPL, calculate institute Possible acoustic pressure difference DELTA SPL, carries out data processing to acoustic pressure difference DELTA SPL and chooses a most suitably used acoustic pressure difference DELTA SPL, to accurately calculate acoustic space transmission range, such as can weight all acoustic pressure difference DELTA SPL and average.
Step 703:According to the acoustic pressure difference DELTA SPL in the corresponding S'(d of all loudness, Δ SPL, a) is looked in set of curves Go out the Δ SPL corresponding acoustic space transmission attenuation curve S'(d, Δ SPL);Then existed according to the acoustic pressure difference DELTA SPL Corresponding space propagation distance d is found out on the corresponding acoustic space transmission attenuation curve of the Δ SPL.
For example, being illustrated in figure 8 the S'(d, Δ SPL, 60dB that loudness is 60dB) set of curves, it is illustrated in figure 9, is loudness For the S'(d of 120dB, Δ SPL, 120dB) set of curves;When main survey method, apparatus calculates sound difference DELTA SPL=1dB, in Fig. 8 The corresponding space propagation attenuation curves of Δ SPL=1dB, the i.e. curve of Δ 1SPL are found out in shown set of curves, then according to Δ SPL =1dB finds out corresponding space propagation distance d1 on the curve of Δ 1SPL;Δ SPL=1dB is found out in set of curves shown in Fig. 9 Corresponding space propagation attenuation curve, i.e. Δ 1SPL curves, then find out phase according to Δ SPL=1dB on the curve of Δ 1SPL The space propagation distance d2 answered;Certain the present embodiment is S'(d, the Δ SPL that two kinds of loudness is stored in main survey method, apparatus, A) set of curves, in order to more accurately measure space propagation distance, the present embodiment can prestore the S' of a variety of loudness (d, Δ SPL, a) set of curves, such as 60dB to 120dB can be pre-set, totally 61 set of curves.
Such as S'(d in Fig. 8, Δ SPL, 60dB) set of curves be by different loudness parameters decay to 60dB attenuation curve polymerize Form, wherein Δ 1SPL curves are that loudness is space propagation attenuation curve of the 61dB sound attenuatings to 60dB, and Δ 2SPL curves are Loudness is 62dB sound attenuatings to the space propagation attenuation curve of 60dB, other Δs nSPL (n>1, be positive integer) and so on. Similarly Δ 1SPL curves are that loudness is space propagation attenuation curve of the 121dB sound attenuatings to 120dB in Fig. 9.
Step 704:Space propagation distance progress data processing to all acquisitions finally obtains tested side user's hair The space propagation distance d of the sound gone out;I.e. main survey method, apparatus is with being tested the distance between side.
For example, after d1 and d2 is obtained, d can be calculated by the way of averaging, or some can also be obtained Reference quantity screens d1 and d2, either screened according to the selection of user or other skilled in the art in order to Obtain precise information pass through frequently with data processing method.
The S'(d of different loudness in the present embodiment, Δ SPL, a) set of curves can pass through experiment survey calculation obtain.
It can also include in second of ranging scheme:The main environmental parameter for surveying method, apparatus detection voice transmission, according to institute Environmental parameter is stated to S'(d, Δ SPL, a) set of curves compensates.
The third ranging scheme:
When main survey method, apparatus receives the echo signal of the side of survey based on the voice signal for ranging, main survey side in the present embodiment Echo signal can be surveyed based on method, apparatus play audio file echo signal, or based on the side of surveying user make a sound time Acoustical signal.As shown in Figure 10, which mainly includes procedure below:
Step 1001:The main echo path surveyed method, apparatus and determine energy maximum, receives the main survey on the echo path The echo signal of side;
Step 1002:The main method, apparatus of surveying obtains the time parameter for receiving the echo signal;
Step 1003:The main environmental parameter for surveying method, apparatus detection voice transmission, matches according to the environmental parameter Sound propagation velocity;
Step 1004:The main survey method, apparatus calculates the sound according to the time parameter and the sound propagation velocity The space propagation distance of sound signal.
The third ranging scheme of the present embodiment is mainly to carry out ranging by the echo signal of main survey side, is not having other Equipment is sent under the test condition of source of sound/sound source, and using echo principle, user oneself sends the sound or user equipment sends sound Sound, record receive the Echo-delay Delay of echo, and terminal synchronously obtains relating environment values information, such as height above sea level H, humidity W The parameter of sound propagation velocity, selection and the matched sound propagation velocity VAIR of surrounding environment can be influenced with temperature T etc., can be obtained To the distance of sound transmission, the space propagation distance of voice signal can be obtained after calculating.In this scenario, it is to close to orient echo selection Key algorithm, to exclude the reflection path on other directions or the echo of diffraction path generation, as shown in figure 11.It is well known that The propagation of sound is omni-directional, but energy is unevenly distributed, and is calculated with reference to more MIC orientation analysis using this principle Method, it is possible to accurately find very much ceiling capacity echo direction, i.e., user just facing to normal direction, the behaviour for completing orientation Make.
The distance measuring method of the present embodiment can carry out ranging using voice signal, have the characteristics of transplanting is easy, and cost is low. The distance measuring method of the present embodiment can be applied in mobile terminal or other equipment, so transplanting is easy;The survey of the present embodiment Away from method existing audio parts can be utilized to gather, the acoustic pressure parameter of processing sound, be aided with miscellaneous equipment (including but not limited to By heat, optics, temperature, gyroscope, the sensor such as the gentle pressure meter of magnetic acceleration collect) environmental parameter that collects carries out Compensation, completes the total solution of distance measurement function, and distance measurement function can be provided for terminal user and measures certain acoustic parameter Utility function;So cost is low, and the experience of user can be improved.
Embodiment two:
As shown in figure 12, a kind of distance-measuring equipment is present embodiments provided, as main survey method, apparatus, it is wrapped the distance-measuring equipment Include:Receiving module and processing module;
The receiving module is used to receive the voice signal for ranging;
The voice signal that the processing module is used to be received according to the receiving module draws the sky of the voice signal Between transmission range, the distance between method, apparatus and tested side are surveyed based on the space propagation distance of the voice signal.
The distance-measuring equipment of the present embodiment can carry out ranging using voice signal, compared with conventional laser distance-measuring equipment, this Invention distance-measuring equipment can complete ranging with the sound interaction of tested side, and substitution utilizes this expensive equipment of laser generator Carry out ranging, cost can be reduced;In addition distance-measuring equipment of the invention can be mobile terminal, and mobile terminal possesses ranging work(at this time Can, improve user experience.Further when test equipment is mobile terminal, it is only necessary to the hardware that is carried using mobile terminal and Software resource can realize ranging, and the change to mobile terminal is less, and applicability is stronger.
Preferably, as shown in figure 13, the processing module includes:Parameter acquisition module, sound pressure measurement module and ranging mould Block;
The voice signal for ranging includes:The voice signal that the loudness that tested method, apparatus plays determines;
The sound pressure measurement module is used for the acoustic pressure SPL for measuring the voice signal received;
The parameter acquisition module is used to obtain the loudness parameter that tested method, apparatus plays voice signal;
The range finder module is used to obtain the loudness parameter that tested method, apparatus plays voice signal, according to the loudness parameter Corresponding S (d, SPL) curve is found out in S (d, SPL) set of curves, wherein d is space propagation distance, and according to the acoustic pressure SPL matches the space propagation distance of the corresponding voice signal on the curve;
S (d, the SPL) curve is the space propagation attenuation characteristic curve of voice signal, and the transverse axis of the curve passes for space Defeated distance d, the acoustic pressure SPL of the received voice signal of method, apparatus is surveyed based on the longitudinal axis, S (d, the SPL) set of curves is by muli-sounds S (d, SPL) curve of loudness is polymerized.
Preferably, the voice signal that the sound pressure measurement module is used to determine the loudness that the tested method, apparatus plays turns It is changed to the level value of electric signal;The main acoustic pressure SPL for surveying the voice signal that method, apparatus receives is obtained according to the level value.
Preferably, the voice signal for ranging includes:The voice signal that tested side user repeatedly sends;The place Reason module includes:Sound pressure measurement module and range finder module;The structure of distance-measuring equipment with reference to shown in figure 13.
The sound pressure measurement module is used for the acoustic pressure SPL for repeatedly measuring the voice signal received, and obtains voice signal Acoustic pressure difference DELTA SPL;
The range finder module is used for according to the acoustic pressure difference DELTA SPL in the corresponding S'(d of all sound intensities, Δ SPL, A) the Δ SPL corresponding acoustic space transmission attenuation curve S'(d, Δ SPL are found out in set of curves);Then according to the acoustic pressure Difference DELTA SPL finds out corresponding space propagation distance d on the corresponding acoustic space transmission attenuation curves of the Δ SPL;To institute The space propagation distance d for having acquisition carry out default data processing finally obtain it is described it is main survey between method, apparatus and tested side away from From;
The S'(d, Δ SPL, a) set of curves is the acoustic space transmission attenuation set of curves of sound intensity a, its transverse axis is sound Sound space propagation distance d, the longitudinal axis are the acoustic pressure difference DELTA SPL of voice signal, and the S'(d, Δ SPL, a) set of curves is by different Loudness decays to acoustic space transmission attenuation the curve S'(d, Δ SPL of loudness a) it is polymerized.
Preferably, as shown in figure 14, the distance-measuring equipment shown in Figure 13 can also include:Detection module;
The detection module is used for the environmental parameter for detecting voice transmission;
The range finder module is additionally operable to bent to the S (d, SPL) in S (d, SPL) set of curves according to the environmental parameter Line compensates;
S (d, the SPL) curve is S (d, SPL) curve after overcompensation.
Distance-measuring equipment shown in Figure 14 can adaptive environment change ranging, it can more accurately set in measurement distance, test For when according to tested square user voice signal ranging, detection module detection environmental parameter, ranging mould can also be equally further included Root tuber carries out curve compensation according to environmental parameter.
Preferably, as shown in figure 15, on the basis of the distance-measuring equipment shown in Figure 12, the receiving module includes:Circuit Determining module;The processing module includes:Time-obtaining module, transmission speed matching module and computing module;
The circuit determining module is used for the echo path for determining energy maximum, and receives the main survey side on the echo path Echo signal;
The time-obtaining module is used to obtain the time parameter for receiving the echo signal;
The transmission speed matching module is used for the environmental parameter for detecting voice transmission, is matched according to the environmental parameter Sound propagation velocity;
The computing module is used to calculate the voice signal according to the time parameter and the sound propagation velocity Space propagation distance.
The distance-measuring equipment of the present embodiment can carry out ranging using voice signal, have the characteristics of highly practical, cost is low. When the distance-measuring equipment of the present embodiment is mobile terminal, existing audio parts collection in mobile terminal can be utilized, handle sound Acoustic pressure parameter, be aided with miscellaneous equipment (including but not limited to by heat, optics, temperature, gyroscope, magnetic acceleration it is gentle pressure count Being collected Deng sensor) environmental parameter that collects compensates, completes the total solution of distance measurement function, can be terminal User provides distance measurement function and measures the utility function of certain acoustic parameter, it is possible to increase the experience of user.
Above content is to combine specific embodiment further description made for the present invention, it is impossible to assert this hair Bright specific implementation is confined to these explanations.For general technical staff of the technical field of the invention, do not taking off On the premise of from present inventive concept, some simple deduction or replace can also be made, should all be considered as belonging to the protection of the present invention Scope.

Claims (8)

1. a kind of distance measuring method, it is characterised in that comprise the following steps:
Main method, apparatus of surveying receives the voice signal for being used for ranging, and the voice signal for ranging includes at least:Tested side uses The voice signal that family is repeatedly sent;
The main space propagation distance surveyed method, apparatus and the voice signal is drawn according to the voice signal received, it is described Method, apparatus is surveyed with being tested the distance between side based on the space propagation distance of voice signal;
It is described it is main survey method, apparatus according to the voice signal received draw the space propagation of the voice signal apart from the step of wrap Include:
Main survey method, apparatus repeatedly measures the acoustic pressure SPL of the voice signal received, and obtains the acoustic pressure difference DELTA of voice signal SPL;
According to the acoustic pressure difference DELTA SPL in the corresponding S'(d of all sound intensities, Δ SPL, a) finds out the Δ in set of curves SPL corresponding acoustic space transmission attenuation curve S'(d, Δ SPL);Then according to the acoustic pressure difference DELTA SPL in the Δ SPL Corresponding space propagation distance d is found out on corresponding acoustic space transmission attenuation curve;To the space propagation distance d of all acquisitions Carry out default data processing and finally obtain the main survey method, apparatus with being tested the distance between side;
The S'(d, Δ SPL, a) set of curves is the acoustic space transmission attenuation set of curves of sound intensity a, its transverse axis is empty for sound Between transmission range d, the longitudinal axis be voice signal acoustic pressure difference DELTA SPL, the S'(d, Δ SPL, a) set of curves is by different loudness Decay to acoustic space transmission attenuation the curve S'(d, Δ SPL of loudness a) it is polymerized.
2. distance measuring method as claimed in claim 1, it is characterised in that the voice signal for ranging includes:Tested side The voice signal that the loudness of device plays determines;
It is described it is main survey method, apparatus according to the voice signal received draw the space propagation of the voice signal apart from the step of wrap Include:
The main acoustic pressure SPL for surveying the voice signal that method, apparatus measurement receives;
The loudness parameter that tested method, apparatus plays voice signal is obtained, is looked for according to the loudness parameter in S (d, SPL) set of curves Go out corresponding S (d, SPL) curve, wherein d is the space propagation distance of voice signal;
The space propagation distance of the corresponding voice signal is matched on the curve according to the acoustic pressure SPL;
S (d, the SPL) curve is the space propagation attenuation characteristic curve of voice signal, and the transverse axis of the curve is voice signal Space propagation distance d, the acoustic pressure SPL of the received voice signal of method, apparatus is surveyed based on the longitudinal axis, S (d, the SPL) set of curves is by more S (d, SPL) curve of kind sound intensity is polymerized.
3. distance measuring method as claimed in claim 2, it is characterised in that the main voice signal surveyed method, apparatus measurement and received Acoustic pressure SPL the step of include:
The main level surveyed method, apparatus and the voice signal that the loudness that the tested method, apparatus plays determines is converted to electric signal Value;
The main acoustic pressure SPL for surveying the voice signal that method, apparatus receives is obtained according to the level value.
4. distance measuring method as claimed in claim 1, it is characterised in that the main method, apparatus of surveying receives the sound letter for being used for ranging Number the step of include:
The main echo path surveyed method, apparatus and determine energy maximum, receives the echo signal of the main survey side on the echo path;
It is described it is main survey method, apparatus according to the voice signal received draw the space propagation of the voice signal apart from the step of wrap Include:
The main method, apparatus of surveying obtains the time parameter for receiving the echo signal;
The main environmental parameter for surveying method, apparatus detection voice transmission, sound propagation velocity is matched according to the environmental parameter;
The main space surveyed method, apparatus and the voice signal is calculated according to the time parameter and the sound propagation velocity Transmission range.
5. a kind of distance-measuring equipment, it is characterised in that as main survey method, apparatus, it includes the distance-measuring equipment:Receiving module and place Manage module;
The receiving module is used to receive the voice signal for ranging, and the voice signal for ranging includes at least:Quilt The voice signal that survey side user repeatedly sends;
The voice signal that the processing module is used to be received according to the receiving module show that the space of the voice signal passes Defeated distance, the space propagation of the voice signal survey method, apparatus with being tested the distance between side based on;
The processing module includes:Sound pressure measurement module and range finder module;
The sound pressure measurement module is used for the acoustic pressure SPL for repeatedly measuring the voice signal received, and obtains the sound of voice signal Pressure difference Δ SPL;
The range finder module is used for according to the acoustic pressure difference DELTA SPL in the corresponding S'(d of all sound intensities, Δ SPL, a) song The Δ SPL corresponding acoustic space transmission attenuation curve S'(d, Δ SPL are found out in line cluster);Then according to the acoustic pressure difference Δ SPL finds out corresponding space propagation distance d on the corresponding acoustic space transmission attenuation curves of the Δ SPL;Obtained to all The space propagation distance d taken carries out default data processing and finally obtains the main survey method, apparatus with being tested the distance between side;
The S'(d, Δ SPL, a) set of curves is the acoustic space transmission attenuation set of curves of sound intensity a, its transverse axis is empty for sound Between transmission range d, the longitudinal axis be voice signal acoustic pressure difference DELTA SPL, the S'(d, Δ SPL, a) set of curves is by different loudness Decay to acoustic space transmission attenuation the curve S'(d, Δ SPL of loudness a) it is polymerized.
6. distance-measuring equipment as claimed in claim 5, it is characterised in that the processing module includes:Parameter acquisition module, acoustic pressure Measurement module and range finder module;
The voice signal for ranging includes:The voice signal that the loudness that tested method, apparatus plays determines;
The sound pressure measurement module is used for the acoustic pressure SPL for measuring the voice signal received;
The parameter acquisition module is used to obtain the loudness parameter that tested method, apparatus plays voice signal;
The range finder module is used to obtain the loudness parameter that tested method, apparatus plays voice signal, according to the loudness parameter in S Corresponding S (d, SPL) curve is found out in (d, SPL) set of curves, wherein d is space propagation distance, and according to the acoustic pressure SPL The space propagation distance of the corresponding voice signal is matched on the curve;
S (d, the SPL) curve is the space propagation attenuation characteristic curve of voice signal, the transverse axis of the curve for space propagation away from From d, the acoustic pressure SPL of the received voice signal of method, apparatus is surveyed based on the longitudinal axis, S (d, the SPL) set of curves is by muli-sounds loudness S (d, SPL) curve be polymerized.
7. distance-measuring equipment as claimed in claim 6, it is characterised in that the sound pressure measurement module is used to set the tested side The voice signal that the standby loudness played determines is converted to the level value of electric signal;The main survey side is obtained according to the level value to set The acoustic pressure SPL of the standby voice signal received.
8. distance-measuring equipment as claimed in claim 5, it is characterised in that the receiving module includes:Circuit determining module;It is described Processing module includes:Time-obtaining module, transmission speed matching module and computing module;
The circuit determining module is used for the echo path for determining energy maximum, and receives returning for the main survey side on the echo path Acoustical signal;
The time-obtaining module is used to obtain the time parameter for receiving the echo signal;
The transmission speed matching module is used for the environmental parameter for detecting voice transmission, and sound is matched according to the environmental parameter Spread speed;
The computing module is used for the sky that the voice signal is calculated according to the time parameter and the sound propagation velocity Between transmission range.
CN201310476499.9A 2013-10-12 2013-10-12 A kind of distance measuring method and equipment Active CN104569956B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310476499.9A CN104569956B (en) 2013-10-12 2013-10-12 A kind of distance measuring method and equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310476499.9A CN104569956B (en) 2013-10-12 2013-10-12 A kind of distance measuring method and equipment
PCT/CN2014/078689 WO2014187382A1 (en) 2013-10-12 2014-05-28 Method and apparatus for measuring distance

Publications (2)

Publication Number Publication Date
CN104569956A CN104569956A (en) 2015-04-29
CN104569956B true CN104569956B (en) 2018-05-04

Family

ID=51932932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310476499.9A Active CN104569956B (en) 2013-10-12 2013-10-12 A kind of distance measuring method and equipment

Country Status (2)

Country Link
CN (1) CN104569956B (en)
WO (1) WO2014187382A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104730515B (en) * 2015-03-26 2017-12-26 北京交通大学 Utilize the device of voice signal measurement train distance
CN106896356B (en) 2016-08-17 2019-11-19 阿里巴巴集团控股有限公司 Determine method, position indicating method and its device and system of distance change

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS649389A (en) * 1987-06-30 1989-01-12 Kubota Ltd Ultrasonic distance measuring device
CN1996045A (en) * 2006-12-29 2007-07-11 武汉理工大学 Ultrasonic positioning sensor
CN102139164A (en) * 2011-01-28 2011-08-03 深圳市格兰之特科技有限公司 Flying device and method capable of automatically avoiding barrier

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130137005A (en) * 2010-11-16 2013-12-13 퀄컴 인코포레이티드 System and method for object position estimation based on ultrasonic reflected signals
CN103257347B (en) * 2012-02-17 2014-12-10 中国人民解放军海军装备研究院舰艇作战系统论证研究所 Method for obtaining sonar operating distance index in practical use environment
CN103176166B (en) * 2013-03-14 2015-03-04 东南大学 Tracking algorithm for time difference of arrival of signals for acoustic passive positioning

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS649389A (en) * 1987-06-30 1989-01-12 Kubota Ltd Ultrasonic distance measuring device
CN1996045A (en) * 2006-12-29 2007-07-11 武汉理工大学 Ultrasonic positioning sensor
CN102139164A (en) * 2011-01-28 2011-08-03 深圳市格兰之特科技有限公司 Flying device and method capable of automatically avoiding barrier

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《声发射检测中利用能量进行定位的新方法》;朱祥军;《中国测试》;20110131;第37卷(第1期);第18-20页 *

Also Published As

Publication number Publication date
CN104569956A (en) 2015-04-29
WO2014187382A1 (en) 2014-11-27

Similar Documents

Publication Publication Date Title
CN104135705B (en) A kind of method and system according to different scenes pattern adjust automatically multimedia volume
US9903943B2 (en) Distance estimation method and device as well as node localization method and apparatus
Mehrgardt et al. Transformation characteristics of the external human ear
Gaubitch et al. Performance comparison of algorithms for blind reverberation time estimation from speech
CN101483797B (en) Head-related transfer function generation method and apparatus for earphone acoustic system
CN1816224B (en) Apparatus for implementing 3-dimensional virtual sound and method thereof
KR101510576B1 (en) Apparatus and method for deriving a directional information and computer program product
CN105225681B (en) Speech playing method and system
CN102148033B (en) Method for testing intelligibility of speech transmission index
CN104880693B (en) Indoor orientation method and device
CN104569956B (en) A kind of distance measuring method and equipment
CN102901949B (en) Two-dimensional spatial distribution type relative sound positioning method and device
CN106896356A (en) Determine method, position indicating method and its device and system of distance change
US20180306890A1 (en) System and method to locate and identify sound sources in a noisy environment
CN104869519B (en) A kind of method and system of test microphone background noise
CN109870984B (en) Multi-household-appliance control method based on wearable device
CN104865602A (en) Method of determining epicenter location and earthquake start time through multiple data sources
CN104535647A (en) Prediction apparatus for sound absorption and insulation performance of multilayer material and method
CN104239030A (en) Music-Based Positioning Aided By Dead Reckoning
CN103278801A (en) Noise imaging detection device and detection calculation method for transformer substation
CN203148562U (en) Transformer substation noise imaging monitoring device
WO2005106407A1 (en) A method of objectively determining subjective properties of a binaural sound signal
CN104248439A (en) Eardrum acoustic pressure detection method and eardrum acoustic pressure detection system
CN106533586B (en) A kind of method and apparatus of the anti-interference ability of measuring receiver
CN201854337U (en) Mobile terminal with function of prompting user to adjust travel speed

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