CN120224093A - Test method, device, equipment and vehicle for audio acquisition device - Google Patents
Test method, device, equipment and vehicle for audio acquisition device Download PDFInfo
- Publication number
- CN120224093A CN120224093A CN202311808895.7A CN202311808895A CN120224093A CN 120224093 A CN120224093 A CN 120224093A CN 202311808895 A CN202311808895 A CN 202311808895A CN 120224093 A CN120224093 A CN 120224093A
- Authority
- CN
- China
- Prior art keywords
- audio
- standard
- test
- acquisition device
- transfer function
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R29/00—Monitoring arrangements; Testing arrangements
- H04R29/001—Monitoring arrangements; Testing arrangements for loudspeakers
Landscapes
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)
Abstract
The disclosure relates to a test method, a test device, test equipment and test vehicles of an audio acquisition device, and relates to the technical field of acoustic product test. The method comprises the steps of controlling an audio playing device to play test audio, enabling the audio playing device to be assembled in a cabin of a vehicle, obtaining a first test audio signal, determining quality parameters of the audio collecting device according to the first test audio signal, determining deviation values between the quality parameters and standard quality parameters, and determining whether the audio collecting device is abnormal according to comparison relations between the deviation values and error ranges. By using the test method of the audio acquisition device, the audio acquisition device assembled on the vehicle can be subjected to self-test, so that the test cost is reduced, and the test effect on the audio acquisition device is better.
Description
Technical Field
The disclosure relates to the technical field of acoustic product testing, in particular to a testing method, device, equipment and vehicle of an audio acquisition device.
Background
At present, with the development of intelligent trend and intelligent voice technology of vehicles, voice interaction and high-quality conversation have become conventional functions in vehicles, and an audio acquisition device and an audio playing device are used for supporting voice interaction and high-quality conversation of users. In order to provide better user experience, more and more audio acquisition devices are deployed in vehicles, and the quality requirements for the audio acquisition devices are increasing.
In the related art, before the audio acquisition device is assembled in a vehicle, the audio acquisition device is tested, and after the test is finished, the audio acquisition device is installed in the vehicle. Because a plurality of processes can be used in the installation process of the audio acquisition device, the quality of the audio acquisition device can be influenced, and finally, the quality of the audio acquisition device assembled on the vehicle can be relatively low.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a method, an apparatus, a device and a vehicle for testing an audio acquisition device.
According to a first aspect of embodiments of the present disclosure, there is provided a method for testing an audio acquisition device, including:
controlling an audio playing device to play test audio, wherein the audio playing device is assembled in a cabin of a vehicle;
Acquiring a first test audio signal, wherein the first test audio signal is an audio signal acquired by an audio acquisition device arranged in the cabin after the test audio is played;
Determining a quality parameter of an audio acquisition device according to the first test audio signal, wherein the quality parameter is used for representing a performance parameter and/or an acoustic parameter of the audio acquisition device;
Determining a deviation value between the quality parameter and a standard quality parameter;
and determining whether the audio acquisition device is abnormal according to the comparison relation between the deviation value and the error range.
Optionally, the standard quality parameter is a standard transfer function, the quality parameter includes a target transfer function for characterizing the performance parameter, the target transfer function is used for representing a relationship between a second test audio signal to be played by an audio playing device and a first test audio signal collected by the audio collecting device, and the determining a deviation value between the quality parameter and the standard quality parameter includes:
A performance deviation value between the target transfer function and the standard transfer function is determined.
Optionally, the determining a quality parameter of the audio acquisition device according to the first test audio signal includes:
Determining an output signal obtained after the second test audio signal is transmitted through a transmission function;
determining an error between the first test audio signal and the output signal;
Updating the transfer function and re-executing the step of determining an error between the first test audio signal and the output signal based on the updated transfer function, if the error does not meet a convergence condition, until the error meets the convergence condition;
and under the condition that the error meets the convergence condition, obtaining the target transfer function according to the transfer function meeting the convergence condition.
Optionally, when the error meets the convergence condition, the obtaining the target transfer function according to the transfer function meeting the convergence condition includes:
obtaining a gradient corresponding to the target transfer function according to the second test audio signal and the error;
And obtaining the target transfer function based on the gradient and the transfer function meeting the convergence condition.
Optionally, the standard transfer function includes a standard amplitude, and the determining whether the audio acquisition device is abnormal according to the comparison relation between the deviation value and the error range includes:
Performing Fourier transformation on the target transfer function to obtain the amplitude of the target transfer function on each frequency point;
And determining that the audio acquisition device is abnormal under the condition that the performance deviation value between the amplitude and the standard amplitude is out of the error range.
Optionally, the standard transfer function is a transfer function corresponding to a standard audio collection device, and the standard audio collection device is an audio collection device which is of the same type as the audio collection device and is in the same assembly environment.
Optionally, the standard quality parameter is a standard acoustic parameter, and the determining a deviation value between the quality parameter and the standard quality parameter includes:
an acoustic deviation value between the acoustic parameter and the standard acoustic parameter is determined.
Optionally, the standard acoustic parameters are determined by:
and taking the average value or the median value of the acoustic parameters of the same group of the audio acquisition devices as the standard acoustic parameters.
Optionally, the standard acoustic parameters include at least one of:
The first test audio signal has a standard environmental background noise, a standard sensitivity, a standard signal-to-noise ratio and a standard frequency response.
Optionally, the standard acoustic parameter is the standard environmental noise floor, and the taking the average value or the median value of the acoustic parameters of the same group of the audio acquisition devices as the standard acoustic parameter includes:
and taking the average value or the median value of the environmental background noise signals acquired by the same group of audio acquisition devices as the standard environmental background noise.
Optionally, the standard acoustic parameter is the standard sensitivity, and the step of using the average value or the median value of the acoustic parameters of the same group of the audio acquisition devices as the standard acoustic parameter includes:
And taking the average value or the median value of the sensitivities of the first test audio signals acquired by the same group of audio acquisition devices as the standard sensitivity.
Optionally, the standard acoustic parameter is the standard signal-to-noise ratio, and the step of using the average value or the median value of the acoustic parameters of the same group of the audio acquisition devices as the standard acoustic parameter includes:
And taking the difference between the standard sensitivity and the standard environmental background noise as the standard signal-to-noise ratio, wherein the standard sensitivity is the average value or the median value of the sensitivity of the first test audio signal acquired by the same group of audio acquisition devices, and the standard environmental background noise is the average value or the median value of the environmental background noise signals acquired by the same group of audio acquisition devices.
Optionally, the standard acoustic parameter is the standard frequency response, and the step of using the average value or the median value of the acoustic parameters of the same group of the audio acquisition devices as the standard acoustic parameter includes:
And taking the average value or the median value of the amplitude values of all the frequency points of the first test audio signals acquired by the same group of audio acquisition devices in the Fourier transform domain as the standard frequency response.
Optionally, the determining whether the audio acquisition device is abnormal according to the comparison relation between the deviation value and the error range includes:
and determining that the audio acquisition device is abnormal under the condition that the acoustic deviation value is out of the error range.
Optionally, the audio playing device comprises a first audio playing device and a second audio playing device, the deviation value comprises a performance deviation value and an acoustic deviation value, and the determining whether the audio collecting device is abnormal according to the comparison relation between the deviation value and the error range comprises the following steps:
Determining a second performance deviation value of the audio acquisition device under the condition that a first performance deviation value of the audio acquisition device is out of the error range and a first acoustic deviation value is within the error range, wherein the first performance deviation value and the first acoustic deviation value are obtained by acquiring a second test audio signal played by the first audio playing device by the audio acquisition device, and the second performance deviation value is obtained by acquiring a second test audio signal played by the second audio playing device by the audio acquisition device;
And determining that the audio acquisition device is abnormal under the condition that the second performance deviation value is out of the error range.
According to a second aspect of embodiments of the present disclosure, there is provided a test device for an audio acquisition device, including:
A play control module configured to control an audio play device to play test audio, the audio play device being fitted in a cabin of a vehicle;
The acquisition module is configured to acquire a first test audio signal, wherein the first test audio signal is an audio signal acquired by an audio acquisition device installed in the cabin after the test audio is played;
a parameter determination module configured to determine a quality parameter of an audio acquisition device from the first test audio signal, wherein the quality parameter is used for characterizing a performance parameter and/or an acoustic parameter of the audio acquisition device;
a deviation value determination module configured to determine a deviation value between the quality parameter and a standard quality parameter;
and the abnormality detection module is configured to determine whether the audio acquisition device is abnormal according to the comparison relation between the deviation value and the error range.
According to a third aspect of embodiments of the present disclosure, there is provided a test apparatus of an audio acquisition device, comprising:
the audio playing device is used for playing test audio and is assembled in a cabin of the vehicle;
the audio acquisition device is used for acquiring a first test audio signal, wherein the first test audio signal is an audio signal acquired by the audio acquisition device arranged in the seat cabin after the test audio is played;
and the controller is respectively connected with the audio playing device and the audio acquisition device in a communication way and is used for executing the steps of the testing method of the audio acquisition device provided by the first aspect of the embodiment of the disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided a vehicle comprising a cabin, within which is disposed:
the audio playing device is used for playing test audio and is assembled in a cabin of the vehicle;
the audio acquisition device is used for acquiring a first test audio signal, wherein the first test audio signal is an audio signal acquired by the audio acquisition device arranged in the seat cabin after the test audio is played;
and the controller is respectively connected with the audio playing device and the audio acquisition device in a communication way and is used for executing the steps of the testing method of the audio acquisition device provided by the first aspect of the embodiment of the disclosure.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
According to the method and the device, the first test audio signal acquired by the audio acquisition device which is assembled on the vehicle is utilized, the abnormality of the assembled audio acquisition device can be detected, the audio acquisition device which is not assembled on the vehicle is not tested, whether the assembled audio acquisition device has quality abnormality or not is accurately determined, and in the process, the problem that the quality test effect is poor due to the fact that the assembled audio acquisition device is tested, rather than the audio acquisition device before assembly is tested in the traditional test method is solved.
In a second aspect, the present disclosure also eliminates the need to drive the vehicle into a full-silencing laboratory to test the audio acquisition device, and fully utilizes the audio acquisition device, the audio playback device and the equipment configured in the vehicle to perform self-test without depending on the test equipment in the full-silencing laboratory, which has lower test cost and faster test speed.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a method of testing an audio acquisition device according to an exemplary embodiment.
Fig. 2 is a schematic diagram illustrating a vehicle having different microphone arrays and different speakers configured therein according to an exemplary embodiment.
Fig. 3 is a schematic diagram showing a vehicle of the same type having microphones of the same type disposed therein and microphone disposition positions being the same, according to an exemplary embodiment.
Fig. 4 is a schematic diagram illustrating different microphones within a same set of microphone arrays, according to an example embodiment.
Fig. 5 is a schematic diagram showing a second test audio signal emitted by speaker a and speaker B received by the same microphone, according to an exemplary embodiment.
Fig. 6 is a block diagram of a test apparatus of an audio acquisition apparatus according to an exemplary embodiment.
Fig. 7 is a block diagram of a vehicle, according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
It should be noted that, all actions of acquiring signals, information or data in the present application are performed under the condition of conforming to the corresponding data protection rule policy of the country of the location and obtaining the authorization given by the owner of the corresponding device.
At present, the pickup signal quality of the audio acquisition device becomes a main influencing factor influencing the quality of the audio acquisition device, so that the pickup signal quality of the audio acquisition device can be tested to ensure the pickup signal quality of the audio acquisition device, and the pickup signal quality refers to the quality of an audio signal captured from the audio acquisition device.
In the related art, before the audio acquisition device is assembled in a vehicle, the audio acquisition device is tested, and after the test is finished, the audio acquisition device is installed in the vehicle. Because the audio acquisition device is installed in the in-process of vehicle, can use a plurality of technologies such as point gum, joint and fastening. On the one hand, the quality of the audio acquisition devices can be affected by the installation processes, on the other hand, once assembly errors exist in the process of assembling the audio acquisition devices in the vehicle along with the increasing number of the audio acquisition devices in the vehicle, the quality of the audio acquisition devices can be inevitably affected, and even if the audio acquisition devices tested before the assembly have no quality problem, the assembly errors in the assembly process can also lead to the reduction of pickup acquisition quality of the audio acquisition devices assembled on the vehicle. Thus, this test-before-assembly approach may result in reduced quality of the audio acquisition device configured on the vehicle.
Of course, the vehicle can be driven into a full-silencing laboratory, and special acoustic test equipment such as an audio acquisition device and the like can be arranged in the vehicle, so that the quality of the audio acquisition device can be accurately tested, but the method needs to drive the vehicle into the full-silencing laboratory, further needs to be provided with the special acoustic test equipment in the vehicle by a worker, consumes longer time, causes low test efficiency, is difficult to test the audio acquisition device in the huge vehicle quickly, and the additionally provided acoustic test equipment and the full-silencing laboratory also cause higher test cost.
Based on this, the present disclosure proposes a method for testing an audio acquisition device, and fig. 1 is a flowchart illustrating a method for testing an audio acquisition device according to an exemplary embodiment, and the method is used in a controller, as shown in fig. 1, and includes the following steps.
In step S11, an audio playing device is controlled to play test audio, and the audio playing device is mounted in a cabin of a vehicle.
The types of vehicles are vehicles, aircrafts and ships. Vehicles include automobiles, motorcycles, bicycles, buses, trains, subways, electric trains and the like, aircrafts include planes, helicopters, hot air balloons, gliders and the like, and ships include ships, yachts, submarines and the like. The present disclosure refers to a vehicle that has been equipped with an audio collection device, and a test object is also an audio collection device that has been equipped with a vehicle.
The vehicle is provided with an audio playing device, the audio playing device is used for playing the second test audio signal, the audio playing device can be a loudspeaker, and the audio played by the audio playing device is transmitted to the microphone through a transmission medium in the vehicle. The second test audio signal is an initial signal that is not transmitted via the transmission medium.
In step S12, a first test audio signal is acquired, where the first test audio signal is an audio signal acquired by an audio acquisition device installed in the cabin after the test audio is played.
The vehicle is also provided with an audio acquisition device for acquiring a first test audio signal, the audio acquisition device being a microphone already fitted to the vehicle. The microphone may be a single microphone or may be at least one microphone in an array of microphones. The first test audio signal collected by the audio collection device is a signal which is formed by the evolution of the second test audio signal played by the audio playing device after being transmitted by a transmission medium, and the transmission medium can be equipment, air and the like in a vehicle.
In step S13, a quality parameter of the audio acquisition device is determined based on the first test audio signal.
The vehicle is also provided with a controller, a loudspeaker signal extraction unit and a test program.
The speaker extraction unit may be a DSP (DIGITAL SIGNAL Processing unit), and the speaker extraction unit is configured to collect a second test audio signal to be played by the audio playing device, so as to determine whether the audio collecting device is abnormal according to the first test audio signal and the second test audio signal. The second test audio signal may be white noise, pink noise, swept frequency sound or single frequency sound, etc., and in the actual test environment, white noise or pink noise may be selected to stably output the second test audio signal in the full frequency band, so as to obtain the amplitude of each frequency point in the full frequency band. White noise is a random signal with average power spectral density, the spectrum of white noise has equal energy at all frequencies, powder noise is a noise signal with spectral density of 1/f with frequency, the energy of the powder noise is higher in the low-frequency part, the powder noise is more similar to some sounds in the natural world than white noise in the low-frequency part, sweep frequency sound is a noise signal with continuously changing frequency, and single-frequency sound is a noise signal containing only a single frequency component.
The controller may be a cabin domain controller (Digital Cockpit Domain, DCD). The controller is used for controlling the audio playing device to play second test audio signals, and controlling the loudspeaker extraction unit and the audio collecting device to conduct recording, so that the loudspeaker extraction unit collects and records the second test audio signals to be played by the audio playing device, and the audio collecting device collects and records first test audio signals obtained after the second test audio signals are transmitted through a transmission medium in a vehicle. In addition, the controller is also used for running a test program and carrying out quality analysis on the audio acquisition device.
The test program comprises a recording and playing control module, a data analysis module and a data uploading module. The recording and playing control module is used for controlling the recording function of the audio acquisition device and the loudspeaker extraction unit and also used for controlling the playing function of the audio playing device, the data analysis module is used for analyzing the acoustic characteristic and the performance characteristic of the audio acquisition device, and the data uploading module is used for producing and displaying the analysis result and uploading the analysis result to a target address, wherein the target address can be the IP address of any terminal or server and other equipment.
The quality of the audio acquisition device is mainly embodied by two parts, one part is performance and the other part is acoustic, so that the quality of the audio acquisition device is determined based on the first test audio signal acquired by the audio acquisition device.
The performance parameters mainly include a target transfer function, where the target transfer function is used to represent a transfer relationship between a second test audio signal to be played by the audio playing device and a first test audio signal collected by the audio collecting device, and the target transfer function can also be understood as a transfer relationship that the second test audio signal output by the analog audio playing device evolves into the first test audio signal under the current internal environment of the vehicle.
The acoustic parameters include the ambient noise floor, sensitivity, signal to noise ratio and frequency response of the audio acquisition device. The environmental background noise refers to noise of an audio acquisition device mounted on a vehicle when no specific sound source is active, and can directly record the RMS (Root Mean Square) value of an environmental background noise signal acquired by the audio acquisition device, wherein the RMS value can reflect the intensity or energy of the environmental background noise signal. The sensitivity refers to a sensitivity of the second test audio signal played by the audio playing device, and the sensitivity may be an RMS value of the first test audio signal when the first test audio signal is collected by the audio collecting device mounted on the vehicle. The signal-to-noise ratio is the difference between the RMS value of the first test audio signal and the RMS value of the ambient background noise signal, and is the difference of the RMS value of the first test audio signal minus the RMS value of the ambient background noise. The frequency response refers to the amplitude of each frequency point of the first test audio signal acquired by the audio acquisition device in the Fourier transform domain.
In step S14, a deviation value between the quality parameter and a standard quality parameter is determined.
The standard quality parameter is a standard for measuring the quality of the quality parameter.
If the quality parameter is a performance parameter, which is a target transfer function, then the standard quality parameter is a standard transfer function. The standard transfer function is a transfer function between the standard audio acquisition device and the standard audio playback device. The standard audio acquisition device refers to a standard vehicle of the same type as the current vehicle, and is the same type as the audio acquisition device to be tested at present and in the same assembly environment.
For example, taking an audio collection device as a microphone, an audio playback device as a speaker is an example. Referring to fig. 3, the left side of fig. 3 is a vehicle a, and the right side of fig. 3 is a vehicle B. The vehicle B is provided with a microphone B and a loudspeaker B, the mass of the microphone B and the loudspeaker B is standard, the transfer function between the microphone B and the loudspeaker B is standard, the vehicle A is provided with a microphone A and a loudspeaker A, the type of the vehicle A is the same as that of the vehicle B, the type of the microphone A is the same as that of the microphone B, the type of the loudspeaker A is the same as that of the loudspeaker B, the type of the microphone A is the same as that of the assembly environment, the type of the microphone B is the same as that of the assembly environment, and the mass of the microphone B is standard, and the microphone B is a standard audio acquisition device of the microphone A.
If the quality parameter is an acoustic parameter, then the standard quality parameter is a standard acoustic parameter, including standard ambient noise floor, standard sensitivity, standard signal-to-noise ratio, and standard frequency response. The standard acoustic parameter is an average or median value of acoustic parameters of the second test audio signal acquired by the plurality of audio acquisition devices.
The deviation value between the quality parameter and the standard quality parameter is the absolute value of the difference between the quality parameter and the standard parameter. The magnitude of the deviation value represents the quality of the quality parameter, and the larger the deviation value is, the worse the quality parameter is, the smaller the deviation value is, and the better the quality parameter is.
In step S15, it is determined whether the audio acquisition device is abnormal according to the comparison relationship between the deviation value and the error range.
In general, a certain deviation exists between a quality parameter and a standard quality parameter, but the quality parameter is considered to be poor if the deviation exists, the error range is set in the present disclosure, if the deviation value is larger than the maximum value of the error range, the audio acquisition device is considered to be abnormal, and if the deviation value is within the error range, the audio acquisition device is considered to be normal.
When the pickup quality test is carried out on the audio acquisition device, the test program can be pre-configured in the controller, then the vehicle to be tested is parked in a relatively quiet external environment as far as possible, the door window of the vehicle is closed, all sound sources are stopped to be played, the air conditioning fan, the seat ventilation massage and the like are closed so as to keep the interior of the vehicle quiet, and then the test program is opened on the screen of the vehicle to start detection, wherein the test program detection logic is as follows:
(1) And starting a test mode, configuring a preset playing volume for the audio playing device, and prohibiting any sound source from sounding in the vehicle.
(2) The audio collection device and the loudspeaker extraction unit are controlled to start recording, the audio collection device collects first test audio signals, the first test audio signals can be white noise or powder noise, and the loudspeaker extraction unit collects second test audio signals.
(3) And controlling the audio acquisition device to acquire the environment background noise signal.
(4) And sequentially calling an audio playing device opposite to the audio acquisition device to play a second test audio signal.
(5) And sending the first test audio signal and the second test audio signal into a data analysis module to obtain an analysis result of whether the audio acquisition device is abnormal or not.
It can be understood that, during testing, since the plurality of audio collection devices and the plurality of audio playing devices are configured in the vehicle, in order to ensure the accuracy of the first test audio signals collected by the audio collection devices, please refer to fig. 2, the audio playing devices should be opposite to the collection ports of the audio collection devices as much as possible, and no shielding object exists between the audio playing devices as much as possible, so as to ensure that as many second test audio signals reach the audio collection devices as possible, and also ensure that the second test audio signals reach all the audio collection devices in the audio collection device array at the same time as much as possible.
As shown in fig. 2, the audio collecting device is taken as a microphone, and the audio playing device is taken as a loudspeaker as an example. The vehicle is provided with 2 microphone arrays and 2 loudspeakers, when the microphone array 1 positioned at the left side of the top of the main driving head is tested, the loudspeaker 2 positioned at the auxiliary driving door should be selected to play the second test audio signals so as to ensure that as many second test audio signals as possible can reach all microphones of the microphone array 1 to be tested at the same time, and when the microphone array 2 positioned at the right side of the top of the auxiliary driving head is tested, the loudspeaker 1 positioned at the main driving door should be selected to play the second test audio signals so as to ensure that as many second test audio signals as possible can reach the microphone array 2 to be tested at the same time.
Through the technical scheme, in the first aspect, the first test audio signal collected by the audio collection device assembled on the vehicle is utilized, so that the abnormality of the assembled audio collection device can be detected, the audio collection device which is not assembled on the vehicle is not tested, whether the assembled audio collection device has quality abnormality or not is accurately determined, and in the process, the problem that the quality test effect is poor due to the fact that the assembled audio collection device is tested, the audio collection device before assembly is not tested in the traditional test method is solved. In a second aspect, the present disclosure also eliminates the need to drive the vehicle into a full-silencing laboratory to test the audio acquisition device, fully utilizes the audio acquisition device, the audio playback device and the controller configured in the vehicle to perform self-test, and does not rely on the test equipment in the full-silencing laboratory, with lower test cost and faster test speed.
The following describes a specific embodiment related to the above steps, which is used to define whether the audio capturing device is abnormal or not from the performance aspect of the audio capturing device in the case that the standard quality parameter is the standard transfer function and the quality parameter is the target transfer function, and includes the following steps.
A1, determining an output signal obtained after the second test audio signal is transmitted through a transmission function.
The transfer function is any one transfer function of an assumed initial transfer function, a first transfer function obtained by iteration on the basis of the initial transfer function and a second transfer function obtained by iteration on the basis of the first transfer function, and the first transfer function and the second transfer function are transfer functions used in two adjacent iteration processes. Taking the value of the initial transfer function as 3 as an example, assuming that the iteration step size is 2, the value of the transfer function in the second iteration is 5, the value of the transfer function in the third iteration is 7, and the value of the transfer function in the fourth iteration is 9.
The calculation formula for determining the first test audio signal is as follows:
d(n)=xT(n)h(n-1)+v(n) (1)
In the formula (1), d (n) is a first test audio signal collected by the audio collection device, x (n) is a second test audio signal to be played by the audio play device at the time n, h (n-1) is impulse response from the audio play device to the audio collection device at the time n-1, fourier transformation corresponding to the impulse response is a transmission function, v (n) is an additive noise signal received by the audio collection device, the additive noise signal is noise added when the first test audio signal is processed, n is a discrete time sequence number, and x T (n) h (n-1) is an output signal obtained after the second test audio signal is transmitted through the transmission function.
As can be seen from the formula (1), the output signal is the product of the impulse response of the second test audio signal at the current moment and the impulse response of the last moment, and the first test audio signal is the audio signal obtained after the second test audio signal is affected by the impulse response and the additive noise.
It will be appreciated that since the first test audio signal and the second test audio signal are time-series audio signals, n and n-1 in the above formula (1) represent adjacent two times, n is the current time, and n-1 is the time immediately preceding the current time.
A2, determining an error between the first test audio signal and the output signal.
The final objective transfer function may be obtained by any one of a least mean square method (LMS), a normalized least mean method (NLMS), a power normalized least mean method (PNLMS), and the like. Taking the minimization average method as an example, the error between the output signal and the first test audio signal can be calculated first, then the mean square error is minimized, and the target transfer function is solved.
Wherein the formula for calculating the error between the output signal and the first test audio signal is as follows:
in the formula (2), e (n) is the error between the output signal and the first test audio signal, d (n) is the first test audio signal collected by the audio collecting device at the moment n, x (n) is the second test audio signal played by the audio playing device at the moment n; is the impulse response from the audio playing device to the audio collecting device at the time n-1.
As can be seen from equation (2), the error between the first test audio signal and the output signal is essentially the difference between the first test audio signal and the output signal. Can be usedAnd performing convolution filtering processing on the second test audio signal x (n), and calculating an error between the output signal after the convolution filtering processing and the first test audio signal.
Wherein, the formula of the mean square error is as follows:
In the formula (3), e 2 (n) is the mean square error between the output signal and the first test audio signal at the time of n, d (n) is the first test audio signal collected by the audio collecting device at the time of n, x (n) is the second test audio signal played by the audio playing device at the time of n; Is impulse response from the audio playing device to the audio collecting device at the time of n-1, and v (n) is additive noise at the time of n.
As can be seen from the formula (3), the present disclosure aims at minimizing the mean square error, so as to obtain the transmission function h (n-1) at the moment on the target transmission function, and then obtains the target transmission function based on the transmission function at the moment on the target transmission function.
And A3, updating the transfer function under the condition that the error does not meet the convergence condition, and executing the step of determining the error between the first test audio signal and the output signal again based on the updated transfer function until the error meets the convergence condition.
Under the condition that the error does not meet the convergence condition, updating the transfer function with a designated step length, determining an updated output signal obtained by the updated transfer function of the second test audio signal, determining the error between the first test audio signal and the updated output signal, and repeating the steps until the error meets the convergence condition. The error may be replaced with the mean square error in the above formula (3).
For each round of iteration, the impulse response obtained from the previous round of iteration isThe product of the first test audio signal d (n) and the second test audio signal x T (n) in the iteration process is used as an output signal in the iteration process, and the first test audio signal d (n) and the output signal in the iteration process are calculatedAs the error obtained in this iteration.
The iteration condition includes any one of the first test audio signal and the second test audio signal having an error less than a specified threshold and a time series having been iteratively consumed.
For errors less than the specified threshold, assuming the specified threshold is 0.11, then the iteration is considered complete when the error is less than 0.11.
For the time series of the first test audio signal and the second test audio signal that have been consumed iteratively, assuming that the first test audio signal and the second test audio signal have 200 data in total in the time series, the iteration is considered to be completed when the 200 first test audio signal and the second test audio signal are all used for calculating errors and no redundant data are used for calculating errors.
When the error meets the iteration condition, the obtained target transfer function is close to the actual transfer function in the current environment.
And A4, obtaining the target transfer function according to the transfer function under the convergence condition when the error meets the convergence condition.
Referring to the above formula (3), after the error satisfying the iteration condition is obtained through several iterative computations, the transfer function h (n-1) at the previous time of the target transfer function at the current time can be obtained based on the error reversal.
The calculation formula of the gradient between the transfer functions used in two adjacent iterations is as follows:
In the formula (4) of the present invention, Is the gradient between the transfer function at the previous moment and the target transfer function at the current moment, x (n) is the second test audio signal, d (n) is the first test audio signal, and e (n) is the error.
It can be seen from equation (4) that the gradient between the transfer function at the previous time and the target transfer function at the current time is a negative value of the product of the second test audio signal and the error.
After obtaining the gradient corresponding to the target transfer function and the transfer function at the last moment of the target transfer function, the target transfer function at the current moment can be obtained according to the transfer function at the last moment of the target transfer function and the gradient corresponding to the target transfer function, and the calculation formula is as follows:
in the formula (5) of the present invention, Is the impulse response corresponding to the target transfer function; The method is an impulse response corresponding to a transfer function at the last moment of a target transfer function, and can be understood as an impulse response corresponding to the transfer function obtained by the last iteration, mu is an iteration step length, is a value of increasing or decreasing the transfer function at the next moment compared with the transfer function at the last moment, x (n) is a second test audio signal, and e (n) is an error meeting a convergence condition.
From equation (5), it can be seen that the gradient between two adjacent transfer functions is based onImpulse response of transfer function satisfying last moment under convergence conditionAnd iterating the step length mu to obtain a target impulse response, and then converting the target impulse response into a target transfer function. Of course, the product of the iteration step mu, the second test audio signal x (n) and the error e (n) meeting the convergence condition can also be used as the target value, and the impulse response of the transfer function at the last momentAnd (3) superposing a target value on the basis of the current time as a target impulse response, and converting the target impulse response to obtain a target transfer function.
The iteration step is usually a value larger than 0, and can be appropriately selected according to experience, and an excessive or an insufficient iteration step can lead to the problems of convergence speed and stability of solving errors, and in an algorithm for minimizing the mean square error, the selection range of the iteration step can be as follows:
In formula (6), μ is an iteration step.
In order to improve stability in application, in the normalized minimum average method, the iteration step size may be defined by the following formula:
in the formula (7), mu is an iteration step length, delta is a regularization factor which is a decimal greater than 0, so that the situation that the iteration step length is too large when the second test audio signal is too small can be avoided, alpha is a number between 0 and 2, and can be selected according to experience, and the larger alpha is, the faster the convergence speed in the solving process is.
In the formulas (1) - (7), the mean square error obtained by the formula (3) is used for judging whether the mean square error meets the convergence condition, if not, the transfer function is continuously updated according to the iteration step length, whether the mean square error meets the convergence condition is continuously calculated based on the updated transfer function, and the iteration updating step is repeatedly executed until the finally obtained mean square error meets the convergence condition. And after obtaining the mean square error meeting the convergence condition, reversely pushing the transmission function at the previous moment of the target transmission function through the formula (3), obtaining the gradient corresponding to the target transmission function based on the formula (4), and finally carrying the gradient obtained based on the transmission function at the previous moment obtained by the formula (3) and the gradient obtained by the formula (4) into the formula (5) to obtain the target transmission function.
Because the first test audio signal is a real signal acquired by the audio acquisition device, the first test audio signal can be understood to be a test audio signal obtained after the second test audio signal is transmitted by a transmission function in a real environment, and the output signal is a test audio signal obtained by simulating a target transmission function obtained by calculating the second test audio signal, the smaller the error between the first test audio signal and the output signal is, the closer the calculated target transmission function is to the real transmission function in the current vehicle.
A5, determining a performance deviation value between the target transfer function and the standard transfer function.
The performance deviation value refers to performance deviation between the audio acquisition devices under the same type and same assembly environment, and is specifically a difference value between a target transfer function corresponding to the audio acquisition device to be tested and a standard transfer function corresponding to the standard audio acquisition device.
The audio collection device is a microphone and the audio playback device is a speaker as an example. The standard transfer function is a transfer function between a standard microphone and a standard speaker in the same assembly environment as the microphone to be tested in the standard vehicle.
Referring to fig. 3, the vehicle to be tested is a vehicle a, the standard vehicle is a vehicle B, the position of a microphone a mounted on the vehicle a is the same as the position of a microphone B mounted on the vehicle B, and the position of a speaker a mounted on the vehicle a is the same as the position of a speaker B mounted on the vehicle B. Therefore, the target transfer function between the microphone A and the loudspeaker A on the vehicle A and the performance deviation value between the standard transfer function between the microphone B and the loudspeaker B on the vehicle B are more significant, and the performance deviation between the microphone in the vehicle A to be tested and the microphone in the standard vehicle B can be determined.
And A6, determining that the audio acquisition device is abnormal under the condition that the performance deviation value is out of the error range.
After the target transfer function is obtained, fourier transformation can be carried out on the target transfer function to obtain the amplitude of the target transfer function on each frequency point, and the abnormality of the audio acquisition device is determined under the condition that the performance deviation value between the amplitude and the standard amplitude is out of the error range.
It will be appreciated that for the error range corresponding to the amplitude, a first error range may be provided for the amplitude of the frequency point below 5KHZ for the characteristic that the audio signal mainly exists at the middle and low frequencies, and a second error range may be provided for the amplitude of the frequency point above 5KHZ due to the influence of internal reflection of the vehicle, noise influence and algorithm convergence. The maximum value of the first error range is smaller than the minimum value of the second error range.
After the standard transfer function is obtained, fourier transformation can be performed on the standard transfer function to obtain standard amplitude values of the standard transfer function on each frequency point, and then performance deviation values between the amplitude values of the target transfer function on each frequency point and the standard amplitude values on each frequency point are calculated. If the frequency point is below 5KHZ, judging whether the performance deviation value is within a first error range, and if the frequency point is above 5KHZ, judging whether the performance deviation value is within a second error range.
Under the condition that the performance deviation value is out of the error range, the fact that the difference between the target transfer function and the standard transfer function is larger is indicated, the difference between the transfer function between the audio acquisition device to be detected and the audio playing device and the difference between the transfer function between the standard audio acquisition device and the audio playing device is larger can indicate that the audio acquisition device to be detected is abnormal, and the quality of the audio acquisition device to be detected is relatively poor compared with that of the standard audio acquisition device.
At present, the transmission function between the audio playing device and the audio collecting device is related to three factors, namely the audio collecting device, the audio playing device and the transmission path. In general, the positions of an audio playing device and an audio collecting device in the same batch of vehicles of the same type are fixed, and the acoustic environments in the vehicles after window closing are basically the same, the present disclosure sets the vehicles to be tested and the standard vehicles as the vehicles of the same type, positions and types of the audio playing device and the audio collecting device in the vehicles to be tested, the positions and types of the audio playing device and the audio collecting device in the standard vehicle are configured to be the same, so that the difference between the audio collecting device in the standard vehicle and the audio collecting device in the vehicle to be tested can be tested under the same transmission path. And compared with the audio acquisition device, the audio playing device has larger volume and is not easily influenced by the acoustic structure, so the audio playing device basically does not influence the transfer function.
After the influence of the audio playing device and the transmission path on the transmission function is removed, the quality of the audio acquisition device assembled in the vehicle is a main factor affecting the transmission function, and when the quality of the audio acquisition device is poor, the deviation between the obtained target transmission function and the standard transmission function is large. Therefore, if the target transfer function between the audio acquisition device and the audio playing device in the vehicle to be detected can be accurately obtained, the quality of the audio acquisition device to be detected can be indirectly obtained, and the quality of the audio acquisition device to be detected can be deduced reversely.
It can be understood that, the assembly environments of the audio playing device to be tested and the standard audio playing device are set to be the same, so that the influence of factors such as the assembly environment of the audio playing device can be removed, for example, the target transfer function between the audio collecting device a and the audio playing device a on the vehicle a needs to be compared with the standard transfer function between the standard audio collecting device B and the standard audio playing device B on the vehicle B under the same type of the same assembly environment, and the influence of factors such as the assembly environment on the transfer function can be removed only when the type of the audio collecting device a is the same as the assembly environment and the type of the standard audio collecting device B is the same as the assembly environment. On this basis, the audio collection devices under different assembly environments have different standard transfer functions, as shown in fig. 4, the assembly positions of the audio collection devices a to F are different, so that each of the audio collection devices a to F corresponds to one of the standard transfer functions.
Through the technical scheme, the standard transfer function between the standard audio acquisition device and the standard audio playing device under the same type and the same configuration environment with the audio acquisition device to be tested is obtained in advance, the standard transfer function is taken as a reference, whether the target transfer function between the audio acquisition device to be tested and the audio playing device is close to the standard transfer function is judged, if the target transfer function is not close to the standard transfer function, the performance of the audio acquisition device to be tested and the performance of the standard audio acquisition device are greatly different, and the standard audio acquisition device is a normal audio acquisition device, so that when the standard audio acquisition device and the standard audio acquisition device are greatly different, the audio playing device to be tested is determined to have faults or the performance of the audio playing device to be tested is compared with the standard audio playing device.
In the first aspect, taking the audio acquisition device as an example of a microphone array, a target microphone in the microphone array to be tested and a standard microphone in the standard microphone array can be compared, whether a target transfer function corresponding to the target microphone is close to a standard transfer function corresponding to the standard microphone or not is determined, if not, whether the microphone to be tested is abnormal or the quality of the microphone to be tested is worse than that of the standard microphone is determined, and the defect that in a traditional test method, only the microphone array can be tested, and a single microphone cannot be tested is realized.
In a second aspect, by repeatedly adopting the above-mentioned testing method, quality tests can be performed on a plurality of microphones in the same microphone array, so as to determine whether the quality of the plurality of microphones in the same microphone array has consistency, so as to find or lock a single microphone with abnormal performance.
In the third aspect, when the deviation between the target transfer function and the standard transfer function is larger, it is indicated that the mass deviation between the audio acquisition device to be detected and the standard audio acquisition device is larger, and the mass of the audio acquisition device to be detected is lower than that of the standard audio acquisition device at the moment, so that the mass consistency difference of the audio acquisition devices between different vehicles can be obtained, and abnormal vehicles and audio acquisition devices can be found and locked.
In a fourth aspect, the method for testing the audio acquisition device provided by the present disclosure is a self-testing method, and the performance test can be performed on the audio acquisition device based on the test program run by the controller, without depending on the rest of test equipment and test environment, so that the test cost is lower, and the test implementation is more convenient.
The following describes a specific embodiment related to the above steps for explaining whether or not the audio capturing device is abnormal from the acoustic quality of the audio capturing device in the case where the standard quality parameter is the standard acoustic parameter, which includes the following steps.
B1, determining an acoustic deviation value between the acoustic parameter and the standard acoustic parameter.
And determining the average value or the median value of the acoustic parameters of a plurality of audio acquisition devices in the same group of audio acquisition devices, and taking the average value or the median value as the standard acoustic parameter.
For example, if the acoustic parameters of the plurality of audio acquisition devices are 0,1, 2,3, 4, 5, 6, respectively, then the average value 3 may be used as the standard acoustic parameter, and the median value 3 may also be used as the standard acoustic parameter.
Since the acoustic parameters include ambient background noise, sensitivity, signal-to-noise ratio and frequency response, the corresponding standard acoustic parameters include standard ambient background noise, sensitivity, signal-to-noise ratio and frequency response.
The method comprises the steps of taking an average value or a median value of a plurality of environmental background noises under a time sequence acquired by an audio acquisition device as a standard environmental background noise, taking an average value or a median value of a plurality of sensitivities of a first test audio signal under the time sequence acquired by the audio acquisition device as a standard sensitivity, taking an average value or a median value of a plurality of signal to noise ratios between the first test audio signal under the time sequence acquired by the audio acquisition device and the environmental background noise as a standard signal to noise ratio, and taking standard amplitude values of the first test audio signal under the time sequence acquired by the audio acquisition device at different frequency points as standard frequency response.
And B2, determining that the audio acquisition device is abnormal under the condition that the acoustic deviation value is out of the error range.
Determining that the audio acquisition device is abnormal if at least one of:
(1) And under the condition that the acoustic deviation value between the environmental background noise of the audio acquisition device to be detected and the standard environmental background noise is out of the error range, determining that the acquired environmental background noise of the audio acquisition device to be detected is abnormal due to abnormality.
(2) And determining that the sensitivity of the first test audio signal acquired by the audio acquisition device to be detected is abnormal due to abnormality under the condition that the acoustic deviation value between the sensitivity of the first test audio signal acquired by the audio acquisition device to be detected and the standard sensitivity is out of the error range.
(3) The method comprises the steps of taking a difference value between standard sensitivity and standard ambient noise as the standard signal-to-noise ratio, wherein the standard sensitivity is an average value or a median value of the sensitivity of a first test audio signal acquired by the same group of audio acquisition devices, the standard ambient noise is an average value or a median value of the ambient noise signals acquired by the same group of audio acquisition devices, and determining that the signal-to-noise ratio between the acquired first test audio signal and the ambient noise is abnormal due to abnormality of the audio acquisition devices to be detected under the condition that an acoustic deviation value between the signal-to-noise ratio of the audio acquisition devices to be detected and the standard signal-to-noise ratio is out of an error range.
(4) And determining that the amplitude value of the second test audio signal acquired by the audio acquisition device to be detected is abnormal due to abnormality under the condition that the acoustic deviation value between the amplitude value of the audio acquisition device to be detected and the standard frequency response is out of the error range. The standard frequency response may also be referred to as a standard amplitude.
For example, referring to fig. 4, taking an example in which the audio capturing device is a microphone in the microphone array, it is assumed that the microphone a is to be detected, and an average value or a median value of the acoustic parameters of the microphones a to F may be used as a standard acoustic parameter, and then a difference between the acoustic parameters of the microphone a and the standard acoustic parameter may be determined.
Through the technical scheme, the average value or the median value of the acoustic parameters of the plurality of audio acquisition devices can be determined, the average value or the median value is used as a standard acoustic parameter, then the differences between the acoustic parameters of the plurality of audio acquisition devices and the standard acoustic parameter are determined one by one, and if the differences are large, the abnormality of the audio acquisition devices is indicated, or the quality of the audio acquisition devices is poorer than that of the other audio acquisition devices in the same group.
In the first aspect, taking the example that the audio acquisition device is a microphone array, the acoustic parameters of the microphones in the microphone array to be tested can be compared with the standard acoustic parameters obtained by utilizing the acoustic parameters of the microphones to determine whether the acoustic parameters of the microphones to be tested are close to the standard acoustic parameters, if not, the microphone to be tested is abnormal or the quality of the microphones to be tested is worse than that of the rest microphones in the same microphone array, so that the defect that in the traditional testing method, only the microphone array can be tested, and the single microphone cannot be tested is realized.
In a second aspect, by repeatedly adopting the above-mentioned testing method, quality tests can be performed on a plurality of microphones in the same group of microphone arrays, so as to determine whether the quality of the plurality of microphones in the same group of microphone arrays is consistent, and then find or lock a single microphone with abnormal performance.
In a third aspect, the method for testing the audio acquisition device provided by the present disclosure is a self-testing method, and the performance test can be performed on the audio acquisition device based on the test program run by the controller, without depending on the rest of test equipment and test environment, so that the test cost is lower, and the test implementation is more convenient.
The following describes alternative embodiments to which the present disclosure relates to explaining how to accurately determine whether an audio acquisition device is abnormal or an audio playback device is abnormal.
And determining a second performance deviation value of the audio acquisition device under the condition that the first performance deviation value of the audio acquisition device is out of the error range and the first acoustic deviation value is in the error range, wherein the first performance deviation value and the first acoustic deviation value are obtained by acquiring a second test audio signal played by the first audio playing device by the audio acquisition device, and the second performance deviation value is obtained by acquiring a second test audio signal played by the second audio playing device by the audio acquisition device.
For example, referring to fig. 5, taking the example that the first audio playing device is the speaker a, the second audio playing device is the speaker B, and the audio collecting device is the microphone, the microphone can collect the second test audio signal played by the speaker a, and then calculate the target transfer function between the microphone to be tested and the speaker a, the first performance deviation value of the standard transfer function between the standard microphone and the standard speaker, and the first acoustic deviation value between the acoustic parameter of the microphone to be tested and the standard acoustic parameter of the microphone array of the same group.
If the first performance deviation value is outside the error range and the first acoustic deviation value is within the error range, it is indicated that the performance deviation between the microphone to be tested and the standard microphone is larger, the acoustic deviation between the microphone to be tested and the rest microphones in the same group of microphone arrays is smaller, which may be that the quality problem occurs in the whole microphone array where the microphone to be tested is located, resulting in smaller acoustic deviation between the microphones in the same group of microphone arrays and larger performance deviation between the microphone to be tested and the standard microphone, and may be the reason of speaker a, the quality of speaker a is worse than that of the standard speaker, resulting in larger deviation of the audio signal of speaker a received by the microphone to be tested from the audio signal of the standard speaker received by the microphone in the same group, and smaller difference of the audio signal received by the microphone arrays in the same group.
To further determine whether a quality problem is occurring for the microphone or for the loudspeaker a, the target transfer function between the microphone and the loudspeaker B and a second performance deviation between the standard transfer function between the standard microphone and the standard loudspeaker may be recalculated, and if the second performance deviation is equally large, this indicates that both the target transfer function between the microphone and the different loudspeaker and the performance deviation between the standard transfer function between the standard microphone and the standard loudspeaker are large, which indicates that the microphone is abnormal.
Conversely, if the second performance deviation between the target transfer function and the standard transfer function between the microphone and the speaker B is smaller, it indicates that the microphone is normal and the speaker a is abnormal.
Through the technical scheme, when whether the audio acquisition device is abnormal or the audio playing device is abnormal can not be determined, the target transfer function between the audio acquisition device and different audio playing devices can be calculated, then the performance deviation values between different target transfer functions and corresponding standard transfer functions are determined, if the performance deviation values are all within the error range, the audio acquisition device is further described as normal, and the audio playing device is abnormal.
Fig. 6 is a block diagram of a test apparatus of an audio acquisition apparatus according to an exemplary embodiment. Referring to fig. 6, the test apparatus 600 of the audio acquisition apparatus includes a play control module 610, an acquisition module 620, a parameter determination module 630, an offset determination module 640, and an anomaly detection module 650.
A play control module 610 configured to control an audio play device to play test audio, the audio play device being fitted within a cabin of a vehicle;
An acquisition module 620 configured to acquire a first test audio signal, the first test audio signal being an audio signal acquired by an audio acquisition device installed in the cabin after the test audio is played;
A parameter determination module 630 configured to determine a quality parameter of an audio acquisition device from the first test audio signal, wherein the quality parameter is used to characterize a performance parameter and/or an acoustic parameter of the audio acquisition device;
a deviation value determination module 640 configured to determine a deviation value between the quality parameter and a standard quality parameter;
an anomaly detection module 650 configured to determine whether the audio acquisition device is anomalous based on a comparison between the deviation value and an error range.
Optionally, the standard quality parameter is a standard transfer function, the quality parameter includes a target transfer function for characterizing the performance parameter, the target transfer function is used for representing a relationship between a second test audio signal to be played by an audio playing device and a first test audio signal collected by the audio collecting device, and the deviation value determining module 640 includes:
A performance deviation value determination submodule configured to determine a performance deviation value between the target transfer function and the standard transfer function.
Optionally, the parameter determination module 630 includes:
An output signal determining sub-module configured to determine an output signal obtained after the second test audio signal is transmitted through a transmission function;
An error determination sub-module configured to determine an error between the first test audio signal and the output signal;
An updating sub-module configured to update the transfer function and to execute the step of determining an error between the first test audio signal and the output signal again based on the updated transfer function, until the error satisfies the convergence condition, if the error does not satisfy the convergence condition;
And the target transfer function determining submodule is configured to obtain the target transfer function according to the transfer function under the convergence condition when the error meets the convergence condition.
Optionally, the objective transfer function determination submodule includes:
The gradient determination submodule is configured to obtain a gradient corresponding to the target transfer function according to the second test audio signal and the error;
And the convergence sub-module is configured to obtain the target transfer function based on the gradient and the transfer function meeting the convergence condition.
Optionally, the standard transfer function includes a standard magnitude, and the anomaly detection module 650 includes:
The transformation submodule is configured to carry out Fourier transformation on the target transfer function to obtain the amplitude of the target transfer function on each frequency point;
A first anomaly detection sub-module configured to determine that the audio acquisition device is anomalous if a performance deviation value between the amplitude and the standard amplitude is outside the error range.
Optionally, the standard transfer function is a transfer function corresponding to a standard audio collection device, and the standard audio collection device is an audio collection device which is of the same type as the audio collection device and is in the same assembly environment.
Optionally, the standard quality parameter is a standard acoustic parameter, and the deviation value determination module 640 comprises an acoustic deviation value determination sub-module configured to determine an acoustic deviation value between the acoustic parameter and the standard acoustic parameter.
Optionally, the test device 600 of the audio acquisition device includes:
And the standard acoustic parameter module is configured to take the average value or the median value of the acoustic parameters of the same group of the audio acquisition devices as the standard acoustic parameters.
Optionally, the standard acoustic parameters include at least one of:
The first test audio signal has a standard environmental background noise, a standard sensitivity, a standard signal-to-noise ratio and a standard frequency response.
Optionally, the standard acoustic parameter is the standard environmental background noise, and the standard acoustic parameter module comprises:
and the standard environment background noise submodule is configured to take the average value or the median value of the environment background noise signals acquired by the same group of audio acquisition devices as the standard environment background noise.
Optionally, the standard acoustic parameter is the standard sensitivity, and the standard acoustic parameter module comprises:
a standard sensitivity submodule configured to take as the standard sensitivity an average or median of the sensitivities of the first test audio signals acquired by the same set of audio acquisition devices.
Optionally, the standard acoustic parameter is the standard signal to noise ratio, and the standard acoustic parameter module comprises:
The standard signal-to-noise ratio sub-module is configured to take the difference between the standard sensitivity and the standard ambient noise floor as the standard signal-to-noise ratio, wherein the standard sensitivity is the average value or the median value of the sensitivity of the first test audio signal acquired by the same group of audio acquisition devices, and the standard ambient noise floor is the average value or the median value of the ambient noise floor signals acquired by the same group of audio acquisition devices.
Optionally, the standard acoustic parameter is the standard frequency response, and the standard acoustic parameter module comprises:
and the standard frequency response sub-module is configured to take the average value or the median value of the amplitude values of all the frequency points on the Fourier transform domain of the first test audio signals acquired by the same group of audio acquisition devices as the standard frequency response.
Optionally, the anomaly detection module 650 includes:
And a second abnormality detection sub-module configured to determine that the audio acquisition device is abnormal if the acoustic deviation value is outside the error range.
Optionally, the audio playing device comprises a first audio playing device and a second audio playing device, wherein the deviation value comprises a performance deviation value and an acoustic deviation value;
Optionally, the anomaly detection module 650 includes:
The second performance deviation value determining submodule is configured to determine a second performance deviation value of the audio acquisition device when a first performance deviation value of the audio acquisition device is out of the error range and a first acoustic deviation value is within the error range, wherein the first performance deviation value and the first acoustic deviation value are obtained by acquiring a second test audio signal played by the first audio playing device according to the audio acquisition device, and the second performance deviation value is obtained by acquiring a second test audio signal played by the second audio playing device according to the audio acquisition device;
and a third abnormality detection sub-module configured to determine that the audio acquisition device is abnormal if the second performance deviation value is outside the error range.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Based on the same inventive concept, the present disclosure further provides a test apparatus of an audio acquisition device, including:
the audio playing device is used for playing test audio and is assembled in a cabin of the vehicle; the system comprises an audio collection device, a controller and a control device, wherein the audio collection device is used for obtaining a first test audio signal, the first test audio signal is an audio signal collected by the audio collection device arranged in the seat cabin after the test audio is played, and the controller is respectively in communication connection with the audio playing device and the audio collection device and is used for executing the steps of the test method of the audio collection device.
The present disclosure also provides a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the present disclosure providing a method of testing an audio acquisition device.
Fig. 7 is a block diagram of a vehicle 700, according to an exemplary embodiment. For example, vehicle 700 may be a hybrid vehicle, but may also be a non-hybrid vehicle, an electric vehicle, a fuel cell vehicle, or other type of vehicle. The vehicle 700 may be an autonomous vehicle, a semi-autonomous vehicle, or a non-autonomous vehicle.
Referring to fig. 7, a vehicle 700 may include various subsystems, such as an infotainment system 710, a perception system 720, a decision control system 730, a drive system 740, and a computing platform 750. Vehicle 700 may also include more or fewer subsystems, and each subsystem may include multiple components. In addition, interconnections between each subsystem and between each component of the vehicle 700 may be achieved by wired or wireless means.
In some embodiments, the infotainment system 710 may include a communication system, an entertainment system, a navigation system, and the like.
The sensing system 720 may include several sensors for sensing information of the environment surrounding the vehicle 700. For example, the sensing system 720 may include a global positioning system (which may be a GPS system, a beidou system, or other positioning system), an inertial measurement unit (inertial measurement unit, IMU), a lidar, millimeter wave radar, an ultrasonic radar, and a camera device.
Decision control system 730 may include a computing system, a vehicle controller, a steering system, a throttle, and a braking system.
The drive system 740 may include components that provide powered movement of the vehicle 700. In one embodiment, drive system 740 may include an engine, an energy source, a transmission, and wheels. The engine may be one or a combination of an internal combustion engine, an electric motor, an air compression engine. The engine is capable of converting energy provided by the energy source into mechanical energy.
Some or all of the functions of the vehicle 700 are controlled by the computing platform 750. Computing platform 750 may include at least one processor 751 and memory 752, processor 751 may execute instructions 753 stored in memory 752.
The processor 751 may be any conventional processor, such as a commercially available CPU. The processor may also include, for example, an image processor (Graphic Process Unit, GPU), a field programmable gate array (Field Programmable GATE ARRAY, FPGA), a System On Chip (SOC), an Application SPECIFIC INTEGRATED Circuit (ASIC), or a combination thereof.
The memory 752 may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
In addition to instructions 753, memory 752 may also store data such as road maps, route information, vehicle location, direction, speed, etc. The data stored by memory 752 may be used by computing platform 750.
In an embodiment of the present disclosure, the processor 751 may execute instructions 753 to perform all or part of the steps of the method of testing an audio acquisition device described above.
In another exemplary embodiment, a computer program product is also provided, comprising a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-described method of testing an audio acquisition apparatus when executed by the programmable apparatus.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (18)
1. A method for testing an audio acquisition device, comprising:
controlling an audio playing device to play test audio, wherein the audio playing device is assembled in a cabin of a vehicle;
Acquiring a first test audio signal, wherein the first test audio signal is an audio signal acquired by an audio acquisition device arranged in the cabin after the test audio is played;
Determining a quality parameter of an audio acquisition device according to the first test audio signal, wherein the quality parameter is used for representing a performance parameter and/or an acoustic parameter of the audio acquisition device;
Determining a deviation value between the quality parameter and a standard quality parameter;
and determining whether the audio acquisition device is abnormal according to the comparison relation between the deviation value and the error range.
2. The method of claim 1, wherein the standard quality parameter is a standard transfer function, wherein the quality parameter includes a target transfer function for characterizing the performance parameter, wherein the target transfer function is used for representing a relationship between a second test audio signal to be played by an audio playing device and a first test audio signal acquired by the audio acquisition device, wherein the determining a deviation value between the quality parameter and the standard quality parameter includes:
A performance deviation value between the target transfer function and the standard transfer function is determined.
3. The method of claim 2, wherein determining a quality parameter of an audio acquisition device from the first test audio signal comprises:
Determining an output signal obtained after the second test audio signal is transmitted through a transmission function;
determining an error between the first test audio signal and the output signal;
Updating the transfer function and re-executing the step of determining an error between the first test audio signal and the output signal based on the updated transfer function, if the error does not meet a convergence condition, until the error meets the convergence condition;
and under the condition that the error meets the convergence condition, obtaining the target transfer function according to the transfer function meeting the convergence condition.
4. A method according to claim 3, wherein, in the case where the error satisfies the convergence condition, the obtaining the target transfer function from the transfer function satisfying the convergence condition includes:
obtaining a gradient corresponding to the target transfer function according to the second test audio signal and the error;
And obtaining the target transfer function based on the gradient and the transfer function meeting the convergence condition.
5. The method of claim 2, wherein the standard transfer function comprises a standard magnitude, and wherein determining whether the audio acquisition device is abnormal based on the comparison between the deviation value and the error range comprises:
Performing Fourier transformation on the target transfer function to obtain the amplitude of the target transfer function on each frequency point;
And determining that the audio acquisition device is abnormal under the condition that the performance deviation value between the amplitude and the standard amplitude is out of the error range.
6. The method according to any one of claims 2 to 5, wherein the standard transfer function is a transfer function corresponding to a standard audio acquisition device, and the standard audio acquisition device is an audio acquisition device of the same type and in the same assembly environment as the audio acquisition device.
7. The method of claim 1, wherein the standard quality parameter is a standard acoustic parameter, and wherein the determining a deviation value between the quality parameter and the standard quality parameter comprises:
an acoustic deviation value between the acoustic parameter and the standard acoustic parameter is determined.
8. The method of claim 7, wherein the standard acoustic parameters are determined by:
and taking the average value or the median value of the acoustic parameters of the same group of the audio acquisition devices as the standard acoustic parameters.
9. The method of claim 8, wherein the standard acoustic parameters comprise at least one of:
The first test audio signal has a standard environmental background noise, a standard sensitivity, a standard signal-to-noise ratio and a standard frequency response.
10. The method of claim 9, wherein the standard acoustic parameter is the standard environmental background noise, and wherein the taking as the standard acoustic parameter an average or median of the acoustic parameters of the same set of audio acquisition devices comprises:
and taking the average value or the median value of the environmental background noise signals acquired by the same group of audio acquisition devices as the standard environmental background noise.
11. The method of claim 9, wherein the standard acoustic parameter is the standard sensitivity, wherein the taking as the standard acoustic parameter an average or median value of acoustic parameters of the same set of the audio acquisition devices comprises:
And taking the average value or the median value of the sensitivities of the first test audio signals acquired by the same group of audio acquisition devices as the standard sensitivity.
12. The method of claim 9, wherein the standard acoustic parameter is the standard signal-to-noise ratio, wherein the taking as the standard acoustic parameter an average or median of acoustic parameters of the same set of audio acquisition devices comprises:
And taking the difference between the standard sensitivity and the standard environmental background noise as the standard signal-to-noise ratio, wherein the standard sensitivity is the average value or the median value of the sensitivity of the first test audio signal acquired by the same group of audio acquisition devices, and the standard environmental background noise is the average value or the median value of the environmental background noise signals acquired by the same group of audio acquisition devices.
13. The method of claim 9, wherein the standard acoustic parameter is the standard frequency response, wherein the taking as the standard acoustic parameter an average or median of the acoustic parameters of the same set of audio acquisition devices comprises:
And taking the average value or the median value of the amplitude values of all the frequency points of the first test audio signals acquired by the same group of audio acquisition devices in the Fourier transform domain as the standard frequency response.
14. The method of claim 7, wherein determining whether the audio acquisition device is abnormal based on the comparison between the deviation value and the error range comprises:
and determining that the audio acquisition device is abnormal under the condition that the acoustic deviation value is out of the error range.
15. The method of claim 1, wherein the audio playback device comprises a first audio playback device and a second audio playback device, wherein the deviation value comprises a performance deviation value and an acoustic deviation value, wherein the determining whether the audio collection device is abnormal based on a comparison between the deviation value and an error range comprises:
Determining a second performance deviation value of the audio acquisition device under the condition that a first performance deviation value of the audio acquisition device is out of the error range and a first acoustic deviation value is within the error range, wherein the first performance deviation value and the first acoustic deviation value are obtained by acquiring a second test audio signal played by the first audio playing device by the audio acquisition device, and the second performance deviation value is obtained by acquiring a second test audio signal played by the second audio playing device by the audio acquisition device;
And determining that the audio acquisition device is abnormal under the condition that the second performance deviation value is out of the error range.
16. A test device for an audio acquisition device, comprising:
A play control module configured to control an audio play device to play test audio, the audio play device being fitted in a cabin of a vehicle;
The acquisition module is configured to acquire a first test audio signal, wherein the first test audio signal is an audio signal acquired by an audio acquisition device installed in the cabin after the test audio is played;
a parameter determination module configured to determine a quality parameter of an audio acquisition device from the first test audio signal, wherein the quality parameter is used for characterizing a performance parameter and/or an acoustic parameter of the audio acquisition device;
a deviation value determination module configured to determine a deviation value between the quality parameter and a standard quality parameter;
and the abnormality detection module is configured to determine whether the audio acquisition device is abnormal according to the comparison relation between the deviation value and the error range.
17. A test apparatus for an audio acquisition device, comprising:
the audio playing device is used for playing test audio and is assembled in a cabin of the vehicle;
the audio acquisition device is used for acquiring a first test audio signal, wherein the first test audio signal is an audio signal acquired by the audio acquisition device arranged in the seat cabin after the test audio is played;
the controller is respectively connected with the audio playing device and the audio collecting device in a communication way and is used for executing the steps of the method of any one of claims 1-15.
18. A vehicle, characterized in that it comprises a cabin in which are arranged:
the audio playing device is used for playing test audio and is assembled in a cabin of the vehicle;
the audio acquisition device is used for acquiring a first test audio signal, wherein the first test audio signal is an audio signal acquired by the audio acquisition device arranged in the seat cabin after the test audio is played;
the controller is respectively connected with the audio playing device and the audio collecting device in a communication way and is used for executing the steps of the method of any one of claims 1-15.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311808895.7A CN120224093A (en) | 2023-12-26 | 2023-12-26 | Test method, device, equipment and vehicle for audio acquisition device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311808895.7A CN120224093A (en) | 2023-12-26 | 2023-12-26 | Test method, device, equipment and vehicle for audio acquisition device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN120224093A true CN120224093A (en) | 2025-06-27 |
Family
ID=96110487
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202311808895.7A Pending CN120224093A (en) | 2023-12-26 | 2023-12-26 | Test method, device, equipment and vehicle for audio acquisition device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN120224093A (en) |
-
2023
- 2023-12-26 CN CN202311808895.7A patent/CN120224093A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104715750B (en) | Sound system including engine sound synthesizer | |
| JP6325663B2 (en) | Method for determining noise sound contribution of noise source of motor driven moving body | |
| US9553553B2 (en) | Engine sound synthesis system | |
| CN111951833B (en) | Voice test method, device, electronic equipment and storage medium | |
| RU2730414C2 (en) | Systems and methods for setting electronic sound improvement | |
| CN109754815A (en) | Systems, devices and methods for unmanned plane audio defeat | |
| CN118603581B (en) | Abnormal sound detection method, device, vehicle and storage medium | |
| CN115273786A (en) | A vehicle active noise reduction method, device and storage medium | |
| CN117395555A (en) | Method, device and equipment for prompting sound outside vehicle and computer readable storage medium | |
| CN112652315B (en) | Automobile engine sound real-time synthesis system and method based on deep learning | |
| CN120224093A (en) | Test method, device, equipment and vehicle for audio acquisition device | |
| CN116665713A (en) | A cockpit voice test system, method, electronic equipment and readable storage medium | |
| US12156013B2 (en) | Method and system for determining sound equalising filters of an audio system | |
| CN115165396B (en) | Method, device and medium for determining vehicle onboard hydrogen system test data | |
| CN119296567A (en) | A vehicle-mounted sound zone separation method, device, equipment and medium | |
| CN118335050A (en) | Method and system for quick offline modeling by using sound recording file and active noise reduction method | |
| CN117636835A (en) | Methods, devices, equipment and media for actively reducing noise in vehicles | |
| CN118524339A (en) | Vehicle-mounted microphone array phase testing method and system and vehicle | |
| CN117789750A (en) | Audio signal processing method, device, vehicle and storage medium | |
| CN118675544A (en) | Acoustic wave synthesizing method, acoustic wave synthesizing apparatus, vehicle, and storage medium | |
| CN115620738B (en) | Noise reduction method and device, electronic equipment and medium | |
| Bogema | High-frequency time domain source path contribution: from engine test bench data to cabin interior sounds | |
| CN118803528A (en) | A testing method and system for feasibility of hidden arrangement of active noise reduction microphone in a car | |
| CN119249916B (en) | Automobile expected working condition noise simulation method and system based on reference noise matching | |
| CN118486321B (en) | Voice processing method, device, electronic device and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |