CN111314817A - Switching control circuit, terminal equipment and switching control method - Google Patents
Switching control circuit, terminal equipment and switching control method Download PDFInfo
- Publication number
- CN111314817A CN111314817A CN202010130688.0A CN202010130688A CN111314817A CN 111314817 A CN111314817 A CN 111314817A CN 202010130688 A CN202010130688 A CN 202010130688A CN 111314817 A CN111314817 A CN 111314817A
- Authority
- CN
- China
- Prior art keywords
- power supply
- pin
- supply terminal
- terminal
- switch unit
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1041—Mechanical or electronic switches, or control elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R29/00—Monitoring arrangements; Testing arrangements
- H04R29/001—Monitoring arrangements; Testing arrangements for loudspeakers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2420/00—Details of connection covered by H04R, not provided for in its groups
- H04R2420/05—Detection of connection of loudspeakers or headphones to amplifiers
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Circuit For Audible Band Transducer (AREA)
- Stereophonic Arrangements (AREA)
Abstract
Description
技术领域technical field
本申请涉及电子技术领域,更具体地,涉及一种切换控制电路、终端设备及切换控制方法。The present application relates to the field of electronic technology, and more particularly, to a switching control circuit, a terminal device and a switching control method.
背景技术Background technique
市场上的耳机主要有两种标准,即开放移动终端平台组织(Open MobileTerminal Platform,OMTP)的OMTP标准,也称国家标准或欧标和美国无线通信和互联网协会(Cellular Telecommunications Industry Association,CTIA)的CTIA标准,也称国际标准或美标。There are two main standards for headsets on the market, namely the OMTP standard of the Open Mobile Terminal Platform (OMTP), also known as the national standard or European standard and the Cellular Telecommunications Industry Association (CTIA) standard. CTIA standard, also known as international standard or American standard.
由于不同标准耳机的内部连接方式不同,所以目前终端一般只单一支持一种标准,导致终端的耳机孔和耳机类型不匹配时会出现声音失真、串音等不兼容问题,甚至可能导致麦克风不可用。Due to the different internal connection methods of earphones of different standards, currently the terminal generally supports only one standard, resulting in incompatibility problems such as sound distortion and crosstalk when the earphone jack of the terminal does not match the earphone type, and may even cause the microphone to be unavailable. .
发明内容SUMMARY OF THE INVENTION
本申请实施例提出了一种切换控制电路、终端设备及切换控制方法,能够同时兼容不同标准的音频播放设备。The embodiments of the present application propose a switching control circuit, a terminal device, and a switching control method, which can be compatible with audio playback devices of different standards at the same time.
第一方面,本申请实施例提供了一种切换控制电路,应用于终端设备,所述终端设备包括第一供电端、第二供电端和音频连接器,所述音频连接器包括第一电源引脚和第二电源引脚,所述切换控制电路包括:检测模块、第一开关模块与第二开关模块;所述检测模块,与所述第一电源引脚或所述第二电源引脚连接,用于在音频播放设备与所述音频连接器连接时,检测所述音频连接器与所述音频播放设备的类型是否匹配;所述第一电源引脚通过所述第一开关模块连接所述第一供电端,通过所述第二开关模块连接所述第二供电端;所述第二电源引脚通过所述第一开关模块连接所述第二供电端,通过所述第二开关模块连接所述第一供电端;所述第一开关模块,与所述检测模块连接,用于在所述音频连接器与所述音频播放设备的类型匹配时,将所述第一电源引脚与所述第一供电端导通,将所述第二电源引脚与所述第二供电端导通,以及在所述音频连接器与所述音频播放设备的类型不匹配时,将所述第一电源引脚与所述第一供电端断开连接,将所述第二电源引脚与所述第二供电端断开连接;所述第二开关模块,与所述检测模块连接,用于在所述音频连接器与所述音频播放设备的类型不匹配时,将所述第一电源引脚与所述第二供电端导通,将所述第二电源引脚与所述第一供电端导通,以及在所述音频连接器与所述音频播放设备的类型匹配时,将所述第一电源引脚与所述第二供电端断开连接,将所述第二电源引脚与所述第一供电端断开连接。In a first aspect, an embodiment of the present application provides a switching control circuit, which is applied to a terminal device. The terminal device includes a first power supply terminal, a second power supply terminal, and an audio connector, and the audio connector includes a first power supply lead. The switch control circuit includes: a detection module, a first switch module and a second switch module; the detection module is connected to the first power supply pin or the second power supply pin , used to detect whether the audio connector matches the type of the audio playback device when the audio playback device is connected to the audio connector; the first power pin is connected to the first switch module through the first switch module. The first power supply terminal is connected to the second power supply terminal through the second switch module; the second power supply pin is connected to the second power supply terminal through the first switch module, and is connected through the second switch module the first power supply terminal; the first switch module, connected to the detection module, is used for connecting the first power supply pin to the The first power supply terminal is turned on, the second power supply pin is connected to the second power supply terminal, and when the audio connector does not match the type of the audio playback device, the first power supply pin is turned on. The power supply pin is disconnected from the first power supply terminal, and the second power supply pin is disconnected from the second power supply terminal; the second switch module is connected with the detection module and is used for When the audio connector does not match the type of the audio playback device, the first power supply pin is connected to the second power supply terminal, and the second power supply pin is connected to the first power supply terminal. turn on, and when the audio connector matches the type of the audio playback device, disconnect the first power supply pin from the second power supply terminal, and connect the second power supply pin with all The first power supply terminal is disconnected.
第二方面,本申请实施例提供了一种终端设备,包括:壳体;设置于所述壳体上的音频连接器;设置于所述壳体内的第一供电端、第二供电端以及如上述第一方面所述的切换控制电路。In a second aspect, an embodiment of the present application provides a terminal device, including: a casing; an audio connector disposed on the casing; a first power supply terminal, a second power supply terminal, and the like The switching control circuit described in the first aspect above.
第三方面,本申请实施例提供了一种切换控制方法,应用于终端设备,所述终端设备包括第一供电端、第二供电端和音频连接器,所述音频连接器包括第一电源引脚和第二电源引脚,所述方法包括:在所述音频连接器与音频播放设备连接时,检测所述音频连接器与所述音频播放设备的类型是否匹配;在所述音频连接器与所述音频播放设备的类型匹配时,将所述第一电源引脚与所述第一供电端导通,将所述第二电源引脚与所述第二供电端导通,所述第一供电端和所述第二供电端的类型相反;在所述音频连接器与所述音频播放设备的类型不匹配时,将所述第一电源引脚与所述第二供电端导通,将所述第二电源引脚与所述第一供电端导通。In a third aspect, an embodiment of the present application provides a switching control method, which is applied to a terminal device, where the terminal device includes a first power supply terminal, a second power supply terminal, and an audio connector, and the audio connector includes a first power supply lead pin and a second power pin, the method includes: when the audio connector is connected with the audio playback device, detecting whether the audio connector matches the type of the audio playback device; when the audio connector is connected to the audio playback device When the types of the audio playback devices are matched, the first power supply pin is connected to the first power supply terminal, the second power supply pin is connected to the second power supply terminal, and the first power supply pin is connected to the second power supply terminal. The types of the power supply terminal and the second power supply terminal are opposite; when the audio connector does not match the type of the audio playback device, the first power supply pin is connected to the second power supply terminal, and all the The second power supply pin is connected to the first power supply terminal.
本申请实施例提供的一种切换控制电路、终端设备及切换控制方法,应用于包括第一、第二供电端和音频连接器的终端设备,音频连接器包括第一和第二电源引脚,切换控制电路包括检测模块、第一与第二开关模块,其中,第一电源引脚通过第一开关模块连接第一供电端,通过第二开关模块连接第二供电端;第二电源引脚通过第一开关模块连接第二供电端,通过第二开关模块连接第一供电端;检测模块与第一或第二电源引脚连接,用于在音频播放设备与音频连接器连接时,检测二者的类型是否匹配,第一、第二开关模块分别与检测模块连接,并在类型匹配时第一开关模块导通,在类型不匹配时第二开关模块导通。由此,音频播放设备接入音频连接器时,可自动检测音频播放设备与音频连接器的类型是否匹配,并在类型匹配时,第一电源引脚与第一供电端导通,第二电源引脚与第二供电端导通,在类型不匹配时,第一电源引脚与第二供电端导通,第二电源引脚与第一供电端导通,从而能够使得两个电源引脚的电平发生改变,实现对不同标准的音频播放设备的兼容。A switching control circuit, a terminal device, and a switching control method provided by the embodiments of the present application are applied to a terminal device including first and second power supply terminals and an audio connector, and the audio connector includes first and second power pins, The switching control circuit includes a detection module, first and second switch modules, wherein the first power supply pin is connected to the first power supply terminal through the first switch module, and is connected to the second power supply terminal through the second switch module; The first switch module is connected to the second power supply terminal, and the second switch module is connected to the first power supply terminal; the detection module is connected to the first or second power supply pins, and is used to detect the two when the audio playback device is connected to the audio connector. Whether the types match, the first and second switch modules are respectively connected to the detection module, and the first switch module is turned on when the types match, and the second switch module is turned on when the types do not match. Therefore, when the audio playback device is connected to the audio connector, it can automatically detect whether the types of the audio playback device and the audio connector match, and when the types match, the first power supply pin is connected to the first power supply terminal, and the second power supply The pin is connected to the second power supply terminal. When the type does not match, the first power supply pin is connected to the second power supply terminal, and the second power supply pin is connected to the first power supply terminal, so that the two power supply pins can be connected. The level is changed to achieve compatibility with audio playback devices of different standards.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained from these drawings without creative effort.
图1示出了本申请一个实施例提供的切换控制电路的示意图;FIG. 1 shows a schematic diagram of a switching control circuit provided by an embodiment of the present application;
图2本申请一个示例性实施例提供的音频播放设备与音频连接器的插入连接示意图;FIG. 2 is a schematic diagram of the plug-in connection of an audio playback device and an audio connector provided by an exemplary embodiment of the present application;
图3示出了本申请另一个实施例提供的切换控制电路的示意图;FIG. 3 shows a schematic diagram of a switching control circuit provided by another embodiment of the present application;
图4示出了本申请一个示例性实施例提供的一种切换控制电路的连接示意图;FIG. 4 shows a schematic diagram of the connection of a switching control circuit provided by an exemplary embodiment of the present application;
图5示出了本申请另一个示例性实施例提供的一种切换控制电路的连接示意图;FIG. 5 shows a schematic connection diagram of a switching control circuit provided by another exemplary embodiment of the present application;
图6示出了本申请一个示例性实施例提供的切换控制电路的工作原理示意图;FIG. 6 shows a schematic diagram of the working principle of a switching control circuit provided by an exemplary embodiment of the present application;
图7示出了本申请另一个示例性实施例提供的切换控制电路的工作原理示意图;FIG. 7 shows a schematic diagram of the working principle of a switching control circuit provided by another exemplary embodiment of the present application;
图8示出了本申请一个实施例提供的终端设备的示意图;FIG. 8 shows a schematic diagram of a terminal device provided by an embodiment of the present application;
图9示出了本申请一个实施例提供的切换控制方法的流程示意图。FIG. 9 shows a schematic flowchart of a handover control method provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to make those skilled in the art better understand the solutions of the present application, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application.
在对本申请实施例进行详细的解释说明之前,首先对本申请实施例涉及到的概念进行如下解释:Before explaining the embodiments of the present application in detail, the concepts involved in the embodiments of the present application are first explained as follows:
1、耳机座:耳机的插座。1. Headphone holder: the socket of the headphone.
2、美标:对应CTIA标准,也称国际标准,美标耳机的3.5mm耳机针脚顺序是(由外往内依次,其中,耳机插入耳机座时最先进入耳机座的一侧为外):左声道-右声道-地线-麦克风(L/R/G/M)。2. American Standard: Corresponding to the CTIA standard, also known as the international standard, the 3.5mm earphone pin sequence of the American Standard earphone is (from the outside to the inside, among which, the side that first enters the earphone holder when the earphone is inserted into the earphone holder is the outside): Left channel-right channel-ground-microphone (L/R/G/M).
3、欧标耳机:对应OMTP标准,也称国家标准,欧标耳机的3.5mm耳机针脚顺序是(由外往内):左声道-右声道-麦克风-地线(L/R/M/G)。3. European standard earphones: corresponding to the OMTP standard, also known as the national standard, the pin order of the 3.5mm earphones of the European standard earphones is (from outside to inside): left channel-right channel-microphone-ground (L/R/M /G).
出于节省成本的原因,目前带有3.5mm耳机孔的终端上在设计之初只单一支持美标耳机或者欧标耳机,当耳机和终端的耳机座的类型不匹配时,可能出现声音失真、串音等不兼容的问题,甚至可能导致麦克风不可用。例如,当设计为仅支持识别美标耳机的终端在被插入欧标耳机时,终端可能无任何响应或者有异常的伴奏声,而人声基本消除,声音空灵。For cost-saving reasons, the current terminal with a 3.5mm headphone jack only supports American standard earphones or European standard earphones at the beginning of the design. Incompatibility issues such as crosstalk may even render the microphone unavailable. For example, when a terminal designed to only support the recognition of American standard earphones is inserted into European standard earphones, the terminal may have no response or abnormal accompaniment sound, but the human voice is basically eliminated, and the sound is ethereal.
基于上述问题,本申请实施例提供了一种切换控制电路、终端以及切换控制方法。下面将通过具体实施例进行详细说明。Based on the above problems, embodiments of the present application provide a switching control circuit, a terminal, and a switching control method. The following will be described in detail through specific embodiments.
请参阅图1,图1示出了本申请一个实施例提供的切换控制电路的示意图,如图1所示,该切换控制电路100包括:检测模块110、第一开关模块120以及第二开关模块130。Please refer to FIG. 1 . FIG. 1 shows a schematic diagram of a switching control circuit provided by an embodiment of the present application. As shown in FIG. 1 , the
其中,切换控制电路100应用于终端设备,终端设备可以是手机、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、笔记本电脑、台式电脑、头戴式设备或其他任意终端。为介绍切换控制电路100可实现的功能原理,先对切换控制电路100所连接的终端设备环境作出介绍,终端设备包括音频连接器210,第一供电端220以及第二供电端230。Wherein, the
其中,第一供电端220与第二供电端230的类型不同。例如,可以是电势不同,即一个供电端处于高电势,另一个供电端处于低电势,其中,低电势的供电端可以是地端、电源负端,高电势的供电端可以是电源正端,也可以是其他电势高于低电势的供电端,在此不作限定。The types of the first
在一种实施方式中,第一供电端220处于高电势,第二供电端230处于低电势,此时,电流可从第一供电端220流出,从第二供电端230流入,例如,第一供电端220可以为电源正端,第二供电端230可以为电源负端或地端。在另一种实施方式中,第一供电端220处于低电势,第二供电端230可处于高电势,此时,电流可从第二供电端230流出,从第一供电端220流入。In one embodiment, the first
其中,音频连接器210包括第一电源引脚211以及第二电源引脚212。其中,第一电源引脚211与第二电源引脚212在音频连接器210与音频播放设备连接时,用于连接音频播放设备的引脚。The
在一个示例中,音频连接器210为3.5mm耳机座,音频播放设备为3.5mm耳机接口的耳机,此时,第一电源引脚211与第二电源引脚212中的其中一个用于连接音频播放设备的麦克(MIC)脚,另一个用于连接音频播放设备的地线(GND)脚。当音频播放设备与音频连接器210连接时,为使音频播放设备正常工作,音频播放设备的GND脚应当连接电源负端或接地,音频播放设备的MIC脚应当连接电源正端。In an example, the
本实施例中,若第一电源引脚211与音频播放设备的MIC脚连接,第二电源引脚212与音频播放设备的GND脚连接,则第一电源引脚211应当与高电势的供电端连接,第二电源引脚212应当与低电势的供电端连接,使得电流经第一电源引脚211流入音频播放设备的MIC引脚,再从音频播放设备的GND引脚流出至第二电源引脚212。In this embodiment, if the first
反之,若第一电源引脚211与音频播放设备的GND脚连接,第二电源引脚212与音频播放设备的MIC脚连接,则第一电源引脚211应当与低电势的供电端连接,第二电源引脚212应当与高电势的供电端连接,使得电流经第二电源引脚212流入音频播放设备的MIC引脚,再从音频播放设备的GND引脚流出至第一电源引脚212。Conversely, if the first
由此,本申请实施例提供切换控制电路可在不同音频播放设备与音频连接器210连接时均可实现上述连接,从而实现对不同的音频播放设备的兼容。Therefore, the switching control circuit provided in the embodiment of the present application can realize the above connection when different audio playback devices are connected to the
检测模块110,与第一电源引脚211或第二电源引脚212连接,用于在音频播放设备与音频连接器210连接时,检测音频连接器210与音频播放设备的类型是否匹配。The
下面为表述检测原理,以以音频连接器是3.5mm耳机座、音频播放设备为3.5mm耳机为例进行说明,第一电源引脚211与第二电源引脚212在音频连接器上的位置一定,3.5mm耳机座包括四个引脚,分别为左声道正极性(LP)脚、右声道负极性(RN)脚、GND引脚、MIC引脚。其中,MIC引脚的电势高于GND引脚。The following is the description of the detection principle. The audio connector is a 3.5mm headphone holder and the audio playback device is a 3.5mm headphone. , The 3.5mm headphone holder includes four pins, which are the left channel positive polarity (LP) pin, the right channel negative polarity (RN) pin, the GND pin, and the MIC pin. Among them, the potential of the MIC pin is higher than the GND pin.
由于美标耳机的针脚由外向内依次为L、R、GND、MIC,欧标耳机的针脚由外向内依次为L、R、MIC、GND,因此适配美标耳机的耳机座的引脚由内外应依次为LP引脚、RN引脚、GND引脚、MIC引脚,适配欧标耳机的耳机座的引脚由内向外则应依次为LP引脚、RN引脚、MIC引脚、GND引脚。由此可知,欧标耳机和美标耳机的MIC脚和GND脚之间的顺序相反,即欧标耳机由外向内的第3、4个脚分别为MIC脚和GND脚,美标耳机由外向内的第3、4个脚分别为GND脚和MIC脚。Since the pins of American standard earphones are L, R, GND, MIC from outside to inside, and the pins of European standard earphones are L, R, MIC, GND from outside to inside, so the pins of the headphone holder suitable for American standard earphones are set by The inside and outside should be the LP pin, the RN pin, the GND pin, the MIC pin, and the pins of the earphone holder that adapt to the European standard earphones should be the LP pin, RN pin, MIC pin, GND pin. It can be seen that the order between the MIC pin and the GND pin of the European standard earphone and the American standard earphone is reversed, that is, the third and fourth pins of the European standard earphone from the outside to the inside are the MIC pin and the GND pin respectively, and the American standard earphone is from the outside to the inside. The 3rd and 4th pins are the GND pin and the MIC pin respectively.
其中,MIC脚的电势高于GND脚的电势,则检测MIC脚的电压高于GND脚,且MIC脚对应的电压范围可记为高电平,GND脚对应的电压范围可记为低电平。需要说明的是,高电平与低电平分别对应的电压范围可以是自定义的,也可以采用MIC脚、GND脚的标准电压范围,本实施例中,高电平对应的电压高于低电平对应的电压,除此之外,本实施例对此不做其他限定。Among them, the potential of the MIC pin is higher than the potential of the GND pin, then the voltage of the detected MIC pin is higher than the GND pin, and the voltage range corresponding to the MIC pin can be recorded as high level, and the voltage range corresponding to the GND pin can be recorded as low level . It should be noted that the voltage ranges corresponding to the high level and the low level can be customized, and the standard voltage range of the MIC pin and the GND pin can also be used. In this embodiment, the voltage corresponding to the high level is higher than the low level. In addition to the voltage corresponding to the level, this embodiment does not make other limitations on this.
由于不同标准耳机的MIC、GND脚顺序不同,但音频连接器210的第一电源引脚120与第二电源引脚130的位置不变,例如可依次对应耳机的第3、4个脚,且检测模块110仅连接音频连接器210的第一电源引脚120、第二电源引脚130的其中一个时,那在不同标准的耳机插入音频连接器210时,检测模块110在同一个电源引脚处检测到的电路参数不同,因此可根据检测模块110检测的电路参数,确定所连接音频播放设备的类型,例如所插入耳机的标准,控制第一开关模块120、第二开关模块130的导通状态来实现对不同标准耳机的兼容。其中,电路参数可以是电压、电流等参数,即检测模块110可用于检测电压、电流或其他电路参数,本实施例对此不作限定。Since the order of the MIC and GND pins of different standard earphones is different, the positions of the first
请参阅图2,其示出了本申请一个示例性实施例提供的音频播放设备与音频连接器的插入连接示意图。图2中,音频连接器210由内向外的引脚依次为LP、RN引脚、第二电源引脚212与第一电源引脚211。此时,若音频播放设备30为美标耳机,则其插入音频连接器210时,MIC脚与第一电源引脚211连接,GND脚与第二电源引脚212连接。需要说明的是,图2中的音频播放设备30仅示出了其与音频连接器210连接部分的示意性结构,仅用于示意与音频连接器210的连接关系。Please refer to FIG. 2 , which shows a schematic diagram of the insertion and connection of an audio playback device and an audio connector provided by an exemplary embodiment of the present application. In FIG. 2 , the pins of the
作为一种实施方式,音频连接器210中第一电源引脚211可用于连接音频播放设备由外向内的第4个脚,即音频连接器210由外向内的第1个引脚,第二电源引脚212可用于连接音频播放设备由外向内的第3个脚,即音频连接器210由外向内的第二个引脚,即如图2所示。作为另一种实施方式,音频连接器210中的第一电源引脚211可用于连接该第3个脚,第二电源引脚212可用于连接该第4个脚。本实施例对此并不作限定。As an embodiment, the
下面为表述方便,以如图2所示的第一电源引脚211、第二电源引脚212的位置为例进行说明。For convenience of description below, the positions of the first
音频连接器210的第一电源引脚211通过第一开关模块120连接第一供电端220,通过第二开关模块130连接第二供电端230。第二电源引脚212通过第一开关模块120连接第二供电端230,通过第二开关模块130连接第一供电端220。The
第一开关模块120,与检测模块110连接,用于在音频连接器210与音频播放设备的类型匹配时,将第一电源引脚211与第一供电端220导通,将第二电源引脚212与第二供电端230导通,以及在音频连接器210与音频播放设备的类型不匹配时,将第一电源引脚211与第一供电端220断开连接,将第二电源引脚212与第二供电端230断开连接。The
在一种实施方式中,第一开关模块120可包括至少两个开关元件,且两个开关元件与检测模块110连接,并至少一个开关元件连接于第一电源引脚211与第一供电端220之间,并受控于检测模块110,另至少一个开关元件连接于第二电源引脚212与第二供电端230之间,并受控于检测模块110,使得第一开关模块120的至少两个开关元件在匹配时同时导通,不匹配时同时断开。其中,开关元件可以是三极管,也可以是场效应管等元件,还可以是其他至少具有三端的开关器件,满足前述导通条件即可,本实施例对此不作限定。In one embodiment, the
第二开关模块130,与检测模块110连接,用于在音频连接器210与音频播放设备的类型不匹配时,将第一电源引脚211与第二供电端230导通,将第二电源引脚212与第一供电端220导通,以及在音频连接器210与音频播放设备的类型匹配时,将第一电源引脚211与第二供电端230断开连接,将第二电源引脚212与第一供电端220断开连接。The
在一些实施例中,由于音频播放设备与第一电源引脚211和第二电源引脚212连接的脚的类型不同,不同类型对应的电平不同,例如MIC脚对应高电平,GND脚对应低电平,因此,通过检测第一电源引脚211的电压,可确定与第一电源引脚211连接的音频播放设备的脚的类型,也可确定音频连接器210与音频播放设备的类型是否匹配。In some embodiments, since the audio playback device has different types of pins connected to the first
在一些实施方式中,检测模块110可用于检测音频连接器210中第一电源引脚211或第二电源引脚212中目标电源引脚的目标电压,在目标电压与目标电源引脚对应的电压范围不匹配时,则可判定音频连接器210与音频播放设备的类型不匹配,在目标电压与目标电源引脚对应的电压范围匹配时,则可判定音频连接器210与音频播放设备的类型匹配。In some embodiments, the
进一步地,作为一种实施方式,检测模块110可对检测到的电压进行处理得到控制信号,并输出至第一开关模块120、第二开关模块130,以控制第一开关模块120与第三开关模块130的导通状态(即导通或断开)。此时,检测模块110可以包括比较器,用于根据检测到的电压输出对应的电平信号,例如可在一个输入端连接参考电压源,另一个输入端与目标电源引脚连接,从而通过比较目标电源引脚的目标电压与参考电压源的参考电压,在目标电压高于参考电压时,输出高电平(1),在目标电压不高于参考电压时,输出低电平(0)。在一个示例中,比较器可以是MAX913比较器,还可采用其他可根据电压输出电平信号的器件,本实施例对此不做限定。Further, as an implementation manner, the
作为另一种实施方式,检测模块110可不对检测到的电压作处理,即直接输出电压信号,而不转换成电平信号,使得第一开关模块120、第二开关模块130可根据检测模块110所检测到的目标电压切换导通状态。(但为表述方便和统一,后续统一用高电平指代较高的电压范围,低电平指代较低的电压范围,即可表示电压的高低,不特指电平信号。)此时,第一开关模块120与第二开关模块130的导通电压可不同,例如,第一开关模块120可以在目标电压处于高电平时导通,低电平时断开,第二开关模块130可以在低电平时导通,高电平时断开。此时,第一开关模块120、第二开关模块130可以由三极管、场效应管等构成,则无需额外的控制电路,即可根据目标电压切换导通状态。As another embodiment, the
在一个示例中,检测模块110可包括电压检测引脚,可与第一电源引脚211或第二电源引脚212直接连接,也可与可用于指示第一电源引脚211或第二电源引脚212的电平的端口连接,用于检测目标电源引脚的目标电压,并输出至第一开关模块120与第二开关模块130。其中,目标电源引脚为第一电源引脚211或第二电源引脚212。In one example, the
第一开关模块120,用于在目标电源引脚的目标电压处于第一电压范围时,将第一电源引脚211与第一供电端220导通,将第二电源引脚212与第二供电端230导通,以及在目标电源引脚的目标电压处于第二电压范围时,将第一电源引脚211与第一供电端220断开连接,将第二电源引脚212与第二供电端230断开连接。The
其中,在一种实施方式中,第一供电端220的电势高于第二供电端230,此时,第一电压范围对应高电平,第二电压范围对应低电平。在另一种实施方式中,第一供电端220的电势低于第二供电端230,此时,第一电压范围对应低电平,第二电压范围对应高电平。Wherein, in one embodiment, the potential of the first
第二开关模块130,用于在目标电源引脚的电压处于第一电压范围时,将第一电源引脚211与第二供电端230断开连接,将第二电源引脚212与第一供电端220断开连接,以及在目标电源引脚的电压处于第二电压范围时,将第一电源引脚211与第二供电端230导通,将第二电源引脚212与第一供电端220导通。The
在一些实施方式中,检测模块110可以与第一电源引脚211连接,则当检测到第一电源引脚211的电压对应高电平时,可判定音频连接器210与音频播放设备的类型匹配,当检测到第一电源引脚211的电压对应低电平时,可判定音频连接器210与音频播放设备的类型不匹配,也就是说,此时终端设备可默认适配于美标耳机。在另一些实施方式中,若检测模块110与第一电源引脚211连接,当检测到第一电源引脚211的电压对应低电平时,可判定类型匹配,否则不匹配,也就是说,此时终端设备可默认适配于欧标耳机。即本实施例对判定音频连接器210与音频播放设备的类型是否匹配的条件不作限定。In some embodiments, the
在另一些实施方式中,检测模块110可与第二电源引脚212连接,此时判定音频连接器210与音频播放设备的类型是否匹配的方式与上述检测模块110连接第一电源引脚211时类似,在此不再赘述。In other embodiments, the
在一种实施方式中,以音频播放设备为耳机为例,第一供电端220可对应电源正端,第二供电端230可为地端,检测模块110与第一电源引脚211连接,当耳机插入音频连接器210时,检测模块110检测第一电源引脚211的目标电压,若目标电压对应高电平,此时音频播放设备的MIC脚与第一电源引脚211连接,即音频播放设备为欧标耳机,则导通第一开关模块120,以使与欧标耳机的MIC脚连接的第一电源引脚211与第一供电端220导通,与欧标耳机的GND脚连接的第二电源引脚212与第二供电端230导通即接地,使得欧标耳机可正常使用。In one embodiment, taking the audio playback device as an earphone as an example, the first
另外,若目标电压对应低电平,此时音频播放设备的GND脚与第一电源引脚211连接,即音频播放设备为美标耳机,则导通第二开关模块130,以使与美标耳机的GND脚连接的第一电源引脚211与第二供电端230导通即接地,与美标耳机的MIC脚连接的第二电源引脚212与第一供电端220导通,使得美标耳机可正常使用。由此实现对美标、欧标耳机的兼容。In addition, if the target voltage corresponds to a low level, and the GND pin of the audio playback device is connected to the
本实施例提供的切换控制电路100,通过在音频播放设备接入音频连接器210时,检测模块110自动检测音频播放设备与音频连接器210的类型是否匹配,并在类型匹配时,第一电源引脚211通过第一开关模块120与第一供电端220导通,第二电源引脚212通过第一开关模块120与第二供电端230导通,在类型不匹配时,第一电源引脚211通过第二开关模块130与第二供电端230导通,第二电源引脚212通过第二开关模块130与第一供电端220导通,从而能够使得第一电源引脚211、第二电源引脚212的电平可根据音频播放设备的类型发生改变,以实现对不同标准的音频播放设备的兼容。In the
请参阅图3,图3示出了本申请另一个实施例提供的切换控制电路的示意图,如图3所示,该切换控制电路100包括检测模块110、第一开关模块120以及第二开关模块130。Please refer to FIG. 3 . FIG. 3 shows a schematic diagram of a switching control circuit provided by another embodiment of the present application. As shown in FIG. 3 , the switching
其中,第一开关模块120还包括:第一开关单元121以及第二开关单元122。第一开关单元121与检测模块110、第二开关单元122连接,用于根据检测模块110检测的检测结果控制第二开关单元122的导通状态。在一些实施方式中,第一开关单元121、第二开关单元122可以是三极管、场效应管等可用作开关的器件,本实施例对此不作限定。The
其中,第二开关单元122,连接于第一电源引脚211与第一供电端220之间,第二开关单元122还连接于第二电源引脚212与第二供电端230之间。第一开关单元121与第二开关单元122用于在音频连接器210与音频播放设备的类型匹配时导通,不匹配时断开,以使得在类型匹配时,将通过第一开关模块120连接的第一电源引脚211与第一供电端220之间、第二电源引脚212与第二供电端230之间导通,以使得在类型匹配时,将通过第一开关模块120连接的第一电源引脚211与第一供电端220、第二电源引脚212与第二供电端230断开。The second switch unit 122 is connected between the first
另外,在一些实施例中,第二开关模块130可包括第三开关单元131,第三开关单元131与检测模块110连接,且第三开关单元131连接于第一电源引脚211与第二供电端230之间,第三开关单元131还连接于第二电源引脚212与第一供电端220之间。由于第三开关单元131的连接关系与第二开关模块130一致,则其工作原理也可参考第二开关模块130,在此不再赘述。In addition, in some embodiments, the
在一个实施例中,第一开关单元121、第二开关单元122、第三开关单元131可以均由绝缘栅场效应管构成,绝缘栅场效应管也称金属-氧化物-半导体型场效应管(Metal-Oxide-Semiconductor Field-Effect Transistor,MOSFET)、MOS管。MOS管包括两种类型,分别为N沟道型MOS管(即NMOS管)和P沟道型MOS管(即PMOS管)。由于不同类型的MOS管的导通电压不同,因此,第一开关单元121可根据检测模块110检测的电压导通或截止,进而控制第二开关单元122的导通或截止,以控制第一电源引脚211与第一供电端220的导通状态以及第二电源引脚212与第二供电端230的导通状态。In one embodiment, the first switch unit 121 , the second switch unit 122 , and the third switch unit 131 may all be composed of insulated gate field effect transistors, which are also called metal-oxide-semiconductor type field effect transistors. (Metal-Oxide-Semiconductor Field-Effect Transistor, MOSFET), MOS tube. There are two types of MOS tubes, namely N-channel type MOS tubes (ie NMOS tubes) and P-channel type MOS tubes (ie PMOS tubes). Since the turn-on voltages of different types of MOS transistors are different, the first switch unit 121 can be turned on or off according to the voltage detected by the
其中,MOS管是电压控制器件,栅极电流极小,MOS管饱和导通时产生的压降低,耗散功率小,效率也更高,并且由于MOS管的导通电阻小,效率高,适合大电流,成本低,因此利用MOS管实现切换控制电路100以实现对不同标准的音频播放设备的兼容,相较于其他使用集成好的开关芯片实现的方案而言,可大大降低成本、功耗,提高响应速度,使得响应速度达到微秒级。并且由于MOS管可根据电压实现导通或截止,还可无需额外增加控制电路来控制MOS管的导通状态。Among them, the MOS tube is a voltage control device, the gate current is extremely small, the voltage generated when the MOS tube is saturated and turned on is reduced, the power dissipation is small, and the efficiency is higher. High current and low cost, so using MOS tube to realize the switching
作为一种实施方式,第一开关单元121可以是NMOS管,第二开关单元122与第三开关单元131可以是PMOS管。在一个示例中,三个开关单元的连接关系可参阅图4,其示出了本申请一个示例性实施例提供的切换控制电路的示意图,如图4所示,第一开关单元121为MOS管Q1,类型为NMOS管,第二开关单元122为MOS管Q2,类型为PMOS管,第三开关单元131为MOS管Q3,类型为PMOS管。并具体地,Q1与Q3的栅极与电压检测引脚111连接,Q1的源极接地,Q1的漏极与Q2的栅极连接,Q2的源极与端口PORT1连接,Q2的漏极与输出端口OUT连接,Q3的源极与端口PORT2连接,Q3的漏极与输出端口OUT连接。另外,电阻R1、R2、R3可以是电阻,也可以是具有电阻特性的磁珠,还可以是其他具有电阻特性的元件等,本实施例对此不做限定。另外,第一开关单元121还通过电容C1接地,电容C1可用于通过交流,隔断直流。As an implementation manner, the first switch unit 121 may be an NMOS transistor, and the second switch unit 122 and the third switch unit 131 may be a PMOS transistor. In an example, the connection relationship of the three switch units can be referred to FIG. 4 , which shows a schematic diagram of a switching control circuit provided by an exemplary embodiment of the present application. As shown in FIG. 4 , the first switch unit 121 is a MOS transistor. Q1 is an NMOS transistor, the second switch unit 122 is a MOS transistor Q2 and a PMOS transistor, and the third switch unit 131 is a MOS transistor Q3 and a PMOS transistor. And specifically, the gates of Q1 and Q3 are connected to the
为简明示意,图4利用输出端口OUT指代用于连接第一电源引脚211与第二电源引脚212的电路,利用端口PORT1指代用于按第一电源引脚211连接第一供电端220、第二电源引脚212连接第二供电端230的方式进行连接的电路,利用端口PORT2指代用于按第一电源引脚211连接第二供电端230、第二电源引脚212连接第一供电端220的方式进行连接的电路。For the sake of simplicity, FIG. 4 uses the output port OUT to refer to the circuit for connecting the first
以电压检测引脚111检测目标电源引脚后的输入信号可为高电平或低电平为例,图4中,当电压检测引脚111输入为1(高电平)时,Q1、Q2导通,Q3截止,此时,输出端口OUT连通至端口PORT1,使得第一电源引脚211与第一供电端220之间导通、第二电源引脚212与第二供电端230导通,即第一电源引脚211连通电源正端,第二电源引脚212接地;当电压检测引脚111输入为0(低电平)时,Q1、Q2截止,Q3导通,此时,输出端口OUT连通至端口PORT2,使得第一电源引脚211与第二供电端230导通、第二电源引脚212与第一供电端220导通,即第一电源引脚211接地,第二电源引脚212连通电源正端。由此,切换控制电路100可通过检测目标电源引脚的电压,控制第一电源引脚211与第二电源引脚212的电平,以使得两个电源引脚的不同电平组合可支持不同标准的音频播放设备。Taking the input signal after the
作为另一种实施方式,第一开关单元121可以是PMOS管,第二开关单元122与第三开关单元131可以是NMOS管。在一个示例中,三个开关单元的连接关系可请参阅图5,其示出了一个示例性实施例提供的另一种切换控制电路的示意图,图5中输出端口OUT、端口PORT1、PORT2与图4中一致。如图5所示,第一开关单元121为MOS管Q1,类型为PMOS管,第二开关单元122为MOS管Q2,类型为NMOS管,第三开关单元131为MOS管Q3,类型为NMOS管。并具体地,Q1与Q3的栅极与电压检测引脚111连接,Q1的漏极与VDD连接,Q1的源极与Q2的栅极连接,Q2的源极与端口PORT1连接(具体地Q2的源极通过端口PORT1分别与第一供电端220、第二供电端230连接),Q2的漏极与输出端口OUT连接(具体地,Q2的漏极通过输出端口OUT分别与第一电源引脚211、第二电源引脚212连接),Q3的源极与端口PORT2连接(具体地Q3的源极通过端口PORT2分别与第一供电端220、第二供电端230连接),Q3的漏极与输出端口OUT连接(具体地,Q3的漏极通过输出端口OUT分别与第一电源引脚211、第二电源引脚212连接)。As another implementation manner, the first switch unit 121 may be a PMOS transistor, and the second switch unit 122 and the third switch unit 131 may be NMOS transistors. In an example, please refer to FIG. 5 for the connection relationship of the three switch units, which shows a schematic diagram of another switching control circuit provided by an exemplary embodiment. In FIG. 5, the output ports OUT, PORT1, PORT2 and consistent with Figure 4. As shown in FIG. 5 , the first switch unit 121 is a MOS transistor Q1 and the type is a PMOS transistor, the second switch unit 122 is a MOS transistor Q2 and the type is an NMOS transistor, and the third switch unit 131 is a MOS transistor Q3 and the type is an NMOS transistor. . And specifically, the gates of Q1 and Q3 are connected to the
以电压检测引脚111检测目标电源引脚后的输入信号可为高电平或低电平为例,图5中,当电压检测引脚输入为0(低电平)时,Q1、Q2导通,Q3截止,此时,输出端口OUT连通至端口PORT1,使得第一电源引脚211连通电源正端,第二电源引脚212接地;当电压检测引脚111输入为1(高电平)时,Q1、Q2截止,Q3导通,此时,输出端口OUT连通至端口PORT2,使得第一电源引脚211接地,第二电源引脚212连通电源正端。由此,切换控制电路100可通过检测目标电源引脚的电压,控制第一电源引脚211与第二电源引脚212的电平,以使得两个电源引脚的不同电平组合可支持不同标准的音频播放设备。Taking the input signal after the
在一些实施例中,第一电源引脚211和第二电源引脚212的位置如图2所示,且第一供电端220为电源正端以及第二供电端230为地端。此时,当输出端口OUT连通至端口PORT1时,第一电源引脚211连通至第一供电端220,即电源正端,可用于连接MIC脚,且第二电源引脚212连通至第二供电端230,即接地,可用于连接GND脚,则可支持美标耳机的正常工作;当输出端口OUT连通至端口PORT2时,第一电源引脚211连通至第二供电端230,即接地,可用于连接GND脚,第二电源引脚212连通至第一供电端220,即电源正端,可用于连接MIC脚,则可支持欧标耳机的正常工作。从而可实现对不同标准耳机的兼容。In some embodiments, the positions of the first
在一些实施例中,根据电压检测引脚111所检测的目标电源引脚的不同,音频连接器210与音频播放设备的类型匹配时所对应电压范围可能不同,也就是说,目标电源引脚可与第一电压范围、第二电压范围对应,若目标电源引脚不同,则第一电压范围、第二电压范围也可不同。因此,根据目标电源引脚的不同,电压检测引脚111输入至第一开关单元121、第三开关单元131的电平可能不同,因此目标电源引脚可以与MOS管组合对应,目标电源引脚不同时,可采用不同的MOS管组合,例如图4、5所示的MOS管组合或其他MOS管组合。In some embodiments, according to the different target power pins detected by the
在一个实施例中,请参阅图6,其示出了本申请一个示例性实施例提供的切换控制电路的工作原理示意图。在音频连接器210与第一供电端220、第二供电端230之间可设置对称的如图4所示的切换开关电路,电压检测引脚111与第一电源引脚211连接,且第一电压范围对应高电平、第二电压范围对应低电平,此时可采用如图4所示的MOS管组合(Q1为NMOS管且Q2、Q3为PMOS管)。则当欧标耳机插入音频连接器210时,第一电源引脚211与欧标耳机的MIC脚连接,第二电源引脚212与欧标耳机的GND脚连接,则电压检测引脚111检测到第一电源引脚211的电压处于第一电压范围,此时Q1、Q1’、Q2、Q2’导通,Q3、Q3’截止,输出端口OUT连通至端口PORT1,以使得第一电源引脚211连通至电源正端,如通过上拉电阻Rup连通至偏置电压VBIAS,第二电源引脚212接地,从而可支持欧标耳机的正常工作。In one embodiment, please refer to FIG. 6 , which shows a schematic diagram of the working principle of the switching control circuit provided by an exemplary embodiment of the present application. Between the
当美标耳机插入音频连接器210时,第一电源引脚211与美标耳机的GND脚连接,第二电源引脚212与美标耳机的MIC脚连接,则电压检测引脚111检测到第一电源引脚211的电压处于第二电压范围,此时Q1、Q1’、Q2、Q2’截止,Q3、Q3’导通,输出端口OUT连通至端口PORT2,以使得第一电源引脚211接地,第二电源引脚212连通至电源正端,从而可支持美标耳机的正常工作。When the American standard earphone is inserted into the
在另一个实施例中,请参阅图7,其示出了本申请一个示例性实施例提供的切换控制电路的工作原理示意图。在音频连接器210与第一供电端220、第二供电端230之间可设置对称的如图5所示的电路,电压检测引脚111与第二电源引脚212连接,且第一电压范围对应低电平、第二电压范围对应高电平,此时可采用如图5所示的MOS管组合(Q1为PMOS管且Q2、Q3为NMOS管)。则当美标耳机插入音频连接器210时,第一电源引脚211与美标耳机的MIC脚连接,第二电源引脚212与美标耳机的GND脚连接,则电压检测引脚111检测到第二电源引脚212的电压处于第一电压范围,此时Q1、Q1’、Q2、Q2’截止,Q3、Q3’导通,输出端口OUT连通至端口PORT2,以使得第一电源引脚211接地,第二电源引脚212连通至电源正端,如通过上拉电阻Rup连通至偏置电压VBIAS,从而可支持美标耳机的正常工作。In another embodiment, please refer to FIG. 7 , which shows a schematic diagram of the working principle of the switching control circuit provided by an exemplary embodiment of the present application. A symmetrical circuit as shown in FIG. 5 can be arranged between the
当欧标耳机插入音频连接器210时,第一电源引脚211与欧标耳机的GND脚连接,第二电源引脚212与欧标耳机的MIC脚连接,则电压检测引脚111检测到第二电源引脚211的电压处于第二电压范围,此时Q1、Q1’、Q2、Q2’导通,Q3、Q3’截止,输出端口OUT连通至端口PORT1,以使得第一电源引脚211连通至电源正端,第二电源引脚212接地,从而可支持欧标耳机的正常工作。When the European standard earphone is inserted into the
在一些实施例中,输出端口OUT连通至端口PORT2以使第一电源引脚211接地,第二电源引脚212连通至电源正端的具体实施方式可以有多种,作为一种实施方式,可以是如图6、7所示的,切换控制电路100还可包括第一反相器141和第二反相器142,此时,端口PORT1与端口PORT2均连接至相同的电源正端和地端,其中,端口PORT2通过第一反相器141连接至第一供电端220,通过第二反相器142连接至第二供电端230,使得输出端口OUT连通至端口PORT2时,第一电源引脚211相当于连通至地端,第二电源引脚212相当于连通至电源正端。从而通过使输出端口OUT连通端口PORT1或端口PORT2可支持不同类型的音频播放设备,实现兼容。In some embodiments, the output port OUT is connected to the port PORT2 so that the first
作为另一种实施方式,也可不采用第一反相器141和第二反相器142,端口PORT1的连接可如图6、7所示的不变,端口PORT2中与第一电源引脚211连接的引脚与第二供电端212连接,以连接地端,端口PORT2中与第二电源引脚212连接的引脚与第一供电端211连接,以连接电源正端。实现与端口PORT1相反的连接。As another implementation manner, the
另外,在一些实施例中,在目标电源引脚是第一电源引脚211时,与目标电源引脚是第二电源引脚212时,也可采用相同的MOS组合,但此时,作为一种实施方式,由于第一电源引脚211与第二电源引脚212的电平相反,因此在采用相同MOS管组合的情况下,若电压检测引脚111连接不同目标电源引脚,可在目标电源引脚与电压检测引脚111之间接入反相器,以使得目标电源引脚的电平经反相器翻转后才通过电压检测引脚111输入至第一开关单元121、第三开关单元131。In addition, in some embodiments, when the target power supply pin is the first
在一种实施方式中,可采用如图4所示的MOS管组合,电压检测引脚111与第一电源引脚211连接,如图6所示;在另一种实施方式中,可采用如图4所示的MOS管组合,电压检测引脚111通过反相器与第二电源引脚122连接,以将第二电源引脚122的实际电平翻转后输入至第一开关单元121与第三开关单元131;在又一种实施方式中,可采用如图5所示的MOS管组合,电压检测引脚111与第二电源引脚212连接,如图7所示;在还一种实施方式中,可采用如图5所示的MOS管组合,电压检测引脚111通过反相器与第二电源引脚212连接,以将第二电源引脚122的实际电平翻转后输入至第一开关单元121与第三开关单元131。In one embodiment, the combination of MOS transistors shown in FIG. 4 can be used, and the
在一个具体示例中,若采用如图4所示的MOS管组合,则输入为高电平时Q1、Q2导通且Q3截止,输入为低电平时Q1、Q2截止且Q3导通,此时电压检测引脚111可连接第一电源引脚211(如美标耳机的MIC脚或欧标耳机的GND脚),在电压检测引脚111输入为高电平时,将输出端口OUT连通至端口PORT1,输入为低电平时,将输出端口OUT连通至端口PORT2。In a specific example, if the combination of MOS transistors as shown in Figure 4 is used, when the input is at a high level, Q1 and Q2 are turned on and Q3 is turned off; when the input is at a low level, Q1 and Q2 are turned off and Q3 is turned on. At this time, the voltage The
当电压检测引脚111不连接第一电源引脚211、而是连接第二电源引脚212(如美标耳机的GND脚或欧标耳机的MIC脚)时,在电压检测引脚111与第二电源引脚212之间可接入反相器,则在第二电源引脚212对应的实际电平为低电平(相当于第二电源引脚212此时与耳机的GND脚连接)时,即此时所插入耳机为美标耳机,电压检测引脚111输入Q1、Q3的电平是高电平,将输出端口OUT连通至端口PORT1,以支持美标耳机。When the
在另一些实施方式中,为了在目标电源引脚是第一电源引脚211时,与目标电源引脚是第二电源引脚212时,也可采用相同的MOS组合,也可以不在目标电源引脚与电压检测引脚111之间接入反相器,而是在电压检测引脚111与第一开关单元121之间、电压检测引脚111与第三开关单元131之间接入反相器,原理可参考前述对反相器连接于目标电源引脚与电压检测引脚111之间的描述,在此不再赘述。可以理解的是,只要使得第一开关单元121、第三开关单元131所接收的电平信号发生翻转即可,本实施例对反相器的位置不作其他限定。In other embodiments, when the target power supply pin is the first
在一个示例中,电压检测引脚111与第一电源引脚211连接,电压检测引脚111检测第一电源引脚211后输入切换控制电路的输入信号为高电平或低电平。此时,当美标耳机插入音频连接器210时,第一电源引脚211与美标耳机的MIC脚连接,则电压检测引脚111输入为1(高电平),Q1、Q2导通,Q3截止,此时,输出端口OUT连通至端口PORT1,即第一电源引脚211连接第一供电端220,第二电源引脚212连接第二供电端230,使得美标耳机的MIC脚接电源正端,GND脚接地,以支持美标耳机的正常工作;当欧标耳机插入音频连接器210时,第一电源引脚211与欧标耳机的GND脚连接,则电压检测引脚111输入为0(低电平),Q1、Q2截止,Q3导通,此时,输出端口OUT连通至端口PORT2,即第一电源引脚211连接第二供电端230、第二电源引脚212连接第一供电端220,使得欧标耳机的GND脚接地,MIC脚接电源正端,以支持欧标耳机的正常工作。从而可实现对美标、欧标耳机的兼容。In an example, the
作为另一种实施方式,第一开关单元121可以是PMOS管,第二开关单元122与第三开关单元131可以是NMOS管。具体地,三个开关单元的连接关系可请参阅图5,其示出了一个示例性实施例提供的另一种切换控制电路的连接示意图,图5中输出端口OUT、端口PORT1、PORT2与图4中一致。如图5所示,第一开关单元121为PMOS管Q1,第二开关单元122为NMOS管Q2,第三开关单元131为NMOS管Q3。并具体地,Q1与Q3的栅极与电压检测引脚111连接,Q1的漏极与VDD连接,Q1的源极与Q2的栅极连接,Q2的源极与端口PORT1连接,Q2的漏极与输出端口OUT连接,Q3的源极与端口PORT2连接,Q3的漏极与输出端口OUT连接。As another implementation manner, the first switch unit 121 may be a PMOS transistor, and the second switch unit 122 and the third switch unit 131 may be NMOS transistors. Specifically, please refer to FIG. 5 for the connection relationship of the three switch units, which shows a schematic diagram of the connection of another switching control circuit provided by an exemplary embodiment. 4 are consistent. As shown in FIG. 5 , the first switch unit 121 is a PMOS transistor Q1 , the second switch unit 122 is an NMOS transistor Q2 , and the third switch unit 131 is an NMOS transistor Q3 . And specifically, the gates of Q1 and Q3 are connected to the
在另一个示例中,电压检测引脚111与第一电源引脚211连接,电压检测引脚111检测第一电源引脚211后输入切换控制电路的输入信号为高电平或低电平。此时,当美标耳机插入音频连接器210时,第一电源引脚211与美标耳机的MIC脚连接,则电压检测引脚输入为0(低电平)时,Q1、Q2导通,Q3截止,此时,输出端口OUT连通至端口PORT1,即第一电源引脚211连接第一供电端220,第二电源引脚212连接第二供电端230,使得美标耳机的MIC脚接电源正端,GND脚接地,以支持美标耳机的正常工作;当欧标耳机插入音频连接器210时,第一电源引脚211与欧标耳机的GND脚连接,则电压检测引脚111输入为1(高电平),Q1、Q2截止,Q3导通,此时,输出端口OUT连通至端口PORT2,即第一电源引脚211连接第二供电端230、第二电源引脚212连接第一供电端220,使得欧标耳机的GND脚接地,MIC脚接电源正端,以支持欧标耳机的正常工作。从而可实现对美标、欧标耳机的兼容。In another example, the
需要说明的是,本实施例未详细描述的部分可参考前述实施例,在此不再赘述。It should be noted that, for parts not described in detail in this embodiment, reference may be made to the foregoing embodiments, and details are not described herein again.
出于成本考虑目前市场上带有3.5mm耳机孔的移动终端大都不能同時支持用户插入美标耳机或者插入欧标耳机,当设计为仅支持识别美标耳机的终端在插入欧标耳机时,手机无任何响应或者有异常的伴奏声,而人声基本消除,声音空灵,导致用户体验较低。因此,本实施例通过提供利用MOS管作切换开关的切换控制电路,在音频播放设备与饮片连接器210连接时,通过电压检测引脚111检测与耳机MIC脚或GND脚连接的目标电源引脚的目标电压,以控制第一开关单元121、第二开关单元122以及第三开关单元131导通或截止,从而在目标电压处于不同电压范围时,可实现第一电源引脚211、第二电源引脚212与第一供电端220、第二供电端230之间的不同连接方式,由此实现对不同类型的音频播放设备,如不同标准的耳机的兼容,使得不同标准的耳机可连接终端设备并正常工作,大大提高用户体验。而且,相较于目前利用开关集成芯片实现兼容的方案而言,本实施例提供的切换控制电路,通过采用MOS管作切换开关来同时兼容美标耳机和欧标耳机,成本更低,功耗更小,响应速度在微秒级,响应速度更快并且不需要额外增加控制电路。并且由于MOS管可根据电压实现导通或截止,还可无需额外增加控制电路来控制MOS管的导通状态。Due to cost considerations, most mobile terminals with 3.5mm headphone jacks currently on the market cannot support users to insert American standard headphones or European standard headphones at the same time. There is no response or abnormal accompaniment sound, and the human voice is basically eliminated, and the sound is ethereal, resulting in a low user experience. Therefore, in this embodiment, by providing a switching control circuit using a MOS tube as a switching switch, when the audio playback device is connected to the
请参阅图8,本申请实施例还提供了一种终端设备80,该终端设备80可包括壳体810、设置于壳体810上的音频连接器210、设置于壳体810内的第一供电端220、第二供电端230以及如上述实施例所述的切换控制电路100。Referring to FIG. 8 , an embodiment of the present application further provides a
本实施例中,终端设备80可以是手机、MP3播放器(Moving Picture ExpertsGroup Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving PictureExperts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、笔记本电脑、台式电脑、可穿戴式设备或其他任意终端。In this embodiment, the
其中,切换控制电路100分别与音频连接器210、第一供电端220、第二供电端230连接。需要说明的是,图8中仅为示意,只需满足前述连接关系,至于切换控制电路100、音频连接器210、第一供电端220、第二供电端230在终端设备80的具体位置,本实施例不做限定。The switching
其中,音频连接器210用于与音频播放设备连接,例如音频连接器210可以是3.5mm耳机接口的耳机座,可用于与3.5mm耳机接口的耳机连接,使得耳机可通过音频连接器210与终端设备进行数据传输。The
当音频播放设备与音频连接器210连接时,终端设备80可基于前述实施例所述的切换控制电路100通过检测音频连接器210与音频播放设备的类型是否匹配,来选择音频连接器210中第一电源引脚211、第二电源引脚212与第一供电端220、第二供电230的连接方式,从而实现对不同类型的音频播放设备的兼容。When the audio playback device is connected to the
另外,本实施例也并不对壳体810的形状进行限定。In addition, this embodiment does not limit the shape of the
本领域技术人员可以理解,图8中示出的结构仅为示意,并不构成对终端设备80的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。Those skilled in the art can understand that the structure shown in FIG. 8 is for illustration only, and does not constitute a limitation to the
本实施例提供的终端设备80具有如前述实施例的有益效果,在此不再赘述。The
请参阅图9,其示出了本申请实施例还提供了一种切换控制方法,可应用于上述终端设备,该方法包括:Please refer to FIG. 9 , which shows that an embodiment of the present application further provides a handover control method, which can be applied to the above-mentioned terminal device, and the method includes:
步骤S110:在音频连接器与音频播放设备连接时,检测音频连接器与音频播放设备的类型是否匹配。Step S110: When the audio connector is connected to the audio playback device, it is detected whether the types of the audio connector and the audio playback device match.
步骤S120:在音频连接器与音频播放设备的类型匹配时,将第一电源引脚与第一供电端导通,将第二电源引脚与第二供电端导通。Step S120: When the audio connector matches the type of the audio playback device, the first power supply pin is connected to the first power supply terminal, and the second power supply pin is connected to the second power supply terminal.
步骤S130:在音频连接器与音频播放设备的类型不匹配时,将第一电源引脚与第二供电端导通,将第二电源引脚与第一供电端导通。Step S130: When the audio connector does not match the type of the audio playback device, connect the first power supply pin to the second power supply terminal, and connect the second power supply pin to the first power supply terminal.
本实施例中,电源正端的类型与电源负端或地端的类型相反,第一供电端和第二供电端的类型相反,即作为一种实施方式,第一供电端为电源正端,第二供电端可以为电源负端或地端。作为另一种实施方式,第一供电端为电源负端或地端,第二供电端可以为电源正端。In this embodiment, the type of the positive terminal of the power supply is opposite to that of the negative terminal of the power supply or the ground terminal, and the types of the first power supply terminal and the second power supply terminal are opposite, that is, as an embodiment, the first power supply terminal is the positive terminal of the power supply, and the second power supply terminal The terminal can be the negative terminal of the power supply or the ground terminal. As another implementation manner, the first power supply terminal is the negative terminal of the power supply or the ground terminal, and the second power supply terminal may be the positive terminal of the power supply.
由于可在音频连接器与音频播放设备连接时,自动检测音频连接器与音频播放设备的类型是否匹配,并在类型匹配时,将第一电源引脚与第一供电端导通,在类型不匹配时,将第一电源引脚与相反的第二供电端导通,与第二电源引脚导通第二供电端,在类型不匹配时,使得的类型相反。Because when the audio connector is connected to the audio playback device, it can automatically detect whether the type of the audio connector and the audio playback device match, and when the type matches, the first power supply pin and the first power supply terminal are conducted. When matching, the first power supply pin is connected to the opposite second power supply terminal, and the second power supply terminal is connected to the second power supply pin. When the types do not match, the types are reversed.
其中,上述步骤可参考前述实施例,另外,上述方法能够应用于上述切换控制电路和终端,即该方法能够以上述切换控制电路和终端为执行载体,并实现如上述实施例所述的有益效果,具体地,可参阅前述实施例,在此不再赘述。The above-mentioned steps may refer to the foregoing embodiments. In addition, the above-mentioned method can be applied to the above-mentioned switching control circuit and terminal, that is, the method can use the above-mentioned switching control circuit and terminal as an execution carrier, and achieve the beneficial effects described in the above-mentioned embodiments. , specifically, reference may be made to the foregoing embodiments, which will not be repeated here.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or some technical features thereof are equivalently replaced; and these modifications or replacements do not drive the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010130688.0A CN111314817B (en) | 2020-02-28 | 2020-02-28 | Switching control circuit, terminal equipment and switching control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010130688.0A CN111314817B (en) | 2020-02-28 | 2020-02-28 | Switching control circuit, terminal equipment and switching control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111314817A true CN111314817A (en) | 2020-06-19 |
| CN111314817B CN111314817B (en) | 2022-05-20 |
Family
ID=71147888
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010130688.0A Active CN111314817B (en) | 2020-02-28 | 2020-02-28 | Switching control circuit, terminal equipment and switching control method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111314817B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112003458A (en) * | 2020-08-24 | 2020-11-27 | 珠海智融科技有限公司 | Access pipe control circuit, power management chip and power device |
| CN113687707A (en) * | 2021-10-26 | 2021-11-23 | 苏州浪潮智能科技有限公司 | Power supply voltage control device of mainboard and server |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2012003720A1 (en) * | 2010-07-08 | 2012-01-12 | 中兴通讯股份有限公司 | Device and method for connecting earphones for mobile phone |
| US20130216061A1 (en) * | 2012-02-20 | 2013-08-22 | Chi Mei Communication Systems, Inc. | Electronic device and method for enabling open mobile terminal platform headsets and standard headsets to be compatible |
| CN203883981U (en) * | 2014-05-29 | 2014-10-15 | 包文韬 | Headset with microphone signal MIC and GND automatic switching function |
| CN203933930U (en) * | 2014-05-27 | 2014-11-05 | 深圳华智融科技股份有限公司 | Earphone interface circuit and portable electron device |
| CN104936055A (en) * | 2015-04-30 | 2015-09-23 | 上海锐鸿通信技术有限公司 | Terminal with earphone interface and earphone interface adaptive method |
| CN105979422A (en) * | 2016-06-29 | 2016-09-28 | 上海创功通讯技术有限公司 | Mobile terminal, and earphone base control system and method thereof |
| CN207052880U (en) * | 2017-08-01 | 2018-02-27 | 厦门美图移动科技有限公司 | The earphone interface and mobile terminal of a kind of mobile terminal |
| CN208836374U (en) * | 2018-09-14 | 2019-05-07 | 奇酷互联网络科技(深圳)有限公司 | Headphone device, mainboard and terminal |
-
2020
- 2020-02-28 CN CN202010130688.0A patent/CN111314817B/en active Active
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2012003720A1 (en) * | 2010-07-08 | 2012-01-12 | 中兴通讯股份有限公司 | Device and method for connecting earphones for mobile phone |
| US20130216061A1 (en) * | 2012-02-20 | 2013-08-22 | Chi Mei Communication Systems, Inc. | Electronic device and method for enabling open mobile terminal platform headsets and standard headsets to be compatible |
| CN203933930U (en) * | 2014-05-27 | 2014-11-05 | 深圳华智融科技股份有限公司 | Earphone interface circuit and portable electron device |
| CN203883981U (en) * | 2014-05-29 | 2014-10-15 | 包文韬 | Headset with microphone signal MIC and GND automatic switching function |
| CN104936055A (en) * | 2015-04-30 | 2015-09-23 | 上海锐鸿通信技术有限公司 | Terminal with earphone interface and earphone interface adaptive method |
| CN105979422A (en) * | 2016-06-29 | 2016-09-28 | 上海创功通讯技术有限公司 | Mobile terminal, and earphone base control system and method thereof |
| CN207052880U (en) * | 2017-08-01 | 2018-02-27 | 厦门美图移动科技有限公司 | The earphone interface and mobile terminal of a kind of mobile terminal |
| CN208836374U (en) * | 2018-09-14 | 2019-05-07 | 奇酷互联网络科技(深圳)有限公司 | Headphone device, mainboard and terminal |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112003458A (en) * | 2020-08-24 | 2020-11-27 | 珠海智融科技有限公司 | Access pipe control circuit, power management chip and power device |
| CN113687707A (en) * | 2021-10-26 | 2021-11-23 | 苏州浪潮智能科技有限公司 | Power supply voltage control device of mainboard and server |
| CN113687707B (en) * | 2021-10-26 | 2022-03-04 | 苏州浪潮智能科技有限公司 | Power supply voltage control device of mainboard and server |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111314817B (en) | 2022-05-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9338570B2 (en) | Method and apparatus for an integrated headset switch with reduced crosstalk noise | |
| US7912501B2 (en) | Audio I/O headset plug and plug detection circuitry | |
| US9215526B2 (en) | Circuit for microphone pin assignment detection and method thereof | |
| KR20040018058A (en) | Apparatus for detecting the earjack plug | |
| CN102457793B (en) | Earphone interface circuit and there is the electronic installation of this earphone interface circuit | |
| CN111314817B (en) | Switching control circuit, terminal equipment and switching control method | |
| CN104244160A (en) | Electronic device capable of being debugged through earphone port | |
| CN102768558A (en) | All-in-one computer having function of muting loudspeaker | |
| US12135914B2 (en) | Audio circuit, and device and control method related thereto | |
| US8050428B2 (en) | Audio signal transmission circuit | |
| WO2019062717A1 (en) | Playback device, and plaback method based on playback device | |
| JP2017529734A (en) | Mobile terminal | |
| CN103974169B (en) | Audio processing device and audio processing method | |
| WO2020192376A1 (en) | Determination circuit for positive and negative ends of earphone mic, method, and electronic device | |
| CN116156389A (en) | Audio crosstalk optimization circuit, audio crosstalk optimization method and terminal equipment | |
| CN105187985B (en) | Earphone with microphone signal MIC Yu GND automatic switching functions | |
| CN109254753B (en) | Audio signal interface circuit and device, control method, and playback device | |
| CN115426591A (en) | Earphone plug noise elimination circuit and mobile device | |
| CN208971820U (en) | Earphone insertion detection circuit, earphone isolation circuit and electronic equipment | |
| US11457307B2 (en) | Headphone driver and driving method thereof | |
| CN205105382U (en) | Circuit of eliminating earphone plug POP sound reaches electronic equipment including this circuit | |
| TWI789712B (en) | Headphone driver and driving method thereof | |
| TWI763028B (en) | Method and audio receiver capable of effectively reducing or avoiding current noise | |
| CN110166878A (en) | Headset switch control circuit, headset switch control method and electronic equipment | |
| CN203590424U (en) | Earphone output circuit for suppressing POP sound |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |