Microphone array parameter calibration method, device, terminal equipment and storage medium
Through the classification and similarity calculation of the microphone array output signal, a cost function is constructed and the spatial transformation matrix is solved, which solves the problem of dependence on auxiliary equipment in the existing technology and achieves flexible and accurate calibration of the microphone array parameters.
Patent Information
- Application Number
- CN202110452116.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-25
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-04-25
AI Technical Summary
In existing sound source localization technology, the spatial transformation matrix calibration of the microphone array requires the use of auxiliary tools, such as cameras and checkerboards, which limits flexibility and feasibility.
By obtaining the output signals of multiple microphone arrays, performing classification and similarity calculation, constructing a cost function, and using grid search method, gradient descent method or LM algorithm to solve, the spatial transformation matrix of each microphone array relative to the world coordinate system is obtained. No assistive equipment required.
It achieves flexible calibration of microphone array parameters, avoids the use of auxiliary equipment, and improves positioning accuracy and flexibility.
Smart Images

Figure CN113312971B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of sound source localization, and in particular to a parameter calibration method, device, terminal equipment and storage medium for a microphone array. Background Art
[0002] In the field of sound source localization technology, multiple microphone arrays are commonly used to locate multiple sound sources. During the localization process, each microphone array will collect the output signals of multiple sound sources, but these output signals are in the array coordinate system of its own microphone array. Therefore, a unified world coordinate system is required to convert all output signals into the world coordinate system in order to integrate the output signals. In the process of unifying the coordinate system, calculating the spatial transformation matrix from each microphone array to the world coordinate system is a key step.
[0003] In the prior art, the calibration of parameters such as the calculation of the spatial transformation matrix of the microphone array is generally based on the camera calibration technology, that is, a number of chessboards are placed in different positions in the space in advance, each chessboard has a number of corner points, each corner point is equivalent to a sound source, and the spatial transformation matrix of each camera in the space is solved through these chessboards. This method requires the help of auxiliary tools - cameras and chessboards to complete parameter calibration, which has limitations in use and is not flexible enough. Summary of the invention
[0004] The purpose of the embodiments of the present invention is to propose a parameter calibration method, apparatus, terminal device and storage medium for a microphone array, which can realize the parameter calibration of the microphone array without auxiliary equipment, effectively solve the limitations of the camera calibration method, and is flexible and convenient.
[0005] To achieve the above object, an embodiment of the present invention provides a method for calibrating parameters of a microphone array, comprising:
[0006] Obtain output signals of multiple microphone arrays;
[0007] Classifying the output signal to obtain a classification result;
[0008] Constructing a cost function according to the classification result;
[0009] The cost function is solved to obtain a spatial transformation matrix of each microphone array relative to the world coordinate system.
[0010] Preferably, the classifying the output signal to obtain a classification result specifically includes:
[0011] Obtaining an initial classification result according to an output signal of any microphone array;
[0012] Calculating the similarity between any output signal of other microphone arrays and all categories in the initial classification result, and obtaining the maximum similarity;
[0013] When the maximum similarity is greater than a preset threshold, classifying any output signal into the category of the initial classification result corresponding to the maximum similarity;
[0014] When the maximum similarity is less than a preset threshold, the initial classification result is updated according to any output signal.
[0015] Preferably, the cost function is in, For output signal The straight line pointed to, is the output signal corresponding to the m-th microphone array in the n-th category, is the pitch angle, θ m,n is the azimuth, a m,n is an indicative function, indicating whether the m-th microphone array monitors the n-th category, M is the total number of microphone arrays, and N is the total number of categories in the classification result; H m is the spatial transformation matrix of the m-th microphone array relative to the world coordinate system, P n is the coordinate of the sound source P corresponding to the nth category in the world coordinate system; d m,n Output signal The distance from the sound source P.
[0016] Preferably, the cost function is solved by using a grid search method, a gradient descent method, a Newton method or a LM algorithm.
[0017] Preferably, before acquiring the output signals of the plurality of microphone arrays, the method further comprises:
[0018] Multiple sound sources are preset to emit sound simultaneously within a preset spatial range, and multiple microphone arrays are controlled to collect sound when the sound sources emit sound.
[0019] Preferably, before acquiring the output signals of the plurality of microphone arrays, the method further comprises:
[0020] Control a sound source to move and emit sound within a preset spatial range, and control multiple microphone arrays to collect sound when the sound source emits sound.
[0021] Another embodiment of the present invention provides a parameter calibration device for a microphone array, comprising:
[0022] A signal acquisition module, used to acquire output signals of multiple microphone arrays;
[0023] A classification module, used to classify the output signal to obtain a classification result;
[0024] A function construction module, used to construct a cost function according to the classification result;
[0025] A solution module is used to solve the cost function to obtain a spatial transformation matrix of each microphone array relative to a world coordinate system.
[0026] Another embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the parameter calibration method of the microphone array as described in any one of the above items when executing the computer program.
[0027] Another embodiment of the present invention provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the parameter calibration method of the microphone array as described in any one of the above items.
[0028] Compared with the prior art, the microphone array parameter calibration method, device, terminal device and storage medium provided in the embodiments of the present invention calculate the similarity of all output signals of multiple microphone arrays, classify the output signals according to the similarity, and thus construct a cost function according to the classification results to solve the spatial transformation matrix of all microphone arrays relative to the world coordinate system and the spatial position of the sound source corresponding to each category. The present invention can realize the calibration of the spatial transformation matrix of the microphone array without auxiliary equipment, effectively solves the limitations of the camera calibration method, and realizes the flexible calibration of the microphone array parameters. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is a flow chart of a parameter calibration method of a microphone array provided by an embodiment of the present invention;
[0030] Figure 2 It is a structural schematic diagram of a parameter calibration device for a microphone array provided by an embodiment of the present invention;
[0031] Figure 3 It is a schematic diagram of a terminal device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0033] See also Figure 1 , is a flow chart of a parameter calibration method for a microphone array provided in this embodiment of the present invention, the method comprising steps S1 to S4:
[0034] S1, obtaining output signals of multiple microphone arrays;
[0035] S2. classify the output signal to obtain a classification result;
[0036] S3, constructing a cost function according to the classification result;
[0037] S4. Solve the cost function to obtain a spatial transformation matrix of each microphone array relative to a world coordinate system.
[0038] It should be noted that the parameter calibration of the microphone array refers to the external parameter calibration, which is used to calculate the spatial transformation matrix from the coordinate system where all microphone arrays are located to the world coordinate system. The present invention does not require the use of additional equipment or devices, and can complete the external parameter calibration only through the microphone array itself.
[0039] Specifically, in a space with multiple sound sources, multiple microphone arrays are controlled to monitor the multiple sound sources, and then the output signals of the multiple microphone arrays are obtained. Generally, each microphone array will output N output signals, each output signal corresponds to a sound source, and each output signal includes a pitch angle, an azimuth angle, and an audio signal. If the number of sound sources in the space is W, then N≤W, because some sound sources may be far away from a certain microphone array, and therefore cannot be monitored, and the corresponding signal cannot be output.
[0040] Because each output signal of the same microphone array corresponds to a different sound source, in order to facilitate parameter calibration, the output signals corresponding to the same sound source need to be classified. Therefore, all output signals are first classified to obtain classification results, and each category corresponds to a sound source.
[0041] A cost function is constructed according to the classification results, that is, a total cost function is constructed, and the output signal of each category is substituted into it for solution.
[0042] The cost function is solved to obtain the spatial transformation matrix of each microphone array relative to the world coordinate system. It is worth noting that in the process of solving the cost function, in addition to obtaining the spatial transformation matrix of each microphone array relative to the world coordinate system, the position information of the sound source corresponding to each category can also be obtained. Generally, the world coordinate system is the array coordinate system of any preset microphone array.
[0043] This embodiment of the present invention provides a parameter calibration method for a microphone array, which can achieve parameter calibration of the microphone array without auxiliary equipment, effectively solving the limitations of the camera calibration method, and is flexible and convenient.
[0044] As an improvement of the above solution, the output signal is classified to obtain a classification result, which specifically includes:
[0045] Obtaining an initial classification result according to an output signal of any microphone array;
[0046] Calculating the similarity between any output signal of other microphone arrays and all categories in the initial classification result, and obtaining the maximum similarity;
[0047] When the maximum similarity is greater than a preset threshold, classifying any output signal into the category of the initial classification result corresponding to the maximum similarity;
[0048] When the maximum similarity is less than a preset threshold, the initial classification result is updated according to any output signal.
[0049] Specifically, the initial classification result is obtained according to the output signal of any microphone array. For example, if the first microphone array has K output signals, each output signal is regarded as a category, and the initial classification result has K categories.
[0050] Calculate the similarity between any output signal of other microphone arrays and all categories in the initial classification result, and obtain the maximum similarity. It is worth noting that when calculating the similarity between the output signal of other microphone arrays and all categories of the initial classification result, the similarity between the output signal of other microphone arrays and each output signal in each category is also calculated. It is worth noting that when calculating the similarity, the audio signal in the output signal is generally used for calculation, because the audio of the same sound source will be similar.
[0051] When the maximum similarity is greater than a preset threshold, any output signal is classified into the category of the initial classification result corresponding to the maximum similarity. This indicates that the calculated output signal is of the same type as the corresponding category and corresponds to the same sound source, so it needs to be classified into the same category.
[0052] When the maximum similarity is less than the preset threshold, it means that the calculated output signal is not of the same type as the existing initial classification result. The initial classification result needs to be updated based on any output signal, and the corresponding calculated output signal is treated as a new category and added to the initial classification result. In the subsequent similarity calculation of other output signals, the similarity with the new category must also be calculated.
[0053] In order to deepen the understanding of this embodiment of the present invention, an example is used for illustration. For example, the first microphone array has three output signals, and three corresponding sets are first established, namely C1 = {O(1,1)}, C2 = {O(1,2)}, and C3 = {O(1,3)}. For the first output signal O(2,1) of the second microphone array, the similarity between O(2,1) and each element in each existing set is calculated. If the similarity between O(2,1) and each element in C1, C2, and C3 is less than the threshold T, a new set C4 = {O(2,1)} is created for O(2,1). For the second output signal O(2,2) of the second microphone array, it is calculated that the similarity between O(2,2) and O(1,1) is greater than the threshold T, so O(2,2) is also added to the set C1 corresponding to O(1,1). So far, we can get 4 sets, C1 = {O(1,1), O(2,2)}, C2 = {O(1,2)}, C3 = {O(1,3)}, C4 = {O(2,1)}. Similarly, the output signals of other microphone arrays are calculated in a similar way, which will not be repeated here.
[0054] In addition, this embodiment of the present invention also provides two similarity calculation methods. Of course, there are other methods, and these two methods do not constitute a limitation to the present invention.
[0055] First, similarity is calculated according to the cross-correlation function, that is, the cross-correlation value between any output signal and each output signal in each category is calculated using the cross-correlation function, and the maximum cross-correlation value is used as the similarity between the corresponding two output signals.
[0056] Second, the two output signals whose similarity needs to be calculated are first converted to the frequency domain through fast Fourier transform to obtain the corresponding frequency domain signals, and then according to the formula Calculate the similarity r of the two output signals, where S i represents the i-th frequency domain signal of the output signal corresponding to any category in the initial classification result, 1≤i≤I / 2, I is the audio length of the output signal corresponding to any category in the initial classification result, that is, the length is I points, represents the average value of all frequency domain signals of the output signal corresponding to any category in the initial classification result, T jrepresents the jth frequency domain signal of any output signal of other microphone arrays, 1≤j≤J / 2, J is the audio length of any output signal of other microphone arrays, that is, the length is J points, Represents the average value of all frequency domain signals of any output signal of other microphone arrays, 0≤r≤1, the larger the r, the more similar the two output signals are.
[0057] As an improvement of the above solution, the cost function is in, Output signal The straight line pointed to, is the output signal corresponding to the m-th microphone array in the n-th category, is the pitch angle, θ m,n is the azimuth, a m,n is an indicative function, indicating whether the m-th microphone array monitors the n-th category, M is the total number of microphone arrays, and N is the total number of categories in the classification result; H m is the spatial transformation matrix of the m-th microphone array relative to the world coordinate system, P n is the coordinate of the sound source P corresponding to the nth category in the world coordinate system; d m,n Output signal The distance from the sound source P.
[0058] Specifically, the cost function constructed according to the classification results is: in, Output signal The straight line pointed to, is the output signal corresponding to the m-th microphone array in the n-th category, is the pitch angle, θ m,n is the azimuth, a m,n is an indicative function, indicating whether the m-th microphone array monitors the n-th category (n-th sound source). Each category corresponds to a sound source. If it is monitored, that is Real existence, then a m,n =1, otherwise a m,n = 0. When the nth sound source is far away from the mth microphone array, it may not be detected. m,n =0. 1≤m≤M, M is the total number of microphone arrays, 1≤n≤N, N is the total number of categories in the classification result; H m is the spatial transformation matrix of the m-th microphone array relative to the world coordinate system, H m H1~H M The mth one in Pn is the coordinate of the sound source P corresponding to the nth category in the world coordinate system, that is, P n =(x n ,y n , z n ), P n P1~P N The nth one in d m,n Output signal The distance from the sound source P. m,n =H m P n , P m,n It means that the point P in the world coordinate system n Using H m The point coordinates are projected into the array coordinate system of the m-th microphone array.
[0059] It is worth noting that the world coordinate system is the array coordinate system of any preset microphone array. For example, if the array coordinate system of the first microphone array is preset as the world coordinate system, then H1 = [R = E | t = 0], where E represents the unit matrix whose elements on the main diagonal are all 1. At this time, what needs to be solved is the spatial transformation matrix H2…H of other microphone arrays. M , and at the same time, the coordinates of each sound source P1…P N In addition, it should be noted that P1…P N The coordinate system is the world coordinate system. The coordinate system is the array coordinate system of the mth microphone array.
[0060] As an improvement of the above solution, a grid search method, a gradient descent method, a Newton method or a LM algorithm is used to solve the cost function.
[0061] Specifically, the cost function is solved by using a grid search method, a gradient descent method, a Newton method or a LM algorithm. When the grid search method is used for solving, the parameter space H1~H M , P1~P N All variables in the grid search are searched to find a certain combination of variables that minimizes the total cost function. This set of variables is the corresponding solution. When the LM (Levenberg-Marquarelt) algorithm is used, the LM algorithm between the first order and the second order is preferred.
[0062] As an improvement of the above solution, before acquiring the output signals of the plurality of microphone arrays, the method further includes:
[0063] Multiple sound sources are preset to emit sound simultaneously within a preset spatial range, and multiple microphone arrays are controlled to collect sound when the sound sources emit sound.
[0064] Specifically, multiple sound sources are preset to emit sound simultaneously within a preset spatial range, and multiple microphone arrays are controlled to collect sound when the sound sources emit sound. In other words, a certain number of sound sources are placed at different positions in the preset space, so that multiple sound sources emit sound, and multiple microphone arrays are controlled to collect sound to obtain output signals. This embodiment corresponds to the situation where there are multiple sound sources in the space, emitting sound simultaneously.
[0065] As an improvement of the above solution, before acquiring the output signals of the plurality of microphone arrays, the method further includes:
[0066] Control a sound source to move and emit sound within a preset spatial range, and control multiple microphone arrays to collect sound when the sound source emits sound.
[0067] Specifically, a sound source is controlled to move and emit sound within a preset spatial range, and multiple microphone arrays are controlled to collect sound when the sound source emits sound. This embodiment corresponds to the situation where there is only one sound source in the space. In this case, it is necessary to control the sound source to move and emit sound to simulate multiple sound sources. For example, a mobile phone is controlled to move and emit sound in various corners of the room, and multiple microphone arrays are controlled to collect sound at t1, t2...t n Sound is collected at N moments respectively, and then the output signal is obtained.
[0068] See also Figure 2 , is a schematic diagram of the structure of a parameter calibration device for a microphone array provided in this embodiment of the present invention, the device comprising:
[0069] A signal acquisition module 11 is used to acquire output signals of multiple microphone arrays;
[0070] A classification module 12, used to classify the output signal to obtain a classification result;
[0071] A function construction module 13, used to construct a cost function according to the classification result;
[0072] The solving module 14 is used to solve the cost function to obtain a spatial transformation matrix of each microphone array relative to the world coordinate system.
[0073] Preferably, the classification module 12 specifically includes:
[0074] An initial classification unit, used to obtain an initial classification result according to an output signal of any microphone array;
[0075] A calculation unit, used to calculate the similarity between any output signal of other microphone arrays and all categories in the initial classification result, and obtain the maximum similarity;
[0076] a classification unit, configured to classify any output signal into a category of an initial classification result corresponding to the maximum similarity when the maximum similarity is greater than a preset threshold;
[0077] An updating unit is used to update the initial classification result according to any output signal when the maximum similarity is less than a preset threshold.
[0078] Preferably, the cost function is in, Output signal The straight line pointed to, is the output signal corresponding to the m-th microphone array in the n-th category, is the pitch angle, θ m,n is the azimuth, a m,n is an indicative function, indicating whether the m-th microphone array monitors the n-th category, M is the total number of microphone arrays, and N is the total number of categories in the classification result; H m is the spatial transformation matrix of the m-th microphone array relative to the world coordinate system, P n is the coordinate of the sound source P corresponding to the nth category in the world coordinate system; d m,n Output signal The distance from the sound source P.
[0079] Preferably, the cost function is solved by using a grid search method, a gradient descent method, a Newton method or a LM algorithm.
[0080] Preferably, the device further comprises:
[0081] The first sound source collection module is used to preset multiple sound sources to make sounds simultaneously within a preset spatial range, and control multiple microphone arrays to collect sounds when the sound sources make sounds.
[0082] Preferably, the device further comprises:
[0083] The second sound source collection module is used to control a sound source to move and make sound within a preset spatial range, and control multiple microphone arrays to collect sound when the sound source makes sound.
[0084] A parameter calibration device for a microphone array provided in an embodiment of the present invention can implement all processes of the parameter calibration method for a microphone array described in any of the above embodiments. The functions of each module and unit in the device and the technical effects achieved are respectively the same as the functions and technical effects achieved by the parameter calibration method for the microphone array described in the above embodiments, and will not be repeated here.
[0085] See also Figure 3 , is a schematic diagram of a terminal device provided in this embodiment of the present invention, the terminal device includes a processor 10, a memory 20, and a computer program stored in the memory 20 and configured to be executed by the processor 10, and the processor 10 implements the parameter calibration method of the microphone array described in any of the above embodiments when executing the computer program.
[0086] Exemplarily, the computer program can be divided into one or more modules / units, one or more modules / units are stored in the memory 20 and executed by the processor 10 to complete the present invention. One or more modules / units can be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program in the parameter calibration of a microphone array. For example, the computer program can be divided into a signal acquisition module, a classification module, a function construction module and a solution module, and the specific functions of each module are as follows:
[0087] A signal acquisition module 11 is used to acquire output signals of multiple microphone arrays;
[0088] A classification module 12, used to classify the output signal to obtain a classification result;
[0089] A function construction module 13, used to construct a cost function according to the classification result;
[0090] The solving module 14 is used to solve the cost function to obtain a spatial transformation matrix of each microphone array relative to the world coordinate system.
[0091] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The terminal device may include, but is not limited to, a processor and a memory. Figure 3 It is only an example of a terminal device and does not constitute a limitation of the terminal device. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.
[0092] The processor 10 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor 10 may also be any conventional processor, etc. The processor 10 is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device.
[0093] The memory 20 can be used to store the computer programs and / or modules. The processor 10 implements various functions of the terminal device by running or executing the computer programs and / or modules stored in the memory 20 and calling the data stored in the memory 20. The memory 20 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 20 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0094] Wherein, if the module integrated in the terminal device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The above-mentioned computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the above-mentioned computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. Computer-readable media may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0095] An embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the parameter calibration method of the microphone array described in any of the above embodiments.
[0096] In summary, the parameters calibration method, device, terminal device and storage medium of a microphone array provided by the embodiment of the present invention calculate the similarity of all output signals of multiple microphone arrays, classify the output signals according to the similarity, and thus construct a cost function according to the classification results to solve the spatial transformation matrix of all microphone arrays relative to the world coordinate system and the spatial position of the sound source corresponding to each category. The present invention can realize the calibration of the spatial transformation matrix of the microphone array without auxiliary equipment, effectively solves the limitations of the camera calibration method, and realizes the flexible calibration of microphone array parameters.
[0097] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A method for calibrating parameters of a microphone array, characterized in that: include: Obtain output signals of multiple microphone arrays; Classifying the output signal to obtain a classification result; Constructing a cost function according to the classification result; Solving the cost function to obtain a spatial transformation matrix of each microphone array relative to a world coordinate system; The cost function is in, Output signal The straight line pointed to, is the output signal corresponding to the m-th microphone array in the n-th category, is the pitch angle, θ m,n is the azimuth, a m,n is an indicative function, indicating whether the m-th microphone array monitors the n-th category, M is the total number of microphone arrays, and N is the total number of categories in the classification result; H m is the spatial transformation matrix of the m-th microphone array relative to the world coordinate system, P n is the coordinate of the sound source P corresponding to the nth category in the world coordinate system; d m,n Output signal The distance from the sound source P.
2. The method for calibrating parameters of a microphone array as claimed in claim 1, characterized in that: The classifying the output signal to obtain a classification result specifically includes: Obtaining an initial classification result according to an output signal of any microphone array; Calculating the similarity between any output signal of other microphone arrays and all categories in the initial classification result, and obtaining the maximum similarity; When the maximum similarity is greater than a preset threshold, classifying any output signal into the category of the initial classification result corresponding to the maximum similarity; When the maximum similarity is less than a preset threshold, the initial classification result is updated according to any output signal.
3. The parameter calibration method of the microphone array according to claim 1, characterized in that: The cost function is solved by using a grid search method, a gradient descent method, a Newton method or a LM algorithm.
4. The parameter calibration method of a microphone array according to any one of claims 1 to 3, characterized in that: Before obtaining the output signals of the plurality of microphone arrays, the method further includes: Multiple sound sources are preset to emit sound simultaneously within a preset spatial range, and multiple microphone arrays are controlled to collect sound when the sound sources emit sound.
5. The parameter calibration method of a microphone array according to any one of claims 1 to 3, characterized in that: Before obtaining the output signals of the plurality of microphone arrays, the method further includes: Control a sound source to move and emit sound within a preset spatial range, and control multiple microphone arrays to collect sound when the sound source emits sound.
6. A parameter calibration device for a microphone array, characterized in that: include: A signal acquisition module, used to acquire output signals of multiple microphone arrays; A classification module, used to classify the output signal to obtain a classification result; A function construction module, used to construct a cost function according to the classification result; A solution module, used for solving the cost function to obtain a spatial transformation matrix of each microphone array relative to a world coordinate system; The cost function is in, Output signal The straight line pointed to, is the output signal corresponding to the m-th microphone array in the n-th category, is the pitch angle, θ m,n is the azimuth, a m,n is an indicative function, indicating whether the m-th microphone array monitors the n-th category, M is the total number of microphone arrays, and N is the total number of categories in the classification result; H m is the spatial transformation matrix of the m-th microphone array relative to the world coordinate system, P n is the coordinate of the sound source P corresponding to the nth category in the world coordinate system; d m,n Output signal The distance from the sound source P.
7. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the parameter calibration method of the microphone array as claimed in any one of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the parameter calibration method for the microphone array according to any one of claims 1 to 5.
