WO2022041219A1 - Sound source ranging method, device and system - Google Patents

Sound source ranging method, device and system Download PDF

Info

Publication number
WO2022041219A1
WO2022041219A1 PCT/CN2020/112587 CN2020112587W WO2022041219A1 WO 2022041219 A1 WO2022041219 A1 WO 2022041219A1 CN 2020112587 W CN2020112587 W CN 2020112587W WO 2022041219 A1 WO2022041219 A1 WO 2022041219A1
Authority
WO
WIPO (PCT)
Prior art keywords
sound
distance
sound wave
transmission distance
sound pressure
Prior art date
Application number
PCT/CN2020/112587
Other languages
French (fr)
Chinese (zh)
Inventor
张立斌
袁庭球
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2020/112587 priority Critical patent/WO2022041219A1/en
Priority to CN202080093874.XA priority patent/CN115004052A/en
Publication of WO2022041219A1 publication Critical patent/WO2022041219A1/en

Links

Images

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
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/18Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using ultrasonic, sonic, or infrasonic waves
    • G01S5/22Position of source determined by co-ordinating a plurality of position lines defined by path-difference measurements

Definitions

  • the present application relates to the technical field of sound source ranging, and more particularly, to a sound source ranging method, device and system in the technical field of sound source ranging.
  • Sound source ranging and sound source localization technology has extensive and extremely important application value in many scenes of today's life. For example, in 3-dimensional sound field, speech recognition, voice interaction, video conferencing and other scenarios.
  • the existing sound source ranging method is to form a microphone array by distributing multiple microphones at different positions in space in a certain order, and calculate the distance of the sound source according to the time difference between the sound source reaching different microphones in the microphone array.
  • the sound source ranging method, device, and system provided by the embodiments of the present application can improve the accuracy of sound source ranging, thereby improving the accuracy of sound source localization.
  • an embodiment of the present application provides a sound source ranging method.
  • the method may include: collecting, through a first microphone, a sound pressure of a second sound wave of the sound source, where the second sound wave passes through the first microphone of the sound source.
  • the sound wave is obtained after the delay processing of the first transmission distance; the sound pressure of the third sound wave of the sound source is collected by the second microphone; according to the sound pressure of the second sound wave, the sound pressure of the third sound wave and the first sound wave Transmission distance, to determine the target distance of the sound source.
  • the sound source ranging method provided by the embodiment of the present application can increase the sound pressure difference of the sound waves collected at different microphones by performing delay processing on the transmission distance of the sound waves collected by the microphones, which can improve the accuracy of sound source ranging, thereby improving the Accuracy of sound source localization.
  • the target distance rs can be determined by the following formula:
  • ⁇ r 1 represents the first transmission distance
  • L 1 represents the sound pressure of the second sound wave
  • L 2 represents the sound pressure of the third sound wave.
  • the third sound wave is obtained by delaying the fourth sound wave of the sound source by a second transmission distance, where the second transmission distance is different from the first transmission distance;
  • the sound pressure of the second sound wave, the sound pressure of the third sound wave, and the first transmission distance determine the target distance of the sound source, including: according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the The first transmission distance and the second transmission distance determine the target distance.
  • the difference between the second transmission distance and the first transmission distance may be greater than a preset distance threshold.
  • the target distance rs can be determined by the following formula:
  • ⁇ r 1 represents the first transmission distance
  • ⁇ r 2 represents the second transmission distance
  • L 1 represents the sound pressure of the second sound wave
  • L 2 represents the sound pressure of the third sound wave.
  • the method further includes: collecting the sound pressure of the fifth sound wave of the sound source through a third microphone; according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the A transmission distance and the second transmission distance, determining the target distance, including: according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance and the first transmission distance. 2. Transmission distance, determine the target distance.
  • the target is determined according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance and the second transmission distance
  • the distance includes: determining the first distance of the sound source according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance; according to the sound pressure of the second sound wave , the sound pressure of the fifth sound wave and the first transmission distance, determine the second distance of the sound source; according to the sound pressure of the third sound wave, the sound pressure of the fifth sound wave and the second transmission distance, determine the sound
  • the third distance of the source; the target distance is determined according to the first distance, the second distance and the third distance.
  • the fifth sound wave is obtained by performing delay processing on the sixth sound wave of the sound source by a third transmission distance, the third transmission distance, the first transmission distance and the second transmission distance
  • the transmission distance is different;
  • the target distance is determined according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance and the second transmission distance, including: according to The sound pressure of the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance, the second transmission distance and the third transmission distance determine the target distance.
  • the difference between any two distances among the first transmission distance, the second transmission distance and the third transmission distance may be greater than the preset distance threshold.
  • the sound pressure according to the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance, the second transmission distance and the third Transmission distance includes: determining the first distance of the sound source according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance; The sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the second transmission distance and the third transmission distance determine the second distance of the sound source; according to the sound pressure of the second sound wave, the sound pressure of the fifth sound wave The sound pressure, the first transmission distance and the third transmission distance determine the third distance of the sound source; and the target distance is determined according to the first distance, the second distance and the third distance.
  • the sound source ranging method provided by the embodiment of the present application obtains the target distance by weighting the distances determined by any two of the three or more subsystems, which can reduce the ranging error and improve the accuracy of sound source ranging.
  • the target distance rs can be determined by the following formula:
  • r s a 1 r s1 +a 2 r s2 +a 3 r s3 ,
  • a 1 represents the first weight coefficient
  • a 2 represents the second weight coefficient
  • a 3 represents the third weight coefficient
  • rs 1 represents the first distance
  • rs 2 represents the second distance
  • rs 3 represents the third distance
  • a 1 +a 2 +a 3 1.
  • an embodiment of the present application provides a sound source ranging system.
  • the system may include: a first delay device for acquiring a first sound wave of a sound source; and performing a first transmission distance measurement on the first sound wave. Delay processing to obtain a second sound wave; a first microphone for collecting the sound pressure of the second sound wave; a second microphone for collecting the sound pressure of the third sound wave of the sound source; sound source ranging device for according to The sound pressure of the second sound wave, the sound pressure of the third sound wave and the first transmission distance determine the target distance of the sound source.
  • the sound source ranging device is specifically used to determine the target distance rs by the following formula:
  • ⁇ r 1 represents the first transmission distance
  • L 1 represents the sound pressure of the second sound wave
  • L 2 represents the sound pressure of the third sound wave.
  • the system further includes a second delay device, and the second delay device is configured to acquire the fourth sound wave of the sound source before the second microphone collects the sound pressure of the third sound wave of the sound source sound wave; perform delay processing on the sound pressure of the fourth sound wave by the second transmission distance to obtain the third sound wave, the second transmission distance is different from the first transmission distance; the sound source ranging device is specifically used for The sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance determine the target distance.
  • the difference between the second transmission distance and the first transmission distance may be greater than a preset distance threshold.
  • the sound source ranging device is specifically used to determine the target distance rs by the following formula:
  • ⁇ r 1 represents the first transmission distance
  • ⁇ r 2 represents the second transmission distance
  • L 1 represents the sound pressure of the second sound wave
  • L 2 represents the sound pressure of the third sound wave.
  • the system further includes a third microphone, and the third microphone is used to collect the sound pressure of the fifth sound wave of the sound source; The sound pressure, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance and the second transmission distance determine the target distance.
  • the sound source ranging device is specifically configured to: determine the sound source according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance The first distance of the sound source; the second distance of the sound source is determined according to the sound pressure of the second sound wave, the sound pressure of the fifth sound wave and the first transmission distance; according to the sound pressure of the third sound wave, the first distance The sound pressure of the five sound waves and the second transmission distance determine the third distance of the sound source; the target distance is determined according to the first distance, the second distance and the third distance.
  • the system further includes a third delay device, and the third delay device is configured to acquire the sixth sound wave of the sound source before the third microphone collects the sound pressure of the fifth sound wave of the sound source Acoustic wave; carry out the delay processing of the third transmission distance on the sixth acoustic wave to obtain the fifth acoustic wave, the third transmission distance, the first transmission distance and the second transmission distance are different; the sound source ranging device is specifically used for The target distance is determined according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance, the second transmission distance and the third transmission distance.
  • the difference between any two distances among the first transmission distance, the second transmission distance and the third transmission distance may be greater than the preset distance threshold.
  • the sound source ranging device is specifically configured to: determine the sound source according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance the first distance of the sound source; according to the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the second transmission distance and the third transmission distance, determine the second distance of the sound source; according to the second sound wave The sound pressure of the fifth sound wave, the first transmission distance and the third transmission distance, determine the third distance of the sound source; according to the first distance, the second distance and the third distance, determine the target distance.
  • the sound source ranging device is specifically used to determine the target distance rs by the following formula:
  • r s a 1 r s1 +a 2 r s2 +a 3 r s3 ,
  • a 1 represents the first weight coefficient
  • a 2 represents the second weight coefficient
  • a 3 represents the third weight coefficient
  • rs 1 represents the first distance
  • rs 2 represents the second distance
  • rs 3 represents the third distance
  • a 1 +a 2 +a 3 1.
  • an embodiment of the present application further provides a sound source ranging device, which is configured to execute the method described in the first aspect or its various possible implementation manners, or the device includes a device for executing the above-mentioned first aspect A unit of a method described in an aspect or its various possible implementations.
  • an embodiment of the present application further provides a sound source ranging device, the device includes: a memory, at least one processor, a transceiver, and instructions stored on the memory and executable on the processor. Further, the memory, the processor and the communication interface communicate with each other through an internal connection path. Execution of the instructions by the at least one processor causes the apparatus to implement the method described in the first aspect above or any possible implementation thereof.
  • an embodiment of the present application further provides a terminal device, where the terminal device includes at least one of a microphone, a delay device, and a sound source ranging device described in the second aspect or any possible implementation manner thereof.
  • the present application further provides a computer-readable storage medium for storing a computer program, where the computer program includes a method for implementing the above-mentioned first aspect or any possible implementation manners thereof.
  • the present application further provides a computer program product comprising instructions, which, when run on a computer, enable the computer to implement the method described in the first aspect or any possible implementation manners thereof.
  • the present application further provides a chip device, including: an input interface, an output interface, and at least one processor.
  • the chip device further includes a memory.
  • the at least one processor is configured to execute the code in the memory, and when the at least one processor executes the code, the chip device implements the method described in the first aspect or any possible implementation manner thereof.
  • FIG. 1 provides a schematic block diagram of a sound source ranging system 100 according to an embodiment of the present application
  • Fig. 2 provides the schematic diagram of the microstructure of the embodiment of the present application
  • FIG. 4 provides a schematic diagram of another microstructure according to an embodiment of the present application.
  • FIG. 5 provides a schematic structural diagram of a subsystem of an embodiment of the present application.
  • FIG. 6 provides a schematic block diagram of a sound source ranging system 200 according to an embodiment of the present application
  • FIG. 7 provides a schematic block diagram of a sound source localization system according to an embodiment of the present application.
  • FIG. 8 provides a schematic flowchart of a sound source ranging method 300 according to an embodiment of the present application.
  • FIG. 9 provides a schematic block diagram of a sound source ranging apparatus 400 according to an embodiment of the present application.
  • FIG. 10 provides a schematic block diagram of a sound source ranging apparatus 500 according to an embodiment of the present application.
  • FIG. 11 provides a schematic block diagram of a chip 600 according to an embodiment of the present application.
  • Sound is produced by the vibration of objects. Everything that makes sound vibrates. In physics, the object that is making sound is called the sound source. Such as: vibrating vocal cords, vibrating tuning forks, and beating drums are all sound sources.
  • Sound waves travel in all directions with the help of various media.
  • the sound source cannot be separated from the elastic medium around it. For the same object in space and the same vibration state, if it is separated from the elastic medium, then the sound wave cannot be generated, and the vibrating object at this time is not sound. source.
  • Sound pressure is the change of atmospheric pressure after being disturbed by sound waves, which is the residual pressure of atmospheric pressure.
  • the unit of sound pressure is Pascal (Pa) or megapascal (MPa)
  • Sound pressure level is an indicator of sound pressure. It is represented by 20 times the common logarithm of the ratio of the sound pressure P of a sound to the basic sound pressure value P0. P0. The unit of sound pressure level is decibel (dB).
  • the energy of the sound wave attenuates with the increase of the transmission distance during the propagation process, that is, the energy attenuated by the sound wave is strongly correlated with the propagation distance.
  • the sound level attenuation value at the distance from the point sound source r 1 to r 2 can be expressed by the following formula (2):
  • the sound source ranging method, device and system provided by the embodiments of the present application can improve the accuracy of sound source ranging, thereby improving the accuracy of sound source localization.
  • the sound source ranging system provided in this embodiment of the present application may be applicable to various scenarios where ranging or localization of a sound source is required, which is not limited in this embodiment of the present application.
  • the sound source ranging system can be applied to scenarios such as 3D sound field, speech recognition, video conference or human-computer interaction.
  • FIG. 1 shows a schematic block diagram of a sound source ranging system 100 provided by an embodiment of the present application.
  • the system 100 includes a sound source ranging device 110 , a first subsystem 120 and a second subsystem 130 , and the first subsystem 120 may include a first delay device 121 and a first microphone 122 .
  • the second subsystem 130 may include a second microphone 132 .
  • the first delay device 121 is used for acquiring the first sound wave of the sound source; delaying the first sound wave by the first transmission distance to obtain the second sound wave; and sending the second sound wave to the first microphone 122 .
  • the function implemented by the first delay device 121 may be implemented by hardware or software, which is not limited in this embodiment of the present application.
  • the first delay device 121 may be a microstructure made of acoustic metamaterials.
  • acoustic metamaterials are obtained by artificial design and have extraordinary physical properties that natural materials do not possess. Their material properties depend on subwavelength artificial microstructures, and the properties of acoustic metamaterials are measured by macroscopic physical properties.
  • the microstructure of the acoustic metamaterial can perform different delay processing on the passing sound waves, so as to control the interference results of the sound waves passing through the microstructure, and realize the steering, focusing, reflection and/or reflection control of the sound waves, etc.
  • the microstructure can be a labyrinth-like structure made of acoustic metamaterials.
  • FIG. 2 shows a possible schematic structural diagram of the microstructure provided by the embodiment of the present application, the transmission distance of the sound wave is extended by artificially isolated paths, and the sound pressure after the sound wave input by the input interface is transmitted through these artificial paths Attenuation is obtained, and the sound wave after sound pressure attenuation is output from the output interface.
  • the path length of the microstructure shown in FIG. 3 is greater than the path length of the microstructure shown in FIG. 2 , that is, the transmission distance extended by the microstructure shown in FIG. 3 is greater than that of the microstructure shown in FIG. 2 . Due to the extended transmission distance, the sound pressure attenuation of the sound wave after transmission through the microstructure shown in FIG. 3 is greater than the attenuation of the sound wave after transmission through the microstructure shown in FIG. 2 .
  • the microstructure may be in various forms, which are not limited in this embodiment of the present application.
  • the microstructure may be in the shape of a labyrinth as shown in FIG. 2 .
  • the microstructure can be in the shape of a triangular labyrinth as shown in FIG. 4 .
  • the longer the path length of the microstructure is, the greater the sound pressure attenuation will be. Under the condition that the distance between the two microphones is the same, the transmission distance of the sound wave can be equivalently increased, so the accuracy of the sound source ranging can be improved. .
  • the larger the path length of the microstructure the larger the area it occupies. In order to reduce the area of the microstructure, the increase of the path can be achieved by using superimposed multi-layer microstructures.
  • the first microphone 122 is used for collecting the sound pressure of the second sound wave; sending the sound pressure of the second sound wave to the sound source ranging device 110 .
  • the sound pressure level is an index representing the size of the sound pressure
  • the sound pressure described in the embodiments of the present application may also be equivalent to the sound pressure level.
  • FIG. 5 shows a schematic structural diagram (side view) of the first subsystem 120 provided by the embodiment of the present application.
  • the sound wave 1 is transmitted from the first delay device 121
  • the input interface of the input interface is input, and after the delay of the path in the first delay device 121 , the sound wave 2 after the sound pressure attenuation is obtained, and is output to the microphone 312 from the output interface. Accordingly, the microphone 312 collects the sound pressure of the sound wave 2 .
  • the second microphone 132 is used to collect the sound pressure of the third sound wave of the sound source; and send the sound pressure of the third sound wave to the sound source ranging device 110 .
  • the sound source ranging device 110 is used to obtain the sound pressure of the second sound wave, the sound pressure of the third sound wave and the first transmission distance; according to the sound pressure of the second sound wave, the sound pressure of the third sound wave and the The first transmission distance determines the target distance of the sound source.
  • the sound source ranging apparatus 110 may determine the target distance rs by the following formula (3).
  • ⁇ r 1 represents the first transmission distance
  • L 1 represents the sound pressure of the second sound wave
  • L 2 represents the sound pressure of the third sound wave.
  • the sound source ranging device 110 may acquire the sound pressure of the second sound wave, the sound pressure of the third sound wave, and the first transmission distance in various ways, which are not limited in this embodiment of the present application.
  • the sound source ranging device 110 may receive the sound pressure of the second sound wave from the first microphone 122 and the sound pressure of the third sound wave from the second microphone 132 .
  • the sound source ranging device 110 may preconfigure the first transmission distance; or, the sound source ranging device 110 may receive the first transmission distance from the first delay device 121 .
  • the sound source ranging system provided by the embodiment of the present application requires at least two subsystems, and the difference between the transmission distances of the two subsystems to the acoustic wave delay is greater than a preset distance threshold.
  • the sound source ranging system may include at least one first subsystem and at least one second subsystem, for example, the system 100 as described in FIG. 1 includes the first subsystem 120 and the second subsystem 130; or , the sound source ranging system may include a plurality of first subsystems, and the difference between the transmission distances of the delay devices of at least two first subsystems in the plurality of first subsystems to the acoustic wave delay is greater than the distance threshold.
  • FIG. 6 shows a schematic block diagram of another sound source ranging system 200 provided by an embodiment of the present application.
  • the system 200 includes a sound source ranging device 210 , a first subsystem 220 and a second subsystem 230 .
  • the first subsystem 220 may include a first delay device 221 and a first microphone 222 .
  • the second subsystem 230 may include a second delay device 231 and a second microphone 232 .
  • the first delay device 221 is used for acquiring the first sound wave of the sound source; delaying the first sound wave by the first transmission distance to obtain the second sound wave; and sending the second sound wave to the first microphone 222 .
  • the first microphone 222 is used for collecting the sound pressure of the second sound wave; sending the sound pressure of the second sound wave to the sound source ranging device 210 .
  • the function and processing procedure of the first delay device 221 can refer to the first delay device 121 described in FIG. 1
  • the function and processing procedure of the first microphone 222 can refer to the first delay device 121 described in FIG. 1 .
  • the microphone 122 is not repeated here in order to avoid repetition.
  • the second delay device 231 is used for acquiring the fourth sound wave of the sound source; delaying the sound pressure of the fourth sound wave by the second transmission distance to obtain the third sound wave, the second transmission distance and the first transmission distance Different; send the third sound wave to the second microphone 232.
  • the difference between the second transmission distance and the first transmission distance may be greater than a preset distance threshold.
  • the second microphone 232 is used for collecting the sound pressure of the third sound wave of the sound source; sending the sound pressure of the third sound wave to the sound source ranging device 210 .
  • the function and processing procedure of the second delay device 231 can refer to the first delay device 121 described in FIG. 1
  • the function and processing procedure of the second microphone 232 can refer to the first delay device 121 described in FIG. 1 .
  • the microphone 122 is not repeated here in order to avoid repetition.
  • the sound source ranging device 210 is used to obtain the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance; according to the sound pressure of the second sound wave, the third sound pressure The sound pressure of the sound wave, the first transmission distance and the second transmission distance determine the target distance of the sound source.
  • the sound source ranging apparatus 210 may determine the target distance rs by the following formula (4).
  • ⁇ r 1 represents the first transmission distance
  • ⁇ r 2 represents the second transmission distance
  • L 1 represents the sound pressure of the second sound wave
  • L 2 represents the sound pressure of the third sound wave.
  • the process of acquiring the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance by the sound source ranging device 210 may refer to the sound source ranging
  • the process of acquiring the sound pressure of the second sound wave, the sound pressure of the third sound wave, and the first transmission distance by the device 110 is not repeated here in order to avoid repetition.
  • the distances measured by any two subsystems may be weighted according to a preset weight coefficient to obtain the final distance.
  • the sound source ranging device in the sound source ranging system can be determined by the following formula (5) target distance rs :
  • a 1 represents the first weight coefficient
  • a 2 represents the second weight coefficient
  • a 3 represents the third weight coefficient
  • r s1 represents the first distance determined by the first subsystem 1 and the first subsystem 2
  • r s2 represents the second distance determined by the first subsystem 1 and the second subsystem
  • rs3 represents the third distance determined by the first subsystem 2 and the second subsystem.
  • FIG. 7 shows a sound source localization system provided by an embodiment of the present application, and the sound source localization system includes a plurality of sound source ranging systems.
  • Distance system 2 and sound source ranging system 3 wherein the distance between the sound source ranging system 1 and the sound source ranging system 2 is d 1 , the sound source ranging system 1 and the sound source ranging system The distance between 3 is d 2 , the distance between the sound source ranging system 2 and the sound source ranging system 3 is d 3 , the sound source distance determined by the sound source ranging system 1 is r s1 , the sound source The sound source distance determined by the source ranging system 2 is rs2 , and the sound source distance determined by the sound source ranging system 3 is rs3 . According to d 1 , d 2 and d 3 and rs 1 , rs 2 and rs 3 , Locate the sound source.
  • a trilateration localization algorithm can be used to localize the sound source according to d 1 , d 2 and d 3 and rs 1 , rs 2 and rs 3 .
  • the delay device and the microphone in each subsystem may be two independent devices, or the delay device may be integrated in the microphone, which is not limited in this embodiment of the present application.
  • multiple subsystems included in each of the above sound source ranging systems may be set in multiple terminal devices, or multiple subsystems may be set in the same terminal device, which is not limited in this embodiment of the present application.
  • the sound source ranging device and at least one of the multiple subsystems included in the above-mentioned sound source ranging systems can be arranged in the same terminal device, or the sound source ranging device and multiple subsystems can be arranged in the same terminal device.
  • this embodiment of the present application does not limit this.
  • the terminal device can also be called user equipment (UE), which can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; it can also be deployed on water (such as ships, etc.); it can also be deployed In the air (for example, on an airplane, a balloon, and a satellite, etc.), this embodiment of the present application does not limit it.
  • UE user equipment
  • the terminal device can be a mobile phone, a tablet computer (pad), a wearable device with wireless communication function (such as a smart watch), a position tracker with a positioning function, a computer with a wireless transceiver function, a virtual reality ( virtual reality (VR) devices, augmented reality (AR) devices, wireless devices in industrial control, wireless devices in self-driving, wireless devices in remote medical , a wireless device in a smart grid, a wireless device in transportation safety, a wireless device in a smart city, or a wireless device in a smart home, etc., embodiments of the present application This is not limited.
  • VR virtual reality
  • AR augmented reality
  • the accuracy of the sound source ranging can be improved,
  • the accuracy of sound source localization is improved.
  • the sound source ranging system provided by the embodiment of the present application is described above with reference to FIGS. 1 to 6 , and the sound source ranging method provided by the embodiment of the present application will be described below with reference to FIG. 8 .
  • FIG. 8 shows a schematic flowchart of a sound source ranging method 300 provided by an embodiment of the present application.
  • the method 300 can be applied to the sound source ranging system provided by the embodiments of the present application, and is executed by the sound source ranging apparatus therein.
  • the sound pressure of the second sound wave of the sound source is collected by the first microphone, where the second sound wave is obtained by performing delay processing on the first sound wave of the sound source by the first transmission distance.
  • the sound pressure of the third sound wave of the sound source is collected by the second microphone.
  • S330 Determine the target distance of the sound source according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, and the first transmission distance.
  • the target distance rs can be determined by the above formula (3).
  • the third sound wave is obtained by delaying the fourth sound wave of the sound source by a second transmission distance, where the difference between the second transmission distance and the first transmission distance is greater than A preset distance threshold; determining the target distance of the sound source according to the sound pressure of the second sound wave, the sound pressure of the third sound wave and the first transmission distance, including: according to the sound pressure of the second sound wave, the The sound pressure of the third sound wave, the first transmission distance and the second transmission distance determine the target distance.
  • the target distance rs can be determined by the above formula (4).
  • the method further includes: collecting the sound pressure of the fifth sound wave of the sound source through a third microphone; according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the A transmission distance and the second transmission distance, determining the target distance, including: according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance and the first transmission distance. 2. Transmission distance, determine the target distance.
  • the target is determined according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance and the second transmission distance
  • the distance includes: determining the first distance of the sound source according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance; according to the sound pressure of the second sound wave , the sound pressure of the fifth sound wave and the first transmission distance, determine the second distance of the sound source; according to the sound pressure of the third sound wave, the sound pressure of the fifth sound wave and the second transmission distance, determine the sound
  • the third distance of the source; the target distance is determined according to the first distance, the second distance and the third distance.
  • the fifth sound wave is obtained by delaying the sixth sound wave of the sound source by a third transmission distance, and the second transmission distance is different from the third transmission distance;
  • the The sound pressure of the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance and the second transmission distance, and determining the target distance includes: according to the sound pressure of the second sound wave The target distance is determined based on the pressure, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance, the second transmission distance and the third transmission distance.
  • the sound pressure according to the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance, the second transmission distance and the third Transmission distance includes: determining the first distance of the sound source according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance; The sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the second transmission distance and the third transmission distance determine the second distance of the sound source; according to the sound pressure of the second sound wave, the sound pressure of the fifth sound wave The sound pressure, the first transmission distance and the third transmission distance determine the third distance of the sound source; and the target distance is determined according to the first distance, the second distance and the third distance.
  • the target distance rs can be determined by the above formula (5).
  • the sound source ranging method provided by the embodiment of the present application is described above with reference to FIG. 8 , and the sound source ranging apparatus 400 provided by the embodiment of the present application will be described below with reference to FIGS. 9 to 10 .
  • apparatus 400 may be the sound source ranging apparatus described in the foregoing system 100 embodiment, system 200 embodiment, and method 300 embodiment, which is not limited in this embodiment of the present application.
  • the apparatus 400 includes corresponding hardware and/or software modules for executing each function.
  • the present application can be implemented in hardware or in the form of a combination of hardware and computer software in conjunction with the algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functionality for each particular application in conjunction with the embodiments, but such implementations should not be considered beyond the scope of this application.
  • the apparatus 400 may be divided into functional modules according to the foregoing method examples.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware. It should be noted that, the division of modules in this embodiment is schematic, and is only a logical function division, and there may be other division manners in actual implementation.
  • FIG. 9 shows a possible schematic diagram of the composition of the sound source ranging apparatus involved in the above embodiments.
  • the apparatus 400 may include: Transceiver unit 410 and processing unit 420.
  • the processing unit 420 may control the transceiver unit 410 to implement the methods described in the above embodiments of the method 300, and/or other processes for the techniques described herein.
  • the apparatus 400 provided in this embodiment is used to execute the foregoing method 300, and thus can achieve the same effect as the foregoing implementation method.
  • the apparatus 400 may include a processing unit, a storage unit, and a communication unit.
  • the processing unit may be used to control and manage the actions of the apparatus 400, for example, may be used to support the apparatus 400 to perform the steps performed by the above units.
  • the storage unit may be used to support the execution of the apparatus 400 to store program codes, data, and the like.
  • the communication unit may be used to support communication of the device 400 with other devices.
  • the processing unit may be a processor or a controller. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure.
  • the processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and the like.
  • the storage unit may be a memory.
  • the communication unit may specifically be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, and a Wi-Fi chip.
  • the apparatus 400 involved in this embodiment may be a sound source ranging apparatus 500 having the structure shown in FIG. 5
  • the apparatus 500 includes a processor 510 and a transceiver 520
  • the processor 510 and the The transceivers 520 communicate with each other through internal connection paths.
  • the related functions implemented by the processing unit 420 in FIG. 25 can be implemented by the processor 510
  • the related functions implemented by the transceiver unit 45 can be implemented by the processor 510 controlling the transceiver 520 .
  • the apparatus 500 may further include a memory 530, and the processor 510, the transceiver 520 and the memory 530 communicate with each other through an internal connection path.
  • the related functions implemented by the storage unit described in FIG. 9 may be implemented by the memory 530 .
  • Embodiments of the present application further provide a computer storage medium, where computer instructions are stored in the computer storage medium, and when the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to realize the sound source detection in the above-mentioned embodiments. distance method.
  • the embodiment of the present application also provides a computer program product, which when the computer program product runs on the computer, causes the computer to execute the above-mentioned relevant steps, so as to realize the sound source ranging method in the above-mentioned embodiment.
  • the embodiments of the present application also provide an apparatus, which may specifically be a chip, a component or a module, and the apparatus may include a connected processor and a memory; wherein, the memory is used for storing computer execution instructions, and when the apparatus is running, The processor can execute the computer-executable instructions stored in the memory, so that the chip executes the sound source ranging method in the above method embodiments.
  • FIG. 11 shows a schematic structural diagram of a chip 600 .
  • Chip 600 includes one or more processors 610 and interface circuits 620 .
  • the chip 600 may further include a bus 630 . in:
  • the processor 610 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method can be completed by an integrated logic circuit of hardware in the processor 610 or an instruction in the form of software.
  • the aforementioned processor 610 may be a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. Various methods and steps disclosed in the embodiments of this application can be implemented or executed.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the interface circuit 620 can be used for sending or receiving radar signals.
  • the processor 610 can process the radar signals received by the interface circuit 620 , and can send the processing completion information through the interface circuit 620 .
  • the chip further includes a memory, which may include a read-only memory and a random access memory, and provides operation instructions and data to the processor.
  • a portion of the memory may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • the memory stores executable software modules or data structures
  • the processor may execute corresponding operations by calling operation instructions stored in the memory (the operation instructions may be stored in the operating system).
  • the chip may be used in the sound source ranging system involved in the embodiments of the present application.
  • the interface circuit 620 may be used to output the execution result of the processor 610 .
  • processor 610 and the interface circuit 620 may be implemented by hardware design, software design, or a combination of software and hardware, which is not limited here.
  • the sound source ranging method, sound source ranging device, computer storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding methods provided above, and therefore, the beneficial effects that can be achieved are achieved.
  • the beneficial effects in the corresponding methods provided above can be referred to, and details are not repeated here.
  • the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution, and the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)

Abstract

A sound source ranging method, a device (110, 210) and a system (100, 200), being able to improve the accuracy of sound source ranging. Said method comprises: acquiring, by means of a first microphone (122, 222), a sound pressure of a second sound wave of a sound source, the second sound wave being obtained by delaying a first sound wave of the sound source by a first transmission distance (S310); acquiring, by means of a second microphone (132, 232), a sound pressure of a third sound wave of the sound source (S320); and according to the sound pressure of the second sound wave, the sound pressure of the third sound wave and the first transmission distance, determining a target distance to the sound source (S330).

Description

声源测距方法、装置和系统Sound source ranging method, device and system 技术领域technical field
本申请涉及声源测距技术领域,并且更具体地,涉及声源测距技术领域中的声源测距方法、装置和系统。The present application relates to the technical field of sound source ranging, and more particularly, to a sound source ranging method, device and system in the technical field of sound source ranging.
背景技术Background technique
声源测距和声源定位技术在当今生活的很多场景中都有着很广泛并且极为重要的应用价值。比如,在3维声场、语音识别、语音交互、视频会议等等场景。Sound source ranging and sound source localization technology has extensive and extremely important application value in many scenes of today's life. For example, in 3-dimensional sound field, speech recognition, voice interaction, video conferencing and other scenarios.
现有的声源测距方法是将多个麦克风按照一定顺序分布在空间的不同位置形成麦克风阵列,并根据声源到达该麦克风阵列中的不同麦克风的时间差,计算得出该声源的距离。The existing sound source ranging method is to form a microphone array by distributing multiple microphones at different positions in space in a certain order, and calculate the distance of the sound source according to the time difference between the sound source reaching different microphones in the microphone array.
然而,由于现有的声源测距方法易受到麦克风阵列的规模和麦克风位置的局限,因此,声源测距的准确率较低。However, because the existing sound source ranging methods are easily limited by the size of the microphone array and the location of the microphones, the accuracy of sound source ranging is low.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供的声源测距方法、装置和系统,能够提高声源测距的准确率,从而提高声源定位的准确率。The sound source ranging method, device, and system provided by the embodiments of the present application can improve the accuracy of sound source ranging, thereby improving the accuracy of sound source localization.
第一方面,本申请实施例提供一种声源测距方法,该方法可以包括:通过第一麦克风采集声源的第二声波的声压,该第二声波是通过对该声源的第一声波进行第一传输距离的延迟处理后得到的;通过第二麦克风采集该声源的第三声波的声压;根据该第二声波的声压、该第三声波的声压和该第一传输距离,确定该声源的目标距离。In a first aspect, an embodiment of the present application provides a sound source ranging method. The method may include: collecting, through a first microphone, a sound pressure of a second sound wave of the sound source, where the second sound wave passes through the first microphone of the sound source. The sound wave is obtained after the delay processing of the first transmission distance; the sound pressure of the third sound wave of the sound source is collected by the second microphone; according to the sound pressure of the second sound wave, the sound pressure of the third sound wave and the first sound wave Transmission distance, to determine the target distance of the sound source.
本申请实施例提供的声源测距方法,通过对麦克风采集的声波的传输距离进行延迟处理,以增加不同麦克风处采集的声波的声压差,能够提高声源测距的准确性,从而提高声源定位的准确性。The sound source ranging method provided by the embodiment of the present application can increase the sound pressure difference of the sound waves collected at different microphones by performing delay processing on the transmission distance of the sound waves collected by the microphones, which can improve the accuracy of sound source ranging, thereby improving the Accuracy of sound source localization.
在一种可能的实现方式中,可以通过以下公式确定该目标距离r sIn a possible implementation, the target distance rs can be determined by the following formula:
Figure PCTCN2020112587-appb-000001
Figure PCTCN2020112587-appb-000001
其中,
Figure PCTCN2020112587-appb-000002
△r 1表示该第一传输距离,L 1表示该第二声波的声压,L 2表示该第三声波的声压。
in,
Figure PCTCN2020112587-appb-000002
Δr 1 represents the first transmission distance, L 1 represents the sound pressure of the second sound wave, and L 2 represents the sound pressure of the third sound wave.
在一种可能的实现方式中,该第三声波是通过对该声源的第四声波进行第二传输距离的延迟处理后得到的,该第二传输距离与该第一传输距离不同;该根据该第二声波的声压、该第三声波的声压和该第一传输距离,确定该声源的目标距离,包括:根据该第二声波的声压、该第三声波的声压、该第一传输距离和该第二传输距离,确定该目标距离。In a possible implementation manner, the third sound wave is obtained by delaying the fourth sound wave of the sound source by a second transmission distance, where the second transmission distance is different from the first transmission distance; The sound pressure of the second sound wave, the sound pressure of the third sound wave, and the first transmission distance determine the target distance of the sound source, including: according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the The first transmission distance and the second transmission distance determine the target distance.
例如:该第二传输距离与该第一传输距离的差值可以大于预设的距离阈值。For example, the difference between the second transmission distance and the first transmission distance may be greater than a preset distance threshold.
在一种可能的实现方式中,可以通过以下公式确定该目标距离r sIn a possible implementation, the target distance rs can be determined by the following formula:
Figure PCTCN2020112587-appb-000003
Figure PCTCN2020112587-appb-000003
其中,
Figure PCTCN2020112587-appb-000004
△r 1表示该第一传输距离,△r 2表示该第二传输距离,L 1表示该第二声波的声压,L 2表示该第三声波的声压。
in,
Figure PCTCN2020112587-appb-000004
Δr 1 represents the first transmission distance, Δr 2 represents the second transmission distance, L 1 represents the sound pressure of the second sound wave, and L 2 represents the sound pressure of the third sound wave.
在一种可能的实现方式中,该方法还包括:通过第三麦克风采集该声源的第五声波的声压;该根据该第二声波的声压、该第三声波的声压、该第一传输距离和该第二传输距离,确定该目标距离,包括:根据该第二声波的声压、该第三声波的声压、该第五声波的声压、该第一传输距离和该第二传输距离,确定该目标距离。In a possible implementation manner, the method further includes: collecting the sound pressure of the fifth sound wave of the sound source through a third microphone; according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the A transmission distance and the second transmission distance, determining the target distance, including: according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance and the first transmission distance. 2. Transmission distance, determine the target distance.
在一种可能的实现方式中,该根据该第二声波的声压、该第三声波的声压、该第五声波的声压、该第一传输距离和该第二传输距离,确定该目标距离,包括:根据该第二声波的声压、该第三声波的声压、该第一传输距离和该第二传输距离,确定该声源的第一距离;根据该第二声波的声压、该第五声波的声压和该第一传输距离,确定该声源的第二距离;根据该第三声波的声压、该第五声波的声压和该第二传输距离,确定该声源的第三距离;根据该第一距离、该第二距离和该第三距离,确定该目标距离。In a possible implementation manner, the target is determined according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance and the second transmission distance The distance includes: determining the first distance of the sound source according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance; according to the sound pressure of the second sound wave , the sound pressure of the fifth sound wave and the first transmission distance, determine the second distance of the sound source; according to the sound pressure of the third sound wave, the sound pressure of the fifth sound wave and the second transmission distance, determine the sound The third distance of the source; the target distance is determined according to the first distance, the second distance and the third distance.
在一种可能的实现方式中,该第五声波是通过对该声源的第六声波进行第三传输距离的延迟处理后得到的,该第三传输距离、该第一传输距离和该第二传输距离不同;该根据该第二声波的声压、该第三声波的声压、该第五声波的声压、该第一传输距离和该第二传输距离,确定该目标距离,包括:根据该第二声波的声压、该第三声波的声压、该第五声波的声压、该第一传输距离、该第二传输距离和该第三传输距离,确定该目标距离。In a possible implementation manner, the fifth sound wave is obtained by performing delay processing on the sixth sound wave of the sound source by a third transmission distance, the third transmission distance, the first transmission distance and the second transmission distance The transmission distance is different; the target distance is determined according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance and the second transmission distance, including: according to The sound pressure of the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance, the second transmission distance and the third transmission distance determine the target distance.
例如:该第一传输距离、该第二传输距离和该第三传输距离中任意两个距离的差值可以大于预设的该距离阈值。For example, the difference between any two distances among the first transmission distance, the second transmission distance and the third transmission distance may be greater than the preset distance threshold.
在一种可能的实现方式中,该根据该第二声波的声压、该第三声波的声压、该第五声波的声压、该第一传输距离、该第二传输距离和该第三传输距离,确定该目标距离,包括:根据该第二声波的声压、该第三声波的声压、该第一传输距离和该第二传输距离,确定该声源的第一距离;根据该第三声波的声压、该第五声波的声压、该第二传输距离和该第三传输距离,确定该声源的第二距离;根据该第二声波的声压、该第五声波的声压、该第一传输距离和该第三传输距离,确定该声源的第三距离;根据该第一距离、该第二距离和该第三距离,确定该目标距离。In a possible implementation manner, the sound pressure according to the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance, the second transmission distance and the third Transmission distance, determining the target distance includes: determining the first distance of the sound source according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance; The sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the second transmission distance and the third transmission distance determine the second distance of the sound source; according to the sound pressure of the second sound wave, the sound pressure of the fifth sound wave The sound pressure, the first transmission distance and the third transmission distance determine the third distance of the sound source; and the target distance is determined according to the first distance, the second distance and the third distance.
本申请实施例提供的声源测距方法,通过对三个以上子系统中任意两个子系统确定的距离进行加权处理,得到目标距离,能够减少测距误差,提高声源测距的准确定。The sound source ranging method provided by the embodiment of the present application obtains the target distance by weighting the distances determined by any two of the three or more subsystems, which can reduce the ranging error and improve the accuracy of sound source ranging.
在一种可能的实现方式中,可以通过以下公式确定该目标距离r sIn a possible implementation, the target distance rs can be determined by the following formula:
r s=a 1r s1+a 2r s2+a 3r s3r s =a 1 r s1 +a 2 r s2 +a 3 r s3 ,
其中,a 1表示第一权重系数,a 2表示第二权重系数,a 3表示第三权重系数,r s1表示该第一距离,r s2表示该第二距离,r s3表示该第三距离,a 1+a 2+a 3=1。 Among them, a 1 represents the first weight coefficient, a 2 represents the second weight coefficient, a 3 represents the third weight coefficient, rs 1 represents the first distance, rs 2 represents the second distance, and rs 3 represents the third distance, a 1 +a 2 +a 3 =1.
第二方面,本申请实施例提供一种声源测距系统,该系统可以包括:第一延迟装置,用于获取声源的第一声波;对该第一声波进行第一传输距离的延迟处理,得到第二声波;第一麦克风,用于采集该第二声波的声压;第二麦克风,用于采集该声源的第三声波的声压;声源测距装置,用于根据该第二声波的声压、该第三声波的声压和该第一传输距离,确定该声源的目标距离。In a second aspect, an embodiment of the present application provides a sound source ranging system. The system may include: a first delay device for acquiring a first sound wave of a sound source; and performing a first transmission distance measurement on the first sound wave. Delay processing to obtain a second sound wave; a first microphone for collecting the sound pressure of the second sound wave; a second microphone for collecting the sound pressure of the third sound wave of the sound source; sound source ranging device for according to The sound pressure of the second sound wave, the sound pressure of the third sound wave and the first transmission distance determine the target distance of the sound source.
在一种可能的实现方式中,该声源测距装置具体用于通过以下公式确定该目标距离r sIn a possible implementation manner, the sound source ranging device is specifically used to determine the target distance rs by the following formula:
Figure PCTCN2020112587-appb-000005
Figure PCTCN2020112587-appb-000005
其中,
Figure PCTCN2020112587-appb-000006
△r 1表示该第一传输距离,L 1表示该第二声波的声压,L 2表示该第三声波的声压。
in,
Figure PCTCN2020112587-appb-000006
Δr 1 represents the first transmission distance, L 1 represents the sound pressure of the second sound wave, and L 2 represents the sound pressure of the third sound wave.
在一种可能的实现方式中,该系统还包括第二延迟装置,该第二延迟装置用于在该第二麦克风采集该声源的第三声波的声压之前,获取该声源的第四声波;对该第四声波的声压进行第二传输距离的延迟处理,得到该第三声波,该第二传输距离与该第一传输距离不同;该声源测距装置具体用于根据该第二声波的声压、该第三声波的声压、该第一传输距离和该第二传输距离,确定该目标距离。In a possible implementation manner, the system further includes a second delay device, and the second delay device is configured to acquire the fourth sound wave of the sound source before the second microphone collects the sound pressure of the third sound wave of the sound source sound wave; perform delay processing on the sound pressure of the fourth sound wave by the second transmission distance to obtain the third sound wave, the second transmission distance is different from the first transmission distance; the sound source ranging device is specifically used for The sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance determine the target distance.
例如:该第二传输距离与该第一传输距离的差值可以大于预设的距离阈值。For example, the difference between the second transmission distance and the first transmission distance may be greater than a preset distance threshold.
在一种可能的实现方式中,该声源测距装置具体用于通过以下公式确定该目标距离r sIn a possible implementation manner, the sound source ranging device is specifically used to determine the target distance rs by the following formula:
Figure PCTCN2020112587-appb-000007
Figure PCTCN2020112587-appb-000007
其中,
Figure PCTCN2020112587-appb-000008
△r 1表示该第一传输距离,△r 2表示该第二传输距离,L 1表示该第二声波的声压,L 2表示该第三声波的声压。
in,
Figure PCTCN2020112587-appb-000008
Δr 1 represents the first transmission distance, Δr 2 represents the second transmission distance, L 1 represents the sound pressure of the second sound wave, and L 2 represents the sound pressure of the third sound wave.
在一种可能的实现方式中,该系统还包括第三麦克风,该第三麦克风用于采集该声源的第五声波的声压;该声源测距装置具体用于根据该第二声波的声压、该第三声波的声压、该第五声波的声压、该第一传输距离和该第二传输距离,确定该目标距离。In a possible implementation manner, the system further includes a third microphone, and the third microphone is used to collect the sound pressure of the fifth sound wave of the sound source; The sound pressure, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance and the second transmission distance determine the target distance.
在一种可能的实现方式中,该声源测距装置具体用于:根据该第二声波的声压、该第三声波的声压、该第一传输距离和该第二传输距离,确定该声源的第一距离;根据该第二声波的声压、该第五声波的声压和该第一传输距离,确定该声源的第二距离;根据该第三声波的声压、该第五声波的声压和该第二传输距离,确定该声源的第三距离;根据该第一距离、该第二距离和该第三距离,确定该目标距离。In a possible implementation manner, the sound source ranging device is specifically configured to: determine the sound source according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance The first distance of the sound source; the second distance of the sound source is determined according to the sound pressure of the second sound wave, the sound pressure of the fifth sound wave and the first transmission distance; according to the sound pressure of the third sound wave, the first distance The sound pressure of the five sound waves and the second transmission distance determine the third distance of the sound source; the target distance is determined according to the first distance, the second distance and the third distance.
在一种可能的实现方式中,该系统还包括第三延迟装置,该第三延迟装置用于在该第三麦克风采集该声源的第五声波的声压之前,获取该声源的第六声波;对该第六声波进行第三传输距离的延迟处理,得到该第五声波,该第三传输距离、该第一传输距离和该第二传输距离不同;该声源测距装置具体用于根据该第二声波的声压、该第三声波的声压、该第五声波的声压、该第一传输距离、该第二传输距离和该第三传输距离,确定该目标距离。In a possible implementation manner, the system further includes a third delay device, and the third delay device is configured to acquire the sixth sound wave of the sound source before the third microphone collects the sound pressure of the fifth sound wave of the sound source Acoustic wave; carry out the delay processing of the third transmission distance on the sixth acoustic wave to obtain the fifth acoustic wave, the third transmission distance, the first transmission distance and the second transmission distance are different; the sound source ranging device is specifically used for The target distance is determined according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance, the second transmission distance and the third transmission distance.
例如:该第一传输距离、该第二传输距离和该第三传输距离中任意两个距离的差值可以大于预设的该距离阈值。For example, the difference between any two distances among the first transmission distance, the second transmission distance and the third transmission distance may be greater than the preset distance threshold.
在一种可能的实现方式中,该声源测距装置具体用于:根据该第二声波的声压、该第三声波的声压、该第一传输距离和该第二传输距离,确定该声源的第一距离;根据该第三声波的声压、该第五声波的声压、该第二传输距离和该第三传输距离,确定该声源的第二距离;根据该第二声波的声压、该第五声波的声压、该第一传输距离和该第三传输距离,确定该声源的第三距离;根据该第一距离、该第二距离和该第三距离,确定该目标距离。In a possible implementation manner, the sound source ranging device is specifically configured to: determine the sound source according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance the first distance of the sound source; according to the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the second transmission distance and the third transmission distance, determine the second distance of the sound source; according to the second sound wave The sound pressure of the fifth sound wave, the first transmission distance and the third transmission distance, determine the third distance of the sound source; according to the first distance, the second distance and the third distance, determine the target distance.
在一种可能的实现方式中,该声源测距装置具体用于通过以下公式确定该目标距离r sIn a possible implementation manner, the sound source ranging device is specifically used to determine the target distance rs by the following formula:
r s=a 1r s1+a 2r s2+a 3r s3r s =a 1 r s1 +a 2 r s2 +a 3 r s3 ,
其中,a 1表示第一权重系数,a 2表示第二权重系数,a 3表示第三权重系数,r s1表示该第一距离,r s2表示该第二距离,r s3表示该第三距离,a 1+a 2+a 3=1。 Among them, a 1 represents the first weight coefficient, a 2 represents the second weight coefficient, a 3 represents the third weight coefficient, rs 1 represents the first distance, rs 2 represents the second distance, and rs 3 represents the third distance, a 1 +a 2 +a 3 =1.
第三方面,本申请实施例还提供一种声源测距装置,该装置用于执行上述第一方面或其各种可能的实现方式中所述的方法,或该装置包括用于执行上述第一方面或其各种可能的实现方式中所述的方法的单元。In a third aspect, an embodiment of the present application further provides a sound source ranging device, which is configured to execute the method described in the first aspect or its various possible implementation manners, or the device includes a device for executing the above-mentioned first aspect A unit of a method described in an aspect or its various possible implementations.
第四方面,本申请实施例还提供一种声源测距装置,该装置包括:存储器、至少一个处理器、收发器及存储在该存储器上并可在该处理器上运行的指令。进一步,该存储器、该处理器以及该通信接口之间通过内部连接通路互相通信。所述至少一个处理器执行该指令使得该装置实现上述第一方面或其任意可能的实现方式中所述的方法。In a fourth aspect, an embodiment of the present application further provides a sound source ranging device, the device includes: a memory, at least one processor, a transceiver, and instructions stored on the memory and executable on the processor. Further, the memory, the processor and the communication interface communicate with each other through an internal connection path. Execution of the instructions by the at least one processor causes the apparatus to implement the method described in the first aspect above or any possible implementation thereof.
第五方面,本申请实施例还提供一种终端设备,该终端设备包括上述第二方面或其任意可能的实现方式中所述的麦克风、延迟装置和声源测距装置中的至少一个。In a fifth aspect, an embodiment of the present application further provides a terminal device, where the terminal device includes at least one of a microphone, a delay device, and a sound source ranging device described in the second aspect or any possible implementation manner thereof.
第六方面,本申请还提供一种计算机可读存储介质,用于存储计算机程序,该计算机程序包括用于实现上述第一方面或其任意可能的实现方式中所述的方法。In a sixth aspect, the present application further provides a computer-readable storage medium for storing a computer program, where the computer program includes a method for implementing the above-mentioned first aspect or any possible implementation manners thereof.
第七方面,本申请还提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机实现上述第一方面或其任意可能的实现方式中所述的方法。In a seventh aspect, the present application further provides a computer program product comprising instructions, which, when run on a computer, enable the computer to implement the method described in the first aspect or any possible implementation manners thereof.
第八方面,本申请还提供一种芯片装置,包括:输入接口、输出接口、至少一个处理器。可选的,所述芯片装置还包括存储器。该至少一个处理器用于执行该存储器中的代码,当该至少一个处理器执行该代码时,该芯片装置实现上述第一方面或其任意可能的实现方式中所述的方法。In an eighth aspect, the present application further provides a chip device, including: an input interface, an output interface, and at least one processor. Optionally, the chip device further includes a memory. The at least one processor is configured to execute the code in the memory, and when the at least one processor executes the code, the chip device implements the method described in the first aspect or any possible implementation manner thereof.
附图说明Description of drawings
图1提供本申请实施例的声源测距系统100的示意性框图;FIG. 1 provides a schematic block diagram of a sound source ranging system 100 according to an embodiment of the present application;
图2提供本申请实施例的微结构的示意图;Fig. 2 provides the schematic diagram of the microstructure of the embodiment of the present application;
图3提供本申请实施例的另一微结构的示意图;3 provides a schematic diagram of another microstructure according to an embodiment of the present application;
图4提供本申请实施例的又一微结构的示意图;FIG. 4 provides a schematic diagram of another microstructure according to an embodiment of the present application;
图5提供本申请实施例的子系统的示意性结构图;FIG. 5 provides a schematic structural diagram of a subsystem of an embodiment of the present application;
图6提供本申请实施例的声源测距系统200的示意性框图;FIG. 6 provides a schematic block diagram of a sound source ranging system 200 according to an embodiment of the present application;
图7提供本申请实施例的声源定位系统的示意性框图;FIG. 7 provides a schematic block diagram of a sound source localization system according to an embodiment of the present application;
图8提供本申请实施例的声源测距方法300的示意性流程图;FIG. 8 provides a schematic flowchart of a sound source ranging method 300 according to an embodiment of the present application;
图9提供本申请实施例的声源测距装置400的示意性框图;FIG. 9 provides a schematic block diagram of a sound source ranging apparatus 400 according to an embodiment of the present application;
图10提供本申请实施例的声源测距装置500的示意性框图;FIG. 10 provides a schematic block diagram of a sound source ranging apparatus 500 according to an embodiment of the present application;
图11提供本申请实施例的芯片600的示意性框图。FIG. 11 provides a schematic block diagram of a chip 600 according to an embodiment of the present application.
具体实施方式detailed description
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in the present application will be described below with reference to the accompanying drawings.
首先对本申请涉及的专业术语进行介绍。First, the technical terms involved in this application are introduced.
1、声源1. Sound source
声音是由物体的振动产生的。一切发声的物体都在振动。物理学中,把正在发声的物体叫声源。如:正在振动的声带、正在振动的音叉、敲响的鼓等都是声源。Sound is produced by the vibration of objects. Everything that makes sound vibrates. In physics, the object that is making sound is called the sound source. Such as: vibrating vocal cords, vibrating tuning forks, and beating drums are all sound sources.
2、声波2. Sound waves
发声体的振动在空气或其他物质中的传播叫做声波。声波借助各种介质向四面八方传播。The propagation of the vibration of a sounding body in air or other substances is called a sound wave. Sound waves travel in all directions with the help of various media.
需要说明的是,声源是不能脱离其周围的弹性介质的,空间中同样的物体,同样的振动状态,如果脱离了弹性介质,那么就不能产生声波了,这时的振动着的物体不是声源。It should be noted that the sound source cannot be separated from the elastic medium around it. For the same object in space and the same vibration state, if it is separated from the elastic medium, then the sound wave cannot be generated, and the vibrating object at this time is not sound. source.
3、声压3. Sound pressure
声压就是大气压受到声波扰动后产生的变化,即为大气压强的余压,它相当于在大气压强上的叠加一个声波扰动引起的压强变化。声压的单位是帕斯卡(Pa)或兆帕(MPa)Sound pressure is the change of atmospheric pressure after being disturbed by sound waves, which is the residual pressure of atmospheric pressure. The unit of sound pressure is Pascal (Pa) or megapascal (MPa)
4、声压级4. Sound pressure level
声压级(sound pressure level),简称为声级,是表示声压大小的指标,用某声音的声压P与基本声压值P0的比值的常用对数的20倍来表示,即20lgP/P0。声压级的单位为分贝(dB)。Sound pressure level, abbreviated as sound level, is an indicator of sound pressure. It is represented by 20 times the common logarithm of the ratio of the sound pressure P of a sound to the basic sound pressure value P0. P0. The unit of sound pressure level is decibel (dB).
5、声波的传播5. Propagation of sound waves
声波的能量在传播过程中随着传输距离的增大而衰减,即声波衰减的能量与传播的距离是强相关的。The energy of the sound wave attenuates with the increase of the transmission distance during the propagation process, that is, the energy attenuated by the sound wave is strongly correlated with the propagation distance.
例如:在自由场(自由空间)条件下,点声源的声波衰减一般为球面发散规律,如果按照声级作为点声源的声压评价量,声级的衰减量ΔL和延迟的传输距离r之间满足以下公式(1):For example: under the condition of free field (free space), the sound wave attenuation of point sound source is generally spherical divergence law, if the sound level is used as the sound pressure evaluation quantity of point sound source, the attenuation of sound level ΔL and the delay transmission distance r The following formula (1) is satisfied:
ΔL=10lg(1/4πr 2)    公式(1) ΔL=10lg(1/4πr 2 ) Formula (1)
因此,在距离点声源r 1处至r 2处的声级衰减值可以通过以下公式(2)表示: Therefore, the sound level attenuation value at the distance from the point sound source r 1 to r 2 can be expressed by the following formula (2):
ΔL=20lg(r 1/r 2)   公式(2) ΔL=20lg(r 1 /r 2 ) Formula (2)
由于现有技术中,通过麦克风阵列进行声源测距时,需要大规模的麦克风阵列进行信号采集,占用面积较大,且要求麦克风阵列中各麦克风之间的间隔满足一定的距离条件。因此,采用现有的声源测距方法,当麦克风之间的间隔不满足距离条件和/或麦克风阵列的规模太小都会导致声源测距的准确性较差。Because in the prior art, when sound source ranging is performed by a microphone array, a large-scale microphone array is required for signal collection, which occupies a large area, and the interval between the microphones in the microphone array is required to satisfy a certain distance condition. Therefore, with the existing sound source ranging method, when the interval between the microphones does not satisfy the distance condition and/or the scale of the microphone array is too small, the accuracy of the sound source ranging will be poor.
而本申请实施例提供的声源测距方法、装置和系统,能够提高声源测距的准确性,从而提高声源定位的准确性。The sound source ranging method, device and system provided by the embodiments of the present application can improve the accuracy of sound source ranging, thereby improving the accuracy of sound source localization.
可选地,本申请实施例提供的声源测距系统可以适用于各种需要对声源进行测距或定位的场景,本申请实施例对此不作限定。例如:该声源测距系统可以适用于3D声场、语音识别、视频会议或人机交互等场景。Optionally, the sound source ranging system provided in this embodiment of the present application may be applicable to various scenarios where ranging or localization of a sound source is required, which is not limited in this embodiment of the present application. For example, the sound source ranging system can be applied to scenarios such as 3D sound field, speech recognition, video conference or human-computer interaction.
接下来将对本申请实施例所应用的声源测距系统进行介绍。Next, the sound source ranging system applied in the embodiments of the present application will be introduced.
图1示出了本申请实施例提供的声源测距系统100的示意性框图。如图1所示,该系统100包括声源测距装置110、第一子系统120和第二子系统130,该第一子系统120可以包括第一延迟装置121和第一麦克风122,该第二子系统130可以包括第二麦克风132。FIG. 1 shows a schematic block diagram of a sound source ranging system 100 provided by an embodiment of the present application. As shown in FIG. 1 , the system 100 includes a sound source ranging device 110 , a first subsystem 120 and a second subsystem 130 , and the first subsystem 120 may include a first delay device 121 and a first microphone 122 . The second subsystem 130 may include a second microphone 132 .
该第一延迟装置121用于获取声源的第一声波;对该第一声波进行第一传输距离的延迟处理,得到第二声波;向该第一麦克风122发送该第二声波。The first delay device 121 is used for acquiring the first sound wave of the sound source; delaying the first sound wave by the first transmission distance to obtain the second sound wave; and sending the second sound wave to the first microphone 122 .
可选地,该第一延迟装置121所实现的功能可以通过硬件或软件实现,本申请实施例对此不作限定。Optionally, the function implemented by the first delay device 121 may be implemented by hardware or software, which is not limited in this embodiment of the present application.
在一种可能的实现方式中,该第一延迟装置121可以为声学超材料制成的微结构。In a possible implementation manner, the first delay device 121 may be a microstructure made of acoustic metamaterials.
需要说明的是,声学超材料是由人工设计获得的,具有自然材料不具备的超常物理性质,其材料性质取决于亚波长人工微结构,且声学超材料的特性通过宏观物理特性来衡量。It should be noted that acoustic metamaterials are obtained by artificial design and have extraordinary physical properties that natural materials do not possess. Their material properties depend on subwavelength artificial microstructures, and the properties of acoustic metamaterials are measured by macroscopic physical properties.
还需要说明的是,声学超材料的微结构可以对经过的声波进行不同的延迟处理,从而控制经过该微结构的声波的干涉结果,实现声波的转向、聚焦、反射和/或反射控制等。It should also be noted that the microstructure of the acoustic metamaterial can perform different delay processing on the passing sound waves, so as to control the interference results of the sound waves passing through the microstructure, and realize the steering, focusing, reflection and/or reflection control of the sound waves, etc.
可选地,该微结构可以为声学超材料制成的迷宫式结构。Optionally, the microstructure can be a labyrinth-like structure made of acoustic metamaterials.
例如,图2示出了本申请实施例提供的微结构的一种可能的结构示意图,通过人为隔出的路径来延长声波的传输距离,输入接口输入的声波经过这些人工路径进行传输后声压得到衰减,并从输出接口输出声压衰减后的声波。For example, FIG. 2 shows a possible schematic structural diagram of the microstructure provided by the embodiment of the present application, the transmission distance of the sound wave is extended by artificially isolated paths, and the sound pressure after the sound wave input by the input interface is transmitted through these artificial paths Attenuation is obtained, and the sound wave after sound pressure attenuation is output from the output interface.
需要说明的是,该微结构中的路径长度和声压的衰减量之间的对应关系可以通过人工设计进行控制。It should be noted that the corresponding relationship between the path length in the microstructure and the attenuation of the sound pressure can be controlled by artificial design.
需要说明的是,由于声波的声压会随着传输距离的增加而衰减,因此,该微结构的路径越长,即对声波延长的传输距离越长,对应的声压的衰减量越大。It should be noted that since the sound pressure of the sound wave will be attenuated with the increase of the transmission distance, the longer the path of the microstructure, that is, the longer the transmission distance of the sound wave is extended, the greater the attenuation of the corresponding sound pressure.
例如:图3中示出的微结构的路径长度大于图2中示出的微结构的路径长度,即图3中示出的微结构所延长的传输距离大于图2中示出的微结构所延长的传输距离,因此,经过图3中示出的微结构的传输后声波的声压衰减量大于经过图2中示出的微结构传输后声波的衰减量。For example, the path length of the microstructure shown in FIG. 3 is greater than the path length of the microstructure shown in FIG. 2 , that is, the transmission distance extended by the microstructure shown in FIG. 3 is greater than that of the microstructure shown in FIG. 2 . Due to the extended transmission distance, the sound pressure attenuation of the sound wave after transmission through the microstructure shown in FIG. 3 is greater than the attenuation of the sound wave after transmission through the microstructure shown in FIG. 2 .
可选地,该微结构可以为多种形态,本申请实施例对此不作限定。Optionally, the microstructure may be in various forms, which are not limited in this embodiment of the present application.
例如:该微结构可以为呈图2中所示的回形迷宫型。For example, the microstructure may be in the shape of a labyrinth as shown in FIG. 2 .
又例如:该微结构可以呈如图4中所示的三角迷宫型。For another example, the microstructure can be in the shape of a triangular labyrinth as shown in FIG. 4 .
需要说明的是,由于微结构的路径长度越长,声压衰减量越大,在两个麦克风距离相同的情况下,能够等效增加声波的传输距离,因此能够提高声源测距的准确性。然而,微结构的路径长度越大,其所占用的面积就越大,为了降低该微结构的面积,可以采用叠加的多层微结构实现路径的增加。It should be noted that since the longer the path length of the microstructure is, the greater the sound pressure attenuation will be. Under the condition that the distance between the two microphones is the same, the transmission distance of the sound wave can be equivalently increased, so the accuracy of the sound source ranging can be improved. . However, the larger the path length of the microstructure, the larger the area it occupies. In order to reduce the area of the microstructure, the increase of the path can be achieved by using superimposed multi-layer microstructures.
该第一麦克风122用于采集该第二声波的声压;向该声源测距装置110发送该第二声波的声压。The first microphone 122 is used for collecting the sound pressure of the second sound wave; sending the sound pressure of the second sound wave to the sound source ranging device 110 .
需要说明的是,由于声压级是表征声压大小的指标,因此,本申请实施例中所述的声压也可以等效为声压级。It should be noted that, since the sound pressure level is an index representing the size of the sound pressure, the sound pressure described in the embodiments of the present application may also be equivalent to the sound pressure level.
在一种可能的实现方式中,图5示出了本申请实施例提供的第一子系统120的示意性结构图(侧视图),如图5所示,声波1从该第一延迟装置121的输入接口输入,经过该第一延迟装置121中路径的延迟,得到声压衰减后的声波2,并从输出接口输出至麦克风312。相应地,该麦克风312采集该声波2的声压。In a possible implementation manner, FIG. 5 shows a schematic structural diagram (side view) of the first subsystem 120 provided by the embodiment of the present application. As shown in FIG. 5 , the sound wave 1 is transmitted from the first delay device 121 The input interface of the input interface is input, and after the delay of the path in the first delay device 121 , the sound wave 2 after the sound pressure attenuation is obtained, and is output to the microphone 312 from the output interface. Accordingly, the microphone 312 collects the sound pressure of the sound wave 2 .
该第二麦克风132用于采集该声源的第三声波的声压;向该声源测距装置110发送该第三声波的声压。The second microphone 132 is used to collect the sound pressure of the third sound wave of the sound source; and send the sound pressure of the third sound wave to the sound source ranging device 110 .
该声源测距装置110用于获取该第二声波的声压、该第三声波的声压和该第一传输距离;根据该第二声波的声压、该第三声波的声压和该第一传输距离,确定该声源的目标距离。The sound source ranging device 110 is used to obtain the sound pressure of the second sound wave, the sound pressure of the third sound wave and the first transmission distance; according to the sound pressure of the second sound wave, the sound pressure of the third sound wave and the The first transmission distance determines the target distance of the sound source.
在一种可能的实现方式中,该声源测距装置110可以通过如下公式(3)确定该目标距离r sIn a possible implementation manner, the sound source ranging apparatus 110 may determine the target distance rs by the following formula (3).
Figure PCTCN2020112587-appb-000009
Figure PCTCN2020112587-appb-000009
其中,
Figure PCTCN2020112587-appb-000010
△r 1表示该第一传输距离,L 1表示该第二声波的声压,L 2表示该第三声波的声压。
in,
Figure PCTCN2020112587-appb-000010
Δr 1 represents the first transmission distance, L 1 represents the sound pressure of the second sound wave, and L 2 represents the sound pressure of the third sound wave.
可选地,该声源测距装置110可以通过多种方式获取该第二声波的声压、该第三声波的声压和该第一传输距离,本申请实施例对此不作限定。Optionally, the sound source ranging device 110 may acquire the sound pressure of the second sound wave, the sound pressure of the third sound wave, and the first transmission distance in various ways, which are not limited in this embodiment of the present application.
在一种可能的实现方式中,该声源测距装置110可以接收来自该第一麦克风122的该第二声波的声压和来自该第二麦克风132的该第三声波的声压。In a possible implementation manner, the sound source ranging device 110 may receive the sound pressure of the second sound wave from the first microphone 122 and the sound pressure of the third sound wave from the second microphone 132 .
在一种可能的实现方式中,声源测距装置110可以预先配置该第一传输距离;或者,该声源测距装置110可以接收来自该第一延迟装置121的该第一传输距离。In a possible implementation manner, the sound source ranging device 110 may preconfigure the first transmission distance; or, the sound source ranging device 110 may receive the first transmission distance from the first delay device 121 .
需要说明的是,本申请实施例提供的声源测距系统要求至少包括两个子系统,且两个子系统对声波延迟的传输距离的差值大于预设的距离阈值。It should be noted that the sound source ranging system provided by the embodiment of the present application requires at least two subsystems, and the difference between the transmission distances of the two subsystems to the acoustic wave delay is greater than a preset distance threshold.
可选地,该声源测距系统可以包括至少一个第一子系统和至少一个第二子系统,例如如图1中所述的系统100包括第一子系统120和第二子系统130;或者,该声源测距系统可以包括多个第一子系统,且该多个第一子系统中的至少两个第一子系统的延迟装置对声波延迟的传输距离的差值大于该距离阈值。Optionally, the sound source ranging system may include at least one first subsystem and at least one second subsystem, for example, the system 100 as described in FIG. 1 includes the first subsystem 120 and the second subsystem 130; or , the sound source ranging system may include a plurality of first subsystems, and the difference between the transmission distances of the delay devices of at least two first subsystems in the plurality of first subsystems to the acoustic wave delay is greater than the distance threshold.
图6示出了本申请实施例提供的另一声源测距系统200的示意性框图。如图6所示,该系统200包括声源测距装置210、第一子系统220和第二子系统230,该第一子系统220可以包括第一延迟装置221和第一麦克风222,该第二子系统230可以包括第二延迟装置231和第二麦克风232。FIG. 6 shows a schematic block diagram of another sound source ranging system 200 provided by an embodiment of the present application. As shown in FIG. 6 , the system 200 includes a sound source ranging device 210 , a first subsystem 220 and a second subsystem 230 . The first subsystem 220 may include a first delay device 221 and a first microphone 222 . The second subsystem 230 may include a second delay device 231 and a second microphone 232 .
该第一延迟装置221用于获取声源的第一声波;对该第一声波进行第一传输距离的延迟处理,得到第二声波;向该第一麦克风222发送该第二声波。The first delay device 221 is used for acquiring the first sound wave of the sound source; delaying the first sound wave by the first transmission distance to obtain the second sound wave; and sending the second sound wave to the first microphone 222 .
该第一麦克风222用于采集该第二声波的声压;向该声源测距装置210发送该第二声波的声压。The first microphone 222 is used for collecting the sound pressure of the second sound wave; sending the sound pressure of the second sound wave to the sound source ranging device 210 .
需要说明的是,该第一延迟装置221的功能和处理过程可以参考图1中所述的第一延迟装置121,该第一麦克风222的功能和处理过程可以参考图1中所述的第一麦克风122,为避免重复,此处不再赘述。It should be noted that the function and processing procedure of the first delay device 221 can refer to the first delay device 121 described in FIG. 1 , and the function and processing procedure of the first microphone 222 can refer to the first delay device 121 described in FIG. 1 . The microphone 122 is not repeated here in order to avoid repetition.
第二延迟装置231用于获取该声源的第四声波;对该第四声波的声压进行第二传输距离的延迟处理,得到该第三声波,该第二传输距离与该第一传输距离不同;向该第二麦克风232发送该第三声波。The second delay device 231 is used for acquiring the fourth sound wave of the sound source; delaying the sound pressure of the fourth sound wave by the second transmission distance to obtain the third sound wave, the second transmission distance and the first transmission distance Different; send the third sound wave to the second microphone 232.
例如:该第二传输距离与该第一传输距离的差值可以大于预设的距离阈值。For example, the difference between the second transmission distance and the first transmission distance may be greater than a preset distance threshold.
该第二麦克风232用于采集该声源的第三声波的声压;向该声源测距装置210发送该第三声波的声压。The second microphone 232 is used for collecting the sound pressure of the third sound wave of the sound source; sending the sound pressure of the third sound wave to the sound source ranging device 210 .
需要说明的是,该第二延迟装置231的功能和处理过程可以参考图1中所述的第一延迟装置121,该第二麦克风232的功能和处理过程可以参考图1中所述的第一麦克风122,为避免重复,此处不再赘述。It should be noted that the function and processing procedure of the second delay device 231 can refer to the first delay device 121 described in FIG. 1 , and the function and processing procedure of the second microphone 232 can refer to the first delay device 121 described in FIG. 1 . The microphone 122 is not repeated here in order to avoid repetition.
该声源测距装置210用于获取该第二声波的声压、该第三声波的声压、该第一传输距离和该第二传输距离;根据该第二声波的声压、该第三声波的声压、该第一传输距离和该第二传输距离,确定该声源的目标距离。The sound source ranging device 210 is used to obtain the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance; according to the sound pressure of the second sound wave, the third sound pressure The sound pressure of the sound wave, the first transmission distance and the second transmission distance determine the target distance of the sound source.
在一种可能的实现方式中,该声源测距装置210可以通过如下公式(4)确定该目标距离r sIn a possible implementation manner, the sound source ranging apparatus 210 may determine the target distance rs by the following formula (4).
Figure PCTCN2020112587-appb-000011
Figure PCTCN2020112587-appb-000011
其中,
Figure PCTCN2020112587-appb-000012
△r 1表示该第一传输距离,△r 2表示该第二传输距离,L 1表示该第二声波的声压,L 2表示该第三声波的声压。
in,
Figure PCTCN2020112587-appb-000012
Δr 1 represents the first transmission distance, Δr 2 represents the second transmission distance, L 1 represents the sound pressure of the second sound wave, and L 2 represents the sound pressure of the third sound wave.
需要说明的是,该声源测距装置210获取该第二声波的声压、该第三声波的声压、该第一传输距离和该第二传输距离的过程,可以参考该声源测距装置110获取该第二声波的声压、该第三声波的声压和该第一传输距离的过程,为避免重复,此处不再赘述。It should be noted that the process of acquiring the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance by the sound source ranging device 210 may refer to the sound source ranging The process of acquiring the sound pressure of the second sound wave, the sound pressure of the third sound wave, and the first transmission distance by the device 110 is not repeated here in order to avoid repetition.
可选地,当该声源测距系统包括三个或三个以上子系统时,可以根据预设的权重系数,对任意两个子系统测得的距离进行加权,得到最终的距离。Optionally, when the sound source ranging system includes three or more subsystems, the distances measured by any two subsystems may be weighted according to a preset weight coefficient to obtain the final distance.
例如:以该声源测距系统包括第一子系统1、第一子系统2和第二子系统为例,该声源测距系统中的声源测距装置可以通过以下公式(5)确定目标距离r sFor example: taking the sound source ranging system including the first subsystem 1, the first subsystem 2 and the second subsystem as an example, the sound source ranging device in the sound source ranging system can be determined by the following formula (5) target distance rs :
r s=a 1r s1+a 2r s2+a 3r s3   公式(5) r s =a 1 r s1 +a 2 r s2 +a 3 r s3 Formula (5)
其中,a 1表示第一权重系数,a 2表示第二权重系数,a 3表示第三权重系数,r s1表示通过该第一子系统1和该第一子系统2确定的第一距离,r s2表示通过该第一子系统1和该第二子系统确定的第二距离,r s3表示通过该第一子系统2和该第二子系统确定的第三距离。 Among them, a 1 represents the first weight coefficient, a 2 represents the second weight coefficient, a 3 represents the third weight coefficient, r s1 represents the first distance determined by the first subsystem 1 and the first subsystem 2, r s2 represents the second distance determined by the first subsystem 1 and the second subsystem, and rs3 represents the third distance determined by the first subsystem 2 and the second subsystem.
需要说明的是,通过该第一子系统1和该第一子系统2确定该第一距离的过程,可以参考图6中通过第一子系统220和第二子系统230确定目标距离的过程;通过该第一子系统1和该第二子系统确定该第二距离的过程,以及通过该第一子系统2和该第二子系统确定该第三距离的过程,可以参考图1中通过第一子系统120和第二子系统130确定目标距离的过程,为避免重复,此处不再赘述。It should be noted that, for the process of determining the first distance through the first subsystem 1 and the first subsystem 2, reference may be made to the process of determining the target distance through the first subsystem 220 and the second subsystem 230 in FIG. 6; The process of determining the second distance through the first subsystem 1 and the second subsystem, and the process of determining the third distance through the first subsystem 2 and the second subsystem can be referred to in FIG. The process of determining the target distance by the first subsystem 120 and the second subsystem 130 will not be repeated here in order to avoid repetition.
可选地,图7示出了本申请实施例提供的声源定位系统,该声源定位系统包括多个声源测距系统,图7中示出了声源测距系统1、声源测距系统2和声源测距系统3,其中,该声源测距系统1和该声源测距系统2之间的距离为d 1,该声源测距系统1和该声源测距系统3之间的距离为d 2,该声源测距系统2和该声源测距系统3之间的距离为d 3,该声源测距系统1确定的声源距离为r s1,该声源测距系统2确定的声源距离为r s2,该声源测距系统3确定的声源距离为r s3,可以根据d 1、d 2和d 3以及r s1、r s2和r s3,对该声源进行定位。 Optionally, FIG. 7 shows a sound source localization system provided by an embodiment of the present application, and the sound source localization system includes a plurality of sound source ranging systems. Distance system 2 and sound source ranging system 3, wherein the distance between the sound source ranging system 1 and the sound source ranging system 2 is d 1 , the sound source ranging system 1 and the sound source ranging system The distance between 3 is d 2 , the distance between the sound source ranging system 2 and the sound source ranging system 3 is d 3 , the sound source distance determined by the sound source ranging system 1 is r s1 , the sound source The sound source distance determined by the source ranging system 2 is rs2 , and the sound source distance determined by the sound source ranging system 3 is rs3 . According to d 1 , d 2 and d 3 and rs 1 , rs 2 and rs 3 , Locate the sound source.
例如:可以采用三边测量定位算法,根据d 1、d 2和d 3以及r s1、r s2和r s3,对该声源进行定位。 For example, a trilateration localization algorithm can be used to localize the sound source according to d 1 , d 2 and d 3 and rs 1 , rs 2 and rs 3 .
可选地,在上述各声源测距系统中,每个子系统中的延迟装置和麦克风可以为两个独立的装置,或者,延迟装置可以集成在麦克风中,本申请实施例对此不作限定。Optionally, in each of the above sound source ranging systems, the delay device and the microphone in each subsystem may be two independent devices, or the delay device may be integrated in the microphone, which is not limited in this embodiment of the present application.
可选地,上述各声源测距系统中包括的多个子系统可以设置在多个终端设备中,或者,多个子系统可以设置在同一个终端设备中,本申请实施例对此不作限定。Optionally, multiple subsystems included in each of the above sound source ranging systems may be set in multiple terminal devices, or multiple subsystems may be set in the same terminal device, which is not limited in this embodiment of the present application.
可选地,上述各声源测距系统中包括的声源测距装置与多个子系统中的至少一个可以设置在同一个终端设备中,或者,声源测距装置与多个子系统可以设置在不同的终端设备中,本申请实施例对此不作限定。Optionally, the sound source ranging device and at least one of the multiple subsystems included in the above-mentioned sound source ranging systems can be arranged in the same terminal device, or the sound source ranging device and multiple subsystems can be arranged in the same terminal device. Among different terminal devices, this embodiment of the present application does not limit this.
可选地,终端设备又可称之为用户设备(user equipment,UE),可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等),本申请实施例对此不作限定。Optionally, the terminal device can also be called user equipment (UE), which can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; it can also be deployed on water (such as ships, etc.); it can also be deployed In the air (for example, on an airplane, a balloon, and a satellite, etc.), this embodiment of the present application does not limit it.
例如:终端设备可以是手机(mobile phone)、平板电脑(pad)、具备无线通讯功能的可穿戴设备(如智能手表)、具有定位功能的位置追踪器、带无线收发功能的电脑、虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线设备、无人驾驶(self driving)中的无线设备、远程医疗(remote medical)中的无线设备、智能电网(smart grid)中的无线设备、运输安全(transportation  safety)中的无线设备、智慧城市(smart city)中的无线设备或智慧家庭(smart home)中的无线设备等,本申请实施例对此不作限定。For example, the terminal device can be a mobile phone, a tablet computer (pad), a wearable device with wireless communication function (such as a smart watch), a position tracker with a positioning function, a computer with a wireless transceiver function, a virtual reality ( virtual reality (VR) devices, augmented reality (AR) devices, wireless devices in industrial control, wireless devices in self-driving, wireless devices in remote medical , a wireless device in a smart grid, a wireless device in transportation safety, a wireless device in a smart city, or a wireless device in a smart home, etc., embodiments of the present application This is not limited.
本申请实施例提供的声源测距系统,通过在麦克风前增加延迟装置对声波的传输距离进行延迟,以增加不同麦克风处采集的声波的声压差,能够提高声源测距的准确性,从而提高声源定位的准确性。In the sound source ranging system provided by the embodiment of the present application, by adding a delay device in front of the microphone to delay the transmission distance of the sound wave, so as to increase the sound pressure difference of the sound waves collected at different microphones, the accuracy of the sound source ranging can be improved, Thus, the accuracy of sound source localization is improved.
上面结合图1至图6介绍了本申请实施例提供的声源测距系统,下面将结合图8介绍本申请实施例提供的声源测距方法。The sound source ranging system provided by the embodiment of the present application is described above with reference to FIGS. 1 to 6 , and the sound source ranging method provided by the embodiment of the present application will be described below with reference to FIG. 8 .
图8示出了本申请实施例提供的声源测距方法300的示意性流程图。该方法300可以应用于本申请实施例提供的声源测距系统,并由其中的声源测距装置执行。FIG. 8 shows a schematic flowchart of a sound source ranging method 300 provided by an embodiment of the present application. The method 300 can be applied to the sound source ranging system provided by the embodiments of the present application, and is executed by the sound source ranging apparatus therein.
S310,通过第一麦克风采集声源的第二声波的声压,该第二声波是通过对该声源的第一声波进行第一传输距离的延迟处理后得到的。S310 , the sound pressure of the second sound wave of the sound source is collected by the first microphone, where the second sound wave is obtained by performing delay processing on the first sound wave of the sound source by the first transmission distance.
S320,通过第二麦克风采集该声源的第三声波的声压。S320, the sound pressure of the third sound wave of the sound source is collected by the second microphone.
S330,根据该第二声波的声压、该第三声波的声压和该第一传输距离,确定该声源的目标距离。S330: Determine the target distance of the sound source according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, and the first transmission distance.
在一种可能的实现方式中,可以通过上述公式(3)确定该目标距离r sIn a possible implementation manner, the target distance rs can be determined by the above formula (3).
在一种可能的实现方式中,该第三声波是通过对该声源的第四声波进行第二传输距离的延迟处理后得到的,该第二传输距离与该第一传输距离的差值大于预设的距离阈值;该根据该第二声波的声压、该第三声波的声压和该第一传输距离,确定该声源的目标距离,包括:根据该第二声波的声压、该第三声波的声压、该第一传输距离和该第二传输距离,确定该目标距离。In a possible implementation manner, the third sound wave is obtained by delaying the fourth sound wave of the sound source by a second transmission distance, where the difference between the second transmission distance and the first transmission distance is greater than A preset distance threshold; determining the target distance of the sound source according to the sound pressure of the second sound wave, the sound pressure of the third sound wave and the first transmission distance, including: according to the sound pressure of the second sound wave, the The sound pressure of the third sound wave, the first transmission distance and the second transmission distance determine the target distance.
在一种可能的实现方式中,可以通过上述公式(4)确定该目标距离r sIn a possible implementation manner, the target distance rs can be determined by the above formula (4).
在一种可能的实现方式中,该方法还包括:通过第三麦克风采集该声源的第五声波的声压;该根据该第二声波的声压、该第三声波的声压、该第一传输距离和该第二传输距离,确定该目标距离,包括:根据该第二声波的声压、该第三声波的声压、该第五声波的声压、该第一传输距离和该第二传输距离,确定该目标距离。In a possible implementation manner, the method further includes: collecting the sound pressure of the fifth sound wave of the sound source through a third microphone; according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the A transmission distance and the second transmission distance, determining the target distance, including: according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance and the first transmission distance. 2. Transmission distance, determine the target distance.
在一种可能的实现方式中,该根据该第二声波的声压、该第三声波的声压、该第五声波的声压、该第一传输距离和该第二传输距离,确定该目标距离,包括:根据该第二声波的声压、该第三声波的声压、该第一传输距离和该第二传输距离,确定该声源的第一距离;根据该第二声波的声压、该第五声波的声压和该第一传输距离,确定该声源的第二距离;根据该第三声波的声压、该第五声波的声压和该第二传输距离,确定该声源的第三距离;根据该第一距离、该第二距离和该第三距离,确定该目标距离。In a possible implementation manner, the target is determined according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance and the second transmission distance The distance includes: determining the first distance of the sound source according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance; according to the sound pressure of the second sound wave , the sound pressure of the fifth sound wave and the first transmission distance, determine the second distance of the sound source; according to the sound pressure of the third sound wave, the sound pressure of the fifth sound wave and the second transmission distance, determine the sound The third distance of the source; the target distance is determined according to the first distance, the second distance and the third distance.
在一种可能的实现方式中,该第五声波是通过对该声源的第六声波进行第三传输距离的延迟处理后得到的,该第二传输距离与该第三传输距离不同;该根据该第二声波的声压、该第三声波的声压、该第五声波的声压、该第一传输距离和该第二传输距离,确定该目标距离,包括:根据该第二声波的声压、该第三声波的声压、该第五声波的声压、该第一传输距离、该第二传输距离和该第三传输距离,确定该目标距离。In a possible implementation manner, the fifth sound wave is obtained by delaying the sixth sound wave of the sound source by a third transmission distance, and the second transmission distance is different from the third transmission distance; the The sound pressure of the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance and the second transmission distance, and determining the target distance includes: according to the sound pressure of the second sound wave The target distance is determined based on the pressure, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance, the second transmission distance and the third transmission distance.
在一种可能的实现方式中,该根据该第二声波的声压、该第三声波的声压、该第五声波的声压、该第一传输距离、该第二传输距离和该第三传输距离,确定该目标距离,包括:根据该第二声波的声压、该第三声波的声压、该第一传输距离和该第二传输距离,确定该 声源的第一距离;根据该第三声波的声压、该第五声波的声压、该第二传输距离和该第三传输距离,确定该声源的第二距离;根据该第二声波的声压、该第五声波的声压、该第一传输距离和该第三传输距离,确定该声源的第三距离;根据该第一距离、该第二距离和该第三距离,确定该目标距离。In a possible implementation manner, the sound pressure according to the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance, the second transmission distance and the third Transmission distance, determining the target distance includes: determining the first distance of the sound source according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance; The sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the second transmission distance and the third transmission distance determine the second distance of the sound source; according to the sound pressure of the second sound wave, the sound pressure of the fifth sound wave The sound pressure, the first transmission distance and the third transmission distance determine the third distance of the sound source; and the target distance is determined according to the first distance, the second distance and the third distance.
在一种可能的实现方式中,可以通过上述公式(5)确定该目标距离r sIn a possible implementation manner, the target distance rs can be determined by the above formula (5).
需要说明的是,上述各步骤可以参考上述声源测距系统中声源测距装置的介绍,为避免重复,此处不再赘述。It should be noted that, for the above steps, reference may be made to the introduction of the sound source ranging device in the above sound source ranging system, and in order to avoid repetition, details are not repeated here.
上面结合图8介绍了本申请实施例提供的声源测距方法,下面将结合图9至图10介绍本申请实施例提供的声源测距装置400。The sound source ranging method provided by the embodiment of the present application is described above with reference to FIG. 8 , and the sound source ranging apparatus 400 provided by the embodiment of the present application will be described below with reference to FIGS. 9 to 10 .
需要说明的是,装置400可以为上述系统100实施例、系统200实施例和方法300实施例中所述的声源测距装置,本申请实施例对此不作限定。It should be noted that the apparatus 400 may be the sound source ranging apparatus described in the foregoing system 100 embodiment, system 200 embodiment, and method 300 embodiment, which is not limited in this embodiment of the present application.
可以理解的是,装置400为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。It can be understood that, in order to realize the above-mentioned functions, the apparatus 400 includes corresponding hardware and/or software modules for executing each function. The present application can be implemented in hardware or in the form of a combination of hardware and computer software in conjunction with the algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functionality for each particular application in conjunction with the embodiments, but such implementations should not be considered beyond the scope of this application.
本实施例可以根据上述方法示例对装置400进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块可以采用硬件的形式实现。需要说明的是,本实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment, the apparatus 400 may be divided into functional modules according to the foregoing method examples. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware. It should be noted that, the division of modules in this embodiment is schematic, and is only a logical function division, and there may be other division manners in actual implementation.
在采用对应各个功能划分各个功能模块的情况下,图9示出了上述各实施例中涉及的声源测距装置的一种可能的组成示意图,如图9所示,该装置400可以包括:收发单元410和处理单元420。In the case where each functional module is divided according to each function, FIG. 9 shows a possible schematic diagram of the composition of the sound source ranging apparatus involved in the above embodiments. As shown in FIG. 9 , the apparatus 400 may include: Transceiver unit 410 and processing unit 420.
其中,处理单元420可以控制收发单元410实现上述方法300实施例中所述的方法,和/或用于本文所描述的技术的其他过程。The processing unit 420 may control the transceiver unit 410 to implement the methods described in the above embodiments of the method 300, and/or other processes for the techniques described herein.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that, all relevant contents of the steps involved in the above method embodiments can be cited in the functional description of the corresponding functional module, which will not be repeated here.
本实施例提供的装置400用于执行上述方法300,因此可以达到与上述实现方法相同的效果。The apparatus 400 provided in this embodiment is used to execute the foregoing method 300, and thus can achieve the same effect as the foregoing implementation method.
在采用集成的单元的情况下,装置400可以包括处理单元、存储单元和通信单元。其中,处理单元可以用于对装置400的动作进行控制管理,例如,可以用于支持装置400执行上述各个单元执行的步骤。存储单元可以用于支持装置400执行存储程序代码和数据等。通信单元可以用于支持装置400与其他装置的通信。Where an integrated unit is employed, the apparatus 400 may include a processing unit, a storage unit, and a communication unit. The processing unit may be used to control and manage the actions of the apparatus 400, for example, may be used to support the apparatus 400 to perform the steps performed by the above units. The storage unit may be used to support the execution of the apparatus 400 to store program codes, data, and the like. The communication unit may be used to support communication of the device 400 with other devices.
其中,处理单元可以是处理器或控制器。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理(digital signal processing,DSP)和微处理器的组合等等。存储单元可以是存储器。通信单元具体可以为射频电路、蓝牙芯片、Wi-Fi芯片等与其他电子设备交互的设备。The processing unit may be a processor or a controller. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and the like. The storage unit may be a memory. The communication unit may specifically be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, and a Wi-Fi chip.
在一种可能的实现方式中,本实施例所涉及的装置400可以为具有图5所示结构的声源测距装置500,该装置500包括处理器510和收发器520,该处理器510和收发器520通过内部连接通路互相通信。图25中的处理单元420所实现的相关功能可以由处理器510来实现,收发单元45所实现的相关功能可以由处理器510控制收发器520来实现。In a possible implementation manner, the apparatus 400 involved in this embodiment may be a sound source ranging apparatus 500 having the structure shown in FIG. 5 , the apparatus 500 includes a processor 510 and a transceiver 520 , the processor 510 and the The transceivers 520 communicate with each other through internal connection paths. The related functions implemented by the processing unit 420 in FIG. 25 can be implemented by the processor 510 , and the related functions implemented by the transceiver unit 45 can be implemented by the processor 510 controlling the transceiver 520 .
可选地,该装置500还可以包括存储器530,该处理器510、该收发器520和该存储器530通过内部连接通路互相通信。图9中所述的存储单元所实现的相关功能可以由存储器530来实现。Optionally, the apparatus 500 may further include a memory 530, and the processor 510, the transceiver 520 and the memory 530 communicate with each other through an internal connection path. The related functions implemented by the storage unit described in FIG. 9 may be implemented by the memory 530 .
本申请实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的声源测距方法。Embodiments of the present application further provide a computer storage medium, where computer instructions are stored in the computer storage medium, and when the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to realize the sound source detection in the above-mentioned embodiments. distance method.
本申请实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的声源测距方法。The embodiment of the present application also provides a computer program product, which when the computer program product runs on the computer, causes the computer to execute the above-mentioned relevant steps, so as to realize the sound source ranging method in the above-mentioned embodiment.
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的声源测距方法。In addition, the embodiments of the present application also provide an apparatus, which may specifically be a chip, a component or a module, and the apparatus may include a connected processor and a memory; wherein, the memory is used for storing computer execution instructions, and when the apparatus is running, The processor can execute the computer-executable instructions stored in the memory, so that the chip executes the sound source ranging method in the above method embodiments.
图11示出了一种芯片600的结构示意图。芯片600包括一个或多个处理器610以及接口电路620。可选的,所述芯片600还可以包含总线630。其中:FIG. 11 shows a schematic structural diagram of a chip 600 . Chip 600 includes one or more processors 610 and interface circuits 620 . Optionally, the chip 600 may further include a bus 630 . in:
处理器610可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器610中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器610可以是通用处理器、DSP、ASIC、FPGA或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 610 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method can be completed by an integrated logic circuit of hardware in the processor 610 or an instruction in the form of software. The aforementioned processor 610 may be a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. Various methods and steps disclosed in the embodiments of this application can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
接口电路620可以用于雷达信号的发送或者接收,处理器610可以利用接口电路620接收的雷达信号进行加工,可以将加工完成信息通过接口电路620发送出去。The interface circuit 620 can be used for sending or receiving radar signals. The processor 610 can process the radar signals received by the interface circuit 620 , and can send the processing completion information through the interface circuit 620 .
可选的,芯片还包括存储器,存储器可以包括只读存储器和随机存取存储器,并向处理器提供操作指令和数据。存储器的一部分还可以包括非易失性随机存取存储器(non-volatile random access memory,NVRAM)。Optionally, the chip further includes a memory, which may include a read-only memory and a random access memory, and provides operation instructions and data to the processor. A portion of the memory may also include non-volatile random access memory (NVRAM).
可选的,存储器存储了可执行软件模块或者数据结构,处理器可以通过调用存储器存储的操作指令(该操作指令可存储在操作系统中),执行相应的操作。Optionally, the memory stores executable software modules or data structures, and the processor may execute corresponding operations by calling operation instructions stored in the memory (the operation instructions may be stored in the operating system).
可选的,芯片可以使用在本申请实施例涉及的声源测距系统中。可选的,接口电路620可用于输出处理器610的执行结果。关于本申请的一个或多个实施例提供的声源测距方法可参考前述各个实施例,这里不再赘述。Optionally, the chip may be used in the sound source ranging system involved in the embodiments of the present application. Optionally, the interface circuit 620 may be used to output the execution result of the processor 610 . For the sound source ranging method provided by one or more embodiments of the present application, reference may be made to the foregoing embodiments, which will not be repeated here.
需要说明的,处理器610、接口电路620各自对应的功能既可以通过硬件设计实现,也可以通过软件设计来实现,还可以通过软硬件结合的方式来实现,这里不作限制。It should be noted that the respective functions of the processor 610 and the interface circuit 620 may be implemented by hardware design, software design, or a combination of software and hardware, which is not limited here.
其中,本实施例提供的声源测距方法、声源测距装置、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Among them, the sound source ranging method, sound source ranging device, computer storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding methods provided above, and therefore, the beneficial effects that can be achieved are achieved. The beneficial effects in the corresponding methods provided above can be referred to, and details are not repeated here.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的 先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution, and the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (23)

  1. 一种声源测距方法,其特征在于,包括:A sound source ranging method, comprising:
    通过第一麦克风采集声源的第二声波的声压,所述第二声波是通过对所述声源的第一声波进行第一传输距离的延迟处理后得到的;The sound pressure of the second sound wave of the sound source is collected by the first microphone, and the second sound wave is obtained by performing delay processing on the first sound wave of the sound source by the first transmission distance;
    通过第二麦克风采集所述声源的第三声波的声压;collecting the sound pressure of the third sound wave of the sound source through the second microphone;
    根据所述第二声波的声压、所述第三声波的声压和所述第一传输距离,确定所述声源的目标距离。The target distance of the sound source is determined according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, and the first transmission distance.
  2. 根据权利要求1所述的方法,其特征在于,通过以下公式确定所述目标距离r sThe method according to claim 1, wherein the target distance rs is determined by the following formula:
    Figure PCTCN2020112587-appb-100001
    Figure PCTCN2020112587-appb-100001
    其中,
    Figure PCTCN2020112587-appb-100002
    △r 1表示所述第一传输距离,L 1表示所述第二声波的声压,L 2表示所述第三声波的声压。
    in,
    Figure PCTCN2020112587-appb-100002
    Δr 1 represents the first transmission distance, L 1 represents the sound pressure of the second sound wave, and L 2 represents the sound pressure of the third sound wave.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第三声波是通过对所述声源的第四声波进行第二传输距离的延迟处理后得到的,所述第二传输距离与所述第一传输距离不同;The method according to claim 1 or 2, wherein the third sound wave is obtained by performing delay processing on the fourth sound wave of the sound source by a second transmission distance, and the second transmission distance is the same as the first transmission distances are different;
    所述根据所述第二声波的声压、所述第三声波的声压和所述第一传输距离,确定所述声源的目标距离,包括:The determining the target distance of the sound source according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, and the first transmission distance includes:
    根据所述第二声波的声压、所述第三声波的声压、所述第一传输距离和所述第二传输距离,确定所述目标距离。The target distance is determined according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance.
  4. 根据权利要求3所述的方法,其特征在于,通过以下公式确定所述目标距离r sThe method according to claim 3, wherein the target distance rs is determined by the following formula:
    Figure PCTCN2020112587-appb-100003
    Figure PCTCN2020112587-appb-100003
    其中,
    Figure PCTCN2020112587-appb-100004
    △r 1表示所述第一传输距离,△r 2表示所述第二传输距离,L 1表示所述第二声波的声压,L 2表示所述第三声波的声压。
    in,
    Figure PCTCN2020112587-appb-100004
    Δr 1 represents the first transmission distance, Δr 2 represents the second transmission distance, L 1 represents the sound pressure of the second sound wave, and L 2 represents the sound pressure of the third sound wave.
  5. 根据权利要求3或4所述的方法,其特征在于,所述方法还包括:The method according to claim 3 or 4, wherein the method further comprises:
    通过第三麦克风采集所述声源的第五声波的声压;collecting the sound pressure of the fifth sound wave of the sound source through a third microphone;
    所述根据所述第二声波的声压、所述第三声波的声压、所述第一传输距离和所述第二传输距离,确定所述目标距离,包括:The determining the target distance according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance includes:
    根据所述第二声波的声压、所述第三声波的声压、所述第五声波的声压、所述第一传输距离和所述第二传输距离,确定所述目标距离。The target distance is determined according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance and the second transmission distance.
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述第二声波的声压、所述第三声波的声压、所述第五声波的声压、所述第一传输距离和所述第二传输距离,确定所述目标距离,包括:The method according to claim 5, wherein the sound pressure according to the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance and The second transmission distance, determining the target distance, includes:
    根据所述第二声波的声压、所述第三声波的声压、所述第一传输距离和所述第二传输距离,确定所述声源的第一距离;Determine the first distance of the sound source according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance;
    根据所述第二声波的声压、所述第五声波的声压和所述第一传输距离,确定所述声源的第二距离;determining the second distance of the sound source according to the sound pressure of the second sound wave, the sound pressure of the fifth sound wave and the first transmission distance;
    根据所述第三声波的声压、所述第五声波的声压和所述第二传输距离,确定所述声源的第三距离;determining the third distance of the sound source according to the sound pressure of the third sound wave, the sound pressure of the fifth sound wave and the second transmission distance;
    根据所述第一距离、所述第二距离和所述第三距离,确定所述目标距离。The target distance is determined based on the first distance, the second distance and the third distance.
  7. 根据权利要求5或6所述的方法,其特征在于,所述第五声波是通过对所述声源的第六声波进行第三传输距离的延迟处理后得到的,所述第三传输距离、所述第一传输距离和所述第二传输距离不同;The method according to claim 5 or 6, wherein the fifth sound wave is obtained by delaying the sixth sound wave of the sound source by a third transmission distance, the third transmission distance, the first transmission distance and the second transmission distance are different;
    所述根据所述第二声波的声压、所述第三声波的声压、所述第五声波的声压、所述第一传输距离和所述第二传输距离,确定所述目标距离,包括:the target distance is determined according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance and the second transmission distance, include:
    根据所述第二声波的声压、所述第三声波的声压、所述第五声波的声压、所述第一传输距离、所述第二传输距离和所述第三传输距离,确定所述目标距离。According to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance, the second transmission distance and the third transmission distance, determine the target distance.
  8. 根据权利要求7所述的方法,其特征在于,所述根据所述第二声波的声压、所述第三声波的声压、所述第五声波的声压、所述第一传输距离、所述第二传输距离和所述第三传输距离,确定所述目标距离,包括:The method according to claim 7, wherein, according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance, The second transmission distance and the third transmission distance, determining the target distance, including:
    根据所述第二声波的声压、所述第三声波的声压、所述第一传输距离和所述第二传输距离,确定所述声源的第一距离;Determine the first distance of the sound source according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance;
    根据所述第三声波的声压、所述第五声波的声压、所述第二传输距离和所述第三传输距离,确定所述声源的第二距离;determining the second distance of the sound source according to the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the second transmission distance and the third transmission distance;
    根据所述第二声波的声压、所述第五声波的声压、所述第一传输距离和所述第三传输距离,确定所述声源的第三距离;determining the third distance of the sound source according to the sound pressure of the second sound wave, the sound pressure of the fifth sound wave, the first transmission distance and the third transmission distance;
    根据所述第一距离、所述第二距离和所述第三距离,确定所述目标距离。The target distance is determined based on the first distance, the second distance and the third distance.
  9. 根据权利要求6或8所述的方法,其特征在于,通过以下公式确定所述目标距离r sThe method according to claim 6 or 8, wherein the target distance rs is determined by the following formula:
    r s=a 1r s1+a 2r s2+a 3r s3r s =a 1 r s1 +a 2 r s2 +a 3 r s3 ,
    其中,a 1表示第一权重系数,a 2表示第二权重系数,a 3表示第三权重系数,r s1表示所述第一距离,r s2表示所述第二距离,r s3表示所述第三距离,a 1+a 2+a 3=1。 Among them, a 1 represents the first weight coefficient, a 2 represents the second weight coefficient, a 3 represents the third weight coefficient, rs s1 represents the first distance, rs 2 represents the second distance, and rs 3 represents the first distance Three distances, a 1 +a 2 +a 3 =1.
  10. 一种声源测距系统,其特征在于,包括:A sound source ranging system, comprising:
    第一延迟装置,用于获取声源的第一声波;对所述第一声波进行第一传输距离的延迟处理,得到第二声波;a first delay device for acquiring the first sound wave of the sound source; performing delay processing on the first sound wave by the first transmission distance to obtain the second sound wave;
    第一麦克风,用于采集所述第二声波的声压;a first microphone for collecting the sound pressure of the second sound wave;
    第二麦克风,用于采集所述声源的第三声波的声压;a second microphone for collecting the sound pressure of the third sound wave of the sound source;
    声源测距装置,用于根据所述第二声波的声压、所述第三声波的声压和所述第一传输距离,确定所述声源的目标距离。The sound source ranging device is used for determining the target distance of the sound source according to the sound pressure of the second sound wave, the sound pressure of the third sound wave and the first transmission distance.
  11. 根据权利要求10所述的系统,其特征在于,所述声源测距装置具体用于通过以下公式确定所述目标距离r sThe system according to claim 10, wherein the sound source ranging device is specifically configured to determine the target distance rs by the following formula:
    Figure PCTCN2020112587-appb-100005
    Figure PCTCN2020112587-appb-100005
    其中,
    Figure PCTCN2020112587-appb-100006
    △r 1表示所述第一传输距离,L 1表示所述第二声波的声压,L 2表示所述第三声波的声压。
    in,
    Figure PCTCN2020112587-appb-100006
    Δr 1 represents the first transmission distance, L 1 represents the sound pressure of the second sound wave, and L 2 represents the sound pressure of the third sound wave.
  12. 根据权利要求10或11所述的系统,其特征在于,所述系统还包括第二延迟装置,The system according to claim 10 or 11, wherein the system further comprises a second delay device,
    所述第二延迟装置用于在所述第二麦克风采集所述声源的第三声波的声压之前,获取所述声源的第四声波;对所述第四声波的声压进行第二传输距离的延迟处理,得到所述第三声波,所述第二传输距离与所述第一传输距离不同;The second delay device is configured to acquire the fourth sound wave of the sound source before the second microphone collects the sound pressure of the third sound wave of the sound source; Delay processing of the transmission distance to obtain the third sound wave, and the second transmission distance is different from the first transmission distance;
    所述声源测距装置具体用于根据所述第二声波的声压、所述第三声波的声压、所述第一传输距离和所述第二传输距离,确定所述目标距离。The sound source ranging device is specifically configured to determine the target distance according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance.
  13. 根据权利要求12所述的系统,其特征在于,所述声源测距装置具体用于通过以下公式确定所述目标距离r sThe system according to claim 12, wherein the sound source ranging device is specifically configured to determine the target distance rs by the following formula:
    Figure PCTCN2020112587-appb-100007
    Figure PCTCN2020112587-appb-100007
    其中,
    Figure PCTCN2020112587-appb-100008
    △r 1表示所述第一传输距离,△r 2表示所述第二传输距离,L 1表示所述第二声波的声压,L 2表示所述第三声波的声压。
    in,
    Figure PCTCN2020112587-appb-100008
    Δr 1 represents the first transmission distance, Δr 2 represents the second transmission distance, L 1 represents the sound pressure of the second sound wave, and L 2 represents the sound pressure of the third sound wave.
  14. 根据权利要求12或13所述的系统,其特征在于,所述系统还包括第三麦克风,The system according to claim 12 or 13, wherein the system further comprises a third microphone,
    所述第三麦克风用于采集所述声源的第五声波的声压;the third microphone is used to collect the sound pressure of the fifth sound wave of the sound source;
    所述声源测距装置具体用于根据所述第二声波的声压、所述第三声波的声压、所述第五声波的声压、所述第一传输距离和所述第二传输距离,确定所述目标距离。The sound source ranging device is specifically configured to measure the sound pressure of the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance and the second transmission distance. distance to determine the target distance.
  15. 根据权利要求14所述的系统,其特征在于,所述声源测距装置具体用于:The system according to claim 14, wherein the sound source ranging device is specifically used for:
    根据所述第二声波的声压、所述第三声波的声压、所述第一传输距离和所述第二传输距离,确定所述声源的第一距离;Determine the first distance of the sound source according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance;
    根据所述第二声波的声压、所述第五声波的声压和所述第一传输距离,确定所述声源的第二距离;determining the second distance of the sound source according to the sound pressure of the second sound wave, the sound pressure of the fifth sound wave and the first transmission distance;
    根据所述第三声波的声压、所述第五声波的声压和所述第二传输距离,确定所述声源的第三距离;determining the third distance of the sound source according to the sound pressure of the third sound wave, the sound pressure of the fifth sound wave and the second transmission distance;
    根据所述第一距离、所述第二距离和所述第三距离,确定所述目标距离。The target distance is determined based on the first distance, the second distance and the third distance.
  16. 根据权利要求14或15所述的系统,其特征在于,所述系统还包括第三延迟装置,The system according to claim 14 or 15, wherein the system further comprises a third delay device,
    所述第三延迟装置用于在所述第三麦克风采集所述声源的第五声波的声压之前,获取所述声源的第六声波;对所述第六声波进行第三传输距离的延迟处理,得到所述第五声波,所述第三传输距离、所述第一传输距离和所述第二传输距离不同;The third delay device is configured to acquire the sixth sound wave of the sound source before the third microphone collects the sound pressure of the fifth sound wave of the sound source; and perform a third transmission distance measurement on the sixth sound wave. delay processing to obtain the fifth sound wave, the third transmission distance, the first transmission distance and the second transmission distance are different;
    所述声源测距装置具体用于根据所述第二声波的声压、所述第三声波的声压、所述第五声波的声压、所述第一传输距离、所述第二传输距离和所述第三传输距离,确定所述目标距离。The sound source ranging device is specifically configured to measure the sound pressure of the second sound wave, the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the first transmission distance, and the second transmission distance. The distance and the third transmission distance determine the target distance.
  17. 根据权利要求16所述的系统,其特征在于,所述声源测距装置具体用于:The system according to claim 16, wherein the sound source ranging device is specifically used for:
    根据所述第二声波的声压、所述第三声波的声压、所述第一传输距离和所述第二传输距离,确定所述声源的第一距离;Determine the first distance of the sound source according to the sound pressure of the second sound wave, the sound pressure of the third sound wave, the first transmission distance and the second transmission distance;
    根据所述第三声波的声压、所述第五声波的声压、所述第二传输距离和所述第三传输距离,确定所述声源的第二距离;determining the second distance of the sound source according to the sound pressure of the third sound wave, the sound pressure of the fifth sound wave, the second transmission distance and the third transmission distance;
    根据所述第二声波的声压、所述第五声波的声压、所述第一传输距离和所述第三传输距离,确定所述声源的第三距离;determining the third distance of the sound source according to the sound pressure of the second sound wave, the sound pressure of the fifth sound wave, the first transmission distance and the third transmission distance;
    根据所述第一距离、所述第二距离和所述第三距离,确定所述目标距离。The target distance is determined based on the first distance, the second distance and the third distance.
  18. 根据权利要求15或17所述的系统,其特征在于,所述声源测距装置具体用于通过以下公式确定所述目标距离r sThe system according to claim 15 or 17, wherein the sound source ranging device is specifically configured to determine the target distance rs by the following formula:
    r s=a 1r s1+a 2r s2+a 3r s3r s =a 1 r s1 +a 2 r s2 +a 3 r s3 ,
    其中,a 1表示第一权重系数,a 2表示第二权重系数,a 3表示第三权重系数,r s1表示所述第一距离,r s2表示所述第二距离,r s3表示所述第三距离,a 1+a 2+a 3=1。 Among them, a 1 represents the first weight coefficient, a 2 represents the second weight coefficient, a 3 represents the third weight coefficient, rs s1 represents the first distance, rs 2 represents the second distance, and rs 3 represents the first distance Three distances, a 1 +a 2 +a 3 =1.
  19. 一种声源测距装置,其特征在于,用于执行上述权利要求1至9中任一项所述的方法。A sound source ranging device, characterized in that it is used for performing the method according to any one of the above claims 1 to 9 .
  20. 一种声源测距装置,包括存储器、至少一个处理器、通信接口及存储在所述存储器上并可在所述处理器上运行的指令,所述存储器、所述处理器以及所述通信接口之间通过内部连接通路互相通信,其特征在于,所述至少一个处理器执行所述指令使得所述装置实现上述权利要求1至9中任一项所述的方法。A sound source ranging device comprising a memory, at least one processor, a communication interface and instructions stored on the memory and executable on the processor, the memory, the processor and the communication interface They communicate with each other through an internal connection path, wherein the at least one processor executes the instructions to cause the device to implement the method according to any one of claims 1 to 9.
  21. 一种终端设备,其特征在于,包括上述权利要求10至18中任一项所述的声源测距系统。A terminal device, characterized by comprising the sound source ranging system according to any one of claims 10 to 18.
  22. 一种计算机可读存储介质,用于存储计算机程序,其特征在于,所述计算机程序包括用于实现上述权利要求1至9中任一项所述的方法的指令。A computer-readable storage medium for storing a computer program, characterized in that, the computer program includes instructions for implementing the method according to any one of the above claims 1 to 9.
  23. 一种计算机程序产品,所述计算机程序产品中包含指令,其特征在于,当所述指令在计算机或处理器上运行时,使得所述计算机或所述处理器实现上述权利要求1至9中任一项所述的方法。A computer program product comprising instructions, characterized in that, when the instructions are run on a computer or a processor, the computer or the processor is made to implement any of the above claims 1 to 9 one of the methods described.
PCT/CN2020/112587 2020-08-31 2020-08-31 Sound source ranging method, device and system WO2022041219A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2020/112587 WO2022041219A1 (en) 2020-08-31 2020-08-31 Sound source ranging method, device and system
CN202080093874.XA CN115004052A (en) 2020-08-31 2020-08-31 Sound source ranging method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/112587 WO2022041219A1 (en) 2020-08-31 2020-08-31 Sound source ranging method, device and system

Publications (1)

Publication Number Publication Date
WO2022041219A1 true WO2022041219A1 (en) 2022-03-03

Family

ID=80354303

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/112587 WO2022041219A1 (en) 2020-08-31 2020-08-31 Sound source ranging method, device and system

Country Status (2)

Country Link
CN (1) CN115004052A (en)
WO (1) WO2022041219A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102800325A (en) * 2012-08-31 2012-11-28 厦门大学 Ultrasonic-assisted microphone array speech enhancement device
US20150003618A1 (en) * 2013-01-18 2015-01-01 Bose Corporation Vehicle engine sound extraction
CN107976651A (en) * 2016-10-21 2018-05-01 杭州海康威视数字技术股份有限公司 A kind of sound localization method and device based on microphone array
CN110049408A (en) * 2019-05-10 2019-07-23 苏州静声泰科技有限公司 A kind of microphone speaker array formation optimization method
CN111077497A (en) * 2019-12-30 2020-04-28 北京信息科技大学 Device and method for sound source positioning
CN111381211A (en) * 2020-03-02 2020-07-07 北京声智科技有限公司 Sound source positioning method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102800325A (en) * 2012-08-31 2012-11-28 厦门大学 Ultrasonic-assisted microphone array speech enhancement device
US20150003618A1 (en) * 2013-01-18 2015-01-01 Bose Corporation Vehicle engine sound extraction
CN107976651A (en) * 2016-10-21 2018-05-01 杭州海康威视数字技术股份有限公司 A kind of sound localization method and device based on microphone array
CN110049408A (en) * 2019-05-10 2019-07-23 苏州静声泰科技有限公司 A kind of microphone speaker array formation optimization method
CN111077497A (en) * 2019-12-30 2020-04-28 北京信息科技大学 Device and method for sound source positioning
CN111381211A (en) * 2020-03-02 2020-07-07 北京声智科技有限公司 Sound source positioning method and device

Also Published As

Publication number Publication date
CN115004052A (en) 2022-09-02

Similar Documents

Publication Publication Date Title
JP6837099B2 (en) Estimating the room impulse response for acoustic echo cancellation
US9668048B2 (en) Contextual switching of microphones
CN109286875B (en) Method, apparatus, electronic device and storage medium for directional sound pickup
Zotkin et al. Accelerated speech source localization via a hierarchical search of steered response power
CN111060874B (en) Sound source positioning method and device, storage medium and terminal equipment
CN108379842B (en) Game audio processing method and device, electronic equipment and storage medium
US10403259B2 (en) Multi-microphone feedforward active noise cancellation
CN110554357A (en) Sound source positioning method and device
WO2020062922A1 (en) Sound effect processing method and related product
WO2021127286A1 (en) Audio device auto-location
KR100928249B1 (en) Device and method for simulation of the presence of one or more sound sources in virtual positions in three-dimensional acoustic space
WO2019130246A2 (en) Location determination using acoustic models
US9672807B2 (en) Positioning method and apparatus in three-dimensional space of reverberation
WO2022041219A1 (en) Sound source ranging method, device and system
EP3182734B1 (en) Method for using a mobile device equipped with at least two microphones for determining the direction of loudspeakers in a setup of a surround sound system
CN112750455A (en) Audio processing method and device
EP3661233A1 (en) Wearable beamforming speaker array
CN117581297A (en) Audio signal rendering method and device and electronic equipment
US20240244388A1 (en) System and method for spatial audio rendering, and electronic device
WO2022262316A1 (en) Sound signal processing method and apparatus, and computer-readable storage medium
WO2023202551A1 (en) Acoustic transmission method and device, and nonvolatile computer readable storage medium
CN116265051A (en) Pulse feedback signal generation method, terminal, storage medium, and program product
EP3709674A1 (en) Omni-directional audible noise source localization apparatus
CN112098941A (en) Intelligent equipment positioning method and device and intelligent equipment
JP2512938B2 (en) Initial sound field setting method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20950888

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20950888

Country of ref document: EP

Kind code of ref document: A1