CN106226647B - The earphone socket and electronic equipment of a kind of electronic equipment - Google Patents
The earphone socket and electronic equipment of a kind of electronic equipment Download PDFInfo
- Publication number
- CN106226647B CN106226647B CN201610617048.6A CN201610617048A CN106226647B CN 106226647 B CN106226647 B CN 106226647B CN 201610617048 A CN201610617048 A CN 201610617048A CN 106226647 B CN106226647 B CN 106226647B
- Authority
- CN
- China
- Prior art keywords
- earphone
- elastic slice
- foil gauge
- voltage value
- voltage change
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
- G01R31/66—Testing of connections, e.g. of plugs or non-disconnectable joints
- G01R31/68—Testing of releasable connections, e.g. of terminals mounted on a printed circuit board
- G01R31/69—Testing of releasable connections, e.g. of terminals mounted on a printed circuit board of terminals at the end of a cable or a wire harness; of plugs; of sockets, e.g. wall sockets or power sockets in appliances
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01R—ELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
- H01R13/00—Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
- H01R13/02—Contact members
- H01R13/15—Pins, blades or sockets having separate spring member for producing or increasing contact pressure
Abstract
The embodiment of the invention provides the earphone socket of a kind of electronic equipment and electronic equipment, earphone socket includes at least one elastic slice, at least one elastic slice has bending part, and when headset plug is inserted into earphone socket, the metal area at the top of headset plug is contacted with bending part;Deformation detectors, deformation detectors are fixedly connected with the bending part of at least one elastic slice, and deformation detectors detect the deformation quantity of at least one elastic slice, and generate corresponding voltage change according to deformation quantity.The embodiment of the present invention greatly improves earphone insertion detection (being slowly inserted detection including earphone) and earphone extracts the accuracy of detection (extracting detection slowly including earphone).
Description
Technical field
The present invention relates to technical field of electronic equipment, earphone socket and a kind of electronics more particularly to a kind of electronic equipment
Equipment.
Background technique
The use scope of earphone is very wide, for example use in computer, mobile phone or on other audio-visual equipment, and earphone makes
It is also very high with frequency, therefore the accuracy of headset plugging detection is critically important.
In the prior art, headset plugging detection mode mostly passes through the contact for detecting elastic slice or disconnection causes the change of electric signal
Change judges inserting or pull out for earphone.
Headset plugging detection mode in the prior art haves the defects that earphone insertion detection accuracy is low.For example, working as ear
Machine transplanting of rice hole enters foreign matter or water or other liquid cause software detection conducting electric signal often when, will lead to software erroneous judgement earphone
It is constantly in insert state, software detection fails at this time, so that user can not normally enter the non-earphone field such as loudspeaker or earpiece
Scape.In addition, software frequently detects conducting electric signal when user is artificially slowly inserted earphone, software detection is easily caused to fail, i.e.,
After earphone insertion, software detection is inserted into less than earphone, and erroneous judgement earphone is in extraction state.
Summary of the invention
In view of the above problems, the earphone socket for being designed to provide a kind of electronic equipment and a kind of electricity of the embodiment of the present invention
Sub- equipment, to solve the problems, such as that there are earphone insertion detection accuracy is low for headset plugging detection mode in the prior art.
In a first aspect, the embodiment of the invention discloses the earphone sockets of a kind of electronic equipment, comprising: at least one elastic slice,
At least one described elastic slice has bending part, the gold when headset plug is inserted into the earphone socket, at the top of the headset plug
Belong to area to contact with the bending part;Deformation detectors, the deformation detectors and the bending part of at least one elastic slice are fixed
Connection, the deformation detectors detect the deformation quantity of at least one elastic slice, and generate corresponding electricity according to the deformation quantity
Press changing value.
First aspect present invention embodiment includes following advantages: the bending part of setting deformation detectors and at least one elastic slice
It is fixedly connected, and detects the deformation quantity of at least one elastic slice by deformation detectors, and corresponding voltage is generated according to deformation quantity
Changing value.In this way, can judge ear according to the size of the corresponding voltage change of the deformation quantity when carrying out headset plugging detection
Machine is in insert state or judges that earphone is in extraction state.Wherein, when foreign matter or liquid etc. enter earphone socket, due to extremely
The deformation quantity of a few elastic slice is insufficient, is in insert state without will cause erroneous judgement earphone;If user is slowly inserted earphone, extremely
When the deformation quantity deficiency of a few elastic slice, it not will cause erroneous judgement earphone and be in insert state;And when user extracts earphone slowly
When, if earphone is not extracted from earphone socket, since the deformation quantity of at least one elastic slice is excessive, not will cause at erroneous judgement earphone
In the state of extraction.Consequently facilitating solving the problems, such as that earphone insertion detection mode exists in the prior art, earphone insertion detection is improved
(being slowly inserted detection including earphone) and earphone extract the accuracy of detection (extracting detection slowly including earphone).
Second aspect, the embodiment of the invention discloses a kind of electronic equipment, comprising: electronics described in first aspect embodiment
The earphone socket of equipment;Processing circuit, the processing circuit are connected with the deformation detectors in the earphone socket, the processing
The voltage change that the deformation detectors generate is compared by circuit with the first preset voltage value and the second preset voltage value,
And judge that earphone is in insert state or judges that earphone is in extraction state according to comparison result.
Second aspect of the present invention embodiment includes following advantages: by by the shape changing detection in processing circuit and earphone socket
Device is connected, and then in headset plugging detection, the default electricity of voltage change and first that processing circuit generates deformation detectors
Pressure value and the second preset voltage value are compared, and judge that earphone is in insert state or judges that earphone is according to comparison result
Extraction state.Wherein, when foreign matter or liquid etc. enter earphone socket, since the deformation quantity of at least one elastic slice is insufficient, deformation
Measure that corresponding voltage change is compared with the first preset voltage value and the second preset voltage value as a result, not will cause processing
Circuit erroneous judgement earphone is in insert state;If user is slowly inserted earphone, in the deformation quantity deficiency of at least one elastic slice, shape
The corresponding voltage change of variable be compared with the first preset voltage value and the second preset voltage value as a result, will not cause
Processing circuit erroneous judgement earphone is in insert state;And when user extracts earphone slowly, if earphone is not pulled out from earphone socket
Out, since the deformation quantity of at least one elastic slice is excessive, the corresponding voltage change of deformation quantity and the first preset voltage value and second
It is that preset voltage value is compared as a result, not will cause processing circuit erroneous judgement earphone is in extraction state.It is existing to solve
The problem of entering detection mode with the presence of the technology middle ear machine transplanting of rice, and earphone insertion detection (including earphone is slowly inserted detection) and earphone pull out
The accuracy for detecting (extracting detection slowly including earphone) out is high.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of the earphone socket embodiment of a kind of electronic equipment of the invention;
Fig. 2 is the structural schematic diagram of the earphone socket embodiment of another electronic equipment of the invention;
Fig. 3 is the structural schematic diagram of foil gauge single arm measurement circuit;
Fig. 4 is the structural schematic diagram of foil gauge half bridge measurement circuit;
Fig. 5 is the structural schematic diagram of foil gauge full bridge measurement circuit;
Fig. 6 is the structural block diagram of a kind of electronic equipment embodiment of the invention;
Fig. 7 is the structural block diagram of another electronic equipment embodiment of the invention;
Fig. 8 is the structural block diagram of another electronic equipment embodiment of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.
Embodiment one
Referring to Fig.1, the structural schematic diagram of 10 embodiment of earphone socket of a kind of electronic equipment of the invention, the ear are shown
Machine transplanting of rice seat 10 includes at least one elastic slice, at least one elastic slice has bending part, when headset plug 20 is inserted into earphone socket 10,
The metal area at 20 top of headset plug is contacted with bending part;Deformation detectors 11, deformation detectors 11 and at least one elastic slice
Bending part is fixedly connected, and deformation detectors 11 detect the deformation quantity of at least one elastic slice, and generate corresponding electricity according to deformation quantity
Press changing value.
Wherein, electronic equipment may include mobile phone, tablet computer, personal digital assistant (PDA, Personal Digital
Assistant), vehicle-mounted computer, camera, music player or navigator etc..
In one embodiment of the invention, referring to Fig. 2, at least one elastic slice may include the headset detection of electronic equipment
One or more of elastic slice 12, the L channel elastic slice 13 of electronic equipment, default detection elastic slice 14 etc.;Wherein, detection bullet is preset
The bending part 141 of piece 14 is corresponding at the top of earphone socket 10, and default detection elastic slice 14 is fixed at 10 bottom of earphone socket.
Referring to Fig.1, in one embodiment of the invention, at least one elastic slice may include the headset detection of electronic equipment
Elastic slice 12, earphone socket 10 can be adapted to four-section type headset plug 20, and the metal area at 20 top of four-section type headset plug is ear
Machine L channel area L.When headset plug 20 is inserted into earphone socket 10, the headset left channel area L and earphone at 20 top of headset plug
The bending part 121 for detecting elastic slice 12 contacts, and deformation detectors 11 are fixedly connected with the bending part 121 of headset detection elastic slice 12, shape
Become the deformation quantity of 11 test earphone of detector detection elastic slice 12, and corresponding voltage change is generated according to deformation quantity.In Fig. 1,
Earphone socket 10 may include headset detection elastic slice 12, L channel elastic slice 13, right channel elastic slice 15, grounding elastic slice 16, Mike's bullet
Piece 17 and deformation detectors 11.In Fig. 2, M is earphone Mike area, and G is earphone access area, and R is earphone right channel area.
Referring to Fig. 2, in another embodiment of the present invention, at least one elastic slice may include default detection elastic slice 14,
Earphone socket 10 can be adapted to four-section type headset plug 20, and the metal area at 20 top of four-section type headset plug is headset left channel
Area L.When headset plug 20 is inserted into earphone socket 10, the headset left channel area L at 20 top of headset plug and default detection elastic slice
14 bending part 141 contacts, and deformation detectors 11 are fixedly connected with the bending part 141 of default detection elastic slice 14, deformation detectors
11 test earphones detect the deformation quantity of elastic slice 12, and generate corresponding voltage change according to deformation quantity.In Fig. 2, earphone socket
It 10 may include headset detection elastic slice 12, L channel elastic slice 13, right channel elastic slice 15, grounding elastic slice 16, Mike's elastic slice 17, default
Detect elastic slice 14 and deformation detectors 11.In Fig. 2, M is earphone Mike area, and G is earphone access area, and R is earphone right channel area.
In one embodiment of the invention, referring to Fig. 2, presetting detection elastic slice 14 may include 142 He of the first fixed part
Second fixed part 143, the first fixed part 142 and the second fixed part 143 are fixedly connected with 10 bottom of earphone socket respectively.
Specifically, in one embodiment of the invention, deformation detectors 11 can be foil gauge single arm measurement circuit, answer
Become piece half bridge measurement circuit or foil gauge full bridge measurement circuit or other measuring circuits or measurement device.
Wherein, when deformation detectors 11 be foil gauge single arm measurement circuit when, the foil gauge single arm measurement circuit include but
It is not limited only to foil gauge single arm measurement circuit shown in Fig. 3.In Fig. 3, foil gauge single arm measurement circuit include first resistor R1 and
First foil gauge F1, wherein one end of first resistor R1 is connected with default power supply V, and the other end of first resistor R1 is answered with first
The one end for becoming piece F1 is connected, the other end of the first foil gauge F1 ground connection, the other end of first resistor R1 and the first foil gauge F1's
First output end of the one end as foil gauge single arm measurement circuit, the other end of the first foil gauge F1 is as foil gauge single arm measurement
The second output terminal of circuit, the voltage difference between the first output end and second output terminal are voltage change △ U.First foil gauge
F1 can be fixedly connected on the inside or outside of the bending part of an elastic slice, wherein the outside of the bending part of the elastic slice can be with ear
The metal area contact at 20 top of machine transplanting of rice head.
Wherein, when deformation detectors 11 be foil gauge half bridge measurement circuit when, the foil gauge half bridge measurement circuit include but
It is not limited only to foil gauge half bridge measurement circuit shown in Fig. 4.In Fig. 4, foil gauge half bridge measurement circuit includes the second foil gauge F2
With third foil gauge F3, wherein one end of the second foil gauge F2 is connected with default power supply V, the other end of the second foil gauge F2 with
One end of third foil gauge F3 is connected, and the other end ground connection of third foil gauge F3, the other end of the second foil gauge F2 is answered with third
Become first output end of the one end of piece F3 as foil gauge half bridge measurement circuit, the other end of third foil gauge F3 is as foil gauge
The second output terminal of half bridge measurement circuit, the voltage difference between the first output end and second output terminal are voltage change △ U.
It specifically, is the deformation quantity and the elastic slice of third foil gauge F3 detection of the elastic slice for avoiding the second foil gauge F2 from detecting
Deformation quantity is offset, that is, during avoiding earphone from inserting or pull out, voltage change △ U is zero, need to be to the second foil gauge F2 and the
The position of three foil gauge F3 is configured.For example, when being fixedly connected on the inside of the second foil gauge F2 and the bending part of an elastic slice,
It is arranged and is fixedly connected on the outside of third foil gauge F3 and the bending part of the elastic slice or is fixed with the outside of the bending part of another elastic slice
Connection.
Wherein, when deformation detectors 11 are foil gauge full bridge measurement circuit, foil gauge full bridge measurement circuit includes but not
It is only limitted to foil gauge full bridge measurement circuit shown in fig. 5.In Fig. 5, foil gauge full bridge measurement circuit includes the 4th foil gauge F4, the
Five foil gauge F5, the 6th foil gauge F6 and the 7th foil gauge F7.Wherein, one end of the 4th foil gauge F4 and the 6th foil gauge F6
One end is connected with default power supply V, and the other end of the 4th foil gauge F4 is connected with one end of the 5th foil gauge F5, the 6th foil gauge F6
The other end be connected with one end of the 7th foil gauge F7, the other end of the 5th foil gauge F5 and another termination of the 7th foil gauge F7
Ground, the first output of the other end of the 6th foil gauge F6 and one end of the 7th foil gauge F7 as foil gauge full bridge measurement circuit
End, the second output of the other end of the 4th foil gauge F4 and one end of the 5th foil gauge F5 as foil gauge full bridge measurement circuit
End, the voltage difference between the first output end and second output terminal are voltage change △ U.
It specifically, is the elastic slice of the deformation quantity of the elastic slice that avoids the 4th foil gauge F4 from detecting and the 7th foil gauge F7 detection
Deformation quantity is offset with the deformation quantity of the elastic slice of the deformation quantity and the 6th foil gauge F6 detection of the elastic slice of the 5th foil gauge F5 detection,
During earphone being avoided to insert or pull out, voltage change △ U is zero, need to be to the 4th foil gauge F4, the 5th foil gauge F5,
The position of six foil gauge F6 and the 7th foil gauge F7 is configured.For example, as the 4th foil gauge F4 and the 7th foil gauge F7 and one
When being fixedly connected on the inside of the bending part of elastic slice, the outside of the 5th foil gauge F5 and the 6th foil gauge F6 and the bending part of the elastic slice
Be fixedly connected or be fixedly connected on the outside of the bending part of another elastic slice.
Below by taking deformation detectors 11 are foil gauge full bridge measurement circuit shown in fig. 5 as an example, illustrate the embodiment of the present invention
Electronic equipment earphone socket 10 working principle:
During headset plug 20 inserts or pull out, the 4th foil gauge F4 corresponds to elastic slice, the 5th foil gauge F5 corresponds to bullet
Piece, the 6th foil gauge F6 correspond to elastic slice and the 7th foil gauge F7 corresponds to elastic slice deformation occurs, drive the 4th foil gauge F4, the respectively
Five foil gauge F5, the 6th foil gauge F6 and the 7th foil gauge F7 are strained, the 4th foil gauge F4, the 5th foil gauge F5, the 6th
Dependent variable is converted into resistance change amount respectively by foil gauge F6 and the 7th foil gauge F7.
Wherein, when headset plug 20 is inserted into, if the resistance change amount of the 5th foil gauge F5 and the 6th foil gauge F6
Resistance change amount is that the resistance value of i.e. the 5th foil gauge F5 and the 6th foil gauge F6 of negative value becomes smaller, then the electricity of the 4th foil gauge F4
Change in resistance amount and the resistance change amount of the 7th foil gauge F7 are the resistance that positive value is the 4th foil gauge F4, the 7th foil gauge F7
Value becomes larger, and voltage change △ U is gradually increased at this time;When headset plug 20 is extracted, if the resistance value of the 5th foil gauge F5 becomes
Change amount and the resistance change amount of the 6th foil gauge F6 are positive value i.e. the 5th foil gauge F5, the resistance value of the 6th foil gauge F6 becomes larger
When, then the resistance change amount of the 4th foil gauge F4 and the resistance change amount of the 7th foil gauge F7 are negative value i.e. the 4th foil gauge
F4, the 7th foil gauge F7 resistance value become smaller, voltage change △ U is gradually reduced at this time.
In this way when headset plugging detects, it can judge that earphone is in insert state according to the size of voltage change △ U
Or judge that earphone is in extraction state, it improves earphone insertion detection and earphone extracts the accuracy of detection.Wherein, when foreign matter or liquid
When body enters earphone socket 10, since the 4th foil gauge F4 corresponds to elastic slice, the 5th foil gauge F5 corresponds to elastic slice, the 6th foil gauge F6
The deformation quantity that corresponding elastic slice and the 7th foil gauge F7 correspond to elastic slice is insufficient, and voltage change △ U is smaller, without will cause erroneous judgement
Earphone is in insert state;If user is slowly inserted earphone, the 4th foil gauge F4 corresponds to elastic slice, the 5th foil gauge F5 corresponds to bullet
Piece, the 6th foil gauge F6 correspond to elastic slice and when the 7th foil gauge F7 correspond to the deformation quantity deficiency of elastic slice, voltage change △ U compared with
It is small, erroneous judgement earphone will not be caused to be in insert state;And when user extracts earphone slowly, if earphone is not inserted from earphone
Seat 10 is extracted, since the 4th foil gauge F4 corresponds to elastic slice, the 5th foil gauge F5 corresponds to elastic slice, the 6th foil gauge F6 corresponds to elastic slice and
The deformation quantity that 7th foil gauge F7 corresponds to elastic slice is excessive, and voltage change △ U is larger, not will cause erroneous judgement earphone and is in extraction
State.
The earphone socket of the electronic equipment of the embodiment of the present invention can be inserted into detection side in order to solve earphone in the prior art
Formula there are the problem of, improve earphone insertion detection (including earphone is slowly inserted detection) and earphone extraction detect that (including earphone pulls out slowly
Out detect) accuracy.
Embodiment two
Referring to Fig. 6, the structural block diagram of a kind of electronic equipment embodiment of the invention is shown, which includes above-mentioned
Electronic equipment earphone socket 10;Processing circuit 30, processing circuit 30 are connected with the deformation detectors 11 in earphone socket 10,
The voltage change and the first preset voltage value V1 and the second preset voltage value V2 that processing circuit 30 generates deformation detectors 11
It is compared, and judges that earphone is in insert state or judges that earphone is in extraction state according to comparison result.Wherein, electronics is set
Standby can be mobile phone, tablet computer, personal digital assistant, vehicle-mounted computer, camera, music player or navigator etc..
In this way, when foreign matter or liquid etc. enter earphone socket 10, since the deformation quantity of at least one elastic slice is insufficient, deformation
Measure that corresponding voltage change is compared with the first preset voltage value V1 and the second preset voltage value V2 as a result, not will cause
30 erroneous judgement earphone of processing circuit is in insert state;It is insufficient in the deformation quantity of at least one elastic slice if user is slowly inserted earphone
When, it is that the corresponding voltage change of deformation quantity is compared with the first preset voltage value V1 and the second preset voltage value V2 as a result,
30 erroneous judgement earphone of processing circuit will not be caused to be in insert state;And when user extracts earphone slowly, if earphone does not have
It is extracted from earphone socket 10, since the deformation quantity of at least one elastic slice is excessive, the corresponding voltage change of deformation quantity and first is in advance
If that voltage value V1 and the second preset voltage value V2 are compared pull out as a result, not will cause 30 erroneous judgement earphone of processing circuit and be in
It does well.To solve the problems, such as that earphone insertion detection mode exists in the prior art, improves earphone insertion detection and ear
Machine extracts the accuracy of detection.
In one embodiment of the invention, referring to Fig. 7 and Fig. 8, processing circuit 30 may include: the first receiving unit
31, for before voltage change is compared by processing circuit 30 with the first preset voltage value V1, receiving in earphone insertion
Break signal.I.e. when the first receiving unit 31 receive earphone insertion interrupt signal after, 30 ability of processing circuit by voltage change with
First preset voltage value V1 is compared.In this way, first receives list when insert is not headset plug 20 or other conductive materials
Member 31 will not receive earphone insertion interrupt signal, and therefore, processing circuit 30 will not be further pre- to voltage change and first
If voltage value V1 is compared, avoids 30 erroneous judgement earphone of processing circuit and be in insert state, it is ensured that earphone insertion detection
Accuracy.Wherein, if when in earphone socket 10 position of L channel elastic slice 13 and the position of headset detection elastic slice 12 to it is corresponding when
Headset detection elastic slice 12 and L channel elastic slice 13 are electrically connected, then the first receiving unit 31 receives the earphone that electronic equipment detects
It is inserted into interrupt signal.
In addition, processing circuit 30 can also include: the second receiving unit 32, in processing circuit 30 by voltage change
Before being compared with the second preset voltage value V2, receives earphone and extract interrupt signal.I.e. when the second receiving unit 32 receives
After earphone extracts interrupt signal, voltage change is compared by 30 ability of processing circuit with the second preset voltage value V2.Exist in this way
When extract is not headset plug 20 or other conductive materials, the second receiving unit 32 will not receive earphone and extract interrupt signal,
Therefore, processing circuit 30 will not further be compared voltage change with the second preset voltage value V2, avoid processing electricity
30 erroneous judgement earphone of road is in extraction state, it is ensured that earphone extracts the accuracy of detection.Wherein, as Zuo Sheng in earphone socket 10
If the position of road elastic slice 13 and the position of headset detection elastic slice 12 to it is corresponding when headset detection elastic slice 12 and L channel elastic slice 13 electricity
Connection disconnects, then the earphone that the second receiving unit 32 receives that electronic equipment detects extracts interrupt signal.
Specifically, in one embodiment of the invention, when earphone is inserted into earphone socket 10, with the insertion of earphone,
The voltage change that deformation detectors 11 generate is gradually increased;When earphone is extracted from earphone socket 10, with the extraction of earphone,
The voltage change that deformation detectors 11 generate is gradually reduced.At this point, when voltage change is greater than or equal to the first predeterminated voltage
When value V1, processing circuit 30 judges that earphone is in insert state, and when voltage change is less than or equal to the second predeterminated voltage
When value V2, processing circuit 30 judges that earphone is in extraction state;First preset voltage value V1 is greater than the second preset voltage value V2.Tool
Body, the size of the first preset voltage value V1 can be configured according to the data that multiple insertion test obtains, the second default electricity
The size of pressure value V2 can be configured according to the multiple data for extracting test acquisition.
Referring to Fig. 7, in another embodiment of the present invention, processing circuit 30 can also include: first comparator 33, the
The first input end of one comparator 33 is connected with deformation detectors 11, the second input terminal and processing circuit 30 of first comparator 33
In the first preset voltage value V1 offer end be connected, when voltage change be greater than or equal to the first preset voltage value V1 when, first
Comparator 33 triggers earphone insertion and interrupts, and processing circuit 30 judges that earphone is in insert state;Second comparator 34, second compares
The first input end of device 34 is connected with deformation detectors 11, second in the second input terminal and processing circuit 30 of the second comparator 34
The offer end of preset voltage value V2 is connected, when voltage change is less than or equal to the second preset voltage value V2, the second comparator
34 triggering earphones, which are extracted, to interrupt, and processing circuit 30 judges that earphone is in extraction state.In Fig. 7, processing circuit 30 connects including first
Unit 31, the second receiving unit 32, first comparator 33 and the second comparator 34 are received, processing circuit 30 is according to first comparator 33
Earphone status is judged with whether the second comparator 34 triggers interruption.
In yet another embodiment of the present invention, referring to Fig. 8, processing circuit may include: first processing units 35, and first
Processing unit 35 works as electricity for the voltage change that deformation detectors 11 generate to be compared with the first preset voltage value V1
When changing value being pressed to be greater than or equal to the first preset voltage value V1, judge that earphone is in insert state;The second processing unit 36, second
Processing unit 36 works as electricity for the voltage change that deformation detectors 11 generate to be compared with the second preset voltage value V2
When changing value being pressed to be less than or equal to the second preset voltage value V1, judge that earphone is in extraction state.
Further, referring to Fig. 8, processing circuit 30 can also include: the first poll units 37, if the first receiving unit 31
Receive earphone insertion interrupt signal and first processing units 35 determine voltage change less than the first preset voltage value V1, then first
Poll units 37 detect the voltage change of deformation detectors 11 every the first preset time, until first processing units 35 determine
The voltage change of detection is greater than or equal to the first preset voltage value V1, or until the number of detection is equal to preset times;Second
Poll units 38, if the second receiving unit 32 receives, earphone extracts interrupt signal and the second processing unit 36 determines voltage change
Greater than the second preset voltage value V2, then the second poll units 38 become every the voltage of the second preset time detection deformation detectors 11
Change value, until the second processing unit 36 determines that the voltage change of detection is less than or equal to the second preset voltage value V2.
Wherein, the first preset time can be 200ms or other preset times, specifically can be slowly inserted earphone according to multiple
The test data of acquisition is configured.When user is slowly inserted earphone, the first poll units 37 can be lost to avoid detection is slowly inserted
The problem of effect, improves detection reliability when being slowly inserted earphone, while can obtain user and be slowly inserted the time used in earphone,
It is conveniently adjusted the first preset time.
In addition, the second preset time can be 5s or other preset times, can specifically be obtained according to repeatedly slow earphone of extracting
The test data obtained is configured.When user extracts earphone slowly, the second poll units 38 can extract detection failure to avoid slow
The problem of, detection reliability when slow extraction earphone is improved, while user can be obtained and extract the time used in earphone slowly, just
In adjusting the second preset time.
In this way, when foreign matter or liquid etc. enter earphone socket 10, even if the first receiving unit 31 receives earphone insertion
Interrupt signal, since the deformation quantity of at least one elastic slice is insufficient, voltage change is less than the first preset voltage value V1, without making
Earphone insertion interruption is triggered at first comparator 33 or 35 erroneous judgement earphone of first processing units is in insert state;If user is slow
It is inserted into earphone, it is insufficient in the deformation quantity of at least one elastic slice even if the first receiving unit 31 receives earphone insertion interrupt signal
When, voltage change will not be caused first comparator 33 to trigger earphone insertion and be interrupted or the less than the first preset voltage value V1
One processing unit, 35 erroneous judgement earphone is in insert state, and earphone is avoided to be inserted into the situation hair not in place for causing user's sense of hearing bad
It is raw;And when user extracts earphone slowly, if earphone is not extracted from earphone socket 10, even if the second receiving unit 32 receives
Earphone extracts interrupt signal, and since the deformation quantity of at least one elastic slice is excessive, voltage change is greater than the second preset voltage value V2,
It not will cause the second comparator 34 triggering earphone extraction interruption or 36 erroneous judgement earphone of the second processing unit be in extraction state.
The electronic equipment of the embodiment of the present invention solves the problems, such as that earphone insertion detection mode exists in the prior art, and ear
The machine transplanting of rice enters detection (being slowly inserted detection including earphone) and earphone extracts the accuracy height of detection (extracting detection slowly including earphone).
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to the earphone socket and a kind of electronic equipment of a kind of electronic equipment provided by the present invention, detailed Jie has been carried out
It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only
It is to be used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this hair
Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage
Solution is limitation of the present invention.
Claims (9)
1. the earphone socket of a kind of electronic equipment characterized by comprising
At least one elastic slice, at least one described elastic slice have bending part, described when headset plug is inserted into the earphone socket
Metal area at the top of headset plug is contacted with the bending part;
Deformation detectors, the deformation detectors are fixedly connected with the bending part of at least one elastic slice, the shape changing detection
Device detects the deformation quantity of at least one elastic slice, and generates corresponding voltage change according to the deformation quantity;
The deformation detectors include foil gauge full bridge measurement circuit, foil gauge single arm measurement circuit, foil gauge half bridge measurement electricity
Any one of road, wherein the foil gauge full bridge measurement circuit include the 4th foil gauge, the 5th foil gauge, the 6th foil gauge and
7th foil gauge, when being fixedly connected on the inside of the 4th foil gauge and the 7th foil gauge and the bending part of an elastic slice, the 5th strain
It is fixedly connected on the outside of piece and the 6th foil gauge and the bending part of the elastic slice or fixes company with the outside of the bending part of another elastic slice
It connects.
2. earphone socket according to claim 1, which is characterized in that at least one described elastic slice includes the ear of electronic equipment
One or more of machine testing elastic slice, the L channel elastic slice of electronic equipment, default detection elastic slice;The default detection elastic slice
Bending part is corresponding at the top of the earphone socket, and the default detection elastic slice is fixed at the earphone socket bottom.
3. earphone socket according to claim 2, which is characterized in that the default detection elastic slice include the first fixed part and
Second fixed part, first fixed part and second fixed part are fixedly connected with the earphone socket bottom respectively.
4. a kind of electronic equipment characterized by comprising
The earphone socket of electronic equipment of any of claims 1-3;
Processing circuit, the processing circuit are connected with the deformation detectors in the earphone socket, and the processing circuit will be described
The voltage change that deformation detectors generate is compared with the first preset voltage value and the second preset voltage value, and according to comparing
As a result judge that earphone is in insert state or judges that earphone is in extraction state.
5. electronic equipment according to claim 4, which is characterized in that the processing circuit includes:
First receiving unit, for comparing the voltage change and first preset voltage value in the processing circuit
Than before, it receives earphone and is inserted into interrupt signal;
Second receiving unit, for comparing the voltage change and second preset voltage value in the processing circuit
Than before, it receives earphone and extracts interrupt signal.
6. electronic equipment according to claim 5 characterized by comprising
When the voltage change is greater than or equal to first preset voltage value, the processing circuit judges at the earphone
In insert state, and when the voltage change is less than or equal to second preset voltage value, the processing circuit is sentenced
The earphone that breaks is in extraction state;First preset voltage value is greater than second preset voltage value.
7. electronic equipment according to claim 6, which is characterized in that the processing circuit includes:
First comparator, the first input end of the first comparator are connected with the deformation detectors, the first comparator
The second input terminal be connected with the offer end of the first preset voltage value in processing circuit, when the voltage change is greater than or equal to
When first preset voltage value, the first comparator triggering earphone insertion is interrupted;
The first input end of second comparator, second comparator is connected with the deformation detectors, second comparator
The second input terminal be connected with the offer end of the second preset voltage value in processing circuit, when the voltage change is less than or equal to
When second preset voltage value, the second comparator triggering earphone, which is extracted, to be interrupted.
8. electronic equipment according to claim 6, which is characterized in that the processing circuit includes:
First processing units, the first processing units are used for the voltage change that generates the deformation detectors and described the
One preset voltage value is compared, and when the voltage change is greater than or equal to first preset voltage value, judges ear
Machine is in insert state;
The second processing unit, described the second processing unit are used for the voltage change that generates the deformation detectors and described the
Two preset voltage values are compared, and when the voltage change is less than or equal to second preset voltage value, judge ear
Machine is in extraction state.
9. electronic equipment according to claim 8, which is characterized in that the processing circuit further include:
First poll units, if first receiving unit receives the earphone insertion interrupt signal and the first processing units
Determine that the voltage change is less than first preset voltage value, then first poll units are examined every the first preset time
The voltage change of the deformation detectors is surveyed, until the first processing units determine that the voltage change of the detection is greater than
Or it is equal to first preset voltage value, or until the number of detection is equal to preset times;
Second poll units, if second receiving unit receives the earphone and extracts interrupt signal and described the second processing unit
Determine that the voltage change is greater than second preset voltage value, then second poll units are examined every the second preset time
The voltage change of the deformation detectors is surveyed, until described the second processing unit determines that the voltage change of the detection is less than
Or it is equal to second preset voltage value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610617048.6A CN106226647B (en) | 2016-07-29 | 2016-07-29 | The earphone socket and electronic equipment of a kind of electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610617048.6A CN106226647B (en) | 2016-07-29 | 2016-07-29 | The earphone socket and electronic equipment of a kind of electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106226647A CN106226647A (en) | 2016-12-14 |
CN106226647B true CN106226647B (en) | 2019-03-05 |
Family
ID=57534978
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610617048.6A Active CN106226647B (en) | 2016-07-29 | 2016-07-29 | The earphone socket and electronic equipment of a kind of electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106226647B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107948793B (en) * | 2017-12-07 | 2019-08-23 | 上海摩软通讯技术有限公司 | Earphone base and its control method |
CN107995372B (en) * | 2017-12-25 | 2020-04-07 | 维沃移动通信有限公司 | False touch grounding identification processing method and circuit and mobile terminal |
CN108959002B (en) * | 2018-06-26 | 2021-07-13 | Oppo(重庆)智能科技有限公司 | Insertion detection circuit, insertion detection method, and electronic device |
CN108920390B (en) * | 2018-06-26 | 2021-04-13 | Oppo(重庆)智能科技有限公司 | Insertion detection circuit, insertion detection method, and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04172264A (en) * | 1990-11-05 | 1992-06-19 | Sony Corp | Apparatus for detecting mounting of electronic apparatus |
CN202004935U (en) * | 2011-04-01 | 2011-10-05 | 广州三星通信技术研究有限公司 | Headset for electronic terminal |
CN203057476U (en) * | 2013-01-11 | 2013-07-10 | 易力声科技(深圳)有限公司 | Tension force detection-based intelligent switching control headphone |
CN104918154A (en) * | 2015-04-15 | 2015-09-16 | 华为技术有限公司 | Earphone socket and method for detecting whether earphone is inserted in place |
CN204697248U (en) * | 2015-05-26 | 2015-10-07 | 集怡嘉数码科技(深圳)有限公司 | A kind of mobile terminal device and earphone base thereof |
-
2016
- 2016-07-29 CN CN201610617048.6A patent/CN106226647B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04172264A (en) * | 1990-11-05 | 1992-06-19 | Sony Corp | Apparatus for detecting mounting of electronic apparatus |
CN202004935U (en) * | 2011-04-01 | 2011-10-05 | 广州三星通信技术研究有限公司 | Headset for electronic terminal |
CN203057476U (en) * | 2013-01-11 | 2013-07-10 | 易力声科技(深圳)有限公司 | Tension force detection-based intelligent switching control headphone |
CN104918154A (en) * | 2015-04-15 | 2015-09-16 | 华为技术有限公司 | Earphone socket and method for detecting whether earphone is inserted in place |
CN204697248U (en) * | 2015-05-26 | 2015-10-07 | 集怡嘉数码科技(深圳)有限公司 | A kind of mobile terminal device and earphone base thereof |
Also Published As
Publication number | Publication date |
---|---|
CN106226647A (en) | 2016-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN203466944U (en) | Self configuration device | |
CN106226647B (en) | The earphone socket and electronic equipment of a kind of electronic equipment | |
EP2511992A1 (en) | Wired earphone compatible method and device | |
KR101646964B1 (en) | Circuit apparatus and method for recognition earphone in electronic device | |
EP2262210A2 (en) | Detection, identification and operation of peripherals connected via an audio/video-plug to an electronic device | |
US20130179603A1 (en) | Apparatus and method of identifying a usb or an mhl device | |
US9749748B2 (en) | Electronic device and method for detecting plug type of audio device inserted into electronic device | |
WO2015191287A1 (en) | Systems and methods for cable resistance compensation | |
WO2016165297A1 (en) | Earphone jack and method for detecting whether earphone is inserted in place | |
WO2020181739A1 (en) | Load detection system and load detection method thereof | |
CN104466470A (en) | Anti-jitter SD card base, terminal and method for identifying inserting and pulling state of SD card | |
CN105307069A (en) | Earphone jack and earphone jack state detection method and detection device | |
CN108054541B (en) | Switching device, multi-equipment detection system and detection method thereof | |
TWI540908B (en) | Multimedia output device and audio output method thereof | |
CN101308187B (en) | Method and terminal for detecting earphones plug inserting to position | |
CN107209224A (en) | A kind of detection BTB fastens method, terminal and the detection means of reliability | |
CN103904488B (en) | Earphone socket | |
CN110112620B (en) | Terminal equipment and control method | |
CN104599672A (en) | Audio encoder/decoder with audio insertion-connection detection capacity and audio insertion-connection detecting method | |
CN104459376A (en) | Interface circuit and peripheral detection method and external sensor based on interface circuit | |
CN107706977B (en) | Charging current detection method and charging device | |
CN110865314A (en) | Open circuit detection for vehicle electrical system | |
CN104581527A (en) | Interface circuit, as well as external detection method and external sensor based on circuit | |
CN104969568A (en) | Circuit, terminal and earphone for detecting the key movements of the headset | |
US20130065428A1 (en) | Electronic device and method of detecting a proper cable connection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |