CN105067944B - A kind of detection circuit and detection method for COBBAIF - Google Patents

A kind of detection circuit and detection method for COBBAIF Download PDF

Info

Publication number
CN105067944B
CN105067944B CN201510559067.3A CN201510559067A CN105067944B CN 105067944 B CN105067944 B CN 105067944B CN 201510559067 A CN201510559067 A CN 201510559067A CN 105067944 B CN105067944 B CN 105067944B
Authority
CN
China
Prior art keywords
frequency channel
tone frequency
channel wire
resistance
mcu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201510559067.3A
Other languages
Chinese (zh)
Other versions
CN105067944A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510559067.3A priority Critical patent/CN105067944B/en
Publication of CN105067944A publication Critical patent/CN105067944A/en
Application granted granted Critical
Publication of CN105067944B publication Critical patent/CN105067944B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
  • Monitoring And Testing Of Exchanges (AREA)

Abstract

The present invention relates to electronic circuit technology field, more particularly to a kind of detection circuit and detection method for COBBAIF.Detection circuit of the present invention includes audio terminal, tone frequency channel wire insertion detection module, bias voltage module, resistance R1, electric capacity C1, resistance R2 and MCU;The present invention is when tone frequency channel wire insertion detection module has detected tone frequency channel wire and has been inserted into audio terminal, MCU control bias voltage module conductings, tone frequency channel wire other end vacantly with not hanging two states, resistance between bias voltage module and ground it is of different sizes, can determine whether out whether tone frequency channel wire other end hanging accordingly;MCU makes further control according to the whether hanging judged result of tone frequency channel wire other end, when tone frequency channel wire other end is hanging, the signal of MCU shielding tone frequency channel wire transmission, avoids tone frequency channel wire that interference signal is incorporated into system with this.

Description

A kind of detection circuit and detection method for COBBAIF
Technical field
The present invention relates to electronic circuit technology field, more particularly to it is a kind of for the detection circuit of COBBAIF and detection side Method.
Background technology
Audio terminal is commonly used as in Line in input access audio interface circuits, and its structural representation is as shown in Figure 1. Current audio interface circuit, can much detect the presence of tone frequency channel wire and be inserted into audio terminal, its principle is:Inserted when without tone frequency channel wire When entering to audio terminal, the 4th pin of audio terminal and the 5th pin are in connection status, the 6th pin of audio terminal and the 7th Pin is in connection status;When there is tone frequency channel wire to be inserted into audio terminal, sound is withstood on the tone frequency channel wire head in insertion audio terminal The 5th pin and the 7th pin of frequency terminal, can using this change to being disconnected respectively with the 4th pin of audio terminal and the 6th pin It is inserted into detecting the presence of tone frequency channel wire in audio terminal.
But, current audio interface circuit can only accomplish that detecting the presence of tone frequency channel wire is inserted into audio terminal, it is impossible to enter one Whether the other end of step detection tone frequency channel wire is hanging.And the situation of physical presence is, when COBBAIF is accessed in one end of tone frequency channel wire When circuit, other end are hanging, tone frequency channel wire can be introduced noise into audio interface circuit, to audio interface circuit or and sound The system of frequency interface circuit connection brings various interference.For example, as tone frequency channel wire one end by audio interface circuit access audio amplifier, When the other end is hanging, audio amplifier can send drone noise.
The content of the invention
In consideration of it, the present invention proposes a kind of detection circuit and detection method for COBBAIF, the detection electricity is utilized Road, can detect whether the other end of tone frequency channel wire is hanging, thus testing result system can make corresponding counter-measure, so as to keep away Exempt from the system that interference signal is introduced to audio interface circuit or is connected with audio interface circuit by the other end of tone frequency channel wire.
Technical solution of the present invention:
A kind of detection circuit for COBBAIF, including:Audio terminal, tone frequency channel wire insertion detection module, bias voltage Module, resistance R1, electric capacity C1, resistance R2 and MCU, the detection pin connection tone frequency channel wire of audio terminal insert the detection of detection module Input, the detection output connection MCU of tone frequency channel wire insertion detection module, the L channel pin or R channel pipe of audio terminal Pin connection resistance R1 one end, the resistance R1 other end and the controlled end of bias voltage module, resistance R2 one end, electric capacity C1 One end is connected, resistance R2 other end ground connection, electric capacity C1 other end connection MCU, the control end connection of bias voltage module MCU。
Further, tone frequency channel wire insertion detection module includes resistance R7 and power supply VCC, resistance R7 one end connection power supply The detection input and tone frequency channel wire that VCC, resistance the R7 other end insert detection module respectively as tone frequency channel wire insert detection module Detection output.
Further, biasing module includes resistance R6, resistance R5, triode Q1 and power supply VCC, and resistance R5 one end is connected Power supply VCC, resistance the R5 other end connecting triode Q1 colelctor electrode, triode Q1 base stage connection resistance R6 one end, electricity The R6 other end is hindered as the control end of bias voltage module, and triode Q1 emitter stage connects the controlled of bias voltage module End.
Further, in addition to analog-digital converter ADC1 and analog-digital converter ADC2, analog-digital converter ADC1 is in electric capacity C1 Between MCU, analog-digital converter ADC2 is between MCU and triode Q1 emitter stages.
A kind of detection method based on above-mentioned detection circuit, including:
Tone frequency channel wire insertion detection module detects the presence of tone frequency channel wire and is inserted into audio terminal, if so, then MCU controls bias voltage Module is turned on;
Gather resistance R1 and the voltage V1 and electric capacity C1 of electric capacity C1 junctions and the voltage V2 of MCU junctions;
Calculate Δ V, Δ V=V1-V2;
Judge whether the other end of tone frequency channel wire is hanging according to Δ V.
Further, it is described to judge whether the other end of tone frequency channel wire is hanging, includes afterwards according to Δ V:
If the other end of tone frequency channel wire is hanging, the signal of MCU shielding tone frequency channel wire transmission;
If the other end of tone frequency channel wire is not hanging, MCU receives the signal of tone frequency channel wire transmission.
Further, the tone frequency channel wire insertion detection module detects the presence of tone frequency channel wire and is inserted into audio terminal, is specially:
If the detection output of tone frequency channel wire insertion detection module is low level, tone frequency channel wire insertion detection module is judged as nothing Tone frequency channel wire is inserted into audio terminal;
If the detection output of tone frequency channel wire insertion detection module is high level, tone frequency channel wire insertion detection module is judged as having Tone frequency channel wire is inserted into audio terminal.
Beneficial effects of the present invention:Detection circuit of the present invention includes:Audio terminal, tone frequency channel wire insertion detection mould Block, bias voltage module, resistance R1, electric capacity C1, resistance R2 and MCU, the detection pin connection tone frequency channel wire insertion inspection of audio terminal Survey the detection input of module, the detection output connection MCU of tone frequency channel wire insertion detection module, the L channel pin of audio terminal Or R channel pin connection resistance R1 one end, the resistance R1 other end and the controlled end of bias voltage module, resistance R2 One end, electric capacity C1 one end connection, resistance R2 other end ground connection, electric capacity C1 other end connection MCU, bias voltage module Control end connects MCU;The present invention is when tone frequency channel wire insertion detection module has detected tone frequency channel wire and has been inserted into audio terminal, MCU controls Bias voltage module processed conducting, tone frequency channel wire other end vacantly with not hanging two states, between bias voltage module and ground Resistance it is of different sizes, can determine whether out whether tone frequency channel wire other end hanging accordingly;MCU according to tone frequency channel wire other end whether Hanging judged result, makes further control, when tone frequency channel wire other end is hanging, the letter of MCU shielding tone frequency channel wire transmission Number, avoid tone frequency channel wire that interference signal is incorporated into system with this.
Brief description of the drawings
Fig. 1 is the structural representation of audio terminal;
Fig. 2 is a kind of block diagram of detection circuit for COBBAIF of the present invention;
Fig. 3 is an a kind of physical circuit figure of detection circuit for COBBAIF of the present invention;
Fig. 4 is a kind of flow chart of the detection method based on audio interface circuit of the present invention.
Embodiment
For make present invention solves the technical problem that, the technical scheme that uses and the technique effect that reaches it is clearer, below The technical scheme of the embodiment of the present invention will be described in further detail with reference to accompanying drawing, it is clear that described embodiment is only It is a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, those skilled in the art exist The every other embodiment obtained under the premise of creative work is not made, the scope of protection of the invention is belonged to.
Embodiment one
Fig. 2 is a kind of block diagram of detection circuit for COBBAIF of the present invention.Referring to Fig. 2, one kind is used for COBBAIF Detection circuit include:Audio terminal, tone frequency channel wire insertion detection module, bias voltage module, resistance R1, electric capacity C1, resistance R2 And MCU, the detection input of the detection pin connection tone frequency channel wire insertion detection module of audio terminal, tone frequency channel wire insertion detection module Detection output connection MCU, L channel pin or R channel pin connection the resistance R1 of audio terminal one end, resistance R1 The other end and the controlled end of bias voltage module, resistance R2 one end, electric capacity C1 one end connect, resistance R2 another termination Ground, electric capacity C1 other end connection MCU, the control end connection MCU of bias voltage module.
Audio terminal is inserted in tone frequency channel wire one end, and other end has hanging and not hanging two states:
When tone frequency channel wire other end is not hanging, i.e., when tone frequency channel wire other end is connected with audio frequency apparatus, due to audio frequency apparatus There is resistance between the left and right acoustic channels circuit and signal ground of port, the audio frequency apparatus of access audio interface circuit can be equivalent to one Determine the resistance R of resistancex, resistance R1 series resistances R is shown as on circuitxGround connection, i.e. resistance R1 series resistances Rx, then with resistance R2 is in parallel;The present invention, when tone frequency channel wire insertion detection module, which has detected tone frequency channel wire, is inserted into audio terminal, tone frequency channel wire insertion inspection Survey module and send a signal to MCU, MCU signal, control bias voltage module unlatchings accordingly makes bias voltage module access circuit; As described above, when tone frequency channel wire other end is not hanging, resistance R1 series resistances Rx, then it is in parallel with resistance R2, i.e., in the presence of one Equivalent resistance R=(R1+Rx) //R2, referring to Fig. 2, after bias voltage module is opened, bias voltage module is connect by equivalent resistance R Ground.
When tone frequency channel wire other end is hanging, i.e. tone frequency channel wire other end is not connected to any load, it is clear that resistance R1 is therefore not By the detection circuit of access COBBAIF, only resistance R2 accesses the detection circuit of COBBAIF;The present invention, when tone frequency channel wire insertion When detection module has detected tone frequency channel wire and is inserted into audio terminal, tone frequency channel wire insertion detection module sends a signal to MCU, MCU evidences This signal, control bias voltage module is opened, and bias voltage module is accessed circuit;As described above, when tone frequency channel wire other end When hanging, only resistance R2 accesses the detection circuit of COBBAIF, referring to Fig. 2, after bias voltage module is opened, biased electrical pressing mold Block is grounded by resistance R2.
Therefore, by detecting the size of the resistance between bias voltage module and ground, it can determine whether out tone frequency channel wire in addition Whether one end is hanging.
The present invention is when tone frequency channel wire insertion detection module has detected tone frequency channel wire and has been inserted into audio terminal, MCU control biasings Voltage module turn on, tone frequency channel wire other end vacantly with not hanging two states, the resistance between bias voltage module and ground It is of different sizes, can determine whether out whether tone frequency channel wire other end hanging accordingly;Whether MCU is hanging according to tone frequency channel wire other end Judged result, makes further control, when tone frequency channel wire other end is hanging, the signal of MCU shielding tone frequency channel wire transmission, with this Avoid tone frequency channel wire that interference signal is incorporated into system.
Bias voltage module connects the L channel pin or R channel pin of audio terminal, as principle is with effect.
Embodiment two
Fig. 3 is an a kind of physical circuit figure of detection circuit for COBBAIF of the present invention.Referring to Fig. 3, Yi Zhongyong Include in the detection circuit of COBBAIF:Audio terminal, tone frequency channel wire insertion detection module, bias voltage module, resistance R1, electric capacity C1, resistance R2 and MCU;
Tone frequency channel wire insertion detection module includes resistance R7 and power supply VCC, resistance R7 one end connection power supply VCC, resistance R7 The other end be used as tone frequency channel wire insertion detection module detection input and tone frequency channel wire insert detection module detection output;
Biasing module includes resistance R6, resistance R5, triode Q1 and power supply VCC, and resistance R5 one end connects power supply VCC, Resistance R5 other end connecting triode Q1 colelctor electrode, triode Q1 base stage connection resistance R6 one end, resistance R6's is another One end is used as the control end of bias voltage module, the controlled end of triode Q1 emitter stage connection bias voltage module;
The detection connection tone frequency channel wire of pin 5 of audio terminal inserts the detection input of detection module, tone frequency channel wire insertion detection The detection output connection MCU of module, L channel pin 2 or R channel pin 3 connection the resistance R1 of audio terminal one end, The resistance R1 other end and the controlled end of bias voltage module, resistance R2 one end, electric capacity C1 one end are connected, and resistance R2's is another One end is grounded, electric capacity C1 other end connection MCU, the control end connection MCU of bias voltage module.
Referring to Fig. 3, the 4th pin, the 5th pin, resistance R7 and the power supply VCC composition tone frequency channel wire insertion detection moulds of audio terminal Block, when tone frequency channel wire is not inserted into audio terminal, the 4th pin, the 5th pin of audio terminal are in connection status, due to audio The 4th pin ground connection of terminal, so now Line_Det ports are low level;When tone frequency channel wire is inserted into audio terminal, audio The 4th pin and the 5th pin of terminal are off, and the 5th pin of audio terminal meets power supply VCC by resistance R7, now Line_Det ports are high level;Obviously, according to the height of Line_Det port levels, you can judge whether there is tone frequency channel wire to insert Enter to audio terminal.The detection input of tone frequency channel wire insertion detection module and the detection output of tone frequency channel wire insertion detection module are Line_Det ports in one terminal, i.e. Fig. 3, Line_Det ports are connected with MCU, and MCU is according to Line_Det port levels Height, judge whether there is tone frequency channel wire to be inserted into audio terminal.
Referring to Fig. 3, the Net_control ports in Fig. 3 are the control end of bias voltage module, Net_control ends Mouth is connected with MCU, and after MCU judges to have tone frequency channel wire to be inserted into audio terminal, Net_control ports are set to height by MCU Level, Net_control ports be bias voltage module control end be high level when, triode Q1 conducting so that biased electrical Die block is linked into circuit.
Audio terminal is inserted in tone frequency channel wire one end, and other end has hanging and not hanging two states:
When tone frequency channel wire other end is not hanging, i.e., when tone frequency channel wire other end is connected with audio frequency apparatus, due to audio frequency apparatus There is resistance between the left and right acoustic channels circuit and signal ground of port, the audio frequency apparatus of access audio interface circuit can be equivalent to one Determine the resistance R of resistancex, resistance R1 series resistances R is shown as on circuitxGround connection, i.e. resistance R1 series resistances Rx, then with resistance R2 earths;The present invention, when Line_Det ports are high level, Net_control ports are set to high level, three by MCU Pole pipe Q1 is turned on, now resistance R1 series resistances Rx, then with resistance R2 earths, i.e. the emitter stage of triode Q1 passes through equivalent Resistance R=(R1+Rx) //R2 is grounded;The now magnitude of voltage of A points
When tone frequency channel wire other end is hanging, i.e. tone frequency channel wire other end is not connected to any load, it is clear that resistance R1 is therefore not By the detection circuit of access COBBAIF, only resistance R2 accesses the detection circuit of COBBAIF;The present invention, when Line_Det ends When mouth is high level, Net_control ports are set to high level by MCU, and triode Q1 is turned on, and now resistance R2 accesses audio and connect The detection circuit of mouth, i.e. triode Q1 emitter stage is grounded by resistance R2, now the magnitude of voltage of A points
The magnitude of voltage of B points is constant in voltage between electric capacity C1 and MCU, i.e. Fig. 3, and the magnitude of voltage of B points is in note Fig. 3 V2, the magnitude of voltage V1 of A points size is judged with magnitude of voltage V2, you can judge whether tone frequency channel wire other end is hanging;Make Δ V V1-V2 can be realized on=V1-V2, circuit with subtracter;When tone frequency channel wire other end is hanging, Δ V now is calculated, audio is made Δ V when line other end is hanging is Δ V0;Obviously, when tone frequency channel wire other end is connected with audio frequency apparatus, Δ V=V1-V2 Δ V should be less than0, so, compare Δ V and Δ V0Size, can determine whether out whether tone frequency channel wire other end hanging;Compare Δ V with ΔV0Size, can be realized with comparator on circuit, when comparative result is Δ V=Δs V0, then tone frequency channel wire other end is hanging, when Comparative result is that Δ V is less than Δ V0, then tone frequency channel wire other end is not hanging.
Further, a kind of detection circuit for COBBAIF of the invention also includes analog-digital converter ADC1 and modulus turns Parallel operation ADC2, analog-digital converter ADC1 are between electric capacity C1 and MCU, and analog-digital converter ADC2 is in MCU and triode Q1 emitter stages Between, analog signal is converted into data signal and sent to MCU by analog-digital converter ADC1 and analog-digital converter ADC2.
The present invention is when tone frequency channel wire insertion detection module has detected tone frequency channel wire and has been inserted into audio terminal, MCU control biasings Voltage module turn on, tone frequency channel wire other end vacantly with not hanging two states, the resistance between bias voltage module and ground It is of different sizes, can determine whether out whether tone frequency channel wire other end hanging accordingly;Whether MCU is hanging according to tone frequency channel wire other end Judged result, makes further control, when tone frequency channel wire other end is hanging, the signal of MCU shielding tone frequency channel wire transmission, with this Avoid tone frequency channel wire that interference signal is incorporated into system.
Embodiment three
Fig. 4 is a kind of flow chart of the detection method based on audio interface circuit of the present invention.
Referring to Fig. 4, a kind of detection method based on audio interface circuit, including:
S101, tone frequency channel wire insertion detection module detect the presence of tone frequency channel wire and are inserted into audio terminal, if so, then performing S102;
In step S101, tone frequency channel wire insertion detection module detects the presence of tone frequency channel wire and is inserted into audio terminal, is specially:If sound The Line_Det ports that frequency line is inserted in the detection output of detection module, i.e. Fig. 3 are low level, then tone frequency channel wire insertion detection mould Block is judged as that no tone frequency channel wire is inserted into audio terminal;If tone frequency channel wire is inserted in the detection output of detection module, i.e. Fig. 3 Line_Det ports are high level, then tone frequency channel wire insertion detection module is judged as having tone frequency channel wire to be inserted into audio terminal.
S102, MCU control bias voltage module conducting;
In step S102, Line_Det ports are connected to MCU, the MCU when MCU detects Line_Det ports for high level Bias voltage module conducting is controlled, i.e. the Net_control ports of bias voltage module are set to high level, Net_ by MCU Control ports are high level, triode Q1 conductings.
The voltage V2 of S103, collection resistance R1 and electric capacity C1 junctions voltage V1 and electric capacity C1 and MCU junction;
In step S103, the other end of tone frequency channel wire vacantly with not hanging two states, triode Q1 emitter stage with Resistance between ground is different:It is equivalent between triode Q1 emitter stage and ground when tone frequency channel wire other end is not hanging Resistance R=(R1+Rx)//R2;When tone frequency channel wire other end is hanging, the resistance between triode Q1 emitter stage and ground is R2;
Resistance between triode Q1 emitter stage and ground is different, causes the magnitude of voltage V1 of A points in Fig. 3 different, draws The magnitude of voltage V2 for entering B points in Fig. 3 makes reference, and makes Δ V=V1-V2.
S104, calculating Δ V, Δ V=V1-V2;
S105, according to Δ V judge tone frequency channel wire the other end it is whether hanging, if so, S107 is then performed, if it is not, then performing S106;
In step S105, when tone frequency channel wire other end is hanging, Δ V now is calculated0;Obviously, when tone frequency channel wire in addition When one end is connected with audio frequency apparatus, Δ V=V1-V2 should be less than Δ V0, so, according to Δ V and Δ V0Size, can determine whether out Whether tone frequency channel wire other end is hanging.
The magnitude of voltage V2 of the B points referred in the present invention refers to the DC voltage at B points, and the magnitude of voltage V1 of the A points referred to also refers to A DC voltage at point, Δ V=V1-V2 is the comparison between DC voltage, not including alternating component.
S106, MCU receive the signal of tone frequency channel wire transmission;
The signal of S107, MCU shielding tone frequency channel wire transmission;
Step S106 and S107, according to the whether hanging result of determination of the tone frequency channel wire other end, can take different replies to arrange Apply, when tone frequency channel wire other end is hanging, the signal of MCU shielding tone frequency channel wire transmission avoids tone frequency channel wire from drawing interference signal with this Enter to system.
The present invention is when tone frequency channel wire insertion detection module has detected tone frequency channel wire and has been inserted into audio terminal, MCU control biasings Voltage module turn on, tone frequency channel wire other end vacantly with not hanging two states, the resistance between bias voltage module and ground It is of different sizes, can determine whether out whether tone frequency channel wire other end hanging accordingly;Whether MCU is hanging according to tone frequency channel wire other end Judged result, makes further control, when tone frequency channel wire other end is hanging, the signal of MCU shielding tone frequency channel wire transmission, with this Avoid tone frequency channel wire that interference signal is incorporated into system.
" first ", " second ", " the 3rd ", " 4th " herein in description just for the sake of being distinguish between, not Special implication.
It is to be understood that, above-mentioned embodiment is only that presently preferred embodiments of the present invention and institute's application technology are former Reason, in technical scope disclosed in this invention, change that any one skilled in the art is readily apparent that or Replace, should all cover within the scope of the present invention.

Claims (7)

1. a kind of detection circuit for COBBAIF, it is characterised in that including:Audio terminal, tone frequency channel wire insertion detection module, Bias voltage module, resistance R1, electric capacity C1, resistance R2 and MCU;The detection pin connection tone frequency channel wire insertion detection mould of audio terminal The detection input of block, tone frequency channel wire insertion detection module detection output connection MCU, the L channel pin of audio terminal or R channel pin connection resistance R1 one end, the resistance R1 other end and the controlled end of bias voltage module, resistance R2 one end, Electric capacity C1 one end connection, resistance R2 other end ground connection, electric capacity C1 other end connection MCU, the control of bias voltage module End connection MCU.
2. a kind of detection circuit for COBBAIF according to claim 1, it is characterised in that tone frequency channel wire insertion detection Module includes resistance R7 and power supply VCC, resistance R7 one end connection power supply VCC, and the resistance R7 other end is respectively as tone frequency channel wire The detection input and tone frequency channel wire for inserting detection module insert the detection output of detection module.
3. a kind of detection circuit for COBBAIF according to claim 1, it is characterised in that biasing module includes electricity The other end for hindering R6, resistance R5, triode Q1 and power supply VCC, resistance R5 one end connection power supply VCC, resistance R5 connects three poles Pipe Q1 colelctor electrode, triode Q1 base stage connection resistance R6 one end, the resistance R6 other end is used as bias voltage module Control end, triode Q1 emitter stage connects the controlled end of bias voltage module.
4. a kind of detection circuit for COBBAIF according to claim 1, it is characterised in that also including analog-to-digital conversion Device ADC1 and analog-digital converter ADC2, analog-digital converter ADC1 between electric capacity C1 and MCU, analog-digital converter ADC2 MCU with Between triode Q1 emitter stages.
5. a kind of detection method based on any one of the claim 1-4 detection circuits, it is characterised in that including:
Tone frequency channel wire insertion detection module detects the presence of tone frequency channel wire and is inserted into audio terminal, if so, then MCU controls bias voltage module Conducting;
Gather resistance R1 and the voltage V1 and electric capacity C1 of electric capacity C1 junctions and the voltage V2 of MCU junctions;
Calculate Δ V, Δ V=V1-V2;
Judge whether the other end of tone frequency channel wire is hanging according to Δ V.
6. detection method according to claim 5, it is characterised in that it is described tone frequency channel wire is judged according to Δ V the other end be It is no hanging, include afterwards:
If the other end of tone frequency channel wire is hanging, the signal of MCU shielding tone frequency channel wire transmission;
If the other end of tone frequency channel wire is not hanging, MCU receives the signal of tone frequency channel wire transmission.
7. detection method according to claim 5, it is characterised in that the tone frequency channel wire insertion detection module detects the presence of sound Frequency line is inserted into audio terminal, is specially:
If the detection output of tone frequency channel wire insertion detection module is low level, tone frequency channel wire insertion detection module is judged as no audio Line is inserted into audio terminal;
If the detection output of tone frequency channel wire insertion detection module is high level, tone frequency channel wire insertion detection module is judged as there is audio Line is inserted into audio terminal.
CN201510559067.3A 2015-09-02 2015-09-02 A kind of detection circuit and detection method for COBBAIF Expired - Fee Related CN105067944B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510559067.3A CN105067944B (en) 2015-09-02 2015-09-02 A kind of detection circuit and detection method for COBBAIF

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510559067.3A CN105067944B (en) 2015-09-02 2015-09-02 A kind of detection circuit and detection method for COBBAIF

Publications (2)

Publication Number Publication Date
CN105067944A CN105067944A (en) 2015-11-18
CN105067944B true CN105067944B (en) 2017-10-31

Family

ID=54497360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510559067.3A Expired - Fee Related CN105067944B (en) 2015-09-02 2015-09-02 A kind of detection circuit and detection method for COBBAIF

Country Status (1)

Country Link
CN (1) CN105067944B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106771708B (en) * 2016-11-15 2020-02-14 深圳Tcl数字技术有限公司 Hot plug test method and device for interconnection power supply of master equipment and slave equipment
CN109560413B (en) * 2018-11-28 2024-02-23 联宝(合肥)电子科技有限公司 Audio interface and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477166A (en) * 2009-01-21 2009-07-08 深圳市特尔佳科技股份有限公司 Wire harness test control panel and wire harness test control method
CN102404679A (en) * 2010-09-10 2012-04-04 炬力集成电路设计有限公司 Headset detection circuit and electronic equipment
CN202310062U (en) * 2011-09-02 2012-07-04 广东欧珀移动通信有限公司 Compatible three-section earphone insertion detection circuit
CN104237716A (en) * 2013-06-07 2014-12-24 鸿富锦精密工业(深圳)有限公司 Serial connector detection system and method
CN204231639U (en) * 2014-05-13 2015-03-25 上海天奕达电子科技有限公司 A kind of earphone detecting circuit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI291621B (en) * 2005-06-29 2007-12-21 High Tech Comp Corp Cradle for connecting to portable electronic apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477166A (en) * 2009-01-21 2009-07-08 深圳市特尔佳科技股份有限公司 Wire harness test control panel and wire harness test control method
CN102404679A (en) * 2010-09-10 2012-04-04 炬力集成电路设计有限公司 Headset detection circuit and electronic equipment
CN202310062U (en) * 2011-09-02 2012-07-04 广东欧珀移动通信有限公司 Compatible three-section earphone insertion detection circuit
CN104237716A (en) * 2013-06-07 2014-12-24 鸿富锦精密工业(深圳)有限公司 Serial connector detection system and method
CN204231639U (en) * 2014-05-13 2015-03-25 上海天奕达电子科技有限公司 A kind of earphone detecting circuit

Also Published As

Publication number Publication date
CN105067944A (en) 2015-11-18

Similar Documents

Publication Publication Date Title
CN101951446B (en) It is connected to the detection of the ancillary equipment of electronic equipment via audio/video plug, identifies and operate
CN101102119B (en) A charging detection circuit of appliance device and charging detection method
CN103945317A (en) Detection method and circuit for detecting type of earphone connector
US9615168B2 (en) Adaptive method and device of audio interface and electronic signature token
CN103533281B (en) MHL identification control circuit for enhancing compatibility
US9609428B2 (en) Method and device for automatically identifying microphone pin and ground pin of audio interface and electronic signature token
CN105067944B (en) A kind of detection circuit and detection method for COBBAIF
CN103634723B (en) Audio input circuit and the electronic equipment with audio input
CN103529342A (en) Line detection device
TWI540908B (en) Multimedia output device and audio output method thereof
CN104683914B (en) Electronic equipment and earphone detection circuit, method and apparatus
CN106226647A (en) The earphone socket of a kind of electronic equipment and electronic equipment
CN204350272U (en) Universal audio adaptive device and electronic equipment
CN109769174B (en) Judging circuit and method for positive and negative terminals of MIC (microphone) of earphone and electronic equipment
CN104683915B (en) Electronic equipment and earphone detection circuit, method and apparatus
CN109698997B (en) System and method for accessory and impedance detection
CN106338937A (en) Device and method for generating output signal based on detected load resistance value
US20120093328A1 (en) Detection circuit for audio device
CN106849002B (en) Voltage protection circuit and terminal device
CN104754461B (en) A kind of matching earphone recognition methods, device and electronic equipment
CN102448006A (en) Detection circuit of audio equipment
CN106335452B (en) A kind of general mobile unit collection of simulant signal processing system
KR101614910B1 (en) Test apparatus
CN101446606A (en) Junction capacitance test circuit and method for bipolar transistor
JP2008171261A (en) Connection detection device and connection detection method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

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

Granted publication date: 20171031