Frequency response analysis method and device, equipment and storage medium

By converting audio signals into frequency domain signals for noise reduction and then converting them into time domain signals, the problem of noise reduction compromising audio integrity in existing technologies is solved, thereby improving the accuracy and efficiency of frequency response analysis.

CN116564332BActive Publication Date: 2025-11-25GOERTEK INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310200812.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-27
Publication Date
2025-11-25
Estimated Expiration
2043-02-27

AI Technical Summary

Technical Problem

In existing technologies for testing the frequency response performance of acoustic products, noise reduction processing can damage the integrity of the test audio files, leading to inaccurate analysis results.

Method used

The acquired audio signal is converted into a frequency domain signal for noise reduction, and the noise-reduced frequency domain signal is then converted into a target time domain signal for frequency response performance analysis.

Benefits of technology

It effectively avoids the damage to audio integrity caused by time-domain noise reduction, ensuring the accuracy and efficiency of frequency response analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116564332B_ABST
    Figure CN116564332B_ABST
Patent Text Reader

Abstract

The application discloses a frequency response analysis method, device and equipment and a storage medium. The application discloses the following: performing audio processing on original audio played by a collected to-be-tested product to obtain a frequency domain signal corresponding to the original audio, performing noise reduction processing on the frequency domain signal, converting the frequency domain signal after the noise reduction processing into a target time domain signal, and analyzing the frequency response performance of the to-be-tested product according to the target time domain signal. Since the original audio collected is processed, the frequency domain signal of the original audio obtained after processing is subjected to noise reduction processing, thereby effectively avoiding the problem that noise reduction of audio in the time domain will damage the completeness of the audio. The frequency domain signal after the noise reduction is converted into the target time domain signal, so that the audio is analyzed in the time domain form, the accuracy of audio analysis is ensured, the frequency response performance of the to-be-tested product is analyzed according to the target time domain signal, the accuracy of product analysis results is ensured, and the product frequency response analysis efficiency is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of acoustics, in particular to a frequency response analysis method, device, equipment and storage medium. BACKGROUND

[0002] With the increasing demand for product performance testing in production requirements, the analysis accuracy of product test results is also increasingly high. In the production process of acoustic products, the frequency response performance of the product needs to be tested and analyzed. Since the frequency response performance of acoustic products needs to be tested and analyzed, the audio played by the product needs to be collected. However, noise will inevitably be collected during the collection process. Therefore, before analyzing the collected audio, the audio needs to be de-noised. At present, the collected product audio is de-noised in the time domain, which will damage the integrity of the test audio file, resulting in inaccurate analysis results of the frequency response performance of the product.

[0003] The above content is only used to assist in understanding the technical solutions of the present application and does not represent the acknowledgement of the above content as prior art. SUMMARY

[0004] The main purpose of the present application is to provide a frequency response analysis method, device, equipment and storage medium, which aims to solve the technical problem that the de-noising of the collected product audio in the prior art will damage the integrity of the test audio file, resulting in inaccurate analysis results.

[0005] To achieve the above purpose, the present application provides a frequency response analysis method, which comprises the following steps:

[0006] The original audio played by the collected product to be tested is subjected to audio processing to obtain a frequency domain signal corresponding to the original audio;

[0007] The frequency domain signal is de-noised, and the de-noised frequency domain signal is converted into a target time domain signal;

[0008] The frequency response performance of the product to be tested is analyzed according to the target time domain signal.

[0009] Optionally, before the original audio played by the collected product to be tested is subjected to audio processing to obtain a frequency domain signal corresponding to the original audio, the method further comprises:

[0010] The product to be tested is placed in a pre-set soundproof box by a grabbing mechanism;

[0011] The product code of the product to be tested is identified;

[0012] A communication connection is established between the product code and the product to be tested;

[0013] playing a test audio file on the product under test through the communication connection, and collecting original audio played by the product under test based on the test audio file.

[0014] Optionally, the product code of the product under test is identified by:

[0015] image collection is performed on the product under test;

[0016] image recognition is performed on the image collection result;

[0017] the product code of the product under test and a current placement position of the product under test are obtained according to the image recognition result;

[0018] a target placement position of the product under test is obtained according to the product code;

[0019] it is determined whether the current placement position of the product under test is consistent with the target placement position;

[0020] if yes, the step of establishing the communication connection between the product code and the product under test is performed;

[0021] if no, the current placement position of the product under test is corrected by the grabbing mechanism according to the target placement position.

[0022] Optionally, the original audio played by the product under test is processed to obtain a frequency domain signal corresponding to the original audio, including:

[0023] each audio to be converted in the original audio played by the product under test is determined according to the audio collection result of the product under test;

[0024] digital-to-analog conversion is performed on each audio to be converted to obtain an initial time domain signal corresponding to each audio to be converted;

[0025] audio processing is performed on each initial time domain signal to obtain a frequency domain signal corresponding to each audio to be converted.

[0026] Optionally, the frequency domain signal is subjected to noise reduction processing, and the frequency domain signal subjected to noise reduction processing is converted into a target time domain signal, including:

[0027] frequency domain information of each audio to be converted is determined according to the frequency domain signal;

[0028] background noise information of a soundproof box in which the product under test is currently located is obtained;

[0029] background noise audio in each audio to be converted is screened out according to the background noise information and the frequency domain information;

[0030] performing noise reduction processing on the frequency domain signal based on the background noise frequency;

[0031] convert the frequency domain signal after noise reduction processing into a target time domain signal.

[0032] Optionally, after performing noise reduction processing on the frequency domain signal based on the background noise frequency, the method further comprises:

[0033] performing frequency analysis on the frequency domain signal corresponding to each audio to be converted according to the frequency domain information;

[0034] determining whether the frequency domain range of each frequency domain signal meets a preset condition according to the frequency analysis result;

[0035] if yes, performing the step of converting the frequency domain signal after noise reduction processing into a target time domain signal;

[0036] if no, performing abnormal alarm according to the product code of the product to be tested.

[0037] Optionally, the analyzing the frequency response performance of the product to be tested according to the target time domain signal comprises:

[0038] marking frequency points of the target time domain signal according to a preset interval;

[0039] setting a frequency point threshold range according to the frequency point marking result;

[0040] drawing a product frequency response curve of the product to be tested according to the frequency point marking result and the target time domain signal;

[0041] drawing a threshold frequency response curve according to the frequency point threshold range;

[0042] comparing the product frequency response curve with the threshold frequency response curve, and analyzing the frequency response performance of the product to be tested according to the comparison result.

[0043] In addition, to achieve the above-mentioned purpose, the application further provides a frequency response analysis device, which comprises:

[0044] an audio processing module, configured to perform audio processing on the original audio played by the product to be tested, and obtain a frequency domain signal corresponding to the original audio;

[0045] a signal noise reduction module, configured to perform noise reduction processing on the frequency domain signal, and convert the frequency domain signal after noise reduction processing into a target time domain signal;

[0046] a frequency response analysis module, configured to analyze the frequency response performance of the product to be tested according to the target time domain signal.

[0047] In addition, to achieve the above object, the present application further provides a frequency response analysis device, comprising a memory, a processor and a frequency response analysis program stored in the memory and executable on the processor, the frequency response analysis program being configured to implement the steps of the frequency response analysis method as described above.

[0048] In addition, to achieve the above object, the present application further provides a storage medium, on which a frequency response analysis program is stored, the frequency response analysis program being executable on a processor to implement the steps of the frequency response analysis method as described above.

[0049] The present application obtains the frequency domain signal corresponding to the original audio by performing audio processing on the original audio played by the collected product to be tested, performs noise reduction processing on the frequency domain signal, converts the frequency domain signal after noise reduction processing into a target time domain signal, and analyzes the frequency response performance of the product to be tested according to the target time domain signal. Since the present application processes the collected original audio, and performs noise reduction processing on the frequency domain signal obtained after processing, the problem of damaging the integrity of the audio when reducing noise in the time domain is effectively avoided. The frequency domain signal after noise reduction is converted into a target time domain signal, so that the audio is analyzed in the time domain to ensure the accuracy of the audio analysis. The frequency response performance of the product to be tested is analyzed according to the target time domain signal, so as to ensure the accuracy of the product analysis result and effectively improve the product frequency response analysis efficiency. BRIEF DESCRIPTION OF DRAWINGS

[0050] Figure 1 is a structural schematic diagram of a frequency response analysis device of a hardware running environment related to the embodiment scheme of the present application;

[0051] Figure 2 is a flowchart of a first embodiment of the frequency response analysis method of the present application;

[0052] Figure 3 is a flowchart of a second embodiment of the frequency response analysis method of the present application;

[0053] Figure 4 is a flowchart of a third embodiment of the frequency response analysis method of the present application;

[0054] Figure 5 is a structural block diagram of a first embodiment of the frequency response analysis device of the present application.

[0055] The implementation of the object, functional features and advantages of the present application will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION

[0056] It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.

[0057] Refer to Figure 1 , Figure 1 The frequency response analysis device structure schematic diagram of the hardware running environment involved in the embodiment of the present application is shown.

[0058] As Figure 1 shown, the frequency response analysis device can include: a processor 1001, for example, a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to realize the connection communication between the components. The user interface 1003 can include a display screen, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a wireless fidelity (Wi-Fi) interface). The memory 1005 can be a high-speed random access memory (RAM), and can also be a stable non-volatile memory (NVM), such as a disk memory. The memory 1005 can also be an independent storage device from the aforementioned processor 1001.

[0059] Those skilled in the art can understand that Figure 1 the structure shown in the above is not a limitation on the frequency response analysis device, and can include more or fewer components than the diagram, or combine certain components, or different component arrangements.

[0060] As Figure 1 shown, the memory 1005 as a storage medium can include an operating system, a network communication module, a user interface module, and a frequency response analysis program.

[0061] In Figure 1 the frequency response analysis device shown, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the frequency response analysis device of the present application can be arranged in the frequency response analysis device, and the frequency response analysis device calls the frequency response analysis program stored in the memory 1005 through the processor 1001, and executes the frequency response analysis method provided by the embodiment of the present application.

[0062] The embodiment of the present application provides a frequency response analysis method, and the flowchart of the first embodiment of the frequency response analysis method of the present application is shown. Figure 2 , Figure 2

[0063] ​In the embodiment, the frequency response analysis method comprises the following steps:

[0064] Step S10: performing audio processing on the collected original audio played by the to-be-tested product to obtain a frequency domain signal corresponding to the original audio.

[0065] It should be understood that the subject performing the method of the embodiment can be a frequency response analysis device having data processing, network communication and program running functions, such as a computer or the like, or other devices or apparatuses capable of achieving the same or similar functions, which are described above by way of example.

[0066] It should be noted that the to-be-tested product can be an acoustic product that needs to be subjected to audio analysis and testing, for example, the to-be-tested product can be a sound equipment or the like. The original audio can be audio played by the to-be-tested product. The frequency domain signal can be a digital signal of the original audio in the frequency domain.

[0067] It should be understood that, in order to complete the testing of the to-be-tested product, the frequency response analysis device controls the to-be-tested product to play a pre-set test audio file, and then collects original audio played by the to-be-tested product based on the test audio file. Since the original audio collected by the frequency response analysis device is an analog signal, it is necessary to perform audio processing on the original audio to convert the original audio into a digital audio signal, i.e., to obtain a frequency domain signal corresponding to the original audio.

[0068] In a specific implementation, the frequency response analysis device establishes a communication connection with the to-be-tested product, controls the to-be-tested product to play a pre-set test audio file through the communication connection, and when detecting that the to-be-tested product starts audio playing, performs audio collection, performs digital-to-analog conversion on the collected original audio played by the to-be-tested product, and obtains an original digital signal (for example, the original digital signal can be a time domain signal) corresponding to the original audio. In order to ensure that the subsequent audio noise reduction does not damage the integrity of the audio, the original digital signal is converted into a frequency domain signal.

[0069] Further, in order to make the audio collection as little affected by external noise as possible, the step S10 can further comprise the following steps before the step S10:

[0070] controlling the grabbing mechanism to place the to-be-tested product in a pre-set soundproof box;

[0071] recognizing a product code of the to-be-tested product;

[0072] establishing a communication connection with the to-be-tested product according to the product code;

[0073] controlling the to-be-tested product to play a test audio file through the communication connection, and collecting original audio played by the to-be-tested product based on the test audio file.

[0074] It should be noted that the grabbing mechanism can be a grabbing device for grabbing the product to be tested, for example, the grabbing mechanism can be a mechanical gripper, etc. The soundproof box can be a soundproof and sealed sound listening room for placing the product to be tested. The product code can be the SN code of the product to be tested. The test audio file can be an audio file for testing the frequency response performance of the product to be tested. The test audio file can be a sweep frequency sound of 500-20000Hz preset by the frequency response analysis device. By controlling the product to be tested to play the sweep sound, the frequency response performance of the product to be tested at each frequency band can be collected. The sweep sound can be an audio with increasing or decreasing sound frequency.

[0075] Further, in order to effectively establish a communication connection with the product to be tested, the product code of the product to be tested can include:

[0076] image acquisition of the product to be tested;

[0077] image recognition of the image acquisition result;

[0078] acquiring the product code of the product to be tested and the current placement position of the product to be tested according to the image recognition result;

[0079] acquiring the target placement position of the product to be tested according to the product code;

[0080] determining whether the current placement position of the product to be tested is consistent with the target placement position;

[0081] if yes, then performing the step of establishing a communication connection between the product code and the product to be tested;

[0082] if no, then controlling the grabbing mechanism to correct the current placement position of the product to be tested according to the target placement position.

[0083] It should be noted that the current placement position can be the position of the product to be tested currently placed in the soundproof box. The target placement position can be the standard audio acquisition placement position of the product to be tested.

[0084] It should be understood that in order to ensure the accuracy of audio acquisition, the frequency response analysis device of the present embodiment acquires the product code of the product to be tested and the current placement position of the product to be tested according to the image recognition result of the image acquisition result of the product to be tested, acquires the target placement position of the product to be tested according to the product code, and determines whether the current placement position of the product to be tested is correct according to the target placement position, so as to ensure that the audio played by the product to be tested can be effectively collected. If not, then the current placement position of the product to be tested is corrected according to the target placement position by the grabbing mechanism.

[0085] Further, in order to ensure the accuracy of the audio analysis, the above step S10 can include:

[0086] Step S11: determining each to-be-converted audio in the original audio played by the to-be-tested product according to the audio acquisition result of the to-be-tested product.

[0087] It should be noted that the audio acquisition result can be the original audio (i.e., an analog signal) played by the to-be-tested product collected by the frequency response analysis device through an internally integrated or externally connected audio acquisition device. The above to-be-converted audio can be one or more pieces of audio in the original audio played by the to-be-tested product that need to be converted from digital to analog, for example, the original audio played by the to-be-tested product contains 5 pieces of audio, and only 3 pieces of audio are the audio that needs to be analyzed, so the above 3 pieces of audio are taken as the to-be-converted audio. Each to-be-converted audio can be audio of different channels, for example, the to-be-converted audio can include the same time interval cabinet bottom noise audio recorded in advance by a recording device, the original audio played by the to-be-tested product, and the audio recorded by the recording device.

[0088] Step S12: converting each to-be-converted audio from digital to analog to obtain an initial time domain signal corresponding to each to-be-converted audio.

[0089] It should be noted that the digital-to-analog conversion can be Fast Fourier transform (FFT), and the initial time domain signal can be a digital signal of each to-be-converted audio in the time domain.

[0090] It should be understood that in order to analyze each to-be-converted audio, the analog signal of each to-be-converted audio collected needs to be converted from time domain to frequency domain through Fast Fourier transform to obtain a digital signal under time sequence conditions, thereby obtaining an initial time domain signal corresponding to each to-be-converted audio.

[0091] Step S13: performing audio processing on each initial time domain signal to obtain a frequency domain signal corresponding to each to-be-converted audio.

[0092] It should be understood that since the audio signal and the noise exist at the same time in the time domain signal of the audio at a certain time, the denoising in the time domain will damage the integrity of the original audio, thereby affecting the subsequent test results, and the frequency domain signal is with frequency as the horizontal axis, and the frequency of the original audio and the noise is different, so they can be easily distinguished and then denoised. Therefore, the digital signal needs to be converted from time domain to frequency domain using Fast Fourier transform (FFT) first.

[0093] Step S20: performing denoising processing on the frequency domain signal, and converting the frequency domain signal after the denoising processing into a target time domain signal.

[0094] It should be noted that the target time domain can be a digital signal in time sequence form obtained after the frequency domain signal after the noise reduction processing is subjected to Inverse Fast Fourier Transform (IFFT), that is, the target time sequence can be a digital signal in time sequence form of the original audio after the noise reduction processing. The above noise reduction processing can be a processing manner of eliminating interference sources such as bottom noise and device abnormal noise in the original audio.

[0095] It should be understood that the frequency response analysis device removes the bottom noise and abnormal noise in the original audio by performing noise reduction processing on the frequency domain signal. In order to improve the efficiency of subsequent frequency response analysis, the original audio needs to be analyzed in the time domain. Therefore, the frequency response analysis device performs Inverse Fast Fourier Transform on the frequency domain signal after the noise reduction processing, thereby obtaining the target time domain signal of the original audio in time sequence.

[0096] In a specific implementation, when the frequency response analysis device performs noise reduction processing on the frequency domain signal, the noise in the original audio that needs to be reduced includes the bottom noise in the soundproof box in which the product under test is located and the abnormal noise of the microphone of the recording device (the recording device can be a device for recording the original audio played by the product under test). Since there can be various noises in the original audio, including the bottom noise of the soundproof box, the abnormal noise of the microphone caused by the abnormality of the microphone of the recording device, and the speaker noise caused by the abnormality of the speaker of the product under test, in order to accurately analyze the frequency response performance of the product under test, the frequency response analysis device only needs to retain the above speaker noise and remove the bottom noise of the soundproof box and the above abnormal noise of the microphone.

[0097] It should be noted that the time domain analysis of the audio is based on the time domain graph, and the audio signal and the noise exist at the same time in the time domain graph at a certain time. Therefore, the noise removal in the time domain will damage the integrity of the original audio, thereby affecting the subsequent test results. The frequency domain analysis of the audio is based on the frequency domain graph, and the frequency domain graph takes frequency as the horizontal axis. The frequencies of the original audio and the noise are different, and they can be easily distinguished and then removed. Therefore, the digital signal is first subjected to Fast Fourier Transform (FFT) for conversion from time domain to frequency domain.

[0098] Step S30: analyzing the frequency response performance of the product under test according to the target time domain signal.

[0099] It should be noted that the above frequency response performance can be the sound performance of the product under test in each frequency band and the sound stability performance, for example, the frequency response (FR) performance, the total harmonic distortion (THD) performance, and the high-order harmonic distortion (Rub & Buzz) performance, and whether the product under test has a tremolo or a tremolo.

[0100] It should be understood that the frequency response analysis device of the embodiment acquires the sound emission abnormal information, frequency response information, total harmonic distortion information and high-order harmonic distortion information of the product to be tested according to the target time domain signal, analyzes the sound emission stability performance of the product to be tested according to the sound emission abnormal information, and draws the sound emission curve of the product to be tested according to the frequency response information, total harmonic distortion information and high-order harmonic distortion information, and analyzes the frequency response performance of the product to be tested according to the sound emission curve.

[0101] The embodiment obtains the frequency domain signal corresponding to the original audio by performing audio processing on the original audio collected by the product to be tested, performs noise reduction processing on the frequency domain signal, converts the frequency domain signal after noise reduction processing into a target time domain signal, and analyzes the frequency response performance of the product to be tested according to the target time domain signal. Since the original audio is processed, the frequency domain signal of the original audio obtained after processing is processed, thereby effectively avoiding the problem that audio noise reduction in the time domain will damage the integrity of the audio. The frequency domain signal after noise reduction is converted into a target time domain signal, thereby analyzing the audio in the time domain to ensure the accuracy of the audio analysis, and the frequency response performance of the product to be tested is analyzed according to the target time domain signal, thereby ensuring the accuracy of the product analysis result and effectively improving the product frequency response analysis efficiency.

[0102] Reference Figure 3 , Figure 3 is a flowchart of a second embodiment of a frequency response analysis method of the application.

[0103] Based on the above first embodiment, in the embodiment, the step S20 comprises:

[0104] Step S21: determining the frequency domain information of each audio to be converted according to the frequency domain signal.

[0105] It should be noted that the frequency domain information can be the audio frequency domain of each audio to be converted. Since the frequency domain signal is with frequency as the horizontal axis, the frequencies of the original audio and the noise are different, and they can be easily distinguished and then de-noised.

[0106] Step S22: acquiring the noise information of the soundproof box currently occupied by the product to be tested.

[0107] It should be noted that the bottom noise information can be the bottom noise of the soundproof box. The bottom noise of the soundproof box is usually a relatively stable environmental noise, so it can be regarded as a fixed audio signal in each test. The bottom noise of the soundproof box is usually a relatively stable environmental noise, so the bottom noise of the soundproof box can be regarded as a fixed audio signal in the analysis process of the frequency response analysis device. Since the soundproof state of the soundproof box will decay, the frequency response analysis device can test the soundproof performance of the soundproof box before each frequency response analysis, and update the bottom noise information of the soundproof box according to the test result.

[0108] Step S23: filtering out the bottom noise audio in each audio to be converted according to the bottom noise information and the frequency domain information.

[0109] It should be noted that the bottom noise audio can be noise audio in the soundproof box.

[0110] It should be understood that the bottom noise audio in the soundproof box can be additive noise, so there is an additive relationship between the bottom noise audio and the recording audio of the product to be tested in the original audio. Therefore, the frequency response analysis device can remove the bottom noise audio of the soundproof box by subtracting the frequency domain of the recording audio from the frequency domain of the bottom noise audio.

[0111] Step S24: noise reduction processing of the frequency domain signal based on the bottom noise audio.

[0112] It should be noted that a plurality of recording devices can be arranged in the soundproof box, for example, three recording devices can be placed in the soundproof box. The frequency response analysis device collects audio through the three recording devices, retains noise caused by abnormal sound of the product to be tested, and removes noise caused by abnormal recording devices. The audio recorded by the three recording devices is separately subjected to frequency domain conversion and subtraction, so as to obtain noise signals of three sound channels. The noise signals of the three sound channels are respectively subjected to frequency domain analysis, so as to determine whether the recording devices are abnormal to cause noise.

[0113] It should be understood that the original audio can include recording audio containing the product to be tested, background noise audio, and abnormal noise. After removing the background noise audio, the frequency response analysis device also needs to remove the abnormal noise. For the frequency domain signal after removing the background noise, the frequency response analysis device can obtain the frequency range of the noise by subtracting the frequency domain of the original audio. In order to retain the noise caused by abnormal sound of the product to be tested and remove the noise caused by microphone abnormality, the frequency response analysis device can separately perform frequency domain conversion and subtraction on the audio recorded by each recording device in the soundproof box to obtain the noise signal of each channel. If the noise is caused by abnormal sound of the product, the frequency range of the noise in each channel should be approximately the same, that is, the noise signal existing in each channel is the noise signal that needs to be retained and analyzed subsequently. If the noise exists in one or two channels or all channels but the frequency range is different, it can be determined that the noise is caused by microphone abnormality. The occurrence of such noise indicates that the recording device is abnormal, and the test needs to be stopped and the signal of the recording device abnormality needs to be reported.

[0114] Further, in order to detect whether the recording device is abnormal, after the step S24, the method can further include:

[0115] Step S241: performing frequency analysis on the frequency domain signal corresponding to each audio to be converted according to the frequency domain information;

[0116] Step S242: determining whether the frequency domain range of each frequency domain signal meets a preset condition according to the frequency analysis result;

[0117] Step S243: if yes, performing the step of converting the frequency domain signal after noise reduction processing into a target time domain signal;

[0118] Step S244: if no, performing abnormal alarm according to the product code of the product to be tested.

[0119] In a specific implementation, in order to ensure the accuracy of audio recording, the frequency response analysis device can be provided with three recording devices in the soundproof box. The three recording devices can record audio of three channels. The frequency response analysis device performs frequency analysis on the frequency domain signal corresponding to each audio to be converted according to the frequency domain information. Specifically, the frequency response analysis device separately performs frequency domain conversion and subtraction on the audio recorded by the three recording devices to obtain noise signals of the three channels. If the noise is caused by abnormal sound of the product to be tested, the frequency range of the noise in the three channels should be approximately the same, that is, the noise signal existing in the three channels is the noise signal that needs to be retained and analyzed subsequently. If the noise exists in one or two channels or all channels but the frequency range is different, it can be determined that the noise is caused by recording device abnormality.

[0120] Step S25: converting the frequency domain signal after the noise reduction processing into a target time domain signal.

[0121] In a specific implementation, when performing the noise reduction processing on the frequency domain signal, the noise in the original audio that needs to be reduced by the frequency response analysis device includes the bottom noise in the soundproof box in which the product under test is located and the abnormal noise of the microphone of the recording device (the recording device can be a device used to record the original audio played by the product under test); since there can be multiple noises in the original audio, including the bottom noise of the soundproof box, the abnormal noise of the microphone caused by the abnormality of the microphone of the recording device, and the speaker noise caused by the abnormality of the speaker of the product under test, in order to accurately analyze the frequency response performance of the product under test, the frequency response analysis device only needs to retain the speaker noise and remove the bottom noise of the soundproof box and the abnormal noise of the microphone.

[0122] The embodiment determines the frequency domain information of each audio to be converted according to the frequency domain signal, obtains the bottom noise information of the soundproof box in which the product under test is currently located, filters out the bottom noise audio in each audio to be converted according to the bottom noise information and the frequency domain information, performs noise reduction processing on the frequency domain signal based on the bottom noise audio, and converts the frequency domain signal after the noise reduction processing into a target time domain signal; since the embodiment obtains the bottom noise information of the soundproof box in which the product under test is currently located, filters out the bottom noise audio in each audio to be converted according to the bottom noise information and the frequency domain information, and performs noise reduction processing on the frequency domain signal based on the bottom noise audio, the noise caused by the abnormality of the product under test is retained on the basis of removing the bottom noise, thereby ensuring the accuracy of the frequency response analysis, converting the frequency domain signal after the noise reduction processing into a target time domain signal, and improving the analysis efficiency.

[0123] Reference Figure 4 , Figure 4 FIG. 3 is a flowchart of a third embodiment of a frequency response analysis method.

[0124] Based on the first embodiment, in the embodiment, the step S30 includes:

[0125] Step S301: performing frequency point marking on the target time domain signal according to a preset interval;

[0126] Step S302: setting a frequency point threshold range according to the frequency point marking result;

[0127] Step S303: drawing a product frequency response curve of the product under test according to the frequency point marking result and the target time domain signal;

[0128] Step S304: drawing a threshold frequency response curve according to the frequency point threshold range;

[0129] Step S305: comparing the product frequency response curve with the threshold frequency response curve, and analyzing the frequency response performance of the product to be tested according to the comparison result.

[0130] It should be noted that the preset interval can be an octave, and the above octave can be an interval between two frequencies or wavelengths with a frequency or wavelength ratio of 2 or 1 / 2 on the filter characteristic curve. The product frequency response curve can be an FR curve, a THD curve and an R&B curve of the product to be tested at different frequencies.

[0131] It should be understood that the frequency response analysis device sets a frequency point threshold range for each frequency point in the target time domain signal. If the indicators of each frequency point in the target time domain signal of the product to be tested are within the frequency point threshold range, the product to be tested is determined to be a normal product. The frequency response analysis device generates an analysis report corresponding to the product to be tested according to the frequency response analysis result. The analysis reports of different products to be tested are distinguished based on the SN codes of the products to be tested. The analysis report can include a test data table, a frequency response curve, original audio and log, etc. for subsequent collection of abnormal analysis data by the frequency response analysis device. If the frequency response analysis result of the product to be tested does not meet the threshold, an analysis report is also output, and the data and audio are transmitted to the frequency response analysis device for analysis of the abnormality. At the same time, the soundproof box is opened, and the grabbing mechanism takes out the product to be tested to the problem product discharge port.

[0132] In a specific implementation, the frequency response analysis device can perform abnormal analysis on the product to be tested, obtain abnormal information according to the test data of the product to be tested, and determine the problems of the product to be tested according to the abnormal information to preliminarily process and classify the problems, so as to improve the subsequent analysis efficiency. After the product to be tested has a problem in the test, the product to be tested is marked as a problem product, the analysis report and the audio data of the problem product are obtained, the audio data of the problem product is compared with the audio data of the normal product, specifically, the audio curve of the problem product is compared with the audio curve of the normal product, and the problem reason of the problem product is determined according to the comparison result.

[0133] It should be noted that when the total harmonic distortion (THD) is less than 1%, the human ear cannot distinguish the distortion, and when the THD is greater than 10%, the distortion can be obviously heard. The frequency response device can set the maximum THD of each frequency point to be 5%. As long as the THD of the frequency point is below 5%, it means normal, and if it is greater than 5%, it means that the audio is distorted. The problem is usually caused by nonlinear elements in the circuit. Therefore, when the THD is too large, the structure of the hardware circuit or the product speaker is considered first, for example, the Fabric Cover of the speaker is not installed in place, and the gap between the mainboard devices is large, which will cause THD abnormality.

[0134] The higher harmonic distortion (R&B) is a higher harmonic distortion, and the R&B anomaly is usually related to the assembly process of the product, for example, vibration of a coil, improper installation of a shield cover, instability of a mainboard circuit device, over-tightening of a tooling clamp, different abnormal vibration frequencies caused by different abnormalities, and the like. The frequency response analysis device can record the frequencies of multiple R&B anomalies, classify the causes of the anomalies through cross verification or pressure measurement, and point glue processing is performed on the unstable parts to reduce the harmonic waves generated by vibration when playing sound.

[0135] The frequency response (FR) is a curve of sound pressure changing with frequency, and this index is mainly aimed at the problem of sound generation of the device itself. When the abnormality of the to-be-tested product appears on the FR curve and is a large range of abnormality, the problem is located to the software of the product. In this case, the audio deformation can also be heard from the audio recording, for example, no sound or suddenly disappearing or becoming smaller at a certain moment. The overall audio anomaly can be located to the software problem of the power amplifier AMP or the input signal abnormality of the loudspeaker, which causes the output signal to also be abnormal.

[0136] The frequency response analysis device draws a time domain analysis diagram, performs abnormality analysis on the time domain analysis diagram, and judges whether the THD, R&B or FR of the to-be-tested product is abnormal according to the abnormality analysis result. For THD and R&B abnormalities, there may be spurious waves outside the fundamental wave in the time domain diagram. For FR abnormalities, the abnormalities are reflected in the change of the waveform at a single moment or the drop of a point.

[0137] In this embodiment, the product frequency response curve of the to-be-tested product is drawn according to the frequency point marking result and the target time domain signal, the threshold frequency response curve is drawn according to the frequency point threshold range, the product frequency response curve is compared with the threshold frequency response curve, and the frequency response performance of the to-be-tested product is analyzed according to the comparison result. As the product frequency response curve of the to-be-tested product is drawn according to the frequency point marking result and the target time domain signal, the threshold frequency response curve is drawn according to the frequency point threshold range, the product frequency response curve is compared with the threshold frequency response curve, and the frequency response performance of the to-be-tested product is analyzed according to the comparison result, the frequency response performance of the to-be-tested product is directly reflected, and the frequency response analysis efficiency is effectively improved.

[0138] In addition, the embodiment of the present application also provides a storage medium, and the storage medium stores a frequency response analysis program. When the frequency response analysis program is executed by a processor, the steps of the frequency response analysis method described above are implemented.

[0139] Since the storage medium adopts all the technical solutions of the above-mentioned embodiments, at least all the beneficial effects brought by the technical solutions of the above-mentioned embodiments are achieved, which will not be repeated here.

[0140] Reference Figure 5 , Figure 5 is a structural block diagram of a first embodiment of the frequency response analysis device of the present application.

[0141] As shown in Figure 5 , the frequency response analysis device provided by the embodiment of the present application comprises:

[0142] An audio processing module 10 is configured to perform audio processing on the original audio played by the to-be-tested product to obtain a frequency domain signal corresponding to the original audio.

[0143] A signal noise reduction module 20 is configured to perform noise reduction processing on the frequency domain signal and convert the frequency domain signal after noise reduction processing into a target time domain signal.

[0144] A frequency response analysis module 30 is configured to analyze the frequency response performance of the to-be-tested product according to the target time domain signal.

[0145] Further, the frequency response analysis device further comprises:

[0146] A product placement module 40 is configured to control a grabbing mechanism to place the to-be-tested product in a preset soundproof box, identify a product code of the to-be-tested product, establish a communication connection between the product code and the to-be-tested product, control the to-be-tested product to play a test audio file through the communication connection, and collect original audio played by the to-be-tested product based on the test audio file.

[0147] Further, the product placement module 40 is further configured to collect images of the to-be-tested product, perform image recognition on the image collection result, obtain a product code of the to-be-tested product and a current placement position of the to-be-tested product according to the image recognition result, obtain a target placement position of the to-be-tested product according to the product code, determine whether the current placement position of the to-be-tested product is consistent with the target placement position, perform the step of establishing the communication connection between the product code and the to-be-tested product if yes, and control the grabbing mechanism to correct the current placement position of the to-be-tested product according to the target placement position if no.

[0148] Further, the audio processing module 10 is further configured to determine each to-be-converted audio in the original audio played by the to-be-tested product according to the audio collection result of the to-be-tested product, perform digital-to-analog conversion on each to-be-converted audio to obtain an initial time domain signal corresponding to each to-be-converted audio, and perform audio processing on each initial time domain signal to obtain a frequency domain signal corresponding to each to-be-converted audio.

[0149] Further, the signal noise reduction module 20 is further configured to determine frequency domain information of each audio to be converted according to the frequency domain signal; acquire background noise information of a soundproof box in which the product under test is currently located; filter out background noise audios from the audios to be converted according to the background noise information and the frequency domain information; perform noise reduction processing on the frequency domain signal based on the background noise audios; and convert the frequency domain signal after noise reduction processing into a target time domain signal.

[0150] Further, the signal noise reduction module 20 is further configured to perform frequency analysis on the frequency domain signal corresponding to each audio to be converted according to the frequency domain information; determine whether the frequency domain range of each frequency domain signal meets a preset condition according to the frequency analysis result; if yes, perform the step of converting the frequency domain signal after noise reduction processing into a target time domain signal; and if no, perform abnormal alarm according to the product code of the product under test.

[0151] Further, the frequency response analysis module 30 is further configured to mark frequency points of the target time domain signal according to a preset interval; set a frequency point threshold range according to the frequency point marking result; draw a product frequency response curve of the product under test according to the frequency point marking result and the target time domain signal; draw a threshold frequency response curve according to the frequency point threshold range; compare the product frequency response curve with the threshold frequency response curve, and analyze the frequency response performance of the product under test according to the comparison result.

[0152] The embodiment obtains the frequency domain signal corresponding to the original audio played by the product under test by performing audio processing on the original audio, performs noise reduction processing on the frequency domain signal, converts the frequency domain signal after noise reduction processing into a target time domain signal, and analyzes the frequency response performance of the product under test according to the target time domain signal. Since the original audio is processed, the frequency domain signal of the processed original audio is subjected to noise reduction processing, thereby effectively avoiding the problem that noise reduction in the time domain will damage the integrity of the audio. The frequency domain signal after noise reduction is converted into a target time domain signal, thereby ensuring the accuracy of audio analysis in the form of time domain. The frequency response performance of the product under test is analyzed according to the target time domain signal, thereby ensuring the accuracy of the product analysis result and effectively improving the product frequency response analysis efficiency.

[0153] It should be understood that the above is only an example, and the technical solutions of the present application are not limited in any way. In specific applications, those skilled in the art can set up as needed, and the present application does not limit this.

[0154] It should be noted that the above-described workflow is merely illustrative and does not limit the scope of protection of the present application, and in actual application, a person skilled in the art can select part or all of them to achieve the purpose of the embodiment scheme according to actual needs, which is not limited here.

[0155] In addition, technical details not described in detail in the present embodiment can be found in the frequency response analysis method provided by any embodiment of the present application, which will not be repeated here.

[0156] In addition, it should be noted that in this paper, the term "includes", "contains" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or system including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or includes elements inherent to such process, method, article or system. Without more limitations, the element defined by the sentence "includes a" does not exclude the presence of other identical elements in the process, method, article or system including the element.

[0157] The above-mentioned embodiment numbers of the present application are only for description, not representing the advantages and disadvantages of the embodiments.

[0158] Through the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment method can be realized by means of software and necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application or the part that contributes to the prior art can be embodied in the form of software product, which is stored in a storage medium (such as read only memory (Read Only Memory, ROM) / RAM, magnetic disc, optical disc), including a plurality of instructions for making a terminal device (which can be a mobile phone, computer, server, or network device, etc.) execute the method described in each embodiment of the present application.

[0159] The above is only the preferred embodiment of the present application, and does not limit the patent scope of the present application, and any equivalent structure or equivalent process transformation made by using the content of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A frequency response analysis method, characterized by, The frequency response analysis method comprises: controlling the grabbing mechanism to place the product to be tested in a preset soundproof box; identifying the product code of the product to be tested; establishing a communication connection between the product code and the product to be tested; controlling the product to be tested to play a test audio file through the communication connection, and collecting the original audio played by the product to be tested based on the test audio file; performing audio processing on the collected original audio played by the product to be tested to obtain a frequency domain signal corresponding to the original audio; performing noise reduction processing on the frequency domain signal, and converting the frequency domain signal after noise reduction processing into a target time domain signal; analyzing the frequency response performance of the product to be tested according to the target time domain signal; the audio processing on the collected original audio played by the product to be tested to obtain a frequency domain signal corresponding to the original audio, comprising: determining each audio to be converted in the collected original audio played by the product to be tested according to the audio collection result of the product to be tested; performing digital-to-analog conversion on each audio to be converted to obtain an initial time domain signal corresponding to each audio to be converted; performing audio processing on each initial time domain signal to obtain a frequency domain signal corresponding to each audio to be converted; the noise reduction processing on the frequency domain signal, and converting the frequency domain signal after noise reduction processing into a target time domain signal, comprising: determining the frequency domain information of each audio to be converted according to the frequency domain signal; obtaining the noise information of the soundproof box currently occupied by the product to be tested; screening out noise audio in each audio to be converted according to the noise information and the frequency domain information; performing noise reduction processing on the frequency domain signal based on the noise audio; converting the frequency domain signal after noise reduction processing into a target time domain signal; the analysis of the frequency response performance of the product to be tested according to the target time domain signal, comprising: marking the frequency points of the target time domain signal according to a preset interval; setting a frequency point threshold range according to the frequency point marking result; drawing a product frequency response curve of the product to be tested according to the frequency point marking result and the target time domain signal; drawing a threshold frequency response curve according to the frequency point threshold range; comparing the product frequency response curve with the threshold frequency response curve, and analyzing the frequency response performance of the product to be tested according to the comparison result.

2. The frequency response analysis method of claim 1, wherein, the identification of the product code of the product to be tested, comprising: image collection on the product to be tested; image recognition on the image collection result; obtaining the product code of the product to be tested and the current placement position of the product to be tested according to the image recognition result; obtaining the target placement position of the product to be tested according to the product code; judging whether the current placement position of the product to be tested is consistent with the target placement position; if yes, executing the step of establishing a communication connection between the product code and the product to be tested; if no, controlling the grabbing mechanism to correct the current placement position of the product to be tested according to the target placement position.

3. The frequency response analysis method of claim 1, wherein, after the noise reduction processing on the frequency domain signal based on the noise audio, further comprising: performing frequency analysis on the frequency domain signal corresponding to each audio to be converted according to the frequency domain information; According to the frequency analysis result, it is judged whether the frequency domain range of each frequency domain signal meets a preset condition or not. If yes, the step of converting the frequency domain signal after the noise reduction processing into a target time domain signal is performed. If no, an abnormal alarm is given according to the product code of the product under test.

4. A frequency response analysis device, characterized by comprising: The frequency response analysis device comprises: The product placement module is configured to control the grabbing mechanism to place the product under test in a preset soundproof box, identify the product code of the product under test, establish a communication connection with the product under test according to the product code, control the product under test to play a test audio file through the communication connection, and collect the original audio played by the product under test based on the test audio file. The audio processing module is configured to perform audio processing on the collected original audio played by the product under test to obtain a frequency domain signal corresponding to the original audio, and determine each audio to be converted in the original audio played by the product under test according to the audio collection result of the product under test. The signal noise reduction module is configured to perform noise reduction processing on the frequency domain signal, convert the frequency domain signal after the noise reduction processing into a target time domain signal, determine the frequency domain information of each audio to be converted according to the frequency domain signal, obtain the noise information of the soundproof box currently occupied by the product under test, filter out noise audio in each audio to be converted according to the noise information and the frequency domain information, perform noise reduction processing on the frequency domain signal based on the noise audio, and convert the frequency domain signal after the noise reduction processing into a target time domain signal. The frequency response analysis module is configured to analyze the frequency response performance of the product under test according to the target time domain signal, mark frequency points of the target time domain signal according to a preset interval, set a frequency point threshold range according to the frequency point marking result, draw a product frequency response curve of the product under test according to the frequency point marking result and the target time domain signal, draw a threshold frequency response curve according to the frequency point threshold range, compare the product frequency response curve with the threshold frequency response curve, and analyze the frequency response performance of the product under test according to the comparison result.

5. A frequency response analysis device, characterized by, The frequency response analysis device comprises a memory, a processor, and a frequency response analysis program stored on the memory and executable on the processor, and the frequency response analysis program is configured to implement the frequency response analysis method of any one of claims 1 to 3.

6. A storage medium, characterized by The storage medium stores a frequency response analysis program, and the frequency response analysis program is executed by the processor to implement the frequency response analysis method of any one of claims 1 to 3.

Citation Information

Patent Citations

  • Apparatus for testing phonating equipment capable of reducing noise and test method thereof

    CN101355829A

  • Sound effect test machine

    CN204206464U