Method and system for realizing noise point detection of automobile audio based on deep learning
By deploying microphone arrays in cars and using deep learning technology to analyze audio features, the problem of insufficient accuracy of existing car audio noise point detection methods is solved, and more efficient noise point location and audio quality analysis are achieved.
Patent Information
- Application Number
- CN202410880796.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-10-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing car audio noise point detection method is based on signal processing technology, which has the problem of being sensitive to noise type and intensity and susceptible to environmental interference, resulting in inaccurate detection.
Using a method based on deep learning, a microphone array is deployed in the car to collect audio sounds, perform preprocessing, identify sound wave points and audio excitation phases, construct a signal space, calculate signal extreme values, and use preconfigured deep learning models to analyze the audio Features, generate noise point detection report.
It improves the accuracy of car audio noise point detection, can locate noise sources more accurately, monitor the working status of audio equipment, analyze the quality of audio signals and noise effects, and quickly find the location of noise.
Smart Images

Figure CN118782007A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of noise detection, and in particular to a method for detecting noise points of automobile audio systems based on deep learning. Background Art
[0002] As an important part of the car, car audio provides drivers with a rich audio experience. With the continuous development of car audio technology, people have higher and higher requirements for sound quality. However, due to various factors, car audio may have noise points during use, affecting the sound quality and user experience. Therefore, timely and accurate detection and positioning of noise points is of great significance for the optimization and maintenance of car audio systems.
[0003] At present, the noise point detection methods for car audio are generally based on signal processing technologies, such as filtering, spectrum analysis and other technologies. Although these methods can detect noise points to a certain extent, they have some limitations, such as being sensitive to the type and intensity of noise and being easily affected by environmental interference, which makes the noise point detection of car audio not accurate enough. Summary of the invention
[0004] In order to solve the above problems, the present invention provides a method for noise point detection of car audio based on deep learning, which can improve the accuracy of noise point detection of car audio.
[0005] In a first aspect, the present invention provides a method for detecting noise points of a car audio system based on deep learning, comprising:
[0006] Deploy a microphone array in the vehicle to be detected, so as to collect the sound of the vehicle to be detected by using the microphone array, and pre-process the sound to obtain pre-processed audio;
[0007] Identify the sound wave point of the preprocessed audio, calculate the sound wave angle of the preprocessed audio according to the sound wave point, calculate the audio excitation phase of the preprocessed audio according to the sound wave angle, and identify the timbre characteristics of the preprocessed audio based on the audio excitation phase;
[0008] Constructing a signal space of the preprocessed audio, after mapping the preprocessed audio into the signal space, calculating the signal extreme value of the preprocessed audio, and identifying the audio effect of the preprocessed audio based on the signal extreme value;
[0009] According to the audio features and the audio effects, a preconfigured deep learning model is used to analyze the sound features of the preprocessed audio. Based on the sound features, the degree of influence of different audios in the preprocessed audio on the sound quality of the audio of the car to be tested is analyzed to obtain a sound quality analysis result. Based on the sound quality analysis result, an audio noise point detection report of the car to be tested is constructed.
[0010] In a possible implementation manner of the first aspect, preprocessing the sound to obtain preprocessed audio includes:
[0011] Performing filtering on the preprocessed audio to obtain filtered audio;
[0012] Performing denoising on the filtered audio to obtain a denoised audio frequency;
[0013] Performing channel separation on the denoised audio to obtain separated audio;
[0014] Performing format conversion on the separated audio to obtain converted audio;
[0015] The converted audio is processed in sections to obtain preprocessed audio.
[0016] In a possible implementation manner of the first aspect, calculating the sound wave emission angle of the preprocessed audio according to the sound wave emission point includes:
[0017] Constructing the two-dimensional coordinates of the sound wave point, and querying the microphone array corresponding to the sound wave point;
[0018] Using the microphone array as the coordinate origin of the two-dimensional coordinates;
[0019] Constructing a rectangular coordinate system of the wave-generating point with the coordinate origin as the center;
[0020] Connecting the sound wave-generating point with the coordinate origin in the two-dimensional coordinates to obtain a wave-generating straight line;
[0021] The angle between the wave emission straight line and the horizontal axis in the rectangular coordinate system is calculated to obtain the sound wave emission angle.
[0022] In a possible implementation manner of the first aspect, calculating the audio excitation phase of the preprocessed audio according to the sound wave emission angle includes:
[0023] Constructing a rectangular waveguide for preprocessing the audio according to the sound wave emission angle;
[0024] After the pre-processed audio is distributed in the rectangular waveguide, the excitation phase of the pre-processed audio is calculated using the following formula:
[0025]
[0026] Among them, ω represents the audio excitation phase, e represents the vacuum dielectric constant of the wave signal corresponding to the preprocessed audio, ρ represents the vacuum magnetic permeability of the wave signal corresponding to the preprocessed audio, A, B, C represent the length, width, and height of the rectangle in the rectangular waveguide, respectively, a represents the signal strength of the wave signal on the A side of the rectangular waveguide, b represents the signal strength of the wave signal on the B side of the rectangular waveguide, and c represents the signal strength of the wave signal on the C side of the rectangular waveguide.
[0027] In a possible implementation manner of the first aspect, identifying the timbre feature of the preprocessed audio based on the audio excitation phase includes:
[0028] constructing a frequency spectrum of the preprocessed audio based on the audio excitation phase;
[0029] identifying frequency content and harmonic structure in the spectrum;
[0030] Analyzing the timbre difference of the preprocessed audio according to the frequency components and the harmonic structure;
[0031] A timbre feature of the preprocessed audio is determined based on the timbre difference.
[0032] In a possible implementation manner of the first aspect, after mapping the preprocessed audio to the signal space, calculating the signal extreme value of the preprocessed audio includes:
[0033] Mapping the preprocessed audio into the signal space to obtain a digital signal;
[0034] According to the digital signal, the maximum phase value of the wave signal corresponding to the preprocessed audio is calculated using the following formula:
[0035]
[0036] Among them, P max Indicates the maximum phase value, N x Represents the number of array antennas in the x-axis of the three-dimensional coordinate space of the digital signal in the signal space, M y Represents the number of array antennas in the y-axis of the three-dimensional coordinate space of the digital signal in the signal space, R i represents the digital signal value of the transmitting signal at the ith array element antenna, R j represents the digital signal value of the transmitting signal at the ith array element antenna, D x represents the spacing of the array antenna elements in the X-axis in the three-dimensional coordinate space, D yrepresents the spacing of the array antenna elements in the Y axis in the three-dimensional coordinate space, θ represents the transmission angle of the transmission signal, Indicates the signal receiving angle corresponding to the wave signal;
[0037] According to the digital signal, the minimum phase value of the wave signal corresponding to the preprocessed audio is calculated using the following formula:
[0038]
[0039] Among them, P min Indicates the minimum phase value, N x Represents the number of array antennas in the x-axis of the three-dimensional coordinate space of the digital signal in the signal space, M y Represents the number of array antennas in the y-axis of the three-dimensional coordinate space of the digital signal in the signal space, R i represents the digital signal value of the transmitting signal at the ith array element antenna, R j represents the digital signal value of the transmitting signal at the ith array element antenna, D x represents the spacing of the array antenna elements in the X-axis in the three-dimensional coordinate space, D y represents the spacing of the array antenna elements in the Y axis in the three-dimensional coordinate space, θ represents the transmission angle of the transmission signal, Indicates the signal receiving angle corresponding to the wave signal;
[0040] A signal extreme value of the preprocessed audio is determined according to the phase maximum value and the phase minimum value.
[0041] In a possible implementation manner of the first aspect, identifying the audio effect of the preprocessed audio based on the signal extreme value includes:
[0042] Analyzing the spatial effect of the preprocessed audio according to the signal extreme value;
[0043] Analyzing the audio balance of the preprocessed audio based on the signal extreme value;
[0044] Analyzing the audio quality of the preprocessed audio based on the signal extreme value;
[0045] An audio effect of the pre-processed audio is identified based on the spatial effect, the audio balance, and the audio quality.
[0046] In a possible implementation manner of the first aspect, analyzing the sound features of the preprocessed audio using a preconfigured deep learning model according to the audio features and the audio effect includes:
[0047] Performing vector conversion on the audio feature and the audio effect to obtain an audio feature vector and an audio effect vector;
[0048] Utilizing the convolutional network in the preconfigured deep learning model, extracting spatial features of the audio feature vector and the audio effect vector to obtain a first spatial feature and a second spatial feature;
[0049] Performing feature fusion on the first spatial feature and the second spatial feature to obtain a fused feature;
[0050] Using the labeled noise point and non-noise point data sets to perform noise point detection on the fusion feature to obtain a noise detection result;
[0051] The sound feature of the preprocessed audio is determined according to the noise detection result.
[0052] In a possible implementation of the first aspect, analyzing, based on the sound feature, the influence of different audios in the preprocessed audio on the sound quality of the sound of the vehicle to be detected to obtain a sound quality analysis result includes:
[0053] Determining the noise point position of the preprocessed audio according to the sound characteristics;
[0054] Classifying the noise levels of the noise points to obtain classified noise;
[0055] Calculate the signal-to-noise ratio of the classification noise:
[0056] According to the signal-to-noise ratio, the influence degree of different audios in the preprocessed audio on the sound quality of the car audio to be tested is determined to obtain a sound quality analysis result.
[0057] In a second aspect, the present invention provides a noise point detection system for car audio based on deep learning, the system comprising:
[0058] An audio processing module, used to deploy a microphone array in the car to be detected, so as to collect the audio sound of the car to be detected by using the microphone array, and pre-process the audio sound to obtain pre-processed audio;
[0059] A timbre feature recognition module, used to recognize a sound wave point of the preprocessed audio, calculate a sound wave angle of the preprocessed audio according to the sound wave point, calculate an audio excitation phase of the preprocessed audio according to the sound wave angle, and recognize a timbre feature of the preprocessed audio based on the audio excitation phase;
[0060] An audio effect recognition module, used to construct a signal space of the preprocessed audio, calculate the signal extreme value of the preprocessed audio after mapping the preprocessed audio into the signal space, and recognize the audio effect of the preprocessed audio based on the signal extreme value;
[0061] The noise analysis module is used to analyze the sound characteristics of the preprocessed audio according to the audio characteristics and the audio effects by using a preconfigured deep learning model, analyze the influence of different audios in the preprocessed audio on the sound quality of the automobile to be detected based on the sound characteristics, obtain a sound quality analysis result, and construct an audio noise point detection report for the automobile to be detected based on the sound quality analysis result.
[0062] Compared with the prior art, the technical principle and beneficial effects of this solution are:
[0063] In the embodiment of the present invention, a microphone array is deployed in the car to be detected, and the microphone array is used to collect the sound of the car to be detected, so as to focus on and capture the sound in a specific direction of the car, and the sound wave point of the pre-processed audio can be identified to determine the position from which each audio is emitted. Since many cars have multiple groups of audio distributed in different positions, this can avoid mutual influence, and according to the sound wave angle, the audio excitation phase of the pre-processed audio is calculated to understand the characteristics and properties of the audio signal, such as the frequency, amplitude, phase, etc. of the audio, and then analyze the quality of the audio signal. Further, the embodiment of the present invention can monitor the working state of the audio device by identifying the timbre characteristics of the pre-processed audio based on the audio excitation phase, and then help the user diagnose possible problems or abnormalities. Furthermore, the embodiment of the present invention can observe the spatial distribution of the pre-processed audio by constructing the signal space of the pre-processed audio using a mathematical model, which is convenient for analyzing the discreteness of the pre-processed audio signal, and according to the audio characteristics and the audio effect, the sound characteristics of the pre-processed audio are analyzed using a pre-configured deep learning model. The audio can be retrieved and indexed based on the sound characteristics, so as to quickly find the required audio position. If there is noise in a certain audio segment, it can be quickly located by the sound characteristics. The embodiments of the present invention provide a method and system for realizing noise point detection of automobile audio based on deep learning, which can improve the accuracy of noise point detection of automobile audio. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0065] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0066] Figure 1 A flowchart of a method for realizing noise point detection of car audio based on deep learning provided by one embodiment of the present invention;
[0067] Figure 2 A module schematic diagram of a noise point detection system for car audio based on deep learning provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0068] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0069] The embodiment of the present invention provides a method for detecting noise points of car audio based on deep learning. The execution subject of the method for detecting noise points of car audio based on deep learning includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present invention. In other words, the method for detecting noise points of car audio based on deep learning can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms.
[0070] See also Figure 1 FIG. 1 is a flow chart of a method for realizing noise point detection of car audio based on deep learning provided by an embodiment of the present invention. Figure 1 A method for detecting noise points in car audio based on deep learning described in the paper includes:
[0071] S1. Deploy a microphone array in a car to be detected, collect the audio sound of the car to be detected by using the microphone array, and pre-process the audio sound to obtain pre-processed audio.
[0072] The embodiment of the present invention can focus and capture the sound of a specific direction of the car by deploying a microphone array in the car to be detected, so as to collect the sound of the car to be detected by using the microphone array. The microphone array refers to an array composed of a certain number of microphones. The car to be detected refers to a car waiting for sound detection, such as a sedan waiting for sound detection, a truck waiting for sound detection, etc.
[0073] As an embodiment of the present invention, the method of deploying a microphone array in the car to be detected to collect the sound of the car to be detected by using the microphone array includes: deploying a microphone array at the center of the car to be detected, connecting the microphone array to the sound of the car to be detected, calibrating the microphone array to obtain a calibration device, and after setting the sound parameters of the car to be detected, collecting the sound of the car to be detected by using the calibration device. The sampling parameters include sampling rate, resolution and other parameters.
[0074] Optionally, the microphone array is calibrated by adjusting the consistency and accuracy of each channel of the microphone array until sampling requirements are met.
[0075] Furthermore, the embodiment of the present invention can improve the quality of the collected audio and reduce the influence of external sounds by preprocessing the acoustic sound to obtain preprocessed audio.
[0076] As an embodiment of the present invention, the preprocessing of the audio sound to obtain preprocessed audio includes: filtering the preprocessed audio to obtain filtered audio, denoising the filtered audio to obtain denoised audio, channel separation of the denoised audio to obtain separated audio, format conversion of the separated audio to obtain converted audio, and segmentation processing of the converted audio to obtain preprocessed audio.
[0077] Among them, in the present invention, the filtering processing of the pre-processed audio can be understood as performing a frequency component filtering operation on the pre-processed audio, which can be achieved through a filtering function, such as a wavelet function. The denoising processing of the filtered audio refers to reducing the impact of audio noise, which can be achieved through a Fourier function. The channel separation of the denoised audio refers to separating multi-channel audio into single sounds, which can be separated through Python's audio processing library. The format conversion of the separated audio refers to converting the separated audio into a specific audio format, which can be converted through an Audio tool. The segmentation processing of the converted audio refers to dividing the audio into smaller segments, which can be achieved through the audio framing tool operation constructed in java.
[0078] S2. Identify the sound wave point of the preprocessed audio, calculate the sound wave angle of the preprocessed audio based on the sound wave point, calculate the audio excitation phase of the preprocessed audio based on the sound wave angle, and identify the timbre characteristics of the preprocessed audio based on the audio excitation phase.
[0079] In the embodiment of the present invention, by identifying the sound emission point of the pre-processed audio, it is possible to determine the position from which each audio is emitted. Since many cars have multiple sets of speakers distributed in different positions, this can avoid mutual influence. The sound emission point refers to the position point where the audio sound is emitted. Optionally, the sound emission point can be identified by a signal receiver, such as a car audio receiver.
[0080] Furthermore, the embodiment of the present invention can understand the signal distribution of the preprocessed audio by calculating the sound wave angle of the preprocessed audio according to the sound wave point.
[0081] As an embodiment of the present invention, calculating the sound wave transmission angle of the preprocessed audio according to the sound wave transmission point includes: constructing the two-dimensional coordinates of the sound wave transmission point, and querying the microphone array corresponding to the sound wave transmission point, taking the microphone array as the coordinate origin of the two-dimensional coordinates, constructing a rectangular coordinate system of the wave transmission point with the coordinate origin as the center, connecting the sound wave transmission point with the coordinate origin in the two-dimensional coordinates to obtain a wave transmission line, calculating the angle between the wave transmission line and the horizontal axis in the rectangular coordinate system, and obtaining the sound wave transmission angle.
[0082] The two-dimensional coordinates refer to a method of determining the position of a point on a plane. It consists of two values, usually expressed as (x, y), where x represents the position of the point on the horizontal axis and y represents the position of the point on the vertical axis.
[0083] In the embodiment of the present invention, by calculating the audio excitation phase of the preprocessed audio according to the sound wave angle, the characteristics and properties of the audio signal, such as the frequency, amplitude, phase, etc. of the audio, can be understood, and the quality of the audio signal can be analyzed. The audio excitation phase refers to the phase angle of the excitation signal.
[0084] As an embodiment of the present invention, the calculating the audio excitation phase of the preprocessed audio according to the sound wave transmission angle includes: constructing a rectangular waveguide for the preprocessed audio according to the sound wave transmission angle, distributing the preprocessed audio in the rectangular waveguide, and calculating the excitation phase of the preprocessed audio using the following formula:
[0085]
[0086] Wherein, ω represents the audio excitation phase, e represents the vacuum dielectric constant of the wave signal corresponding to the preprocessed audio, ρ represents the vacuum magnetic permeability of the wave signal corresponding to the preprocessed audio, A, B, and C represent the length, width, and height of the rectangle in the rectangular waveguide, respectively, a represents the signal strength of the wave signal at the A side of the rectangular waveguide, b represents the signal strength of the wave signal at the B side of the rectangular waveguide, and c represents the signal strength of the wave signal at the C side of the rectangular waveguide;
[0087] The rectangular waveguide refers to a rectangular space used to reflect the magnetic field distribution of a signal.
[0088] Optionally, constructing the rectangular waveguide for preprocessing the audio according to the sound wave transmission angle is achieved by designing the size of the rectangular waveguide (such as width, height and length) of the preprocessed audio according to the sound wave transmission angle and the required operating frequency using cst studio software, and the wave transmission signal is distributed in the rectangular waveguide through a signal filter, such as a low-pass filter.
[0089] Furthermore, the embodiments of the present invention can monitor the working status of the audio device corresponding to the preprocessed audio by identifying the timbre characteristics of the preprocessed audio based on the audio excitation phase, thereby helping the user to diagnose problems or abnormalities in the audio device.
[0090] As an embodiment of the present invention, identifying the timbre characteristics of the preprocessed audio based on the audio excitation phase includes: constructing a spectrum of the preprocessed audio based on the audio excitation phase, identifying frequency components and harmonic structure in the spectrum, analyzing the timbre differences of the preprocessed audio according to the frequency components and the harmonic structure, and determining the timbre characteristics of the preprocessed audio based on the timbre differences.
[0091] Among them, the frequency component refers to the components of different frequencies in the signal, the harmonic structure refers to the composition and distribution of the harmonics contained in the signal, and the timbre difference refers to the difference between different sounds in terms of sound quality, pitch and sound intensity.
[0092] Optionally, the spectrum of the preprocessed audio can be constructed by combining a spectrum function with the audio excitation phase, the frequency components and the harmonic structure can be obtained by querying the signal distribution in the spectrum, the analysis of the timbre differences of the preprocessed audio based on the frequency components and the harmonic structure can be described and analyzed by using a mathematical model, and the determination of the timbre characteristics of the preprocessed audio based on the timbre differences can identify the sound quality changes of the preprocessed audio based on the timbre differences, such as the onset and attenuation characteristics of the sound.
[0093] S3. Construct a signal space of the preprocessed audio, map the preprocessed audio into the signal space, calculate the signal extreme value of the preprocessed audio, and identify the audio effect of the preprocessed audio based on the signal extreme value.
[0094] The embodiment of the present invention can facilitate the analysis of the discreteness of the signal in the preprocessed audio by constructing the signal space of the preprocessed audio.
[0095] The signal space refers to an abstract mathematical space used to describe and analyze the signal in the preprocessed audio, which can be obtained by performing some transformation on the signal, such as Fourier transform, wavelet transform, etc., and mapping it to a specific signal space.
[0096] Furthermore, in the embodiment of the present invention, after mapping the pre-processed audio into the signal space, the signal extreme value of the pre-processed audio is calculated to understand the characteristics and changes of the audio signal, and then detect the abnormality of the audio signal.
[0097] As an embodiment of the present invention, after mapping the preprocessed audio into the signal space, calculating the signal extreme value of the preprocessed audio includes: mapping the preprocessed audio into the signal space to obtain a digital signal, and calculating the phase maximum value of the wave signal corresponding to the preprocessed audio using the following formula according to the digital signal:
[0098]
[0099] Among them, P max Indicates the maximum phase value, N x Represents the number of array antennas in the x-axis of the three-dimensional coordinate space of the digital signal in the signal space, M y Represents the number of array antennas in the y-axis of the three-dimensional coordinate space of the digital signal in the signal space, R i represents the digital signal value of the transmitting signal at the ith array element antenna, R j represents the digital signal value of the transmitting signal at the ith array element antenna, D x represents the spacing of the array antenna elements in the X-axis in the three-dimensional coordinate space, D y represents the spacing of the array antenna elements in the Y axis in the three-dimensional coordinate space, θ represents the transmission angle of the transmission signal, Indicates the signal receiving angle corresponding to the wave signal;
[0100] According to the digital signal, the minimum phase value of the wave signal corresponding to the preprocessed audio is calculated using the following formula:
[0101]
[0102] Among them, P min Indicates the minimum phase value, N x Represents the number of array antennas in the x-axis of the three-dimensional coordinate space of the digital signal in the signal space, M y Represents the number of array antennas in the y-axis of the three-dimensional coordinate space of the digital signal in the signal space, R i represents the digital signal value of the transmitting signal at the ith array element antenna, R j represents the digital signal value of the transmitting signal at the ith array element antenna, D x represents the spacing of the array antenna elements in the X-axis in the three-dimensional coordinate space, D y represents the spacing of the array antenna elements in the Y axis in the three-dimensional coordinate space, θ represents the transmission angle of the transmission signal, Indicates the signal receiving angle corresponding to the wave signal;
[0103] A signal extreme value of the preprocessed audio is determined according to the phase maximum value and the phase minimum value.
[0104] The array element antenna refers to the basic component unit of the signal receiver.
[0105] The embodiment of the present invention can identify the audio effect of the preprocessed audio based on the signal extreme value, take corresponding repair measures to restore the audio quality of the damaged or defective audio file, and identify whether there is noise in the audio.
[0106] As an embodiment of the present invention, identifying the audio effect of the preprocessed audio based on the signal extreme values includes: analyzing the spatial effect of the preprocessed audio according to the signal extreme values, analyzing the audio balance of the preprocessed audio based on the signal extreme values, analyzing the audio quality of the preprocessed audio based on the signal extreme values, and identifying the audio effect of the preprocessed audio according to the spatial effect, the audio balance and the audio quality.
[0107] Among them, the spatial effect refers to the three-dimensional and broad feeling of the sound, the audio balance refers to the energy distribution of the sound at different frequencies, and the audio quality refers to an indicator for evaluating the audio quality, such as whether there is distortion, interference or other quality problems.
[0108] Optionally, the spatial effect of the preprocessed audio is analyzed according to the signal extreme values, by analyzing the phase consistency of the preprocessed audio, that is, calculating whether the signal extreme values are within a reasonable range. For example, audio with better phase consistency usually sounds more natural and clear. For example, if the signal extreme values are in the range of 2 to 5, it means that the phase consistency is better. The audio balance of the preprocessed audio is analyzed based on the signal extreme values by analyzing whether the energy distribution of the preprocessed audio at the frequency is uniform. The audio quality of the preprocessed audio is analyzed based on the signal extreme values by analyzing the mixing, equalization and delay effects of the preprocessed audio by the signal extreme values. If the difference of the signal extreme values is small, the mixing, equalization and delay effects are high, and the audio quality is high.
[0109] S4. Analyze the sound features of the preprocessed audio using a preconfigured deep learning model according to the audio features and the audio effects; analyze the degree of influence of different audios in the preprocessed audio on the sound quality of the vehicle to be tested based on the sound features to obtain a sound quality analysis result; and construct an audio noise point detection report for the vehicle to be tested based on the sound quality analysis result.
[0110] The embodiment of the present invention can retrieve and index the audio based on the sound features by analyzing the sound features of the preprocessed audio using a preconfigured deep learning model according to the audio features and the audio effects, so as to facilitate and quickly find the required audio position. For example, if there is noise in a certain audio segment, it can be quickly located through the sound features.
[0111] As an embodiment of the present invention, the method of analyzing the sound features of the preprocessed audio according to the audio features and the audio effects using a preconfigured deep learning model includes: performing vector conversion on the audio features and the audio effects to obtain an audio feature vector and an audio effect vector, extracting spatial features of the audio feature vector and the audio effect vector using a convolutional network in the preconfigured deep learning model to obtain a first spatial feature and a second spatial feature, performing feature fusion on the first spatial feature and the second spatial feature to obtain a fused feature, performing noise point detection on the fused feature using a labeled noise point and non-noise point data set to obtain a noise detection result, and determining the sound features of the preprocessed audio according to the noise detection result.
[0112] Optionally, the audio features and the audio effects are vectorized to obtain audio feature vectors and audio effect vectors, which are converted through a vector matrix; the first spatial features and the second spatial features are feature fused to obtain fused features, which are fused through a global average pooling function in the preconfigured deep learning model; the fused features are subjected to noise point detection using labeled noise point and non-noise point data sets, and the noise detection results are obtained by inputting the labeled noise point and non-noise point data into a CNN network in the preconfigured deep learning model for real-time data analysis.
[0113] The embodiment of the present invention analyzes the degree of influence of different audios in the pre-processed audio on the sound quality of the audio of the car to be tested based on the sound characteristics, and obtains the sound quality analysis result to understand which specific frequency band of the pre-processed audio has noise, so as to facilitate subsequent repair of the car audio.
[0114] As an embodiment of the present invention, the analyzing, based on the sound features, the influence of different audios in the preprocessed audio on the sound quality of the car to be detected to obtain a sound quality analysis result includes: determining the noise points of the preprocessed audio according to the sound features, classifying the noise levels of the noise points to obtain classified noise, and calculating the signal-to-noise ratio of the classified noise:
[0115] According to the signal-to-noise ratio, the influence degree of different audios in the preprocessed audio on the sound quality of the car audio to be detected is determined to obtain a sound quality analysis result.
[0116] Further, as another optional embodiment of the present invention, the calculating the signal-to-noise ratio of the classification noise includes: calculating the signal-to-noise ratio of the classification noise using the following formula:
[0117]
[0118] Where SNR is the signal-to-noise ratio, Z ip represents the signal power of the i-th type of noise in the classification noise, Z is represents the noise power of the i-th type of noise in the classification noise;
[0119] Optionally, the noise points of the preprocessed audio are determined according to the sound features by identifying the frequency frames corresponding to the noise features in the sound features, the noise levels of the noise points are classified to obtain classified noise, and the classified noise is classified according to the feature categories of the noise features, and the influence of different audios in the preprocessed audio on the sound quality of the car audio to be tested is determined according to the signal-to-noise ratio by analyzing the calculation result of the signal-to-noise ratio, such as the signal-to-noise ratio calculation result of 0.1-0.2 indicates a small influence, the signal-to-noise ratio calculation result of 0.3-0.6 indicates a general influence, and the signal-to-noise ratio calculation result of 0.7-0.9 indicates a large influence. It can also be set according to the actual application scenario, and the analysis result of the influence degree is used as the final sound quality analysis result.
[0120] The embodiment of the present invention constructs the audio noise point detection report of the automobile to be detected based on the sound quality analysis result, so as to understand the final result, detection process and detection data of the automobile audio noise point detection, and provide an analysis basis for the subsequent automobile audio noise analysis.
[0121] like Figure 2 As shown, it is a functional module diagram of a noise point detection system for car audio based on deep learning according to the present invention.
[0122] The noise point detection system 200 for car audio based on deep learning described in the present invention can be installed in an electronic device. According to the functions implemented, the noise point detection system for car audio based on deep learning can include an audio processing module 201, a timbre feature recognition module 202, an audio effect recognition module 203 and a noise analysis module 204. The module described in the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.
[0123] In the embodiment of the present invention, the functions of each module / unit are as follows:
[0124] The audio processing module 201 is used to deploy a microphone array in the car to be detected, so as to collect the sound of the car to be detected by using the microphone array, and pre-process the sound to obtain pre-processed audio;
[0125] The timbre feature recognition module 202 is used to recognize the sound wave point of the pre-processed audio, calculate the sound wave angle of the pre-processed audio according to the sound wave point, calculate the audio excitation phase of the pre-processed audio according to the sound wave angle, and recognize the timbre feature of the pre-processed audio based on the audio excitation phase;
[0126] The audio effect recognition module 203 is used to construct a signal space of the preprocessed audio, calculate the signal extreme value of the preprocessed audio after mapping the preprocessed audio to the signal space, and recognize the audio effect of the preprocessed audio based on the signal extreme value;
[0127] The noise analysis module 204 is used to analyze the sound features of the preprocessed audio using a preconfigured deep learning model according to the audio features and the audio effects, analyze the degree of influence of different audios in the preprocessed audio on the sound quality of the automobile to be detected based on the sound features, obtain sound quality analysis results, and construct an audio noise point detection report for the automobile to be detected based on the sound quality analysis results.
[0128] In detail, the modules in the noise point detection system 200 for car audio based on deep learning described in the embodiment of the present invention are used in the same manner as described above. Figure 1 The same technical means as described in the method for realizing noise point detection of car audio based on deep learning can produce the same technical effect, which will not be repeated here.
[0129] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0130] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.
Claims
1. A method for detecting noise points in car audio based on deep learning, characterized in that: The method comprises: Deploy a microphone array in the vehicle to be detected, so as to collect the sound of the vehicle to be detected by using the microphone array, and pre-process the sound to obtain pre-processed audio; Identify the sound wave point of the preprocessed audio, calculate the sound wave angle of the preprocessed audio according to the sound wave point, calculate the audio excitation phase of the preprocessed audio according to the sound wave angle, and identify the timbre characteristics of the preprocessed audio based on the audio excitation phase; Constructing a signal space of the preprocessed audio, after mapping the preprocessed audio into the signal space, calculating the signal extreme value of the preprocessed audio, and identifying the audio effect of the preprocessed audio based on the signal extreme value; According to the audio features and the audio effects, a preconfigured deep learning model is used to analyze the sound features of the preprocessed audio. Based on the sound features, the degree of influence of different audios in the preprocessed audio on the sound quality of the audio of the car to be tested is analyzed to obtain a sound quality analysis result. Based on the sound quality analysis result, an audio noise point detection report of the car to be tested is constructed.
2. The method according to claim 1, characterized in that The preprocessing of the sound to obtain preprocessed audio includes: Performing filtering on the preprocessed audio to obtain filtered audio; Performing denoising on the filtered audio to obtain a denoised audio frequency; Performing channel separation on the denoised audio to obtain separated audio; Performing format conversion on the separated audio to obtain converted audio; The converted audio is processed in sections to obtain preprocessed audio.
3. The method according to claim 1, characterized in that The step of calculating the sound wave angle of the preprocessed audio according to the sound wave point includes: Constructing the two-dimensional coordinates of the sound wave point, and querying the microphone array corresponding to the sound wave point; Using the microphone array as the coordinate origin of the two-dimensional coordinates; Constructing a rectangular coordinate system of the wave-generating point with the coordinate origin as the center; Connecting the sound wave-generating point with the coordinate origin in the two-dimensional coordinates to obtain a wave-generating straight line; The angle between the wave emission straight line and the horizontal axis in the rectangular coordinate system is calculated to obtain the sound wave emission angle.
4. The method according to claim 1, characterized in that: The step of calculating the audio excitation phase of the preprocessed audio according to the sound wave emission angle includes: Constructing a rectangular waveguide for preprocessing the audio according to the sound wave emission angle; After the pre-processed audio is distributed in the rectangular waveguide, the audio excitation phase of the pre-processed audio is calculated using the following formula: Among them, ω represents the audio excitation phase, e represents the vacuum dielectric constant of the wave signal corresponding to the preprocessed audio, ρ represents the vacuum magnetic permeability of the wave signal corresponding to the preprocessed audio, A, B, C represent the length, width and height of the rectangular waveguide respectively, a represents the signal strength of the wave signal on the A side of the rectangular waveguide, b represents the signal strength of the wave signal on the B side of the rectangular waveguide, and c represents the signal strength of the wave signal on the C side of the rectangular waveguide.
5. The method according to claim 1, characterized in that The step of identifying the timbre characteristics of the preprocessed audio based on the audio excitation phase includes: constructing a frequency spectrum of the preprocessed audio based on the audio excitation phase; identifying frequency content and harmonic structure in the spectrum; Analyzing the timbre difference of the preprocessed audio according to the frequency components and the harmonic structure; A timbre feature of the preprocessed audio is determined based on the timbre difference.
6. The method according to claim 1, characterized in that After mapping the preprocessed audio to the signal space, calculating the signal extreme value of the preprocessed audio includes: Mapping the preprocessed audio into the signal space to obtain a digital signal; According to the digital signal, the maximum phase value of the wave signal corresponding to the preprocessed audio is calculated using the following formula: Among them, P max Indicates the maximum phase value, N x Represents the number of array antennas in the x-axis of the three-dimensional coordinate space of the digital signal in the signal space, M y Represents the number of array antennas in the y-axis of the three-dimensional coordinate space of the digital signal in the signal space, R i represents the digital signal value of the transmitting signal at the ith array element antenna, R j represents the digital signal value of the transmitting signal at the ith array element antenna, D x represents the spacing of the array antenna elements in the X-axis in the three-dimensional coordinate space, D y represents the spacing of the array antenna elements in the Y axis in the three-dimensional coordinate space, θ represents the transmission angle of the transmission signal, Indicates the signal receiving angle corresponding to the transmitting signal; According to the digital signal, the minimum phase value of the wave signal corresponding to the preprocessed audio is calculated using the following formula: Among them, P min Indicates the minimum phase value, N x Represents the number of array antennas in the x-axis of the three-dimensional coordinate space of the digital signal in the signal space, M y Represents the number of array antennas in the y-axis of the three-dimensional coordinate space of the digital signal in the signal space, R i represents the digital signal value of the transmitting signal at the ith array element antenna, R j represents the digital signal value of the transmitting signal at the ith array element antenna, D x represents the spacing of the array antenna elements in the X-axis in the three-dimensional coordinate space, D y represents the spacing of the array antenna elements in the Y axis in the three-dimensional coordinate space, θ represents the transmission angle of the transmission signal, Indicates the signal receiving angle corresponding to the transmitting signal; A signal extreme value of the preprocessed audio is determined according to the phase maximum value and the phase minimum value.
7. The method according to claim 1, characterized in that The step of identifying the audio effect of the preprocessed audio based on the signal extreme value comprises: Analyzing the spatial effect of the preprocessed audio according to the signal extreme value; Analyzing the audio balance of the preprocessed audio based on the signal extreme value; Analyzing the audio quality of the preprocessed audio based on the signal extreme value; An audio effect of the pre-processed audio is identified based on the spatial effect, the audio balance, and the audio quality.
8. The method according to claim 1, characterized in that The analyzing the sound features of the preprocessed audio using a preconfigured deep learning model according to the audio features and the audio effect includes: Performing vector conversion on the audio feature and the audio effect to obtain an audio feature vector and an audio effect vector; Utilizing the convolutional network in the preconfigured deep learning model, extracting spatial features of the audio feature vector and the audio effect vector to obtain a first spatial feature and a second spatial feature; Performing feature fusion on the first spatial feature and the second spatial feature to obtain a fused feature; Using the labeled noise point and non-noise point data sets to perform noise point detection on the fusion feature to obtain a noise detection result; The sound feature of the preprocessed audio is determined according to the noise detection result.
9. The method according to claim 1, characterized in that: The step of analyzing the influence of different audios in the preprocessed audio on the sound quality of the vehicle to be tested based on the sound features to obtain a sound quality analysis result includes: Determining the noise point position of the preprocessed audio according to the sound characteristics; Classifying the noise levels of the noise points to obtain classified noise; Calculate the signal-to-noise ratio of the classification noise: According to the signal-to-noise ratio, the influence degree of different audios in the preprocessed audio on the sound quality of the car audio to be tested is determined to obtain a sound quality analysis result.
10. A noise point detection system for car audio based on deep learning, characterized in that: The system comprises: An audio processing module, used to deploy a microphone array in the car to be detected, so as to collect the audio sound of the car to be detected by using the microphone array, and pre-process the audio sound to obtain pre-processed audio; A timbre feature recognition module, used to recognize a sound wave point of the preprocessed audio, calculate a sound wave angle of the preprocessed audio according to the sound wave point, calculate an audio excitation phase of the preprocessed audio according to the sound wave angle, and recognize a timbre feature of the preprocessed audio based on the audio excitation phase; An audio effect recognition module, used to construct a signal space of the preprocessed audio, calculate the signal extreme value of the preprocessed audio after mapping the preprocessed audio into the signal space, and recognize the audio effect of the preprocessed audio based on the signal extreme value; The noise analysis module is used to analyze the sound characteristics of the preprocessed audio according to the audio characteristics and the audio effects by using a preconfigured deep learning model, analyze the influence of different audios in the preprocessed audio on the sound quality of the automobile to be detected based on the sound characteristics, obtain a sound quality analysis result, and construct an audio noise point detection report for the automobile to be detected based on the sound quality analysis result.
