Vehicle door closing sound quality evaluation method and system
Through MFCC data processing and DTW algorithm, combined with the door closing sound quality calibration data, the car door closing sound quality score value is calculated, which solves the problem of large data sample requirements and insufficient accuracy in the traditional evaluation method, and achieves efficient and accurate car door closing sound quality. evaluate.
Patent Information
- Application Number
- CN202111536959.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-15
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-12-15
AI Technical Summary
The traditional car door closing sound quality evaluation method requires multiple independent evaluation parameters. The process is cumbersome and affected by subjective judgment and data samples, resulting in insufficient accuracy and reliability.
Using MFCC data processing combined with door-closing sound quality calibration data, Mel filtering and DTW algorithms are used to calculate door-closing sound quality scores, reducing the need for data samples and improving the accuracy and reliability of the evaluation.
On the premise of ensuring accuracy and reliability, the cost is reduced, the operation is simplified, and the demand for quality evaluation of car door closing sound is met. Few data samples are required, and the evaluation can be carried out quickly and effectively.
Smart Images

Figure CN114220455B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile testing technology, and in particular to a method and system for evaluating the quality of vehicle door closing sound. Background Art
[0002] With the development of the times, people's awareness of quality is getting stronger and stronger. In the field of automobile consumption, the quality of the door closing sound is one of the important indicators for judging the grade of the car. People are paying more and more attention to the quality of the door closing sound, and major automobile manufacturers are also making every effort to improve the quality of the door closing sound.
[0003] At present, the evaluation of the door closing sound quality is a comprehensive evaluation using several evaluation parameters of sound quality, such as loudness, sharpness, roughness, and shake. However, the traditional comprehensive evaluation method requires many evaluation parameters, and the mutual independence between the evaluation parameters is poor. The evaluation process is cumbersome and requires a large number of data samples, resulting in a large workload. The final evaluation result is greatly affected by subjective judgment and data samples, and has certain defects in accuracy and reliability.
[0004] Therefore, in order to meet the usage requirements, a vehicle door closing sound quality evaluation technology is now provided. Summary of the invention
[0005] The present application provides a vehicle door closing sound quality evaluation method and system, which requires fewer data samples, performs data processing on the vehicle door closing sound signal, obtains corresponding MFCC data, and evaluates the door closing sound quality in combination with the door closing sound quality calibration data. On the premise of ensuring accuracy and reliability, the method and system are low in cost and easy to operate, and can meet the current door closing sound quality evaluation needs.
[0006] In a first aspect, the present application provides a method for evaluating the quality of a vehicle door closing sound, the method comprising the following steps:
[0007] Acquire a vehicle door closing sound signal of the vehicle to be evaluated, and intercept and obtain the first door closing sound signal in the process from the door starting to rotate to the door being completely closed;
[0008] Preprocessing the first door closing sound signal, and performing spectrum analysis on the preprocessed first door closing sound signal to obtain energy spectrum data corresponding to the first door closing sound signal;
[0009] Performing Mel filtering on the energy spectrum data, and calculating and obtaining MFCC data of the vehicle to be evaluated based on the energy spectrum data after the Mel filtering;
[0010] Based on the preset door closing sound quality calibration data and the MFCC data of the vehicle to be evaluated, a door closing sound quality score value corresponding to the vehicle to be evaluated is calculated.
[0011] Specifically, the preprocessing of the first door closing sound signal includes the following steps:
[0012] The first door closing sound signal is framed and windowed to obtain the preprocessed first door closing sound information.
[0013] Specifically, the Mel filtering of the energy spectrum data includes the following steps:
[0014] Calculate and obtain the Mel triangle filter group data corresponding to the preset Mel triangle filter;
[0015] The energy spectrum data is Mel-filtered by using the Mel-triangle filter, and the energy spectrum data after being filtered by the Mel-triangle filter is calculated based on the Mel-triangle filter group data and the energy spectrum data.
[0016] Specifically, the step of calculating and obtaining the MFCC data of the vehicle to be evaluated based on the energy spectrum data after Mel filtering includes the following steps:
[0017] The energy spectrum data after Mel filtering is logarithmically processed and discrete cosine transformed to obtain the MFCC data of the vehicle to be evaluated.
[0018] Furthermore, before calculating the door closing sound quality score corresponding to the vehicle to be evaluated based on the preset door closing sound quality calibration data and the MFCC data of the vehicle to be evaluated, the method includes the following steps:
[0019] At least two vehicles for calibration with different door closing sound qualities are selected, and vehicle door closing sound signals for calibration are collected, and corresponding door closing sound quality score values are assigned to the vehicle door closing sound signals for calibration;
[0020] Based on the vehicle door closing sound signal used for calibrating the vehicle, obtaining the MFCC data used for calibrating the vehicle;
[0021] Matrix processing is performed based on the MFCC data used to calibrate the vehicle to obtain the corresponding door closing sound quality calibration data.
[0022] Specifically, the step of calculating the door closing sound quality score corresponding to the vehicle to be evaluated based on the preset door closing sound quality calibration data and the MFCC data of the vehicle to be evaluated includes the following steps:
[0023] Based on the door closing sound quality calibration data, calculating the distance between the MFCC data used to represent different vehicles for calibration, and obtaining corresponding vehicle door closing sound quality characteristic distance data;
[0024] Based on the vehicle door closing sound quality characteristic distance data, using DTW to calculate different vehicle door closing sound quality characteristic matching matrices for calibrating vehicles, and obtaining all vehicle door closing sound quality total distance data for calibrating vehicles;
[0025] Based on the MFCC data of the vehicle to be evaluated and the MFCC data for calibrating the vehicle, calculating and obtaining vehicle door closing sound quality characteristic distance data between the vehicle to be evaluated and different vehicles for calibration;
[0026] Based on the vehicle door closing sound quality characteristic distance data, DTW is used to calculate the vehicle door closing sound quality characteristic matching matrix between the vehicle to be evaluated and different vehicles used for calibration, and the total vehicle door closing sound quality distance data between the vehicle to be evaluated and all the vehicles used for calibration are obtained;
[0027] The door closing sound quality score value of the vehicle to be evaluated is calculated based on the total vehicle door closing sound quality distance data between the vehicle to be evaluated and all the vehicles used for calibration, the total vehicle door closing sound quality distance data of all the vehicles used for calibration, and the preset door closing sound quality score values corresponding to the vehicles used for calibration.
[0028] Preferably, the vehicle door closing sound signal is collected in a preset soundproof room.
[0029] In a second aspect, the present application provides a vehicle door closing sound quality evaluation system, the system comprising:
[0030] A sound collection unit, which is used to collect and obtain a vehicle door closing sound signal of the vehicle to be evaluated, and intercept and obtain a first door closing sound signal in the process from the door starting to rotate to the door being completely closed;
[0031] a spectrum analysis unit, configured to preprocess the first door closing sound signal, and perform spectrum analysis on the preprocessed first door closing sound signal to obtain energy spectrum data corresponding to the first door closing sound signal;
[0032] A first data processing unit, which is used to perform Mel filtering on the energy spectrum data, and calculate and obtain MFCC data of the vehicle to be evaluated based on the energy spectrum data after Mel filtering;
[0033] The quality evaluation unit is used to calculate and obtain a door closing sound quality score value corresponding to the vehicle to be evaluated based on preset door closing sound quality calibration data and the MFCC data of the vehicle to be evaluated.
[0034] Furthermore, the system also includes:
[0035] An evaluation and calibration unit, which is used to select at least two vehicles for calibration whose door closing sound quality is different, collect vehicle door closing sound signals for calibration vehicles, and assign corresponding door closing sound quality score values to the vehicle door closing sound signals for calibration vehicles;
[0036] The first data processing unit is further used to obtain the MFCC data for calibrating the vehicle based on the vehicle door closing sound signal for calibrating the vehicle;
[0037] The system also includes a second data processing unit, which is used to perform matrix processing based on the MFCC data used to calibrate the vehicle to obtain corresponding door closing sound quality calibration data.
[0038] Furthermore, the system also includes:
[0039] A characteristic distance processing unit, which is used to calculate the distance between the MFCC data used to calibrate different vehicles based on the door closing sound quality calibration data, and obtain corresponding vehicle door closing sound quality characteristic distance data;
[0040] The characteristic distance processing unit is further used to calculate different vehicle door closing sound quality characteristic matching matrices for calibrating vehicles by using DTW based on the vehicle door closing sound quality characteristic distance data, and obtain all vehicle door closing sound quality total distance data for calibrating vehicles;
[0041] The characteristic distance processing unit is further used to calculate and obtain vehicle door closing sound quality characteristic distance data between the vehicle to be evaluated and different vehicles for calibration based on the MFCC data of the vehicle to be evaluated and the MFCC data for calibrating the vehicle;
[0042] The characteristic distance processing unit is further used to calculate the vehicle door closing sound quality characteristic matching matrix between the vehicle to be evaluated and different vehicles used for calibration by using DTW based on the vehicle door closing sound quality characteristic distance data, and obtain the vehicle door closing sound quality total distance data between the vehicle to be evaluated and all the vehicles used for calibration;
[0043] The quality evaluation unit is further used to calculate the door closing sound quality score value of the vehicle to be evaluated based on the total vehicle door closing sound quality distance data between the vehicle to be evaluated and all the vehicles used for calibration, the total vehicle door closing sound quality distance data of all the vehicles used for calibration, and the preset door closing sound quality score values corresponding to the vehicles used for calibration.
[0044] The beneficial effects of the technical solution provided by this application include:
[0045] This application requires fewer data samples. The vehicle door closing sound signal is processed to obtain the corresponding MFCC data, and the door closing sound quality is evaluated in combination with the door closing sound quality calibration data. Under the premise of ensuring accuracy and reliability, it is low-cost and easy to operate, and can meet the current door closing sound quality evaluation needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Terminology explanation:
[0047] MFCC: Mel Frequency Cepstrum Coefficient, Mel Frequency Cepstrum Coefficient;
[0048] DTW: Dynamic Time Warping.
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0050] Figure 1 A flowchart of the steps of the vehicle door closing sound quality evaluation method provided in an embodiment of the present application;
[0051] Figure 2 A schematic diagram of a vehicle door closing sound quality evaluation method provided in an embodiment of the present application;
[0052] Figure 3 Another schematic diagram of the vehicle door closing sound quality evaluation method provided in the embodiment of the present application;
[0053] Figure 4 A structural block diagram of a vehicle door closing sound quality evaluation system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0055] The embodiments of the present application are further described in detail below in conjunction with the accompanying drawings.
[0056] The embodiment of the present application provides a vehicle door closing sound quality evaluation method and system, which requires fewer data samples, performs data processing on the vehicle door closing sound signal, obtains corresponding MFCC data, and performs door closing sound quality evaluation in combination with door closing sound quality calibration data. Under the premise of ensuring accuracy and reliability, the method and system are low-cost and easy to operate, and can meet the current door closing sound quality evaluation needs.
[0057] In order to achieve the above technical effects, the overall idea of this application is as follows:
[0058] A method for evaluating the quality of vehicle door closing sound, the method comprising the following steps:
[0059] S1. Acquire a door closing sound signal of the vehicle to be evaluated, and intercept and obtain the first door closing sound signal from the beginning of the door rotation to the complete closing of the door;
[0060] S2, preprocessing the first door closing sound signal, and performing spectrum analysis on the preprocessed first door closing sound signal to obtain energy spectrum data corresponding to the first door closing sound signal;
[0061] S3, performing Mel filtering on the energy spectrum data, and calculating and obtaining the MFCC data of the vehicle to be evaluated based on the energy spectrum data after Mel filtering;
[0062] S4. Based on the preset door closing sound quality calibration data and the MFCC data of the vehicle to be evaluated, a door closing sound quality score value corresponding to the vehicle to be evaluated is calculated.
[0063] The embodiments of the present application are further described in detail below in conjunction with the accompanying drawings.
[0064] First, see Figures 1 to 3 As shown, the embodiment of the present application provides a method for evaluating the quality of vehicle door closing sound, the method comprising the following steps:
[0065] S1. Acquire a door closing sound signal of the vehicle to be evaluated, and intercept and obtain the first door closing sound signal from the beginning of the door rotation to the complete closing of the door;
[0066] S2, preprocessing the first door closing sound signal, and performing spectrum analysis on the preprocessed first door closing sound signal to obtain energy spectrum data corresponding to the first door closing sound signal;
[0067] S3, performing Mel filtering on the energy spectrum data, and calculating and obtaining the MFCC data of the vehicle to be evaluated based on the energy spectrum data after Mel filtering;
[0068] S4. Based on the preset door closing sound quality calibration data and the MFCC data of the vehicle to be evaluated, a door closing sound quality score value corresponding to the vehicle to be evaluated is calculated.
[0069] The technical solution of the embodiment of the present application requires fewer data samples, performs data processing on the vehicle door closing sound signal, obtains the corresponding MFCC data, and evaluates the door closing sound quality in combination with the door closing sound quality calibration data. While ensuring accuracy and reliability, it is low-cost and easy to operate, and can meet the current door closing sound quality evaluation needs.
[0070] Step S1 of the vehicle door closing sound quality evaluation method is implemented as follows:
[0071] S101, collecting the noise signal during the entire door closing process, with a sampling frequency of 20000 Hz, assuming that the collected signal is {S0(n0)};
[0072] The above data collection environment and conditions should be consistent and must be collected in a quiet environment, preferably in an anechoic room.
[0073] S102, intercepting the signal {S0(n0)};
[0074] The signal {S0(n0)} is intercepted and the signals other than the door closing process are removed to obtain {S1(n1)}, that is, {S1(n1)} only includes the signals from the beginning of the door rotation to the complete closing of the door.
[0075] Specifically, in step S2 of the vehicle door closing sound quality evaluation method, the preprocessing of the first door closing sound signal includes the following steps:
[0076] The first door closing sound signal is framed and windowed to obtain the preprocessed first door closing sound information.
[0077] Step S2 of the vehicle door closing sound quality evaluation method is implemented as follows:
[0078] S201. Preprocess the signal {S1(n1)}. The preprocessing process includes framing and windowing.
[0079] (1) The purpose of framing is to ensure that the noise analysis has a sufficiently high temporal resolution:
[0080] N consecutive sampling points are grouped into a data analysis unit, called a frame, where N is the frame length and must be an exponential power of 2, i.e. N = 2 z (z is a natural number), in order to facilitate the subsequent spectrum analysis of the data, in the embodiment of the present application, N is 512, the sampling frequency of the door closing sound signal is 20000 Hz, and the time length corresponding to one frame is 512 / 20000×1000=25.6 ms;
[0081] After framing, the i-th frame data is recorded as x0(i).
[0082] (2) The purpose of windowing (applying a window function) is to reduce spectrum leakage:
[0083] In the embodiment of the present application, the window function is a Hamming window, and its expression is:
[0084] w(p)=0.54-0.46*coS(2*π*p / P), 0≤p≤P Formula 1
[0085] Where p and P are both integers, p is the independent variable, w(p) is the dependent variable, w(p) is the amplitude of the window function, and P is a constant.
[0086] The total length of the window function is L=P+1, where L must be equal to the frame length N.
[0087] Window each frame of data, the formula is as follows:
[0088] x(i)=x0(i).*w(p) Formula 2
[0089] Among them, x0(i) is the i-th frame data, x(i) is the i-th frame data after windowing, and .* is the product of quantities, that is, the multiplication of the corresponding elements in the sequence.
[0090] S203, performing spectrum analysis on the signal;
[0091] Perform FFT transformation on each frame data to obtain the spectrum of each frame:
[0092] X(i, k) = fft[x(i)] Equation 3
[0093] Wherein, x(i) is the i-th frame data after windowing, and X(i, k) represents the spectrum of the k-th spectral line in the i-th frame spectrum data.
[0094] The spectrum is a complex number, and taking its modulus gives the amplitude spectrum:
[0095] A(i, k) = |X(i, k)| Formula 4
[0096] Wherein, A(i, k) represents the amplitude of the kth spectral line in the i-th frame of spectrum data.
[0097] By squaring A(i, k), we get the energy spectrum of the data:
[0098] E(i, k) = |X(i, k)| 2 Formula 5
[0099] Wherein, E(i, k) represents the energy of the kth spectral line in the i-th frame of spectrum data.
[0100] Specifically, step S3 of the vehicle door closing sound quality evaluation method, wherein the Mel filtering of the energy spectrum data comprises the following steps:
[0101] Calculate and obtain the Mel triangle filter group data corresponding to the preset Mel triangle filter;
[0102] The energy spectrum data is Mel-filtered by using the Mel-triangle filter, and the energy spectrum data after being filtered by the Mel-triangle filter is calculated based on the Mel-triangle filter group data and the energy spectrum data.
[0103] Specifically, step S3 of the vehicle door closing sound quality evaluation method, in which the MFCC data of the vehicle to be evaluated is calculated based on the energy spectrum data after Mel filtering, includes the following steps:
[0104] The energy spectrum data after Mel filtering is logarithmically processed and discrete cosine transformed to obtain the MFCC data of the vehicle to be evaluated.
[0105] Step S3 of the vehicle door closing sound quality evaluation method is implemented as follows:
[0106] S301, perform Mel filtering on the energy spectrum. This step is divided into two steps:
[0107] The first small step: calculate the Mel triangle filter bank data:
[0108] Mel is the unit of subjective pitch, while Hz is the unit of objective pitch. The degree of human ear's perception of sound is not linearly related to the Hertz (Hz) frequency, but at the Mel frequency, the subjective perception of the pitch is linearly related to the Mel scale.
[0109] Mel frequency is proposed based on the hearing characteristics of the human ear. It has a nonlinear relationship with the Hz (Hertz) frequency, as shown in the following formula:
[0110] mel=2595*log 10 (1+f0 / 700) Equation 6
[0111] Where f0 is the frequency variable (Hz) and mel is the Mel frequency.
[0112] The Mel scale has high resolution in the low frequency (Hz) part and low resolution in the high frequency (Hz), which is consistent with the auditory characteristics of the human ear;
[0113] At the same time, combined with the masking effect of the human ear, people designed the Mel triangle filter bank.
[0114] The transfer function of the mth triangular filter is:
[0115]
[0116] Where, 1≤m≤M, M is the number of triangular filters;
[0117] Hm(k) is the amplitude of the kth spectral line of the mth triangular filter;
[0118] f(m) is the spectral line number corresponding to the center frequency of the m-th filter, f(m-1) is the spectral line number corresponding to the center frequency of the m-1-th filter, f(m+1) is the spectral line number corresponding to the center frequency of the m+1-th filter, and k represents the spectral line number.
[0119] The spectral line number f(m) corresponding to the end frequency and center frequency of each filter in the Mel triangle filter bank is calculated as follows:
[0120] The door closing sound data is collected with a sampling frequency of 20000 Hz. According to Shannon sampling theorem, the upper limit of the analysis frequency is 20000 / 2=10000 Hz. According to formula 6, the mel value is calculated and recorded as mel_max.
[0121] Select the lower frequency limit of the noise of interest, such as 20Hz, and calculate its mel value according to equation 6, which is recorded as mel_min.
[0122] On the Mel scale, the interval [mel_min, mel_max] is evenly divided into M+1 segments, and the segment length mel_step is:
[0123] mel_step=(mel_max-mel_min) / (M+1) Equation 8
[0124] m1(j)=mel_min+j*mel_step 0≤j≤(M+1) Formula 9
[0125] m1(j) is the jth endpoint frequency of the Mel triangle filter bank on the Mel scale.
[0126] The function of Hz frequency f0 and Mel frequency mel is:
[0127]
[0128] Substituting ml(j) (0≤j≤(M+1)) into the mel value in formula 10, we obtain f1(j), 0≤j≤(M+1).
[0129] Multiply f1(j) by N / fs to get f(j), that is:
[0130]
[0131] Where N is the length of the data frame, and fs is the sampling frequency of the data;
[0132] In the embodiment of the present application, N=512, fs=20000 Hz.
[0133] Then the spectral line number corresponding to the center frequency of the jth filter is f(j), the spectral line number corresponding to the left endpoint frequency is f(j-1), and the spectral line number corresponding to the right endpoint frequency is f(j+1).
[0134] The second step: Mel filter the energy spectrum:
[0135] The spectrum energy of each frame of spectrum data after passing through the Mel filter is the product of the data energy spectrum E(i, k) and the Mel triangular filter bank transfer function Hm(k):
[0136] F(i, m) = ∑ k E(i,k)*H m (k), 1≤m≤M Formula 12
[0137] Where M is the number of filters, and the typical value is 24;
[0138] k represents the spectral line number, and i represents the frame number of the data.
[0139] S302, calculate the logarithm of the filtered data and perform discrete cosine transform:
[0140]
[0141] Where, t = 1, 2...M,
[0142]
[0143] Where M is the number of filters.
[0144] C is MFCC (Mel Frequency Cepstrum Coefficient), C(i, t) is the t-th coefficient of the MFCC of the i-th frame (t is an integer, which is a discrete cosine transform variable and acts like the number of spectral lines k in FFT), and m is the triangular filter number, that is, the m-th triangular filter.
[0145] Furthermore, in step S4 of the vehicle door closing sound quality evaluation method, before calculating the door closing sound quality score value corresponding to the vehicle to be evaluated based on the preset door closing sound quality calibration data and the MFCC data of the vehicle to be evaluated, the method includes the following steps:
[0146] At least two vehicles for calibration with different door closing sound qualities are selected, and vehicle door closing sound signals for calibration are collected, and corresponding door closing sound quality score values are assigned to the vehicle door closing sound signals for calibration;
[0147] Based on the vehicle door closing sound signal used for calibrating the vehicle, obtaining the MFCC data used for calibrating the vehicle;
[0148] Matrix processing is performed based on the MFCC data used to calibrate the vehicle to obtain the corresponding door closing sound quality calibration data.
[0149] Specifically, step S4 of the vehicle door closing sound quality evaluation method, wherein the door closing sound quality score corresponding to the vehicle to be evaluated is calculated based on the preset door closing sound quality calibration data and the MFCC data of the vehicle to be evaluated, comprises the following steps:
[0150] Based on the door closing sound quality calibration data, calculating the distance between the MFCC data used to represent different vehicles for calibration, and obtaining corresponding vehicle door closing sound quality characteristic distance data;
[0151] Based on the vehicle door closing sound quality characteristic distance data, using DTW to calculate different vehicle door closing sound quality characteristic matching matrices for calibrating vehicles, and obtaining all vehicle door closing sound quality total distance data for calibrating vehicles;
[0152] Based on the MFCC data of the vehicle to be evaluated and the MFCC data for calibrating the vehicle, calculating and obtaining vehicle door closing sound quality characteristic distance data between the vehicle to be evaluated and different vehicles for calibration;
[0153] Based on the vehicle door closing sound quality characteristic distance data, DTW is used to calculate the vehicle door closing sound quality characteristic matching matrix between the vehicle to be evaluated and different vehicles used for calibration, and the total vehicle door closing sound quality distance data between the vehicle to be evaluated and all the vehicles used for calibration are obtained;
[0154] The door closing sound quality score value of the vehicle to be evaluated is calculated based on the total vehicle door closing sound quality distance data between the vehicle to be evaluated and all the vehicles used for calibration, the total vehicle door closing sound quality distance data of all the vehicles used for calibration, and the preset door closing sound quality score values corresponding to the vehicles used for calibration.
[0155] Step S4 of the vehicle door closing sound quality evaluation method is implemented as follows:
[0156] S401, generating door closing sound quality calibration data:
[0157] Select two vehicles in the market, one is vehicle A with excellent door closing sound quality, and the other is vehicle B with poor door closing sound quality. According to the operation content of step 1, collect the door closing sound signals of vehicles A and B;
[0158] For the door closing sound quality of cars A and B, the quality is judged based on certain evaluation rules to obtain the corresponding score values point_A and point_B;
[0159] Typical values for point_A are 8.0, 8.5, and typical values for point_B are 5.0, 5.5.
[0160] In addition, three vehicles can be selected in the market, one is vehicle A with excellent door closing sound quality, one is vehicle B with poor door closing sound quality, and one is vehicle C with medium door closing sound quality. According to the operation content of step 1, the door closing sound signals of the three vehicles A, B and C are collected.
[0161] The door closing sound quality of the three cars A, B and C is evaluated based on certain evaluation rules to obtain their score values point_A, point_B and point_C;
[0162] If necessary, the score value set by the external device can also be directly obtained;
[0163] Typical values for point_A are 8.0, 8.5, typical values for point_B are 5.0, 5.5, and typical values for point_C are 6.0, 6.5, 7.0.
[0164] Similarly, you can also choose four vehicles or five vehicles in the market;
[0165] One is vehicle A with excellent door closing sound quality, one is vehicle B with poor door closing sound quality, and the rest are vehicles with medium door closing sound quality;
[0166] According to the operation content of step 1, collect the door closing sound signals of all vehicles;
[0167] Based on certain evaluation rules, the door closing sound quality of all vehicles is evaluated and their scores are obtained, or scores sent by external devices are received;
[0168] It should be noted that the scoring values of each vehicle should be dispersed as much as possible and not too close.
[0169] The collected vehicles are numbered, and the MFCC feature values of the door closing sound signals are extracted according to the operation contents of steps S2 to S3;
[0170] Assuming that the door closing sound signals of R vehicles are collected, R matrices can be obtained;
[0171] Each column of each matrix represents the M Mel cepstral coefficients of a frame of data of the corresponding vehicle door closing sound signal, that is, the number of rows of each matrix is M;
[0172] The number of columns of each matrix is different. The number of columns is the number of frames of the corresponding vehicle door closing sound signal, which is recorded as col_num. col_num(n2) represents the number of columns of the MFCC eigenvalue matrix of the vehicle door closing sound signal numbered n2.
[0173] Combine these R matrices into a three-dimensional matrix, denoted as M_cal,
[0174] M_cal(n2,i2,j2) represents the element in the i2th row and j2th column of the MFCC eigenvalue matrix of the door closing sound signal of vehicle numbered n2.
[0175] M_cal is the door closing sound quality calibration data.
[0176] S402, generating door closing sound quality characteristic distance data:
[0177] The technical solution of the embodiment of the present application uses DTW (dynamic time warping) to calculate the distance between vehicle door closing sound signals;
[0178] DTW is the abbreviation of Dynamic Time Warping, which is used to calculate the similarity between two time series;
[0179] In time series analysis, sometimes the lengths of two time series may not be equal. The traditional Euclidean distance cannot calculate the distance (or similarity) between the two time series. DTW can effectively measure the similarity between the two time series by extending and shortening the time series.
[0180] Before using the DTW algorithm, the distance between two frames of MFCC data must be determined;
[0181] Cosine similarity is a parameter that describes the closeness between vectors. In the embodiment of the present application, cosine similarity is used to characterize the distance measurement parameter between two frames of MFCC data, that is, the closeness of two frames of MFCC data, that is, the closeness of two frames of timbre (MFCC data can be understood as timbre). The calculation formula is as follows:
[0182]
[0183] Among them, similarity_0 is a four-dimensional matrix, 1≤n3<n4≤R, 1≤i2≤col_num(n3), 1≤j2≤col_num(n4), similarity_0(n3,n4,i2,j2) represents the cosine similarity between the MFCC parameters of the i2th frame of the vehicle numbered n3 and the MFCC parameters of the j2th frame of the vehicle numbered n4, and its value range is [-1,1]. The larger the value, the closer the two vectors are; the smaller the value, the less similar the two vectors are.
[0184] When n3=n4, similarity_0(n3,n4,i2,j2) represents the cosine similarity between the MFCCs of each frame of the vehicle numbered n3(n4), and this data is not needed;
[0185] Since similarity_0(n3,n4,i2,j2) and similarity_0(n4,n3,j2,i2) have the same value, for the subsequent steps, it is sufficient to calculate one of them;
[0186] Therefore, in the embodiment of the present application, there is a restriction on n3 and n4: n3<n4.
[0187] When using DTW (Dynamic Time Warping) for matching calculation, its algorithm requires that the closer the two vectors are, the smaller their distance is. This requirement is inconsistent with the variable similarity_0 (the larger the variable similarity_0 is, the closer the two vectors are).
[0188] Therefore, the variable similarity_0 needs to be transformed, and the transformation formula is as follows.
[0189] similarity=-similarity_0+1.1 Equation 16
[0190] In the above formula, the negative sign changes the trend of similarity_0 (making the similarity smaller and the two vectors closer together), and adding 1.1 makes the value of similarity greater than 0;
[0191] Similarity can be called vehicle door closing sound quality characteristic distance data.
[0192] S403, generating vehicle door closing sound quality total distance data:
[0193] Use DTW (Dynamic Time Warping) to calculate the distance between vehicle door closing sound quality data;
[0194] Based on the door closing sound quality feature distance data of vehicle numbered n3 and vehicle numbered n4, denoted as similarity(n3,n4,:,:), the feature matching matrix is calculated, denoted as M_match(n3,n4,:,:), and the calculation method is as follows:
[0195] First, initialize and set M_match(n3,n4,1,1)=similarity(n3,n4,1,1);
[0196] Then, perform iterative calculation according to formula 17:
[0197] M_match(n3,n4,i2,j2)=min{M_match(n3,n4,i2-1,j2)+
[0198] similarity(n3,n4,i2,j2),M_match(n3,n4,i2-1,j2-1)+similarity(n3,n4,i2,j2),M_match(n3,n4,i2,j2-1)+similarity(n3,n4,i2,j2)} Equation 17
[0199] The calculation method of M_match(n3,n4,i2,j2) in Formula 17 is sequential, and the first column, the second column, ... the col_num(n4)th column can be calculated in sequence, or the first row, the second row, ... the col_num(n3)th row can be calculated in sequence.
[0200] In formula 17, only the smaller value of i2-1≥1 and j2-1≥1 is calculated;
[0201] For example, when finding M_match(n3,n4,1,2), since i2=1, j2=2, i2-1=0, we only need to take M_match(n3,n4,1,2)=min{M_match(n3,n4,i2,j2-1)}=min{M_match(n3,n4,1,1)};
[0202] Because the two elements M_match(n3,n4,i2-1,j2) and M_match(n3,n4,i2-1,j2-1) do not exist.
[0203] In addition, the meaning of formula 17 is that a certain frame of MFCC data MFCC_A of vehicle numbered n3 may correspond one-to-one with a certain frame of MFCC data MFCC_B of vehicle numbered n4, or MFCC_A may correspond to multiple frames of MFCC data of vehicle numbered n4, or MFCC_B may correspond to multiple frames of MFCC data of vehicle numbered n3;
[0204] It should be noted that the matching between frames must be continuous and cross-frame matching is not allowed.
[0205] Traverse n3, n4, 1≤n3<n4≤R, R is the number of vehicles;
[0206] According to formula 17, the feature matching matrix M_match is obtained.
[0207] Take out the lower right corner element of the door closing sound quality feature matching matrix M_match(n3,n4,:,:) of the vehicle numbered n3 and the vehicle numbered n4, that is, the element M_match(n3,n4,col_num(n3),col_num(n4)), 1≤n3<n4≤R;
[0208] This element is the total matching distance of the door closing sound quality between vehicle n3 and vehicle numbered n4, which is called the total door closing sound quality distance;
[0209] If R=2, that is, the calibrated vehicles are two cars A and B, then the total door closing sound quality distance between cars A and B is recorded as D_AB; if R=3, that is, the calibrated vehicles are two cars A, B, and C, then the total door closing sound quality distance between cars A and B is recorded as D_AB, the total door closing sound quality distance between cars A and C is recorded as D_AC, and the total door closing sound quality distance between cars B and C is recorded as D_BC. The same applies to the case where R is equal to other values.
[0210] S404. Establish the total distance of the door closing sound quality of the vehicle to be evaluated:
[0211] According to the operation contents of steps S1 to S3, the MFCC data of the vehicle to be evaluated is obtained, which is recorded as MFCC_T.
[0212] According to the operation contents of steps S402 to S403, a total distance of door closing sound quality between the vehicle to be evaluated and the calibration vehicle is generated;
[0213] If the calibration vehicles are two vehicles A and B, the total distances of the door closing sound quality between the vehicle to be evaluated and the calibration vehicle are recorded as D_AT and D_BT respectively;
[0214] If the calibration vehicles are three vehicles A, B, and C, the total distances of the door closing sound quality between the vehicle to be evaluated and the calibration vehicle are recorded as D_AT, D_BT, and D_CT respectively;
[0215] When the number of calibrated vehicles is four or five, the same procedure applies.
[0216] S405. Predict the quality score of the door closing sound of the vehicle to be evaluated:
[0217] If the calibration vehicles are two vehicles A and B, refer to Figure 2, draw points A and B and the line segment AB between them;
[0218] Points A and B represent the door closing sound quality scores of cars A and B, Point_A and Point_B;
[0219] Set the scale and use the length of line segment AB to represent the characteristic distance parameter D_AB between the two vehicles;
[0220] Point_A, Point_B, and D_AB are all known, and the characteristic distance parameter D_AT between vehicle A and the vehicle to be evaluated T is known.
[0221] With point A as the center, convert D_AT into length according to the set scale, and draw an arc with this length as the radius;
[0222] Similarly, the characteristic distance parameter D_BT between vehicle B and the vehicle to be evaluated T is known. With point B as the center of the circle, D_BT is converted into length according to the set scale, and an arc is drawn with this length as the radius;
[0223] The two arcs intersect at point T. Connect points A and T, connect points B and T. Points A, B, and T form △ABT. Draw a perpendicular line from point T to line segment AB, intersecting AB at point Z.
[0224] The score value Point_T corresponding to point Z is the door closing sound quality score value of the vehicle to be evaluated.
[0225] The value of Point_T is obtained as follows.
[0226] Assume the angle θ between line segment AT and AB. According to the triangle cosine theorem, we have:
[0227]
[0228] Among them, || represents the length of the corresponding line segment.
[0229]
[0230] Reference Figure 2 , there is the following proportional relationship:
[0231]
[0232] From formula 19 and formula 20, we can get:
[0233]
[0234] The door closing sound quality score Point_T of the vehicle to be evaluated can be obtained by formula 21.
[0235] Figure 2For the case where point T is on line segment AB, when point T is on the extension line of line segment AB, equations 18-21 still hold.
[0236] If the calibration vehicle is three vehicles, please refer to Figure 3 , divide △ABC into three small triangles (△ABT, △ACT, △BCT). For each small triangle, according to formula 18-21 (the calibration vehicle is the case of two vehicles), calculate Point_T1, Point_T2, Point_T3 respectively, and take their average as the door closing sound quality score of the vehicle to be evaluated. The formula is as follows:
[0237]
[0238] Figure 3 This is the case where point T is inside △ABC. When point T is outside △ABC, equations 18-22 are still applicable.
[0239] When the number of calibrated vehicles is four or five, the processing method is similar to that of the case of three vehicles.
[0240] The purpose of adding calibration vehicles is to improve the prediction accuracy of the door closing sound quality score;
[0241] Generally speaking, the more calibrated vehicles there are, the higher the prediction accuracy is, but the workload of collecting data increases and the data processing time increases;
[0242] In most cases, the number of calibrated vehicles can be set to three vehicles.
[0243] Preferably, in the vehicle door closing sound quality evaluation method, the vehicle door closing sound signal is collected in a preset soundproofing room.
[0244] It should be noted that
[0245] MFCC, namely Mel Frequency Cepstrum Coefficient, its full name is Mel Frequency Cepstrum Coefficient;
[0246] Mel is the unit of subjective pitch, while Hz is the unit of objective pitch.
[0247] Mel frequency is a concept based on the hearing characteristics of the human ear, and it has a nonlinear relationship with Hz (Hertz) frequency;
[0248] Mel frequency cepstral coefficient (MFCC) is a cepstral feature calculated by using this relationship between them.
[0249] DTW, or Dynamic Time Warping, is the abbreviation of Dynamic Time Warping, which is used to calculate the similarity between two time series;
[0250] In time series analysis, sometimes the lengths of two time series may not be equal. The traditional Euclidean distance cannot calculate the distance (or similarity) between the two time series. DTW can effectively measure the similarity between the two time series by extending and shortening the time series.
[0251] In summary, the embodiment of the present application proposes a vehicle door closing sound quality evaluation method based on MFCC and DTW algorithms;
[0252] Compared with the traditional evaluation method of the door-closing sound quality of automobiles, this method takes into account the auditory characteristics of the human ear and performs a detailed and in-depth analysis of the door-closing sound signal to obtain its MFCC data, which more deeply describes its timbre characteristics;
[0253] The DTW algorithm is used to determine the total distance of the door closing sound quality between vehicles. Combining the total distance and the door closing sound quality score of the calibration vehicle, the door closing sound quality score of the vehicle to be evaluated can be predicted. The evaluation method is simple.
[0254] The vehicle door closing sound quality evaluation method requires only 2-5 vehicles to be calibrated, saving time and cost;
[0255] The vehicle door closing sound quality evaluation method does not need to conduct on-site evaluation of the door closing sound quality. By obtaining a vehicle door closing sound signal, the vehicle door closing sound quality score value can be predicted, and the score value has high accuracy, which greatly facilitates the evaluation of the door closing sound quality.
[0256] Second, see Figure 4 As shown, an embodiment of the present application provides a vehicle door closing sound quality evaluation system, the system comprising:
[0257] A sound collection unit, which is used to collect and obtain a vehicle door closing sound signal of the vehicle to be evaluated, and intercept and obtain a first door closing sound signal in the process from the door starting to rotate to the door being completely closed;
[0258] a spectrum analysis unit, configured to preprocess the first door closing sound signal, and perform spectrum analysis on the preprocessed first door closing sound signal to obtain energy spectrum data corresponding to the first door closing sound signal;
[0259] A first data processing unit, which is used to perform Mel filtering on the energy spectrum data, and calculate and obtain MFCC data of the vehicle to be evaluated based on the energy spectrum data after Mel filtering;
[0260] The quality evaluation unit is used to calculate and obtain a door closing sound quality score value corresponding to the vehicle to be evaluated based on preset door closing sound quality calibration data and the MFCC data of the vehicle to be evaluated.
[0261] The technical solution of the embodiment of the present application requires fewer data samples, performs data processing on the vehicle door closing sound signal, obtains the corresponding MFCC data, and evaluates the door closing sound quality in combination with the door closing sound quality calibration data. While ensuring accuracy and reliability, it is low-cost and easy to operate, and can meet the current door closing sound quality evaluation needs.
[0262] Furthermore, the vehicle door closing sound quality evaluation system also includes:
[0263] An evaluation and calibration unit, which is used to select at least two vehicles for calibration whose door closing sound quality is different, collect vehicle door closing sound signals for calibration vehicles, and assign corresponding door closing sound quality score values to the vehicle door closing sound signals for calibration vehicles;
[0264] The first data processing unit is further used to obtain the MFCC data for calibrating the vehicle based on the vehicle door closing sound signal for calibrating the vehicle;
[0265] The system also includes a second data processing unit, which is used to perform matrix processing based on the MFCC data used to calibrate the vehicle to obtain corresponding door closing sound quality calibration data.
[0266] Furthermore, the vehicle door closing sound quality evaluation system also includes:
[0267] A characteristic distance processing unit, which is used to calculate the distance between the MFCC data used to calibrate different vehicles based on the door closing sound quality calibration data, and obtain corresponding vehicle door closing sound quality characteristic distance data;
[0268] The characteristic distance processing unit is further used to calculate different vehicle door closing sound quality characteristic matching matrices for calibrating vehicles by using DTW based on the vehicle door closing sound quality characteristic distance data, and obtain all vehicle door closing sound quality total distance data for calibrating vehicles;
[0269] The characteristic distance processing unit is further used to calculate and obtain vehicle door closing sound quality characteristic distance data between the vehicle to be evaluated and different vehicles for calibration based on the MFCC data of the vehicle to be evaluated and the MFCC data for calibrating the vehicle;
[0270] The characteristic distance processing unit is further used to calculate the vehicle door closing sound quality characteristic matching matrix between the vehicle to be evaluated and different vehicles used for calibration by using DTW based on the vehicle door closing sound quality characteristic distance data, and obtain the vehicle door closing sound quality total distance data between the vehicle to be evaluated and all the vehicles used for calibration;
[0271] The quality evaluation unit is further used to calculate the door closing sound quality score value of the vehicle to be evaluated based on the total vehicle door closing sound quality distance data between the vehicle to be evaluated and all the vehicles used for calibration, the total vehicle door closing sound quality distance data of all the vehicles used for calibration, and the preset door closing sound quality score values corresponding to the vehicles used for calibration.
[0272] It should be noted that, in this application, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0273] The above is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
Claims
1. A method for evaluating the quality of vehicle door closing sound, characterized in that: The method comprises the following steps: Acquire a vehicle door closing sound signal of the vehicle to be evaluated, and intercept and obtain the first door closing sound signal in the process from the door starting to rotate to the door being completely closed; Preprocessing the first door closing sound signal, and performing spectrum analysis on the preprocessed first door closing sound signal to obtain energy spectrum data corresponding to the first door closing sound signal; Performing Mel filtering on the energy spectrum data, and calculating and obtaining MFCC data of the vehicle to be evaluated based on the energy spectrum data after the Mel filtering; Based on the preset door closing sound quality calibration data and the MFCC data of the vehicle to be evaluated, a door closing sound quality score value corresponding to the vehicle to be evaluated is calculated; Before calculating and obtaining the door closing sound quality score value corresponding to the vehicle to be evaluated based on the preset door closing sound quality calibration data and the MFCC data of the vehicle to be evaluated, the method includes the following steps: At least two vehicles for calibration with different door closing sound qualities are selected, and vehicle door closing sound signals for calibration are collected, and corresponding door closing sound quality score values are assigned to the vehicle door closing sound signals for calibration; Based on the vehicle door closing sound signal used for calibrating the vehicle, obtaining the MFCC data used for calibrating the vehicle; Performing matrix processing based on the MFCC data used to calibrate the vehicle to obtain corresponding door closing sound quality calibration data; The step of calculating the door closing sound quality score corresponding to the vehicle to be evaluated based on the preset door closing sound quality calibration data and the MFCC data of the vehicle to be evaluated comprises the following steps: Based on the door closing sound quality calibration data, calculating the distance between the MFCC data used to represent different vehicles for calibration, and obtaining corresponding vehicle door closing sound quality characteristic distance data; Based on the vehicle door closing sound quality characteristic distance data, using DTW to calculate different vehicle door closing sound quality characteristic matching matrices for calibrating vehicles, and obtaining all vehicle door closing sound quality total distance data for calibrating vehicles; Based on the MFCC data of the vehicle to be evaluated and the MFCC data for calibrating the vehicle, calculating and obtaining vehicle door closing sound quality characteristic distance data between the vehicle to be evaluated and different vehicles for calibration; Based on the vehicle door closing sound quality characteristic distance data, DTW is used to calculate the vehicle door closing sound quality characteristic matching matrix between the vehicle to be evaluated and different vehicles used for calibration, and the total vehicle door closing sound quality distance data between the vehicle to be evaluated and all the vehicles used for calibration are obtained; The door closing sound quality score value of the vehicle to be evaluated is calculated based on the total vehicle door closing sound quality distance data between the vehicle to be evaluated and all the vehicles used for calibration, the total vehicle door closing sound quality distance data of all the vehicles used for calibration, and the preset door closing sound quality score values corresponding to the vehicles used for calibration.
2. The vehicle door closing sound quality evaluation method according to claim 1, characterized in that: The preprocessing of the first door closing sound signal comprises the following steps: The first door closing sound signal is framed and windowed to obtain the preprocessed first door closing sound information.
3. The vehicle door closing sound quality evaluation method according to claim 1, characterized in that: The Mel filtering of the energy spectrum data comprises the following steps: Calculate and obtain the Mel triangle filter group data corresponding to the preset Mel triangle filter; The energy spectrum data is Mel-filtered by using the Mel-triangle filter, and the energy spectrum data after being filtered by the Mel-triangle filter is calculated based on the Mel-triangle filter group data and the energy spectrum data.
4. The vehicle door closing sound quality evaluation method according to claim 1, characterized in that: The step of calculating and obtaining the MFCC data of the vehicle to be evaluated based on the energy spectrum data after Mel filtering includes the following steps: The energy spectrum data after Mel filtering is logarithmically processed and discrete cosine transformed to obtain the MFCC data of the vehicle to be evaluated.
5. The vehicle door closing sound quality evaluation method according to claim 1, characterized in that: The vehicle door closing sound signal is collected in a preset anechoic room.
6. A vehicle door closing sound quality evaluation system, characterized in that: The system comprises: A sound collection unit, which is used to collect and obtain a vehicle door closing sound signal of the vehicle to be evaluated, and intercept and obtain a first door closing sound signal in the process from the door starting to rotate to the door being completely closed; a spectrum analysis unit, configured to preprocess the first door closing sound signal, and perform spectrum analysis on the preprocessed first door closing sound signal to obtain energy spectrum data corresponding to the first door closing sound signal; A first data processing unit, which is used to perform Mel filtering on the energy spectrum data, and calculate and obtain MFCC data of the vehicle to be evaluated based on the energy spectrum data after Mel filtering; A quality evaluation unit, which is used to calculate and obtain a door closing sound quality score value corresponding to the vehicle to be evaluated based on preset door closing sound quality calibration data and MFCC data of the vehicle to be evaluated; A characteristic distance processing unit, which is used to calculate the distance between the MFCC data used to calibrate different vehicles based on the door closing sound quality calibration data, and obtain corresponding vehicle door closing sound quality characteristic distance data; An evaluation and calibration unit, which is used to select at least two vehicles for calibration whose door closing sound quality is different, collect vehicle door closing sound signals for calibration vehicles, and assign corresponding door closing sound quality score values to the vehicle door closing sound signals for calibration vehicles; The first data processing unit is further used to obtain the MFCC data for calibrating the vehicle based on the vehicle door closing sound signal for calibrating the vehicle; A second data processing unit, which is used to perform matrix processing based on the MFCC data used to calibrate the vehicle to obtain the corresponding door closing sound quality calibration data; The characteristic distance processing unit is further used to calculate different vehicle door closing sound quality characteristic matching matrices for calibrating vehicles by using DTW based on the vehicle door closing sound quality characteristic distance data, and obtain all vehicle door closing sound quality total distance data for calibrating vehicles; The characteristic distance processing unit is further used to calculate and obtain vehicle door closing sound quality characteristic distance data between the vehicle to be evaluated and different vehicles for calibration based on the MFCC data of the vehicle to be evaluated and the MFCC data for calibrating the vehicle; The characteristic distance processing unit is further used to calculate the vehicle door closing sound quality characteristic matching matrix between the vehicle to be evaluated and different vehicles used for calibration by using DTW based on the vehicle door closing sound quality characteristic distance data, and obtain the vehicle door closing sound quality total distance data between the vehicle to be evaluated and all the vehicles used for calibration; The quality evaluation unit is further used to calculate the door closing sound quality score value of the vehicle to be evaluated based on the total vehicle door closing sound quality distance data between the vehicle to be evaluated and all the vehicles used for calibration, the total vehicle door closing sound quality distance data of all the vehicles used for calibration, and the preset door closing sound quality score values corresponding to the vehicles used for calibration.
