CN116347322A - Stereo synthesis method, system, device and storage medium based on UWB positioning - Google Patents
Stereo synthesis method, system, device and storage medium based on UWB positioning Download PDFInfo
- Publication number
- CN116347322A CN116347322A CN202310274363.3A CN202310274363A CN116347322A CN 116347322 A CN116347322 A CN 116347322A CN 202310274363 A CN202310274363 A CN 202310274363A CN 116347322 A CN116347322 A CN 116347322A
- Authority
- CN
- China
- Prior art keywords
- uwb
- positioning
- sound source
- anchor points
- mobile sound
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04S—STEREOPHONIC SYSTEMS
- H04S7/00—Indicating arrangements; Control arrangements, e.g. balance control
- H04S7/30—Control circuits for electronic adaptation of the sound field
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L19/00—Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
- G10L19/008—Multichannel audio signal coding or decoding using interchannel correlation to reduce redundancy, e.g. joint-stereo, intensity-coding or matrixing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04S—STEREOPHONIC SYSTEMS
- H04S2420/00—Techniques used stereophonic systems covered by H04S but not provided for in its groups
- H04S2420/01—Enhancing the perception of the sound image or of the spatial distribution using head related transfer functions [HRTF's] or equivalents thereof, e.g. interaural time difference [ITD] or interaural level difference [ILD]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04S—STEREOPHONIC SYSTEMS
- H04S2420/00—Techniques used stereophonic systems covered by H04S but not provided for in its groups
- H04S2420/13—Application of wave-field synthesis in stereophonic audio systems
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Acoustics & Sound (AREA)
- Mathematical Physics (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
Abstract
本发明提供了一种基于UWB定位的立体声合成方法、系统、设备及存储介质,本发明的立体声合成方法通过在移动音源上安装UWB定位标签,并且在移动音源周围设置一套UWB无线定位系统,系统包括3个以上锚点,锚点和标签之间进行通信,实时计算标签与各个锚点的距离同时上传至上位机;同时将随音源移动的麦克风采集的单声道音频信号上传至上位机;上位机利用声像再现技术,将麦克采集到的单声道声音和标签的位置信息并利用HRTF融合生成立体声音频信号。本发明的立体声合成方法实现了对于移动音源只获取单声道音频的情况下,就能完成立体声拾取合成。
The present invention provides a stereo synthesis method, system, equipment and storage medium based on UWB positioning. The stereo synthesis method of the present invention installs a UWB positioning tag on a mobile sound source and sets a set of UWB wireless positioning systems around the mobile sound source. The system includes more than 3 anchor points, the anchor points communicate with the tags, and the distance between the tags and each anchor point is calculated in real time and uploaded to the host computer at the same time; at the same time, the mono audio signal collected by the microphone moving with the sound source is uploaded to the host computer ; The upper computer uses the sound and image reproduction technology to fuse the monophonic sound collected by the microphone with the location information of the label and use HRTF to generate a stereo audio signal. The stereo synthesis method of the present invention realizes that the stereo pickup and synthesis can be completed under the condition that the mobile sound source only acquires monophonic audio.
Description
技术领域technical field
本发明涉及音频处理技术领域,尤其涉及一种基于UWB定位的立体声合成方法、系统、设备及存储介质。The present invention relates to the technical field of audio processing, in particular to a stereo synthesis method, system, device and storage medium based on UWB positioning.
背景技术Background technique
一般的立体声拾音技术,通过2只性能参数相同的麦克间隔不同的距离或者摆成特定角度,因为麦克具有指向性,对各方向的声音灵敏度不同,在采集声音时会产生声级差;2只麦克之间距离的大小,决定了拾取到的2路声音的时间差。立体声音频正是利用采集到的2路音频的声级差/时间差,将两路声音融合,从而构造出立体声的层次感。常用的立体声拾音技术有XY制式,MS制式和AB制式,主要是根据两只麦克风之间的夹角和距离来区分,当然还有用多只麦克风拾音的方法。In the general stereo pickup technology, two microphones with the same performance parameters are separated by different distances or placed at specific angles. Because the microphone has directivity, the sound sensitivity to each direction is different, and the sound level will be different when collecting sound; 2 The distance between the microphones determines the time difference between the two channels of sound picked up. Stereo audio uses the sound level difference/time difference of the two channels of audio collected to fuse the two channels of sound, thereby constructing a stereo layered sense. Commonly used stereo pickup techniques include XY system, MS system and AB system, which are mainly distinguished according to the angle and distance between the two microphones. Of course, there is also the method of using multiple microphones to pick up sound.
但不论是哪一种拾音方法都存在一下局限:However, no matter which pickup method is used, there are limitations:
麦克风拾音范围有限;拾音麦克风是固定的,如果音源距离较远,效果和灵敏度会受到比较大的影响。The microphone pick-up range is limited; the pick-up microphone is fixed, if the sound source is far away, the effect and sensitivity will be greatly affected.
对移动的音源效果不佳;移动音源离麦克风的距离不固定,拾音效果会造成比较大的损失;多个音源同时移动,效果就更差了。The effect is not good for moving sound sources; the distance between the moving sound source and the microphone is not fixed, and the sound pickup effect will cause a relatively large loss; multiple sound sources move at the same time, and the effect is even worse.
特别是针对现场录音或者是舞台剧等需要现场录音的应用场景,本身舞台面积就比较大,另外演员的位置又会随时变化,而且还存在多个演员同时移动的情况。Especially for application scenarios that require on-site recording, such as live recording or stage plays, the stage area itself is relatively large, and the positions of actors will change at any time, and there are situations where multiple actors move at the same time.
因此,现有技术还有待于改进和发展。Therefore, the prior art still needs to be improved and developed.
发明内容Contents of the invention
本发明的主要目的在于解决现有技术缺乏针对移动音源的立体声拾音合成方法。The main purpose of the present invention is to solve the lack of a stereo pickup synthesis method for mobile sound sources in the prior art.
本发明第一方面提供了一种基于UWB定位的立体声合成方法,所述立体声合成方法包括:The first aspect of the present invention provides a stereo synthesis method based on UWB positioning, the stereo synthesis method includes:
将UWB定位标签安装在移动音源上;Install the UWB positioning tag on the mobile audio source;
在所述移动音源的周围布设UWB无线定位系统,所述UWB无线定位系统包括至少3个锚点;A UWB wireless positioning system is arranged around the mobile sound source, and the UWB wireless positioning system includes at least 3 anchor points;
建立所述UWB定位标签和所述UWB无线定位系统的通信连接;Establish a communication connection between the UWB positioning tag and the UWB wireless positioning system;
建立所述UWB定位标签与上位机以及所述UWB无线定位系统与所述上位机的通信连接;Establish communication connections between the UWB positioning tag and the host computer and the UWB wireless positioning system and the host computer;
通过所述移动音源采集得到单声道音频信号,并将所述单声道音频信号上传至所述上位机;Collecting a monophonic audio signal through the mobile sound source, and uploading the monophonic audio signal to the host computer;
通过所述UWB定位标签获取得到所述移动音源分别与各个所述锚点的距离,并将所述移动音源分别与各个所述锚点的距离上传至所述上位机;Obtaining the distances between the mobile sound source and each of the anchor points through the UWB positioning tag, and uploading the distances between the mobile sound source and each of the anchor points to the host computer;
在所述上位机中通过多边定位算法获得所述移动音源在所述UWB无线定位系统中的第一定位位置;Obtain the first positioning position of the mobile sound source in the UWB wireless positioning system through a multilateral positioning algorithm in the host computer;
确定听众在所述UWB无线定位系统外围的第二定位位置;Determining the second positioning position of the listener on the periphery of the UWB wireless positioning system;
基于所述第一定位位置和所述第二定位位置获得音频输出的方位数据;Obtaining orientation data for audio output based on the first location location and the second location location;
通过HRTF音频处理方法将所述单声道音频信号与所述方位数据进行融合生成立体声音频信号。The monophonic audio signal is fused with the orientation data through an HRTF audio processing method to generate a stereophonic audio signal.
在本发明第一方面一种可选的实施方式中,所述通过所述UWB定位标签获取得到所述移动音源分别与各个所述锚点的距离包括:In an optional implementation manner of the first aspect of the present invention, obtaining the distances between the mobile sound source and each of the anchor points through the UWB positioning tag includes:
通过所述UWB定位标签向各个所述锚点均重复发送2次测距信号;Repeatedly sending the ranging signal twice to each of the anchor points through the UWB positioning tag;
记录2次测距信号分别到达各个所述锚点花费的第一时长和第二时长;Recording the first duration and the second duration that the ranging signal takes to reach each of the anchor points respectively for two times;
接收各个所述锚点分别对于2次所述测距信号反馈的2次响应信号;receiving two response signals respectively fed back by each of the anchor points to the two ranging signals;
记录各个所述锚点2次所述响应信号分别到达所述UWB定位标签花费的第三时长和第四时长;Record the third duration and the fourth duration for each of the anchor points for the response signal to reach the UWB positioning tag twice;
基于所述第一时长、所述第二时长、所述第三时长和所述第四时长并通过DS-TWR测距算法计算得到所述UWB定位标签与各个所述锚点的距离。The distance between the UWB positioning tag and each of the anchor points is calculated based on the first duration, the second duration, the third duration, and the fourth duration and through a DS-TWR ranging algorithm.
在本发明第一方面一种可选的实施方式中,所述在所述上位机中通过多边定位算法获得所述移动音源在所述UWB无线定位系统中的第一定位位置包括:In an optional implementation manner of the first aspect of the present invention, the obtaining the first positioning position of the mobile sound source in the UWB wireless positioning system through a multilateral positioning algorithm in the host computer includes:
对于每个所述锚点,获取所述锚点的坐标以及所述锚点与所述移动音源之间的距离;For each anchor point, obtain the coordinates of the anchor point and the distance between the anchor point and the mobile sound source;
对于每个所述锚点,以所述锚点的所述坐标为圆心,以所述锚点与所述移动音源之间的距离为半径建立所述锚点对应的圆方程;For each of the anchor points, a circle equation corresponding to the anchor point is established with the coordinates of the anchor point as the center and the distance between the anchor point and the mobile sound source as the radius;
构建各个所述锚点对应的圆方程集;Constructing the set of circle equations corresponding to each of the anchor points;
利用最小二乘法求取所述圆方程集的近似解,并以所述近似解作为所述移动音源在所述UWB无线定位系统中的第一定位位置。The least square method is used to obtain an approximate solution of the circle equation set, and the approximate solution is used as the first positioning position of the mobile sound source in the UWB wireless positioning system.
在本发明第一方面一种可选的实施方式中,所述确定听众在所述UWB无线定位系统外围的第二定位位置包括:In an optional implementation manner of the first aspect of the present invention, the determining the second positioning position of the listener on the periphery of the UWB wireless positioning system includes:
建立各个所述锚点之间的外围连线;Establishing peripheral connections between each of the anchor points;
从所述外围连线找到与所述听众最接近的目标连线;finding the closest target connection to the listener from the peripheral connections;
以所述目标连线的中点的坐标作为听众在所述UWB无线定位系统外围的第二定位位置。The coordinates of the midpoint of the target line are used as the second positioning position of the listener on the periphery of the UWB wireless positioning system.
在本发明第一方面一种可选的实施方式中,所述基于所述第一定位位置和所述第二定位位置获得音频输出的方位数据包括:In an optional implementation manner of the first aspect of the present invention, the obtaining the orientation data of the audio output based on the first positioning position and the second positioning position includes:
以所述第一定位位置作为基准点,建立方位坐标系,所述方位坐标系包括相互垂直的横轴和竖轴,其中,所述横轴与所述第二定位位置所在的所述目标连线平行;Using the first positioning position as a reference point, an azimuth coordinate system is established, and the azimuth coordinate system includes a horizontal axis and a vertical axis perpendicular to each other, wherein the horizontal axis is connected to the target where the second positioning position is located. line parallel;
在所述方位坐标系的基准下,基于所述第一定位位置和所述第二定位位置计算得到所述听众和所述移动音源之间的距离以及所述听众和所述移动音源之间的相对位置数据。Under the reference of the azimuth coordinate system, the distance between the listener and the mobile sound source and the distance between the listener and the mobile sound source are calculated based on the first positioning position and the second positioning position Relative location data.
在本发明第一方面一种可选的实施方式中,所述上位机、所述锚点和所述标签均包括主控单元、UWB模块、ADC模数转换模块、RF射频收发单元以及天线。In an optional implementation manner of the first aspect of the present invention, the host computer, the anchor point, and the tag all include a main control unit, a UWB module, an ADC analog-to-digital conversion module, an RF transceiver unit, and an antenna.
在本发明第一方面一种可选的实施方式中,所述UWB无线定位系统设置有3个锚点,3个所述锚点之间呈三角形分布。In an optional implementation manner of the first aspect of the present invention, the UWB wireless positioning system is provided with three anchor points, and the three anchor points are distributed in a triangle.
本发明第二方面提供了一种基于UWB定位的立体声合成系统,所述立体声合成系统包括:The second aspect of the present invention provides a stereo synthesis system based on UWB positioning, the stereo synthesis system includes:
UWB定位标签,所述UWB定位标签用于安装在移动音源上;UWB positioning label, described UWB positioning label is used for being installed on the mobile sound source;
UWB无线定位系统,所述UWB无线定位系统布设在所述移动音源的周围,所述UWB无线定位系统包括至少3个锚点,所述UWB定位标签与所述UWB无线定位系统通信连接;UWB wireless positioning system, the UWB wireless positioning system is arranged around the mobile sound source, the UWB wireless positioning system includes at least 3 anchor points, and the UWB positioning tag is communicatively connected with the UWB wireless positioning system;
上位机,所述上位机与所述UWB定位标签和所述UWB无线定位系统通信连接;A host computer, the host computer communicates with the UWB positioning tag and the UWB wireless positioning system;
所述移动音源用于采集单声道音频信号并将所述单声道音频信号上传至所述上位机;The mobile sound source is used to collect monophonic audio signals and upload the monophonic audio signals to the host computer;
所述UWB定位标签用于获取得到所述移动音源分别与各个所述锚点的距离,并将所述移动音源分别与各个所述锚点的距离上传至所述上位机;The UWB positioning tag is used to obtain the distance between the mobile sound source and each of the anchor points, and upload the distance between the mobile sound source and each of the anchor points to the host computer;
所述上位机用于通过多边定位算法获得所述移动音源在所述UWB无线定位系统中的第一定位位置;确定听众在所述UWB无线定位系统外围的第二定位位置;基于所述第一定位位置和所述第二定位位置获得音频输出的方位数据;以及通过HRTF音频处理方法将所述单声道音频信号与所述方位数据进行融合生成立体声音频信号。The host computer is used to obtain the first positioning position of the mobile sound source in the UWB wireless positioning system through a multilateral positioning algorithm; determine the second positioning position of the listener on the periphery of the UWB wireless positioning system; based on the first Obtaining orientation data of the audio output at the positioning position and the second positioning position; and fusing the monophonic audio signal with the orientation data through an HRTF audio processing method to generate a stereo audio signal.
本发明第三方面提供了一种基于UWB定位的立体声合成设备,所述基于UWB定位的立体声合成设备包括:存储器和至少一个处理器,所述存储器中存储有指令,所述存储器和所述至少一个处理器通过线路互连;The third aspect of the present invention provides a stereo synthesis device based on UWB positioning. The stereo synthesis device based on UWB positioning includes: a memory and at least one processor, instructions are stored in the memory, and the memory and the at least one A processor is interconnected by wires;
所述至少一个处理器调用所述存储器中的所述指令,以使得所述基于UWB定位的立体声合成设备执行如上述任一项所述的基于UWB定位的立体声合成方法。The at least one processor invokes the instruction in the memory, so that the UWB positioning-based stereo synthesis device executes the UWB positioning-based stereo synthesis method as described in any one of the above.
本发明第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上述任一项所述的基于UWB定位的立体声合成方法。The fourth aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the UWB-based positioning as described in any one of the above-mentioned Stereo synthesis method.
有益效果:本发明提供了一种基于UWB定位的立体声合成方法、系统、设备及存储介质,本发明的立体声合成方法通过在移动音源上安装UWB定位标签,并且在移动音源周围设置一套UWB无线定位系统,系统包括3个以上锚点,锚点和标签之间进行通信,实时计算标签与各个锚点的距离同时上传至上位机;同时将随音源移动的麦克风采集的单声道音频信号上传至上位机;上位机利用声像再现技术,将麦克采集到的单声道声音和标签的位置信息并利用HRTF融合生成立体声音频信号。本发明的立体声合成方法实现了对于移动音源只获取单声道音频的情况下,就能完成立体声拾取合成。Beneficial effects: the present invention provides a stereo synthesis method, system, equipment and storage medium based on UWB positioning. The stereo synthesis method of the present invention installs a UWB positioning tag on the mobile sound source, and sets a set of UWB wireless radios around the mobile sound source. Positioning system, the system includes more than 3 anchor points, the anchor points communicate with the tags, calculate the distance between the tags and each anchor point in real time and upload it to the host computer at the same time; at the same time upload the monophonic audio signal collected by the microphone moving with the sound source To the host computer; the host computer uses the sound and image reproduction technology to fuse the monophonic sound collected by the microphone with the location information of the label and use HRTF to generate a stereo audio signal. The stereo synthesis method of the present invention realizes that the stereo pickup and synthesis can be completed under the condition that the mobile sound source only acquires monophonic audio.
附图说明Description of drawings
图1为本发明一种基于UWB定位的立体声合成方法的一个实施例示意图;Fig. 1 is a schematic diagram of an embodiment of a stereo synthesis method based on UWB positioning of the present invention;
图2为本发明一种基于UWB定位的立体声合成系统的一个实施例示意图;Fig. 2 is a schematic diagram of an embodiment of a stereo synthesis system based on UWB positioning of the present invention;
图3为本发明一种上位机的一个实施例示意图;Fig. 3 is a schematic diagram of an embodiment of a host computer of the present invention;
图4为本发明一种基于UWB定位的立体声合成设备的一个实施例示意图。Fig. 4 is a schematic diagram of an embodiment of a stereo synthesis device based on UWB positioning according to the present invention.
具体实施方式Detailed ways
本发明实施例提供了一种基于UWB定位的立体声合成方法、系统、设备及存储介质。Embodiments of the present invention provide a stereo synthesis method, system, device and storage medium based on UWB positioning.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”或“具有”及其任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the term "comprising" or "having" and any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to those explicitly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
为便于理解,下面对本发明实施例的具体流程进行描述,请参阅图1,本发明第一方面提供了一种基于UWB定位的立体声合成方法,所述立体声合成方法包括:For ease of understanding, the specific flow of the embodiment of the present invention is described below. Please refer to FIG. 1. The first aspect of the present invention provides a stereo synthesis method based on UWB positioning. The stereo synthesis method includes:
S001、将UWB定位标签安装在移动音源上;本发明适用的一种场景可以是舞台剧表演,移动音源是演员身上携带的麦克风装置,在该步骤中,将UWB定位标签安装在移动音源上就是将UWB定位标签安装在演员身上携带的麦克风装置上,当然的,UWB定位标签也可以与麦克风装置做成一体;S001, install the UWB positioning tag on the mobile sound source; a scene applicable to the present invention can be a stage performance, and the mobile sound source is a microphone device carried by the actor. In this step, installing the UWB positioning tag on the mobile sound source is Install the UWB positioning tag on the microphone device carried by the actor. Of course, the UWB positioning tag can also be integrated with the microphone device;
S002、在所述移动音源的周围布设UWB无线定位系统,所述UWB无线定位系统包括至少3个锚点;在步骤中,以舞台剧为例,移动音源的移动范围一般都是在舞台上,在移动音源的周围布设UWB无线定位系统,就是在表演的舞台四周设置包围舞台的锚点,锚点的个数需要根据实际舞台的大小以及音源的定位精度确定;为了便于理解,图2示出了本发明一种基于UWB定位的立体声合成系统的示意图;S002. Arrange a UWB wireless positioning system around the mobile sound source, and the UWB wireless positioning system includes at least 3 anchor points; in the step, taking a stage play as an example, the moving range of the mobile sound source is generally on the stage, To deploy a UWB wireless positioning system around the mobile sound source is to set anchor points around the stage of the performance. The number of anchor points needs to be determined according to the size of the actual stage and the positioning accuracy of the sound source; for easy understanding, Figure 2 shows A schematic diagram of a stereo synthesis system based on UWB positioning is shown in the present invention;
S003、建立所述UWB定位标签和所述UWB无线定位系统的通信连接;在本发明中,UWB定位标签需要通过UWB无线定位系统中的各个锚点来获得定位信息,所以需要建立UWB定位标签与UWB无线定位系统中各个锚点的通信连接;S003. Establish a communication connection between the UWB positioning tag and the UWB wireless positioning system; in the present invention, the UWB positioning tag needs to obtain positioning information through each anchor point in the UWB wireless positioning system, so it is necessary to establish the UWB positioning tag and the UWB wireless positioning system. The communication connection of each anchor point in the UWB wireless positioning system;
S004、建立所述UWB定位标签与上位机以及所述UWB无线定位系统与所述上位机的通信连接;在本发明中,由于移动音源和UWB定位标签自身的数据处理能力有限,本发明在移动音源采集到音频信号以及UWB定位标签采集到位置信息之后,是通过上位机来进行音频信号的合成的;S004. Establish the communication connection between the UWB positioning tag and the upper computer and the UWB wireless positioning system and the upper computer; After the audio signal is collected by the sound source and the location information is collected by the UWB positioning tag, the audio signal is synthesized through the host computer;
S005、通过所述移动音源采集得到单声道音频信号,并将所述单声道音频信号上传至所述上位机;在本发明中,一个移动音源一般只携带一个麦克风,移动音源获得的音频信号也就为单声道音频信号,本发明的发明点就是根据移动音源获得的单声道音频信号及其位置信息合成立体声音频信号;S005. Obtain a monophonic audio signal through the collection of the mobile sound source, and upload the monophonic audio signal to the host computer; in the present invention, a mobile sound source generally carries only one microphone, and the audio obtained by the mobile sound source The signal is just a monophonic audio signal, and the inventive point of the present invention is exactly to synthesize a stereophonic audio signal according to the monophonic audio signal and its position information obtained by the mobile sound source;
S006、通过所述UWB定位标签获取得到所述移动音源分别与各个所述锚点的距离,并将所述移动音源分别与各个所述锚点的距离上传至所述上位机;在本发明中,确定UWB定位标签的位置主要是通过计算获得UWB定位标签与UWB无线定位系统中各个锚点的距离获得的,在本发明中UWB定位标签与各个锚点的距离是在UWB定位标签中处理完成,依据UWB定位标签与各个锚点的距离获得UWB定位标签的位置则是在上位机中处理完成,在本发明中,各个锚点的坐标在UWB无线定位系统中是已知的;S006. Obtain the distances between the mobile sound source and each of the anchor points through the UWB positioning tag, and upload the distances between the mobile sound source and each of the anchor points to the host computer; in the present invention Determining the position of the UWB positioning tag is mainly obtained by calculating the distance between the UWB positioning tag and each anchor point in the UWB wireless positioning system. In the present invention, the distance between the UWB positioning tag and each anchor point is processed in the UWB positioning tag. Obtaining the position of the UWB positioning tag according to the distance between the UWB positioning tag and each anchor point is processed in the host computer. In the present invention, the coordinates of each anchor point are known in the UWB wireless positioning system;
S007、在所述上位机中通过多边定位算法获得所述移动音源在所述UWB无线定位系统中的第一定位位置;在本发明中,多边定位算法就是依据UWB定位标签与各个锚点之间的距离以及各个锚点的确切坐标计算得到UWB定位标签的坐标,第一定位位置就是求解出的UWB定位标签的坐标;S007. Obtain the first positioning position of the mobile sound source in the UWB wireless positioning system through a multilateral positioning algorithm in the host computer; in the present invention, the multilateral positioning algorithm is based on the distance between the UWB positioning tag and each anchor point The distance and the exact coordinates of each anchor point are calculated to obtain the coordinates of the UWB positioning tag, and the first positioning position is the coordinate of the solved UWB positioning tag;
S008、确定听众在所述UWB无线定位系统外围的第二定位位置;在本发明中,确定听众在所述UWB无线定位系统外围的第二定位位置的目的是确定移动音源和听众之间的相对位置,音源是在观众左边,还是右边,夹角是多少,在获得了这些相对位置信息之后,便于计算得到后续合成立体声音频时的左右声道音频信号的输出时间以及左右声道音频信号的延迟;S008. Determine the second positioning position of the listener on the periphery of the UWB wireless positioning system; in the present invention, the purpose of determining the second positioning position of the listener on the periphery of the UWB wireless positioning system is to determine the relative relationship between the mobile sound source and the listener Position, whether the sound source is on the left or right of the audience, what is the included angle, after obtaining these relative position information, it is easy to calculate the output time of the left and right channel audio signals and the delay of the left and right channel audio signals when synthesizing stereo audio ;
S009、基于所述第一定位位置和所述第二定位位置获得音频输出的方位数据;在本发明中,方位数据就是所述第一定位位置和所述第二定位位置之间的相对位置,在该步骤中,通常的以移动音源作为参照,获取得到的是听众相对于移动音源的位置;S009. Obtain orientation data of audio output based on the first positioning position and the second positioning position; in the present invention, the orientation data is the relative position between the first positioning position and the second positioning position, In this step, the mobile sound source is usually used as a reference to obtain the position of the listener relative to the mobile sound source;
S010、通过HRTF音频处理方法将所述单声道音频信号与所述方位数据进行融合生成立体声音频信号。在本发明中,HRTF是一种通用音频处理技术,通过HRTF处理,将单声道的声音变成双声道的声音,并调整双声道声音左右声道的强度延时等信息,听众就能分辨出这个声音是从左边,还是右边传过来的了,这样就相当于是把移动音源的空间位置信息融合到了播放的声音里面。S010. Fusion the monaural audio signal and the orientation data by using an HRTF audio processing method to generate a stereo audio signal. In the present invention, HRTF is a kind of general audio processing technology, through HRTF processing, the sound of single channel is changed into the sound of two channels, and information such as the intensity delay of adjusting left and right channels of two channels of sound, listener just It can tell whether the sound is coming from the left or the right, which is equivalent to integrating the spatial position information of the mobile sound source into the played sound.
总的来说,本发明提供了一种基于UWB无线定位的空间立体声拾取方法。使用该方法,可以在只用1只麦克风的情况下,就能完成一个音源的立体声拾取。本发明的主要思路如图1所示:在音源周围设置一套UWB无线定位系统,系统包括3个以上提供定位坐标的固定锚点和一个可随音源移动的标签,锚点和标签之间进行通信,实时计算标签的坐标同时上传至上位机;同时将随音源移动的麦克风采集的单声道音频信号上传至上位机;上位机利用声像再现技术,将麦克采集到的单声道声音和标签的位置信息通过HRTF(Head-ResponseTransfer Function,头部反应传输函数)融合生成空间立体声音频信号。进一步的因为UWB无线定位精度可达2~5cm,也可以很好适用多个音源同时移动的场景。In general, the present invention provides a spatial stereo pickup method based on UWB wireless positioning. Using this method, the stereo pickup of a sound source can be completed with only one microphone. The main idea of the present invention is shown in Figure 1: set a set of UWB wireless positioning system around the sound source, the system includes more than 3 fixed anchor points providing positioning coordinates and a label that can move with the sound source, and the anchor point and the label Communication, real-time calculation of the coordinates of the label and upload to the host computer at the same time; at the same time, the monophonic audio signal collected by the microphone moving with the sound source is uploaded to the host computer; The location information of the tag is fused through HRTF (Head-Response Transfer Function, Head Response Transfer Function) to generate a spatial stereo audio signal. Furthermore, because the UWB wireless positioning accuracy can reach 2-5cm, it can also be well applied to the scene where multiple sound sources move at the same time.
在本发明第一方面一种可选的实施方式中,所述通过所述UWB定位标签获取得到所述移动音源分别与各个所述锚点的距离包括:In an optional implementation manner of the first aspect of the present invention, obtaining the distances between the mobile sound source and each of the anchor points through the UWB positioning tag includes:
通过所述UWB定位标签向各个所述锚点均重复发送2次测距信号;在本发明中,在每次获取UWB定位标签各个锚点的距离时,会间隔发送2次测距信号,2次测距信号的间隔时间10-30ms,UWB定位标签没发送一次测距信号便会记录一次测距信号的发送时间;锚点每次接收到测距信号,会记录每次收到的时间,并且向UWB定位标签反馈响应信号,锚点除了向UWB定位标签发送响应信号之外,还会发送每次接收到测距信号的时间以及响应信号的发送时间;The ranging signal is repeatedly sent twice to each of the anchor points through the UWB positioning tag; in the present invention, when the distance of each anchor point of the UWB positioning tag is obtained each time, the ranging signal is sent twice at intervals, 2 The interval between the second ranging signal is 10-30ms. The UWB positioning tag will record the sending time of the ranging signal without sending a ranging signal; every time the anchor point receives the ranging signal, it will record the time received each time. And feed back the response signal to the UWB positioning tag. In addition to sending the response signal to the UWB positioning tag, the anchor point will also send the time when the ranging signal is received each time and the sending time of the response signal;
记录2次测距信号分别到达各个所述锚点花费的第一时长和第二时长;在本发明中,UWB定位标签在接收到锚点反馈的测距信号的接收时间后会与对应的测距信号的发送时间进行差值运算获得测距信号所花费的时长,在本发明中,由于测距信号会发送2次,所以对应的时长也会有2个;Record the first duration and the second duration that the ranging signal takes to reach each anchor point twice; in the present invention, the UWB positioning tag will communicate with the corresponding measuring signal after receiving the receiving time The length of time it takes to obtain the ranging signal by performing difference calculations on the sending time of the ranging signal. In the present invention, since the ranging signal will be sent twice, there will be 2 corresponding durations;
接收各个所述锚点分别对于2次所述测距信号反馈的2次响应信号;在本发明中,UWB定位标签在每次接收到响应信号之后也就记录响应信号的接收之间,之后与响应信号的发送时间进行差值运算,获得响应信号传播的时长;Receiving the 2 response signals fed back by each of the anchor points for the 2 ranging signals; in the present invention, the UWB positioning tag also records the reception of the response signal after receiving the response signal each time, and then communicates with The sending time of the response signal is differentially calculated to obtain the propagation duration of the response signal;
记录各个所述锚点2次所述响应信号分别到达所述UWB定位标签花费的第三时长和第四时长;在本发明中,因为测距信号发送有2次,所以对应的响应信号也会有2次,响应信号的传播时长也会有2个;Record the third time length and the fourth time length that the response signal takes to reach the UWB positioning tag twice for each of the anchor points; in the present invention, because the ranging signal is sent twice, the corresponding response signal will also There are 2 times, and the propagation time of the response signal will also be 2;
基于所述第一时长、所述第二时长、所述第三时长和所述第四时长并通过DS-TWR测距算法计算得到所述UWB定位标签与各个所述锚点的距离。在本发明中,具体的计算方法是先获得平均时长,平均时长的获取公式是(第一时长*第二时长-第三时长*第四时长)/(第一时长+第二时长+第三时长+第四时长),通过获取到平均时长之后,通过平均时长乘以电磁波在空气中的传播速度获得UWB定位标签与各个锚点的距离。The distance between the UWB positioning tag and each of the anchor points is calculated based on the first duration, the second duration, the third duration, and the fourth duration and through a DS-TWR ranging algorithm. In the present invention, the specific calculation method is to obtain the average duration first, and the acquisition formula of the average duration is (first duration*second duration-third duration*fourth duration)/(first duration+second duration+third duration) duration + the fourth duration), after obtaining the average duration, the distance between the UWB positioning tag and each anchor point is obtained by multiplying the average duration by the propagation speed of electromagnetic waves in the air.
在本发明第一方面一种可选的实施方式中,所述在所述上位机中通过多边定位算法获得所述移动音源在所述UWB无线定位系统中的第一定位位置包括:In an optional implementation manner of the first aspect of the present invention, the obtaining the first positioning position of the mobile sound source in the UWB wireless positioning system through a multilateral positioning algorithm in the host computer includes:
对于每个所述锚点,获取所述锚点的坐标以及所述锚点与所述移动音源之间的距离;在本发明中,以3个锚点为例,3个锚点的坐标分别为(a,b),(c,d)和(e,f),对应的距离分别为p,q,r;For each anchor point, obtain the coordinates of the anchor point and the distance between the anchor point and the mobile sound source; in the present invention, taking three anchor points as an example, the coordinates of the three anchor points are respectively For (a, b), (c, d) and (e, f), the corresponding distances are p, q, r respectively;
对于每个所述锚点,以所述锚点的所述坐标为圆心,以所述锚点与所述移动音源之间的距离为半径建立所述锚点对应的圆方程;在本发明中,3个锚点分别对应的圆方程为(x-a)2+(x-b)2=p2,(x-c)2+(x-d)2=q2和(x-e)2+(x-f)2=r2;For each of the anchor points, a circle equation corresponding to the anchor point is established with the coordinates of the anchor point as the center and the distance between the anchor point and the mobile sound source as the radius; in the present invention , the circle equations corresponding to the three anchor points are (xa) 2 +(xb) 2 =p 2 , (xc) 2 +(xd) 2 =q 2 and (xe) 2 +(xf) 2 =r 2 ;
构建各个所述锚点对应的圆方程集;Constructing the set of circle equations corresponding to each of the anchor points;
利用最小二乘法求取所述圆方程集的近似解,并以所述近似解作为所述移动音源在所述UWB无线定位系统中的第一定位位置。在本发明中,实际计算时,由于p,q,r实际是存在误差的,所以3个锚点对应的圆并不会相交与一点,在计算时先计算出3个圆重叠区域的3个交点,最后可以取3个交点的平均值作为第一定位位置的坐标。The least square method is used to obtain an approximate solution of the circle equation set, and the approximate solution is used as the first positioning position of the mobile sound source in the UWB wireless positioning system. In the present invention, during the actual calculation, since p, q, and r actually have errors, the circles corresponding to the three anchor points will not intersect with one point, and the three circles in the overlapping area of the three circles are calculated first. The intersection point, and finally the average value of the three intersection points may be taken as the coordinate of the first positioning position.
在本发明第一方面一种可选的实施方式中,所述确定听众在所述UWB无线定位系统外围的第二定位位置包括:In an optional implementation manner of the first aspect of the present invention, the determining the second positioning position of the listener on the periphery of the UWB wireless positioning system includes:
建立各个所述锚点之间的外围连线;在本发明中,以3个锚点为例,就是连接3个锚点的连线,具体的,3个锚点外围连线形成3角形,4个锚点外围连线形成4边形,以此类推,N个锚点外围连线形成N边形;Establish the peripheral connection between each of the anchor points; in the present invention, taking 3 anchor points as an example, it is the connection line connecting the 3 anchor points. Specifically, the peripheral connection lines of the 3 anchor points form a triangle, The peripheral connections of 4 anchor points form a 4-sided shape, and so on, the peripheral connections of N anchor points form an N-sided shape;
从所述外围连线找到与所述听众最接近的目标连线;以三个锚点为例,听众一般都是倾向于设置在其中某一外围连线一侧,在本发明中,由于听众实际不只是由1名,所以可以通过点来替代一群听众,在本发明中,选择了以所述目标连线的中点的坐标作为听众在所述UWB无线定位系统外围的第二定位位置。Find the target connection closest to the listener from the peripheral connection; taking the three anchor points as an example, the audience generally tends to be set on one side of the peripheral connection. In the present invention, because the listener In fact, there is not only one person, so a group of listeners can be replaced by points. In the present invention, the coordinates of the midpoint of the target line are selected as the second positioning position of the listeners on the periphery of the UWB wireless positioning system.
在本发明第一方面一种可选的实施方式中,所述基于所述第一定位位置和所述第二定位位置获得音频输出的方位数据包括:In an optional implementation manner of the first aspect of the present invention, the obtaining the orientation data of the audio output based on the first positioning position and the second positioning position includes:
以所述第一定位位置作为基准点,建立方位坐标系,所述方位坐标系包括相互垂直的横轴和竖轴,其中,所述横轴与所述第二定位位置所在的所述目标连线平行;在本发明中,在确定听众的方位时,是以移动音源作为参考点的,并且以听众一侧的目标连线作为方位坐标系的X轴或Y轴方向Using the first positioning position as a reference point, an azimuth coordinate system is established, and the azimuth coordinate system includes a horizontal axis and a vertical axis perpendicular to each other, wherein the horizontal axis is connected to the target where the second positioning position is located. Lines are parallel; in the present invention, when determining the orientation of the audience, the moving sound source is used as the reference point, and the target line on the audience side is used as the X-axis or Y-axis direction of the orientation coordinate system
在所述方位坐标系的基准下,基于所述第一定位位置和所述第二定位位置计算得到所述听众和所述移动音源之间的距离以及所述听众和所述移动音源之间的相对位置数据。在本发明中,所述听众和所述移动音源之间的相对位置数据就是所述听众和所述移动音源形成的连线以所述方位坐标系横轴纵轴之间的夹角,所述听众和所述移动音源之间的距离和所述夹角的主要作用是确定后续合成立体声左右声道音频信号的延迟。Under the reference of the azimuth coordinate system, the distance between the listener and the mobile sound source and the distance between the listener and the mobile sound source are calculated based on the first positioning position and the second positioning position Relative location data. In the present invention, the relative position data between the listener and the mobile sound source is the angle between the line formed by the listener and the mobile sound source and the horizontal axis and the vertical axis of the azimuth coordinate system, the The main effect of the distance between the listener and the moving sound source and the included angle is to determine the delay of the subsequent synthesized stereo left and right channel audio signals.
在本发明第一方面一种可选的实施方式中,所述上位机、所述锚点和所述标签均包括主控单元、UWB模块、ADC模数转换模块、RF射频收发单元以及天线。参见图3,本发明一种上位机的具体结构,本发明所使用的上位机还包括有音频功放模块和麦克风模块,具体使用时主控单元还通过串口连接数据处理终端。In an optional implementation manner of the first aspect of the present invention, the host computer, the anchor point, and the tag all include a main control unit, a UWB module, an ADC analog-to-digital conversion module, an RF transceiver unit, and an antenna. Referring to Fig. 3, the specific structure of a kind of host computer of the present invention, the host computer used in the present invention also includes audio power amplifier module and microphone module, and main control unit also connects data processing terminal through serial port during specific use.
在本发明第一方面一种可选的实施方式中,所述UWB无线定位系统设置有3个锚点,3个所述锚点之间呈三角形分布。在本发明中,采用3个锚点可以在满足一定定位精度要求的情况下减少数据的计算量,提高数据的处理效率,当然对于3个锚点无法满足包围舞台的情况下,就需要根据实际情况设定具体的锚点数量。In an optional implementation manner of the first aspect of the present invention, the UWB wireless positioning system is provided with three anchor points, and the three anchor points are distributed in a triangle. In the present invention, the use of three anchor points can reduce the calculation amount of data and improve the processing efficiency of data under the condition of meeting certain positioning accuracy requirements. The situation sets the specific number of anchor points.
参见图2,本发明第二方面提供了一种基于UWB定位的立体声合成系统,所述立体声合成系统包括:Referring to Fig. 2, the second aspect of the present invention provides a stereo synthesis system based on UWB positioning, the stereo synthesis system includes:
UWB定位标签10,所述UWB定位标签用于安装在移动音源上;
UWB无线定位系统20,所述UWB无线定位系统布设在所述移动音源的周围,所述UWB无线定位系统包括至少3个锚点,所述UWB定位标签与所述UWB无线定位系统通信连接;UWB
上位机30,所述上位机与所述UWB定位标签和所述UWB无线定位系统通信连接;A
所述移动音源用于采集单声道音频信号并将所述单声道音频信号上传至所述上位机;The mobile sound source is used to collect monophonic audio signals and upload the monophonic audio signals to the host computer;
所述UWB定位标签用于获取得到所述移动音源分别与各个所述锚点的距离,并将所述移动音源分别与各个所述锚点的距离上传至所述上位机;The UWB positioning tag is used to obtain the distance between the mobile sound source and each of the anchor points, and upload the distance between the mobile sound source and each of the anchor points to the host computer;
所述上位机用于通过多边定位算法获得所述移动音源在所述UWB无线定位系统中的第一定位位置;确定听众在所述UWB无线定位系统外围的第二定位位置;基于所述第一定位位置和所述第二定位位置获得音频输出的方位数据;以及通过HRTF音频处理方法将所述单声道音频信号与所述方位数据进行融合生成立体声音频信号。The host computer is used to obtain the first positioning position of the mobile sound source in the UWB wireless positioning system through a multilateral positioning algorithm; determine the second positioning position of the listener on the periphery of the UWB wireless positioning system; based on the first Obtaining orientation data of the audio output at the positioning position and the second positioning position; and fusing the monophonic audio signal with the orientation data through an HRTF audio processing method to generate a stereo audio signal.
在本发明第二方面一种可选的实施方式中,所述通过所述UWB定位标签获取得到所述移动音源分别与各个所述锚点的距离包括:In an optional implementation manner of the second aspect of the present invention, obtaining the distances between the mobile sound source and each of the anchor points through the UWB positioning tag includes:
通过所述UWB定位标签向各个所述锚点均重复发送2次测距信号;Repeatedly sending the ranging signal twice to each of the anchor points through the UWB positioning tag;
记录2次测距信号分别到达各个所述锚点花费的第一时长和第二时长;Recording the first duration and the second duration that the ranging signal takes to reach each of the anchor points respectively for two times;
接收各个所述锚点分别对于2次所述测距信号反馈的2次响应信号;receiving two response signals respectively fed back by each of the anchor points to the two ranging signals;
记录各个所述锚点2次所述响应信号分别到达所述UWB定位标签花费的第三时长和第四时长;Record the third duration and the fourth duration for each of the anchor points for the response signal to reach the UWB positioning tag twice;
基于所述第一时长、所述第二时长、所述第三时长和所述第四时长并通过DS-TWR测距算法计算得到所述UWB定位标签与各个所述锚点的距离。The distance between the UWB positioning tag and each of the anchor points is calculated based on the first duration, the second duration, the third duration, and the fourth duration and through a DS-TWR ranging algorithm.
在本发明第二方面一种可选的实施方式中,所述在所述上位机中通过多边定位算法获得所述移动音源在所述UWB无线定位系统中的第一定位位置包括:In an optional implementation manner of the second aspect of the present invention, the obtaining the first positioning position of the mobile sound source in the UWB wireless positioning system through a multilateral positioning algorithm in the host computer includes:
对于每个所述锚点,获取所述锚点的坐标以及所述锚点与所述移动音源之间的距离;For each anchor point, obtain the coordinates of the anchor point and the distance between the anchor point and the mobile sound source;
对于每个所述锚点,以所述锚点的所述坐标为圆心,以所述锚点与所述移动音源之间的距离为半径建立所述锚点对应的圆方程;For each of the anchor points, a circle equation corresponding to the anchor point is established with the coordinates of the anchor point as the center and the distance between the anchor point and the mobile sound source as the radius;
构建各个所述锚点对应的圆方程集;Constructing the set of circle equations corresponding to each of the anchor points;
利用最小二乘法求取所述圆方程集的近似解,并以所述近似解作为所述移动音源在所述UWB无线定位系统中的第一定位位置。The least square method is used to obtain an approximate solution of the circle equation set, and the approximate solution is used as the first positioning position of the mobile sound source in the UWB wireless positioning system.
在本发明第二方面一种可选的实施方式中,所述确定听众在所述UWB无线定位系统外围的第二定位位置包括:In an optional implementation manner of the second aspect of the present invention, the determining the second positioning position of the listener on the periphery of the UWB wireless positioning system includes:
建立各个所述锚点之间的外围连线;Establishing peripheral connections between each of the anchor points;
从所述外围连线找到与所述听众最接近的目标连线;finding the closest target connection to the listener from the peripheral connections;
以所述目标连线的中点的坐标作为听众在所述UWB无线定位系统外围的第二定位位置。The coordinates of the midpoint of the target line are used as the second positioning position of the listener on the periphery of the UWB wireless positioning system.
在本发明第二方面一种可选的实施方式中,所述基于所述第一定位位置和所述第二定位位置获得音频输出的方位数据包括:In an optional implementation manner of the second aspect of the present invention, the obtaining the orientation data of the audio output based on the first positioning position and the second positioning position includes:
以所述第一定位位置作为基准点,建立方位坐标系,所述方位坐标系包括相互垂直的横轴和竖轴,其中,所述横轴与所述第二定位位置所在的所述目标连线平行;Using the first positioning position as a reference point, an azimuth coordinate system is established, and the azimuth coordinate system includes a horizontal axis and a vertical axis perpendicular to each other, wherein the horizontal axis is connected to the target where the second positioning position is located. line parallel;
在所述方位坐标系的基准下,基于所述第一定位位置和所述第二定位位置计算得到所述听众和所述移动音源之间的距离以及所述听众和所述移动音源之间的相对位置数据。Under the reference of the azimuth coordinate system, the distance between the listener and the mobile sound source and the distance between the listener and the mobile sound source are calculated based on the first positioning position and the second positioning position Relative location data.
在本发明第二方面一种可选的实施方式中,所述上位机、所述锚点和所述标签均包括主控单元、UWB模块、ADC模数转换模块、RF射频收发单元以及天线。In an optional implementation manner of the second aspect of the present invention, the host computer, the anchor point, and the tag all include a main control unit, a UWB module, an ADC analog-to-digital conversion module, an RF transceiver unit, and an antenna.
图4是本发明实施例提供的一种基于UWB定位的立体声合成设备的结构示意图,该基于UWB定位的立体声合成设备可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上处理器50(central processing units,CPU)(例如,一个或一个以上处理器)和存储器60,一个或一个以上存储应用程序或数据的存储介质70(例如一个或一个以上海量存储设备)。其中,存储器和存储介质可以是短暂存储或持久存储。存储在存储介质的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对基于UWB定位的立体声合成设备中的一系列指令操作。更进一步地,处理器可以设置为与存储介质通信,在基于UWB定位的立体声合成设备上执行存储介质中的一系列指令操作。Fig. 4 is a schematic structural diagram of a stereo synthesis device based on UWB positioning provided by an embodiment of the present invention. The stereo synthesis device based on UWB positioning may have relatively large differences due to different configurations or performances, and may include one or more than one processing 50 (central processing units, CPU) (for example, one or more processors) and
基于UWB定位的立体声合成设备还可以包括一个或一个以上电源80,一个或一个以上有线或无线网络接口90,一个或一个以上输入输出接口100,和/或,一个或一个以上操作系统,例如Windows Serve,Mac OS X,Unix,Linux,FreeBSD等等。本领域技术人员可以理解,图4示出的基于UWB定位的立体声合成设备结构并不构成对基于UWB定位的立体声合成设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。The stereo synthesis device based on UWB positioning can also include one or
本发明还提供一种计算机可读存储介质,该计算机可读存储介质可以为非易失性计算机可读存储介质,该计算机可读存储介质也可以为易失性计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令在计算机上运行时,使得计算机执行所述的基于UWB定位的立体声合成方法的步骤。The present invention also provides a computer-readable storage medium. The computer-readable storage medium may be a non-volatile computer-readable storage medium. The computer-readable storage medium may also be a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium, and when the instructions are run on the computer, the computer is made to execute the steps of the stereo synthesis method based on UWB positioning.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统或系统、单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the above-described system or system or unit can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present invention. 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 various media that can store program codes. .
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still understand the foregoing The technical solutions recorded in each embodiment are modified, or some of the technical features are replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310274363.3A CN116347322B (en) | 2023-03-17 | 2023-03-17 | UWB-based stereo synthesis method, system, device and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310274363.3A CN116347322B (en) | 2023-03-17 | 2023-03-17 | UWB-based stereo synthesis method, system, device and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN116347322A true CN116347322A (en) | 2023-06-27 |
| CN116347322B CN116347322B (en) | 2025-11-14 |
Family
ID=86881739
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310274363.3A Active CN116347322B (en) | 2023-03-17 | 2023-03-17 | UWB-based stereo synthesis method, system, device and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116347322B (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1672463A (en) * | 2002-07-31 | 2005-09-21 | 皇家飞利浦电子股份有限公司 | Audio processing system |
| KR20090029424A (en) * | 2007-09-18 | 2009-03-23 | 엘지전자 주식회사 | Sound output control method and device using ultra wide band |
| CN104780506A (en) * | 2015-04-22 | 2015-07-15 | 北京理工大学 | Weighted trilateral positioning method based on confidence level |
| CN106412770A (en) * | 2016-12-16 | 2017-02-15 | 齐旭辉 | Wireless-positioning-based acoustic image reproduction system and working method |
| CN208863052U (en) * | 2018-09-27 | 2019-05-14 | 王乃洲 | A kind of intelligent sound system |
| CN115706592A (en) * | 2021-08-16 | 2023-02-17 | 恩智浦有限公司 | Ultra-wideband distance determination with interference compensation based on angle of arrival |
-
2023
- 2023-03-17 CN CN202310274363.3A patent/CN116347322B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1672463A (en) * | 2002-07-31 | 2005-09-21 | 皇家飞利浦电子股份有限公司 | Audio processing system |
| KR20090029424A (en) * | 2007-09-18 | 2009-03-23 | 엘지전자 주식회사 | Sound output control method and device using ultra wide band |
| CN104780506A (en) * | 2015-04-22 | 2015-07-15 | 北京理工大学 | Weighted trilateral positioning method based on confidence level |
| CN106412770A (en) * | 2016-12-16 | 2017-02-15 | 齐旭辉 | Wireless-positioning-based acoustic image reproduction system and working method |
| CN208863052U (en) * | 2018-09-27 | 2019-05-14 | 王乃洲 | A kind of intelligent sound system |
| CN115706592A (en) * | 2021-08-16 | 2023-02-17 | 恩智浦有限公司 | Ultra-wideband distance determination with interference compensation based on angle of arrival |
Also Published As
| Publication number | Publication date |
|---|---|
| CN116347322B (en) | 2025-11-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11838707B2 (en) | Capturing sound | |
| CN105340299B (en) | Method and its device for generating surround sound sound field | |
| US9332372B2 (en) | Virtual spatial sound scape | |
| EP4235207B1 (en) | Automatic discovery and localization of speaker locations in surround sound systems | |
| US20050152557A1 (en) | Multi-speaker audio system and automatic control method | |
| CN108028976A (en) | Distributed audio microphone array and locator configuration | |
| EP3549354A2 (en) | Distributed audio capture and mixing controlling | |
| EP3520437A1 (en) | Method, systems and apparatus for determining audio representation(s) of one or more audio sources | |
| CN117376804A (en) | Motion detection of speaker units | |
| JP7751592B2 (en) | Sound Field Microphone | |
| CN112672251A (en) | Control method and system of loudspeaker, storage medium and loudspeaker | |
| CN111479180A (en) | Pickup control method and related products | |
| CN116347322A (en) | Stereo synthesis method, system, device and storage medium based on UWB positioning | |
| CN115499772A (en) | Sound channel transformation method and device | |
| WO2022062999A1 (en) | Method for allocating channels and related device | |
| CN116489587B (en) | A method for realizing room stereo sound effect | |
| CN119629524B (en) | Pickup state regulation and control method and system for variable-pointing pickup | |
| WO2025111945A1 (en) | Audio system, and audio management method | |
| WO2025218310A1 (en) | Acoustic scene playback method and apparatus | |
| CN121001016A (en) | Television audio control methods, devices, equipment, storage media, and software products | |
| CN121619523A (en) | Multi-loudspeaker-box cooperative audio processing method and related device | |
| CN119274595A (en) | A recording device and a recording data processing method | |
| CN121334588A (en) | Method and device for spatial sound field calibration of in-vehicle panoramic sound system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |
