Independent sound area control method and device, electronic equipment, storage medium and product
By dividing the speakers into main speakers and auxiliary speakers, and optimizing the response of the auxiliary speakers with control filters, the problem of poor sound quality loss and sound contrast when the speaker approaches the target sound zone in the prior art is solved, and independent sound zone control with high sound quality and effective isolation is achieved.
Patent Information
- Application Number
- CN202411804994.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-09
- Publication Date
- 2025-03-14
AI Technical Summary
The existing independent sound zone control algorithm is better when the speakers and the target acoustic light and dark zone are relatively consistent, but when the speakers are close to the target sound zone, the role of these speakers cannot be fully utilized, resulting in loss of sound quality and poor sound contrast.
By using the speaker within the preset distance threshold from the target acoustic explicit area as the main speakers, other speakers as auxiliary speakers, the response of each speaker in the target control area is measured separately, and the auxiliary speaker is optimized using a control filter to minimize the response in the target acoustic explicit area and cancel the response in the dark area with the main speaker.
It achieves the maximum sound quality restoration in the target acoustic zone, while meeting the audio isolation requirements, and fully exerting the role of speakers close to the target acoustic zone.
Smart Images

Figure CN119629540A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of independent sound zone control, and in particular to an independent sound zone control method and device, electronic equipment, storage medium, and product. Background Art
[0002] Controlling the audio content to be played in a specified area in the car is generally called directional sound or independent sound zone technology. It is an advanced sound field control technology with high consumer demand.
[0003] Independent sound zone technology uses a sound field control optimization algorithm to regulate the input signal of each speaker separately for a control system composed of multiple speakers, thereby achieving normal playback of audio content in the target acoustic bright area and suppression of audio content in the target acoustic dark area.
[0004] The control filter used for speaker input signal regulation is usually obtained by optimizing the acoustic response of each speaker in the control system to the target control area. At present, most of the commonly used independent sound zone control algorithms are based on acoustic contrast control (ACC) and pressure match (PM). Among them, ACC mainly focuses on the isolation of acoustic light and dark areas, which can obtain a better acoustic contrast effect, but the sound quality of the acoustic light area will be greatly lost. PM focuses more on the reconstruction of the sound field in the light area, which can obtain better sound quality in the light area, but the acoustic contrast effect of the light and dark areas is usually not as good as the ACC method. In addition, some independent sound zone control algorithms also combine the two methods of ACC and PM, and use weight control to achieve a balance between acoustic contrast and sound quality.
[0005] When AAC, PM or a combination of the two is used for independent sound zone control, the control algorithm treats the speakers in the control system equally and does not pay special attention to the response of a certain speaker in the system. Instead, it focuses on the performance of the superposition of the sounds of all the speakers in the system. This method is suitable for the situation where the positional relationship between the speakers in the control system and the target acoustic light and dark areas is relatively consistent. However, for the situation where there are speakers very close to the light or dark areas in the control system, it is usually necessary to balance the responses between the speakers, thereby reducing the output of these speakers close to the target sound zone, and the role of these close-range speakers is not fully utilized. Summary of the invention
[0006] The present invention aims to solve at least one of the problems existing in the prior art and provides an independent sound zone control method and device, electronic equipment, storage medium, and product.
[0007] One aspect of the present invention provides an independent sound zone control method, which is applied to a control system including a plurality of loudspeakers;
[0008] The independent sound zone control method comprises:
[0009] Determine a target control area; wherein the target control area includes a target acoustic bright area and a target acoustic dark area;
[0010] The loudspeaker within a preset distance threshold from the target acoustic bright area is used as a main loudspeaker, and the remaining loudspeakers in the control system except the main loudspeaker are used as auxiliary loudspeakers;
[0011] respectively measuring the responses of the main speaker and the auxiliary speaker in the target control area;
[0012] The main speaker is processed with sound effects, and the main speaker after the sound effects processing is controlled to directly play back the audio content to the target acoustic bright area. At the same time, the auxiliary speaker is controlled by using a control filter so that the response of the auxiliary speaker in the target acoustic bright area is minimized, and the response of the auxiliary speaker in the target acoustic dark area is offset by the response of the main speaker in the target acoustic dark area; wherein the control filter is optimized based on the responses of the main speaker and the auxiliary speaker in the target control area.
[0013] Optionally, the measuring responses of the main speaker and the auxiliary speaker in the target control area respectively includes:
[0014] Respectively measuring the response of the main speaker at each measurement point in the target acoustic bright area and the response of each measurement point in the target acoustic dark area;
[0015] The responses of the auxiliary speaker at each measurement point in the target acoustic bright area and the responses of each measurement point in the target acoustic dark area are measured respectively.
[0016] Optionally, the optimization process of the control filter includes:
[0017] Determining an objective function and constraint conditions of the control filter based on responses of the main speaker and the auxiliary speaker in the target control area;
[0018] The objective function and the optimization condition are converted into a Lagrangian expression by using a Lagrangian multiplier method. When the derivative of the Lagrangian expression to the matrix corresponding to the control filter is 0, the optimal solution corresponding to the control filter is solved.
[0019] Optionally, the objective function and the constraint condition of the control filter include:
[0020] min||H ds q s -H dp g p || 2 ;
[0021] ||H bs q s || 2 ≤D;
[0022] ||q s || 2 ≤E;
[0023] Among them, H ds represents the transfer function matrix of the auxiliary speaker at all measurement points in the target acoustic dark area, H dp represents the transfer function matrix of the main speaker at all measurement points in the target acoustic dark area, H bs represents the transfer function matrix of the auxiliary speaker at all measurement points in the target acoustic bright area, q s represents the matrix corresponding to the control filter, g p represents the sound effect processing matrix added when the main speaker plays back directly to the target acoustic bright area, D represents the total playback energy of the auxiliary speaker in the target acoustic bright area, and E represents the energy limit of the speaker array composed of the main speaker and the auxiliary speaker.
[0024] Optionally, the adopting of the Lagrangian multiplier method to convert the objective function and the optimization condition into a Lagrangian expression, where the derivative of the Lagrangian expression to the matrix corresponding to the control filter is 0, and solving the optimal solution corresponding to the control filter comprises:
[0025] The objective function and the optimization condition are converted into the following Lagrangian expression:
[0026] min L(q s )=||H ds q s -H dp g p || 2 +λ1(||H bs q s || 2 -D)+λ2(||q s || 2 -E);
[0027] Among them, L(q s ) indicates q sLagrangian function, λ1 and λ2 are both Lagrangian multipliers, and λ1 and λ2 are both greater than 0;
[0028] Let the derivative of the Lagrangian expression with respect to the matrix corresponding to the control filter be 0, and we get:
[0029]
[0030] The interior point method is used to select the values of λ1 and λ2 to obtain the optimal solution q corresponding to the control filter. s-opt :
[0031]
[0032] Where I represents the identity matrix, (·) H represents the conjugate transpose.
[0033] Optionally, the independent sound zone control method further includes:
[0034] When the target acoustic dark area includes multiple ones, combining the responses of the main speaker in each of the target acoustic dark areas, and combining the responses of the auxiliary speaker in each of the target acoustic dark areas, optimizing the control filter based on the combined responses, and controlling the auxiliary speaker using the optimized control filter;
[0035] When the target acoustic bright area includes multiple areas, the control filter is optimized for each target acoustic bright area based on the target acoustic dark area in turn to obtain the optimized control filter corresponding to each target acoustic bright area, the optimized control filters corresponding to each target acoustic bright area are superimposed, and the auxiliary speaker is controlled by using the superimposed control filters.
[0036] Another aspect of the present invention provides an independent sound zone control device, which is applied to a control system including a plurality of loudspeakers;
[0037] The independent sound zone control device comprises:
[0038] A determination module, used to determine a target control area; wherein the target control area includes a target acoustic bright area and a target acoustic dark area;
[0039] A division module, used to use the speakers within a preset distance threshold from the target acoustic bright area as main speakers, and use the remaining speakers in the control system except the main speakers as auxiliary speakers;
[0040] A measuring module, configured to measure responses of the main speaker and the auxiliary speaker in the target control area respectively;
[0041] A control module is used to perform sound effect processing on the main speaker, and control the main speaker after the sound effect processing to directly play back the audio content to the target acoustic bright area. At the same time, the auxiliary speaker is controlled by using a control filter to minimize the response of the auxiliary speaker in the target acoustic bright area, and the response of the auxiliary speaker in the target acoustic dark area is offset by the response of the main speaker in the target acoustic dark area; wherein the control filter is optimized based on the responses of the main speaker and the auxiliary speaker in the target control area.
[0042] Another aspect of the present invention provides an electronic device, comprising:
[0043] at least one processor; and,
[0044] a memory communicatively connected to at least one processor; wherein,
[0045] The memory stores instructions that can be executed by at least one processor. The instructions are executed by the at least one processor so that the at least one processor can execute the independent sound zone control method described above.
[0046] Another aspect of the present invention provides a computer-readable storage medium storing a computer program, which implements the independent sound zone control method described above when executed by a processor.
[0047] Another aspect of the present invention provides a computer program product, including a computer program, which implements the independent sound zone control method described above when executed by a processor.
[0048] Compared with the prior art, the present invention uses a speaker within a preset distance threshold from the target acoustic bright area as a main speaker, and uses the remaining speakers except the main speaker in the control system as auxiliary speakers. After performing simple sound effect processing on the main speaker, the main speaker is not processed by the control filter, but the main speaker is controlled to directly play back the audio content to the target acoustic bright area, so that the audio playback quality in the target acoustic bright area can be guaranteed to the greatest extent; at the same time, the auxiliary speakers are modulated by the optimized control filter, so that the response of each auxiliary speaker in the target acoustic bright area is minimized, and the response of the main speaker is not interfered with, and the response of each auxiliary speaker in the target acoustic dark area is offset by the response of the main speaker in the target acoustic dark area, thereby effectively meeting the audio isolation requirements of the target acoustic bright area and the target acoustic dark area, and ensuring the sound quality restoration of the target acoustic bright area, and giving full play to the role of the speakers close to the target acoustic bright area. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplifications do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0050] Figure 1 A flowchart of an independent sound zone control method provided by one embodiment of the present invention;
[0051] Figure 2 A schematic diagram of a target acoustic bright area and a target acoustic dark area provided in another embodiment of the present invention;
[0052] Figure 3 A schematic diagram of an independent sound zone control method for realizing independent sound zone control according to another embodiment of the present invention;
[0053] Figure 4 A schematic structural diagram of an independent sound zone control device provided by another embodiment of the present invention;
[0054] Figure 5 A schematic structural diagram of an electronic device provided in another embodiment of the present invention. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present invention. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present invention can be implemented. The division of the following embodiments is for the convenience of description and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined and referenced with each other without contradiction.
[0056] One embodiment of the present invention relates to an independent sound zone control method, which is applied to a control system including a plurality of loudspeakers.
[0057] like Figure 1 As shown, the independent sound zone control method provided in this embodiment includes steps S110 to S140.
[0058] Step S110, determining a target control area, wherein the target control area includes a target acoustic bright area and a target acoustic dark area.
[0059] Specifically, the target acoustic bright area here refers to an area where there is a listening demand, and the target acoustic dark area refers to an area where there is no listening demand.
[0060] like Figure 2 As shown in Figure 2, after the target acoustic bright area and target acoustic dark area are determined, some speakers in the control system are controlled as follows: Figure 2 The solid speakers in the example are closer to the target acoustic bright area, while other speakers such as Figure 2 The hollow speaker in the sound field will be far away from the target acoustic bright area. In this case, if the existing AAC, PM or a combination of the two methods is used for independent sound zone control, all speakers will be controlled with the same weight, and the input signal of each speaker will be filtered and modulated using the control filter, so that the final sound field effect of the target acoustic bright area and the target acoustic dark area is the superposition effect of all speakers after modulation by the control filter. Although the PM method will also consider the sound quality restored in the target acoustic bright area, the processing method of superimposing the outputs of multiple speakers after being processed by the control filter will be affected by factors such as the accuracy of speaker response measurement, changes in the external environment, and disturbances of objects in the sound field, which will affect the sound quality restored by the relevant control method in the target acoustic bright area.
[0061] In fact, in scenarios where independent sound zone control is usually required, such as in-vehicle scenarios, the target acoustic bright zone or target acoustic dark zone is generally small in area. At this time, no sound field control algorithm is used to control the speakers that are very close to the target acoustic bright zone. These speakers are allowed to play directly into the target acoustic bright zone, which can achieve good sound quality restoration, and the sound quality will be significantly better than the sound quality performance of multiple speakers after being processed by the sound field control filter. Based on this, the independent sound zone control method provided in this embodiment processes speakers at different distances from the target acoustic bright zone respectively to meet the audio isolation requirements of the target acoustic bright zone and the target acoustic dark zone, while ensuring the sound quality restoration of the target acoustic bright zone.
[0062] Step S120: The speakers within a preset distance threshold from the target acoustic bright area are used as main speakers, and the remaining speakers in the control system except the main speakers are used as auxiliary speakers.
[0063] Specifically, the purpose of setting the preset distance threshold is to use the preset distance threshold to determine the distance between the speaker and the target acoustic bright area. In step S120, the speaker whose distance to the target acoustic bright area is within the preset distance threshold can be regarded as the speaker closer to the target acoustic bright area, i.e., the main speaker, and the speaker whose distance to the target acoustic bright area is outside the preset distance threshold can be regarded as the speaker farther from the target acoustic bright area, i.e., the auxiliary speaker. The preset distance threshold can be set according to actual needs, and this embodiment does not limit this.
[0064] For example, Figure 2As shown, in step S120, the solid speaker that is closer to the target acoustic bright area can be used as the main speaker, and the remaining speakers, that is, the hollow speakers that are farther from the target acoustic bright area, can be used as auxiliary speakers.
[0065] Step S130, measuring responses of the main speaker and the auxiliary speaker in the target control area respectively.
[0066] Specifically, since the target control area includes a target acoustic bright area and a target acoustic dark area, step S130 may include: measuring the response of the main speaker at each measurement point in the target acoustic bright area and the response of each measurement point in the target acoustic dark area; measuring the response of the auxiliary speaker at each measurement point in the target acoustic bright area and the response of each measurement point in the target acoustic dark area.
[0067] For example, suppose Figure 2 In the scene shown, the target acoustic bright area and the target acoustic dark area include M measurement points respectively, each measurement point is used to measure the response of each speaker to the target acoustic bright area or the target acoustic dark area, and the number of main speakers is L p , the number of auxiliary speakers is L s , then the responses of the main speaker at the 1st, 2nd, …, Mth measurement points in the target acoustic bright area can be expressed as p 1,bp , p 2,bp ,…,p M,bp , the responses of the main speaker at the 1st, 2nd, …, Mth measurement points in the target acoustic dark area can be expressed as p 1,dp , p 2,dp ,…,p M,dp , the responses of the auxiliary loudspeaker at the 1st, 2nd, …, Mth measurement points in the target acoustic bright area can be expressed as p 1,bs , p 2,bs ,…,p M,bs , the responses of the auxiliary loudspeaker at the 1st, 2nd, …, Mth measurement points in the target acoustic dark area can be expressed as p 1,ds , p 2,ds ,…,p M,ds , therefore, the target acoustic bright area response p corresponding to the main speaker bp It can be expressed as p bp =[p 1,bp , p 2,bp ,…,p M,bp ] T , the target acoustic dark zone response pdp corresponding to the main speaker can be expressed as pdp = [p 1,dp , p 2,dp ,…,p M,dp ] T , the target acoustic bright area response p corresponding to the auxiliary speaker bsIt can be expressed as p bs =[p 1,bs , p 2,bs ,…,p M,bs ] T , the target acoustic dark zone response p corresponding to the auxiliary speaker ds It can be expressed as p ds =[p 1,ds , p 2,ds ,…,p M,ds ] T .
[0068] Step S140, performing sound effect processing on the main speaker, and controlling the main speaker after the sound effect processing to directly play back the audio content to the target acoustic bright area, and at the same time, using the control filter to control the auxiliary speaker, so that the response of the auxiliary speaker in the target acoustic bright area is minimized, and the response of the auxiliary speaker in the target acoustic dark area is offset by the response of the main speaker in the target acoustic dark area. The control filter is optimized based on the responses of the main speaker and the auxiliary speaker in the target control area.
[0069] Specifically, the sound effect processing may include gain, equalization, mixing and other processing, and the corresponding sound effect processing matrix can be expressed as g p In other words, g p represents the additional sound processing matrix when the main speaker plays back directly to the target acoustic bright area. The matrix corresponding to the control filter is represented as q s , then the principle of implementing independent sound zone control by the independent sound zone control method provided in this embodiment can be as follows Figure 3 As shown, using the sound processing matrix g p The input signal of the main speaker is processed to control the main speaker to play the audio content directly to the target acoustic bright area without the control filter processing. At the same time, the corresponding matrix q s The control filter modulates the input signal of the auxiliary speaker so that the response of each auxiliary speaker in the target acoustic bright area is minimized, does not interfere with the response of the main speaker, and makes the response of each auxiliary speaker in the target acoustic dark area cancel the response of the main speaker in the target acoustic dark area. Among them, the matrix q corresponding to the control filter s It can be obtained by optimizing and solving based on the responses of the main loudspeaker and the auxiliary loudspeaker in the target acoustic bright area and the target acoustic dark area.
[0070] Compared with the prior art, the independent sound zone control method provided in the embodiment of the present invention uses the speaker within a preset distance threshold from the target acoustic bright zone as the main speaker, and uses the remaining speakers except the main speaker in the control system as auxiliary speakers. After the main speaker is simply processed by sound effects, the main speaker is not processed by the control filter, but the main speaker is controlled to directly play back the audio content to the target acoustic bright zone, so that the audio playback quality in the target acoustic bright zone can be guaranteed to the greatest extent; at the same time, the auxiliary speakers are modulated by the optimized control filter, so that the response of each auxiliary speaker in the target acoustic bright zone is minimized, and the response of the main speaker is not interfered with, and the response of each auxiliary speaker in the target acoustic dark zone is offset by the response of the main speaker in the target acoustic dark zone, thereby effectively meeting the audio isolation requirements of the target acoustic bright zone and the target acoustic dark zone, and ensuring the sound quality restoration of the target acoustic bright zone, and giving full play to the role of the speakers close to the target acoustic bright zone.
[0071] Exemplarily, the optimization process of the control filter includes: determining the objective function and constraints of the control filter based on the responses of the main speaker and the auxiliary speaker in the target control area; converting the objective function and optimization conditions into Lagrangian expressions using the Lagrangian multiplier method, and solving the optimal solution corresponding to the control filter when the derivative of the Lagrangian expression with respect to the matrix corresponding to the control filter is 0.
[0072] Specifically, when determining the objective function and constraint conditions of the control filter, the goal may be to minimize the response of the auxiliary speaker in the target acoustic bright area, and to offset the response of the auxiliary speaker in the target acoustic dark area with the response of the main speaker in the target acoustic dark area. On this basis, the objective function and constraint conditions of the control filter include:
[0073] min||H ds q s -H dp g p || 2 ;
[0074] ||H bs q s || 2 ≤D;
[0075] ||q s || 2 ≤E.
[0076] Among them, H ds H represents the transfer function matrix of the auxiliary loudspeaker at all measurement points in the target acoustic dark area. dp H represents the transfer function matrix of the main speaker at all measurement points in the target acoustic dark area. bsRepresents the transfer function matrix of the auxiliary loudspeaker at all measurement points in the target acoustic bright area. s represents the matrix corresponding to the control filter. g p It represents the additional sound processing matrix when the main speaker plays back directly to the target acoustic bright area, which can be determined by the sound processing of the main speaker before the control filter is introduced. D represents the total playback energy of the auxiliary speaker in the target acoustic bright area, and its value is usually very small. E represents the energy limit of the speaker array composed of the main speaker and the auxiliary speaker, which is used to prevent the speaker output from overloading.
[0077] It should be noted that H ds , H dp , H bs Based on p ds 、p dp 、p bs For example, H ds It can be obtained based on the transfer relationship between the input and response of the auxiliary speaker at each measurement point in the target acoustic dark area, H dp It can be obtained based on the transfer relationship between the input and response of the main speaker at each measurement point in the target acoustic dark area, H bs It can be obtained based on the transfer relationship between the input and response of the auxiliary speaker at each measurement point in the target acoustic bright area.
[0078] Exemplarily, the objective function and the optimization condition are converted into a Lagrangian expression by using the Lagrangian multiplier method. When the derivative of the Lagrangian expression to the matrix corresponding to the control filter is 0, the optimal solution corresponding to the control filter is solved, including:
[0079] The objective function and optimization conditions are transformed into the following Lagrangian expressions:
[0080] minL(q s )=||H ds q s -H dp g p || 2 +λ1(||H bs q s || 2 -D)+λ2(||q s || 2 -E).
[0081] Among them, L(q s ) indicates q s Lagrangian function, λ1 and λ2 are both Lagrangian multipliers, and both λ1 and λ2 are greater than 0.
[0082] Let the derivative of the Lagrangian expression for the matrix corresponding to the control filter be 0, and we get:
[0083]
[0084] The interior point method is used to select the values of λ1 and λ2 to obtain the optimal solution q corresponding to the control filter. s-opt :
[0085]
[0086] Where I represents the identity matrix, (·) H represents the conjugate transpose.
[0087] Specifically, the above Lagrangian expression for q s When the derivative of is 0, the control filter obtains the optimal solution. Therefore, in this embodiment, the above Lagrangian expression is used to calculate q s The derivative of is 0, and the interior point method is used to select the values of λ1 and λ2, so as to obtain the optimal solution q corresponding to the control filter s-opt At this time, the optimal solution q corresponding to the control filter is used s-opt By controlling the main speaker after sound effect processing to directly play back the audio content to the target acoustic bright area and controlling the auxiliary speakers at the same time, it can be effectively achieved that the response of each auxiliary speaker in the target acoustic bright area is minimized, the response of the main speaker is not interfered with, and the response of each auxiliary speaker in the target acoustic dark area is offset by the response of the main speaker in the target acoustic dark area.
[0088] Exemplarily, the independent sound zone control method further includes: when the target acoustic dark zone includes multiple, combining the responses of the main speaker in each target acoustic dark zone, and combining the responses of the auxiliary speaker in each target acoustic dark zone, optimizing the control filter based on the combined response, and controlling the auxiliary speaker using the optimized control filter. When the target acoustic bright zone includes multiple, optimizing the control filter based on the target acoustic dark zone for each target acoustic bright zone in turn, obtaining the optimized control filter corresponding to each target acoustic bright zone, superimposing the optimized control filters corresponding to each target acoustic bright zone, and controlling the auxiliary speaker using the superimposed control filter.
[0089] Specifically, Figure 2 and Figure 3 The application scenarios shown all include a target acoustic bright area and a target acoustic dark area.
[0090] When the application scenario includes multiple target acoustic dark areas, the responses of the main speaker in each target acoustic dark area can be merged into the target acoustic dark area response p corresponding to the main speaker. dp , the responses of the auxiliary speakers in each target acoustic dark area are merged into the target acoustic dark area response p corresponding to the auxiliary speakerds , thus based on the new p dp and new p ds Get a new H dp And the new H ds , and further utilize the new H dp And the new H ds The control filter is optimized through the optimization process of the control filter provided in the above embodiment, so as to control the auxiliary speaker by using the optimized control filter.
[0091] When the application scenario includes multiple target acoustic bright areas, the control filter can be optimized for each target acoustic bright area in combination with the target acoustic dark area using the optimization process of the control filter provided in the above implementation method, and then the optimized control filters corresponding to each target acoustic bright area are superimposed and used to control the auxiliary speakers using the superimposed control filters.
[0092] This embodiment distinguishes between multiple target acoustic dark areas and multiple target acoustic bright areas, and takes different measures to optimize the control filter in the scenarios of multiple target acoustic dark areas and multiple target acoustic bright areas, and then uses the optimized control filter to control the auxiliary speakers, which can further meet the audio isolation requirements of the target acoustic bright area and the target acoustic dark area, while ensuring the sound quality restoration of the target acoustic bright area.
[0093] Another embodiment of the present invention relates to an independent sound zone control device, which is applied to a control system including a plurality of speakers. Figure 4 As shown, the independent sound zone control device includes a determination module 410 , a division module 420 , a measurement module 430 , and a control module 440 .
[0094] The determination module 410 is used to determine the target control area, wherein the target control area includes a target acoustic bright area and a target acoustic dark area.
[0095] The division module 420 is used to use the speakers within a preset distance threshold from the target acoustic bright area as main speakers, and use the remaining speakers in the control system except the main speakers as auxiliary speakers.
[0096] The measurement module 430 is used to measure the responses of the main speaker and the auxiliary speaker in the target control area respectively.
[0097] The control module 440 is used to perform sound effect processing on the main speaker, and control the main speaker after the sound effect processing to directly play back the audio content to the target acoustic bright area. At the same time, the auxiliary speaker is controlled by the control filter so that the response of the auxiliary speaker in the target acoustic bright area is minimized, and the response of the auxiliary speaker in the target acoustic dark area is offset by the response of the main speaker in the target acoustic dark area. The control filter is optimized based on the response of the main speaker and the auxiliary speaker in the target control area.
[0098] The specific implementation method of the independent sound zone control device provided in the embodiment of the present invention can refer to the independent sound zone control method provided in the embodiment of the present invention, which will not be repeated here.
[0099] Compared with the prior art, the independent sound zone control device provided in the embodiment of the present invention uses the speaker within a preset distance threshold from the target acoustic bright zone as the main speaker, and uses the remaining speakers except the main speaker in the control system as auxiliary speakers. After the main speaker is simply processed by sound effects, the main speaker is not processed by the control filter, but the main speaker is controlled to directly play back the audio content to the target acoustic bright zone, so that the audio playback quality in the target acoustic bright zone can be guaranteed to the greatest extent; at the same time, the auxiliary speakers are modulated by the optimized control filter, so that the response of each auxiliary speaker in the target acoustic bright zone is minimized, and the response of the main speaker is not interfered with, and the response of each auxiliary speaker in the target acoustic dark zone is offset by the response of the main speaker in the target acoustic dark zone, thereby effectively meeting the audio isolation requirements of the target acoustic bright zone and the target acoustic dark zone, and ensuring the sound quality restoration of the target acoustic bright zone, and giving full play to the role of the speakers close to the target acoustic bright zone.
[0100] Another embodiment of the present invention relates to an electronic device, such as Figure 5 As shown, it includes: at least one processor 501 and a memory 502 which is communicatively connected to the at least one processor 501 .
[0101] The memory 502 stores instructions that can be executed by at least one processor 501 , and the instructions are executed by at least one processor 501 so that the at least one processor 501 can execute the independent sound zone control method described in the above embodiment.
[0102] Among them, the memory and the processor are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors and memories together. The bus can also connect various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor is transmitted on a wireless medium via an antenna, and further, the antenna also receives data and transmits the data to the processor.
[0103] The processor is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. Memory can be used to store data used by the processor when performing operations.
[0104] Another embodiment of the present invention relates to a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the independent sound zone control method described in the above embodiment is implemented.
[0105] That is, those skilled in the art can understand that all or part of the steps in the method described in the above embodiments can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions for a device (which can be a single-chip microcomputer, chip, etc.) or a processor to perform all or part of the steps in the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.
[0106] Another embodiment of the present invention relates to a computer program product, including a computer program, and when the computer program is executed by a processor, the independent sound zone control method described in the above embodiment is implemented.
[0107] Those skilled in the art will appreciate that the above-mentioned embodiments are specific embodiments for implementing the present invention, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present invention.
Claims
1. A method for controlling an independent sound zone, characterized in that: Application to a control system including multiple loudspeakers; The independent sound zone control method comprises: Determine a target control area; wherein the target control area includes a target acoustic bright area and a target acoustic dark area; The loudspeaker within a preset distance threshold from the target acoustic bright area is used as a main loudspeaker, and the remaining loudspeakers in the control system except the main loudspeaker are used as auxiliary loudspeakers; respectively measuring the responses of the main speaker and the auxiliary speaker in the target control area; The main speaker is subjected to sound effect processing, and the main speaker after the sound effect processing is controlled to directly play back the audio content to the target acoustic bright area. At the same time, the auxiliary speaker is controlled by using a control filter so that the response of the auxiliary speaker in the target acoustic bright area is minimized, and the response of the auxiliary speaker in the target acoustic dark area is offset by the response of the main speaker in the target acoustic dark area; wherein the control filter is optimized based on the responses of the main speaker and the auxiliary speaker in the target control area.
2. The independent sound zone control method according to claim 1, characterized in that: The measuring the responses of the main speaker and the auxiliary speaker in the target control area respectively includes: Respectively measuring the response of the main speaker at each measurement point in the target acoustic bright area and the response of each measurement point in the target acoustic dark area; The responses of the auxiliary speaker at each measurement point in the target acoustic bright area and the responses of each measurement point in the target acoustic dark area are measured respectively.
3. The independent sound zone control method according to claim 2, characterized in that: The optimization process of the control filter includes: Determining an objective function and constraint conditions of the control filter based on responses of the main speaker and the auxiliary speaker in the target control area; The objective function and the optimization condition are converted into a Lagrangian expression by using a Lagrangian multiplier method. When the derivative of the Lagrangian expression to the matrix corresponding to the control filter is 0, the optimal solution corresponding to the control filter is solved.
4. The independent sound zone control method according to claim 3, characterized in that: The objective function and the constraint conditions of the control filter include: min||H ds q s -H dp g p || 2 ; ‖H bs q s ‖ 2 ≤D; ‖q s ‖ 2 ≤E; Among them, H ds represents the transfer function matrix of the auxiliary speaker at all measurement points in the target acoustic dark area, H dp represents the transfer function matrix of the main speaker at all measurement points in the target acoustic dark area, H bs represents the transfer function matrix of the auxiliary speaker at all measurement points in the target acoustic bright area, q s represents the matrix corresponding to the control filter, g p represents the sound effect processing matrix added when the main speaker plays back directly to the target acoustic bright area, D represents the total playback energy of the auxiliary speaker in the target acoustic bright area, and E represents the energy limit of the speaker array composed of the main speaker and the auxiliary speaker.
5. The independent sound zone control method according to claim 4, characterized in that: The objective function and the optimization condition are converted into a Lagrangian expression by using a Lagrangian multiplier method, and the derivative of the Lagrangian expression to the matrix corresponding to the control filter is 0, and the optimal solution corresponding to the control filter is solved, including: The objective function and the optimization condition are converted into the following Lagrangian expression: min L(q s )=||H ds q s -H dp g p || 2 +λ1(||H bs q s || 2 -D)+λ2(||q s || 2 -E); Among them, L(q s ) indicates q s Lagrangian function, λ1 and λ2 are both Lagrangian multipliers, and both λ1 and λ2 are greater than 0; Let the derivative of the Lagrangian expression with respect to the matrix corresponding to the control filter be 0, and we get: The interior point method is used to select the values of λ1 and λ2 to obtain the optimal solution q corresponding to the control filter. s-opt : Where I represents the identity matrix, (·) H represents the conjugate transpose.
6. The independent sound zone control method according to any one of claims 1 to 5, characterized in that: The independent sound zone control method further includes: When the target acoustic dark area includes multiple ones, combining the responses of the main speaker in each of the target acoustic dark areas, and combining the responses of the auxiliary speaker in each of the target acoustic dark areas, optimizing the control filter based on the combined responses, and controlling the auxiliary speaker using the optimized control filter; When the target acoustic bright area includes multiple areas, the control filter is optimized for each target acoustic bright area based on the target acoustic dark area in turn to obtain the optimized control filter corresponding to each target acoustic bright area, the optimized control filters corresponding to each target acoustic bright area are superimposed, and the auxiliary speaker is controlled by using the superimposed control filters.
7. An independent sound zone control device, characterized in that: Application to a control system including multiple loudspeakers; The independent sound zone control device comprises: A determination module, used to determine a target control area; wherein the target control area includes a target acoustic bright area and a target acoustic dark area; A division module, used to use the speakers within a preset distance threshold from the target acoustic bright area as main speakers, and use the remaining speakers in the control system except the main speakers as auxiliary speakers; A measuring module, configured to measure responses of the main speaker and the auxiliary speaker in the target control area respectively; A control module is used to perform sound effect processing on the main speaker, and control the main speaker after the sound effect processing to directly play back the audio content to the target acoustic bright area. At the same time, the auxiliary speaker is controlled by using a control filter to minimize the response of the auxiliary speaker in the target acoustic bright area, and the response of the auxiliary speaker in the target acoustic dark area is offset by the response of the main speaker in the target acoustic dark area; wherein the control filter is optimized based on the responses of the main speaker and the auxiliary speaker in the target control area.
8. An electronic device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the independent sound zone control method according to any one of claims 1 to 6.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the independent sound zone control method according to any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the independent sound zone control method according to any one of claims 1 to 6 is implemented.