CN113382348B - Earphone detection method, device and system and computer readable storage medium - Google Patents

Earphone detection method, device and system and computer readable storage medium Download PDF

Info

Publication number
CN113382348B
CN113382348B CN202110583849.6A CN202110583849A CN113382348B CN 113382348 B CN113382348 B CN 113382348B CN 202110583849 A CN202110583849 A CN 202110583849A CN 113382348 B CN113382348 B CN 113382348B
Authority
CN
China
Prior art keywords
earphone
signal
tested
detection result
output signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110583849.6A
Other languages
Chinese (zh)
Other versions
CN113382348A (en
Inventor
喻招军
冷明星
王丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Horn Audio Co Ltd
Original Assignee
Shenzhen Horn Audio Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Horn Audio Co Ltd filed Critical Shenzhen Horn Audio Co Ltd
Priority to CN202110583849.6A priority Critical patent/CN113382348B/en
Publication of CN113382348A publication Critical patent/CN113382348A/en
Application granted granted Critical
Publication of CN113382348B publication Critical patent/CN113382348B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Headphones And Earphones (AREA)

Abstract

The application discloses a detection method, a device, a system and a computer readable storage medium of an earphone, the detection method of the earphone firstly inputs a test signal to a tested earphone, the test signal is the input signal of the tested earphone, then the volume of the tested earphone is adjusted, the volume of the tested earphone is enabled to be uniformly changed in unit time, in the process of adjusting the volume of the tested earphone, a first output signal of a first earphone channel and a second output signal of a second earphone channel of the tested earphone are collected, then a detection result of the tested earphone is determined according to the first output signal and the second output signal, wherein the detection result at least comprises one of the following steps: the first earphone channel noise is abnormal, and the second earphone channel noise is abnormal. The condition that noise occurs in the earphone in the adjusting process of the volume potentiometer of the earphone can be detected.

Description

Earphone detection method, device and system and computer readable storage medium
Technical Field
The present application relates to the field of earphone technologies, and in particular, to a method, an apparatus, a system and a computer-readable storage medium for detecting an earphone.
Background
Defective products can be generated inevitably in the production process of the earphones, and the earphones need to be detected before the earphone products leave a factory so as to intercept the defective products. At present, the detection method of the earphone mainly adopts an impedance measurement method, can detect problems of sound interruption failure, left and right channel imbalance failure and the like in the adjustment process of a volume potentiometer of the earphone, but cannot detect the problem of noise failure, and the problem of noise failure at present mainly depends on artificial listening to detect, so that misjudgment is easy to occur.
Disclosure of Invention
The present application is directed to solving at least one of the problems in the prior art. Therefore, the application provides a detection method, a device, a system and a computer readable storage medium for the earphone, which can detect the noise of the earphone during the adjustment process of the volume potentiometer of the earphone.
An embodiment of a first aspect of the present application provides a detection method for an earphone, including:
inputting a test signal to a tested earphone, wherein the test signal is the input signal of the tested earphone;
adjusting the volume of the earphone to be measured to enable the volume of the earphone to be measured to be uniformly changed in unit time;
collecting a first output signal of a first earphone channel and a second output signal of a second earphone channel of the earphone to be tested in the process of adjusting the volume of the earphone to be tested;
determining a detection result of the earphone to be detected according to the first output signal and the second output signal; wherein, the detection result at least comprises one of the following: the noise of the first earphone channel is abnormal, and the noise of the second earphone channel is abnormal.
The detection method of the earphone according to the embodiment of the first aspect of the application has at least the following beneficial effects: the method for detecting the earphone includes inputting a test signal to the earphone to be detected, the test signal being an input signal of the earphone to be detected, adjusting the volume of the earphone to be detected, enabling the volume of the earphone to be detected to be uniformly changed in unit time, collecting a first output signal of a first earphone channel and a second output signal of a second earphone channel of the earphone to be detected in the process of adjusting the volume of the earphone to be detected, and determining a detection result of the earphone to be detected according to the first output signal and the second output signal, wherein the detection result at least comprises one of the following steps: the first earphone channel is abnormal in noise, and the second earphone channel is abnormal in noise. The detection method of the earphone can detect the noise of the earphone in the adjustment process of the volume potentiometer of the earphone.
According to some embodiments of the first aspect of the present application, the determining a detection result of the headset under test according to the first output signal and the second output signal comprises:
acquiring a first effective signal in the first output signal;
acquiring a second effective signal in the second output signal;
and determining the detection result of the tested earphone according to the first effective signal and the second effective signal.
According to some embodiments of the first aspect of the present application, the determining a detection result of the tested headset according to the first valid signal and the second valid signal includes:
performing fast Fourier transform on the first effective signal, and calculating to obtain a first power spectrum;
obtaining a first polar coordinate component curve according to the first power spectrum;
and if the first polar coordinate component curve has burrs, determining that the detection result is that the noise of the first earphone channel is abnormal.
The determining the detection result of the tested earphone according to the first effective signal and the second effective signal includes:
performing fast Fourier transform on the second effective signal, and calculating to obtain a second power spectrum;
obtaining a second polar coordinate component curve according to the second power spectrum;
and if the second polar coordinate component curve has burrs, determining that the detection result is that the noise of the second earphone channel is abnormal.
According to some embodiments of the first aspect of the present application, the detection result further comprises: the earphone balance degree is abnormal; the determining the detection result of the tested earphone according to the first effective signal and the second effective signal further includes:
calculating the difference value of decibel values corresponding to the first effective signal and the second effective signal at the same moment;
obtaining a balance curve of the tested earphone according to the difference value of the decibel values;
and if the maximum value of the balance degree curve is larger than a preset threshold value, determining that the detection result is that the earphone balance degree is abnormal.
According to some embodiments of the first aspect of the present application, the calculating a difference between decibel values corresponding to the same time instant of the first effective signal and the second effective signal includes:
equally dividing the first effective signal and the second effective signal into a plurality of sections;
respectively calculating the mean value of the difference values of the decibel values corresponding to each section of the first effective signal and the second effective signal;
and obtaining a balance curve of the tested earphone according to the difference value of the decibel values, wherein the balance curve comprises:
and obtaining the balance degree curve according to the average value of each section.
According to some embodiments of the first aspect of the present application, the adjusting the volume of the measured earphone so that the volume of the measured earphone is uniformly changed in a unit time includes:
and adjusting the volume of the earphone to be measured to enable the volume of the earphone to be measured to be uniformly increased from the minimum to the maximum.
The embodiment of the second aspect of the present application provides a detection apparatus for an earphone, including:
the signal input module is used for inputting a test signal to a tested earphone, wherein the test signal is the input signal of the tested earphone;
the volume adjusting module is used for adjusting the volume of the earphone to be measured so that the volume of the earphone to be measured can be uniformly changed in unit time;
the signal acquisition module is used for acquiring a first output signal of a first earphone channel and a second output signal of a second earphone channel of the earphone to be detected in the process of adjusting the volume of the earphone to be detected;
the detection module is used for determining the detection result of the earphone to be detected according to the first output signal and the second output signal; wherein, the detection result at least comprises one of the following: the noise of the first earphone channel is abnormal, and the noise of the second earphone channel is abnormal.
An embodiment of a third aspect of the present application provides a detection system for an earphone, including:
at least one memory;
at least one processor;
at least one program;
the programs are stored in the memory, and the processor executes at least one of the programs to implement the detection method of the headset according to any embodiment of the first aspect of the present application.
A fourth aspect of the present application provides a computer-readable storage medium storing computer-executable signals for:
a method of detecting a headset according to any embodiment of the first aspect of the present application is performed.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
Additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flow chart of a detection system of a headset according to some embodiments of the first aspect of the present application;
fig. 2 is a flow chart of a method for detecting a headset according to some embodiments of the first aspect of the present application;
fig. 3 is a flow chart of a method for detecting a headset according to some embodiments of the first aspect of the present application;
fig. 4 is a flow chart of a method for detecting a headset according to some embodiments of the first aspect of the present application;
fig. 5 is a flowchart of a detection method of a headset according to some embodiments of the first aspect of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different from that in the flowcharts. The terms etc. in the description and claims and the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In the description of the present application, if there are first and second descriptions for distinguishing technical features, the description should not be interpreted as indicating or implying any relative importance or implying any number of indicated technical features or implying any precedence over indicated by the indicated technical features.
In the description of the present application, unless otherwise expressly limited, terms such as set, mounted, connected and the like should be construed broadly, and those skilled in the art can reasonably determine the specific meaning of the terms in the present application by combining the detailed contents of the technical solutions.
Referring to fig. 1, an embodiment of the first aspect of the present application provides a detection method for an earphone, including, but not limited to, step S110, step S120, step S130, and step S140.
Step S110, inputting a test signal to a tested earphone;
step S120, adjusting the volume of the earphone to be measured to ensure that the volume of the earphone to be measured is uniformly changed in unit time;
step S130, collecting a first output signal of a first earphone channel and a second output signal of a second earphone channel of the earphone to be tested in the process of adjusting the volume of the earphone to be tested;
step S140, determining a detection result of the detected earphone according to the first output signal and the second output signal.
Wherein, the detection result at least comprises one of the following: the noise of the first earphone channel is abnormal, and the noise of the second earphone channel is abnormal.
It can be understood that, in the detection method for an earphone according to the embodiment of the first aspect of the present application, a test signal is first input to the earphone to be tested, the test signal is an input signal of the earphone to be tested, then the volume of the earphone to be tested is adjusted, so that the volume of the earphone to be tested is uniformly changed in unit time, in the process of adjusting the volume of the earphone to be tested, a first output signal of a first earphone channel and a second output signal of a second earphone channel of the earphone to be tested are collected, and then a detection result of the earphone to be tested is determined according to the first output signal and the second output signal, where the detection result at least includes one of the following: the first earphone channel noise is abnormal, and the second earphone channel noise is abnormal. The detection result at least comprises one of the following: the noise of the first earphone channel is abnormal, and the noise of the second earphone channel is abnormal. The detection method of the earphone can detect the noise of the earphone in the adjustment process of the volume potentiometer of the earphone, and compared with manual listening detection, the detection method of the earphone can accurately detect whether the detected earphone generates noise or not through analysis of the first output signal and the second output signal, and can accurately detect whether the noise of the first earphone channel is abnormal or the noise of the second earphone channel is abnormal or the noise of both the first earphone channel and the second earphone channel is abnormal.
It can be understood that, in the detection result, the noise of the first headphone channel is abnormal, which indicates that the noise occurs in the first headphone channel; and the noise of the second earphone channel is abnormal, which indicates that the noise of the second earphone channel occurs. The first earphone channel is a left channel of the earphone, the second earphone channel is a right channel of the earphone, or the first earphone channel is a right channel of the earphone, and the second earphone channel is a left channel of the earphone.
It is understood that step S120 includes: and adjusting the volume of the earphone to be measured to increase the volume of the earphone to be measured from the minimum to the maximum. The volume of the earphone to be measured is uniformly adjusted from the minimum to the maximum by adjusting the volume potentiometer of the earphone to be measured, so that the volume of the earphone to be measured is uniformly changed from the minimum to the maximum, the speed of adjusting the volume potentiometer can be 8 r/min or other speeds, and a person skilled in the art can set the speed of adjusting the volume potentiometer according to actual conditions.
It is understood that the test signal may be a sinusoidal signal with a frequency of 100Hz and an amplitude of 0.25V, and those skilled in the art can set the frequency and amplitude of the test signal according to actual requirements.
It is understood that, referring to fig. 2, step S140 includes, but is not limited to, step S210, step S220, and step S230.
Step S210, acquiring a first effective signal in the first output signal;
step S220, acquiring a second effective signal in the second output signal;
step S230, determining a detection result of the tested earphone according to the first effective signal and the second effective signal.
The first output signal and the second output signal include some invalid signals, for example, a background noise signal, which is an invalid signal, and therefore, it is necessary to obtain a first valid signal from the first output signal, obtain a second valid signal from the second output signal, and then determine a detection result of the detected earphone according to the first valid signal and the second valid signal. For example, the amplitude of the background noise signal is 0, the positions of the waveform starting point and the waveform ending point of the first output signal corresponding to the time axis are configured, the waveform component of the first output signal is analyzed, and the part of the first output signal with the amplitude not being 0 is extracted to obtain a first effective signal; and the amplitude of the background noise signal is 0, the positions of the waveform starting point and the waveform end point of the second output signal corresponding to the time axis are configured, the waveform component of the second output signal is analyzed, and the part of the second output signal with the amplitude not being 0 is extracted to obtain a second effective signal.
It is understood that, referring to fig. 3, step S230 includes, but is not limited to, step S310, step S320, and step S330.
Step S310, carrying out fast Fourier transform on the first effective signal, and calculating to obtain a first power spectrum;
step S320, obtaining a first polar coordinate component curve according to the first power spectrum;
step S330, if the first polar coordinate component curve has burrs, determining that the detection result is that the noise of the first earphone channel is abnormal.
According to the detection method of the earphone, the first effective signal is subjected to fast Fourier transform, a first power spectrum is obtained through calculation, then the first power spectrum is converted into a complex polar coordinate component form, and then a first polar coordinate component curve is obtained; for example, the algebraic form of the complex number of the first power spectrum is z = a + bi, the algebraic form of the complex number of the first power spectrum is transformed into polar form:
z=r*e^(i*theta),
r=|z|=sqrt(a2+b2),theta=arg(z)=arctan2(b,a),
wherein a is the real part of the complex number, b is the imaginary part of the complex number, i is the imaginary unit, r is the polar component, and theta is the argument of the complex number.
And then determining a detection result of the detected earphone according to the first polar coordinate component curve, and if the first polar coordinate component curve has burrs, determining that the detection result of the detected earphone is abnormal noise of the first earphone channel, namely, noise exists in the first earphone channel of the detected earphone when the volume of the detected earphone is adjusted.
It is understood that step S230 may also include, but is not limited to, step S410, step S420, and step S430.
Step S410, performing fast Fourier transform on the second effective signal, and calculating to obtain a second power spectrum;
step S420, obtaining a second polar coordinate component curve according to the second power spectrum;
step S430, if the second polar coordinate component curve has a burr, determining that the detection result is that the noise of the second earphone channel is abnormal.
According to the detection method of the earphone, the second effective signal is subjected to fast Fourier transform, a second power spectrum is obtained through calculation, then the second power spectrum is converted into a complex polar coordinate component form, and then a second polar coordinate component curve is obtained; and then determining the detection result of the detected earphone according to the second polar coordinate component curve, if the second polar coordinate component curve has burrs, determining that the detection result of the detected earphone is abnormal noise of a second earphone channel, namely, when the volume of the detected earphone is adjusted, noise exists in the second earphone channel of the detected earphone.
It is understood that the detection result further includes: the earphone has no noise abnormity; the earphone has no noise abnormity, which means that the first earphone channel and the second earphone channel of the tested earphone have no noise. Step S230 may further include: and if the first polar coordinate component curve has no burr and the second polar coordinate component curve has no burr, determining that the earphone has no noise abnormality, namely when the volume of the detected earphone is adjusted, the first earphone channel and the second earphone channel of the detected earphone have no noise.
It is understood that the detection result further includes: the earphone balance degree is abnormal; step S230 may also include, but is not limited to, step S510, step S520, and step S530.
Step S510, calculating the difference value of decibel values corresponding to the same time of the first effective signal and the second effective signal;
step S520, obtaining a balance curve of the tested earphone according to the difference value of the decibel values;
in step S530, if the maximum value of the balance curve is greater than the preset threshold, it is determined that the detection result is that the earphone balance is abnormal.
Calculating the decibel value corresponding to the first effective signal and the second effective signal at the same time, wherein the calculation formula of the decibel value is as follows: db =20log V, where db is a decibel value, V is an amplitude of the signal, then a difference is calculated according to a decibel value corresponding to the same time of the first effective signal and the second effective signal, the obtained difference is the current balance of the tested headset, a balance curve of the tested headset can be obtained according to the difference, and if the maximum value of the balance curve is greater than a preset threshold, it is determined that the balance of the headset is abnormal.
It is understood that step S510 includes:
equally dividing the first effective signal and the second effective signal into a plurality of sections;
respectively calculating the mean value of the difference values of the decibel values corresponding to each section of the first effective signal and the second effective signal;
the step S520 includes: and obtaining a balance curve according to the average value of each section.
Equally dividing the first effective signal and the second effective signal into multiple sections, respectively calculating the mean value of the difference value of the decibel value corresponding to each section of the first effective signal and the second effective signal, and obtaining a balance curve according to each section of the mean value, wherein the balance curve is used for representing the balance of the tested earphone. It should be noted that, a person skilled in the art may equally divide the number of segments of the first effective signal and the second effective signal according to an actual requirement, for example, the number of equally divided segments may be selected according to a resolution requirement, which is not limited in the present application; the preset threshold value can be set by a person skilled in the art according to actual needs, and the application is not limited to this.
It is understood that the detection result further includes: the balance degree of the earphone is not abnormal; the earphone balance degree is not abnormal, and the balance degree of the tested earphone is qualified. Step S230 may further include: and if the maximum value of the balance degree curve is less than or equal to the preset threshold value, determining that the balance degree of the earphone is not abnormal according to the detection result.
The embodiment of the second aspect of the present application provides a detection apparatus for an earphone, including:
the signal input module is used for inputting a test signal to the tested earphone, and the test signal is an input signal of the tested earphone;
the volume adjusting module is used for adjusting the volume of the earphone to be measured so that the volume of the earphone to be measured can be uniformly changed in unit time;
the signal acquisition module is used for acquiring a first output signal of a first earphone channel and a second output signal of a second earphone channel of the earphone to be detected in the process of adjusting the volume of the earphone to be detected;
the detection module is used for detecting the detection result of the detected earphone according to the first output signal and the second output signal; wherein, the detection result at least comprises one of the following: the noise of the first earphone channel is abnormal, and the noise of the second earphone channel is abnormal.
It can be understood that specific operations of the signal input module, the volume adjustment module, the signal acquisition module, and the detection module of the detection apparatus of the earphone in the embodiment of the present application have been described in detail in the method embodiment of the first aspect of the present application, and are not described herein again.
An embodiment of a third aspect of the present application provides a detection system for an earphone, including:
at least one memory;
at least one processor;
at least one program;
a program is stored in the memory and the processor executes at least one program to implement the method of detecting a headset as in any embodiment of the first aspect of the application.
The processor and memory may be connected by a bus or other means.
The memory, which is a non-transitory readable storage medium, may be used to store non-transitory software instructions as well as non-transitory executable instructions. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. It will be appreciated that the memory can alternatively comprise memory located remotely from the processor, and that such remote memory can be coupled to the processor via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor executes various functional applications and data processing by executing the non-transitory software instructions, instructions and signals stored in the memory, that is, the slave unit address allocation method of the battery management system according to the embodiment of the first aspect is implemented.
Non-transitory software instructions and instructions required for implementing the detection method of the headset of the above embodiment are stored in the memory, and when executed by the processor, the detection method of the headset of the first aspect of the present application is performed, for example, the method steps S110 to S140 in fig. 1, the method steps S210 to S230 in fig. 2, the method steps S310 to S330 in fig. 3, the method steps S410 to S430 in fig. 4, and the method steps S510 to S530 in fig. 5, which are described above, are performed.
In a fourth aspect of the present application, a computer-readable storage medium is provided, where the computer-readable storage medium stores computer-executable signals for performing the method for detecting a headset according to any one of the embodiments of the first aspect of the present application. For example, the above-described method steps S110 to S140 in fig. 1, method steps S210 to S230 in fig. 2, method steps S310 to S330 in fig. 3, method steps S410 to S430 in fig. 4, and method steps S510 to S530 in fig. 5 are performed.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
From the above description of embodiments, those of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable signals, data structures, instruction modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer-readable signals, data structures, instruction modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
The embodiments of the present application have been described in detail with reference to the drawings, but the present application is not limited to the embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the spirit of the present application.

Claims (8)

1. A method for detecting a headset, comprising:
inputting a test signal to a tested earphone, wherein the test signal is the input signal of the tested earphone;
adjusting the volume of the earphone to be measured to enable the volume of the earphone to be measured to be uniformly changed in unit time;
collecting a first output signal of a first earphone channel and a second output signal of a second earphone channel of the earphone to be tested in the process of adjusting the volume of the earphone to be tested;
determining the detection result of the earphone to be detected according to the first output signal and the second output signal; wherein, the detection result at least comprises one of the following: the noise of the first earphone channel is abnormal, and the noise of the second earphone channel is abnormal;
the determining the detection result of the tested earphone according to the first output signal and the second output signal includes:
acquiring a first effective signal in the first output signal;
acquiring a second effective signal in the second output signal;
determining a detection result of the tested earphone according to the first effective signal and the second effective signal;
the detection result further comprises: the earphone balance degree is abnormal; the determining the detection result of the tested earphone according to the first effective signal and the second effective signal further includes:
calculating the difference value of decibel values corresponding to the first effective signal and the second effective signal at the same moment;
obtaining a balance curve of the tested earphone according to the difference value of the decibel values;
and if the maximum value of the balance degree curve is larger than a preset threshold value, determining that the detection result is that the earphone balance degree is abnormal.
2. The method for detecting the earphone according to claim 1, wherein the determining the detection result of the earphone under test according to the first valid signal and the second valid signal comprises:
performing fast Fourier transform on the first effective signal, and calculating to obtain a first power spectrum;
obtaining a first polar coordinate component curve according to the first power spectrum;
and if the first polar coordinate component curve has burrs, determining that the detection result is that the noise of the first earphone channel is abnormal.
3. The method for detecting the earphone according to claim 1, wherein the determining the detection result of the earphone under test according to the first valid signal and the second valid signal comprises:
performing fast Fourier transform on the second effective signal, and calculating to obtain a second power spectrum;
obtaining a second polar coordinate component curve according to the second power spectrum;
and if the second polar coordinate component curve has burrs, determining that the detection result is that the noise of the second earphone channel is abnormal.
4. The method for detecting the earphone according to claim 1, wherein the calculating the difference between decibel values corresponding to the same time instant of the first effective signal and the second effective signal comprises:
equally dividing the first effective signal and the second effective signal into a plurality of sections;
respectively calculating the mean value of the difference values of the decibel values corresponding to each section of the first effective signal and the second effective signal;
and obtaining a balance curve of the tested earphone according to the difference value of the decibel values, wherein the balance curve comprises:
and obtaining the balance degree curve according to the average value of each section.
5. The method for detecting the earphone according to any one of claims 1 to 4, wherein the adjusting the volume of the earphone to be detected to make the volume of the earphone to be detected uniformly change in a unit time comprises:
and adjusting the volume of the tested earphone to enable the volume of the tested earphone to be uniformly increased from the minimum to the maximum.
6. A headset detection device, comprising:
the signal input module is used for inputting a test signal to a tested earphone, wherein the test signal is the input signal of the tested earphone;
the volume adjusting module is used for adjusting the volume of the earphone to be measured so that the volume of the earphone to be measured can be uniformly changed in unit time;
the signal acquisition module is used for acquiring a first output signal of a first earphone channel and a second output signal of a second earphone channel of the earphone to be detected in the process of adjusting the volume of the earphone to be detected;
the detection module is used for determining the detection result of the earphone to be detected according to the first output signal and the second output signal; wherein, the detection result at least comprises one of the following: the noise of the first earphone channel is abnormal, and the noise of the second earphone channel is abnormal;
the determining the detection result of the tested earphone according to the first output signal and the second output signal includes:
acquiring a first effective signal in the first output signal;
acquiring a second effective signal in the second output signal;
determining a detection result of the tested earphone according to the first effective signal and the second effective signal;
the detection result further comprises: the earphone balance degree is abnormal; the determining the detection result of the tested earphone according to the first effective signal and the second effective signal further includes:
calculating the difference value of decibel values corresponding to the first effective signal and the second effective signal at the same moment;
obtaining a balance curve of the tested earphone according to the difference value of the decibel values;
and if the maximum value of the balance degree curve is larger than a preset threshold value, determining that the detection result is that the balance degree of the earphone is abnormal.
7. A headset detection system, comprising:
at least one memory;
at least one processor;
at least one program;
the programs are stored in the memory, and the processor executes at least one of the programs to implement the detection method of the headset according to any one of claims 1 to 5.
8. A computer-readable storage medium having computer-executable signals stored thereon for:
performing the method of detection of a headset of any of claims 1 to 5.
CN202110583849.6A 2021-05-27 2021-05-27 Earphone detection method, device and system and computer readable storage medium Active CN113382348B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110583849.6A CN113382348B (en) 2021-05-27 2021-05-27 Earphone detection method, device and system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110583849.6A CN113382348B (en) 2021-05-27 2021-05-27 Earphone detection method, device and system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113382348A CN113382348A (en) 2021-09-10
CN113382348B true CN113382348B (en) 2022-11-29

Family

ID=77572306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110583849.6A Active CN113382348B (en) 2021-05-27 2021-05-27 Earphone detection method, device and system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113382348B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554384B (en) * 2022-04-11 2024-03-12 深圳市得自在科技有限公司 Bluetooth headset anti-interference performance test system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822623A (en) * 2020-12-31 2021-05-18 佳禾智能科技股份有限公司 Wireless earphone abnormity detection method and structure

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8295475B2 (en) * 2006-01-13 2012-10-23 Microsoft Corporation Selective glitch detection, clock drift compensation, and anti-clipping in audio echo cancellation
CN101170843B (en) * 2007-11-30 2010-12-15 清华大学 Speaker online pure voice failure diagnosis method
CN103297909B (en) * 2013-04-23 2016-04-13 加一联创电子科技有限公司 A kind of earphone method of testing and device
CN103546853A (en) * 2013-09-18 2014-01-29 浙江中科电声研发中心 Speaker abnormal sound detecting method based on short-time Fourier transformation
CN106686511A (en) * 2016-11-15 2017-05-17 歌尔股份有限公司 Earphone function testing method and testing system
CN108810717A (en) * 2018-08-21 2018-11-13 歌尔科技有限公司 A kind of left and right acoustic channels degree of balance adjusting method, device, control chip and earphone
CN112399319A (en) * 2019-08-13 2021-02-23 奇酷互联网络科技(深圳)有限公司 Earphone calibration method and device, storage medium and intelligent terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822623A (en) * 2020-12-31 2021-05-18 佳禾智能科技股份有限公司 Wireless earphone abnormity detection method and structure

Also Published As

Publication number Publication date
CN113382348A (en) 2021-09-10

Similar Documents

Publication Publication Date Title
US11038587B2 (en) Method and apparatus for locating fault cause, and storage medium
CN113382348B (en) Earphone detection method, device and system and computer readable storage medium
US11128344B2 (en) Channel switching processing method, device and system, storage medium, and electronic device
US20080255773A1 (en) Machine condition monitoring using pattern rules
CN111610408B (en) Traveling wave fault positioning method, device, equipment and storage medium
CN107249136A (en) Method for connecting network and device
CN105245591B (en) A kind of monitoring method and system of the experience of desktop cloud performance
CN109768826B (en) Data processing method, device and equipment and computer readable storage medium
CN117466153B (en) Fault detection method, device, computer equipment and readable storage medium
CN113709650A (en) Microphone testing method, device and storage medium
CN115045789B (en) Engine knock calibration method and device
CN112182579A (en) Process list generation method and device and abnormal process detection method and device
TW202217259A (en) Sound-based mechanical monitoring system and method
CN115656700B (en) Detection method, training method, electric appliance, monitoring system and storage medium
CN113543005B (en) Audio device detection method and system
CN110851309B (en) Integrated verification system and method
CN109633512B (en) All-fiber current transformer fault diagnosis method and device
CN114356621A (en) Bus exit method and device based on information entropy analysis
CN114689990B (en) Annular power network fault positioning method and related equipment
US9092315B2 (en) Method and software program product for determining the quality of an information technology system
US11811463B2 (en) Speaker output fault monitoring
CN105589018A (en) Detection method and device for partial discharge monitoring system
CN112929808A (en) Method, module and system for detecting whether campus broadcasting equipment can work normally
KR102131242B1 (en) Sensor for detecting vibration and system including the same
CN113538809B (en) Data processing method and device based on self-service equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant