CN110572732B - Earphone standard and impedance measuring device and method - Google Patents

Earphone standard and impedance measuring device and method Download PDF

Info

Publication number
CN110572732B
CN110572732B CN201910654440.1A CN201910654440A CN110572732B CN 110572732 B CN110572732 B CN 110572732B CN 201910654440 A CN201910654440 A CN 201910654440A CN 110572732 B CN110572732 B CN 110572732B
Authority
CN
China
Prior art keywords
metal ring
earphone
impedance
detected
voltage
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
CN201910654440.1A
Other languages
Chinese (zh)
Other versions
CN110572732A (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.)
Nanchang Huaqin Electronic Technology Co ltd
Original Assignee
Nanchang Huaqin Electronic Technology 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 Nanchang Huaqin Electronic Technology Co ltd filed Critical Nanchang Huaqin Electronic Technology Co ltd
Priority to CN201910654440.1A priority Critical patent/CN110572732B/en
Publication of CN110572732A publication Critical patent/CN110572732A/en
Application granted granted Critical
Publication of CN110572732B publication Critical patent/CN110572732B/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
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Measurement Of Resistance Or Impedance (AREA)

Abstract

The invention provides a device and a method for measuring earphone standard and impedance, wherein the device comprises: the device comprises a signal acquisition module and a judgment module; the signal acquisition module is electrically connected with the judgment module; the signal acquisition module is used for synchronously acquiring a first voltage between a first metal ring and a second metal ring of the earphone to be detected and a second voltage between the first metal ring and a third metal ring, the judgment module is used for determining the standard and the impedance of the earphone to be detected according to the first voltage and the second voltage, and the standard of the earphone to be detected is an OMTP standard or a CTIA standard. The earphone standard and impedance measuring device improves the detection efficiency and accuracy of the earphone standard and impedance.

Description

Earphone standard and impedance measuring device and method
Technical Field
The present invention relates to electronic technologies, and in particular, to an apparatus and a method for measuring earphone standard and impedance.
Background
The earphone is usually used in cooperation with a mobile phone, a tablet computer, a computer and other terminal devices, and along with popularization of the terminal devices, the application of the earphone is more and more extensive. The audio effect is one of the important indexes for measuring the quality of the earphone, and the earphone impedance has a direct decision function on the audio effect of the earphone.
The four-section earphone has two different standards of Open Mobile Terminal Platform Organization (OMTP) and american society for wireless communication and Internet Association (CTIA), and earphones with different standards can be adapted to different Terminal devices. In the prior art, the impedances between four-section type earphone metal rings are usually measured by a universal meter, the measured impedances are compared to judge the standard of an earphone, and the impedance of the earphone is further determined on the premise of accurately judging the standard of the earphone. This method requires two measurements, which is inefficient and less accurate.
Disclosure of Invention
The invention provides a device and a method for measuring earphone standard and impedance, which are used for improving the detection efficiency and accuracy of the earphone standard and impedance.
The invention provides a standard and impedance measuring device for an earphone, which comprises:
the device comprises a signal acquisition module and a judgment module; the signal acquisition module is electrically connected with the judgment module;
the signal acquisition module is used for synchronously acquiring a first voltage between a first metal ring and a second metal ring of the earphone to be detected and a second voltage between the first metal ring and a third metal ring;
the contact pin of the earphone to be detected is provided with four sections of metal rings, the four sections of metal rings counted from the top of the contact pin are respectively a first section of metal ring, a second section of metal ring, a third section of metal ring and a fourth section of metal ring in sequence, the first section of metal ring is the first section of metal ring or the second section of metal ring, the second section of metal ring is the third section of metal ring, and the third section of metal ring is the fourth section of metal ring;
the judgment module is used for determining the standard and the impedance of the earphone to be detected according to the first voltage and the second voltage, and the standard of the earphone to be detected is an open mobile terminal platform organization OMTP standard or an American wireless communication and Internet association (CTIA) standard.
Optionally, the signal acquisition module includes:
the circuit comprises a first capacitor, a second capacitor, a first resistor and a second resistor;
one end of the first capacitor is respectively connected with a first metal ring of the earphone to be detected and one end of the first resistor; the other end of the first capacitor is respectively connected with a second metal ring and a grounding point of the earphone to be detected; the other end of the first resistor is connected with a first power supply;
one end of the second capacitor is respectively connected with the first metal ring of the earphone to be detected and one end of the second resistor; the other end of the second capacitor is respectively connected with a third metal ring and a grounding point of the earphone to be detected; the other end of the second resistor is connected with a second power supply;
optionally, the determining module is specifically configured to,
determining an impedance between the first metal ring and the second metal ring and an impedance between the first metal ring and the third metal ring according to the first voltage and the second voltage;
and determining the standard and the impedance of the earphone to be detected according to the impedance between the first metal ring and the second metal ring and the impedance between the first metal ring and the third metal ring.
Optionally, the determining module is specifically configured to,
calculating a first impedance between the first metal ring and the second metal ring according to the first voltage, the voltage of the first power supply and the first resistance;
calculating a second impedance between the first metal ring and the third metal ring according to the second voltage, the voltage of the second power supply and the second resistance;
and determining the standard and the impedance of the earphone to be detected according to the first impedance and the second impedance.
Optionally, the first resistor is equal to the second resistor, and the voltage of the first power supply is equal to the voltage of the second power supply.
Optionally, the apparatus further comprises a voltage stabilizing module;
the voltage stabilizing module is electrically connected with the signal acquisition module; used for outputting stable voltage to the signal acquisition module.
Optionally, the apparatus further comprises: a display module;
the display module is electrically connected with the judgment module and used for displaying that the earphone to be detected determined by the judgment module is in an OMTP standard or a CTIA standard and displaying the impedance of the earphone to be detected or displaying that the earphone to be detected breaks down.
The invention provides a method for measuring earphone standard and impedance, which comprises the following steps:
acquiring a first voltage between a first metal ring and a second metal ring of the earphone to be detected, which is acquired by a signal acquisition module, and a second voltage between the first metal ring and a third metal ring;
the contact pin of the earphone to be detected is provided with four sections of metal rings, the four sections of metal rings counted from the top of the contact pin are respectively a first section of metal ring, a second section of metal ring, a third section of metal ring and a fourth section of metal ring in sequence, the first section of metal ring is the first section of metal ring or the second section of metal ring, the second section of metal ring is the third section of metal ring, and the third section of metal ring is the fourth section of metal ring;
and determining the standard and the impedance of the earphone to be detected according to the first voltage and the second voltage, wherein the standard of the earphone to be detected is an open mobile terminal platform organization OMTP standard or a CTIA standard of the American Wireless communication and Internet Association.
Optionally, determining the standard and the impedance of the earphone to be tested according to the first voltage and the second voltage includes:
determining a first impedance between the first metal ring and a second impedance between the first metal ring and a third metal ring according to the first voltage and the second voltage;
if the first impedance is larger than a first threshold and smaller than a second threshold, and the second impedance is larger than a third threshold and smaller than a fourth threshold, determining that the earphone to be detected is in an OMTP standard, and determining that the second impedance is the impedance of the earphone to be detected;
if the second impedance is larger than the first threshold and smaller than the second threshold, and the first impedance is larger than the third threshold and smaller than the fourth threshold, determining that the earphone to be detected is the CTIA standard, and determining that the first impedance is the impedance of the earphone to be detected;
wherein the first threshold is greater than the fourth threshold.
Optionally, the determining the standard and the impedance of the earphone to be tested according to the first voltage and the second voltage further includes:
if the first impedance is larger than a first threshold and smaller than a second threshold, and the second impedance is smaller than or equal to a third threshold or larger than or equal to a fourth threshold, or, if the first impedance and the second impedance are both smaller than or equal to the first threshold or smaller than or equal to the second threshold, or, if the second impedance is larger than the first threshold and smaller than the second threshold, and the first impedance is smaller than or equal to the third threshold and larger than or equal to the fourth threshold, it is determined that the earphone to be detected has a fault.
The invention provides a device and a method for measuring earphone standard and impedance, wherein the device comprises: the device comprises a signal acquisition module and a judgment module; the signal acquisition module is electrically connected with the judgment module; the signal acquisition module is used for synchronously acquiring a first voltage between a first metal ring and a second metal ring of the earphone to be detected and a second voltage between the first metal ring and a third metal ring, wherein the first metal ring is a first section of metal ring or a second section of metal ring from the top of a contact pin of the earphone to be detected, the second metal ring is a third section of metal ring from the top of the contact pin of the earphone to be detected, and the third metal ring is a fourth section of metal ring from the top of the contact pin of the earphone to be detected; the judgment module is used for determining the standard and the impedance of the earphone to be detected according to the first voltage and the second voltage, and the standard of the earphone to be detected is an open mobile terminal platform organization OMTP standard or an American wireless communication and Internet association (CTIA) standard. The device can directly collect the voltage between different metal rings of the earphone to be detected through the signal collection module, and the collected voltage is processed by the judgment module, so that the detection efficiency and accuracy of the standard and impedance of the earphone are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1a is a schematic structural diagram of an earphone of the OMTP standard;
FIG. 1b is a schematic diagram of a CTIA standard earphone;
fig. 2 is a schematic structural diagram of an apparatus for measuring standard and impedance of an earphone according to the present invention;
fig. 3 is a schematic structural diagram of a second earphone standard and impedance measuring device according to the present invention;
fig. 4 is a schematic diagram of the working process of the earphone standard and impedance measuring device provided by the present invention;
fig. 5 is a schematic structural diagram three of an earphone standard and impedance measuring device provided in the present invention;
fig. 6 is a schematic diagram of a hardware structure of an apparatus for measuring standard and impedance of an earphone according to the present invention;
fig. 7 is a schematic flow chart of a method for measuring standard and impedance of an earphone according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and "third," etc. in the various portions of the embodiments and figures are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein.
Fig. 1a is a schematic structural diagram of an earphone of the OMTP standard. As shown in fig. 1a, from the top of the earphone pin, the first metal ring is a left sound channel, the second metal ring is a right sound channel, the third metal ring is a microphone MIC, and the fourth metal ring is a ground line. Fig. 1b is a schematic diagram of a CTIA standard earphone. As shown in fig. 1b, from the top of the earphone pin, the first metal ring is a left sound channel, the second metal ring is a right sound channel, the third metal ring is a ground wire, and the fourth metal ring is a microphone MIC wire.
Since the earphone of the OMTP standard and the earphone of the CTIA standard are different in the line sequence of the ground lines and the MIC line of the two, the impedance of the earphone is the impedance between the left (right) channel and the ground line of the earphone, in the case of no failure of the earphone, the impedance between the left (right) channel and the ground line of the earphone is different from the impedance between the left (right) channel and the MIC line of the earphone, the impedance between the left (right) channel and the ground line is within a preset range, and the impedance between the left (right) channel and the MIC line is within another preset range different from the above. Therefore, the standard of the earphone can be determined according to the impedance between different metal rings of the earphone, and the impedance of the earphone can be further determined. In order to quickly and accurately determine the standard and the impedance of the earphone, the invention provides a measuring device for the standard and the impedance of the earphone.
Fig. 2 is a schematic structural diagram of an apparatus for measuring standard and impedance of an earphone according to the present invention. As shown in fig. 2, the apparatus of the present embodiment may include: a signal acquisition module 201 and a judgment module 202; the signal acquisition module 201 is electrically connected with the judgment module 202.
The signal collecting module 201 is used for synchronously collecting a first voltage between a first metal ring and a second metal ring of the earphone to be detected, and a second voltage between the first metal ring and a third metal ring.
The contact pin of the earphone to be detected is provided with four sections of metal rings, the four sections of metal rings counted from the top of the contact pin are respectively a first section of metal ring, a second section of metal ring, a third section of metal ring and a fourth section of metal ring in sequence, the first section of metal ring is the first section of metal ring or the second section of metal ring, the second section of metal ring is the third section of metal ring, and the third section of metal ring is the fourth section of metal ring.
The judgment module 202 is configured to determine a standard and an impedance of the to-be-detected earphone according to the first voltage and the second voltage, where the standard of the to-be-detected earphone is an OMTP standard or a CTIA standard.
In this embodiment, the earphone to be detected is a four-segment earphone, and the impedance of the four-segment earphone refers to the impedance between the left channel (or the right channel) and the ground line of the earphone. The four-section type earphone is characterized in that a first section of metal ring from the top of an earphone contact pin is a left sound channel, a second section of metal ring is a right sound channel, and a ground wire is arranged on the second metal ring or the third metal ring according to different standards. Due to the corresponding relation between the impedance and the voltage, the voltage between different metal rings of the earphone to be detected corresponds to the impedance between different metal rings. Therefore, the signal acquisition module 201 can synchronously acquire a first voltage between the first metal ring segment (or the second metal ring segment) and the third metal ring segment, and a second voltage between the first metal ring segment (or the second metal ring segment) and the fourth metal ring segment. It is understood that synchronous acquisition here means that the signal acquisition module can obtain the first voltage and the second voltage simultaneously by one measurement without performing the measurement twice. The determining module 202 may determine that the standard of the earphone to be detected is an OMTP standard or a CTIA standard according to the first voltage and the second voltage. After the standard of the earphone to be detected is determined, namely the metal ring where the ground wire is located is determined, the impedance between the first section of metal ring (or the second section of metal ring) and the metal ring where the ground wire is located can be determined as the impedance of the earphone.
Specifically, the determining module 202 may determine the impedance between the first metal ring and the second metal ring and the impedance between the first metal ring and the third metal ring according to the first voltage and the second voltage of the to-be-detected earphone;
and determining the standard and the impedance of the earphone to be detected according to the impedance between the first metal ring and the second metal ring and the impedance between the first metal ring and the third metal ring.
For example, the determining module 202 may calculate an impedance between the first metal ring (or the second metal ring) and the third metal ring according to a first voltage between the first metal ring (or the second metal ring) and the third metal ring of the headset to be tested, and calculate an impedance between the first metal ring (or the second metal ring) and the fourth metal ring according to a second voltage between the first metal ring (or the second metal ring) and the fourth metal ring. And then determining the standard of the earphone to be detected according to the impedance between the first section of metal ring (or the second section of metal ring) and the third section of metal ring and the impedance between the first section of metal ring (or the second section of metal ring) and the fourth section of metal ring. Further, according to the determined standard of the earphone to be detected, namely the metal ring where the ground wire is located, the impedance between the corresponding first section of metal ring (or the second section of metal ring) and the metal ring where the ground wire is located is determined as the impedance of the earphone to be detected.
The earphone standard and impedance measuring device provided by the embodiment comprises: the device comprises a signal acquisition module and a judgment module. The signal acquisition module is electrically connected with the judgment module; the signal acquisition module is used for synchronously acquiring a first voltage between a first metal ring and a second metal ring of the earphone to be detected and a second voltage between the first metal ring and a third metal ring; the judgment module is used for determining the standard and the impedance of the earphone to be detected according to the first voltage and the second voltage, and the standard of the earphone to be detected is an OMTP standard or a CTIA standard. The device can directly collect the voltage between different metal rings of the earphone to be detected through the signal collection module, and the collected voltage is processed by the judgment module, so that the standard and the impedance of the earphone to be detected can be quickly and accurately determined.
On the basis of the above embodiments, the signal acquisition module 201 is further illustrated with reference to a specific circuit diagram. Fig. 3 is a schematic structural diagram of a second earphone standard and impedance measuring device provided in the present invention. As shown in fig. 3, the signal acquisition module 201 includes: the circuit comprises a first capacitor C1, a second capacitor C2, a first resistor R1 and a second resistor R2.
One end of the first capacitor C1 is respectively connected with a first metal ring of the earphone to be detected and one end of the first resistor R1; the other end of the first capacitor C1 is respectively connected with a second metal ring and a grounding point of the earphone to be detected; the other end of the first resistor R1 is connected to a first power source V1.
One end of the second capacitor C2 is respectively connected with the first metal ring of the earphone to be detected and one end of the second resistor R2; the other end of the second capacitor C2 is respectively connected with a third metal ring and a grounding point of the earphone to be detected; the other end of the second resistor R2 is connected to a second power supply V2.
In this embodiment, the first metal ring may be a first section of metal ring 1 or a second section of metal ring 2 of the to-be-detected earphone, and only the first metal ring is taken as the first section of metal ring 1 of the to-be-detected earphone in fig. 3 as an example for description. If the first metal ring is the second section of metal ring 2 of the earphone to be detected, the connection points of one end of the first capacitor C1 and one end of the second capacitor C2 and the contact pin of the earphone to be detected are changed into the second section of metal ring 2. The second metal ring is a third section of metal ring 3 of the earphone to be detected, and the third metal ring is a fourth section of metal ring 4 of the earphone to be detected.
As shown in fig. 3, the signal collecting module 201 is specifically configured to collect the voltage at the point a shown in the figure, i.e. the first voltage V between the first metal ring and the second metal ringIN1And, the voltage at point b shown in the figure, i.e., the second voltage V between the first metal ring and the third metal ringIN2
The signal acquisition module 201 acquires the first voltage VIN1And a second voltage VIN2Output to the determining module 202, on the basis of which the determining module 202 is specifically configured to,
according to a first voltage VIN1The voltage V1 of the first power supply and the first resistor R1 calculate a first impedance Z1 between the first metal ring and the second metal ring, and specifically, the first impedance Z1 is calculated and determined according to the following formula:
Figure BDA0002136397960000071
according to a second voltage VIN2If the voltage V2 of the second power supply and the second resistance calculate the second impedance Z2 between the first metal ring and the third metal ring, specifically, the second impedance Z2 is determined by the following formula:
Figure BDA0002136397960000081
in a preferred implementation, the first resistor R1 is equal to the second resistor R2, and the voltage V1 of the first power supply is equal to the voltage V2 of the second power supply. For example, the first resistor R1 and the second resistor R2 may be 500 Ω, and the voltage V1 of the first power source and the voltage V2 of the second power source may be 5V.
After the determining module 202 determines the first impedance Z1 and the second impedance Z2 according to the above formula, the standard and the impedance of the earphone to be tested are further determined according to the first impedance Z1 and the second impedance Z2.
Specifically, if the first impedance Z1 is greater than the first threshold and less than the second threshold, and the second impedance Z2 is greater than the third threshold and less than the fourth threshold, it is determined that the headphone to be detected is in the OMTP standard, and the second impedance Z2 is determined as the impedance of the headphone to be detected.
And if the second impedance Z2 is larger than the first threshold and smaller than the second threshold, and the first impedance Z1 is larger than the third threshold and smaller than the fourth threshold, determining that the earphone to be detected is the CTIA standard, and determining that the first impedance Z1 is the impedance of the earphone to be detected.
Wherein the first threshold is greater than the fourth threshold.
Optionally, the first threshold is greater than 1K Ω and less than or equal to 2K Ω, the second threshold is greater than or equal to 3K Ω, the third threshold is greater than or equal to 10 Ω and less than 16 Ω, and the fourth threshold is greater than 600 Ω and less than 800 Ω. In practical applications, a typical value for the first threshold is 2K omega, a typical value for the second threshold is 3K omega, a typical value for the third threshold is 10 omega and a typical value for the fourth threshold is 700 omega. The above ranges of the first threshold, the second threshold, the third threshold and the fourth threshold are only an example, wherein the values of the first threshold and the second threshold jointly define the range of the impedance between the left (right) channel and the MIC line, and the value of the fourth threshold of the third threshold jointly defines the range of the impedance between the left (right) channel and the ground line. The actual value of each threshold can be adjusted according to different types of earphones.
For example, if the first threshold, the second threshold, the third threshold and the fourth threshold all adopt the above typical values, it is assumed that the determining module 202 determines that the first impedance Z1 between the first metal ring and the second metal ring of the headset to be detected is 680 Ω, and the second impedance Z2 between the first metal ring and the third metal ring is 2.3k Ω. Obviously, the second impedance Z2 is greater than the first threshold 2K ω and less than the second threshold 3K Ω, and the first impedance Z1 is greater than the third threshold 10 Ω and less than the fourth threshold 700 Ω, then the earphone to be detected is determined to be the CTIA standard, and the first impedance 680 Ω is determined to be the impedance of the earphone to be detected.
Assume that the determining module 202 determines that a first impedance Z1 between the first metal ring and the second metal ring of the headset to be detected is 2.5k Ω, and a second impedance Z2 between the first metal ring and the third metal ring is 500 Ω. Obviously, if the first impedance Z1 is greater than the first threshold 2K ω and less than the second threshold 3K Ω, and the second impedance Z2 is greater than the third threshold 10 Ω and less than the fourth threshold 700 Ω, it is determined that the headphone to be detected is the OMTP standard, and the second impedance 500 Ω is determined as the impedance of the headphone to be detected.
The earphone standard and impedance detection device provided by the embodiment can complete the detection of the earphone standard and impedance only by one-time measurement through a simple circuit structure, and realizes the high-efficiency and accurate detection of the four-section earphone standard and impedance.
On the basis of the above-mentioned embodiment, the determining module 202 is further configured to,
if the first impedance Z1 is greater than the first threshold and less than the second threshold, and the second impedance Z2 is less than or equal to the third threshold, or greater than or equal to the fourth threshold, or if both the first impedance Z1 and the second impedance Z2 are less than or equal to the first threshold, or less than or equal to the second threshold, or the second impedance Z2 is greater than the first threshold and less than the second threshold, and the first impedance Z1 is less than or equal to the third threshold, or greater than or equal to the fourth threshold, it is determined that the earphone to be detected is faulty.
Specifically, the working process of the signal acquisition module 201 and the judgment module 202 is shown in fig. 4, and fig. 4 is a schematic working process diagram of the earphone standard and impedance detection device provided by the present invention. As shown in FIG. 4, the signal acquisition module acquires a first voltage VIN1And a second voltage VIN2Output to the judgment module, and the judgment module reads the first voltage VIN1And a second voltage VIN2The first impedance Z1 and the second impedance Z2 are then calculated.
Then, the judging module determines whether the first impedance Z1 is greater than a first threshold and smaller than a second threshold, if the first impedance Z1 is greater than the first threshold and smaller than the second threshold, it is continuously judged whether the second impedance Z2 is greater than a third threshold and smaller than a fourth threshold, if the second impedance Z2 is greater than the third threshold and smaller than the fourth threshold, it is determined that the earphone to be detected is an OMTP standard, and it is determined that the second impedance Z2 is the impedance of the earphone to be detected, and if the second impedance Z2 is not greater than the third threshold and smaller than the fourth threshold, it is determined that the earphone to be detected is faulty.
If the first impedance Z1 is not greater than the first threshold and is less than the second threshold, continuing to judge whether the second impedance Z2 is greater than the first threshold and is less than the second threshold, and if the second impedance Z2 is not greater than the first threshold and is less than the second threshold, determining that the earphone to be detected is in fault; if the second impedance Z2 is greater than the first threshold and less than the second threshold, further determining whether the first impedance Z1 is greater than a third threshold and less than a fourth threshold, if the first impedance Z1 is greater than the third threshold and less than the fourth threshold, determining a CTIA standard of the headset to be detected, and determining that the first impedance Z1 is the impedance of the headset to be detected, and if the first impedance Z1 is not greater than the third threshold and less than the fourth threshold, determining that the headset to be detected has a fault.
On the basis of the embodiment shown in fig. 1, the invention can also provide a device for measuring the standard and impedance of the earphone. Fig. 5 is a schematic structural diagram three of an earphone standard and impedance measuring device provided in the present invention. As shown in fig. 5, on the basis of the embodiment shown in fig. 1, the apparatus further includes:
and the voltage stabilizing module 203 is electrically connected with the signal acquisition module 201, and is used for outputting a stable voltage to the signal acquisition module 201. Specifically, the voltage stabilizing module 203 may include a voltage stabilizing chip, and the voltage stabilizing chip outputs a voltage with a stable voltage value.
And the display module 204, the display module 204 is electrically connected with the judgment module 202, and is configured to display that the to-be-detected earphone determined by the judgment module 202 is the OMTP standard or the CTIA standard, and display the impedance of the to-be-detected earphone, or display that the to-be-detected earphone fails.
Specifically, in the above embodiment, the determining module determines the standard and the impedance of the earphone by further processing the first voltage and the second voltage, and determines whether the earphone has a fault, and the results determined by the determining module can be transmitted to the display module, so that the display module displays the corresponding results to prompt the user.
The judging module 202 in the above embodiment may be a single chip, and the above functions implemented by the judging module 202 may be implemented by a program code stored therein. Fig. 6 is a schematic diagram of a hardware structure of an earphone standard and impedance measuring device provided in the present invention. As shown in fig. 6, the output terminals of the points a and b of the signal acquisition module 201 are connected to the ports P1.0 and P1.1 of the judgment module 202, and are used for inputting the acquired voltage to the judgment module 202. Output end V of voltage stabilizing module 203outFor providing a stable voltage to the signal acquisition module 201. The display module 204 is connected to the ports of the judgment modules AD0-AD7 and is used for displaying according to the output values of the judgment modules AD0-AD 7. In addition, judgment is madePorts RX and TX of module 202 are software program control interfaces.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit. The unit formed by the modules can be realized in a hardware form, and can also be realized in a form of hardware and a software functional unit.
Fig. 7 is a schematic flow chart of a method for measuring standard and impedance of an earphone according to the present invention. The main implementation of the method is the earphone standard and impedance measuring device in any of the above embodiments. As shown in fig. 7, the method includes:
s701, acquiring a first voltage between a first metal ring and a second metal ring of the earphone to be detected, which is acquired by a signal acquisition module, and acquiring a second voltage between the first metal ring and a third metal ring.
The contact pin of the earphone to be detected is provided with four sections of metal rings, the four sections of metal rings counted from the top of the contact pin are respectively a first section of metal ring, a second section of metal ring, a third section of metal ring and a fourth section of metal ring in sequence, the first section of metal ring is the first section of metal ring or the second section of metal ring, the second section of metal ring is the third section of metal ring, and the third section of metal ring is the fourth section of metal ring.
S702, determining the standard and the impedance of the earphone to be detected according to the first voltage and the second voltage, wherein the standard of the earphone to be detected is an open mobile terminal platform organization OMTP standard or an American society for Wireless communication and Internet Association (CTIA) standard.
Optionally, determining the standard and the impedance of the headset to be tested according to the first voltage and the second voltage in S702 includes:
determining a first impedance between the first metal ring and a second impedance between the first metal ring and a third metal ring according to the first voltage and the second voltage;
if the first impedance is larger than a first threshold and smaller than a second threshold, and the second impedance is larger than a third threshold and smaller than a fourth threshold, determining that the earphone to be detected is in an OMTP standard, and determining that the second impedance is the impedance of the earphone to be detected;
if the second impedance is larger than the first threshold and smaller than the second threshold, and the first impedance is larger than the third threshold and smaller than the fourth threshold, determining that the earphone to be detected is the CTIA standard, and determining that the first impedance is the impedance of the earphone to be detected;
wherein the first threshold is greater than the fourth threshold.
Optionally, in S702, the determining the standard and the impedance of the earphone to be tested according to the first voltage and the second voltage further includes:
if the first impedance is larger than a first threshold and smaller than a second threshold, and the second impedance is smaller than or equal to a third threshold or larger than or equal to a fourth threshold, or, if the first impedance and the second impedance are both smaller than or equal to the first threshold or smaller than or equal to the second threshold, or, if the second impedance is larger than the first threshold and smaller than the second threshold, and the first impedance is smaller than or equal to the third threshold and larger than or equal to the fourth threshold, it is determined that the earphone to be detected has a fault.
The implementation principle and technical effect of the earphone standard and the impedance measuring method provided by this embodiment are similar to those of the apparatuses shown in fig. 2-3 and fig. 5-6, and are not described herein again.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. An earphone calibration and impedance measurement device, comprising: the device comprises a signal acquisition module and a judgment module; the signal acquisition module is electrically connected with the judgment module;
the signal acquisition module is used for synchronously acquiring a first voltage between a first metal ring and a second metal ring of the earphone to be detected and a second voltage between the first metal ring and a third metal ring;
the contact pin of the earphone to be detected is provided with four sections of metal rings, the four sections of metal rings counted from the top of the contact pin are respectively a first section of metal ring, a second section of metal ring, a third section of metal ring and a fourth section of metal ring in sequence, the first section of metal ring is the first section of metal ring or the second section of metal ring, the second section of metal ring is the third section of metal ring, and the third section of metal ring is the fourth section of metal ring;
the judgment module is used for determining the standard of the earphone to be detected according to the first voltage and the second voltage and determining a metal ring where a ground wire is located according to the standard of the earphone to be detected so as to obtain the impedance of the earphone to be detected, wherein the standard of the earphone to be detected is an open mobile terminal platform organization OMTP standard or an American wireless communication and Internet society of telecommunication (CTIA) standard;
the signal acquisition module includes:
the circuit comprises a first capacitor, a second capacitor, a first resistor and a second resistor;
one end of the first capacitor is connected with a first metal ring of the earphone to be detected and one end of the first resistor respectively; the other end of the first capacitor is connected with a second metal ring and a grounding point of the earphone to be detected respectively; the other end of the first resistor is connected with a first power supply;
one end of the second capacitor is connected with the first metal ring of the earphone to be detected and one end of the second resistor respectively; the other end of the second capacitor is connected with a third metal ring and a grounding point of the earphone to be detected respectively; the other end of the second resistor is connected with a second power supply.
2. The apparatus according to claim 1, wherein the determining means is specifically configured to,
determining an impedance between the first metal ring and the second metal ring and an impedance between the first metal ring and the third metal ring according to the first voltage and the second voltage;
and determining the standard and the impedance of the earphone to be detected according to the impedance between the first metal ring and the second metal ring and the impedance between the first metal ring and the third metal ring.
3. The apparatus according to claim 1, wherein the determining means is specifically configured to,
calculating a first impedance between the first metal ring and the second metal ring according to the first voltage, the voltage of the first power supply and the first resistance;
calculating a second impedance between the first metal ring and the third metal ring according to the second voltage, the voltage of the second power supply and the second resistance;
and determining the standard and the impedance of the earphone to be detected according to the first impedance and the second impedance.
4. The apparatus of claim 1,
the first resistance is equal to the second resistance, and the voltage of the first power supply is equal to the voltage of the second power supply.
5. The apparatus of any of claims 1-4, further comprising: a voltage stabilization module;
the voltage stabilizing module is electrically connected with the signal acquisition module and is used for outputting stable voltage to the signal acquisition module.
6. The apparatus of any of claims 1-4, further comprising: a display module;
the display module is electrically connected with the judgment module and used for displaying that the earphone to be detected determined by the judgment module is in an OMTP standard or a CTIA standard and displaying the impedance of the earphone to be detected or displaying that the earphone to be detected breaks down.
7. An earphone standard and impedance measurement method, comprising:
acquiring a first voltage between a first metal ring and a second metal ring of a to-be-detected earphone acquired by a signal acquisition module, and a second voltage between the first metal ring and a third metal ring, wherein the signal acquisition module comprises: the circuit comprises a first capacitor, a second capacitor, a first resistor and a second resistor; one end of the first capacitor is connected with a first metal ring of the earphone to be detected and one end of the first resistor respectively; the other end of the first capacitor is connected with a second metal ring and a grounding point of the earphone to be detected respectively; the other end of the first resistor is connected with a first power supply; one end of the second capacitor is connected with the first metal ring of the earphone to be detected and one end of the second resistor respectively; the other end of the second capacitor is connected with a third metal ring and a grounding point of the earphone to be detected respectively; the other end of the second resistor is connected with a second power supply;
the contact pin of the earphone to be detected is provided with four sections of metal rings, the four sections of metal rings counted from the top of the contact pin are respectively a first section of metal ring, a second section of metal ring, a third section of metal ring and a fourth section of metal ring in sequence, the first section of metal ring is the first section of metal ring or the second section of metal ring, the second section of metal ring is the third section of metal ring, and the third section of metal ring is the fourth section of metal ring;
and determining the standard and the impedance of the earphone to be detected according to the first voltage and the second voltage, wherein the standard of the earphone to be detected is an open mobile terminal platform organization OMTP standard or an American Wireless communication and Internet Association (CTIA) standard.
8. The method according to claim 7, wherein the determining the standard of the earphone to be detected according to the first voltage and the second voltage and determining the metal ring where the ground wire is located according to the standard of the earphone to be detected to obtain the impedance of the earphone to be detected comprises:
determining a first impedance between the first metal ring and the second metal ring and a second impedance between the first metal ring and the third metal ring according to the first voltage and the second voltage;
if the first impedance is larger than a first threshold and smaller than a second threshold, and the second impedance is larger than a third threshold and smaller than a fourth threshold, determining that the earphone to be detected is in an OMTP standard, and determining that the second impedance is the impedance of the earphone to be detected;
if the second impedance is larger than the first threshold and smaller than the second threshold, and the first impedance is larger than the third threshold and smaller than the fourth threshold, determining that the earphone to be detected is the CTIA standard, and determining that the first impedance is the impedance of the earphone to be detected;
wherein the first threshold is greater than the fourth threshold.
9. The method according to claim 8, wherein the determining the standard of the earphone to be detected according to the first voltage and the second voltage and determining the metal ring where the ground wire is located according to the standard of the earphone to be detected to obtain the impedance of the earphone to be detected further comprises:
if the first impedance is larger than a first threshold and smaller than a second threshold, and the second impedance is smaller than or equal to a third threshold or larger than or equal to a fourth threshold, or if the first impedance and the second impedance are both smaller than or equal to the first threshold or smaller than or equal to the second threshold, or if the second impedance is larger than the first threshold and smaller than the second threshold, and the first impedance is smaller than or equal to the third threshold and larger than or equal to the fourth threshold, it is determined that the earphone to be detected fails.
CN201910654440.1A 2019-07-19 2019-07-19 Earphone standard and impedance measuring device and method Active CN110572732B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910654440.1A CN110572732B (en) 2019-07-19 2019-07-19 Earphone standard and impedance measuring device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910654440.1A CN110572732B (en) 2019-07-19 2019-07-19 Earphone standard and impedance measuring device and method

Publications (2)

Publication Number Publication Date
CN110572732A CN110572732A (en) 2019-12-13
CN110572732B true CN110572732B (en) 2021-08-03

Family

ID=68772979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910654440.1A Active CN110572732B (en) 2019-07-19 2019-07-19 Earphone standard and impedance measuring device and method

Country Status (1)

Country Link
CN (1) CN110572732B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202634659U (en) * 2012-05-23 2012-12-26 东莞宇龙通信科技有限公司 Earphone interface self-adaptive circuit and mobile terminal
CN105050001A (en) * 2015-08-06 2015-11-11 宁波萨瑞通讯有限公司 Headset compatible circuit and working method thereof
CN107396226A (en) * 2017-08-23 2017-11-24 努比亚技术有限公司 A kind of earphone compatible circuit, mobile terminal and electronic system
CN109275067A (en) * 2017-07-17 2019-01-25 瑞昱半导体股份有限公司 Combined type connector circuit for detecting and its operating method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9609447B2 (en) * 2014-05-09 2017-03-28 Fairchild Semiconductor Corporation Audio jack insertion/removal fault detection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202634659U (en) * 2012-05-23 2012-12-26 东莞宇龙通信科技有限公司 Earphone interface self-adaptive circuit and mobile terminal
CN105050001A (en) * 2015-08-06 2015-11-11 宁波萨瑞通讯有限公司 Headset compatible circuit and working method thereof
CN109275067A (en) * 2017-07-17 2019-01-25 瑞昱半导体股份有限公司 Combined type connector circuit for detecting and its operating method
CN107396226A (en) * 2017-08-23 2017-11-24 努比亚技术有限公司 A kind of earphone compatible circuit, mobile terminal and electronic system

Also Published As

Publication number Publication date
CN110572732A (en) 2019-12-13

Similar Documents

Publication Publication Date Title
US9084035B2 (en) System and method of detecting a plug-in type based on impedance comparison
KR101646964B1 (en) Circuit apparatus and method for recognition earphone in electronic device
CN105338447A (en) Earphone control circuit and method, earphone, and audio frequency output apparatus and method
US9161124B2 (en) Method and electronic device for determining headset line sequence
CN205071294U (en) Headphone structure circuit, earphone, audio output device and display device
RU2584759C1 (en) Method and device for automatic identification of output of microphone and earthing output pin
TWI462396B (en) Signal connecting module, electronic device, and connector identification method thereof
CN105050001A (en) Headset compatible circuit and working method thereof
CN106226647B (en) The earphone socket and electronic equipment of a kind of electronic equipment
CN110572732B (en) Earphone standard and impedance measuring device and method
US9510119B2 (en) Method and device for detecting function of loudspeaker module
CN103634723B (en) Audio input circuit and the electronic equipment with audio input
CN205793346U (en) A kind of towards earphone/headset loudspeaker broken string and short-circuit detecting circuit
CN103177732B (en) Sound comparison processing detection system and detection method based on digital signal processor (DSP)
US20190293700A1 (en) Impedance detection apparatus for earphone plug
CN111044213A (en) LMS (least mean Square) acquisition system and water attack pressure parameter calibration method and processing method thereof
CN107908387B (en) Signal transmission circuit, signal transmission system, signal transmission method and intelligent terminal
CN114047384B (en) Low-impedance device testing module, system and method based on crosstalk principle
CN101907660A (en) Handheld device with measuring function and measuring method thereof
CN104076406A (en) Small-signal processing circuit for micro-resistivity scanning imaging
CN111432308A (en) Audio communication circuit, electronic equipment and audio communication test system
CN207978124U (en) A kind of impedance detection circuit and multimedia equipment
CN209269696U (en) Human body impedance test earphone
CN202721805U (en) Device for automatically identifying microphone pin and ground pin of audio interface and signature tool
CN110636411A (en) Power balance method and device of loudspeaker system

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