CN205305113U - Loudspeaker plug detection circuitry and electronic equipment - Google Patents

Loudspeaker plug detection circuitry and electronic equipment Download PDF

Info

Publication number
CN205305113U
CN205305113U CN201521120103.8U CN201521120103U CN205305113U CN 205305113 U CN205305113 U CN 205305113U CN 201521120103 U CN201521120103 U CN 201521120103U CN 205305113 U CN205305113 U CN 205305113U
Authority
CN
China
Prior art keywords
circuit
connects
switch circuit
loudspeaker
switch
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.)
Expired - Fee Related
Application number
CN201521120103.8U
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.)
Weifang Goertek Electronics Co Ltd
Original Assignee
Weifang Goertek Electronics 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 Weifang Goertek Electronics Co Ltd filed Critical Weifang Goertek Electronics Co Ltd
Priority to CN201521120103.8U priority Critical patent/CN205305113U/en
Application granted granted Critical
Publication of CN205305113U publication Critical patent/CN205305113U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Circuit For Audible Band Transducer (AREA)
  • Stereophonic Arrangements (AREA)

Abstract

The utility model discloses a loudspeaker plug detection circuitry and electronic equipment, detection circuitry include control circuit, loudspeaker interface, a switch circuit, the 2nd switch circuit, and control circuit's output pin connects a switch circuit's control end, and loudspeaker interface ground connection is passed through to the one end of a switch circuit's switch route, and the 2nd switch circuit's control end is connected to the other end to through first ohmic connection DC power supply, DC power supply is connected to the one end of the 2nd switch circuit's switch route, and the other end passes through the 2nd grounding, and the 2nd switch circuit's switch route is connected with control circuit's input pin with the connected node of second resistance. The utility model discloses a loudspeaker plug detection circuitry, whether the height level detection through the control circuit input interface inserts loudspeaker, and simple structure realizes easily that the cost is lower, and the facilitate promotion is used. Detection circuitry uses in electronic equipment with the loudspeaker plug, and electronic equipment can detect whether inserted loudspeaker, and the electronic equipment of being convenient for moves better.

Description

A kind of loudspeaker plug-pull detecting circuit and electronic equipment
Technical field
This utility model belongs to electronic circuit technology field, specifically, relates to a kind of loudspeaker plug-pull detecting circuit and the electronic equipment adopting described loudspeaker plug-pull detecting circuit to design.
Background technology
Earphone is a lot of electronic equipment spare part that such as mobile terminal, transmitter receiver, communication station configure, and mainly realizes secret call function. When practical application, the earphone of some electronic equipment only has loudspeaker and is separate to be plugged in electronic equipment without the Mike on Mike or earphone with loudspeaker, is now necessary for realizing loudspeaker plug detection function, and this is accomplished by providing a kind of loudspeaker method that plug detects. The plug detection of existing loudspeaker has two kinds: the first, earphone socket arranges a shell fragment, when loudspeaker insert earphone socket, shell fragment deviates original state and causes the level change of detection pin, and the judge module in electronic equipment realizes loudspeaker plug detection function accordingly. Because the method needs to increase at least one shell fragment on earphone socket, and shell fragment is in use very easy to occur that inefficacy causes loudspeaker plug detection disabler. Second method can increase shell fragment on earphone socket, and its principle is to adopt Mike's resistance to carry out loudspeaker plug Function detection. But Mike's resistance is higher, excursion is very big, generally at 600 �� to 10K ��, it is not strong that this makes to adopt Mike's resistance to carry out the device versatility of loudspeaker detection, biasing module in voltage detection module arranges complex, it is necessary to accurately calculate bias resistance, the phenomenon of error detection easily occurs when adopting the Mike of different manufacturers, the more important thing is that the earphone of some electronic equipment does not have Mike, will be unable to realize loudspeaker plug detection function when adopting Mike's resistance as loudspeaker plug detection.
Summary of the invention
The technical problems to be solved in the utility model is to provide a kind of loudspeaker plug-pull detecting circuit, the earphone solving electronic equipment only have loudspeaker and without the Mike on Mike or earphone and loudspeaker be separate be plugged into electronic equipment when, it is achieved loudspeaker plug the problem detecting function.
For solving above-mentioned technical problem, this utility model is achieved by the following technical solutions:
A kind of loudspeaker plug-pull detecting circuit, including control circuit, horn interface, the first on-off circuit, second switch circuit, the output pin of described control circuit connects the control end of described first on-off circuit, described horn interface ground connection is passed through in one end of the switch ways of described first on-off circuit, the other end connects the control end of described second switch circuit, and connects DC source by the first resistance;One end of the switch ways of described second switch circuit connects described DC source, and the other end passes through the second resistance eutral grounding, and the node that connects of the switch ways of described second switch circuit and described second resistance is connected with the input pin of described control circuit.
Further, described first on-off circuit is NMOS tube, the grid of described NMOS tube connects described output pin, the source electrode of described NMOS tube passes through described horn interface ground connection, the drain electrode of described NMOS tube connects DC source by described first resistance, and the drain electrode of described NMOS tube connects the control end of described second switch circuit; When the drain electrode of described NMOS tube is low level, described second switch circuit turn-on.
Further, described second switch circuit is PNP triode, the base stage of described PNP triode connects the drain electrode of described NMOS tube, the emitter stage of described PNP triode connects described DC source, the colelctor electrode of described PNP triode passes through described second resistance eutral grounding, and the colelctor electrode of described PNP triode connects described input pin.
Further, described second switch circuit is PMOS, and the grid of described PMOS connects the drain electrode of described NMOS tube, and the source electrode of described PMOS connects described DC source, the drain electrode of described PMOS is by described second resistance eutral grounding, and the drain electrode of described PMOS connects described input pin.
Further, described first on-off circuit is NPN audion, the base stage of described NPN audion connects described output pin, the emitter stage of described NPN audion passes through described horn interface ground connection, the colelctor electrode of described NPN audion connects described DC source by described first resistance, and the colelctor electrode of described NPN audion connects the control end of described second switch circuit; When the current collection extremely low level of described NPN audion, described second switch circuit turn-on.
Further, described second switch circuit is PNP triode, the base stage of described PNP triode connects the colelctor electrode of described NPN audion, the emitter stage of described PNP triode connects described DC source, the colelctor electrode of described PNP triode passes through described second resistance eutral grounding, and the colelctor electrode of described PNP triode connects described input pin.
Further, described second switch circuit is PMOS, the grid of described PMOS connects the colelctor electrode of described NPN audion, the source electrode of described PMOS connects described DC source, the drain electrode of described PMOS is by described second resistance eutral grounding, and the drain electrode of described PMOS connects described input pin.
Further, between the control end of described output pin and the first on-off circuit, the 3rd resistance it is also associated with.
Preferably, it is connected to the 4th resistance between the other end and the control end of described second switch circuit of the switch ways of described first on-off circuit.
Design based on above-mentioned loudspeaker plug-pull detecting circuit, this utility model also proposed a kind of electronic equipment, including described loudspeaker plug-pull detecting circuit, described loudspeaker plug-pull detecting circuit includes control circuit, horn interface, the first on-off circuit, second switch circuit, the output pin of described control circuit connects the control end of described first on-off circuit, described horn interface ground connection is passed through in one end of the switch ways of described first on-off circuit, the other end connects the control end of described second switch circuit, and connects DC source by the first resistance; One end of the switch ways of described second switch circuit connects described DC source, and the other end passes through the second resistance eutral grounding, and the node that connects of the switch ways of described second switch circuit and described second resistance is connected with the input pin of described control circuit.
Compared with prior art, advantage of the present utility model and have the benefit effect that loudspeaker plug-pull detecting circuit of the present utility model, detect whether to insert loudspeaker by the low and high level of control circuit input interface, easy to use, circuit structure is simple, it is easy to accomplish, it is simple to popularization and application;And metal-oxide-semiconductor and audion are less costly, therefore whole testing circuit is less costly. Being applied in the electronic device by loudspeaker plug-pull detecting circuit, electronic equipment is able to detect that whether be inserted with loudspeaker, in order to electronic equipment runs better.
After reading in conjunction with the accompanying the detailed description of this utility model embodiment, other features of the present utility model and advantage will become clearer from.
Accompanying drawing explanation
Fig. 1 is circuit theory diagrams of the proposed loudspeaker plug-pull detecting circuit of this utility model;
Fig. 2 is another circuit theory diagrams of the proposed loudspeaker plug-pull detecting circuit of this utility model.
Detailed description of the invention
Below in conjunction with accompanying drawing, detailed description of the invention of the present utility model is described in more detail.
Embodiment one, the loudspeaker plug-pull detecting circuit of the present embodiment, mainly include control circuit U1, horn interface, first on-off circuit Q1, second switch circuit Q2 etc., shown in Figure 1, the output pin PIO1 of control circuit U1 connects the control end of the first on-off circuit Q1, horn interface ground connection is passed through in one end of the switch ways of the first on-off circuit Q1, the other end of the first on-off circuit Q1 connects DC source VCC by the first resistance R1, the other end of the first on-off circuit Q1 connects the control end of second switch circuit Q2, one end of the switch ways of second switch circuit Q2 connects DC source VCC, the other end of the switch ways of second switch circuit Q2 passes through the second resistance R2 ground connection, the other end of the switch ways of second switch circuit Q2 and the node that connects of the second resistance R2 are connected with the input pin PIO2 of control circuit U1.
When whether inserting loudspeaker SPK on detection horn interface, the output pin PIO1 of control circuit U1 exports the high level control end to the first on-off circuit Q1, if horn interface inserts loudspeaker SPK, the switch ways conducting of the first on-off circuit Q1, the electric current that DC source VCC provides is by the first resistance R1, the switch ways of the first on-off circuit Q1, loudspeaker SPK flows into ground, the control end level of second switch circuit Q2 is dragged down by the other end of the switch ways of the first on-off circuit Q1, the switch ways conducting of second switch circuit Q2, the electric current that DC source VCC the provides switch ways by second switch circuit Q2, second resistance R2 flows into ground, the switch ways of second switch circuit Q2 and the junction of the second resistance R2 are high level, therefore the input pin PIO2 of control circuit U1 is high level, if being not inserted into loudspeaker SPK on horn interface, the first on-off circuit Q1 turns off, and the control end of second switch circuit Q2 is high level, and second switch circuit Q2 turns off, and the input pin PIO2 of control circuit U1 is low level.
That is, when the output pin PIO1 of control circuit U1 exports high level, if horn interface inserts loudspeaker SPK, the input pin PIO2 of control circuit U1 receives high level, without inserting loudspeaker SPK, the input pin PIO2 of control circuit U1 receives low level, therefore, can know whether to insert loudspeaker from the low and high level of input pin PIO2.
First on-off circuit Q1 can be chosen as NMOS tube, the grid of NMOS tube connects output pin PIO1, receive the level of output pin PIO1 output, the source electrode of NMOS tube passes through horn interface ground connection, the drain electrode of NMOS tube connects DC source VCC by the first resistance R1, and the drain electrode of NMOS tube connects the control end of second switch circuit Q2; When the drain electrode of NMOS tube is low level, when namely the control end of second switch circuit Q2 is low level, second switch circuit Q2 turns on, and input pin PIO2 receives high level.Second switch circuit Q2 can be chosen as PNP triode, the base stage of PNP triode connects the drain electrode of NMOS tube, the emitter stage of PNP triode connects DC source VCC, the colelctor electrode of PNP triode passes through the second resistance R2 ground connection, the colelctor electrode of PNP triode connects input pin PIO2, shown in Figure 2; Second switch circuit Q2 can also be chosen as PMOS, and the grid of PMOS connects the drain electrode of NMOS tube, and the source electrode of PMOS connects DC source VCC, and the drain electrode of PMOS is by the second resistance R2 ground connection, and the drain electrode of PMOS connects input pin PIO2.
First on-off circuit Q1 can also be chosen as NPN audion, the base stage of NPN audion connects output pin PIO1, receive the level of output pin PIO1 output, the emitter stage of NPN audion passes through horn interface ground connection, the colelctor electrode of NPN audion connects the control end of the colelctor electrode connection second switch circuit Q2 of DC source VCC, NPN audion by the first resistance R1; When the current collection extremely low level of NPN audion, when namely the control end of second switch circuit Q2 is low level, second switch circuit Q2 turns on, and input pin PIO2 receives high level. Second switch circuit Q2 can be chosen as PNP triode; the base stage of PNP triode connects the colelctor electrode of NPN audion; the emitter stage of PNP triode connects DC source VCC, and the colelctor electrode of PNP triode passes through the second resistance R2 ground connection, and the colelctor electrode of PNP triode connects input pin PIO2; Second switch circuit Q2 can also be chosen as PMOS, and the grid of PMOS connects the colelctor electrode of NPN audion, and the source electrode of PMOS connects DC source VCC, and the drain electrode of PMOS is by the second resistance R2 ground connection, and the drain electrode of PMOS connects input pin PIO2.
It is to say, the first on-off circuit Q1 can be chosen as NMOS tube or NPN audion, second switch circuit Q2 can be chosen as PMOS or PNP triode.
When output pin PIO1 exports high level, if horn interface inserts loudspeaker SPK, first on-off circuit Q1(NMOS pipe or NPN audion) conducting, the control end (grid of PMOS or the base stage of PNP triode) of second switch circuit Q2 is dragged down by the drain electrode (or colelctor electrode of NPN audion) of NMOS tube, second switch circuit Q2(PMOS pipe or PNP triode) conducting, the drain electrode (or colelctor electrode of PNP triode) of PMOS is high level, is drawn by input pin PIO2 as high level; If being not inserted into loudspeaker SPK on horn interface, the first on-off circuit Q1 turns off, and the control end of second switch circuit Q2 is high level, and second switch circuit Q2 turns off, and input pin PIO2 is low level.
The loudspeaker plug-pull detecting circuit of the present embodiment, detects whether to insert loudspeaker by the low and high level of control circuit input interface, and easy to use, circuit structure is simple, it is easy to accomplish, increase versatility, it is simple to popularization and application; And owing to metal-oxide-semiconductor and audion are less costly, therefore whole testing circuit is less costly, reduces the cost of testing circuit.
It is also associated with the 3rd resistance R3 between the control end of output pin PIO1 and the first on-off circuit Q1,3rd resistance R3 plays the effect of current limliting, avoid that the output pin PIO1 electric current exported is excessive burns the first on-off circuit Q1, thus extending the service life of the first on-off circuit Q1, reduce maintenance cost.
It is connected to the 4th resistance R4 between the other end and the control end of second switch circuit Q2 of the switch ways of the first on-off circuit Q1.4th resistance R4 plays the effect of current limliting, it is to avoid DC source VCC output excessive burns second switch circuit Q2 to the second switch circuit Q2 electric current controlling end, thus extending the service life of second switch circuit Q2, reduces maintenance cost.
In the present embodiment, DC source VCC can be chosen as accumulator, aneroid battery or linear stable power supply etc., it is of course also possible to select other DC sources.
In the present embodiment, the resistance of the first resistance R1 is preferably 100K ��, the second resistance R2, the 3rd resistance R3, the 4th resistance R4 resistance be both preferably 10K ��.
When not detecting horn interface and whether inserting loudspeaker, the output pin PIO1 output low level of control circuit U1, turn off the first on-off circuit Q1, reduce the DC source VCC impact on loudspeaker SPK.
Based on the design of above-mentioned loudspeaker plug-pull detecting circuit, the present embodiment also proposed a kind of electronic equipment, including described loudspeaker plug-pull detecting circuit. The particular circuit configurations of loudspeaker plug-pull detecting circuit, referring to the specific descriptions of above-described embodiment and description, repeats no more herein. The electronic equipment being provided with described loudspeaker plug-pull detecting circuit can realize same technique effect.
Being applied in the electronic device by loudspeaker plug-pull detecting circuit, electronic equipment is able to detect that whether be inserted with loudspeaker, in order to electronic equipment runs better.
Described electronic equipment can be mobile phone, PAD, PC etc.
Certainly; described above is not to restriction of the present utility model; this utility model is also not limited to the example above, the change made in essential scope of the present utility model of those skilled in the art, remodeling, interpolation or replacement, also should belong to protection domain of the present utility model.

Claims (10)

1. a loudspeaker plug-pull detecting circuit, it is characterized in that: include control circuit, horn interface, the first on-off circuit, second switch circuit, the output pin of described control circuit connects the control end of described first on-off circuit, described horn interface ground connection is passed through in one end of the switch ways of described first on-off circuit, the other end connects the control end of described second switch circuit, and connects DC source by the first resistance; One end of the switch ways of described second switch circuit connects described DC source, and the other end passes through the second resistance eutral grounding, and the node that connects of the switch ways of described second switch circuit and described second resistance is connected with the input pin of described control circuit.
2. loudspeaker plug-pull detecting circuit according to claim 1, it is characterized in that: described first on-off circuit is NMOS tube, the grid of described NMOS tube connects described output pin, the source electrode of described NMOS tube passes through described horn interface ground connection, the drain electrode of described NMOS tube connects DC source by described first resistance, and the drain electrode of described NMOS tube connects the control end of described second switch circuit; When the drain electrode of described NMOS tube is low level, described second switch circuit turn-on.
3. loudspeaker plug-pull detecting circuit according to claim 2, it is characterized in that: described second switch circuit is PNP triode, the base stage of described PNP triode connects the drain electrode of described NMOS tube, the emitter stage of described PNP triode connects described DC source, the colelctor electrode of described PNP triode passes through described second resistance eutral grounding, and the colelctor electrode of described PNP triode connects described input pin.
4. loudspeaker plug-pull detecting circuit according to claim 2, it is characterized in that: described second switch circuit is PMOS, the grid of described PMOS connects the drain electrode of described NMOS tube, the source electrode of described PMOS connects described DC source, the drain electrode of described PMOS is by described second resistance eutral grounding, and the drain electrode of described PMOS connects described input pin.
5. loudspeaker plug-pull detecting circuit according to claim 1, it is characterized in that: described first on-off circuit is NPN audion, the base stage of described NPN audion connects described output pin, the emitter stage of described NPN audion passes through described horn interface ground connection, the colelctor electrode of described NPN audion connects described DC source by described first resistance, and the colelctor electrode of described NPN audion connects the control end of described second switch circuit; When the current collection extremely low level of described NPN audion, described second switch circuit turn-on.
6. loudspeaker plug-pull detecting circuit according to claim 5, it is characterized in that: described second switch circuit is PNP triode, the base stage of described PNP triode connects the colelctor electrode of described NPN audion, the emitter stage of described PNP triode connects described DC source, the colelctor electrode of described PNP triode passes through described second resistance eutral grounding, and the colelctor electrode of described PNP triode connects described input pin.
7. loudspeaker plug-pull detecting circuit according to claim 5, it is characterized in that: described second switch circuit is PMOS, the grid of described PMOS connects the colelctor electrode of described NPN audion, the source electrode of described PMOS connects described DC source, the drain electrode of described PMOS is by described second resistance eutral grounding, and the drain electrode of described PMOS connects described input pin.
8. loudspeaker plug-pull detecting circuit according to any one of claim 1 to 7, it is characterised in that: between the control end of described output pin and the first on-off circuit, it is also associated with the 3rd resistance.
9. loudspeaker plug-pull detecting circuit according to claim 8, it is characterised in that: it is connected to the 4th resistance between the other end and the control end of described second switch circuit of the switch ways of described first on-off circuit.
10. an electronic equipment, it is characterised in that: include loudspeaker plug-pull detecting circuit as claimed in any one of claims 1-9 wherein.
CN201521120103.8U 2015-12-30 2015-12-30 Loudspeaker plug detection circuitry and electronic equipment Expired - Fee Related CN205305113U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201521120103.8U CN205305113U (en) 2015-12-30 2015-12-30 Loudspeaker plug detection circuitry and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201521120103.8U CN205305113U (en) 2015-12-30 2015-12-30 Loudspeaker plug detection circuitry and electronic equipment

Publications (1)

Publication Number Publication Date
CN205305113U true CN205305113U (en) 2016-06-08

Family

ID=56473373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201521120103.8U Expired - Fee Related CN205305113U (en) 2015-12-30 2015-12-30 Loudspeaker plug detection circuitry and electronic equipment

Country Status (1)

Country Link
CN (1) CN205305113U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105451149A (en) * 2015-12-30 2016-03-30 潍坊歌尔电子有限公司 Loudspeaker plug detection circuit and electronic device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105451149A (en) * 2015-12-30 2016-03-30 潍坊歌尔电子有限公司 Loudspeaker plug detection circuit and electronic device
CN105451149B (en) * 2015-12-30 2019-03-12 潍坊歌尔电子有限公司 A kind of loudspeaker plug-pull detecting circuit and electronic equipment

Similar Documents

Publication Publication Date Title
US9407987B2 (en) Audio interface self-adaptation device
US9215541B2 (en) Apparatus for detecting type of audio interface
CN102740181B (en) Earphone interface circuit and electronic equipment
CN202721789U (en) Audio interface adaptive device
CN103379420A (en) Method and electronic device for determining earphone line sequence
CN105050001A (en) Headset compatible circuit and working method thereof
CN204887410U (en) Realize compatible interface circuit of earphone
CN105451149B (en) A kind of loudspeaker plug-pull detecting circuit and electronic equipment
AU2013275897B2 (en) Method, device, and electronic signature tool for use in matching with audio interface of mobile terminal
CN106026259A (en) Charging control circuit and charging device of electronic equipment
CN205305113U (en) Loudspeaker plug detection circuitry and electronic equipment
CN203883981U (en) Headset with microphone signal MIC and GND automatic switching function
CN103220598B (en) A kind of audio interface adaptive device and audio signal reception equipment
CN101917659A (en) Detection device, method and mobile terminal of earphone circuit
CN104701933A (en) OTG selective charging circuit and portable loudspeaker box
CN207766467U (en) A kind of earphone and serial port automatic switching circuit
CN204497773U (en) A kind of OTG selective charge circuit and portable audio
CN203167212U (en) Earphone output circuit and TV set
CN102291640B (en) Double-contact mobile phone earphone socket
CN104253603A (en) Portable electronic device and application method thereof
CN205430584U (en) Headphone circuit and intelligent Mobile Terminal
CN202634680U (en) Earphone with automatic sensing function
CN205040008U (en) Earphone audio input switching circuit
CN102695109A (en) Earphone with automatic sensing function
CN105187985B (en) Earphone with microphone signal MIC Yu GND automatic switching functions

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160608

CF01 Termination of patent right due to non-payment of annual fee