Phase superposition control method and device based on multi-sound-source sound intensity, equipment and medium
By configuring phase shift and gain weights for sub-speakers in the speaker array, the problem of speakers being unable to adjust volume in a specific direction is solved, enabling directional audio playback and reducing noise pollution.
Patent Information
- Application Number
- CN202511749339.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-26
- Publication Date
- 2026-02-24
AI Technical Summary
Existing speakers cannot adjust volume for specific directions, resulting in a wider sound diffusion range that can easily cause interference and noise pollution to people in the surrounding area.
A phase superposition control method based on multi-source sound intensity is adopted. By configuring the phase shift and gain weight of the sub-speakers in the speaker array, directional playback of audio is achieved, concentrating the sound intensity within a specific range.
It enables volume adjustment in a specific direction, avoiding noise pollution to the surrounding environment when the volume is increased, and improving the directional playback effect of the audio equipment.
Smart Images

Figure CN121568012A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of audio equipment control technology, and in particular to a method, device, equipment and medium for phase superposition control of multi-source sound intensity. Background Technology
[0002] In everyday use, the volume of a speaker can be adjusted by changing its power. However, traditional speakers increase volume (loudness) by increasing audio output power, but this also increases the sound's dispersion range (the audio travels further in all directions). Furthermore, the sound output from the speaker is non-directional, which can easily interfere with others or cause noise pollution. Therefore, existing speaker technologies have the problem of not being able to adjust the volume in a specific direction. Summary of the Invention
[0003] This invention provides a method, apparatus, device, and medium for phase superposition control of multi-source sound intensity, aiming to solve the problem that loudspeakers in existing technologies cannot adjust volume for specific directions during application.
[0004] In a first aspect, embodiments of the present invention provide a phase superposition control method based on the intensity of multiple sound sources. The method is applied to a controller of an audio device. The controller is communicatively connected to the speaker arrays of the audio device to transmit data information. A speaker array is disposed on each side of the audio device, and each speaker array consists of one or more speakers. Each speaker includes at least two sub-speakers covering different frequency bands. The method includes: Upon receiving an audio output command, the input audio is processed according to preset frame processing rules to obtain the corresponding frequency division feature information. The phase offset of each sub-speaker is determined based on a preset phase offset algorithm and initial distance information; The initial audio intensity of each sub-speaker is determined based on the preset sound pressure level curve, the initial distance information, and the frequency division characteristic information. The weights of multiple speakers on the same side are configured according to a preset sidelobe suppression algorithm to obtain the gain weight of each speaker. The initial audio intensity of each sub-speaker is adjusted according to the gain weight of each speaker to obtain the target intensity of each sub-speaker; The input audio is played directionally based on phase superposition according to the target intensity and phase shift of the sub-speaker.
[0005] Secondly, embodiments of the present invention provide a phase superposition control device based on multi-source sound intensity, wherein the device is configured in a controller of an audio device, the controller is communicatively connected to the speaker arrays provided in the audio device to realize data information transmission, a speaker array is provided on each side of the audio device, each speaker array consists of one or more speakers, each speaker includes at least two sub-speakers covering different frequency bands, the phase superposition control device based on multi-source sound intensity is used to execute the phase superposition control method based on multi-source sound intensity as described in the first aspect above, the device comprising: The frequency division feature information acquisition unit is used to receive audio output instructions and then process the input audio according to preset frame processing rules to obtain the corresponding frequency division feature information. A phase offset acquisition unit is used to determine the phase offset of each of the sub-speakers based on a preset phase offset algorithm and initial distance information; An initial audio intensity determination unit is used to determine the initial audio intensity of each of the sub-speakers based on a preset sound pressure level curve, the initial distance information, and the frequency division characteristic information. The gain weight acquisition unit is used to configure the weights of multiple speakers on the same side according to a preset sidelobe suppression algorithm, and obtain the gain weight of each speaker. An intensity adjustment unit is used to adjust the initial audio intensity of each sub-speaker according to the gain weight of each speaker, so as to obtain the target intensity of each sub-speaker. The playback unit is used to perform directional playback of the input audio based on phase superposition according to the target intensity and phase shift of the sub-speaker.
[0006] Thirdly, embodiments of the present invention also provide a phase superposition control device based on the intensity of multiple sound sources, wherein the device includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; When the processor executes a program stored in memory, it implements the phase superposition control method based on the intensity of multiple sound sources as described in the first aspect above.
[0007] Fourthly, embodiments of the present invention also provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program that, when executed by a processor, implements the phase superposition control method based on multi-source sound intensity as described in the first aspect above.
[0008] This invention provides a method, apparatus, device, and medium for phase superposition control based on the sound intensity of multiple sound sources. The method includes: upon receiving an audio output command, determining the phase offset of each sub-speaker based on initial distance information; processing the input audio to obtain frequency division characteristic information; determining the initial audio intensity of each sub-speaker based on the sound pressure level curve, initial distance information, and frequency division characteristic information; further, combining the initial distance information to assign gain weights to multiple speakers on the same side; obtaining the target intensity of each sub-speaker based on the gain weights and initial audio intensity; and performing directional playback of the input audio based on the phase offset. Through this method, audio can be played directionally using sub-speakers configured within a speaker based on phase superposition. By adjusting the volume in a specific direction, the sound intensity can be concentrated within a certain range, avoiding noise pollution to the surrounding area while increasing the volume. Attached Figure Description
[0009] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0010] Figure 1 A flowchart illustrating the phase superposition control method based on the intensity of multiple sound sources provided in this embodiment of the invention; Figure 2 A schematic diagram illustrating an application scenario of the phase superposition control method based on the intensity of multiple sound sources provided in this embodiment of the invention; Figure 3 This is a schematic diagram illustrating another application scenario of the phase superposition control method based on the intensity of multiple sound sources provided in this embodiment of the invention. Figure 4 A three-dimensional structural diagram of an audio device provided in an embodiment of the present invention; Figure 5 A side view of an audio device provided in an embodiment of the present invention; Figure 6 A cross-sectional structural diagram of a loudspeaker provided in an embodiment of the present invention; Figure 7 An exploded view of the loudspeaker provided in an embodiment of the present invention; Figure 8 The diagram illustrates the application effect of the phase superposition control method based on the intensity of multiple sound sources provided in this embodiment of the invention. Figure 9 A schematic block diagram of a phase superposition control device based on the intensity of multiple sound sources provided in an embodiment of the present invention; Figure 10 A schematic block diagram of a computer device provided for an embodiment of the present invention. Detailed Implementation
[0011] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0012] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0013] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0014] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0015] Please see Figure 1-3 , Figure 1 This is a flowchart of a phase superposition control method based on multi-source sound intensity provided in an embodiment of the present invention. Figure 2 A schematic diagram illustrating an application scenario of the phase superposition control method based on the intensity of multiple sound sources provided in this embodiment of the invention; Figure 3 This is a schematic diagram illustrating another application scenario of the phase superposition control method based on multi-source sound intensity provided in this embodiment of the invention. This phase superposition control method based on multi-source sound intensity is applied to the controller 10 of an audio device. The controller 10 is communicatively connected to the speaker arrays 20 of the audio device to transmit data information. A speaker array 20 is provided on each side of the audio device, and each speaker array 20 consists of one or more speakers 21. Each speaker 21 includes at least two sub-speakers 22 covering different frequency bands. The user wears the audio device on their head 40. A speaker array 20 is provided on each side of the audio device, and each speaker array 20 consists of one or more speakers 21; as... Figure 4As shown in Figure 5, in a typical embodiment, three speakers 21 can be arranged vertically to form a speaker array 20. This phase superposition control method based on multi-source sound intensity is executed by application software installed in the controller 10; the controller 10 is the physical hardware used to execute the phase superposition control method based on multi-source sound intensity to control the audio playback of each sub-speaker. The controller 10 can be an MCU control chip, FPGA logic circuit, etc., integrated into the audio equipment. Figure 1 As shown, the method includes steps S110 to S160.
[0016] S110: If an audio output command is received, the input audio is processed according to the preset frame processing rules to obtain the corresponding frequency division feature information.
[0017] Upon receiving an audio output command, the input audio is processed according to frame processing rules to obtain frequency division feature information. The audio output command can be actively input by the user or generated directly based on the input audio; for example, receiving input audio will automatically trigger the generation of an audio output command.
[0018] In one embodiment, step S110 specifically includes the following sub-steps: determining whether the input audio includes multiple channels; if the input audio includes multiple channels, processing the audio of each of the multiple channels in the input audio according to the frame processing rules to obtain the corresponding frequency division feature information; if the input audio does not include multiple channels, processing the audio of a single channel in the input audio according to the frame processing rules to obtain the corresponding frequency division feature information.
[0019] Specifically, we can first determine whether the input audio contains multiple channels. For example, the input audio might contain both left and right channels, or it might contain only one channel. If the input audio contains multiple channels, the audio from each channel needs to be processed separately according to frame processing rules to obtain the audio characteristics of each channel as frequency division feature information. In this application, the audio from the left channel is played by the speaker array on the left, and the audio from the right channel is played by the speaker array on the right. If the input audio contains only one channel, only that single channel needs to be processed to obtain the frequency division feature information. In this application, both speaker arrays on either side play the audio from that single channel.
[0020] In one embodiment, the step of processing the audio of a channel according to the frame processing rules to obtain frequency division feature information includes: performing frame processing on the audio of the channel according to the frame processing parameters in the frame processing rules to obtain single-frame audio; performing a fast Fourier transform on each single-frame audio to obtain corresponding audio frequency domain information; obtaining the amplitude and phase of each frequency component from the audio frequency domain information as the spectral features of each frequency component; and obtaining the spectral features of the frequency components corresponding to each frequency band according to the frequency bands in the frame processing rules as the corresponding frequency division feature information.
[0021] This application focuses on describing the processing of audio from a single channel in specific embodiments. The processing of audio from multiple channels can be deduced similarly. Specifically, the audio from a channel can be segmented into frames according to framing parameters to obtain single-frame audio. For example, the framing parameters can be set to a single-frame length of 20ms-50ms and an overlap rate of 50% (that is, the proportion of repeated audio lengths in a single-frame audio). Then, a single-frame audio corresponding to the single-frame length can be obtained according to the framing parameters. The repetition rate is used to extend the audio at the current position to the upstream and downstream. For example, if the single-frame length is 50ms and the starting time of the gear position is t, then the audio time sequence at the current position is determined to be [t+0, t+25ms] based on the single-frame length and the overlap rate. Based on the overlap rate and the corresponding audio time sequence at the current position, the audio time sequence is extended to obtain an audio time sequence of [t-12.5ms, t+37.5ms] as a single-frame audio. Similarly, the audio time sequence corresponding to the next single-frame audio is [t+25ms, t+75ms].
[0022] Furthermore, a Fast Fourier Transform (FFT) is performed on each acquired single-frame audio signal to convert the time-domain signal into a frequency-domain signal, obtaining the audio frequency-domain information corresponding to each single-frame audio signal. Then, the amplitude and phase of each frequency component are obtained from the audio frequency-domain information. The amplitude is the intensity (represented in dB) of the frequency component, and the phase is the vibration wave initiation point corresponding to the frequency component. The amplitude and phase of the frequency component are then used as the spectral characteristics of the frequency component.
[0023] The frame processing rules also include multiple frequency bands, such as low frequency, mid frequency, high frequency, and ultra-high frequency. Each frequency band corresponds to a frequency range, and the spectral characteristics of the corresponding frequency components in each frequency band can be obtained to obtain the frequency division feature information. For example, the frequency range corresponding to low frequency is [50Hz, 300Hz], so the frequency characteristics of the frequency components in a single frame of audio within this frequency range can be obtained; by obtaining the spectral characteristics of the frequency components contained in each frequency band, the frequency division feature information can be obtained.
[0024] S120. Determine the phase offset of each sub-speaker according to the preset phase offset algorithm and initial distance information.
[0025] Furthermore, the phase offset of each sub-speaker is determined based on the phase offset algorithm and the obtained initial distance information. The initial distance information is directly related to the phase offset of the sub-speakers; that is, if the initial distance information changes, the phase offset of each sub-speaker will also change accordingly. The initial distance information is preset by the user or acquired through a distance sensor. If the initial distance information is acquired by a distance sensor, it can be determined whether the initial distance information acquired by the distance sensor matches the target distance parameter. If they do not match, the position of the speaker array is adjusted by the drive motor. If the initial distance information matches the target distance parameter, there is no need to adjust the position of the speaker array. For example, in a specific application, two sets of speaker arrays can be connected by a linkage, and the linkage can be translated by the drive motor, so that the head is located in the center position of the two sets of speaker arrays, so that the initial distance information acquired again after adjustment matches the target distance parameter.
[0026] In one embodiment, step S120 specifically includes the following sub-steps: determining the transmission distance corresponding to each speaker based on the initial distance information; calculating the internal phase offset corresponding to each sub-speaker based on the internal spacing of the speakers and a preset coincidence frequency; the internal spacing is the spacing between two sub-speakers in the speaker; calculating the external phase offset between each speaker based on the transmission distance of each speaker and the coincidence frequency; and superimposing the internal phase offset and the external phase offset to determine the phase offset of each sub-speaker.
[0027] The transmission distance for each speaker is determined based on the initial distance information. This transmission distance is the distance between the speaker and the target object (such as a human ear). Each speaker has its own corresponding transmission distance. The initial distance information sets a preset distance for the speaker in the middle position of the speaker array. For example, if the preset distance is set to L=300mm, then the transmission distance between the middle speakers on both sides of the speaker array and the target object is L. Based on the preset distance set in the initial distance information, the transmission distances for the other speakers are determined sequentially. For example, if the distance between the middle speaker and the upper speaker is s, then the transmission distance of the upper speaker is (L...). 2 +s 2 ) 1 / 2 The transmission distance of each speaker can be determined sequentially using the above method. The preset distance for the product involved in this application embodiment is 300mm, and other products can extend this preset distance to 250mm-2500mm according to their own structure.
[0028] like Figure 6 and Figure 7As shown, each loudspeaker contains two sub-loudspeakers arranged coaxially with the spacing between them defined as the internal spacing. The two sub-loudspeakers cover different frequency bands; for example, the outer sub-loudspeaker covers [300Hz, 15kHz], while the inner sub-loudspeaker covers [100Hz, 1500Hz]. Since the frequencies of the two sub-loudspeakers overlap within the range of [300Hz, 1500Hz], the corresponding overlap frequency can be determined based on this overlap. Furthermore, the internal phase shift of each sub-loudspeaker can be calculated based on the internal spacing and the overlap frequency.
[0029] If the pre-set coincidence frequency is f (e.g., f = 1000 Hz), then the wavelength corresponding to the coincidence frequency is λ = c / f (c is the speed of sound ≈ 343 m / s). The angle between the propagation direction of the loudspeaker and the target direction is the direction angle θ; where θ = arccos[L / L] s ], L is the preset distance set in the initial distance information, L s Let θ be the transmission distance of the loudspeaker. If the loudspeaker is directly facing the target, then θ = 0, and the axis of the loudspeaker is the target direction. The propagation direction of the loudspeaker is also the direction of the line connecting the loudspeaker and the target. If the internal spacing is d, then the distance difference between the two sub-loudspeakers and the target is ΔL = d × cosθ. The corresponding internal phase offset Δφ0 = -2πdf × cosθ / c means that when the phase of the outer sub-loudspeaker with the coincident frequency is φ0, the phase of the inner sub-loudspeaker needs to be controlled to be φ0 + Δφ0.
[0030] In addition to calculating the phase offset of the two sub-speakers inside the loudspeaker, it is also necessary to calculate the phase offset between the speakers on the same side. The external phase offset between each speaker can be calculated based on the transmission distance and coincidence frequency of the speakers on the same side.
[0031] If the middle speaker is directly facing the target, based on the above process of obtaining the internal phase shift, the external phase shift Δφ1 between the upper speaker and the middle speaker is -2πf×[(L 2 +s 2 ) 1 / 2 -L) / c. If the phase of the middle speaker and the coincident frequency is φ1, then the phase of the upper speaker needs to be controlled to be φ1+Δφ1.
[0032] Next, the internal and external phase offsets of the loudspeakers are superimposed to determine the phase offset of each sub-loudspeaker. If the phase offset of the outer sub-loudspeaker in the middle loudspeaker is 0, the phase offsets of each sub-loudspeaker in the same loudspeaker matrix after superposition are shown in Table 1.
[0033] Table 1 S130. Determine the initial audio intensity of each sub-speaker based on the preset sound pressure level curve, the initial distance information, and the frequency division characteristic information.
[0034] Furthermore, the controller is pre-set with a sound pressure level curve, which allows the initial audio intensity of each sub-speaker to be determined based on the initial distance information and crossover characteristics. The sound pressure level curve contains multiple curves, each corresponding to a distance value (the distance between the speaker and the target object), such as... Figure 8 As shown, the blue line represents the sound intensity of each frequency when the distance is "0.1 meters", and the red line represents the sound intensity of each frequency when the distance is "1 meter". The attenuation rate of sound at each frequency is different. Generally speaking, the larger the distance, the lower the sound intensity of each frequency. In order to ensure that the sound intensity heard by the user remains balanced, the initial audio intensity of each sub-speaker can be determined according to the sound pressure level curve.
[0035] In one embodiment, step S130 specifically includes the following sub-steps: determining the transmission distance corresponding to each speaker based on the initial distance information; determining the output frequency corresponding to each of the sub-speakers in the frequency division feature information; and obtaining the intensity value corresponding to each sub-speaker in the sound pressure level curve as the initial audio intensity based on the transmission distance of each speaker and the output frequency of each sub-speaker.
[0036] The transmission distance for each loudspeaker is determined based on the initial distance information. This process is detailed in the steps described above and will not be repeated here. Further, the output frequency of each sub-loudspeaker is determined based on the frequency division characteristic information. The spectral characteristics of the frequency components corresponding to the coverage frequency of the sub-loudspeakers are obtained, and the frequency component with the largest amplitude is determined as the output frequency of the sub-loudspeaker.
[0037] Furthermore, based on the transmission distance of the loudspeaker and the output frequency of each sub-loudspeaker, the intensity value corresponding to each loudspeaker is obtained by matching the sound pressure level curve. If the transmission distance of the loudspeaker is L... x Then determine the sound pressure level curve that corresponds to the transmission distance L. x A matching curve is used as the target curve. Further, the frequency points corresponding to the output frequencies of each sub-speaker in the loudspeaker on the target curve are obtained, and the sound intensity P at each frequency point is acquired. x Based on the preset audio intensity P y The sound intensity P of the sub-speaker x The intensity value corresponding to the sub-loudspeaker is calculated from the rated sound intensity P0 of the sound pressure level curve. The initial audio intensity P of the sub-loudspeaker... c =(P y ×P0) / P x Among them, the preset audio intensity Py The audio intensity can be set in the audio output command (e.g., the playback volume can be set by the user). The rated sound intensity P0 is the audio intensity played by the sound source during the test and acquisition of the sound pressure level curve. The initial audio intensity of each sub-speaker can be obtained according to the above method.
[0038] S140. According to the preset sidelobe suppression algorithm, the weights of multiple speakers on the same side are configured to obtain the gain weights of each speaker.
[0039] Furthermore, multiple speakers set on the same side can be weighted according to a pre-set sidelobe suppression algorithm to obtain the gain weight of each speaker after configuration.
[0040] In one embodiment, step S140 specifically includes the following sub-steps: determining the directional angles of each of the multiple speakers on the same side based on the initial distance information; and solving for the weight matrix corresponding to the directional angles based on the objective function and constraints in the sidelobe suppression algorithm, wherein the weight matrix includes the gain weights of each speaker.
[0041] Specifically, the azimuth angles of multiple speakers on the same side can be determined based on the initial distance information. These azimuth angles are the angles between the speaker's propagation direction and the target direction. The sidelobe suppression algorithm includes an objective function and constraints, and the weight matrix corresponding to the azimuth angle can be obtained by solving for these objective function and constraints.
[0042] For example, the weight matrix W = [w1, w2, ..., w] can be set for the M speakers. M ] T (T represents transpose), where the gain weight w represents the signal amplification / attenuation ratio of each speaker, and w takes a value greater than zero. The input signal X(t) = A0s0(t) + ΣA is pre-set through signal simulation. k s k (t); where s0(t) is the signal corresponding to the target direction, s1(t), s2(t), ..., s K (t) are all side-direction interference signals, k∈[1,K], A0 is the target direction steering vector, A k The steering vector is the side-direction signal steering vector, and Σ is the accumulation calculation symbol. The steering vector is used to describe the phase difference of the signal arriving at each loudspeaker. For example, the target direction A0=[1, e^ (-j2πs×sinθ / λ) , ..., e^ (-j2π(M-1)s×sinθ / λ) ] T (s is the spacing between the speakers, λ is the signal wavelength, and the direction angle θ corresponding to the target direction steering vector A0 is 0°).
[0043] By setting an objective function to minimize the energy of the side-channel signal, the total input of the side-channel signal can be expressed as the interference matrix N(t), and the energy is "the sum of the squares of the inner product of the weights and the side-channel signal", i.e., min[W H R n W]. Among them, R n =E[N(t)×N(t) H ] (E represents expectation, H represents conjugate transpose) is the covariance matrix of the lateral signals, describing the statistical correlation of the lateral signals.
[0044] The constraint is set as target direction gain = 1, and the output of the target direction signal after passing through the weights is W. H Given A0s0(t), the required gain W is... H A0=1 (ensuring the target signal is output without distortion). We can first construct an unconstrained optimization function, introduce the Lagrange multiplier ζ (a complex number), and incorporate the constraints into the objective function: L(W,ζ) = W H R n W-ζ(W H A0 - 1); Further, differentiate the above objective function and set the derivative to 0 (extreme condition), calculate the conjugate gradient of W and set the result to 0: ∇WL=2R n W-ζA0 = 0, thus obtaining R n W = (ζ / 2) A0. Then, by combining the constraints, W can be solved, and we can set W = rR. n -1 A0 (r is a preset constant, R) n -1 (It is the inverse of the covariance matrix), substituting it into the constraint W H A0=1:k (A0 H R n -1 A0) = 1 → k=1 / (A0 H R n -1 A0); The final weight matrix W is obtained by solving the above formula. opt = R n -1 A0 / (A0 H R n -1 A0), this is the optimal weight obtained based on the sidelobe suppression algorithm.
[0045] S150. Adjust the initial audio intensity of each sub-speaker according to the gain weight of each speaker to obtain the target intensity of each sub-speaker.
[0046] The initial audio intensity of each sub-speaker is adjusted according to the gain weight of each speaker, that is, the two sub-speakers contained in the same speaker share a gain weight.
[0047] In one embodiment, step S150 specifically includes the sub-step of multiplying the gain weight of each speaker by the initial audio intensity of the sub-speaker in each speaker, thereby adjusting the intensity of each sub-speaker to obtain the corresponding target intensity.
[0048] Specifically, by multiplying the gain weight of each speaker by the initial audio intensity of each sub-speaker in the speaker, the intensity of each sub-speaker can be adjusted according to the gain weight, thereby obtaining the target intensity of each sub-speaker.
[0049] S160. The input audio is played directionally based on phase superposition according to the target intensity and phase shift of the sub-speaker.
[0050] The target intensity and phase shift of each sub-speaker are obtained sequentially according to the above method. The input audio can be played according to the target intensity and phase shift of each sub-speaker. Since the intensity and phase of the audio playback of each sub-speaker are adjusted in a targeted manner, directional playback based on phase superposition can be achieved.
[0051] In the phase superposition control method based on multi-source sound intensity provided in this embodiment of the invention, the method includes: upon receiving an audio output command, determining the phase offset of each sub-speaker based on initial distance information; processing the input audio to obtain frequency division characteristic information; determining the initial audio intensity of each sub-speaker based on the sound pressure level curve, initial distance information, and frequency division characteristic information; further combining the initial distance information to configure gain weights for multiple speakers on the same side; obtaining the target intensity of each sub-speaker based on the gain weights and initial audio intensity; and combining the phase offset to perform directional playback of the input audio. Through the above method, audio can be played directionally by sub-speakers configured within the speaker based on phase superposition. By adjusting the volume in a specific direction, the sound intensity can be concentrated within a certain range, avoiding noise pollution to the surrounding area while increasing the volume.
[0052] This invention also provides a phase superposition control device based on multi-source sound intensity. This device can be configured in the controller 10 of an audio device. The controller 10 is communicatively connected to the speaker arrays 20 of the audio device to transmit data. A speaker array 20 is disposed on each side of the audio device. Each speaker array 20 consists of one or more speakers 21, and each speaker 21 includes at least two sub-speakers 22 covering different frequency bands. This phase superposition control device is used to execute any embodiment of the aforementioned phase superposition control method based on multi-source sound intensity. Specifically, please refer to... Figure 9 , Figure 9 This is a schematic block diagram of a phase superposition control device based on the intensity of multiple sound sources provided in an embodiment of the present invention.
[0053] like Figure 9 As shown, the phase superposition control device 100 based on the intensity of multiple sound sources includes an initial distance information acquisition unit 110, a phase offset acquisition unit 120, an initial audio intensity determination unit 130, a gain weight acquisition unit 140, an intensity adjustment unit 150, and a playback unit 160.
[0054] The frequency division feature information acquisition unit 110 is used to receive audio output instructions and then process the input audio according to preset frame processing rules to obtain the corresponding frequency division feature information.
[0055] The phase offset acquisition unit 120 is used to determine the phase offset of each of the sub-speakers according to a preset phase offset algorithm and initial distance information.
[0056] The initial audio intensity determination unit 130 is used to determine the initial audio intensity of each of the sub-loudspeakers based on the preset sound pressure level curve, the initial distance information, and the frequency division characteristic information.
[0057] The gain weight acquisition unit 140 is used to configure the weights of multiple speakers on the same side according to a preset sidelobe suppression algorithm, so as to obtain the gain weight of each speaker.
[0058] The intensity adjustment unit 150 is used to adjust the initial audio intensity of each sub-speaker according to the gain weight of each speaker, so as to obtain the target intensity of each sub-speaker.
[0059] The playback unit 160 is used to perform directional playback of the input audio based on phase superposition according to the target intensity and phase shift of the sub-speaker.
[0060] The phase superposition control device based on multi-source sound intensity provided in this embodiment of the invention applies the aforementioned phase superposition control method based on multi-source sound intensity. The method includes: upon receiving an audio output command, determining the phase offset of each sub-speaker based on initial distance information; processing the input audio to obtain frequency division characteristic information; determining the initial audio intensity of each sub-speaker based on the sound pressure level curve, initial distance information, and frequency division characteristic information; further combining the initial distance information to assign gain weights to multiple speakers on the same side; obtaining the target intensity of each sub-speaker based on the gain weights and initial audio intensity; and performing directional playback of the input audio based on the phase offset. Through this method, audio can be played directionally using sub-speakers configured within the speaker based on phase superposition. By adjusting the volume in a specific direction, the sound intensity can be concentrated within a certain range, avoiding noise pollution to the surrounding area while increasing the volume.
[0061] The aforementioned phase superposition control device based on multi-source sound intensity can be implemented as a computer program, and the aforementioned computer program can be used in, for example... Figure 10 The computer device shown runs on the computer. The computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor; when the computer device executes the computer program, it implements the phase superposition control method based on multi-source sound intensity as described in the above embodiments.
[0062] Please see Figure 10 , Figure 10 This is a schematic block diagram of a computer device provided in an embodiment of the present invention. The computer device may be a controller for executing a phase superposition control method based on the intensity of multiple sound sources to control the audio playback of each sub-speaker.
[0063] See Figure 10 The computer device 500 includes a processor 502, a memory, and a network interface 505 connected via a system bus 501. The memory may include a storage medium 503 and internal memory 504.
[0064] The storage medium 503 may store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, it causes the processor 502 to execute a phase superposition control method based on the intensity of multiple sound sources. The storage medium 503 may be a volatile storage medium or a non-volatile storage medium.
[0065] The processor 502 provides computing and control capabilities to support the operation of the entire computer device 500.
[0066] The internal memory 504 provides an environment for the operation of the computer program 5032 in the storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a phase superposition control method based on the intensity of multiple sound sources.
[0067] This network interface 505 is used for network communication, such as providing data transmission. Those skilled in the art will understand that... Figure 10 The structure shown is merely a block diagram of a portion of the structure related to the present invention and does not constitute a limitation on the computer device 500 to which the present invention is applied. The specific computer device 500 may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
[0068] The processor 502 is used to run the computer program 5032 stored in the memory to implement the corresponding functions in the above-mentioned phase superposition control method based on the intensity of multiple sound sources.
[0069] Those skilled in the art will understand that Figure 10 The embodiments of the computer device shown do not constitute a limitation on the specific configuration of the computer device. In other embodiments, the computer device may include more or fewer components than illustrated, or combine certain components, or have different component arrangements. For example, in some embodiments, the computer device may include only memory and a processor. In such embodiments, the structure and function of the memory and processor are different from those shown. Figure 10 The embodiments shown are consistent and will not be repeated here.
[0070] It should be understood that, in this embodiment of the invention, the processor 502 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0071] In another embodiment of the invention, a computer-readable storage medium is provided. This computer-readable storage medium may be volatile or non-volatile. The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps included in the above-described phase superposition control method based on multi-source sound intensity.
[0072] Those skilled in the art will readily understand that, for the sake of convenience and brevity, the specific working processes of the devices, apparatuses, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this invention.
[0073] In the embodiments provided by this invention, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Units with the same function may be grouped into one unit. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or units, or it may be an electrical, mechanical, or other form of connection.
[0074] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiments of the present invention, depending on actual needs.
[0075] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0076] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, 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. This computer software product is stored in a computer-readable storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned computer-readable storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), magnetic disks, or optical disks.
[0077] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A phase superposition control method based on the intensity of multiple sound sources, characterized in that, The method is applied to a controller of an audio device, wherein the controller is communicatively connected to the speaker arrays of the audio device to transmit data information. A speaker array is disposed on each side of the audio device, and each speaker array consists of one or more speakers, each speaker including at least two sub-speakers covering different frequency bands. The method includes: Upon receiving an audio output command, the input audio is processed according to preset frame processing rules to obtain the corresponding frequency division feature information. The phase offset of each sub-speaker is determined based on a preset phase offset algorithm and initial distance information; the initial distance information is preset by the user or acquired by a distance sensor. The initial audio intensity of each sub-speaker is determined based on the preset sound pressure level curve, the initial distance information, and the frequency division characteristic information. The weights of multiple speakers on the same side are configured according to a preset sidelobe suppression algorithm to obtain the gain weight of each speaker. The initial audio intensity of each sub-speaker is adjusted according to the gain weight of each speaker to obtain the target intensity of each sub-speaker; The input audio is played directionally based on phase superposition according to the target intensity and phase shift of the sub-speaker.
2. The phase superposition control method based on multi-source sound intensity according to claim 1, characterized in that, The step of processing the input audio according to preset frame processing rules to obtain corresponding frequency division feature information includes: Determine whether the input audio includes multiple channels; If the input audio contains multiple channels, the audio of each channel in the input audio is processed according to the frame processing rules to obtain the corresponding frequency division feature information; If the input audio does not contain multiple channels, the audio of a single channel in the input audio is processed according to the frame processing rules to obtain the corresponding frequency division feature information.
3. The phase superposition control method based on multi-source sound intensity according to claim 2, characterized in that, The steps of processing the audio of the audio channel according to the frame processing rules to obtain frequency division feature information include: The audio of the channel is segmented into frames according to the framing parameters in the frame processing rules to obtain a single frame audio. Perform a Fast Fourier Transform on each single frame of audio to obtain the corresponding audio frequency domain information; The amplitude and phase of each frequency component are obtained from the audio frequency domain information as the spectral characteristics of each frequency component. The spectral characteristics of the frequency components corresponding to each frequency band are obtained according to the frequency bands in the frame processing rules, and used as the corresponding frequency division feature information.
4. The phase superposition control method based on multi-source sound intensity according to any one of claims 1-3, characterized in that, The step of determining the phase offset of each sub-speaker based on a preset phase offset algorithm and initial distance information includes: The transmission distance for each speaker is determined based on the initial distance information. The internal phase offset of each sub-speaker is calculated based on the internal spacing of the loudspeaker and the preset coincidence frequency; the internal spacing is the distance between two sub-speakers in the loudspeaker. The external phase offset between each speaker is calculated based on the transmission distance of each speaker and the coincidence frequency. The internal phase offset and the external phase offset are superimposed to determine the phase offset of each sub-speaker.
5. The phase superposition control method based on multi-source sound intensity according to any one of claims 1-3, characterized in that, The step of determining the initial audio intensity of each sub-speaker based on the preset sound pressure level curve, the initial distance information, and the frequency division characteristic information includes: The transmission distance for each speaker is determined based on the initial distance information. Determine the output frequency corresponding to each of the sub-speakers in the frequency division feature information; Based on the transmission distance of each loudspeaker and the output frequency of each sub-loudspeaker, the intensity value corresponding to each sub-loudspeaker in the sound pressure level curve is obtained as the initial audio intensity.
6. The phase superposition control method based on multi-source sound intensity according to any one of claims 1-3, characterized in that, The step of weighting multiple speakers on the same side according to a preset sidelobe suppression algorithm to obtain the gain weight of each speaker includes: The azimuth angles of the multiple speakers on the same side are determined based on the initial distance information. The weight matrix corresponding to the direction angle is obtained by solving the objective function and constraints in the sidelobe suppression algorithm. The weight matrix includes the gain weight of each speaker.
7. The phase superposition control method based on multi-source sound intensity according to claim 6, characterized in that, The step of adjusting the initial audio intensity of each sub-speaker according to the gain weight of each speaker to obtain the target intensity of each sub-speaker includes: The gain weight of each speaker is multiplied by the initial audio intensity of the sub-speaker in each speaker, thereby adjusting the intensity of each sub-speaker to obtain the corresponding target intensity.
8. A phase superposition control device based on the intensity of multiple sound sources, characterized in that, The device is configured in the controller of the audio equipment. The controller is communicatively connected to the speaker arrays of the audio equipment to transmit data information. A speaker array is disposed on each side of the audio equipment. Each speaker array consists of one or more speakers, and each speaker includes at least two sub-speakers covering different frequency bands. The phase superposition control device based on multi-source sound intensity is used to execute the phase superposition control method based on multi-source sound intensity as described in any one of claims 1-7. The device includes: The frequency division feature information acquisition unit is used to receive audio output instructions and then process the input audio according to preset frame processing rules to obtain the corresponding frequency division feature information. A phase offset acquisition unit is used to determine the phase offset of each of the sub-speakers based on a preset phase offset algorithm and initial distance information; An initial audio intensity determination unit is used to determine the initial audio intensity of each of the sub-speakers based on a preset sound pressure level curve, the initial distance information, and the frequency division characteristic information. The gain weight acquisition unit is used to configure the weights of multiple speakers on the same side according to a preset sidelobe suppression algorithm, and obtain the gain weight of each speaker. An intensity adjustment unit is used to adjust the initial audio intensity of each sub-speaker according to the gain weight of each speaker, so as to obtain the target intensity of each sub-speaker. The playback unit is used to perform directional playback of the input audio based on phase superposition according to the target intensity and phase shift of the sub-speaker.
9. A computer device, characterized in that, The device includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor, when executing a program stored in memory, implements the phase superposition control method based on the intensity of multiple sound sources as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the phase superposition control method based on the intensity of multiple sound sources as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Sound pressure adjusting method and system based on human body induction sound box
CN119364261A
Automobile DSP power amplifier sound effect intelligent processing system
CN119996899A
Audio system comprising head-wearable carrier element configured with beamforming speaker system
CN120826916A
Super-coaxial frequency-halving phased array linear array loudspeaker device
CN221127476U
Smart loudspeaker box playing method and device and smart loudspeaker box
WO2020119220A1