CN214591938U - Earphone/loudspeaker access automatic identification circuit and electronic equipment - Google Patents

Earphone/loudspeaker access automatic identification circuit and electronic equipment Download PDF

Info

Publication number
CN214591938U
CN214591938U CN202120453741.0U CN202120453741U CN214591938U CN 214591938 U CN214591938 U CN 214591938U CN 202120453741 U CN202120453741 U CN 202120453741U CN 214591938 U CN214591938 U CN 214591938U
Authority
CN
China
Prior art keywords
circuit
resistor
earphone
automatic identification
speaker
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
CN202120453741.0U
Other languages
Chinese (zh)
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.)
Xiamen Ruiling Hearing Technology Co ltd
Original Assignee
Xiamen Ruiling Hearing 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 Xiamen Ruiling Hearing Technology Co ltd filed Critical Xiamen Ruiling Hearing Technology Co ltd
Priority to CN202120453741.0U priority Critical patent/CN214591938U/en
Application granted granted Critical
Publication of CN214591938U publication Critical patent/CN214591938U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Circuit For Audible Band Transducer (AREA)

Abstract

The utility model discloses an earphone/loudspeaker access automatic identification circuit and an electronic device, the earphone/loudspeaker access automatic identification circuit comprises an earphone/loudspeaker interface seat, a first resistor, a second resistor, a third resistor, a reference voltage generation circuit, a comparison circuit and a main control circuit, wherein the interface seat comprises a grounding pin and a detection pin, the detection pin is configured to be used when the interface seat is not accessed by the earphone/loudspeaker, the reference voltage generating circuit is connected with a ground pin, otherwise, the reference voltage generating circuit is disconnected, the first resistor and the second resistor are connected in series and then connected between a power supply VDD and the ground, one path of a node between the first resistor and the second resistor is connected with a first input end of the comparison circuit, the other path of the node between the first resistor and the second resistor is connected with a third resistor in series and connected with a detection pin, an output end of the reference voltage generating circuit is connected with a second input end of the comparison circuit, and an output end of the comparison circuit is connected with the main control circuit. The utility model discloses whether can discern effectively reliably that there is earphone/speaker to insert, and circuit structure is simple, easily realizes, and is with low costs.

Description

Earphone/loudspeaker access automatic identification circuit and electronic equipment
Technical Field
The utility model belongs to the technical field of the identification circuit, specifically relate to an earphone/speaker inserts automatic identification circuit and electronic equipment.
Background
With the continuous development of scientific technology, various electronic devices have functions of being rich, and most of the electronic devices, such as mobile phones, computers, MP3, audiometers, and the like, have a function of audio transmission through earphones, that is, an earphone mode and a play mode are supported simultaneously. Generally, when the earphone is not accessed, the loudspeaker is closed and the earphone mode is switched to be used. Therefore, the detection process of the earphone access is indispensable, the detection of the earphone access is realized by the earphone access automatic identification circuit, and therefore, a plurality of earphones are also connected into the automatic identification circuit, but the existing earphone access automatic identification circuit has the disadvantages of complex circuit structure, large volume, no contribution to equipment miniaturization, difficulty in realization, high cost and reduction of market competitiveness.
Disclosure of Invention
An object of the utility model is to provide an earphone/speaker inserts automatic identification circuit and electronic equipment is used for solving the above-mentioned technical problem who exists.
In order to achieve the above object, the utility model adopts the following technical scheme: an earphone/loudspeaker access automatic identification circuit comprises an interface seat of an earphone/loudspeaker, a first resistor, a second resistor, a third resistor, a reference voltage generation circuit, a comparison circuit and a main control circuit, wherein the interface seat comprises a grounding pin and a detection pin, the detection pin is configured to be communicated with the grounding pin when the interface seat is not accessed by the earphone/loudspeaker, otherwise, the detection pin is disconnected, the first resistor and the second resistor are connected in series and then connected between a power supply VDD and the ground, one way of a node between the first resistor and the second resistor is connected with a first input end of the comparison circuit, the other way of the node between the first resistor and the second resistor is connected with the detection pin in series, an output end of the reference voltage generation circuit is connected with a second input end of the comparison circuit, and an output end of the comparison circuit is connected with the main control circuit.
Further, the comparison circuit is implemented by a voltage comparator.
Furthermore, the device also comprises an electrostatic protection device, and the electrostatic protection device is connected between the detection pin and the ground.
Furthermore, the electrostatic protection device is realized by a bidirectional transient voltage diode.
Further, the capacitor C128 and the diode D51 are further included, and the capacitor C128 and the diode D51 are respectively arranged in parallel with the second resistor.
Further, the reference voltage generating circuit comprises resistors R178 and R185, the resistors R178 and R185 are connected in series and then connected between the power supply VDD and the ground, and a node between the resistors R178 and R185 is connected to the second input terminal of the comparing circuit.
Furthermore, the reference voltage generating circuit further includes a capacitor C133, and the capacitor C133 is connected in parallel with the resistor R185.
Further, the main control circuit is realized by adopting an MCU microprocessor.
The utility model also discloses an electronic equipment is equipped with foretell earphone/speaker and inserts automatic identification circuit.
The utility model has the advantages of:
the utility model discloses whether can discern effectively reliably that whether there is earphone/speaker to insert, and circuit structure is simple, and the volume is less, does benefit to the equipment miniaturization to easily realize, with low costs, improve market competition.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only 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. 1 is a circuit diagram of an embodiment of the present invention.
Detailed Description
To further illustrate the embodiments, the present invention provides the accompanying drawings. The accompanying drawings, which are incorporated in and constitute a part of this disclosure, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the embodiments. With these references, one of ordinary skill in the art will appreciate other possible embodiments and advantages of the present invention. Elements in the figures are not drawn to scale and like reference numerals are generally used to indicate like elements.
The present invention will now be further described with reference to the accompanying drawings and detailed description.
As shown IN fig. 1, an automatic identification circuit for accessing an earphone/speaker includes an interface socket J2 of the earphone/speaker, a resistor R165 (a first resistor), a resistor R169 (a second resistor), a resistor R167 (a third resistor), a reference voltage generation circuit, a comparison circuit, and a main control circuit 100, where the interface socket J2 includes a ground pin 2 and a detection pin 3, the ground pin 2 is grounded GND, the detection pin 3 is configured to be connected to the ground pin 2 when the interface socket J2 is not accessed by the earphone/speaker, and to be disconnected from the ground pin 2 when the interface socket J2 is accessed by the earphone/speaker, the resistor R165 and the resistor R169 are connected IN series and then connected between a power supply VDD and the ground GND, and a node between the resistor R165 and the resistor R169 is connected to a first input terminal of the comparison circuit IN one way, which is an input terminal IN 2-of the comparison circuit IN this embodiment.
The other series resistor R167 is connected to the detection pin 3, and the output terminal of the reference voltage generating circuit is connected to the second input terminal of the comparison circuit, which IN this embodiment is the positive input terminal IN2+ of the comparison circuit, and the output terminal of the comparison circuit is connected to the main control circuit 100.
In this embodiment, the comparison circuit is implemented by using the voltage comparator U13, and has a simple structure, easy implementation and low cost, and the specific circuit connection details are shown in fig. 1, which is not described in detail, but is not limited thereto.
IN this embodiment, the reference voltage generating circuit includes resistors R178 and R185, the resistors R178 and R185 are connected IN series and then connected between the power supply VDD and the ground GND, and a node (the output terminal of the reference voltage generating circuit) between the resistors R178 and R185 is connected to the positive input terminal IN2+ of the comparing circuit. The reference voltage generating circuit has a simple circuit structure, is easy to implement, and has a low cost, but the reference voltage generating circuit is not limited to this, and in some embodiments, the reference voltage generating circuit can also be implemented by using other existing reference voltage generating circuits.
Further, the reference voltage generating circuit further includes a capacitor C133, and the capacitor C133 is connected in parallel with the resistor R185 and used for filtering and improving the stability of the reference voltage.
Further, in this embodiment, the device further includes an electrostatic protection device, and the electrostatic protection device is connected between the detection pin 2 and the ground GND, and is used for protecting the internal voltage of the device from being influenced by static electricity, so as to improve safety and reliability.
Preferably, in this embodiment, the electrostatic protection device is implemented by using a bidirectional transient voltage diode D35, so that the protection effect is good, the circuit structure is simple, the implementation is easy, and the cost is low.
Further, in this embodiment, the device further includes a capacitor C128 and a diode D51, the capacitor C128 and the diode D51 are respectively connected in parallel with the resistor R169, and the resistor R167, the capacitor C128 and the diode D51 form an RC filter network, so as to reduce the influence of voltage jitter generated during insertion on the recognition result, and improve reliability and accuracy.
In this embodiment, the main control circuit 100 is implemented by an MCU microprocessor, and has a simple structure, easy implementation and low cost, but not limited thereto, and in other embodiments, other existing control circuits may be implemented.
The working process is as follows:
when no earphone/speaker is connected, the ground pin 2 and the detection pin 3 of the interface socket J2 are connected, the output voltage VI of the detection pin 3 is equal to the ground pin 2, i.e. VI is 0V, and the input voltage Vb1 value of the input negative terminal IN 2-of the voltage comparator U13 is calculated as follows:
Vb1=((R167*R169)/(R167+R169))/(((R167*R169)/(R167+R169))+R165)*VDD
when the earphone/speaker is connected, the grounding pin 2 and the detection pin 3 of the interface socket J2 are disconnected, the detection pin 3 is suspended, and the input voltage Vb2 value of the input negative terminal IN 2-of the voltage comparator U13 is calculated as follows:
Vb2=R169/(R169+R165)*VDD
the reference voltage Va value is calculated as follows:
Va=R185/(R178+R185)*VDD
by setting the resistance values of the resistor R165, the resistor R169, the resistor R167, the resistor R178 and the resistor R185 to enable Vb1 to be less than Va < Vb2, when no earphone/speaker is connected, Vb1 is less than Va, and the voltage comparator U13 outputs a high level; when the earphone/loudspeaker is connected, Va < Vb2, the voltage comparator U13 outputs low level, and the MCU microprocessor can acquire information such as whether the earphone/loudspeaker is inserted or not by judging the state of the IO port, so that automatic identification of the earphone/loudspeaker connection is realized.
The utility model also discloses an electronic equipment is equipped with foretell earphone/speaker and inserts automatic identification circuit.
The utility model discloses whether can discern effectively reliably that whether there is earphone/speaker to insert, and circuit structure is simple, and the volume is less, does benefit to the equipment miniaturization to easily realize, with low costs, improve market competition.
While the invention has been particularly shown and described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (9)

1. An automatic identification circuit for earphone/speaker access, characterized by: the earphone/speaker interface comprises an earphone/speaker interface seat, a first resistor, a second resistor, a third resistor, a reference voltage generating circuit, a comparison circuit and a main control circuit, wherein the interface seat comprises a grounding pin and a detection pin, the detection pin is configured to be communicated with the grounding pin when the interface seat is not connected with the earphone/speaker, otherwise, the detection pin is disconnected, the first resistor and the second resistor are connected between a power supply VDD and the ground after being connected in series, one circuit of a node between the first resistor and the second resistor is connected with a first input end of the comparison circuit, the other circuit of the node is connected with the detection pin in series, an output end of the reference voltage generating circuit is connected with a second input end of the comparison circuit, and an output end of the comparison circuit is connected with the main control circuit.
2. The headphone/speaker access automatic identification circuit of claim 1, wherein: the comparison circuit is implemented by a voltage comparator.
3. The headphone/speaker access automatic identification circuit of claim 1, wherein: the electrostatic protection device is connected between the detection pin and the ground.
4. The headphone/speaker access automatic identification circuit of claim 3, wherein: the electrostatic protection device is realized by adopting a bidirectional transient voltage diode.
5. The headphone/speaker access automatic identification circuit of claim 1, wherein: and the capacitor C128 and the diode D51 are further included, and the capacitor C128 and the diode D51 are respectively arranged in parallel with the second resistor.
6. The headphone/speaker access automatic identification circuit of claim 1, wherein: the reference voltage generating circuit comprises resistors R178 and R185, the resistors R178 and R185 are connected in series and then connected between a power supply VDD and the ground, and a node between the resistors R178 and R185 is connected with a second input end of the comparison circuit.
7. The headphone/speaker access automatic identification circuit of claim 6, wherein: the reference voltage generating circuit further comprises a capacitor C133, and the capacitor C133 is arranged in parallel with the resistor R185.
8. The headphone/speaker access automatic identification circuit of claim 1, wherein: the main control circuit is realized by adopting an MCU microprocessor.
9. An electronic device, characterized in that: there is provided the headset/speaker access automatic identification circuit of any of claims 1-8.
CN202120453741.0U 2021-03-03 2021-03-03 Earphone/loudspeaker access automatic identification circuit and electronic equipment Active CN214591938U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202120453741.0U CN214591938U (en) 2021-03-03 2021-03-03 Earphone/loudspeaker access automatic identification circuit and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202120453741.0U CN214591938U (en) 2021-03-03 2021-03-03 Earphone/loudspeaker access automatic identification circuit and electronic equipment

Publications (1)

Publication Number Publication Date
CN214591938U true CN214591938U (en) 2021-11-02

Family

ID=78352409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202120453741.0U Active CN214591938U (en) 2021-03-03 2021-03-03 Earphone/loudspeaker access automatic identification circuit and electronic equipment

Country Status (1)

Country Link
CN (1) CN214591938U (en)

Similar Documents

Publication Publication Date Title
US8756358B2 (en) Method and device for identifying universal serial bus (USB) insertion or charger insertion of mobile terminal
CN103064489B (en) A kind of method and terminal of carrying out internal circuit selection according to USB interface state
CN105867874A (en) A user device
JP2006511053A (en) Combination audio / charger jack
CN103561369A (en) Usb interface circuit and electronic equipment
CN105848028A (en) Earphone for charging audio device and method for charging audio device
CN108054541B (en) Switching device, multi-equipment detection system and detection method thereof
CN214591938U (en) Earphone/loudspeaker access automatic identification circuit and electronic equipment
CN109713511A (en) Detection circuit, earphone socket, method and mobile terminal
CN110716891B (en) Forced downloading method, circuit, terminal equipment and data line
WO2020187024A1 (en) Audio circuit, related device and control method
CN103197199B (en) Interrupt detection apparatus and method
CN210274510U (en) Protection device for preventing mobile terminal from being eavesdropped
CN114630230B (en) Electronic equipment, pull-up circuit and method for suppressing earphone POP sound
CN217546274U (en) Earphone POP sound elimination circuit and electronic equipment
WO2022042199A1 (en) Interface circuit, protection method for same, and terminal device
CN212541260U (en) Reset circuit of electronic equipment and electronic equipment
CN210327962U (en) Microphone plugging detection circuit and microphone system
WO2020238704A1 (en) Method for multiplexing earphone seat and usb otg function
CN113991804A (en) Charging protocol handshaking circuit and electronic equipment
CN203416396U (en) Intelligent terminal earphone association circuit
CN103002382A (en) Headset plug transverter
WO2020048276A1 (en) Charging interface protection method and charging device
CN203015089U (en) Earphone plug converter
CN112468923B (en) Audio processing circuit, method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant