CN206686364U - Headset plugging detects circuit and electronic equipment - Google Patents

Headset plugging detects circuit and electronic equipment Download PDF

Info

Publication number
CN206686364U
CN206686364U CN201720297893.XU CN201720297893U CN206686364U CN 206686364 U CN206686364 U CN 206686364U CN 201720297893 U CN201720297893 U CN 201720297893U CN 206686364 U CN206686364 U CN 206686364U
Authority
CN
China
Prior art keywords
detection
impedance
unit
detection unit
headset plugging
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
CN201720297893.XU
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201720297893.XU priority Critical patent/CN206686364U/en
Application granted granted Critical
Publication of CN206686364U publication Critical patent/CN206686364U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Details Of Connecting Devices For Male And Female Coupling (AREA)

Abstract

The utility model embodiment discloses a kind of headset plugging detection circuit, including:Logic generation unit, interrupt detection unit, impedance detection unit and plug judging unit, the interruption detection unit is connected with the logic generation unit, the interruption detection unit detects interrupt signal caused by the logic generation unit, the impedance detection unit is connected with the logic generation unit, the impedance detection module detects the impedance data of the logic generation unit, the plug judging unit is connected to the interruption detection module and the impedance detection unit, the plug judge module judges headset plugging state according to the interrupt signal and the impedance data.The utility model embodiment also discloses a kind of corresponding electronic equipment.Headset plugging disclosed in the utility model embodiment detects circuit, is earphone insert state available for error detection after on the premise of the compatibility of peripheral hardware is not influenceed, solving the problems, such as earphone socket feed liquor, improves Consumer's Experience.

Description

Headset plugging detects circuit and electronic equipment
Technical field
It the utility model is related to mobile communication technology field, more particularly to headset plugging detection circuit and electronic equipment.
Background technology
At present, the electronic equipment such as mobile phone, tablet personal computer is all equipped with earphone socket substantially, and earphone socket is based on 3.5mm, Earphone socket set headset plugging detection means, after earphone insert, electronic equipment understand automatic identification to earphone insert and incite somebody to action in Portion's voice-frequency channel is switched to headset mode and exported.In general, it is this be identified by it is open in usual inside earphone socket Or the normally closed type switch interrupt signal caused by state change before and after earphone is inserted is realized.Referring to Fig. 1 to Fig. 2, with normal Exemplified by the earphone socket of open switch:The first terminal S1 and Second terminal S02 form one group of switch, wherein, the first terminal S01 or A connection left channel signals in Second terminal S02, another, which is only used as, detects pin, and the first terminal S1 and Second terminal S02 connects pull-up resistor and pull down resistor respectively, and headset plug S03 is pluggable earphone plug, the right sound of third terminal S04 connections Road signal, forth terminal S05 connection microphone signals, the 5th terminal S06 ground connection;When headset plug S03 is not inserted into earphone socket, The first terminal S01 is to disconnect with Second terminal S02 contacts, and interrupt signal is high level;After headset plug S03 is inserted, the One terminal S01 is produced with Second terminal S02 and electrically connected, i.e., short circuit occurs in the two, and interrupt signal is low level, and interrupt signal occurs The change of level from high to low, it is thus regarded that earphone inserts, it is similar during extraction.Normally closed type switchs in contrast.
But for earphone socket open in usual, in order that power consumption is relatively low, the pull-up resistor of circuit is typically chosen higher by (hundreds of More than k Ω), but a problem is similarly brought, can also even if impedance is not 0 between the first terminal S01 and Second terminal S02 Low level is obtained at interrupt signal, such as when selection 1m Ω pull-up resistors, the resistance between the first terminal S01 and Second terminal S02 It is anti-when reaching below 300k Ω, low level interrupt signal will be produced, so as to be judged as that earphone inserts.In actual use, After earphone socket enters liquid (such as sweat), due to the effect of ionization, it is easy to reach between the first terminal S01 and Second terminal S02 To tens to hundreds of k Ω impedance, the time is longer, and impedance is smaller (sweat is non-volatile), thus, also can when earphone socket feed liquor Error detection is earphone insert state, influences user experience.
Utility model content
The utility model embodiment provides headset plugging detection circuit and electronic equipment, is inserted with solving earphone in the prior art The erroneous judgement problem of state is pulled out, is particularly due to erroneous judgement problem caused by earphone socket feed liquor.
On the one hand, the utility model embodiment provides a kind of headset plugging detection circuit, including:Logic generation unit, in Disconnected detection unit, impedance detection unit and plug judging unit, the interruption detection unit are connected with the logic generation unit Connect, the interruption detection unit detects interrupt signal caused by the logic generation unit, the impedance detection unit with it is described Logic generation unit is connected, and the impedance detection module detects the impedance data of the logic generation unit, and the plug is sentenced Disconnected unit is connected to the interruption detection module and the impedance detection unit, and the plug judge module is believed according to described interrupt Number and the impedance data judge headset plugging state.
On the other hand, the utility model embodiment additionally provides a kind of electronic equipment, including above-mentioned headset plugging detection electricity Road.
The headset plugging detection circuit that the utility model embodiment provides, by increasing impedance detection unit, plug judges Module judges headset plugging state according to interrupt signal and impedance data.Thus, available for not influenceing the compatible of peripheral hardware Under the premise of, error detection is earphone insert state after solving the problems, such as earphone socket feed liquor, improves Consumer's Experience.
Brief description of the drawings
, below will be to the utility model embodiment in order to illustrate more clearly of the technical scheme in the embodiment of the utility model The required accompanying drawing used is briefly described in description, it should be apparent that, drawings in the following description are only that this practicality is new The accompanying drawing of some embodiments of type, for those of ordinary skill in the art, on the premise of not paying creative work, also Other accompanying drawings can be obtained according to these accompanying drawings.
Fig. 1 is the structural representation of earphone socket and headset plug in the state of extraction;
Fig. 2 is the structural representation of earphone socket and headset plug in insert state;
Fig. 3 is the structural representation of the first embodiment of the utility model headset plugging detection circuit;
Fig. 4 is the electrical schematic diagram of the second embodiment of the utility model headset plugging detection circuit;
Fig. 5 is the impedance detection oscillogram of the utility model headset plugging detection circuit.
Embodiment
Below in conjunction with the accompanying drawing in the utility model embodiment, the technical scheme in the embodiment of the utility model is carried out Clearly and completely describe, it is clear that described embodiment is the utility model part of the embodiment, rather than whole implementation Example.Based on the embodiment in the utility model, those of ordinary skill in the art are obtained under the premise of creative work is not made The every other embodiment obtained, belong to the scope of the utility model protection.
First embodiment
As shown in figure 3, it is the structural representation of the first embodiment of the utility model headset plugging detection circuit.The earphone Plug-pull detecting circuit is applied to electronic equipment, including:Logic generation unit, interrupt detection unit, impedance detection unit and plug Judging unit, the interruption detection unit are connected with the logic generation unit, are patrolled described in the interruption detection unit detection Interrupt signal caused by generation unit is collected, the impedance detection unit is connected with the logic generation unit, the impedance inspection Survey the impedance data that module detects the logic generation unit, the plug judging unit be connected to the interruption detection module and The impedance detection unit, the plug judge module judge headset plugging shape according to the interrupt signal and the impedance data State.
In the utility model embodiment, the conduction impedance that is formed due to metallic plug and conducting liquid at detection switch Difference, the former is about tens m Ω, the k Ω of the latter about tens, therefore can make differentiation by the size of conduction impedance.Wherein, logic Generation unit can be based on left (right side) sound channel terminal and detection pin forms logic generation circuit, therefore terminal detection unit and impedance inspection Survey unit is the independent detection unit based on the logic generation circuit, not only increases the accuracy that detection judges, it is ensured that The compatibility of various insertion equipment.By contrast, some equipment is solve this problem, while increase impedance inspection on MIC signals Survey and (after interrupt signal change is produced, while when impedance is less than certain value on MIC, just think that earphone is inserted to carry out dual judgement Enter), but as the peripheral hardware species at earphone jack increases (card reader, self-shooting bar etc.), MIC impedance ranges are outside 0 Ω~∞ If existing, such a detection mode is unfavorable for the support of a variety of peripheral hardwares, and equipment compatibility is poor.
The headset plugging detection circuit that the utility model embodiment provides, by increasing impedance detection unit, plug judges Module judges headset plugging state according to interrupt signal and impedance data.Thus, available for not influenceing the compatible of peripheral hardware Under the premise of, error detection is earphone insert state after solving the problems, such as earphone socket feed liquor, improves Consumer's Experience.
Second embodiment
As shown in figure 4, it is the electrical schematic diagram of the second embodiment of the utility model headset plugging detection circuit.The earphone is inserted Pull out detection circuit and be applied to electronic equipment, including:Logic generation unit, interruption detection unit, impedance detection unit and plug are sentenced Disconnected unit, the interruption detection unit are connected with the logic generation unit, and the interruption detection unit detects the logic Interrupt signal caused by generation unit, the impedance detection unit are connected with the logic generation unit, the impedance detection Module detects the impedance data of the logic generation unit, and the plug judging unit is connected to the interruption detection module and institute Impedance detection unit is stated, the plug judge module judges headset plugging shape according to the interrupt signal and the impedance data State.
Specifically, the logic generation unit includes detection power supply V, pull-up resistor R1, the first detection pin S1, the second detection Pin S2 and pull down resistor R2, the pull-up resistor R1 one end are connected to the detection power supply V, and the pull-up resistor R1's is another One end that end is connected to the first detection pin S1, the pull down resistor R2 is connected to the second detection pin S2, the pull down resistor R2 other end ground connection;It is described interrupt detection unit test point be located at the pull-up resistor R1 and pull down resistor R2 it Between;The input of the impedance detection unit is connected to the detection power supply V, and the output end of the impedance detection unit is connected to The first detection pin S1, the test side of the impedance detection unit is connected to the plug judging unit.
In the utility model embodiment, circuit can first determine whether interrupt signal meets in application, Ran Houtong Impedance detection is crossed to further determine whether to insert or pull out for earphone.
Specifically, the value that the value of the pull-up resistor R1 is 1m Ω, the pull down resistor R2 is 10k Ω, the impedance inspection Surveying unit includes variable current source A, and variable current source A can be used for the impedance number for detecting a points with output current and independent switch According to acquiescence is to close, and can be opened after judging that interrupt signal is eligible.When insertion headset plug or enter conductive During liquid, the first detection pin S1 and the second detection pin S2 short circuits, a level points are the pull down resistor of switch on-resistance and 10k Ω Partial pressure value with 1m Ω pull-up resistor R1 again after R2 series connection, if this value judges low level higher than interrupting, earphone has been not considered as it Insertion, if this value, which is less than to interrupt, judges low level, unlatching variable current source A, do impedance detection (original pull-up resistor is higher, Electric current is smaller, can be ignored).
The electric current i of variable current source A outputs can flow through the switch conduction of the detection pin S2 compositions of the first detection pin S1 and second Impedance Ron and 10k Ω pull down resistor R2, finally form voltage V in a points:
V=i × (Ron+R2)
After impedance detection unit detects this voltage V, conduction impedance Ron can be drawn by backwards calculation:
Ron=V ÷ i-R2.
One impedance thresholding Rth, such as 100 Ω are set, as Ron > Rth, it is believed that the earless machine transplanting of rice in earphone socket Head;As Ron < Rth, it is believed that have headset plug in earphone socket.
Further, when being used in earphone socket open in usual, the first detection pin S1 and the second detection pin S2 Mutually from the variable current source A is provided with soft starting device under earphone extraction state.The soft starting device of power supply, it can control Supply voltage gently, smoothly rises, and can avoid being produced impact due to larger dash current to circuit and being asked Topic.Referring to Fig. 5, for the impedance detection oscillogram of the utility model headset plugging detection circuit, the soft of variable current source A is opened The time that dynamic device carries out soft start includes 10ms-1000ms.Because switch open in usual is on L channel, the switch of current source Small Dc bias can be formed in L channel, the precipitous meeting in edge causes to switch sound, and therefore, the switch of current source needs to adopt With soft start, time t1 can be arranged to tens~hundreds of milliseconds according to demand, and t2 is the retention time, and ensure impedance detection can By property,
The headset plugging detection circuit that the utility model embodiment provides, by the impedance ranges between identification switch, comes area Divide feed liquor and the situation of earphone insertion so that headset detection is relatively reliable, and error detection is that earphone inserts after greatly reducing feed liquor Cause the ratio that complete machine is noiseless.MIC is not used simultaneously as detection, does not have any influence on the compatibility of peripheral hardware, lifts user Usage experience.
The embodiment for detecting circuit to headset plugging of the present utility model above is discussed in detail.It will correspond to below The device (i.e. electronic equipment) for stating headset plugging detection circuit is further elaborated.Wherein, electronic equipment can be mobile phone, flat board Computer or Intelligent worn device etc. have the terminal of earphone socket.
The utility model embodiment provides electronic equipment, employs the headset plugging detection circuit of above-described embodiment, passes through Increase impedance detection unit, plug judge module judges headset plugging state according to interrupt signal and impedance data.Thus, can use Error detection is earphone insert state after on the premise of the compatibility of peripheral hardware is not influenceed, solving the problems, such as earphone socket feed liquor, Improve Consumer's Experience.
It is described above, only specific embodiment of the present utility model, but the scope of protection of the utility model is not limited to In this, any one skilled in the art can readily occur in change in the technical scope that the utility model discloses Or replace, it should all cover within the scope of protection of the utility model.Therefore, the scope of protection of the utility model should be wanted with right The protection domain asked is defined.

Claims (8)

1. a kind of headset plugging detects circuit, including logic generation unit, it is characterised in that also includes interrupting detection unit, resistance Anti- detection unit and plug judging unit, the interruption detection unit is connected with the logic generation unit, described to interrupt inspection Survey unit and detect interrupt signal, the impedance detection unit and the logic generation unit phase caused by the logic generation unit Connection, the impedance detection module detect the impedance data of the logic generation unit, and the plug judging unit is connected to institute State and interrupt detection module and the impedance detection unit, the plug judge module is according to the interrupt signal and the impedance number It is judged that headset plugging state.
2. headset plugging according to claim 1 detects circuit, it is characterised in that the logic generation unit includes detection Power supply, pull-up resistor, the first detection pin, the second detection pin and pull down resistor, one end of the pull-up resistor are connected to the inspection Power supply is surveyed, the other end of the pull-up resistor is connected to the first detection pin, and one end of the pull down resistor is connected to described second Pin, the other end ground connection of the pull down resistor are detected, the input of the impedance detection unit is connected to the detection power supply, institute The output end for stating impedance detection unit is connected to the first detection pin, and the test side of the impedance detection unit is connected to described Plug judging unit.
3. headset plugging according to claim 2 detects circuit, it is characterised in that the impedance detection unit includes variable Current source.
4. headset plugging according to claim 3 detects circuit, it is characterised in that the first detection pin and described second Detection pin is separated under earphone extraction state, and the variable current source is provided with soft starting device.
5. headset plugging according to claim 4 detects circuit, it is characterised in that the soft start dress of the variable current source Putting the time of progress soft start includes 10ms-1000ms.
6. headset plugging according to claim 2 detects circuit, it is characterised in that the test point for interrupting detection unit Between the pull-up resistor and the pull down resistor.
7. headset plugging according to claim 2 detects circuit, it is characterised in that the value of the pull-up resistor is 1m Ω, The value of the pull down resistor is 10k Ω.
8. a kind of electronic equipment, it is characterised in that detect circuit including the headset plugging described in claim any one of 1-7.
CN201720297893.XU 2017-03-25 2017-03-25 Headset plugging detects circuit and electronic equipment Active CN206686364U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201720297893.XU CN206686364U (en) 2017-03-25 2017-03-25 Headset plugging detects circuit and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201720297893.XU CN206686364U (en) 2017-03-25 2017-03-25 Headset plugging detects circuit and electronic equipment

Publications (1)

Publication Number Publication Date
CN206686364U true CN206686364U (en) 2017-11-28

Family

ID=60390069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201720297893.XU Active CN206686364U (en) 2017-03-25 2017-03-25 Headset plugging detects circuit and electronic equipment

Country Status (1)

Country Link
CN (1) CN206686364U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108540903A (en) * 2018-04-24 2018-09-14 华勤通讯技术有限公司 A kind of volume amplification accessory, terminal, volume amplify accessory recognition methods

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108540903A (en) * 2018-04-24 2018-09-14 华勤通讯技术有限公司 A kind of volume amplification accessory, terminal, volume amplify accessory recognition methods
CN108540903B (en) * 2018-04-24 2023-11-28 华勤技术股份有限公司 Volume amplification accessory, terminal and volume amplification accessory identification method

Similar Documents

Publication Publication Date Title
US8756358B2 (en) Method and device for identifying universal serial bus (USB) insertion or charger insertion of mobile terminal
CN203466944U (en) Self configuration device
EP2863652B1 (en) Audio interface self-adaptation device
CN101102119B (en) A charging detection circuit of appliance device and charging detection method
CN104035357A (en) Headset, charging and OTG equipment circuit design based on USB socket
CN104735591B (en) audio interface adapter circuit and electronic device
CN104618836A (en) Communication device
CN201075704Y (en) Detection circuit of electrical equipment and mobile phone having the circuit
CN108093329A (en) Peripheral type detection circuit and mobile terminal based on shared interface
CN201789630U (en) Headset plugging detection circuit
CN105530561A (en) Information processing method and device, earphone plug and electronic device
CN206686364U (en) Headset plugging detects circuit and electronic equipment
CN105792069B (en) A kind of earphone base interface circuit
CN106210198A (en) A kind of smart card protection circuit, mobile terminal and smart card guard method
CN109713511A (en) Detection circuit, earphone socket, method and mobile terminal
CN104599672A (en) Audio encoder/decoder with audio insertion-connection detection capacity and audio insertion-connection detecting method
CN103904488B (en) Earphone socket
CN204928957U (en) A circuit that is used for beautiful mark earphone automated inspection of smart mobile phone eu standard
CN204539442U (en) Audio interface adapter circuit and electronic installation
CN104105046A (en) Detection circuit
CN204350278U (en) Communication device
CN207766467U (en) A kind of earphone and serial port automatic switching circuit
CN203084823U (en) Card reader capable of automatically identifying polarity of mobile audio interface
CN107706977B (en) Charging current detection method and charging device
CN105242757A (en) Connection structure of tablet personal computer and base

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant