[go: up one dir, main page]

WO2024011975A1 - Type-C插入方向的检测电路、线路板和电子设备 - Google Patents

Type-C插入方向的检测电路、线路板和电子设备 Download PDF

Info

Publication number
WO2024011975A1
WO2024011975A1 PCT/CN2023/088147 CN2023088147W WO2024011975A1 WO 2024011975 A1 WO2024011975 A1 WO 2024011975A1 CN 2023088147 W CN2023088147 W CN 2023088147W WO 2024011975 A1 WO2024011975 A1 WO 2024011975A1
Authority
WO
WIPO (PCT)
Prior art keywords
resistor
terminal
switch tube
type
switch
Prior art date
Application number
PCT/CN2023/088147
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 中兴通讯股份有限公司
Priority to EP23838477.0A priority Critical patent/EP4513213A4/en
Priority to JP2024565177A priority patent/JP2025514522A/ja
Publication of WO2024011975A1 publication Critical patent/WO2024011975A1/zh

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
    • G01R31/66Testing of connections, e.g. of plugs or non-disconnectable joints
    • G01R31/68Testing of releasable connections, e.g. of terminals mounted on a printed circuit board
    • G01R31/69Testing of releasable connections, e.g. of terminals mounted on a printed circuit board of terminals at the end of a cable or a wire harness; of plugs; of sockets, e.g. wall sockets or power sockets in appliances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling

Definitions

  • This application relates to, but is not limited to, the technical field of detection circuits, and in particular, to a detection circuit for Type-C insertion direction, circuit boards and electronic equipment.
  • Type-C insertion direction detection chip uses a dedicated Type-C insertion direction detection chip to detect the Type-C insertion direction.
  • the cost of using chip detection is high, and the chip is controlled by software and may cause instability after long-term use, affecting the Type-C insertion direction.
  • -C detection of insertion direction uses a dedicated Type-C insertion direction detection chip to detect the Type-C insertion direction.
  • Embodiments of the present application provide a Type-C insertion direction detection circuit, a circuit board, and an electronic device.
  • inventions of the present application provide a detection circuit for Type-C insertion direction, which is applied to electronic equipment.
  • the electronic equipment includes a Type-C socket.
  • the detection circuit includes: a switch module, and the switch module
  • the input terminal is configured to be connected to the VBUS terminal of the Type-C socket
  • the input terminal of the switch module is connected to the first CC terminal and/or the second CC terminal of the Type-C socket
  • the switch module is configured to The conduction state is changed according to receiving the first level input from the first CC terminal and/or the second CC terminal at the input terminal, and outputting a second level at the driving terminal of the switch module, so that the The electronic device determines the plugging relationship between the Type-C plug and the Type-C socket according to the second level.
  • this application also provides a circuit board, including the detection circuit as described in any embodiment of the first aspect.
  • this application also provides an electronic device, including the circuit board according to any embodiment of the second aspect.
  • Figure 1 is a circuit diagram of a Tpye-C insertion direction detection circuit according to an embodiment of the present application
  • FIG. 2 is a circuit diagram of a Tpye-C insertion direction detection circuit according to another embodiment of the present application.
  • FIG. 3 is a circuit diagram of a Tpye-C insertion direction detection circuit according to another embodiment of the present application.
  • Figure 4 is a schematic diagram of a circuit board according to an embodiment of the present application.
  • Figure 5 is a schematic diagram of an electronic device according to an embodiment of the present application.
  • Type-C is a new interface developed by the USB standardization organization in order to solve the long-term disadvantages of USB interfaces such as inconsistent physical interface specifications and the fact that power can only be transmitted in one direction. Its biggest feature in appearance is that its upper and lower ends are exactly the same, and it supports both front and back. Directional insertion, compared with Micro-USB, users no longer need to distinguish the front and back of the USB. And it integrates charging, display, data transmission and other functions. Due to its excellent performance, it has quickly been widely used in the field of electronic equipment.
  • Type-C insertion direction detection chip uses a dedicated Type-C insertion direction detection chip to detect the Type-C insertion direction, that is, through a program to detect whether the CC pin on the socket is connected to the CC1 pin in the plug or to the CC2 pin in the plug, so as to Determine whether the Type-C plug is inserted from side A or side B, thereby controlling the switching position of USB3.0.
  • this method uses the chip to be controlled by software, which may lead to instability after long-term use, affecting the detection of the Type-C insertion direction.
  • this application provides a detection circuit for Type-C insertion direction, which is applied to electronic equipment.
  • the detection circuit includes: a switch module, the input end of the switch module is configured to be connected to the VBUS end of the Type-C socket, The input end of the switch module is connected to the first CC end and/or the second CC end of the Type-C socket, and the switch module is configured to receive a first level input from the first CC end and/or the second CC end at the input end. to change the conduction state and output a second level at the driving end of the switch module, so that the electronic device determines the plugging relationship between the Type-C plug and the Type-C socket based on the second level.
  • a switch module is used to connect to the Type-C socket.
  • the VBUS terminal is used as the input terminal to provide voltage guarantee for the output level of the output terminal.
  • the switch module uses internal electronic components to adjust the voltage according to the level of the first CC terminal and/or the second CC terminal. Changes its own conduction state, thus changing the current flow from the input end to the output end.
  • the driver end is set to feedback the plug-in relationship between the Type-C plug and the Type-C socket, that is, whether the Type-C plug is inserted into side A or side B. Inserted, this application enables electronic components within the switch module to The device detects the insertion direction of the Type-C plug, effectively reducing circuit costs and improving circuit reliability.
  • the switch module when the electronic device is a Device device, that is, a driving device, in which the first CC terminal of the Type-C socket is grounded through the first resistor R1, the switch module includes a first switch tube Q1, and the first The input end of the switch Q1 is connected to the VBUS end, the control end of the first switch Q1 is connected to the second CC end, and the output end of the first switch Q1 is grounded; the detection circuit also includes a delay filter circuit, and a delay filter circuit The input terminal of is connected between the input terminal of the first switch Q1 and the VBUS terminal, and the output terminal of the delay filter circuit is the driving terminal.
  • USB_VBUS terminal when the A side of the Type-C plug is inserted into the Type-C socket, the USB_VBUS terminal is high level, USB_CC1 is high level, and USB_CC2 is low level, so the first switch Q1 No conduction, the driver end USB_DIR is high level;
  • USB_VBUS end when the B side of the Type-C plug is inserted into the Type-C socket, the USB_VBUS end is high level, USB_CC1 is low level, USB_CC2 is high level, so the first When the switch Q1 is turned on, the current flows from USB_VBUS directly to the ground through Q1 without passing through the delay filter circuit, and the driving end USB_DIR is low level.
  • the first resistor R1 is 5.1 k ⁇ , which is not limited in this application.
  • the Device device can be a memory device, such as a USB flash drive, MP3 electronic device, hard disk, etc.
  • a second resistor R2 is provided between the input terminal of the first switch Q1 and the VBUS terminal.
  • the second resistor R2 is a pull-up resistor, so that the input terminal of the first switch Q1 remains at a high level, and Improved the stability of the detection circuit.
  • the second resistor R2 is 47k ⁇ , which is not limited in this application.
  • the switch module also includes a second switch Q2.
  • the second switch Q2 is disposed between the input end of the first switch Q1 and the delay filter circuit.
  • the input end of the second switch Q2 passes through the third resistor R3.
  • the control terminal of the second switch Q2 is connected between the input terminal of the first switch Q1 and the second resistor R2, the output terminal of the second switch Q2 is connected to ground, and the input terminal of the delay filter circuit is connected to between the input terminal of the second switch Q2 and the third resistor R3.
  • a second switch transistor Q2 is added, which plays the role of logic inversion.
  • the USB_VBUS terminal is high level
  • USB_CC1 is high level
  • USB_CC2 is low level
  • the first switch Q1 is not conductive.
  • USB_DIR is at a low level
  • the USB_VBUS terminal is high level
  • USB_CC1 is low level
  • USB_CC2 is high level
  • USB_CC2 is high level
  • the first switch Q1 is turned on and the second switch Q2 is not turned on, then USB_DIR is high level.
  • the level of the driving terminal USB_DIR is synchronized with the level of the second CC terminal USB_CC2.
  • the third resistor R3 and the second resistor R2 both function as pull-up resistors, keeping the potentials at the input terminals of the first switch Q1 and the second switch Q2 at a high level respectively, thereby improving the stability of the detection circuit. sex.
  • the third resistor R3 is 47 k ⁇ , which is not limited in this application.
  • the delay filter circuit includes a fourth resistor R4 and a first capacitor C1.
  • One end of the fourth resistor R4 is connected to one end of the first capacitor C1, and the other end of the fourth resistor R4 is connected to the second switch Q2.
  • the driving terminal is disposed between the fourth resistor R4 and the first capacitor C1.
  • the delay filter circuit is used to eliminate the interference signal on the USB_VBUS and meet the power-on and power-down sequence of the first switch transistor Q1 and the second switch transistor Q2.
  • the fourth resistor R4 is 1 k ⁇
  • the first capacitor C1 is 10 nF, which is not limited in this application.
  • the detection circuit provided by this application also includes a fifth resistor R5 and a sixth resistor R6.
  • One end of the fifth resistor R5 and one end of the sixth resistor R6 are connected to the control end of the first switch Q1.
  • the fifth resistor R5 The other end of R5 is connected to the second CC end of the first Type-C socket, and the other end of the sixth resistor R6 is connected to ground.
  • the fifth resistor R5 plays the role of The protection resistor functions to prevent excessive voltage from damaging the first switch transistor Q1 and plays a certain voltage dividing role.
  • the sixth resistor R6 is a pull-down resistor, which improves the stability of the detection circuit.
  • connection positions of the first CC terminal USB_CC1 and the second CC terminal USB_CC2 can be interchanged, and this application does not limit this.
  • first switching transistor Q1 and the second switching transistor Q2 may be transistors or field effect transistors.
  • the first switching transistor Q1 and the second switching transistor Q2 are NPN transistors.
  • the input terminals of the switching tube Q1 and the second switching tube Q2 are the collectors of the NPN transistor
  • the control terminals of the first switching tube Q1 and the second switching tube Q2 are the base stages of the NPN transistor
  • the first switching tube Q1 and the second switching tube Q2 The output terminal of the switch Q2 is the emitter stage of the NPN transistor.
  • the switch module when the electronic device is a Host device, that is, the main device, the switch module includes a third switch tube Q3 and a fourth switch tube Q4.
  • the input end of the third switch tube Q3 is connected to the Tpye-C socket.
  • the VBUS terminal is connected
  • the control terminal of the third switch tube Q3 is connected to the first CC terminal of the Type-C socket and is connected to the VBUS terminal through the first resistor network
  • the output terminal of the third switch tube Q3 is sequentially connected through the seventh resistor R7,
  • the eighth resistor R8 and the ninth resistor R9 are grounded, and an enable terminal is provided between the seventh resistor R7 and the eighth resistor R8.
  • the enable terminal is set to indicate whether a Type-C socket is connected, and can also be set to The subsequent driver chip supplies power; the input end of the fourth switch Q4 is connected to the VBUS end of the Type-C socket, the control end of the fourth switch Q4 is connected to the second CC end of the Type-C socket and is connected to the Type-C socket through the second resistor network.
  • the VBUS terminal is connected, and the output terminal of the fourth switching tube Q4 is connected between the eighth resistor R8 and the ninth resistor R9; the driving terminal is set between the eighth resistor R8 and the ninth resistor R9 through the tenth resistor R10.
  • the seventh resistor R7, the eighth resistor R8 and the ninth resistor R9 form a series voltage dividing circuit to affect the driving end level of the Type-C plug when the A side is inserted or the B side is inserted.
  • the USB_VBUS terminal is at a high level.
  • the first CC terminal USB_CC1 is connected to the pull-down resistor of the CC terminal in the Type-C plug, so that the USB_CC1 terminal is Low level, thus causing the third switch Q3 to conduct.
  • the fourth switch Q4 does not meet the conditions for conduction, so the fourth switch Q4 does not conduct, and the current flows from The VBUS terminal flows out through the output terminal of the third switch Q3, and then presents a high level at the enable terminal after passing through the seventh resistor R7.
  • the voltage dividing circuit formed by the seventh resistor R7, the eighth resistor R8 and the ninth resistor R9 Causes the driver end to output a low level; similarly, when the B side of the Type-C plug is inserted into the Type-C socket, the USB_VBUS end is high level.
  • the second CC end USB_CC2 is connected to the pull-down of the CC end of the Type-C plug.
  • the resistor causes the USB_CC2 terminal to be at a low level, thereby causing the fourth switch tube Q4 to be turned on.
  • the third switch tube Q3 does not meet the conduction conditions, so the third switch tube Q3 No conduction, the current flows out from the VBUS terminal through the output terminal of the fourth switch Q4, and after passing through the eighth resistor R8, it presents a high level at the enable terminal and after passing through the tenth resistor R10, it presents a high level at the driving terminal.
  • the driving end when the driving end is low level, it means that the Type-C plug is inserted into the Type-C socket from the A side; when the driving end is high level, it means that the Type-C plug is inserted into the Type-C socket from the A side.
  • the driving end when the driving end is low, it means that the Type-C plug is inserted into the Type-C socket from the B side.
  • the third switch Q3 and the fourth switch Q4 and multiple resistor quotas hardware is used to detect the insertion direction of the Type-C plug, which effectively reduces the circuit cost and improves the reliability of the circuit.
  • the Host device can be a computer, a background controller, and other devices.
  • the seventh resistor R7 and the enable terminal are connected to ground through the second capacitor C2.
  • the driving terminal is provided between the eighth resistor R8 and the ninth resistor R9 through the tenth resistor R10.
  • the tenth resistor R10 and the driving terminal The third capacitor C3 is connected to the ground.
  • the circuit composed of the second capacitor C2, the tenth resistor R10 and the third capacitor C3 plays a filtering role to make the levels of the enable end and the drive end more stable.
  • the second capacitor C2 and the third capacitor C3 may be 0.1 ⁇ F
  • the tenth resistor R10 may be 1 k ⁇ , which is not limited in this application.
  • the first resistor network includes an eleventh resistor R11, a twelfth resistor R12 and a thirteenth resistor R13, One ends of the eleventh resistor R11, the twelfth resistor R12, and the thirteenth resistor R13 are connected to each other, the other end of the eleventh resistor R11 is connected to the VBUS terminal, and the other end of the twelfth resistor R12 is connected to the first CC terminal.
  • the other end of the thirteenth resistor R13 is connected to the control end of the third switch Q3;
  • the second resistor network includes a fourteenth resistor R14, a fifteenth resistor R15 and a sixteenth resistor R16.
  • the resistances of the eleventh resistor R11 and the fourteenth resistor R14 are 12k ⁇
  • the resistances of the twelfth resistor R12 and the fifteenth resistor R15 are 27k ⁇
  • the resistances of the thirteenth resistor R11 and R15 are 27k ⁇ .
  • the resistance value of the resistor R13 and the sixteenth resistor R16 is 4.7k ⁇ . There is no specific restriction on the specific resistance value of the above resistor in this application.
  • the third switching transistor Q3 and the fourth switching transistor Q4 may be transistors or field effect transistors.
  • the third switching transistor Q3 and the fourth switching transistor Q4 are PNP transistors.
  • the input terminals of the switching tube Q3 and the fourth switching tube Q4 are the emitter stages of the PNP type triode
  • the control terminals of the third switching tube Q3 and the fourth switching tube Q4 are the base stages of the PNP type triode
  • the third switching tube Q3 and the fourth switching tube Q4 The output terminal of the switch Q4 is the collector of the PNP transistor.
  • This application also provides a circuit board, which includes the Type-C insertion direction detection circuit of any one of the above embodiments.
  • this application also provides an electronic device, including the circuit board of the above embodiment.
  • Embodiments of the present application include: using a switch module to connect to the Type-C socket.
  • the input end of the switch module is connected to the VBUS end of the Type-C socket to provide the output with the control end of the switch module and the Type-C socket.
  • the first CC terminal and/or the second CC terminal are connected, the output terminal of the switch module is the driving terminal, and the VBUS terminal is used as the input terminal, which provides a voltage guarantee for the output level of the output terminal.
  • the switch module passes the internal electronic components according to the first The level of the first CC terminal and/or the second CC terminal changes its conduction state, thereby changing the current flow from the input terminal to the output terminal.
  • the driver terminal is set to feedback the plugging relationship between the Type-C plug and the Type-C socket. That is, it provides feedback whether the Type-C plug is inserted from side A or side B.
  • This application can detect the insertion direction of the Type-C plug through the electronic components in the switch module, effectively reducing circuit costs and improving circuit reliability.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Details Of Connecting Devices For Male And Female Coupling (AREA)

Abstract

一种Type-C插入方向的检测电路、线路板和电子设备,涉及检测电路技术领域,其中该检测电路应用于电子设备,电子设备包括Type-C插座,检测电路包括:开关模块,开关模块的输入端设置为与Type-C插座的VBUS端连接,开关模块的输入端与Type-C插座的第一CC端和/或第二CC端连接,开关模块设置为根据在输入端接收第一CC端和/或第二CC端输入的第一电平以改变导通状态,并在开关模块的驱动端输出第二电平,以使电子设备根据第二电平以确定Type-C插头和Type-C插座的插接关系。

Description

Type-C插入方向的检测电路、线路板和电子设备
相关申请的交叉引用
本申请基于申请号为202210815132.4、申请日为2022年07月12日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本申请涉及但不限于检测电路技术领域,尤其涉及一种Type-C插入方向的检测电路、线路板和电子设备。
背景技术
相关技术使用专用的Type-C插入方向检测芯片对Type-C插入方向进行检测,但该采用芯片检测的方式成本高,且芯片通过软件的控制在长期使用后可能导致不稳定的现象,影响Type-C插入方向的检测。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本申请实施例提供了一种Type-C插入方向的检测电路、线路板和电子设备。
第一方面,本申请实施例提供了一种Type-C插入方向的检测电路,应用于电子设备,所述电子设备包括Type-C插座,所述检测电路包括:开关模块,所述开关模块的输入端设置为与所述Type-C插座的VBUS端连接,所述开关模块的输入端与所述Type-C插座的第一CC端和/或第二CC端连接,所述开关模块设置为根据在所述输入端接收所述第一CC端和/或第二CC端输入的第一电平以改变导通状态,并在所述开关模块的驱动端输出第二电平,以使所述电子设备根据所述第二电平以确定Type-C插头和所述Type-C插座的插接关系。
第二方面,本申请还提供了一种线路板,包括如第一方面任意一项实施例所述的检测电路。
第三方面,本申请还提供了一种电子设备,包括如第二方面任意一项实施例所述的线路板。
本申请的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。
附图说明
附图用来提供对本申请技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本申请的技术方案,并不构成对本申请技术方案的限制。
图1是本申请的一个实施例的Tpye-C插入方向的检测电路的电路图;
图2是本申请的另一实施例的Tpye-C插入方向的检测电路的电路图;
图3是本申请的另一实施例的Tpye-C插入方向的检测电路的电路图;
图4是本申请的一个实施例的线路板的示意图;
图5是本申请的一个实施例的电子设备的示意图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。
需要说明的是,虽然在装置示意图中进行了功能模块划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置中的模块划分,或流程图中的顺序执行所示出或描述的步骤。说明书、权利要求书或上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
还应当理解,在本申请实施例说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请实施例的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。
近年来,大部分的设备都采用Type-C作为电子设备的接口类型,是一种全新的通用串行总线硬件接口形式,它伴随最新的USB3.1标准横空出世。Type-C是USB标准化组织为了解决USB接口长期以来物理接口规范不统一,电能只能单向传输等弊端而制定的全新接口,其外观上最大特点在于其上下端完全一致,支持正反2个方向插入,与Micro-USB相比用户不必再区分USB正反面。并且它集充电,显示,数据传输等功能于一身。由于其优良的性能,迅速在电子设备领域得到了广泛的应用,目前几乎所有新生代移动通讯设备都支持TYPE-C接口。相关技术使用专用的Type-C插入方向检测芯片对Type-C插入方向进行检测,即通过程序检测插座上的CC引脚与插头中的CC1引脚连接还是与插头中的CC2引脚连接,以判断Type-C插头是A面插入还是B面插入,从而控制USB3.0的切换位置。但这种方式采用芯片通过软件的控制在长期使用后可能导致不稳定的现象,影响Type-C插入方向的检测。
下面结合附图,对本申请实施例作进一步阐述。
第一方面,本申请提供了一种Type-C插入方向的检测电路,其应用于电子设备,该检测电路包括:开关模块,开关模块的输入端设置为与Type-C插座的VBUS端连接,开关模块的输入端与Type-C插座的第一CC端和/或第二CC端连接,开关模块设置为根据在输入端接收第一CC端和/或第二CC端输入的第一电平以改变导通状态,并在开关模块的驱动端输出第二电平,以使电子设备根据第二电平以确定Type-C插头和Type-C插座的插接关系。采用开关模块与Type-C插座相连,VBUS端作为输入端,为输出端的输出电平提供了电压保证,开关模块通过内部的电子元器件根据第一CC端和/或第二CC端的电平以改变自身的导通状态,从而改变输入端到输出端的电流流通情况,驱动端设置为反馈Type-C插头和Type-C插座的插接关系,即反馈Type-C插头是A面插入还是B面插入,本申请能够通过开关模块内的电子元 器件检测Type-C插头的插入方向,有效降低了电路成本以及提高了电路的可靠性。
参照图1,在一个实施例中,当电子设备为Device设备,即驱动设备,其中,Type-C插座的第一CC端通过第一电阻R1接地,开关模块包括第一开关管Q1,第一开关管Q1的输入端与VBUS端连接,第一开关管Q1的控制端与第二CC端连接,第一开关管Q1的输出端接地;该检测电路还包括延时滤波电路,延时滤波电路的输入端连接于第一开关管Q1的输入端和VBUS端之间,延时滤波电路的输出端为驱动端。在本实施例提供的电路中,当Type-C插头的A面插入至Type-C插座时,USB_VBUS端为高电平,USB_CC1为高电平,USB_CC2为低电平,因此第一开关管Q1不导通,驱动端USB_DIR为高电平;当Type-C插头的B面插入至Type-C插座时,USB_VBUS端为高电平,USB_CC1为低电平,USB_CC2为高电平,因此第一开关管Q1导通,则电流从USB_VBUS经过Q1直接流至地端,不经过延时滤波电路,驱动端USB_DIR为低电平。即从该实施例中,当检测到USB_DIR处的电平为高电平时,则表示Type-C的插入方向为A面插入,当检测到USB_DIR为低电平时,则表示Type-C的插入方向为B面插入。同时,在一实施例中,第一电阻R1取5.1kΩ,在本申请对此不作限定。
需要说明的是,Device设备可以为存储器设备,如U盘、MP3电子设备、硬盘等。
继续参照图1,第一开关管Q1的输入端与VBUS端之间设有第二电阻R2,第二电阻R2为上拉电阻,使得第一开关管Q1的输入端保持在高电平,且提高了该检测电路的稳定性。在一实施例中,第二电阻R2取47kΩ,在本申请对此不作限定。
参照图2,开关模块还包括第二开关管Q2,第二开关管Q2设置于第一开关管Q1的输入端和延时滤波电路之间,第二开关管Q2的输入端通过第三电阻R3与VBUS端连接,第二开关管Q2的控制端连接于第一开关管Q1的输入端和第二电阻R2之间,第二开关管Q2的输出端接地,延时滤波电路的输入端连接于第二开关管Q2的输入端与第三电阻R3之间。为了使驱动端USB_DIR的电平与第二CC端USB_CC2的电平同步,在图2的电路图方案中,新增了第二开关管Q2,起到了逻辑反转的作用。在一个实施例中,当Type-C插头的A面插入至Type-C插座时,USB_VBUS端为高电平,USB_CC1为高电平,USB_CC2为低电平,则第一开关管Q1不导通,使得第二开关管Q2的控制端为高电平,第二开关管Q2导通,因此驱动端USB_DIR为低电平;当Type-C插头的B面插入至Type-C插座时,USB_VBUS端为高电平,USB_CC1为低电平,USB_CC2为高电平,此时第一开关管Q1导通,第二开关管Q2不导通,则USB_DIR为高电平,通过图2提供的电路图,使得驱动端USB_DIR的电平与第二CC端USB_CC2的电平同步。第三电阻R3和第二电阻R2起到的作用均为上拉电阻的作用,分别使得第一开关管Q1、第二开关管Q2输入端的电位保持在高电平,提高了该检测电路的稳定性。在一实施例中,第三电阻R3取47kΩ,在本申请对此不作限定。
继续参照图2,延时滤波电路包括第四电阻R4和第一电容C1,第四电阻R4的一端与第一电容C1的一端连接,第四电阻R4的另一端连接于第二开关管Q2的输入端和第三电阻R3之间,第一电容C1的另一端接地,驱动端设置于第四电阻R4和第一电容C1之间。通过该延时滤波电路消除USB_VBUS上的干扰信号,并满足第一开关管Q1和第二开关管Q2上下电时序。在一实施例中,第四电阻R4取1kΩ,第一电容C1为10nF,在本申请对此不作限定。
继续参照图2,本申请提供的检测电路还包括第五电阻R5和第六电阻R6,第五电阻R5的一端与第六电阻R6的一端与第一开关管Q1的控制端连接,第五电阻R5的另一端与第一Type-C插座的第二CC端连接,第六电阻R6的另一端接地。在该电路中,第五电阻R5起到 保护电阻的作用,以免电压过大对第一开关管Q1造成损坏,起到一定的分压作用,而第六电阻R6为下拉电阻,提高了该检测电路的稳定性。
需要说明的是,第一CC端USB_CC1和第二CC端USB_CC2的连接位置可以互换,本申请对此不作限定。
需要说明的是,第一开关管Q1和第二开关管Q2可为三极管或场效应管,在本申请的实施例中,第一开关管Q1和第二开关管Q2为NPN型三极管,第一开关管Q1和第二开关管Q2的输入端为NPN型三极管的集电极,第一开关管Q1和第二开关管Q2的控制端为NPN型三极管的基级,第一开关管Q1和第二开关管Q2的输出端为NPN型三极管的发射级。
参照图3,在另一实施例中,当电子设备为Host设备,即主设备,开关模块包括第三开关管Q3和第四开关管Q4,第三开关管Q3的输入端与Tpye-C插座的VBUS端连接,第三开关管Q3的控制端与Type-C插座的第一CC端连接且通过第一电阻网络与VBUS端连接,第三开关管Q3的输出端依次通过第七电阻R7、第八电阻R8和第九电阻R9接地,第七电阻R7和第八电阻R8之间设有使能端,该使能端设置为表示是否有Type-C插口接入,同时还可设置为为后续的驱动芯片供电;第四开关管Q4的输入端与Type-C插座的VBUS端连接,第四开关管Q4的控制端与Type-C插座的第二CC端连接且通过第二电阻网络与VBUS端连接,第四开关管Q4的输出端与第八电阻R8和第九电阻R9之间连接;驱动端通过第十电阻R10设置于第八电阻R8和第九电阻R9之间。其中,第七电阻R7、第八电阻R8和第九电阻R9构成串联分压电路,以能够影响到Type-C插头在A面插入时或B面插入时的驱动端电平情况。在一个实施例中,当Type-C插头A面插入至Type插头内,USB_VBUS端为高电平,此时,第一CC端USB_CC1接入Type-C插头内CC端的下拉电阻,使得USB_CC1端为低电平,从而使得第三开关管Q3导通,由于VBUS端与第二电阻网络的作用,使得第四开关管Q4不满足导通的条件,因此第四开关管Q4不导通,电流从VBUS端经过第三开关管Q3的输出端流出,经过第七电阻R7后在使能端呈现高电平,同时由于第七电阻R7、第八电阻R8和第九电阻R9形成的分压电路,使得驱动端输出低电平;同理,当Type-C插头B面插入至Type-C插座时,USB_VBUS端为高电平,此时,第二CC端USB_CC2接入Type-C插头CC端的下拉电阻,使得USB_CC2端为低电平,从而使得第四开关管Q4导通,由于VBUS端与第一电阻网络的作用,使得第三开关管Q3不满足导通的条件,因此第三开关管Q3不导通,电流从VBUS端经过第四开关管Q4的输出端流出,分别经过第八电阻R8后在使能端呈现高电平和经过第十电阻R10后在驱动端呈现高电平。即当驱动端为低电平时,表示Type-C插头是A面插入至Type-C插座中;当驱动端为高电平时,表示Type-C插头是A面插入于Type-C插座内,当驱动端为低电平时,表示Type-C插头是B面插入于Type-C插座内。通过第三开关管Q3和第四开关管Q4以及多个电阻配额,采用硬件的方式检测Type-C插头的插入方向,有效降低了电路成本以及提高了电路的可靠性。
需要说明的是,Host设备可以为计算机、后台控制器等设备。
继续参照图3,第七电阻R7和使能端之间通过第二电容C2接地,驱动端通过第十电阻R10设置于第八电阻R8和第九电阻R9之间,第十电阻R10和驱动端之间通过第三电容C3接地,其中该第二电容C2和第十电阻R10与第三电容C3组成的电路起到滤波的作用,使得使能端和驱动端的电平更加稳定,其中在一实施例中,第二电容C2和第三电容C3可取0.1μF,第十电阻R10可取1kΩ,在本申请对此不作限定。
继续参照图3,第一电阻网络包括第十一电阻R11、第十二电阻R12和第十三电阻R13, 第十一电阻R11、第十二电阻R12、第十三电阻R13的一端相互连接,第十一电阻R11的另一端与VBUS端连接,第十二电阻R12的另一端与第一CC端连接,第十三电阻R13的另一端与第三开关管Q3的控制端连接;第二电阻网络包括第十四电阻R14、第十五电阻R15和第十六电阻R16,第十四电阻R14、第十五电阻R15、第十六电阻R16的一端相互连接,第十四电阻R14的另一端与VBUS端连接,第十五电阻R15的另一端与第二CC端连接,第十六电阻R16的另一端与第四开关管Q4的控制端连接。在一个实施例中,按照Type-C的规范,第十一电阻R11和第十四电阻R14的阻值为12kΩ,第十二电阻R12和第十五电阻R15的阻值为27kΩ,第十三电阻R13和第十六电阻R16的阻值为4.7kΩ,对于以上电阻的具体阻值,在本申请对此不作具体限制。
需要说明的是,第三开关管Q3和第四开关管Q4可为三极管或场效应管,在本申请的实施例中,第三开关管Q3和第四开关管Q4为PNP型三极管,第三开关管Q3和第四开关管Q4的输入端为PNP型三极管的发射级,第三开关管Q3和第四开关管Q4的控制端为PNP型三极管的基级,第三开关管Q3和第四开关管Q4的输出端为PNP型三极管的集电极。
本申请还提供了一种线路板,其包括上述任意一项实施例的Type-C插入方向的检测电路。
除此之外,本申请还提供了一种电子设备,包括上述实施例的线路板。
本申请实施例包括:采用开关模块与Type-C插座相连,在一个实施例中为开关模块的输入端与Type-C插座的VBUS端连接,以为输出提供开关模块的控制端与Type-C插座的第一CC端和/或第二CC端连接,开关模块的输出端为驱动端,VBUS端作为输入端,为输出端的输出电平提供了电压保证,开关模块通过内部的电子元器件根据第一CC端和/或第二CC端的电平以改变自身的导通状态,从而改变输入端到输出端的电流流通情况,驱动端设置为反馈Type-C插头和Type-C插座的插接关系,即反馈Type-C插头是A面插入还是B面插入,本申请能够通过开关模块内的电子元器件检测Type-C插头的插入方向,有效降低了电路成本以及提高了电路的可靠性。
以上是对本申请的若干实施进行了具体说明,但本申请并不局限于上述实施方式,熟悉本领域的技术人员在不违背本申请本质的前提下还可作出种种的等同变形或替换,这些等同的变形或替换均包含在本申请权利要求所限定的范围内。

Claims (12)

  1. 一种Type-C插入方向的检测电路,应用于电子设备,所述电子设备包括Type-C插座,所述检测电路包括:
    开关模块,所述开关模块的输入端设置为与所述Type-C插座的VBUS端连接,所述开关模块的输入端与所述Type-C插座的第一CC端和/或第二CC端连接,所述开关模块设置为根据在所述输入端接收所述第一CC端和/或第二CC端输入的第一电平以改变导通状态,并在所述开关模块的驱动端输出第二电平,以使所述电子设备根据所述第二电平以确定Type-C插头和所述Type-C插座的插接关系。
  2. 根据权利要求1所述的检测电路,其中,当所述电子设备为驱动设备,所述第一CC端通过第一电阻接地,所述开关模块包括:第一开关管,所述第一开关管的输入端与所述VBUS端连接,所述第一开关管的控制端与第二CC端连接,所述第一开关管的输出端接地,所述驱动端设置于所述第一开关管的输入端和所述VBUS端之间。
  3. 根据权利要求2所述的检测电路,还包括延时滤波电路,所述延时滤波电路的输入端连接于所述第一开关管的输入端和所述VBUS端之间,所述延时滤波电路的输出端为驱动端。
  4. 根据权利要求3所述的检测电路,其中,所述第一开关管的输入端与所述VBUS端之间设有第二电阻。
  5. 根据权利要求4所述的检测电路,其中,所述开关模块还包括第二开关管,所述第二开关管设置于所述第一开关管的输入端和所述延时滤波电路之间,所述第二开关管的输入端通过第三电阻与所述VBUS端连接,所述第二开关管的控制端连接于所述第一开关管的输入端和所述第二电阻之间,所述第二开关管的输出端接地,所述延时滤波电路的输入端连接于所述第二开关管的输入端与所述第三电阻之间。
  6. 根据权利要求5所述的检测电路,其中,所述延时滤波电路包括第四电阻和第一电容,所述第四电阻的一端与所述第一电容的一端连接,所述第四电阻的另一端连接于所述第二开关管的输入端和所述第三电阻之间,所述第一电容的另一端接地,所述驱动端设置于所述第四电阻和所述第一电容之间。
  7. 根据权利要求6所述的检测电路,还包括第五电阻和第六电阻,所述第五电阻的一端与所述第六电阻的一端均与所述第一开关管的控制端连接,所述第五电阻的另一端与所述第一Type-C插座的第二CC端连接,所述第六电阻的另一端接地。
  8. 根据权利要求1所述的检测电路,其中,当所述电子设备为主设备,所述开关模块包括:
    第三开关管,所述第三开关管的输入端与所述Tpye-C插座的VBUS端连接,所述第三开关管的控制端与所述Tpye-C插座的第一CC端连接且通过第一电阻网络与所述VBUS端连接,所述第三开关管的输出端依次通过第七电阻、第八电阻和第九电阻接地,所述第七电阻和所述第八电阻之间设有使能端;
    第四开关管,所述第四开关管的输入端与所述Tpye-C插座的VBUS端连接,所述第四开关管的控制端与所述Tpye-C插座的第二CC端连接且通过第二电阻网络与所述VBUS端连接,所述第四开关管的输出端与所述第八电阻和第九电阻之间连接;
    所述驱动端设置于所述第八电阻和所述第九电阻之间。
  9. 根据权利要求8所述的检测电路,其中,所述第七电阻和所述使能端之间通过第二电容接地,所述驱动端通过第十电阻设置于所述第八电阻和所述第九电阻之间,所述第十电阻和所述驱动端之间通过第三电容接地。
  10. 根据权利要求9所述的检测电路,其中,第一电阻网络包括第十一电阻、第十二电阻和第十三电阻,所述第十一电阻、所述第十二电阻、所述第十三电阻的一端相互连接,所述第十一电阻的另一端与所述VBUS端连接,所述第十二电阻的另一端与所述第一CC端连接,所述第十三电阻的另一端与所述第三开关管的控制端连接;所述第二电阻网络包括第十四电阻、第十五电阻和第十六电阻,所述第十四电阻、所述第十五电阻、所述第十六电阻的一端相互连接,所述第十四电阻的另一端与所述VBUS端连接,所述第十五电阻的另一端与所述第二CC端连接,所述第十六电阻的另一端与所述第四开关管的控制端连接。
  11. 一种线路板,包括如权利要求1至9任意一项所述的检测电路。
  12. 一种电子设备,其特征在于,包括如权利要求10所述的线路板。
PCT/CN2023/088147 2022-07-12 2023-04-13 Type-C插入方向的检测电路、线路板和电子设备 WO2024011975A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP23838477.0A EP4513213A4 (en) 2022-07-12 2023-04-13 TYPE-C INSERTION DIRECTION DETECTION CIRCUIT, PRINTED CIRCUIT BOARD AND ELECTRONIC DEVICE
JP2024565177A JP2025514522A (ja) 2022-07-12 2023-04-13 Type-C挿入方向の検出回路、回路基板、及び電子機器

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210815132.4A CN115166604A (zh) 2022-07-12 2022-07-12 Type-C插入方向的检测电路、线路板和电子设备
CN202210815132.4 2022-07-12

Publications (1)

Publication Number Publication Date
WO2024011975A1 true WO2024011975A1 (zh) 2024-01-18

Family

ID=83493755

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/088147 WO2024011975A1 (zh) 2022-07-12 2023-04-13 Type-C插入方向的检测电路、线路板和电子设备

Country Status (4)

Country Link
EP (1) EP4513213A4 (zh)
JP (1) JP2025514522A (zh)
CN (1) CN115166604A (zh)
WO (1) WO2024011975A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114721305A (zh) * 2022-03-02 2022-07-08 四川中微芯成科技有限公司 一种数据传输系统

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115166604A (zh) * 2022-07-12 2022-10-11 中兴通讯股份有限公司 Type-C插入方向的检测电路、线路板和电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899176A (zh) * 2015-06-10 2015-09-09 赛尔康技术(深圳)有限公司 USB Type-C接口的识别电路
CN209858676U (zh) * 2019-03-08 2019-12-27 鸿硕精密电工(苏州)有限公司 一种type-c正反插双面测试结构
CN112104032A (zh) * 2020-09-11 2020-12-18 珠海智融科技有限公司 TypeC连接方向检测电路及其检测方法、充电控制芯片及其工作方法
CN213337990U (zh) * 2020-08-27 2021-06-01 深圳市乔威电源有限公司 一种可正反插同时检测功能的type-c座子电路
JP2021184218A (ja) * 2020-05-22 2021-12-02 ルネサスエレクトロニクス株式会社 接続検出回路および半導体装置
CN113945869A (zh) * 2021-12-20 2022-01-18 深圳佑驾创新科技有限公司 一种接口的正反接识别电路、方法、设备及系统
CN115166604A (zh) * 2022-07-12 2022-10-11 中兴通讯股份有限公司 Type-C插入方向的检测电路、线路板和电子设备

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2527481C (en) * 2013-11-28 2021-04-07 Displaylink Uk Ltd Electrical connectors
JP6083878B2 (ja) * 2014-04-09 2017-02-22 ノキア テクノロジーズ オーユー 電力供給の方向を決定する方法及び装置
CN106291210B (zh) * 2015-05-22 2020-05-05 快捷半导体(苏州)有限公司 Usb接口检测器、检测方法、usb连接器及电子设备
WO2017091861A1 (en) * 2015-12-01 2017-06-08 Neil Lindsay A safety device for a power supply or appliance coupled thereto
CN207281214U (zh) * 2017-05-25 2018-04-27 深圳市乐得瑞科技有限公司 一种Type-C接口及其连接检测电路
KR102358562B1 (ko) * 2017-09-12 2022-02-04 삼성전자주식회사 Usb 인터페이스에서 누설 전류 발생 조건의 검출을 위한 장치 및 방법
US10727663B2 (en) * 2017-09-27 2020-07-28 Eaton Intelligent Power Limited Devices and methods for fault indication connector circuits
CN214375212U (zh) * 2020-12-01 2021-10-08 深圳市沃特邦检测仪器设备有限公司 一种Typec接头插拔测试机构
CN215986443U (zh) * 2021-08-19 2022-03-08 福州汇思博信息技术有限公司 一种Type C的CC检测功能电路

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899176A (zh) * 2015-06-10 2015-09-09 赛尔康技术(深圳)有限公司 USB Type-C接口的识别电路
CN209858676U (zh) * 2019-03-08 2019-12-27 鸿硕精密电工(苏州)有限公司 一种type-c正反插双面测试结构
JP2021184218A (ja) * 2020-05-22 2021-12-02 ルネサスエレクトロニクス株式会社 接続検出回路および半導体装置
CN213337990U (zh) * 2020-08-27 2021-06-01 深圳市乔威电源有限公司 一种可正反插同时检测功能的type-c座子电路
CN112104032A (zh) * 2020-09-11 2020-12-18 珠海智融科技有限公司 TypeC连接方向检测电路及其检测方法、充电控制芯片及其工作方法
CN113945869A (zh) * 2021-12-20 2022-01-18 深圳佑驾创新科技有限公司 一种接口的正反接识别电路、方法、设备及系统
CN115166604A (zh) * 2022-07-12 2022-10-11 中兴通讯股份有限公司 Type-C插入方向的检测电路、线路板和电子设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4513213A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114721305A (zh) * 2022-03-02 2022-07-08 四川中微芯成科技有限公司 一种数据传输系统
CN114721305B (zh) * 2022-03-02 2024-11-15 四川中微芯成科技有限公司 一种数据传输系统

Also Published As

Publication number Publication date
CN115166604A (zh) 2022-10-11
EP4513213A1 (en) 2025-02-26
EP4513213A4 (en) 2025-06-25
JP2025514522A (ja) 2025-05-02

Similar Documents

Publication Publication Date Title
WO2024011975A1 (zh) Type-C插入方向的检测电路、线路板和电子设备
CN101453313B (zh) 主从设备通信电路
CN215986443U (zh) 一种Type C的CC检测功能电路
CN101295534A (zh) 双内存条供电电路
CN110297789B (zh) 一种实现usb otg功能的方法
CN204189163U (zh) 一种基于i2c总线的从机供电电路和装置
EP4222607A1 (en) Communication interface buffer with hot-swap protection
TWI817862B (zh) 電腦組件及其控制方法
CN219978858U (zh) 一种usb接口复用电路以及终端设备
CN113010461B (zh) 一种用于供电控制和hdmi转换的电源切换装置及其控制方法
CN214492776U (zh) 一种usb从机控制器的上电控制电路及车辆
CN212083943U (zh) 一种电压自动调节电路及系统
CN109960677B (zh) 一种用于usb接口的扩展电路
CN114910736A (zh) 一种样品芯片的电流测试系统
CN104731679A (zh) 转接卡侦测系统
CN211979174U (zh) 一种线缆插入检测电路
CN108572936A (zh) Usb接口控制电路
CN217157120U (zh) 通信电路和通信芯片
CN222927039U (zh) 一种分立式Type-C转USB接口电路
TW201239892A (en) Reset signal anti-interference circuit
CN208673324U (zh) 一种i2c总线热插拔控制系统
CN221886464U (zh) 基于电平调整的信号通路选择电路
CN101763152A (zh) 应用于主机板的风扇切换装置
CN218122640U (zh) 一种匹配电路
CN219514085U (zh) 一种232通讯、485通讯及开关机共用的网口电路

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: 23838477

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2024565177

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 2023838477

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2023838477

Country of ref document: EP

Effective date: 20241118

NENP Non-entry into the national phase

Ref country code: DE