WO2016123773A1 - 通讯装置 - Google Patents

通讯装置 Download PDF

Info

Publication number
WO2016123773A1
WO2016123773A1 PCT/CN2015/072294 CN2015072294W WO2016123773A1 WO 2016123773 A1 WO2016123773 A1 WO 2016123773A1 CN 2015072294 W CN2015072294 W CN 2015072294W WO 2016123773 A1 WO2016123773 A1 WO 2016123773A1
Authority
WO
WIPO (PCT)
Prior art keywords
control circuit
switch
resistor
contact
analog switch
Prior art date
Application number
PCT/CN2015/072294
Other languages
English (en)
French (fr)
Inventor
李剑
Original Assignee
深圳市吉芯微半导体有限公司
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 深圳市吉芯微半导体有限公司 filed Critical 深圳市吉芯微半导体有限公司
Publication of WO2016123773A1 publication Critical patent/WO2016123773A1/zh

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones

Definitions

  • the present invention relates to the field of device communication technologies, and in particular, to a communication device.
  • the international standard 3.5 mm interface pin connection is the left channel L-right channel R-ground GND-microphone MIC, as shown in Figure 1.
  • the pin connection of the national standard 3.5 mm interface is the left channel L-right channel R-microphone MIC-ground line GND, as shown in Figure 2.
  • a communication device such as a reader/writer
  • an international standard headphone jack is connected to the national standard earphone jack of the mobile phone
  • a communication device with a national standard headphone jack is connected to the international standard earphone jack of the mobile phone.
  • the communication device and the mobile phone will not be able to communicate, which limits the application of the communication device.
  • the main object of the present invention is to provide a communication device aimed at improving the versatility and stability of the communication device.
  • the present invention provides a communication device, which includes an earphone interface, a main control circuit, and a switching control circuit connected between the earphone interface and the main control circuit;
  • the earphone interface is used to connect a headphone jack of the smart terminal
  • the main control circuit is configured to output a control signal to the switching control circuit
  • the switching control circuit is configured to switch the conduction path according to the control signal, to switch the microphone pin and the ground pin of the earphone interface to be connected to the voltage detecting end of the main control circuit;
  • the main control circuit is further configured to detect a voltage on a microphone pin and a ground pin of the earphone interface according to a conduction path of the switching control circuit, and obtain a corresponding detection voltage, and determine, according to the detection voltage,
  • the type of the earphone socket is configured to output a load wave to the microphone pin of the earphone socket according to the determined type of the earphone socket to implement communication between the communication device and the smart terminal.
  • the conduction path of the switching control circuit includes a first path and a second path
  • the main control circuit sequentially outputs a first control signal and a second control signal having opposite phases to the switching control circuit to switch
  • the first path and the second path are turned on to switch the microphone pin and the ground pin of the earphone interface to be connected to the voltage detecting end of the main control circuit;
  • the main control circuit is in the first path
  • the voltage on the microphone pin of the earphone interface is detected by the voltage detecting end and the first detecting voltage is obtained, and the main control circuit detects the earphone interface through the voltage detecting end when the second path is turned on.
  • the main control circuit detects a size of the first detection voltage and the second detection voltage and determines a type of the earphone socket, and outputs a control signal according to the determined type of the earphone socket
  • the switching control circuit is controlled to lock the first path or the second path to conduct, and output a load wave to the microphone pin of the earphone socket.
  • the switching control circuit includes an analog switch;
  • the analog switch includes a control contact, a first fixed contact, a second fixed contact, a first movable contact, a second movable contact, and a third a movable contact and a fourth movable contact; wherein the second movable contact is coupled to the third movable contact, the first movable contact and the fourth movable contact connection;
  • a control contact of the analog switch is connected to a control signal output end of the main control circuit
  • the first fixed contact is connected to a microphone pin of the earphone interface
  • the second fixed contact is connected to the earphone
  • the ground pin is connected
  • the first movable contact is connected to the load wave output end of the main control circuit, and is connected to the voltage detecting end of the main control circuit
  • the third movable contact is grounded.
  • the switching control circuit further includes a first resistor and a second resistor; the first resistor is connected between a microphone pin of the earphone interface and a first fixed contact of the analog switch; A two resistor is connected between the ground pin of the earphone interface and the second fixed contact of the analog switch.
  • the switching control circuit further includes a first capacitor and a third resistor; one end of the first capacitor is connected to a microphone pin of the earphone interface, and is connected to a first fixed contact of the analog switch, The other end of the first capacitor is connected to a ground pin of the earphone interface and is connected to a second fixed contact of the analog switch; and the third resistor is connected in parallel with the first capacitor.
  • the main control circuit includes a microcontroller, a second capacitor, a fourth resistor, and a fifth resistor;
  • the microcontroller includes a first IO port, a load wave output pin, and a voltage detection input pin;
  • the first IO port is connected to a control contact of the analog switch, and the load wave output pin is connected to a first movable contact of the analog switch via a second capacitor and a fourth resistor, the voltage detection input A foot is coupled to the first movable contact of the analog switch and is grounded via the fifth resistor.
  • the switching control circuit further includes a first switch and a second switch; the microcontroller further includes a second IO port; a contact of the first switch and a first movable contact of the analog switch Point connection, another contact of the first switch is respectively connected to a load wave output end of the main control circuit and a voltage detecting end; a contact of the second switch and a third movable of the analog switch The contacts are connected, and the other contact of the second switch is grounded; the second IO port is respectively connected to the control contact of the first switch and the control contact of the second switch.
  • the communication device further includes a button detecting circuit
  • the button detecting circuit includes a manual button
  • the microcontroller further includes a third IO port; an output end of the button detecting circuit and the third IO port Connecting, the button detecting circuit detects a state of the manual button and outputs a detection signal to a third IO port of the microcontroller; when the microcontroller detects that the detection signal changes from a high level to a low level
  • the first IO port of the microcontroller outputs a first control signal to control the analog switch to switch the first path when the duration of the level is changed from the low level to the high level.
  • the first IO port of the microcontroller outputs a first control signal to control the analog switch to switch the second path to be turned on.
  • the button detecting circuit further includes a high level signal input end, a sixth resistor and a seventh resistor;
  • One end of the manual button is connected to the third IO port, and is connected to the high level signal input end via the sixth resistor, and the other end of the manual button is grounded via the seventh resistor; or One end of the manual button is connected to the third IO port, and is grounded via the sixth resistor, and the other end of the manual button is connected to the high level signal input end via the seventh resistor.
  • the main control circuit and the switching control circuit are integrated in an integrated circuit chip.
  • the communication device switches the conduction path according to the control signal output by the main control circuit through the switching control circuit, so as to switch the microphone pin and the ground pin of the earphone interface to the voltage detection terminal of the main control circuit.
  • the main control circuit detects the voltage on the microphone pin and the ground pin of the earphone interface according to the conduction path of the switching control circuit, and obtains a corresponding detection voltage, and determines the type of the earphone socket according to the obtained detection voltage.
  • the load wave is output to the microphone pin of the earphone socket, thereby realizing communication between the communication device and the intelligent terminal, so that the earphone socket of the smart terminal is of an international standard type or a national standard type, the earphone of the communication device
  • the interface can be matched with the earphone socket of the intelligent terminal to realize communication between the communication device and the intelligent terminal, thereby improving the versatility of the communication device, and the invention controls the switching control circuit to switch the conduction path through the output control signal of the main control circuit. To avoid misoperation of the communication device and improve the stability of the communication device Sex.
  • Figure 1 is a schematic diagram of the structure of an international standard 3.5 mm headphone jack
  • FIG. 2 is a schematic structural view of a national standard 3.5 mm headphone jack
  • FIG. 3 is a schematic structural diagram of a circuit of an embodiment of a communication device according to the present invention.
  • FIG. 4 is a schematic structural diagram of a circuit of another embodiment of a communication device according to the present invention.
  • FIG. 5 is a schematic structural diagram of a circuit according to still another embodiment of a communication apparatus according to the present invention.
  • the invention provides a communication device, which can be a reader/writer.
  • FIG. 3 is a schematic structural diagram of a circuit of an embodiment of a communication device according to the present invention.
  • the communication device of the present invention includes a headphone interface 10, a main control circuit 20, and a switching control circuit 30.
  • the switching control circuit 30 is connected between the headphone interface 10 and the main control circuit 20.
  • the earphone interface 10 is used to connect a headphone jack (not shown) of the smart terminal.
  • the main control circuit 20 is for outputting a control signal to the switching control circuit 30.
  • the switching control circuit 30 is configured to switch the conduction path according to the control signal to switch the microphone pin MIC of the headphone interface 10 and the ground pin GND to be connected to the voltage detecting end of the main control circuit 20.
  • the main control circuit 20 is further configured to detect the voltage on the microphone pin MIC of the earphone interface 10 and the ground pin GND according to the conduction path of the switching control circuit 30, and obtain a corresponding detection voltage, and determine the type of the earphone socket according to the detection voltage. And outputting a load wave to the microphone pin of the earphone socket according to the determined type of the earphone socket, so as to implement communication between the communication device and the smart terminal.
  • the main control circuit 20 and the switching control circuit 30 are integrated in an integrated circuit chip to facilitate implementation of the communication device of the present invention and improve the performance of the communication device of the present invention.
  • the main control circuit 20 and the switching control circuit 30 may also be a single peripheral circuit, which is not limited herein.
  • the communication device of the present invention takes the earphone interface 10 as an international standard earphone interface as an example.
  • the earphone interface 10 of the communication device includes a left channel pin L, a right channel pin R, and a ground pin. GND and microphone pin MIC.
  • the earphone interface 10 of the communication device of the present invention may also be a national standard earphone interface, which is not limited herein.
  • the communication device can connect to the earphone socket of the smart terminal (such as a mobile phone or an IPAD) through the earphone interface 10, and communicate with the intelligent terminal to complete reading and writing data.
  • the communication device is powered on, that is, when the user turns on the power of the communication device, the communication device is initialized, including initialization of the main control circuit 20 and the switching control circuit 30.
  • the main control circuit 20 switches to the control.
  • the circuit 30 first outputs a control signal, the control switching control circuit 30 selects a path to conduct, the main control circuit 20 outputs another control signal, and the control switching control circuit 30 selects another path to be turned on to switch the microphone lead of the earphone interface 10.
  • the pin MIC and the ground pin GND are connected to the voltage detecting terminal of the main control circuit 20.
  • the main control circuit 20 correspondingly detects the microphone pin MIC of the earphone interface 10 and the voltage on the ground pin GND according to the conduction path of the switching control circuit 30 and obtains a corresponding detection voltage, since the headphone socket of the smart terminal is normally under normal conditions.
  • the microphone pin has a voltage of 0.6-2.5V, the ground pin voltage of the earphone socket is 0V, and when the earphone interface 10 of the communication device is connected to the earphone socket of the smart terminal, the earphone interface 10 is connected with the microphone pin of the earphone socket.
  • the pin (microphone pin MIC of the headphone jack 10 or the ground pin GND) also has the same voltage, so that the earphone can be detected by detecting the microphone pin MIC of the headphone jack 10 and the voltage on the ground pin GND.
  • the position of the microphone pin and the ground pin of the socket can further determine whether the earphone jack to which the earphone interface 10 is connected is an international standard earphone jack or a national standard earphone jack.
  • the main control circuit 20 After determining the type of the earphone socket and determining the position of the microphone pin of the earphone socket, the main control circuit 20 outputs a load wave to the microphone pin of the earphone socket, so that the communication device can communicate with the intelligent terminal to complete reading and writing of data.
  • the earphone socket of the connected smart terminal of the present invention is of an international standard type or a national standard type, and the earphone interface 10 of the communication device can be matched with the earphone socket of the smart terminal, and the load wave is output to the microphone pin of the earphone socket.
  • the communication between the communication device and the intelligent terminal is realized, and the versatility of the communication device is improved.
  • the output control signal of the main control circuit 20 is controlled by the main control circuit 20 to switch the conduction path to avoid the misoperation of the communication device, thereby improving The stability of the communication device.
  • the conduction path of the switching control circuit 30 includes a first path and a second path
  • the main control circuit 20 sequentially outputs the first control signal and the second control signal having opposite phases to the switching control circuit 30 to switch the first path and
  • the second path is turned on to switch the microphone pin MIC of the earphone interface 10 and the ground pin GND to be connected to the voltage detecting end of the main control circuit 20;
  • the main control circuit 20 detects the voltage detecting end when the first path is turned on.
  • the voltage on the microphone pin MIC of the earphone interface 10 acquires the first detection voltage
  • the main control circuit 20 detects the voltage on the ground pin GND of the earphone interface 10 through the voltage detection terminal and obtains the second when the second path is turned on.
  • the main control circuit 20 detects the magnitude of the first detection voltage and the second detection voltage and determines the type of the earphone socket, and controls the switching control circuit 30 to lock the first path or the second path according to the determined earphone socket type output control signal. Pass and output the load wave to the microphone pin of the headphone jack.
  • the switching control circuit 30 includes a first path and a second path so that switching between the first path and the second path is possible, and one of the paths is selected for conduction. After initialization, the main control circuit 20 sequentially outputs the first control signal and the second control signal with opposite phases to the switching control circuit 30 to switch the first path and the second path to be turned on, thereby switching the microphone pin MIC of the earphone interface 10.
  • the ground pin GND is connected to the voltage detecting end of the main control circuit 20, for example, when the main control circuit 20 outputs the first control signal of the low level, the switching control circuit 30 turns on the first path, so that the headphone interface 10
  • the microphone pin MIC is connected to the voltage detecting end of the main control circuit 20; when the main control circuit 20 outputs the second high level control signal, the switching control circuit 30 turns on the second path to make the grounding pin of the earphone interface 10 GND is connected to the voltage detecting terminal of the main control circuit 20.
  • the main control circuit 20 detects the microphone pin MIC of the earphone interface 10 through the voltage detecting end.
  • the voltage on the first detection voltage is obtained; when the second path of the switching control circuit 30 is turned on, the ground pin GND of the earphone interface 10 is connected to the voltage detecting end of the main control circuit 20, the main control circuit 20 passes the voltage.
  • the detecting end detects the voltage on the ground pin GND of the headphone interface 10 and acquires a second detection voltage.
  • the ground pin voltage of the earphone socket of the smart terminal is not exactly 0V in actual application, there may be a small voltage (such as 0.1V), and the earphone interface 10 is not connected to the earphone socket or the connection is unstable, The microphone pin MIC of the headphone jack 10 and the voltage on the ground pin GND are not detected, or a small voltage (such as 0.1V) may be detected.
  • the main control circuit 20 determines The earphone interface 10 of the communication device is not connected to the earphone socket of the smart terminal, and the main control circuit 20 will continue to switch and output the first control signal and the second control signal, so that the first path and the second path are switched on, and the main control circuit 20 continues.
  • a predetermined voltage value eg, 0.2V
  • the main control circuit 20 determines that the earphone socket is an international standard earphone socket, and outputs The first control signal locks the first path of the switching control circuit 30 to be turned on, and outputs a load wave to the microphone pin of the earphone socket; when the absolute value of the difference between the first detection voltage and the second detection voltage is greater than the preset voltage value, When the first detection voltage is less than the second detection voltage, the main control circuit 20 determines that the earphone socket is a national standard earphone socket, and outputs a second control signal to lock the second path of the switching control circuit 30 to be turned on, and outputs a load wave to the earphone socket.
  • the earphone interface 10 can be matched with the earphone socket, and the load wave outputted by the main control circuit 20 can be passed through the microphone pin MIC of the earphone interface 10. Or the ground pin GND is output to the microphone pin of the earphone socket to realize communication between the communication device and the intelligent terminal.
  • the switching control circuit 30 includes an analog switch SW.
  • the analog switch SW includes a control contact, a first fixed contact A0, a second fixed contact B0, a first movable contact A1, and a second movable contact. a point B1, a third movable contact A2 and a fourth movable contact B2; wherein the second movable contact B1 is connected to the third movable contact A2, the first movable contact A1 and the fourth movable contact Contact B2 is connected.
  • the control contact of the analog switch SW is connected to the control signal output end of the main control circuit 20, the first fixed contact A0 is connected to the microphone pin MIC of the earphone interface 10, and the ground connection of the second fixed contact B0 and the earphone interface 10
  • the foot GND is connected, the first movable contact A1 is connected to the load wave output end of the main control circuit 20, and is connected to the voltage detecting end of the main control circuit 20, and the third movable contact A2 is grounded.
  • the first fixed contact A0 of the analog switch SW is connected to the first movable contact A1, and the second fixed contact B0 and the third movable contact A2 are connected to form a first path
  • the first switch of the analog switch SW A fixed contact A0 is connected to the second movable contact B1
  • a second fixed contact B0 is connected to the fourth movable contact B2 to form a second path
  • the analog switch SW can be turned on in one of the initial states by default.
  • the first fixed contact A0 of the analog switch SW is initially connected to the first movable contact A1, and the second fixed contact B0 is connected.
  • the three movable contacts A2 are connected.
  • the switching control circuit 30 further includes a first resistor R1 and a second resistor R2; the first resistor R1 is connected between the microphone pin MIC of the headphone interface 10 and the first fixed contact A0 of the analog switch SW; R2 is connected between the ground pin GND of the headphone jack 10 and the second fixed contact B0 of the analog switch SW.
  • the first resistor R1 and the second resistor R2 are current limiting resistors for limiting the current flowing into the analog switch SW to prevent the analog switch SW from being damaged due to excessive current.
  • the switching control circuit 30 further includes a first capacitor C1 and a third resistor R3; one end of the first capacitor C1 is connected to the microphone pin MIC of the headphone interface 10, and is connected to the first fixed contact A0 of the analog switch SW, The other end of the first capacitor C1 is connected to the ground pin GND of the headphone interface 10, and is connected to the second fixed contact B0 of the analog switch SW; the third resistor R3 is connected in parallel with the first capacitor C1.
  • the first capacitor C1 and the third resistor R3 constitute a stabilizing circuit for filtering the interference to stabilize the voltage of the microphone pin of the earphone jack to the headphone interface 10, and the headphone interface 10 and the analog switch SW The impedance matches between.
  • the first capacitor C1 and the third resistor R3 filter out interference to stabilize the voltage of the microphone pin of the earphone socket to the headphone interface 10, that is, the voltage detection input pin ADC that stabilizes the analog switch SW input to the microcontroller U1.
  • the voltage is such that the voltage detected by the microcontroller U1 is stable.
  • the main control circuit 20 includes a microcontroller U1, a second capacitor C2, a fourth resistor R4, and a fifth resistor R5.
  • the microcontroller U1 includes a first IO port IO1, a load wave output pin WAVE, and a voltage detection. Input pin ADC.
  • the first IO port IO1 is a control signal output end of the main control circuit 20
  • the load wave output pin WAVE is used as a load wave output end of the main control circuit 20
  • the voltage detection input pin ADC is used as a voltage detecting end of the main control circuit 20.
  • the first IO port IO1 is connected to the control contact of the analog switch SW, and the load wave output pin WAVE is connected to the first movable contact A1 of the analog switch SW via the second capacitor C2 and the fourth resistor R4, and the voltage detection input pin ADC and The first movable contact A1 of the analog switch SW is connected and grounded via the fifth resistor R5.
  • the load wave output pin WAVE and the voltage detection input pin ADC of the microcontroller U1 are connected to the headphone interface 10 through the analog switch SW, so that the microcontroller U1 can detect the microphone pin MIC and the ground line of the headphone interface 10 through the voltage detection input pin ADC.
  • the voltage on the pin GND, the microcontroller U1 can output the load wave to the microphone pin of the headphone jack through the load wave output pin WAVE.
  • the second capacitor C2 and the fourth resistor R4 are load wave output loads, and the load wave outputted by the microcontroller U1 is output to the microphone pin of the earphone socket via the second capacitor C2 and the fourth resistor R4, and the second capacitor C2 is a DC blocking capacitor. To avoid interference caused by the microphone pin voltage input of the headphone jack to the load wave output pin WAVE.
  • the fifth resistor R5 is used as a pull-down resistor.
  • the fifth resistor R5 turns the voltage of the microcontroller U1.
  • the detection input pin ADC is pulled low.
  • the switching control circuit 30 further includes a first switch S1 and a second switch S2; the microcontroller U1 further includes a second IO port IO2; a contact of the first switch S1 and a first movable contact of the analog switch SW A1 is connected, and the other contact of the first switch S1 is respectively connected to the load wave output end of the main control circuit 20 and the voltage detecting end, that is, in FIG. 3, the other contact of the first switch S1 is connected to the voltage detecting input pin ADC.
  • one contact of the second switch S2 is connected to the third movable contact A2 of the analog switch SW, and the second switch The other contact of S2 is grounded; the second IO port IO2 is connected to the control contact of the first switch S1 and the control contact of the second switch S2, respectively.
  • the microcontroller U1 can control the first switch S1 and the second switch S2 to be disconnected through the second IO port IO2 output control signal, so that the analog switch SW is in a high-impedance state, avoiding the initialization process of the communication device. There is signal interference.
  • FIG. 4 is a schematic structural diagram of a circuit of another embodiment of a communication device according to the present invention.
  • the communication device of the present invention further includes a button detecting circuit 40.
  • the button detecting circuit 40 includes a manual button K1.
  • the microcontroller U1 further includes a third IO port IO3.
  • the output of the button detecting circuit 40 The terminal is connected to the third IO port IO3, the button detecting circuit 40 detects the state of the manual button K1 and outputs a detection signal to the third IO port IO3 of the microcontroller U1; when the microcontroller U1 detects that the detection signal changes from a high level When the low level or the duration from low level to high level reaches the first preset switching time (such as 3s), the first IO port IO1 of the microcontroller U1 outputs the first control signal to control the analog switch SW switching.
  • the first preset switching time such as 3s
  • the first path is turned on; when the microcontroller U1 detects that the detection signal changes from a high level to a low level, or a low level to a high level, the duration reaches a second preset switching time (eg, 6s)
  • the first IO port of the microcontroller U1 outputs a first control signal to control the analog switch SW to switch the second path to be turned on.
  • the communication device of the present invention can automatically enter the process of detecting the type of the earphone socket.
  • the user can press the manual button to select the conduction path of the switching control circuit 30 to match the earphone interface 10 with the earphone socket.
  • the manual switch can be manually pressed as needed to switch the analog switch SW channel, so that the earphone interface 10 is Adapt to the headset socket you want to connect.
  • the analog switch SW when the user knows that the earphone interface 10 is of the international standard type, and the earphone socket is of the national standard type, and in the initial state, the analog switch SW is turned on, the microphone pin of the earphone interface 10 is connected to the voltage detection input of the microcontroller U1.
  • the path of the foot ADC and the load wave output pin WAVE At this time, in order to match the earphone socket, the ground pin GND of the earphone interface 10 needs to be used as a microphone pin, so that the manual button can be pressed to the preset switching time to switch the analog switch.
  • the conduction path of the SW causes the analog switch SW to conduct the ground pin GND of the headphone interface 10 and the load wave output pin WAVE path of the microcontroller U1.
  • the button detection circuit further includes a high level signal input terminal VCC, a sixth resistor R6, and a seventh resistor R7.
  • one end of the manual button K1 is connected to the third IO port IO3, and is connected to the high level signal input terminal VCC via the sixth resistor R6, and the other end of the manual button K1 is grounded via the seventh resistor R7.
  • FIG. 5 is a schematic structural diagram of a circuit according to still another embodiment of a communication device according to the present invention.
  • one end of the manual button K1 is connected to the third IO port IO3, and is grounded via the sixth resistor R6, and the other button of the manual button K1.
  • One end is connected to the high level signal input terminal VCC via the seventh resistor R7.
  • the analog switch SW is controlled to turn on the first fixed contact A0 and the first Moving the contact A1, and turning on the second fixed contact B0 and the third movable contact A2, when the first IO port IO1 of the microcontroller U1 outputs a second high level control signal, that is, the first IO port IO1 When set to 1, the analog switch SW is controlled to turn on the first fixed contact A0 and the second movable contact B1, and to turn on the second fixed contact B0 and the fourth movable contact B2.
  • the first IO port IO1 of the microcontroller U1 outputs a low level first control signal to the control switch of the analog switch SW, and controls the analog switch SW to turn on the first fixed contact A0 and the first
  • the movable contact A1 is turned on, and the second fixed contact B0 and the third movable contact A2 are turned on.
  • the microcontroller U1 outputs a control signal (such as a high level signal) through the second IO port IO2 to control the first switch S1 and the second switch S2 to be disconnected, so that the analog switch SW is in a high impedance state.
  • the microcontroller U1 outputs another control signal (such as a low level signal) through the second IO port IO2 to control the first switch S1 and the second switch S2 to be closed, so that the earphone interface 10 passes the analog switch SW and The microcontroller U1 is turned on.
  • the headphone interface 10 as an international standard headphone interface as an example, when the first IO port IO1 of the microcontroller U1 first outputs a low level first control signal, the first fixed contact A0 of the analog switch SW is first movable. The contact A1 is turned on, and the second fixed contact B0 is connected to the third movable contact A2.
  • the microphone pin MIC of the earphone interface 10 passes through the first resistor R1, the first fixed contact A0, and the first The movable contact A1 and the first switch S1 are connected to the voltage detection input pin ADC of the microcontroller U1, and the ground pin GND of the earphone interface 10 passes through the second resistor R2, the second fixed contact B0, and the third movable The contact A2 and the second switch S2 are grounded, and the microcontroller U1 performs AD detection on the voltage on the microphone pin MIC of the earphone interface 10 through the voltage detection input pin ADC to obtain the first detection voltage.
  • the first fixed contact A0 of the analog switch SW is connected to the second movable contact B1, and the second fixed contact The point B0 is connected to the fourth movable contact B2.
  • the microphone pin MIC of the earphone interface 10 is grounded through the first resistor R1, the first fixed contact A0, the second movable contact B1, and the second switch S2.
  • the ground pin GND of the earphone interface 10 passes through the second resistor R2, the second fixed contact B0, the fourth movable contact B2, the first switch S1 and the voltage detection input pin ADC of the microcontroller U1 is turned on, micro The controller U1 performs AD detection on the voltage on the ground pin GND of the earphone interface 10 through the voltage detection input pin ADC to obtain a second detection voltage.
  • the microphone pin MIC of the earphone interface 10 is explained at this time. Connect the microphone pin of the earphone socket, and the ground pin GND of the earphone interface 10 is connected to the ground pin of the earphone socket, and the earphone interface 10 is correctly connected with the earphone socket, that is, the earphone interface 10 and the earphone socket are matched, thereby determining the time.
  • the earphone jack connected to the earphone interface 10 is an international standard earphone jack.
  • the first fixed contact A0 and the first movable contact A1 of the analog switch SW need to be turned on, and the second fixed contact B0 and the third can be turned on.
  • Moving contact A2 As can be seen from the above, when the pin voltage of the earphone interface 10 is detected for the second time, the first fixed contact A0 and the second movable contact B1 of the analog switch SW are turned on, and the second fixed contact B0 and the fourth can be The movable contact B2 is turned on, so that the conduction path of the analog switch SW needs to be switched at this time.
  • the first IO port IO1 of the microcontroller U1 is switched to the control of outputting the first control signal of the low level to the analog switch SW.
  • the contact, the control analog switch SW is switched such that the first fixed contact A0 is connected to the first movable contact A1, and the second fixed contact B0 is connected to the third movable contact A2, and the analog switch SW is controlled to be locked.
  • the first fixed contact A0 is connected to the first movable contact A1, and the second fixed contact B0 and the third movable contact A2 are turned on.
  • the microcontroller U1 can pass the load wave output pin.
  • the WAVE outputs a load wave, and the load wave passes through the fourth resistor R4, the second capacitor C2, the first switch S1, the first movable contact A1, the first fixed contact A0, the first resistor R1, and the microphone of the earphone interface 10.
  • the pin MIC is output to the microphone pin of the earphone socket to realize communication between the communication device and the intelligent terminal.
  • the microphone pin MIC of the earphone interface 10 is explained at this time.
  • Connect the grounding pin of the earphone socket, and the grounding pin GND of the earphone interface 10 is connected to the microphone pin of the earphone socket, and the earphone interface 10 and the earphone socket are not connected correctly, that is, the earphone interface 10 and the earphone socket do not match, thereby determining At this time, the earphone socket connected to the earphone interface 10 is a national standard earphone socket.
  • the conduction path of the analog switch SW can be switched, that is, the first fixed contact A0 and the second movable contact B1 of the analog switch SW are switched on, and are turned on.
  • the first fixed contact A0 and the second movable contact B1 of the analog switch SW are turned on, and the second fixed contact B0 and the fourth can be The movable contact B2 is turned on, so that it is not necessary to switch the conduction path of the analog switch SW at this time.
  • the first IO port IO1 of the microcontroller U1 continuously outputs the second control signal of the high level to the control of the analog switch SW.
  • the control analog switch SW continuously turns on the first fixed contact A0 and the second movable contact B1, and turns on the second fixed contact B0 and the fourth movable contact B2, and controls the analog switch SW to be locked in
  • the first fixed contact A0 and the second movable contact B1 are turned on, and the second fixed contact B0 and the fourth movable contact B2 are turned on.
  • the microcontroller U1 can pass the load wave output pin WAVE.
  • the load wave is output, and the load wave passes through the ground of the fourth resistor R4, the second capacitor C2, the first switch S1, the fourth movable contact B2, the second fixed contact B0, the second resistor R2, and the earphone interface 10.
  • the pin GND is output to the microphone pin of the earphone socket, that is, the ground pin GND of the earphone interface 10 is used as a microphone pin at this time. Achieve Newsletter device and intelligent terminal.
  • the high level signal input by the high level signal input terminal VCC is input to the third IO port IO3 of the microcontroller U1 via the sixth resistor R6.
  • the controller U1 detects that the detection signal at the third IO port IO3 is at a high level, which is consistent with the preset initial state, thereby determining that the manual button K1 is in the off state at this time, and the microcontroller U1 does not operate at this time.
  • the third IO port IO3 of the microcontroller U1 is equivalent to being connected to the ground through the seventh resistor R7.
  • the microcontroller U1 detects that the detection signal at the third IO port IO3 is high. Leveling to a low level, and when the microcontroller U1 detects that the detection signal at the third IO port IO3 changes from a high level to a low level until the first preset switching time
  • the microcontroller U1 outputs a first control signal through the first IO port IO1 to control the analog switch SW to switch the first path to be turned on.
  • the microcontroller U1 When the microcontroller U1 detects that the third IO port IO3 changes from a high level to a low level, When the duration reaches the second preset switching time (for example, 6s), the microcontroller U1 outputs the second control signal through the first IO port IO1 to control the analog switch SW to switch the second path to be turned on.
  • the second preset switching time for example, 6s
  • the microcontroller U1 detects that the detection signal at the third IO port IO3 is low due to the pull-down effect of the sixth resistor, and the preset initial The state matches, thereby determining that the manual button K1 is in the off state at this time, and the microcontroller U1 does not operate at this time.
  • the manual button K1 is pressed, the high level signal input by the high level signal input terminal VCC is input to the third IO port IO3 of the microcontroller U1 via the seventh resistor R7, and the microcontroller U1 detects the third time.
  • the detection signal at the IO port IO3 changes from a low level to a high level, and reaches a first time when the microcontroller U1 detects that the detection signal at the third IO port IO3 changes from a low level to a high level.
  • the microcontroller U1 When the preset switching time
  • the second preset switching time for example, 6s

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Telephone Function (AREA)
  • Headphones And Earphones (AREA)

Abstract

本发明公开了一种通讯装置,该通讯装置包括耳机接口、主控电路,以及连接于耳机接口和主控电路之间的切换控制电路。耳机接口用于连接智能终端的耳机插座;主控电路用于向切换控制电路输出控制信号;切换控制电路用于根据主控电路输出的控制信号切换导通通路,以切换耳机接口的麦克风引脚和地线引脚与主控电路的电压检测端接通;主控电路还用于根据切换控制电路的导通通路相应检测耳机接口的麦克风引脚和地线引脚上的电压并获取相应的检测电压,根据检测电压确定耳机插座的类型,根据所确定的耳机插座类型输出负载波至耳机插座的麦克风引脚,以实现通讯装置与智能终端之间的通讯。本发明提高了通讯装置的通用性和稳定性。

Description

通讯装置
技术领域
本发明涉及设备通讯技术领域,尤其涉及一种通讯装置。
背景技术
目前国际上通用的手机耳机接口标准有两个,一个是国家标准(OMTP),另一个是国际标准(CTIA)。国际标准的3.5毫米接口的插针接法是左声道L-右声道R-地线GND-麦克风MIC,如图1所示。国家标准的3.5毫米接口的插针接法是左声道L-右声道R-麦克风MIC-地线GND,如图2所示。通常情况下,若把国际标准的耳机接到国家标准的耳机插座上,或者把国家标准的耳机接到国际标准的耳机插座上,则耳机将不能正常输出声音。相应地,若把带有国际标准耳机接口的通讯装置(如读写器)接到手机的国家标准耳机插座上,或者把带有国家标准耳机接口的通讯装置接到手机的国际标准耳机插座上,则通讯装置与手机将不能通讯,这限制了通讯装置的应用。
发明内容
本发明的主要目的在于提供一种通讯装置,旨在提高通讯装置的通用性和稳定性。
为了达到上述目的,本发明提供一种通讯装置,所述通讯装置包括耳机接口、主控电路,以及连接于所述耳机接口和主控电路之间的切换控制电路;
所述耳机接口用于连接智能终端的耳机插座;
所述主控电路用于向所述切换控制电路输出控制信号;
所述切换控制电路用于根据所述控制信号切换导通通路,以切换所述耳机接口的麦克风引脚和地线引脚与所述主控电路的电压检测端接通;
所述主控电路还用于根据所述切换控制电路的导通通路相应检测所述耳机接口的麦克风引脚和地线引脚上的电压并获取相应的检测电压,根据所述检测电压确定所述耳机插座的类型,根据所确定的耳机插座类型输出负载波至所述耳机插座的麦克风引脚,以实现所述通讯装置与智能终端之间的通讯。
优选地,所述切换控制电路的导通通路包括第一通路和第二通路,所述主控电路依次输出相位相反的第一控制信号和第二控制信号至所述切换控制电路,以切换所述第一通路和第二通路导通,以切换所述耳机接口的麦克风引脚和地线引脚与所述主控电路的电压检测端接通;所述主控电路在所述第一通路导通时通过电压检测端检测所述耳机接口的麦克风引脚上的电压并获取第一检测电压,所述主控电路在所述第二通路导通时通过电压检测端检测所述耳机接口的地线引脚上的电压并获取第二检测电压,所述主控电路检测第一检测电压和第二检测电压的大小并确定所述耳机插座的类型,根据所确定的耳机插座类型输出控制信号控制所述切换控制电路锁定第一通路或第二通路导通,并输出负载波至所述耳机插座的麦克风引脚。
优选地,所述切换控制电路包括一模拟开关;所述模拟开关包括控制触点、第一固定触点、第二固定触点、第一可动触点、第二可动触点、第三可动触点和第四可动触点;其中,所述第二可动触点与所述第三可动触点连接,所述第一可动触点与所述第四可动触点连接;
所述模拟开关的控制触点与主控电路的控制信号输出端连接,所述第一固定触点与所述耳机接口的麦克风引脚连接,所述第二固定触点与所述耳机接口的地线引脚连接,所述第一可动触点与所述主控电路的负载波输出端连接,且与所述主控电路的电压检测端连接,所述第三可动触点接地。
优选地,所述切换控制电路还包括第一电阻和第二电阻;所述第一电阻连接于所述耳机接口的麦克风引脚和所述模拟开关的第一固定触点之间;所述第二电阻连接于所述耳机接口的地线引脚和所述模拟开关的第二固定触点之间。
优选地,所述切换控制电路还包括第一电容和第三电阻;所述第一电容的一端与所述耳机接口的麦克风引脚连接,且与所述模拟开关的第一固定触点连接,所述第一电容的另一端所述耳机接口的地线引脚连接,且与所述模拟开关的第二固定触点连接;所述第三电阻与所述第一电容并联。
优选地,所述主控电路包括微控制器、第二电容、第四电阻和第五电阻;所述微控制器包括第一IO口、负载波输出脚和电压检测输入脚;
所述第一IO口与所述模拟开关的控制触点连接,所述负载波输出脚经由第二电容、第四电阻与所述模拟开关的第一可动触点连接,所述电压检测输入脚与所述模拟开关的第一可动触点连接,且经由所述第五电阻接地。
优选地,所述切换控制电路还包括第一开关和第二开关;所述微控制器还包括第二IO口;所述第一开关的一触点与所述模拟开关的第一可动触点连接,所述第一开关的另一触点分别与所述主控电路的负载波输出端和电压检测端连接;所述第二开关的一触点与所述模拟开关的第三可动触点连接,所述第二开关的另一触点接地;所述第二IO口分别与所述第一开关的控制触点和第二开关的控制触点连接。
优选地,所述通讯装置还包括按键检测电路,所述按键检测电路包括一手动按键,所述微控制器还包括第三IO口;所述按键检测电路的输出端与所述第三IO口连接,所述按键检测电路检测所述手动按键的状态并输出检测信号至所述微控制器的第三IO口;当所述微控制器检测到所述检测信号由高电平变为低电平,或者由低电平变为高电平后的持续时间达到第一预设切换时间时,所述微控制器所述第一IO口输出第一控制信号控制所述模拟开关切换第一通路导通;当所述微控制器检测到所述检测信号由高电平变为低电平,或者由低电平变为高电平后的持续时间达到第二预设切换时间时,所述微控制器所述第一IO口输出第一控制信号控制所述模拟开关切换第二通路导通。
优选地,所述按键检测电路还包括一高电平信号输入端、第六电阻和第七电阻;
所述手动按键的一端与所述第三IO口连接,且经由所述第六电阻与所述高电平信号输入端连接,所述手动按键的另一端经由所述第七电阻接地;或者,所述手动按键的一端与所述第三IO口连接,且经由所述第六电阻接地,所述手动按键的另一端经由所述第七电阻与所述高电平信号输入端连接。
优选地,所述主控电路和切换控制电路集成于一集成电路芯片中。
本发明提供的通讯装置,通过切换控制电路根据主控电路输出的控制信号切换导通通路,以切换所述耳机接口的麦克风引脚和地线引脚与所述主控电路的电压检测端接通,主控电路根据切换控制电路的导通通路相应检测所述耳机接口的麦克风引脚和地线引脚上的电压并获取相应的检测电压,根据所获取的检测电压确定耳机插座的类型,根据所确定的耳机插座类型输出负载波至耳机插座的麦克风引脚,实现了通讯装置与智能终端之间的通讯,从而无论智能终端的耳机插座为国际标准类型还是国家标准类型,通讯装置的耳机接口都能够与智能终端的耳机插座匹配,实现通讯装置与智能终端之间的通讯,提高了通讯装置的通用性,而且本发明通过主控电路输出控制信号控制切换控制电路进行导通通路的切换,避免通讯装置误操作,能够提高通讯装置的稳定性。
附图说明
图1为国际标准的3.5毫米耳机接口的结构示意图;
图2为国家标准的3.5毫米耳机接口的结构示意图;
图3为本发明通讯装置一实施例的电路结构示意图;
图4为本发明通讯装置另一实施例的电路结构示意图;
图5为本发明通讯装置又一实施例的电路结构示意图。
本发明的目的、功能特点及优点的实现,将结合实施例,并参照附图作进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明提供一种通讯装置,该通讯装置可以是读写器。
参照图3,图3为本发明通讯装置一实施例的电路结构示意图。
本发明较佳实施例中,本发明的通讯装置包括耳机接口10、主控电路20和切换控制电路30,切换控制电路30连接于耳机接口10和主控电路20之间。
耳机接口10用于连接智能终端的耳机插座(图未示)。
主控电路20用于向切换控制电路30输出控制信号。
切换控制电路30用于根据控制信号切换导通通路,以切换耳机接口10的麦克风引脚MIC和地线引脚GND与主控电路20的电压检测端接通。
主控电路20还用于根据切换控制电路30的导通通路相应检测耳机接口10的麦克风引脚MIC和地线引脚GND上的电压并获取相应的检测电压,根据检测电压确定耳机插座的类型,根据所确定的耳机插座类型输出负载波至耳机插座的麦克风引脚,以实现通讯装置与智能终端之间的通讯。
本发明的通讯装置优选地,主控电路20和切换控制电路30集成于一集成电路芯片中,便于实现本发明的通讯装置,提高本发明通讯装置的性能。当然,主控电路20和切换控制电路30也可以是单个***电路,在此不作限制。
本发明通讯装置以耳机接口10为国际标准耳机接口为例进行说明,即如图3所示,通讯装置的耳机接口10包括左声道引脚L、右声道引脚R、地线引脚GND和麦克风引脚MIC。本领域技术人员应当理解,本发明通讯装置的耳机接口10也可以是国家标准耳机接口,在此不作限制。
在本实施例中,通讯装置可通过耳机接口10连接智能终端(如手机、IPAD)的耳机插座,与智能终端进行通讯,完成数据的读写。当通讯装置上电,即用户打开通讯装置电源时,通讯装置初始化,包括主控电路20和切换控制电路30的初始化,主控电路20和切换控制电路30初始化后,主控电路20向切换控制电路30先输出一控制信号,控制切换控制电路30选择一通路导通,主控电路20再输出另一控制信号,控制切换控制电路30选择另一通路导通,以切换耳机接口10的麦克风引脚MIC和地线引脚GND与主控电路20的电压检测端接通。
主控电路20根据切换控制电路30的导通通路相应检测耳机接口10的麦克风引脚MIC和地线引脚GND上的电压并获取相应的检测电压,由于正常情况下,智能终端的耳机插座的麦克风引脚有0.6-2.5V的电压,耳机插座的地线引脚电压为0V,而且当通讯装置的耳机接口10连接智能终端的耳机插座时,耳机接口10与耳机插座的麦克风引脚连接的引脚(耳机接口10的麦克风引脚MIC或地线引脚GND)也会存在相同的电压,从而通过检测耳机接口10的麦克风引脚MIC和地线引脚GND上的电压即可检测出耳机插座的麦克风引脚和地线引脚的位置,进而可确定耳机接口10所连接的耳机插座为国际标准耳机插座还是国家标准耳机插座。
在确定耳机插座的类型,确定耳机插座的麦克风引脚的位置后,主控电路20输出负载波至耳机插座的麦克风引脚,使得通讯装置可与智能终端进行通讯,完成数据的读写。
本发明通讯装置的无论所连接的智能终端的耳机插座为国际标准类型还是国家标准类型,通讯装置的耳机接口10都能够与智能终端的耳机插座匹配,输出负载波至耳机插座的麦克风引脚,实现通讯装置与智能终端之间的通讯,提高了通讯装置的通用性,而且本发明通过主控电路20输出控制信号控制切换控制电路30进行导通通路的切换,避免通讯装置误操作,能够提高通讯装置的稳定性。
具体地,切换控制电路30的导通通路包括第一通路和第二通路,主控电路20依次输出相位相反的第一控制信号和第二控制信号至切换控制电路30,以切换第一通路和第二通路导通,以切换耳机接口10的麦克风引脚MIC和地线引脚GND与主控电路20的电压检测端接通;主控电路20在第一通路导通时通过电压检测端检测耳机接口10的麦克风引脚MIC上的电压并获取第一检测电压,主控电路20在第二通路导通时通过电压检测端检测耳机接口10的地线引脚GND上的电压并获取第二检测电压,主控电路20检测第一检测电压和第二检测电压的大小并确定耳机插座的类型,根据所确定的耳机插座类型输出控制信号控制切换控制电路30锁定第一通路或第二通路导通,并输出负载波至耳机插座的麦克风引脚。
切换控制电路30包括第一通路和第二通路,从而可在第一通路和第二通路之间进行切换,选择其中一通路进行导通。在初始化后,主控电路20依次输出相位相反的第一控制信号和第二控制信号至切换控制电路30,以切换第一通路和第二通路导通,进而切换耳机接口10的麦克风引脚MIC和地线引脚GND与主控电路20的电压检测端接通,例如,主控电路20输出低电平的第一控制信号时,切换控制电路30导通第一通路,使耳机接口10的麦克风引脚MIC与主控电路20的电压检测端接通;主控电路20输出高电平的第二控制信号时,切换控制电路30导通第二通路,使耳机接口10的地线引脚GND与主控电路20的电压检测端接通。
当切换控制电路30的第一通路导通,耳机接口10的麦克风引脚MIC与主控电路20的电压检测端接通时,主控电路20通过电压检测端检测耳机接口10的麦克风引脚MIC上的电压并获取第一检测电压;当切换控制电路30的第二通路导通,耳机接口10的地线引脚GND与主控电路20的电压检测端接通时,主控电路20通过电压检测端检测耳机接口10的地线引脚GND上的电压并获取第二检测电压。
由于实际应用中智能终端的耳机插座的地线引脚电压不是精确为0V,可能存在一个很小的电压(如0.1V),而且耳机接口10没有与耳机插座进行连接或连接不稳定时,将检测不到耳机接口10的麦克风引脚MIC和地线引脚GND上的电压,或者可能检测到很小的电压(如0.1V)。从而在主控电路20检测第一检测电压和第二检测电压的大小过程中,当第一检测电压与第二检测电压之差的绝对值小于一预设电压值(如0.2V)时,确定通讯装置的耳机接口10没有与智能终端的耳机插座连接,主控电路20将继续切换输出第一控制信号和第二控制信号,使第一通路和第二通路切换导通,主控电路20继续检测耳机接口10的麦克风引脚MIC和地线引脚GND上的电压;当第一检测电压与第二检测电压之差的绝对值大于上述预设电压值时,确定通讯装置的耳机接口10与智能终端的耳机插座连接。
当检测到第一检测电压与第二检测电压之差的绝对值大于上述预设电压值,且第一检测电压大于第二检测电压时,主控电路20确定耳机插座为国际标准耳机插座,输出第一控制信号锁定切换控制电路30的第一通路导通,并输出负载波至耳机插座的麦克风引脚;当第一检测电压与第二检测电压之差的绝对值大于上述预设电压值,且第一检测电压小于第二检测电压时,主控电路20确定耳机插座为国家标准耳机插座,输出第二控制信号锁定切换控制电路30的第二通路导通,并输出负载波至耳机插座的麦克风引脚。从而,无论耳机接口10连接的耳机插座为国际标准类型还是国家标准类型,都能够使得耳机接口10与耳机插座匹配,确保主控电路20输出的负载波都能够通过耳机接口10的麦克风引脚MIC或地线引脚GND输出至耳机插座的麦克风引脚,实现通讯装置与智能终端之间的通讯。
如图3所示,切换控制电路30包括模拟开关SW;模拟开关SW包括控制触点、第一固定触点A0、第二固定触点B0、第一可动触点A1、第二可动触点B1、第三可动触点A2和第四可动触点B2;其中,第二可动触点B1与第三可动触点A2连接,第一可动触点A1与第四可动触点B2连接。
模拟开关SW的控制触点与主控电路20的控制信号输出端连接,第一固定触点A0与耳机接口10的麦克风引脚MIC连接,第二固定触点B0与耳机接口10的地线引脚GND连接,第一可动触点A1与主控电路20的负载波输出端连接,且与主控电路20的电压检测端连接,第三可动触点A2接地。
本实施例设定模拟开关SW的第一固定触点A0与第一可动触点A1连接,第二固定触点B0与第三可动触点A2连接构成第一通路,模拟开关SW的第一固定触点A0与第二可动触点B1连接,第二固定触点B0与第四可动触点B2连接构成第二通路。根据实际需求可默认模拟开关SW在初始状态下导通其中一通路,例如,初始时模拟开关SW的第一固定触点A0与第一可动触点A1连接,第二固定触点B0与第三可动触点A2连接。
具体地,切换控制电路30还包括第一电阻R1和第二电阻R2;第一电阻R1连接于耳机接口10的麦克风引脚MIC和模拟开关SW的第一固定触点A0之间;第二电阻R2连接于耳机接口10的地线引脚GND和模拟开关SW的第二固定触点B0之间。
第一电阻R1和第二电阻R2为限流电阻,用于限制流入模拟开关SW的电流,避免模拟开关SW由于电流过大而损坏。
具体地,切换控制电路30还包括第一电容C1和第三电阻R3;第一电容C1的一端与耳机接口10的麦克风引脚MIC连接,且与模拟开关SW的第一固定触点A0连接,第一电容C1的另一端耳机接口10的地线引脚GND连接,且与模拟开关SW的第二固定触点B0连接;第三电阻R3与第一电容C1并联。
本实施例中,第一电容C1和第三电阻R3构成一稳定电路,用于滤除干扰以稳定耳机插座的麦克风引脚接入到耳机接口10的电压,且使得耳机接口10和模拟开关SW之间阻抗匹配。
本实施例通过第一电容C1和第三电阻R3滤除干扰来稳定耳机插座的麦克风引脚接入到耳机接口10的电压,即稳定模拟开关SW输入到微控制器U1的电压检测输入脚ADC的电压,使得微控制器U1检测到的电压稳定。
如图3所示,主控电路20包括微控制器U1、第二电容C2、第四电阻R4和第五电阻R5;微控制器U1包括第一IO口IO1、负载波输出脚WAVE和电压检测输入脚ADC。其中,第一IO口IO1为主控电路20的控制信号输出端,负载波输出脚WAVE作为主控电路20的负载波输出端,电压检测输入脚ADC作为主控电路20的电压检测端。
第一IO口IO1与模拟开关SW的控制触点连接,负载波输出脚WAVE经由第二电容C2、第四电阻R4与模拟开关SW的第一可动触点A1连接,电压检测输入脚ADC与模拟开关SW的第一可动触点A1连接,且经由第五电阻R5接地。
微控制器U1的负载波输出脚WAVE和电压检测输入脚ADC通过模拟开关SW连接到耳机接口10,从而微控制器U1可通过电压检测输入脚ADC检测耳机接口10的麦克风引脚MIC和地线引脚GND上的电压,微控制器U1可通过负载波输出脚WAVE输出负载波至耳机插座的麦克风引脚。
第二电容C2、第四电阻R4为负载波输出负载,微控制器U1输出的负载波经第二电容C2、第四电阻R4输出至耳机插座的麦克风引脚,第二电容C2为隔直电容,避免耳机插座的麦克风引脚电压输入到负载波输出脚WAVE造成干扰。
第五电阻R5作为下拉电阻,当耳机接口10的麦克风引脚MIC和地线引脚GND不与微控制器U1的电压检测输入脚ADC接通时,第五电阻R5将微控制器U1的电压检测输入脚ADC拉低。
具体地,切换控制电路30还包括第一开关S1和第二开关S2;微控制器U1还包括第二IO口IO2;第一开关S1的一触点与模拟开关SW的第一可动触点A1连接,第一开关S1的另一触点分别与主控电路20的负载波输出端和电压检测端连接,即图3中,第一开关S1的另一触点与电压检测输入脚ADC连接,且经由第二电容C2、第四电阻R4与微控制器U1的负载波输出脚WAVE连接;第二开关S2的一触点与模拟开关SW的第三可动触点A2连接,第二开关S2的另一触点接地;第二IO口IO2分别与第一开关S1的控制触点和第二开关S2的控制触点连接。
在通讯装置初始化过程中,微控制器U1可通过第二IO口IO2输出控制信号控制第一开关S1和第二开关S2断开,使得模拟开关SW处于高阻状态,避免在通讯装置初始化过程中有信号干扰。
再参照图4,图4为本发明通讯装置另一实施例的电路结构示意图。
基于图3,如图4所示,本发明的通讯装置还包括按键检测电路40,按键检测电路40包括一手动按键K1,微控制器U1还包括第三IO口IO3;按键检测电路40的输出端与第三IO口IO3连接,按键检测电路40检测手动按键K1的状态并输出检测信号至微控制器U1的第三IO口IO3;当微控制器U1检测到检测信号由高电平变为低电平,或者由低电平变为高电平后的持续时间达到第一预设切换时间(如3s)时,微控制器U1第一IO口IO1输出第一控制信号控制模拟开关SW切换第一通路导通;当微控制器U1检测到检测信号由高电平变为低电平,或者由低电平变为高电平后的持续时间达到第二预设切换时间(如6s)时,微控制器U1第一IO口输出第一控制信号控制模拟开关SW切换第二通路导通。
本发明的通讯装置在上电后,可以自动进入检测耳机插座类型流程,此外,用户可以长按手动按键来选择切换控制电路30的导通通路,使耳机接口10与耳机插座匹配。当用户知晓耳机接口10的类型、耳机接口10所要连接的耳机插座的类型,以及模拟开关SW当前的状态时,可根据需要手动按下手动按键进行模拟开关SW通道的切换,以使耳机接口10适应所要连接的耳机插座。例如,当用户知晓耳机接口10为国际标准类型,而耳机插座为国家标准类型,且在初始状态下模拟开关SW导通的是耳机接口10的麦克风引脚MIC连接微控制器U1的电压检测输入脚ADC和负载波输出脚WAVE的通路,此时,为匹配耳机插座,需要将耳机接口10的地线引脚GND用作麦克风引脚,从而可长按手动按键至预设切换时间切换模拟开关SW的导通通路,使得模拟开关SW导通耳机接口10的地线引脚GND和微控制器U1的负载波输出脚WAVE通路。
具体地,按键检测电路还包括一高电平信号输入端VCC、第六电阻R6和第七电阻R7。
如图4所示,手动按键K1的一端与第三IO口IO3连接,且经由第六电阻R6与高电平信号输入端VCC连接,手动按键K1的另一端经由第七电阻R7接地。
再参照图5,图5为本发明通讯装置又一实施例的电路结构示意图。
与图4所示电路不同的是,如图5所示,在一变形的实施例中,手动按键K1的一端与第三IO口IO3连接,且经由第六电阻R6接地,手动按键K1的另一端经由第七电阻R7与高电平信号输入端VCC连接。
本发明通讯装置通过耳机接口10连接智能终端的耳机插座的情况为例进行说明。本发明通讯装置的工作原理具体描述如下:
假设当微控制器U1的第一IO口IO1输出低电平的第一控制信号,即第一IO口IO1置0时,模拟开关SW受控后接通第一固定触点A0与第一可动触点A1,且接通第二固定触点B0与第三可动触点A2,当微控制器U1的第一IO口IO1输出高电平的第二控制信号,即第一IO口IO1置1时,模拟开关SW受控后接通第一固定触点A0与第二可动触点B1,且接通第二固定触点B0与第四可动触点B2。并设定初始状态下,微控制器U1的第一IO口IO1输出低电平的第一控制信号至模拟开关SW的控制触点,控制模拟开关SW接通第一固定触点A0与第一可动触点A1,并接通第二固定触点B0与第三可动触点A2。
在通讯装置初始化过程中,微控制器U1通过第二IO口IO2输出一控制信号(如高电平信号)控制第一开关S1和第二开关S2断开,使得模拟开关SW处于高阻状态。当通讯装置初始化完成后,微控制器U1通过第二IO口IO2输出另一控制信号(如低电平信号)控制第一开关S1和第二开关S2闭合,使得耳机接口10通过模拟开关SW与微控制器U1接通。
以耳机接口10为国际标准耳机接口为例,当微控制器U1的第一IO口IO1先输出低电平的第一控制信号时,模拟开关SW的第一固定触点A0与第一可动触点A1接通,且第二固定触点B0与第三可动触点A2接通,此时,耳机接口10的麦克风引脚MIC经过第一电阻R1、第一固定触点A0、第一可动触点A1、第一开关S1与微控制器U1的电压检测输入脚ADC接通,耳机接口10的地线引脚GND经过第二电阻R2、第二固定触点B0、第三可动触点A2、第二开关S2接地,微控制器U1通过电压检测输入脚ADC对耳机接口10的麦克风引脚MIC上的电压进行AD检测,获取第一检测电压。当微控制器U1的第一IO口IO1切换为输出高电平的第二控制信号时,模拟开关SW的第一固定触点A0与第二可动触点B1接通,且第二固定触点B0与第四可动触点B2接通,此时,耳机接口10的麦克风引脚MIC经过第一电阻R1、第一固定触点A0、第二可动触点B1、第二开关S2接地,耳机接口10的地线引脚GND经过第二电阻R2、第二固定触点B0、第四可动触点B2、第一开关S1与微控制器U1的电压检测输入脚ADC接通,微控制器U1通过电压检测输入脚ADC对耳机接口10的地线引脚GND上的电压进行AD检测,获取第二检测电压。
在检测到第一检测电压与第二检测电压之差的绝对值大于上述预设电压值的情况下,当第一检测电压大于第二检测电压时,说明此时耳机接口10的麦克风引脚MIC连接耳机插座的麦克风引脚,且耳机接口10的地线引脚GND连接耳机插座的地线引脚,耳机接口10与耳机插座连接正确,即耳机接口10与耳机插座匹配,从而可确定此时耳机接口10所连接的耳机插座为国际标准耳机插座。此时,为保持耳机接口10与耳机插座正确连接状态,需要接通模拟开关SW的第一固定触点A0与第一可动触点A1,且接通第二固定触点B0与第三可动触点A2。从上述可知,由于第二次检测耳机接口10的引脚电压时,模拟开关SW的第一固定触点A0与第二可动触点B1接通,且第二固定触点B0与第四可动触点B2接通,从而此时需要切换模拟开关SW的导通通路,此时,微控制器U1的第一IO口IO1切换为输出低电平的第一控制信号至模拟开关SW的控制触点,控制模拟开关SW切换为第一固定触点A0与第一可动触点A1接通,且第二固定触点B0与第三可动触点A2接通,并控制模拟开关SW锁定在第一固定触点A0与第一可动触点A1接通,且第二固定触点B0与第三可动触点A2接通状态,此时,微控制器U1可通过负载波输出脚WAVE输出负载波,且该负载波经第四电阻R4、第二电容C2、第一开关S1、第一可动触点A1、第一固定触点A0、第一电阻R1、耳机接口10的麦克风引脚MIC输出至耳机插座的麦克风引脚,实现通讯装置与智能终端的通讯。
在检测到第一检测电压与第二检测电压之差的绝对值大于上述预设电压值的情况下,当第一检测电压小于第二检测电压时,说明此时耳机接口10的麦克风引脚MIC连接耳机插座的地线引脚,且耳机接口10的地线引脚GND连接耳机插座的麦克风引脚,耳机接口10与耳机插座连接不正确,即耳机接口10与耳机插座不匹配,从而可确定此时耳机接口10所连接的耳机插座为国家标准耳机插座。此时,为使得耳机接口10与耳机插座匹配,可切换模拟开关SW的导通通路,即切换为接通模拟开关SW的第一固定触点A0与第二可动触点B1,且接通第二固定触点B0与第四可动触点B2。从上述可知,由于第二次检测耳机接口10的引脚电压时,模拟开关SW的第一固定触点A0与第二可动触点B1接通,且第二固定触点B0与第四可动触点B2接通,从而此时不需要切换模拟开关SW的导通通路,此时,微控制器U1的第一IO口IO1持续输出高电平的第二控制信号至模拟开关SW的控制触点,控制模拟开关SW持续接通第一固定触点A0与第二可动触点B1,且接通第二固定触点B0与第四可动触点B2,并控制模拟开关SW锁定在第一固定触点A0与第二可动触点B1接通,且第二固定触点B0与第四可动触点B2接通状态,此时,微控制器U1可通过负载波输出脚WAVE输出负载波,且该负载波经第四电阻R4、第二电容C2、第一开关S1、第四可动触点B2、第二固定触点B0、第二电阻R2、耳机接口10的地线引脚GND输出至耳机插座的麦克风引脚,即此时耳机接口10的地线引脚GND作为麦克风引脚使用,实现通讯装置与智能终端的通讯。
如图4所示,当手动按键K1未被按下时,高电平信号输入端VCC输入的高电平信号经由第六电阻R6输入到微控制器U1的第三IO口IO3,此时微控制器U1检测到第三IO口IO3处的检测信号为高电平,与预设的初始状态相符,从而确定此时手动按键K1处于关断状态,此时微控制器U1不动作。当手动按键K1被按下时,微控制器U1的第三IO口IO3相当于经过第七电阻R7接到地,此时微控制器U1检测到第三IO口IO3处的检测信号由高电平变为低电平,且当微控制器U1检测到第三IO口IO3处的检测信号由高电平变为低电平后的持续时间达到第一预设切换时间|(如3s)时,微控制器U1通过第一IO口IO1输出第一控制信号控制模拟开关SW切换第一通路导通,当微控制器U1检测到第三IO口IO3由高电平变为低电平后的持续时间达到第二预设切换时间(如6s)时,微控制器U1通过第一IO口IO1输出第二控制信号控制模拟开关SW切换第二通路导通。
如图5所示,当手动按键K1未被按下时,由于第六电阻的下拉作用,使得微控制器U1检测到第三IO口IO3处的检测信号为低电平,与预设的初始状态相符,从而确定此时手动按键K1处于关断状态,此时微控制器U1不动作。当手动按键K1被按下时,高电平信号输入端VCC输入的高电平信号经由第七电阻R7输入到微控制器U1的第三IO口IO3,此时微控制器U1检测到第三IO口IO3处的检测信号由低电平变为高电平,且当微控制器U1检测到第三IO口IO3处的检测信号由低电平变为高电平后的持续时间达到第一预设切换时间|(如3s)时,微控制器U1通过第一IO口IO1输出第一控制信号控制模拟开关SW切换第一通路导通,当微控制器U1检测到第三IO口IO3由低电平变为高电平后的持续时间达到第二预设切换时间(如6s)时,微控制器U1通过第一IO口IO1输出第二控制信号控制模拟开关SW切换第二通路导通。
以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (17)

  1. 一种通讯装置,其特征在于,所述通讯装置包括耳机接口、主控电路,以及连接于所述耳机接口和主控电路之间的切换控制电路;
    所述耳机接口用于连接智能终端的耳机插座;
    所述主控电路用于向所述切换控制电路输出控制信号;
    所述切换控制电路用于根据所述控制信号切换导通通路,以切换所述耳机接口的麦克风引脚和地线引脚与所述主控电路的电压检测端接通;
    所述主控电路还用于根据所述切换控制电路的导通通路相应检测所述耳机接口的麦克风引脚和地线引脚上的电压并获取相应的检测电压,根据所述检测电压确定所述耳机插座的类型,根据所确定的耳机插座类型输出负载波至所述耳机插座的麦克风引脚,以实现所述通讯装置与智能终端之间的通讯。
  2. 如权利要求1所述的通讯装置,其特征在于,所述切换控制电路的导通通路包括第一通路和第二通路,所述主控电路依次输出相位相反的第一控制信号和第二控制信号至所述切换控制电路,以切换所述第一通路和第二通路导通,以切换所述耳机接口的麦克风引脚和地线引脚与所述主控电路的电压检测端接通;所述主控电路在所述第一通路导通时通过电压检测端检测所述耳机接口的麦克风引脚上的电压并获取第一检测电压,所述主控电路在所述第二通路导通时通过电压检测端检测所述耳机接口的地线引脚上的电压并获取第二检测电压,所述主控电路检测第一检测电压和第二检测电压的大小并确定所述耳机插座的类型,根据所确定的耳机插座类型输出控制信号控制所述切换控制电路锁定第一通路或第二通路导通,并输出负载波至所述耳机插座的麦克风引脚。
  3. 如权利要求1所述的通讯装置,其特征在于,所述切换控制电路包括一模拟开关;所述模拟开关包括控制触点、第一固定触点、第二固定触点、第一可动触点、第二可动触点、第三可动触点和第四可动触点;其中,所述第二可动触点与所述第三可动触点连接,所述第一可动触点与所述第四可动触点连接;
    所述模拟开关的控制触点与主控电路的控制信号输出端连接,所述第一固定触点与所述耳机接口的麦克风引脚连接,所述第二固定触点与所述耳机接口的地线引脚连接,所述第一可动触点与所述主控电路的负载波输出端连接,且与所述主控电路的电压检测端连接,所述第三可动触点接地。
  4. 如权利要求3所述的通讯装置,其特征在于,所述切换控制电路还包括第一电阻和第二电阻;所述第一电阻连接于所述耳机接口的麦克风引脚和所述模拟开关的第一固定触点之间;所述第二电阻连接于所述耳机接口的地线引脚和所述模拟开关的第二固定触点之间。
  5. 如权利要3所述的通讯装置,其特征在于,所述切换控制电路还包括第一电容和第三电阻;所述第一电容的一端与所述耳机接口的麦克风引脚连接,且与所述模拟开关的第一固定触点连接,所述第一电容的另一端所述耳机接口的地线引脚连接,且与所述模拟开关的第二固定触点连接;所述第三电阻与所述第一电容并联。
  6. 如权利要求3所述的通讯装置,其特征在于,所述主控电路包括微控制器、第二电容、第四电阻和第五电阻;所述微控制器包括第一IO口、负载波输出脚和电压检测输入脚;
    所述第一IO口与所述模拟开关的控制触点连接,所述负载波输出脚经由第二电容、第四电阻与所述模拟开关的第一可动触点连接,所述电压检测输入脚与所述模拟开关的第一可动触点连接,且经由所述第五电阻接地。
  7. 如权利要求6所述的通讯装置,其特征在于,所述切换控制电路还包括第一开关和第二开关;所述微控制器还包括第二IO口;所述第一开关的一触点与所述模拟开关的第一可动触点连接,所述第一开关的另一触点分别与所述主控电路的负载波输出端和电压检测端连接;所述第二开关的一触点与所述模拟开关的第三可动触点连接,所述第二开关的另一触点接地;所述第二IO口分别与所述第一开关的控制触点和第二开关的控制触点连接。
  8. 如权利要求6所述的通讯装置,其特征在于,所述通讯装置还包括按键检测电路,所述按键检测电路包括一手动按键,所述微控制器还包括第三IO口;所述按键检测电路的输出端与所述第三IO口连接,所述按键检测电路检测所述手动按键的状态并输出检测信号至所述微控制器的第三IO口;当所述微控制器检测到所述检测信号由高电平变为低电平,或者由低电平变为高电平后的持续时间达到第一预设切换时间时,所述微控制器所述第一IO口输出第一控制信号控制所述模拟开关切换第一通路导通;当所述微控制器检测到所述检测信号由高电平变为低电平,或者由低电平变为高电平后的持续时间达到第二预设切换时间时,所述微控制器所述第一IO口输出第一控制信号控制所述模拟开关切换第二通路导通。
  9. 如权利要求8所述的通讯装置,其特征在于,所述按键检测电路还包括一高电平信号输入端、第六电阻和第七电阻;
    所述手动按键的一端与所述第三IO口连接,且经由所述第六电阻与所述高电平信号输入端连接,所述手动按键的另一端经由所述第七电阻接地;或者,所述手动按键的一端与所述第三IO口连接,且经由所述第六电阻接地,所述手动按键的另一端经由所述第七电阻与所述高电平信号输入端连接。
  10. 如权利要求2所述的通讯装置,其特征在于,所述切换控制电路包括一模拟开关;所述模拟开关包括控制触点、第一固定触点、第二固定触点、第一可动触点、第二可动触点、第三可动触点和第四可动触点;其中,所述第二可动触点与所述第三可动触点连接,所述第一可动触点与所述第四可动触点连接;
    所述模拟开关的控制触点与主控电路的控制信号输出端连接,所述第一固定触点与所述耳机接口的麦克风引脚连接,所述第二固定触点与所述耳机接口的地线引脚连接,所述第一可动触点与所述主控电路的负载波输出端连接,且与所述主控电路的电压检测端连接,所述第三可动触点接地。
  11. 如权利要求10所述的通讯装置,其特征在于,所述切换控制电路还包括第一电阻和第二电阻;所述第一电阻连接于所述耳机接口的麦克风引脚和所述模拟开关的第一固定触点之间;所述第二电阻连接于所述耳机接口的地线引脚和所述模拟开关的第二固定触点之间。
  12. 如权利要10所述的通讯装置,其特征在于,所述切换控制电路还包括第一电容和第三电阻;所述第一电容的一端与所述耳机接口的麦克风引脚连接,且与所述模拟开关的第一固定触点连接,所述第一电容的另一端所述耳机接口的地线引脚连接,且与所述模拟开关的第二固定触点连接;所述第三电阻与所述第一电容并联。
  13. 如权利要求10所述的通讯装置,其特征在于,所述主控电路包括微控制器、第二电容、第四电阻和第五电阻;所述微控制器包括第一IO口、负载波输出脚和电压检测输入脚;
    所述第一IO口与所述模拟开关的控制触点连接,所述负载波输出脚经由第二电容、第四电阻与所述模拟开关的第一可动触点连接,所述电压检测输入脚与所述模拟开关的第一可动触点连接,且经由所述第五电阻接地。
  14. 如权利要求13所述的通讯装置,其特征在于,所述切换控制电路还包括第一开关和第二开关;所述微控制器还包括第二IO口;所述第一开关的一触点与所述模拟开关的第一可动触点连接,所述第一开关的另一触点分别与所述主控电路的负载波输出端和电压检测端连接;所述第二开关的一触点与所述模拟开关的第三可动触点连接,所述第二开关的另一触点接地;所述第二IO口分别与所述第一开关的控制触点和第二开关的控制触点连接。
  15. 如权利要求13所述的通讯装置,其特征在于,所述通讯装置还包括按键检测电路,所述按键检测电路包括一手动按键,所述微控制器还包括第三IO口;所述按键检测电路的输出端与所述第三IO口连接,所述按键检测电路检测所述手动按键的状态并输出检测信号至所述微控制器的第三IO口;当所述微控制器检测到所述检测信号由高电平变为低电平,或者由低电平变为高电平后的持续时间达到第一预设切换时间时,所述微控制器所述第一IO口输出第一控制信号控制所述模拟开关切换第一通路导通;当所述微控制器检测到所述检测信号由高电平变为低电平,或者由低电平变为高电平后的持续时间达到第二预设切换时间时,所述微控制器所述第一IO口输出第一控制信号控制所述模拟开关切换第二通路导通。
  16. 如权利要求15所述的通讯装置,其特征在于,所述按键检测电路还包括一高电平信号输入端、第六电阻和第七电阻;
    所述手动按键的一端与所述第三IO口连接,且经由所述第六电阻与所述高电平信号输入端连接,所述手动按键的另一端经由所述第七电阻接地;或者,所述手动按键的一端与所述第三IO口连接,且经由所述第六电阻接地,所述手动按键的另一端经由所述第七电阻与所述高电平信号输入端连接。
  17. 如权利要求1所述的通讯装置,其特征在于,所述主控电路和切换控制电路集成于一集成电路芯片中。
PCT/CN2015/072294 2015-02-02 2015-02-05 通讯装置 WO2016123773A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510054474.9 2015-02-02
CN201510054474.9A CN104618836A (zh) 2015-02-02 2015-02-02 通讯装置

Publications (1)

Publication Number Publication Date
WO2016123773A1 true WO2016123773A1 (zh) 2016-08-11

Family

ID=53153079

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/072294 WO2016123773A1 (zh) 2015-02-02 2015-02-05 通讯装置

Country Status (2)

Country Link
CN (1) CN104618836A (zh)
WO (1) WO2016123773A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106383479A (zh) * 2016-11-18 2017-02-08 广州极飞科技有限公司 智能电池通信接口兼容电路、智能电池及无人飞行器
CN107071650A (zh) * 2017-06-26 2017-08-18 深圳天珑无线科技有限公司 耳机检测电路、方法及终端
CN107241115A (zh) * 2017-06-27 2017-10-10 歌尔科技有限公司 一种分离式通话手环
CN109522261A (zh) * 2019-01-11 2019-03-26 歌尔科技有限公司 一种串口通信电路及可穿戴设备
CN109788424A (zh) * 2017-11-15 2019-05-21 深圳市冠旭电子股份有限公司 耳套定型控制装置和耳机

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106231500A (zh) * 2016-10-13 2016-12-14 福建星海通信科技有限公司 一种车载多媒体终端的mic切换电路
CN110783777B (zh) * 2018-07-12 2022-02-18 中兴通讯股份有限公司 一种抗干扰方法、装置及***
CN110134627B (zh) * 2019-05-15 2021-09-03 浙江中控技术股份有限公司 Io控制***
CN113473315B (zh) * 2021-07-31 2022-06-28 展讯通信(上海)有限公司 可提升耳机输出性能的电子装置
CN115525099B (zh) * 2022-01-11 2023-08-11 荣耀终端有限公司 一种终端设备及检测键盘接入的方法
CN114615591B (zh) * 2022-05-11 2022-08-12 浙江地芯引力科技有限公司 耳机线序切换电路、方法、芯片、转换器及存储介质
CN115489651A (zh) * 2022-10-31 2022-12-20 雅迪科技集团有限公司 一种电动车仪表及电动车

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203243488U (zh) * 2013-03-13 2013-10-16 青岛海信移动通信技术股份有限公司 一种耳机转接设备及移动终端
CN203313373U (zh) * 2013-06-18 2013-11-27 殷翔 具有音量调节功能的通用耳机
CN203761574U (zh) * 2014-01-15 2014-08-06 浙江万利九聚自动化技术有限公司 不同规格制式的耳机可切换的兼容设备
CN203883981U (zh) * 2014-05-29 2014-10-15 包文韬 具有麦克风信号mic与gnd自动切换功能的耳机
CN204350278U (zh) * 2015-02-02 2015-05-20 深圳市吉芯微半导体有限公司 通讯装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728082A (zh) * 2005-07-29 2006-02-01 上海贝豪通讯电子有限公司 一种提高耳机接口通用性的方法
CN101719610A (zh) * 2009-12-30 2010-06-02 华为终端有限公司 一种有线耳机兼容方法和装置
CN102035911A (zh) * 2010-07-08 2011-04-27 中兴通讯股份有限公司 一种手机耳机接入装置和方法
CN103167368B (zh) * 2012-02-07 2015-12-30 吴志勇 一种耳机兼容电路及兼容耳机

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203243488U (zh) * 2013-03-13 2013-10-16 青岛海信移动通信技术股份有限公司 一种耳机转接设备及移动终端
CN203313373U (zh) * 2013-06-18 2013-11-27 殷翔 具有音量调节功能的通用耳机
CN203761574U (zh) * 2014-01-15 2014-08-06 浙江万利九聚自动化技术有限公司 不同规格制式的耳机可切换的兼容设备
CN203883981U (zh) * 2014-05-29 2014-10-15 包文韬 具有麦克风信号mic与gnd自动切换功能的耳机
CN204350278U (zh) * 2015-02-02 2015-05-20 深圳市吉芯微半导体有限公司 通讯装置

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106383479A (zh) * 2016-11-18 2017-02-08 广州极飞科技有限公司 智能电池通信接口兼容电路、智能电池及无人飞行器
CN107071650A (zh) * 2017-06-26 2017-08-18 深圳天珑无线科技有限公司 耳机检测电路、方法及终端
CN107241115A (zh) * 2017-06-27 2017-10-10 歌尔科技有限公司 一种分离式通话手环
CN107241115B (zh) * 2017-06-27 2022-06-14 歌尔科技有限公司 一种分离式通话手环
CN109788424A (zh) * 2017-11-15 2019-05-21 深圳市冠旭电子股份有限公司 耳套定型控制装置和耳机
CN109788424B (zh) * 2017-11-15 2023-12-15 深圳市冠旭电子股份有限公司 耳套定型控制装置和耳机
CN109522261A (zh) * 2019-01-11 2019-03-26 歌尔科技有限公司 一种串口通信电路及可穿戴设备

Also Published As

Publication number Publication date
CN104618836A (zh) 2015-05-13

Similar Documents

Publication Publication Date Title
WO2016123773A1 (zh) 通讯装置
WO2013000354A1 (zh) 一种移动通讯设备及其音量控制方法
US8095714B2 (en) Electronic device capable of automatically switching between a master mode and a slave mode
WO2019039892A1 (en) METHOD AND ELECTRONIC MODE SWITCHING DEVICE AND CORRESPONDING INFORMATION CARRIER
TWI554122B (zh) 藉由耳機介面供電的電子裝置及耳機電源線
JP5161153B2 (ja) オーディオ・デバイスの認識装置および携帯式コンピュータ
WO2018161623A1 (zh) 一种电动夹持支架及其控制***
WO2015043101A1 (zh) 多传感器控制电路、电子烟及传感器控制方法
WO2016045559A1 (zh) 一种支持冗余备份及热插拔的供电***
WO2017075843A1 (zh) 一种扫描驱动装置
WO2018192164A1 (zh) 用于降低Type-C接口功耗的方法及装置和***
WO2015143852A1 (zh) 一种具有占空比限制功能的d类功放芯片及其装置
WO2011134208A1 (zh) 一种基于时钟的安全装置的软件保护方法及安全装置
WO2015021756A1 (zh) 电磁遥控器及电磁遥控器的控制方法
WO2015074607A1 (zh) 耳机线控装置及耳机
WO2015058508A1 (zh) 基于蓝牙通信技术的控制方法、被控设备及控制设备
WO2017177365A1 (zh) 一种屏幕亮度调节方法、亮度调节装置及终端
WO2017045418A1 (zh) 一种基于内存剩余容量调节照相机帧率的方法及***
WO2015074293A1 (zh) 背光源调节电路及液晶显示装置
US9584893B2 (en) Apparatus and method for recovering from partial insertion of an audio jack
WO2018023927A1 (zh) 耳机接口的复用方法及装置
WO2016058471A1 (zh) 显示设备及对mhl信源实现来电通功能的方法
WO2016095255A1 (zh) 网口保护电路及电视机
JP2008059145A (ja) 電源装置
WO2018149328A1 (zh) 基于智能手表的移动终端控制方法及控制装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15880729

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15880729

Country of ref document: EP

Kind code of ref document: A1