CN106535038A - Circuit and method for eliminating plug and play noise of headphone - Google Patents
Circuit and method for eliminating plug and play noise of headphone Download PDFInfo
- Publication number
- CN106535038A CN106535038A CN201510587346.0A CN201510587346A CN106535038A CN 106535038 A CN106535038 A CN 106535038A CN 201510587346 A CN201510587346 A CN 201510587346A CN 106535038 A CN106535038 A CN 106535038A
- Authority
- CN
- China
- Prior art keywords
- pin
- detection
- headset
- fixed part
- voltage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The invention relates to the technical field of electronics, and particularly relates to a circuit for eliminating the plug and play noise of a headphone. A left channel pin, a ground pin and a microphone pin end are arranged in a headphone socket. The left channel pin contacts a corresponding left channel section on a headphone plug, and the ground pin contacts a corresponding ground section on the headphone plug, so as to form a left channel circuit. A detection unit is located away from the inlet of the headphone socket, and comprises a fixed part and a movable part which is resiliently connected with the fixed part. The fixed part is connected with the left channel pin. The movable part is connected with a detection pin. When the headphone plug is inserted, the fixed part contacts the movable part to turn on the detection pin and the left channel circuit. An interrupt signal generating unit generates an interrupt signal when the detection pin and the left channel circuit are turned on. A control unit provides bias voltage for the microphone pin end under the action of the interrupt signal. According to the technical scheme, the detection unit is arranged in the headphone socket to control the opening of the headphone bias voltage, which can eliminate the plug and play noise of the headphone.
Description
Technical field
The present invention relates to electronic technology field, and in particular to a kind of circuit of elimination headset plugging noise and side
Method.
Background technology
Headset mode because its tonequality is fine and smooth, truly widely used by user, in particular with many matchmakers of audio frequency and video
Body technique become increasingly popular and consumer is to quality requirements more and more higher, earpiece audio design is proposed
Tightened up requirement, however, earphone into and out electronic equipment during can usually produce noise,
That causes acoustically is uncomfortable, if especially noise amplitude is larger, can also damage user's sense of hearing, affects to use
Experience at family.
Prior art removes a kind of implementation of headset plugging noise as shown in figure 1, in earphone power amplifier 102
Change-over switch 103 is set and earphone jack 106 between, needs to arrange two electric capacity C1, C2 in circuit
With discharge and recharge, during headset plugging, switch transition switch 103, can not be dashed forward using electric capacity both end voltage
Become to eliminate noise, but the choosing value of electric capacity is needed and circuit loop total impedance matches determination in such scheme
Time constant, it is impossible to audio frequency noise (pop sounds) is completely eliminated.
The content of the invention
For the problems referred to above that prior art is present, there is provided a kind of circuit of elimination headset plugging noise, solution
Certainly above technical problem;
For the problems referred to above that prior art is present, a kind of method for eliminating headset plugging noise is also provided,
Solve above technical problem;
Concrete technical scheme is as follows:
Eliminate the circuit of headset plugging noise, arrange in the earphone socket left channel pin (2), draw
Pin (4), microphone pin end (6), described ground pin (4) are connected with earth terminal, the L channel
Pin (2) L channel section (L) contact corresponding with a headset plug and described ground pin (4)
It is corresponding with the headset plug ground connection section (GND) contact when left channel pin (2) with
The earth terminal forms a L channel loop, it is characterised in that include,
Detector unit, is arranged in the earphone socket, arranges away from the entrance of the earphone socket, bag
Include fixed part (C) and the movable part with the fixed part (C) elastic connection, fixed part (C)
Connect the left channel pin (2), the movable part connection one detects pin (1), inserts in the earphone
Under the Insertion action of head, fixed part (C) contacts to turn on detection pin (1) with the movable part
With the L channel loop;
Interrupt signal generation unit (10), is connected with the detector unit, in detection pin (1)
An interrupt signal is produced when turning on the L channel loop;
Control unit (12), in the presence of the interrupt signal provides bias voltage and draws to the microphone
Foot (6).
The circuit of above-mentioned elimination headset plugging noise, interrupt signal generation unit (10) include,
Voltage detection department, is connected between detection pin (1) and an operating voltage (VDD),
For exporting the detection pin voltage;
Comparator, is connected with the output end of the voltage detection department, for detection pin (1) electricity
Pressure is compared to produce comparison signal, detection pin (1) and institute with a reference voltage (Vref)
When stating left channel pin (2) conducting, the detection pin voltage is less than the reference voltage (Vref),
Using the comparison signal as the interrupt signal.
The circuit of above-mentioned elimination headset plugging noise, the movable part include the first conductive part (B) and
The second insulation division (A) being fixedly connected with the first conductive part (B), the first conductive part (B)
In the middle of the second insulation division (A) and the fixed part (C), the first conductive part (B)
It is connected with detection pin (1), under the impetus of the headset plug the first conductive part (B)
Contact with the fixed part (C), to turn on detection pin (1) and the left channel pin (2).
The circuit of above-mentioned elimination headset plugging noise, the second insulation division (A) adopts discoid knot
Structure, the disc face of the disc-shaped structure are arranged perpendicular to the approach axis of the headset plug, and institute
The diameter for stating disc face is suitable with the internal diameter of the earphone socket.
The circuit of above-mentioned elimination headset plugging noise, the movable part are passed through with the fixed part (C)
One shell fragment connects.
The circuit of above-mentioned elimination headset plugging noise, one end of the shell fragment and second insulation division
(A) connect, the other end of the shell fragment is connected with the fixed part (C).
The circuit of above-mentioned elimination headset plugging noise, the voltage detection department include pull-up resistor (R12),
Pull-up resistor (R12) be series at it is described detection pin (1) and the operating voltage (VDD) it
Between, the point that pull-up resistor (R12) is connected with detection pin (1) is used for exporting the inspection
Survey pin (1) voltage.
The circuit of above-mentioned elimination headset plugging noise, fixed part (C) and the earphone socket
The distance between entrance is more than the distance between the left channel pin (2) and entrance of the earphone socket.
Also provide, a kind of method for eliminating headset plugging noise wherein, is comprised the following steps:
Step 1, a detector unit being arranged in earphone socket detect headset plug it is fully-inserted when lead
The logical detection pin and the L channel loop;
Step 2, produces an interrupt signal in the detection pin and the L channel loop when turning on;
Step 3, provides the Mike of bias voltage to the earphone socket in the presence of the interrupt signal
Wind leads ends.
The method of above-mentioned elimination headset plugging noise, after step 3, also includes to the headset plug
The step of being identified, it is specific as follows:
Step 3, behind the microphone pin end and bias voltage connection, judges the microphone
When the magnitude of voltage of leads ends is more than given threshold, recognize that the headset plug is four sections of earphones, otherwise, institute
Headset plug is stated for three sections of earphones.
Beneficial effect:Above technical scheme, arranges detector unit in earphone socket, inclined to control earphone
The unlatching of voltage is put, headset plugging noise can be eliminated, lift Consumer's Experience.
Description of the drawings
Circuit diagrams of the Fig. 1 for prior art;
Fig. 2 is a kind of earphone insertion midway of embodiment of the circuit of the elimination headset plugging noise of the present invention
Circuit diagram;
Fig. 3 is that a kind of earphone of embodiment of the circuit of the elimination headset plugging noise of the present invention is fully-inserted
Circuit diagram;
Fig. 4 is a kind of flow chart of embodiment of the method for the elimination headset plugging noise of the present invention;
Fig. 5 is the flow chart of another kind of embodiment of the method for the elimination headset plugging noise of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the invention, and
It is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are without work
The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that the embodiment and the spy in embodiment in the case where not conflicting, in the present invention
Levy and can be mutually combined.
With reference to Fig. 2, Fig. 3, the circuit of headset plugging noise is eliminated, L channel is set in an earphone socket
Pin 2, pin 4, microphone pin end 6, ground pin 4 is connected with earth terminal, left channel pin 2
It is corresponding with headset plug with when corresponding L channel section L is contacted on a headset plug and ground pin 4
Ground connection section GND when contacting left channel pin 2 form a L channel loop with earth terminal, including,
Detector unit, is arranged in earphone socket, arranges away from the entrance of earphone socket, and which includes fixing
Portion C and the movable part with fixed part C elastic connections, fixed part connection left channel pin 2, movable part connect
Detection pin 1 is connect, fixed part C contacts to turn on inspection with movable part under the Insertion action of a headset plug
Survey pin 1 and L channel loop;
Interrupt signal generation unit 10, is connected with detector unit, is led in detection pin 1 and L channel loop
An interrupt signal is produced when logical;
Control unit 12, provides bias voltage Head_Micbias in the presence of interrupt signal to Mike
Wind leads ends 6.
Headset plugging noise is divided into into and out two parts noise.Insertion noise main reason is that ear
When machine transplanting of rice head is not fully inserted into, the bias voltage Head_Micbias of earphone but has turned on, headset plug or so
The noise that sound channel segments contact is produced to the bias voltage Head_Micbias of earphone, extracts noise and then leads
Reason is wanted to be that earphone bias voltage Head_Micbias closings cause ear not in time when headset plug is extracted
The noise that machine left and right acoustic channels segments contact is produced to bias voltage Head_Micbias.By away from ear
The entrance of machine transplanting of rice seat arranges the distance between entrance of detector unit, fixed part C and earphone socket more than a left side
The distance between entrance of sound channel pin 2 and earphone socket, promotes movable part to advance after headset plug insertion,
When headset plug it is fully-inserted in place when, fixed part C can be caused to contact with movable part with conduction detection pin
1 and L channel loop, the interrupt signal control bias voltage Head_Micbias of generation is opened, so as to keep away
Exempt from headset plug insertion withdrawal process, the L channel section L or R channel section R of headset plug connect
The noise for contacting microphone pin end 6 and producing, above-mentioned control unit 12 can adopt codec chip
Or other baseband chips are realized, compared to existing technology, eliminate noise more thorough, ear can be solved from source
Noise problem is pulled out in the machine transplanting of rice.
In it is a kind of preferred embodiment in, above-mentioned interrupt signal generation unit 10 can include,
Voltage detection department, is connected between detection pin 1 and operating voltage VDD, for exporting inspection
Survey pin voltage;
Comparator 11, is connected with the output end of voltage detection department, for detecting pin voltage with a reference
Voltage Vref is compared to produce comparison signal, when detection pin 1 and L channel loop turn on, detection
Pin voltage is less than reference voltage Vref, using comparison signal as interrupt signal.
Above-mentioned circuit when headset plug inserts midway, as shown in Fig. 2 detection pin 1 will not and it is left
Sound channel pin 2 is turned on, and detection pin 1 is high level, will not produce interrupt signal, bias voltage
Head_Micbias will not be opened, only when headset plug is fully inserted into position, as shown in figure 3, detection is drawn
Pin 1 and the conducting of L channel loop, detection pin 1 are drop-down for low level, generation interrupt signal, biased electrical
Press off and open, and then evaded the generation of noise.
In it is a kind of preferred embodiment in, movable part include the first conductive part B and with the first conductive part B
The second insulation division A being fixedly connected, the first conductive part B are in the second insulation division A and fixed part C
Between, the first conductive part B is connected with detection pin 1, the first conductive part under the impetus of headset plug
B is contacted with fixed part C, with conduction detection pin 1 and left channel pin 2.First conductive part B and solid
Determine portion C to make using good conductive materials such as metals, the second insulation division A can be non-conductive using plastics etc.
Material is made.Fixed part C is arranged away from the entrance of earphone socket, is located at the right side of movable part with fixed part C
As a example by side, the right side of the second insulation division A is connected with the first conductive part B, and headset plug promotes second to insulate
Portion A, and drive whole movable part to advance, and then arrive the right contact of the first conductive part B of movable part
Fixed part C causes to detect that pin 1 and left channel pin 2 are turned on.
In it is a kind of preferred embodiment in, the second insulation division A adopts disc-shaped structure, disc-shaped structure
Disc face perpendicular to headset plug approach axis arrange.The diameter and earphone socket of above-mentioned disc face
Internal diameter it is suitable.Purpose is to prevent foreign from entering inside earphone socket by the entrance of earphone socket
The normal work of Interference Detection unit.
The diameter of disc face is slightly less than the internal diameter of earphone socket, and the diameter of general disc face is than earphone socket
Little 0.5mm of internal diameter or so, can move under the promotion of headset plug in earphone socket, while can prevent
Foreign is entered.
In it is a kind of preferred embodiment in, the distance between fixed part C and entrance of earphone socket are more than
The distance between entrance of left channel pin 2 and earphone socket.So that detector unit is placed in earphone as far as possible
Socket bottom, after guaranteeing to detect pin and left channel pin conducting, headset plug is fully inserted into.
In it is a kind of preferred embodiment in, movable part is connected by a shell fragment with fixed part C.Shell fragment is not
Limit material, one end of shell fragment are connected with the second insulation division A, and the other end of shell fragment is connected with fixed part C.
During elastic piece structure causes headset plug withdrawal process, detection pin 1 and left channel pin 2 can be immediately disconnected,
Detection pin 1 is high level immediately, can close bias voltage Head_Micbias immediately, so as to avoid pulling out
Noise during going out.
In it is a kind of preferred embodiment in, above-mentioned voltage detection department includes pull-up resistor R12, pull-up
Resistance R12 is series between detection pin 1 and operating voltage VDD, and pull-up resistor R12 is drawn with detection
The point that pin 1 is connected is used for exporting detection pin voltage.
The present invention also provides a kind of method for eliminating headset plugging noise, with reference to Fig. 4, wherein, including with
Lower step:
Step 1, a detector unit being arranged in earphone socket detect headset plug it is fully-inserted when lead
Logical detection pin and L channel loop;
Step 2, produces an interrupt signal when pin is detected and L channel loop turns on;
Step 3, provides bias voltage in the presence of interrupt signal to microphone pin end.
In it is a kind of preferred embodiment in, with reference to Fig. 5, after step 3, also include to headset plug
The step of being identified, it is specific as follows:Step 4, behind microphone pin end and bias voltage connection,
When judging that the magnitude of voltage at microphone pin end is more than given threshold, identification headset plug is four sections of earphones, no
Then, headset plug is three sections of earphones.
Preferred embodiments of the present invention are these are only, embodiments of the present invention and protection is not thereby limited
Scope, to those skilled in the art, should can appreciate that all utilization description of the invention and figure
Show the equivalent done by content and the scheme obtained by obvious change, should be included in this
In the protection domain of invention.
Claims (10)
1. eliminate the circuit of headset plugging noise, arrange in the earphone socket left channel pin (2),
Pin (4), microphone pin end (6), described ground pin (4) are connected with earth terminal, the left sound
Road pin (2) L channel section (L) contact corresponding with a headset plug and described ground pin (4)
It is corresponding with the headset plug ground connection section (GND) contact when left channel pin (2) with
The earth terminal forms a L channel loop, it is characterised in that include,
Detector unit, is arranged in the earphone socket, arranges away from the entrance of the earphone socket, bag
Include fixed part (C) and the movable part with the fixed part (C) elastic connection, fixed part (C)
Connect the left channel pin (2), the movable part connection one detects pin (1), inserts in the earphone
Under the Insertion action of head, fixed part (C) contacts to turn on detection pin (1) with the movable part
With the L channel loop;
Interrupt signal generation unit (10), is connected with the detector unit, in detection pin (1)
An interrupt signal is produced when turning on the L channel loop;
Control unit (12), in the presence of the interrupt signal provides bias voltage and draws to the microphone
Foot (6).
2. it is according to claim 1 eliminate headset plugging noise circuit, it is characterised in that it is described
Interrupt signal generation unit (10) includes,
Voltage detection department, is connected between detection pin (1) and an operating voltage (VDD),
For exporting the detection pin voltage;
Comparator, is connected with the output end of the voltage detection department, for detection pin (1) electricity
Pressure is compared to produce comparison signal, detection pin (1) and institute with a reference voltage (Vref)
When stating left channel pin (2) conducting, the detection pin voltage is less than the reference voltage (Vref),
Using the comparison signal as the interrupt signal.
3. it is according to claim 1 eliminate headset plugging noise circuit, it is characterised in that it is described
The second insulation that movable part is included the first conductive part (B) and is fixedly connected with the first conductive part (B)
Portion (A), the first conductive part (B) are located at the second insulation division (A) and the fixed part (C)
Centre, the first conductive part (B) are connected with detection pin (1), in the headset plug
Under impetus, the first conductive part (B) is contacted with the fixed part (C), to turn on the detection
Pin (1) and the left channel pin (2).
4. it is according to claim 3 eliminate headset plugging noise circuit, it is characterised in that it is described
Second insulation division (A) adopts disc-shaped structure, and the disc face of the disc-shaped structure is perpendicular to the ear
The approach axis of machine transplanting of rice head are arranged, and the diameter of the disc face is suitable with the internal diameter of the earphone socket.
5. it is according to claim 3 eliminate headset plugging noise circuit, it is characterised in that it is described
Movable part is connected by a shell fragment with the fixed part (C).
6. it is according to claim 5 eliminate headset plugging noise circuit, it is characterised in that it is described
One end of shell fragment is connected with the second insulation division (A), the other end of the shell fragment and the fixed part
(C) connect.
7. it is according to claim 1 eliminate headset plugging noise circuit, it is characterised in that it is described
Voltage detection department includes pull-up resistor (R12), and pull-up resistor (R12) is series at the detection and draws
Between pin (1) and the operating voltage (VDD), pull-up resistor (R12) is drawn with the detection
The point that pin (1) is connected is used for exporting detection pin (1) voltage.
8. it is according to claim 3 eliminate headset plugging noise circuit, it is characterised in that it is described
The distance between fixed part (C) and entrance of the earphone socket more than the left channel pin (2) with
The distance between entrance of the earphone socket.
9. the method for eliminating headset plugging noise, it is characterised in that for the elimination described in claim 1
The circuit of headset plugging noise, comprises the following steps:
Step 1, a detector unit being arranged in earphone socket turn on institute when headset plug is fully-inserted
State detection pin and the L channel loop;
Step 2, produces an interrupt signal in the detection pin and the L channel loop when turning on;
Step 3, provides bias voltage in the presence of the interrupt signal to the microphone pin end.
10. it is according to claim 9 eliminate headset plugging noise method, it is characterised in that step
After rapid 3, also include the step of being identified to the headset plug, it is specific as follows:
Step 4, when judging that the magnitude of voltage at the microphone pin end is more than given threshold, recognizes the ear
Machine transplanting of rice head is four sections of earphones, and otherwise, the headset plug is three sections of earphones.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510587346.0A CN106535038A (en) | 2015-09-15 | 2015-09-15 | Circuit and method for eliminating plug and play noise of headphone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510587346.0A CN106535038A (en) | 2015-09-15 | 2015-09-15 | Circuit and method for eliminating plug and play noise of headphone |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106535038A true CN106535038A (en) | 2017-03-22 |
Family
ID=58348699
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510587346.0A Pending CN106535038A (en) | 2015-09-15 | 2015-09-15 | Circuit and method for eliminating plug and play noise of headphone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106535038A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111029843A (en) * | 2019-12-26 | 2020-04-17 | 歌尔股份有限公司 | Communication device, switching device and control method thereof |
CN113891218A (en) * | 2021-09-30 | 2022-01-04 | 北京快鱼电子股份公司 | Microphone and noise elimination device for switching microphone channels |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040264703A1 (en) * | 2003-06-30 | 2004-12-30 | Kabushiki Kaisha Toshiba | Audio signal recording apparatus |
CN103024632A (en) * | 2012-12-30 | 2013-04-03 | 青岛歌尔声学科技有限公司 | Noise reduction device of earphone |
CN104380697A (en) * | 2014-06-30 | 2015-02-25 | 华为技术有限公司 | A terminal and a system which can reduce noise generated in earphone insertion and pulling processes |
-
2015
- 2015-09-15 CN CN201510587346.0A patent/CN106535038A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040264703A1 (en) * | 2003-06-30 | 2004-12-30 | Kabushiki Kaisha Toshiba | Audio signal recording apparatus |
CN103024632A (en) * | 2012-12-30 | 2013-04-03 | 青岛歌尔声学科技有限公司 | Noise reduction device of earphone |
CN104380697A (en) * | 2014-06-30 | 2015-02-25 | 华为技术有限公司 | A terminal and a system which can reduce noise generated in earphone insertion and pulling processes |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111029843A (en) * | 2019-12-26 | 2020-04-17 | 歌尔股份有限公司 | Communication device, switching device and control method thereof |
CN111029843B (en) * | 2019-12-26 | 2021-09-17 | 歌尔股份有限公司 | Communication device, switching device and control method thereof |
CN113891218A (en) * | 2021-09-30 | 2022-01-04 | 北京快鱼电子股份公司 | Microphone and noise elimination device for switching microphone channels |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101841588B (en) | Audio interface device and electronic device using same | |
CN201509235U (en) | Headphone detection circuit of mobile terminal and mobile terminal thereof | |
CN105101001B (en) | Earphone recognition apparatus and terminal device | |
CN105848028B (en) | Earphone for charging for audio frequency apparatus and be audio frequency apparatus charging method | |
CN105554606A (en) | Digital earphone and electronic device | |
CN107172515A (en) | Test earphone plug is inserted in mobile terminal detection circuit and mobile terminal | |
US20140301562A1 (en) | Electronic device and method for sensing headset type by audio signal | |
CN201750528U (en) | Audio processing device | |
CN102740181A (en) | Earphone interface circuit and electronic equipment | |
CN105120390B (en) | Headphone socket, headphone plug and electronic device | |
CN101990144A (en) | Double earphone adapter, main board and method for detecting double earphones | |
CN106535038A (en) | Circuit and method for eliminating plug and play noise of headphone | |
CN102457798A (en) | Audio switching circuit and audio playing device with same | |
CN204968070U (en) | Earphone socket, Headphone plug and electronic equipment | |
CN107885480A (en) | Interface detects circuit and audio frequency apparatus | |
CN105142072B (en) | A kind of audio devices and audio frequency playing method of external player | |
CN102710821A (en) | Hand microphone for interphone and interphone | |
CN104599672B (en) | There are the audio codec and audio grafting detection method of audio grafting detectability | |
CN104093104A (en) | Circuit and method for eliminating POP sound of earphone | |
CN106559724B (en) | Circuit and method for eliminating earphone plugging noise | |
CN206212258U (en) | A kind of vehicle-mounted audio frequency circuit | |
CN206865728U (en) | A kind of noise canceller circuit and audio frequency apparatus | |
CN207475793U (en) | It is a kind of can free switching audio output headset plug | |
CN208971820U (en) | A kind of earphone insertion detection circuit, earphone isolation circuit and electronic equipment | |
CN108196818A (en) | Earphone recognition apparatus |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170322 |