A method, system and storage medium for detecting noise of electroacoustic device

By performing power spectrum image processing on the acoustic signals of electroacoustic devices, extracting the sound area and calculating the pixel area, the problem of low manual detection accuracy in the prior art is solved, and automated and accurate noise detection of electroacoustic devices is realized.

CN115361646BActive Publication Date: 2025-02-11XIAMEN TUNESS ELECTRIC CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210916575.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-01
Publication Date
2025-02-11
Estimated Expiration
2042-08-01

AI Technical Summary

Technical Problem

The sound quality detection of existing electroacoustic devices relies on manual operation, has low accuracy and is susceptible to external interference, making it difficult to effectively identify noises with low frequency or loudness.

Method used

By obtaining the acoustic signal of the electroacoustic device, converting it into a power spectrum signal, and extracting the sounding area after imageization, calculating the pixel area that satisfies a specific threshold interval, and judging the sounding quality of the electroacoustic device.

Benefits of technology

It realizes automated and accurate noise detection of electroacoustic devices, reduces manual misjudgment, and improves detection efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115361646B_ABST
    Figure CN115361646B_ABST
Patent Text Reader

Abstract

The present invention relates to a method, system and storage medium for detecting noise of an electroacoustic device, comprising the following steps: obtaining a sound signal emitted or obtained by an electroacoustic device to be tested; visualizing the sound signal; extracting a sound emission area in the power spectrum image, and calculating a first pixel area within the sound emission area that satisfies a first threshold interval, and if the first pixel area satisfies a normal sound emission threshold interval, the electroacoustic device to be tested is determined to be qualified, and if not, the electroacoustic device to be tested is determined to be abnormal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of sound quality detection, and in particular to a method, system and storage medium for detecting noise of an electroacoustic device. Background Art

[0002] Electroacoustic devices refer to devices that convert electricity and sound into each other. They use electromagnetic induction, electrostatic induction or piezoelectric effect to complete the electroacoustic conversion, including speakers, headphones, microphones, cartridges, etc. Electroacoustic devices are generally composed of a vibration system and a magnetic circuit system. By introducing electrical signals into the vibration system, the vibration system and the magnetic circuit system generate magnetic fields that repel or attract each other, thereby driving the diaphragm to vibrate and produce sound.

[0003] The structure of electroacoustic devices is precise, and after the electroacoustic device is prepared, it needs to be tested for sound quality to detect whether the sound it emits has noise, etc. The existing testing process relies on manual work, which requires manual connection of the speaker to the corresponding drive circuit, and the drive circuit drives the speaker to emit a certain regular sound, and then the human ear is used to test it. If there is noise, it is judged as unqualified. The disadvantages of this are that, on the one hand, workers need to be trained to identify how to judge the sound emitted by the electroacoustic device as noise, and on the other hand, the accuracy of human ear testing is low, which is easily affected by external interference, and some frequencies or loudness are difficult for the human ear to hear.

[0004] The purpose of the present invention is to design a noise detection method, system and storage medium for electroacoustic devices in view of the above-mentioned problems in the prior art. Summary of the invention

[0005] In view of the problems existing in the above-mentioned prior art, the present invention provides a method, system and storage medium for detecting noise of an electroacoustic device, which can effectively solve the problems existing in the above-mentioned prior art.

[0006] The technical solution of the present invention is:

[0007] A method for detecting noise of an electroacoustic device comprises the following steps:

[0008] Obtaining the acoustic signal emitted or obtained by the electroacoustic device to be tested;

[0009] imaging the acoustic signal;

[0010] A sound emission area is extracted from the power spectrum image, and a first pixel area in the sound emission area that satisfies a first threshold interval is calculated. If the first pixel area satisfies a normal sound emission threshold interval, the electroacoustic device to be tested is determined to be qualified; if not, the electroacoustic device to be tested is determined to be abnormal.

[0011] Furthermore, the acoustic signal is a single or multiple acoustic signals whose frequencies gradually increase and then gradually decrease, and imaging the acoustic signal includes: converting the acoustic signal into a power spectrum signal to obtain a power spectrum image showing the power spectrum signal.

[0012] Furthermore, before extracting the sounding area in the power spectrum image, it includes: finding the highest frequency line corresponding to the sound signal in the power spectrum image;

[0013] Extracting the sound emission area in the power spectrum image includes: selecting the area where energy is mainly distributed in the power spectrum image with the highest frequency line as the center line, and extracting the frequency response area sensitive to the human ear as the sound emission area in the area where energy is mainly distributed.

[0014] Further, the step of finding the highest frequency line corresponding to the acoustic signal in the power spectrum image includes:

[0015] Find the highest frequency point corresponding to the area with the highest energy in the power spectrum image, and use the vertical line where the highest frequency point is located as the highest frequency line; or

[0016] The highest frequency point corresponding to the acoustic signal in the power spectrum image is found through template matching, and the vertical line where the highest frequency point is located is used as the highest frequency line.

[0017] Furthermore, the method of selecting an area in the power spectrum image where energy is mainly distributed with the highest frequency line as a center line, and extracting a frequency response area that is sensitive to the human ear as a sound emission area in the area where energy is mainly distributed includes: extracting power spectrum images of a plurality of qualified electroacoustic devices, counting the areas in the power spectrum images of the qualified electroacoustic devices where energy is mainly distributed, obtaining an energy main distribution graph corresponding to the area in the power spectrum images of the qualified electroacoustic devices where energy is mainly distributed, and selecting the energy main distribution graph in the power spectrum image of the electroacoustic device to be tested with the highest frequency line as a center line as the area in which energy is mainly distributed in the electroacoustic device to be tested.

[0018] Furthermore, after obtaining the power spectrum image showing the power spectrum signal and before extracting the sounding area in the power spectrum image, performing: grayscale processing on the power spectrum image to obtain a grayscale power spectrum image and a relationship between energy and grayscale;

[0019] The calculating of the first pixel area within the sound emission area that satisfies the first threshold interval includes: extracting a plurality of first pixel areas that satisfy the first threshold interval according to the relationship between the energy and the grayscale, and calculating the sum of the areas of the plurality of first pixel areas to obtain the first pixel area.

[0020] Further, the first threshold interval is a frequency of 5 kHz to 8 kHz and a loudness of -60 dB to -75 dB.

[0021] Furthermore, the normal sounding threshold interval is a main energy pixel area ratio interval obtained by counting the area where energy is mainly distributed in the power spectrum image of the qualified electroacoustic device.

[0022] A noise detection system for an electroacoustic device is further provided, comprising the following modules:

[0023] An acquisition module, used to acquire the acoustic signal emitted or received by the electroacoustic device to be tested;

[0024] A conversion module, used for converting the acoustic signal into a power spectrum signal to obtain a power spectrum image showing the power spectrum signal;

[0025] The noise calculation module is used to extract the sound emission area in the power spectrum image, calculate the first pixel area within the sound emission area that satisfies the first threshold interval, and if the first pixel area satisfies the normal sound emission threshold interval, it is determined that the electroacoustic device to be tested is qualified; if not, it is determined that the electroacoustic device to be tested is abnormal.

[0026] A computer-readable storage medium is further provided, storing a computer program, wherein the computer program, when executed by a processor, implements the electroacoustic device noise detection method.

[0027] Therefore, the present invention provides the following effects and / or advantages:

[0028] The present invention converts the sound signal into a power spectrum signal, extracts each area in the power spectrum signal, and uses the meaning of the corresponding pixels in each area and the area of ​​the pixels that should appear in each area as the judgment of the sound quality of the electroacoustic device, so as to simply and quickly identify the noise of the speaker. The present invention makes the entire process of manual detection intelligent and programmed, and the quality of the electroacoustic device can be judged by recording and signal analysis through corresponding equipment.

[0029] The present invention uses a signal with a high frequency first and a low frequency later to drive the electroacoustic device to obtain a corresponding sound signal, which facilitates the method to find each area and can also drive and obtain multiple sound signals, thereby reducing the possibility of irregular abnormalities in the electroacoustic device.

[0030] The present invention obtains the coordinate area corresponding to the sound emission area and the area of ​​the pixels that should exist in the sound emission area in a statistical manner, which can be applied to different electroacoustic devices to determine their required parameters and used in each step of the present invention.

[0031] It is to be understood that both the foregoing general description and the following detailed description of the present invention are exemplary and explanatory and are intended to provide further explanation of the invention as claimed. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 It is a schematic diagram of the method flow of the present invention.

[0033] Figure 2 The figure is a logical schematic diagram of the method of the present invention.

[0034] Figure 3 A schematic diagram of the power spectrum of a loudspeaker.

[0035] Figure 4 A schematic diagram of one of the sound-producing areas.

[0036] Figure 5 A schematic diagram of the power spectrum of a qualified loudspeaker.

[0037] Figure 6 for Figure 5 A partial enlarged schematic diagram of .

[0038] Figure 7 for Figure 8 or Fig. 9 Plot of calculated area data.

[0039] Figure 8 A schematic diagram of the power spectrum of a loudspeaker with noise.

[0040] Fig. 9 for Figure 8 A partial enlarged view of .

[0041] Fig.10 for Figure 8 or Fig. 9 Plot of calculated area data.

[0042] Fig.11 The contour map used for template matching.

[0043] Figure 12-16 This is an experimental data diagram of the present invention. DETAILED DESCRIPTION

[0044] To facilitate understanding by those skilled in the art, the present invention will now be further described in detail with reference to the embodiments and accompanying drawings. It should be understood that the steps mentioned in this embodiment, unless otherwise specified in their order, can be adjusted in order according to actual needs, and can even be executed simultaneously or partially simultaneously.

[0045] refer to Figure 1-2 , a method for detecting noise of an electroacoustic device, comprising the following steps:

[0046] S1, obtaining an acoustic signal emitted or obtained by the electroacoustic device to be tested, and saving the acoustic signal.

[0047] In this step, the electroacoustic device can be a device that converts an electrical signal into an acoustic signal, such as a speaker or a horn. In this case, the acoustic signal emitted by the electroacoustic device needs to be obtained. The electroacoustic device can also be a device that converts an acoustic signal into an electrical signal, such as a microphone. In this case, the acoustic signal obtained by the electroacoustic device needs to be obtained. The type of electroacoustic device is not limited here. The working principle of the electroacoustic device is a prior art and will not be elaborated here.

[0048] Install the electroacoustic device to be tested on the test instrument, electrically connect the corresponding circuit of the test instrument to the electroacoustic device, and then save the acoustic signal of the electroacoustic device to be tested by inputting the corresponding electrical signal to drive the electroacoustic device to send an acoustic signal or receiving the acoustic signal obtained by the electroacoustic device. The saving method can be recording. If the electroacoustic device is a device that converts electrical signals into acoustic signals, the test instrument can be a cavity, and sound-absorbing cotton is set on the inner wall of the cavity to prevent external noise. The electroacoustic device emits sound into the cavity, and then the microphone set in the cavity records the sound to obtain an acoustic signal, and then the acoustic signal is processed by corresponding software. If the electroacoustic device is a device that converts acoustic signals into electrical signals, the test instrument can be a cavity, and the speaker set in the cavity emits sound to the electroacoustic device, and then the electroacoustic device records the sound to obtain an acoustic signal, and then the acoustic signal is processed by corresponding software.

[0049] The electroacoustic device of this embodiment is taken as an example of a loudspeaker.

[0050] S2, imaging the acoustic signal;

[0051] This step can be achieved by converting the acoustic signal into a power spectrum signal and obtaining a power spectrum image showing the power spectrum signal.

[0052] In this step, the acoustic signal can be converted into a frequency domain signal by Fourier transform, and then the frequency domain signal can be converted into a power spectrum signal by calculating the energy density of the frequency domain signal. This conversion method is a prior art. The horizontal axis represents time, the vertical axis represents frequency, and the color of the power spectrum represents the corresponding loudness power spectrum signal. Figure 3 Color pictures shown.

[0053] Furthermore, the acoustic signal is a single or multiple acoustic signals whose frequencies gradually increase and then gradually decrease. Figure 3The acoustic signal shown is an acoustic signal whose frequency rises and then falls within 0.5 seconds. In order to facilitate observation and expand the inspection range, the acoustic signal can be repeated multiple times. A sweep frequency meter can generate a driving signal with a frequency of 100-2kHz and a constant voltage range. Through the sound resonance in the speaker, the speaker can emit a higher frequency acoustic signal. Different impedance matching voltage ranges are required for different speakers, such as 3.2V-3.4V.

[0054] S3, extracting a sound emission area from the power spectrum image, calculating a first pixel area within the sound emission area that satisfies a first threshold interval, and if the first pixel area satisfies a normal sound emission threshold interval, determining that the electroacoustic device to be tested is qualified; if not, determining that the electroacoustic device to be tested is abnormal.

[0055] In this step, first, the sound emission area is extracted from the power spectrum image. The sound emission area refers to the area that the human ear can perceive. For example, the sound range that the human ear can hear is 20Hz-20kHz, and the frequency range of the sound emission area should also be 20Hz-20kHz. At the same time, since the speaker used in this embodiment is a device for small electronic products such as mobile phones, its volume is also small, and the vibration generated by the speaker is also small, so it is difficult for the low-frequency part to be perceived by the human ear. Therefore, this step does not limit the specific frequency range of the sound emission area, and it only needs to be appropriately selected according to the type and volume of the speaker. At the same time, since the human ear can easily perceive the sound signal within a certain loudness range, the sound signal outside the loudness range is not easy to be perceived or even cannot be perceived by the human ear. Therefore, only the area within a certain frequency range in the sound signal and most of the loudness is greater than a certain threshold is selected as the occurrence area. For example, this embodiment uses a frequency range of 5kHz-8kHz and a range of 0.23 seconds centered on the highest frequency as the sound emission area. In other embodiments, it is only necessary to select the range according to the characteristics of the sound signal and the speaker.

[0056] Then, the first pixel that satisfies the first threshold interval is searched in the sound emission area. The pixel that satisfies the first threshold interval indicates that the speaker emits a sound of corresponding frequency and loudness in the occurrence area. For a qualified speaker, the sound signals emitted according to the same driving signal should be roughly the same, and the power spectra obtained by conversion should also be roughly the same. Then, the total area of ​​the first pixel that satisfies the first threshold interval is obtained to obtain the first pixel area, which represents the corresponding sound emitted by the speaker in the occurrence area. In this embodiment, the first threshold interval is 0 to -75dB. Figure 5 As shown, this step obtains Figure 5 The results shown, Figure 6 for Figure 5 A partial enlarged view of . Figure 6The framed portion represents the region where the first pixel identified in this step is located, and the area of ​​the first pixel can be obtained by calculating the framed area.

[0057] Finally, if the first pixel area meets the normal sound threshold interval, it is determined to be normal, if not, the electroacoustic device to be tested is determined to be abnormal. If the corresponding sound emitted by the speaker in the generation area meets the requirements, then its first pixel area meets the normal sound threshold interval, indicating that the corresponding sound is emitted in the corresponding sound interval. If the corresponding sound emitted by the speaker in the generation area does not meet the requirements, then its first pixel area does not meet the normal sound threshold interval, indicating that the sound emitted in the corresponding sound interval lacks certain sounds or contains certain noises.

[0058] The sound within the first threshold interval is prone to noise, with various frequencies of sound superimposed and resonating. The sound within the second threshold interval is not easily detected by the human ear. Therefore, in this embodiment, the first threshold interval and the second threshold interval are limited to the range of the above parameters.

[0059] The present invention converts the sound signal into a power spectrum signal, and then extracts each area in the power spectrum signal, the meaning represented by the corresponding pixels in each area, and the area of ​​the pixels that should appear in each area as the sound quality of the electroacoustic device, which can be simply and quickly identified.

[0060] The following are some directions in which this application can be optimized.

[0061] Specifically, before extracting the sound emission area in the power spectrum image, the process includes: finding the highest frequency line corresponding to the sound signal in the power spectrum image; the highest frequency line represents the position of the highest frequency of the signal used for driving. Since the present embodiment adopts a driving signal that first increases and then decreases the frequency, the symmetry line within a sound cycle can be found by finding the highest frequency line, and then the symmetry line within a sound cycle can be found using this line as the center line, and then the subsequent areas can be found.

[0062] Extracting the sound emission area in the power spectrum image includes: selecting the area where energy is mainly distributed in the power spectrum image with the highest frequency line as the center line, and extracting the frequency response area sensitive to human ears in the area where energy is mainly distributed as the sound emission area;

[0063] Due to the symmetry of the driving sound signal, the distribution of energy in the power spectrum on the highest frequency line is also roughly symmetrical. Using the highest frequency line as the center line to select the area where the energy is mainly distributed in the power spectrum image can better find the appropriate area and prevent missing, multiple selection, and wrong selection. At the same time, if the highest frequency line cannot be found, it can also be judged as unqualified.

[0064] Specifically, the step of searching for the highest frequency line corresponding to the acoustic signal in the power spectrum image includes:

[0065] The first method is to find the highest frequency point corresponding to the area with the highest energy in the power spectrum image, and use the vertical line where the highest frequency point is located as the highest frequency line; as mentioned above, the power spectrum image is represented by a number of peak-shaped curves with energy concentrated in the frequency that is first high and then low, so finding the highest point in the peak-shaped curve may be used to connect to form the highest frequency line.

[0066] Alternatively, the second method is to find the highest frequency point corresponding to the acoustic signal in the power spectrum image by template matching, and use the vertical line where the highest frequency point is located as the highest frequency line. Fig.11 , Fig.11 A contour template with higher loudness and the highest frequency in the power spectrum image is stored. Fig.11 The highest frequency line can be obtained by performing template matching, and the template matching technology is adopted in the existing technology.

[0067] Specifically, the method of selecting an area where energy is mainly distributed in the power spectrum image with the highest frequency line as the center line, and extracting a frequency response area that is sensitive to the human ear as a sound emission area in the area where energy is mainly distributed includes: extracting power spectrum images of a plurality of qualified electroacoustic devices, counting the areas where energy is mainly distributed in the power spectrum images of the qualified electroacoustic devices, obtaining an energy main distribution graph corresponding to the area where energy is mainly distributed in the power spectrum images of the qualified electroacoustic devices, and selecting the energy main distribution graph with the highest frequency line as the center line in the power spectrum image of the electroacoustic device to be tested as the area where energy is mainly distributed in the electroacoustic device to be tested;

[0068] Specifically, after obtaining the power spectrum image showing the power spectrum signal and before extracting the utterance area in the power spectrum image, performing:

[0069] The power spectrum image is grayed to obtain a gray power spectrum image and the relationship between energy and gray. In this step, the power spectrum image is grayed to obtain a black and white power spectrum image for the convenience of subsequent calculations. Figure 3 The relationship between color and power in the black and white image shown on the right. This relationship can be used to determine the loudness corresponding to each pixel in the black and white power spectrum.

[0070] The calculation of the first pixel area in the sound emission area that satisfies the first threshold interval includes: extracting a number of first pixel areas that meet the first threshold interval according to the relationship between the energy and the grayscale, and calculating the sum of the areas of the first pixel areas to obtain the first pixel area; in this step, the first threshold interval mentioned above is 0 to -75dB, and the relationship between energy and grayscale is used to obtain what kind of grayscale pixels can fall into the first threshold interval. For example, in the relationship between energy and grayscale obtained in this embodiment, pixels with a grayscale value less than 40 represent 0 to -75dB.

[0071] Specifically, the first threshold interval is a frequency of 5 kHz to 8 kHz and a loudness of -60 dB to -75 dB.

[0072] Specifically, the normal sound threshold interval is the main energy pixel area ratio interval obtained by counting the area where the energy is mainly distributed in the power spectrum image of the qualified electroacoustic device. This step is to statistically count the area where the energy is mainly distributed in the power spectrum image of the qualified electroacoustic device. In the power spectrum obtained after the electroacoustic device correctly pronounces, its energy distribution and energy intensity should be in a reasonable interval, and the main energy pixel area ratio interval is obtained by counting the interval.

[0073] A computer-readable storage medium is further provided, storing a computer program, wherein the computer program, when executed by a processor, implements the electroacoustic device noise detection method.

[0074] A sound quality detection system for an electroacoustic device is further provided, characterized in that it comprises the following modules:

[0075] An acquisition module, used to acquire the acoustic signal emitted or received by the electroacoustic device to be tested;

[0076] A conversion module, used for converting the acoustic signal into a power spectrum signal to obtain a power spectrum image showing the power spectrum signal;

[0077] The noise calculation module is used to extract the sound emission area in the power spectrum image, calculate the first pixel area within the sound emission area that satisfies the first threshold interval, and if the first pixel area satisfies the normal sound emission threshold interval, it is determined that the electroacoustic device to be tested is qualified; if not, it is determined that the electroacoustic device to be tested is abnormal.

[0078] Experimental data

[0079] refer to Figure 5-7 , Figure 7 According to Figure 5 The coordinates and areas of each region occupied by the calculated first pixel area can be obtained by calculating the sum of the areas of each region. Figure 5The first pixel area shown meets the normal voice threshold range and is determined to be normal. Figure 8-10 , Figure 8 The first pixel area calculated by the loudspeaker shown is smaller than the normal sound threshold interval, indicating that the loudspeaker lacks some sound and is determined to be abnormal.

[0080] refer to Figure 12-16 , Fig.12 This is the power spectrum image of another speaker. Fig.13 In the power spectrum image, there is extra noise, which is perceived by the human ear as collision sound and noise from the speaker, and is judged as unqualified by this method. Fig.14 , 15 In 16, the power spectrum image shows a lot of noise or the sound does not meet the requirements. The human ear perceives that the sound emitted by the speaker is impure and is judged as unqualified by this method.

[0081] The method provided by this application is compared with the manual detection method. The results of three batches of manual detection are shown in Table 1. There is a false positive rate in manual detection. However, the detection results of the same three batches of speakers by this application are exactly the same as the real results, and there is no false positive rate. At the same time, the detection is fast. The use of this method greatly reduces the detection time, including the time to play the sound through the speaker, which is about 2 seconds in total.

[0082]

[0083] Table 1

[0084] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0085] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0086] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0087] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0088] It should be noted that in the claims, any reference signs placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claim. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.

[0089] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0090] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

[0091] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0092] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms should not be understood as necessarily referring to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

Claims

1. A method for detecting noise of an electroacoustic device, characterized in that: The following steps are involved: Obtaining the acoustic signal emitted or obtained by the electroacoustic device to be tested; imaging the acoustic signal; The imaging of the acoustic signal comprises: converting the acoustic signal into a power spectrum signal to obtain a power spectrum image showing the power spectrum signal; Extracting a sounding region from the power spectrum image, calculating a first pixel area in the sounding region that satisfies a first threshold interval, and if the first pixel area satisfies a normal sounding threshold interval, determining that the electroacoustic device to be tested is qualified; if not, determining that the electroacoustic device to be tested is abnormal; The acoustic signal is a single or multiple acoustic signals whose frequencies gradually increase and then gradually decrease; Before extracting the sounding area in the power spectrum image, it includes: finding the highest frequency line corresponding to the sound signal in the power spectrum image; Extracting the sound emission area in the power spectrum image includes: selecting the area where energy is mainly distributed in the power spectrum image with the highest frequency line as the center line, and extracting the frequency response area sensitive to human ears in the area where energy is mainly distributed as the sound emission area; The step of finding the highest frequency line corresponding to the acoustic signal in the power spectrum image comprises: Find the highest frequency point corresponding to the area with the highest energy in the power spectrum image, and use the vertical line where the highest frequency point is located as the highest frequency line; or find the highest frequency point corresponding to the acoustic signal in the power spectrum image by template matching, and use the vertical line where the highest frequency point is located as the highest frequency line; The method of selecting the area where energy is mainly distributed in the power spectrum image with the highest frequency line as the center line, and extracting the frequency response area sensitive to the human ear as the sound emission area in the area where energy is mainly distributed includes: extracting power spectrum images of multiple qualified electroacoustic devices, counting the areas where energy is mainly distributed in the power spectrum images of the qualified electroacoustic devices, obtaining the energy main distribution graph corresponding to the area where energy is mainly distributed in the power spectrum images of the qualified electroacoustic devices, and selecting the energy main distribution graph with the highest frequency line as the center line in the power spectrum image of the electroacoustic device to be tested as the area where energy is mainly distributed in the electroacoustic device to be tested; After obtaining the power spectrum image showing the power spectrum signal and before extracting the sounding area in the power spectrum image, performing: grayscale processing on the power spectrum image to obtain a grayscale power spectrum image and a relationship between energy and grayscale; The calculating of the first pixel area within the sound emission area that satisfies the first threshold interval includes: extracting a plurality of first pixel areas that satisfy the first threshold interval according to the relationship between the energy and the grayscale, and calculating the sum of the areas of the plurality of first pixel areas to obtain the first pixel area.

2. The method for detecting noise of an electroacoustic device according to claim 1, characterized in that: The first threshold interval is a frequency of 5kHz to 8kHz and a loudness of -60dB to -75dB.

3. The method for detecting noise of an electroacoustic device according to claim 1, characterized in that: The normal sounding threshold interval is a main energy pixel area ratio interval obtained by counting the area where energy is mainly distributed in the power spectrum image of the qualified electroacoustic device.

4. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for detecting noise of an electroacoustic device as described in any one of claims 1 to 3 is implemented.

Citation Information

Patent Citations

  • Abnormal sound detection method and device, electronic equipment and storage medium

    CN112233692A

  • Unusual sound inspection method and unusual sound inspection apparatus

    JP2006133115A