Detection circuit and method, electronic equipment and storage medium
By designing detection circuits and isolation circuits in the Type-C interface, the problem of transient diode or terminal device chip failure caused by overcurrent is solved, electrical isolation and ESD protection of the USB interface are achieved, and signal quality is ensured.
Patent Information
- Application Number
- CN202310275109.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-20
- Publication Date
- 2024-09-20
AI Technical Summary
When the Type-C interface is charging, the transient diode TVS or the Type-C interface chip in the terminal device fails due to overcurrent, which cannot effectively prevent the entry of foreign objects and liquids, resulting in electrical short circuit and burnout.
A detection circuit is designed, including a first isolation circuit and a second isolation circuit. The overcurrent current and voltage of the sideband usage pin and the configuration channel signal pin are detected through the sampling circuit, and a photoelectric coupler is used to achieve electrical isolation. Prevent overcurrent from damaging the chip.
It effectively isolates the electrical connection between the USB tail plug board, FPC and the motherboard, especially the ground isolation, preventing chip failure during overcurrent, ensuring signal quality, and meeting ESD protection requirements.
Smart Images

Figure CN118677433A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of terminal technology, and in particular to a detection circuit, method, electronic device and storage medium. Background Art
[0002] As the external interface of smart terminal devices, the Type-C interface is exposed to the outside, so foreign objects and liquids cannot be completely avoided. After the charger is connected, when the bus power (VBUS) carries a voltage greater than 5 volts (V) or even higher than 20V, the Type-C adjacent sideband use (SBU) signal line, configuration channel (CC) signal line and other communication lines are prone to excessive current (i.e. overcurrent) such as surge, static electricity, and DC burnout, resulting in the failure of the transient voltage suppressor (TVS) or the Type-C interface chip in the terminal device that shares a reference ground. Summary of the invention
[0003] The present disclosure provides a detection circuit, method, electronic device and storage medium to at least solve the problem in the related art that a transient diode TVS sharing a reference ground or a Type-C interface chip in a terminal device fails due to overcurrent.
[0004] The technical solution of the present disclosure is as follows:
[0005] According to a first aspect of an embodiment of the present disclosure, a detection circuit is provided, including: a first isolation circuit, a first input end of the first isolation circuit is electrically connected to a first power supply of a terminal device, the first power supply is used to output a first power supply voltage signal, and a second input end of the first isolation circuit is electrically connected to a first sideband usage pin and a second sideband usage pin of an interface of the terminal device, respectively; a second isolation circuit, a first input end of the second isolation circuit is electrically connected to the first power supply, and a second input end of the second isolation circuit is electrically connected to a first configuration channel signal pin and a second configuration channel signal pin of the interface, respectively; a sampling circuit, the sampling circuit is electrically connected to an output end of at least one of the first isolation circuit and the second isolation circuit, and the sampling circuit is used to detect overcurrent and / or overvoltage in the first isolation circuit and the second isolation circuit.
[0006] In one embodiment of the present disclosure, the sampling circuit includes: a first sampling circuit, the first sampling circuit is electrically connected to the output end of the first isolation circuit, and the first sampling circuit is used to detect overcurrent and / or overvoltage in the first isolation circuit; and / or a second sampling circuit, the second sampling circuit is electrically connected to the output end of the second isolation circuit, and the second sampling circuit is used to detect overcurrent and / or overvoltage in the second isolation circuit.
[0007] In one embodiment of the present disclosure, at least one of the first sampling circuit and the second sampling circuit is a current sampling circuit.
[0008] In one embodiment of the present disclosure, the first sampling circuit is used to sample the first current signal output from the output end of the first isolation circuit and perform overcurrent detection on the first current signal; and / or the second sampling circuit is used to sample the second current signal output from the output end of the second isolation circuit and perform overcurrent detection on the second current signal.
[0009] In one embodiment of the present disclosure, when the bus power of the terminal device is connected and the output voltage of the system power supply is within a preset range, the voltage value of the first power supply voltage signal is a preset first power supply voltage value; when the bus power is not connected, the voltage value of the first power supply voltage signal is a second power supply voltage value, and the second power supply voltage value is less than the first power supply voltage value.
[0010] In one embodiment of the present disclosure, the detection circuit further includes: a transmission circuit, wherein the second input end of at least one of the first isolation circuit and the second isolation circuit is electrically connected to at least one of the following pins through the transmission circuit: the first sideband use pin, the second sideband use pin, the first configuration channel signal pin, and the second configuration channel signal pin, and the transmission circuit is used to unidirectionally transmit the voltage signal input by the first sideband use pin, the second sideband use pin, the first configuration channel signal pin, and the second configuration channel signal pin;
[0011] In one embodiment of the present disclosure, the transmission circuit also includes: a first transmission circuit, wherein the second input end of the first isolation circuit is electrically connected to the first sideband use pin and the second sideband use pin respectively through the first transmission circuit, and the first transmission circuit is used to unidirectionally transmit the voltage signal input by the first sideband use pin and the second sideband use pin; and / or, a second transmission circuit, wherein the second input end of the second isolation circuit is electrically connected to the first configuration channel signal pin and the second configuration channel signal pin respectively through the second transmission circuit, and the second transmission circuit is used to unidirectionally transmit the voltage signal input by the first configuration channel signal pin and the second configuration channel signal pin.
[0012] In one embodiment of the present disclosure, the transmission circuit also includes: a first current limiting circuit, wherein the first input end of the first isolation circuit is electrically connected to the first power supply through the first current limiting circuit; and / or, a second current limiting circuit, wherein the first input end of the second isolation circuit is electrically connected to the first power supply through the second current limiting circuit.
[0013] In one embodiment of the present disclosure, the transmission circuit further includes: a third current limiting circuit, and the second input end of the second isolation circuit is electrically connected to the first configuration channel signal pin and the second configuration channel signal pin respectively through the third current limiting circuit.
[0014] In one embodiment of the present disclosure, the first isolation circuit includes: a first photocoupler, a first input end of the light source of the first photocoupler is electrically connected to the first power supply, and a second input end of the light source of the first photocoupler is electrically connected to the first sideband use pin and the second sideband use pin respectively; and / or, the second isolation circuit includes: a second photocoupler, a first input end of the light source of the second photocoupler is electrically connected to the first power supply, and a second input end of the light source of the second photocoupler is electrically connected to the first configuration channel signal pin and the second configuration channel signal pin respectively.
[0015] In one embodiment of the present disclosure, the sampling circuit is electrically connected to an output end of a light receiver of at least one of the first photocoupler and the second photocoupler.
[0016] In one embodiment of the present disclosure, the first sampling circuit includes: a first voltage divider module, a first end of the first voltage divider module is electrically connected to a second power supply, a second end of the first voltage divider module is electrically connected to a first current sampling port and a first output end of the first isolation circuit, respectively, and the second output end of the first isolation circuit is grounded; and / or, a second voltage divider module, a first end of the second voltage divider module is grounded, a second end of the second voltage divider module is electrically connected to the first current sampling port, and the first current sampling port is used to sample the first current signal flowing through the second voltage divider module and perform overcurrent detection on the first current signal.
[0017] In one embodiment of the present disclosure, the second sampling circuit includes: a third voltage divider module, a first end of the third voltage divider module is electrically connected to the second power supply, a second end of the third voltage divider module is electrically connected to the second current sampling port and the first output end of the second isolation circuit, respectively, and the second output end of the second isolation circuit is grounded; and / or a fourth voltage divider module, a first end of the fourth voltage divider module is grounded, a second end of the fourth voltage divider module is electrically connected to the second current sampling port, and the second current sampling port is used to sample the second current signal flowing through the fourth voltage divider module and perform overcurrent detection on the second current signal.
[0018] In one embodiment of the present disclosure, the first voltage divider module includes: a first resistor, a first end of the first resistor is electrically connected to the second power supply, and a second end of the first resistor is electrically connected to the first current sampling port and the first output end of the first isolation circuit, respectively; and / or, the second voltage divider module includes: a second resistor, a first end of the second resistor is grounded, a second end of the second resistor is electrically connected to the first current sampling port, and the first current sampling port is used to sample the first current signal flowing through the second resistor and perform overcurrent detection on the first current signal.
[0019] In one embodiment of the present disclosure, the third voltage divider module includes: a third resistor, a first end of the third resistor is electrically connected to the second power supply, and a second end of the third resistor is electrically connected to the second current sampling port and the first output end of the second isolation circuit, respectively; and / or, the fourth voltage divider module includes: a fourth resistor, a first end of the fourth resistor is grounded, a second end of the fourth resistor is electrically connected to the second current sampling port, and the second current sampling port is used to sample the second current signal flowing through the fourth resistor and perform overcurrent detection on the second current signal.
[0020] In one embodiment of the present disclosure, the first transmission circuit includes: a first transmission module, a first end of the first transmission module is electrically connected to the first sideband using a pin, and a second end of the first transmission module is electrically connected to a second input end of the first isolation circuit; and / or, a second transmission module, a first end of the second transmission module is electrically connected to the second sideband using a pin, and a second end of the second transmission module is electrically connected to a second input end of the first isolation circuit.
[0021] In one embodiment of the present disclosure, the second transmission circuit includes: a third transmission module, a first end of the third transmission module is electrically connected to the first configuration channel signal pin, and a second end of the third transmission module is electrically connected to the second input end of the second isolation circuit; and / or a fourth transmission module, a first end of the fourth transmission module is electrically connected to the second configuration channel signal pin, and a second end of the fourth transmission module is electrically connected to the second input end of the second isolation circuit.
[0022] In one embodiment of the present disclosure, the first transmission module includes: a first diode, an anode of the first diode is electrically connected to the first sideband using a pin, and a cathode of the first diode is electrically connected to the second input terminal of the first isolation circuit; and / or, the second transmission module includes: a second diode, an anode of the second diode is electrically connected to the second sideband using a pin, and a cathode of the second diode is electrically connected to the second input terminal of the first isolation circuit.
[0023] In one embodiment of the present disclosure, the third transmission module includes: a third diode, an anode of the third diode is electrically connected to the first configuration channel signal pin, and a cathode of the third diode is electrically connected to the second input end of the second isolation circuit; and / or, the fourth transmission module includes: a fourth diode, an anode of the fourth diode is electrically connected to the second configuration channel signal pin, and a cathode of the fourth diode is electrically connected to the second input end of the second isolation circuit.
[0024] According to a second aspect of an embodiment of the present disclosure, a detection method is provided, which is applied to a detection circuit, wherein the detection circuit comprises: a first isolation circuit, wherein a first input end of the first isolation circuit is electrically connected to a first power supply of a terminal device, the first power supply is used to output a first power supply voltage signal, and a second input end of the first isolation circuit is electrically connected to a first sideband use pin and a second sideband use pin of an interface of the terminal device, respectively; a second isolation circuit, wherein a first input end of the second isolation circuit is electrically connected to the first power supply, and a second input end of the second isolation circuit is electrically connected to a first configuration channel signal pin and a second configuration channel signal pin of the interface, respectively; a sampling circuit, wherein the sampling circuit is electrically connected to an output end of at least one of the first isolation circuit and the second isolation circuit; the detection method comprises: detecting overcurrent and / or overvoltage in the first isolation circuit and the second isolation circuit by means of the sampling circuit.
[0025] In one embodiment of the present disclosure, the sampling circuit includes: a first sampling circuit, the first sampling circuit is electrically connected to the output end of the first isolation circuit; a second sampling circuit, the second sampling circuit is electrically connected to the output end of the second isolation circuit; the detection of overcurrent and / or overvoltage in the first isolation circuit and the second isolation circuit by the sampling circuit includes: detecting the overcurrent and / or overvoltage in the first isolation circuit by the first sampling circuit; detecting the overcurrent and / or overvoltage in the second isolation circuit by the second sampling circuit.
[0026] In one embodiment of the present disclosure, at least one of the first sampling circuit and the second sampling circuit is a current sampling circuit.
[0027] In one embodiment of the present disclosure, the detecting of overcurrent and / or overvoltage in the first isolation circuit by the first sampling circuit includes: sampling a first current signal output at an output end of the first isolation circuit by the first sampling circuit, and performing overcurrent detection on the first current signal; the detecting of overcurrent and / or overvoltage in the second isolation circuit by the second sampling circuit includes: sampling a second current signal output at an output end of the second isolation circuit by the second sampling circuit, and performing overcurrent detection on the second current signal.
[0028] In one embodiment of the present disclosure, when the bus power of the terminal device is connected and the output voltage of the system power supply is within a preset range, the voltage value of the first power supply voltage signal is a preset first power supply voltage value; when the bus power is not connected, the voltage value of the first power supply voltage signal is a second power supply voltage value, and the second power supply voltage value is less than the first power supply voltage value.
[0029] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a detection circuit as described in the first aspect of an embodiment of the present disclosure.
[0030] According to a fourth aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the instructions to implement the detection method as described in the second aspect of the embodiment of the present disclosure.
[0031] According to the fifth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the detection method described in the second aspect of the embodiment of the present disclosure.
[0032] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects: sideband pins and configuration channel signal pins, the main path is connected to the flexible printed circuit (Flexible Printed Circuit, FPC) through the tail plug Universal Serial Bus (USB) small board and then connected to the main board, the secondary path is connected to the isolation circuit side for protection, and the isolation circuit is used to achieve electrical isolation of overcurrent detection and subsequent circuits such as the USB tail plug small board, FPC, and main board, especially ground isolation, which solves the problem of failure of transient diode TVS or Type-C interface chip in the terminal device that share a reference ground when overcurrent occurs.
[0033] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0035] Figure 1 This is a schematic diagram of the pins of the Type-C interface.
[0036] Figure 2 is a schematic diagram of a detection circuit according to an exemplary embodiment.
[0037] Figure 3 is a schematic diagram of a detection circuit according to another exemplary embodiment.
[0038] Figure 4 is a schematic diagram of a detection circuit according to another exemplary embodiment.
[0039] Figure 5 It is a flowchart of a detection method according to an exemplary embodiment.
[0040] Figure 6 It is a block diagram of an electronic device according to an exemplary embodiment.
[0041] Figure 7 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0042] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0043] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0044] The Type-C interface is a mainstream USB interface currently used. Its full name is USB Type-C interface, which means an interface that complies with the "USB Type-C" standard. The Type-C interface has the advantage of double-sided blind insertion and supports high-speed data transmission and high-power power transmission.
[0045] Figure 1This is a schematic diagram of the pins (PIN) of the Type-C interface. The 24 pins are mainly divided into the USB3.1 high-speed data channel part, the USB2.0 data channel part, the power transmission part and the CC configuration communication part. Among them, the CC pin is the most critical, responsible for detecting device insertion, detecting the front and back, configuring the data bus, controlling VCONN, negotiating bus power (Vbus) power supply, etc. Among them, VCONN is a 5V, 1 watt (W) power supply used to power the integrated circuit (IC) in the Type-C cable with electronic markings. The SBU pin is directly related to analog headset identification and device detection. Liquid ingress and foreign matter can easily cause a short circuit between multiple pins, that is, a short circuit between VBUS-SBU / CC-D+ / D-. D+ / D- abnormalities will cause the fast charging protocol to be unable to be recognized. More seriously, it will cause the common-mode inductor / resistor and other devices on the line to burn out and the board-level devices to fail.
[0046] Figure 2 FIG. 1 is a schematic diagram of a detection circuit according to an exemplary embodiment. Figure 2 As shown, the detection circuit of the embodiment of the present disclosure may specifically include: a first isolation circuit 21, a second isolation circuit 22 and a sampling circuit 23. Among them:
[0047] The first input end of the first isolation circuit 21 is electrically connected to the first power supply VDD of the terminal device, and the first power supply VDD is used to output a first power supply voltage signal. The second input end of the first isolation circuit 21 is electrically connected to the first sideband pin SBU1 and the second sideband pin SBU2 of the interface of the terminal device respectively.
[0048] A first input terminal of the second isolation circuit 22 is electrically connected to the first power supply VDD, and a second input terminal of the second isolation circuit 22 is electrically connected to the first configuration channel signal pin CC1 and the second configuration channel signal pin CC2 of the interface respectively.
[0049] The sampling circuit 23 is electrically connected to the output terminal of at least one of the first isolation circuit 21 and the second isolation circuit 22 . The sampling circuit 23 is used to detect overcurrent and / or overvoltage in the first isolation circuit 21 and the second isolation circuit 22 .
[0050] It should be noted that the detection circuit of the embodiment of the present disclosure is arranged in a terminal device such as a mobile phone having an interface such as Type-C or micro-b, etc., for detecting overcurrent and / or overcurrent voltage. For the convenience of description, the interfaces of the terminal device are described by taking the Type-C interface as an example.
[0051] The first sideband uses pin SBU1, the second sideband uses pin SBU2, the first configuration channel signal pin CC1, and the second configuration channel signal pin CC2, that is, the Type-C interface related network pins, are routed in a star shape. The main path is electrically connected to the FPC through the tail USB board and then to the mainboard. The secondary path is electrically connected to the isolation circuit side for protection.
[0052] The first isolation circuit 21 is used to detect the voltage drop of the first power supply voltage signal output by the first power supply VDD and the voltage signal input by the sideband use pins (SBU1 and SBU2), and perform isolation transmission to generate a first current signal and a first voltage signal. The second isolation circuit 22 is used to detect the voltage drop of the first power supply voltage signal output by the first power supply VDD and the voltage signal input by the configuration channel signal pins (CC1 and CC2), and perform isolation transmission to generate a second current signal and a second voltage signal.
[0053] Among them, the first power supply voltage signal output by the first power supply VDD corresponds to the CHG_VDDP, VDDA or MID_CHG signal output by the power management platform (Power Management Unit, referred to as PMU) of the system-on-chip (System OnaChip, referred to as SOC) platform of the terminal device. When the bus power VBUS of the terminal device is connected and the output voltage of the system power VSYS is in a preset range, such as a normal startup range, the voltage value of the first power supply voltage signal output by the first power supply VDD is a preset first power supply voltage value, such as 4.9V-5V, which is not limited by the fast charging protocol, speed, power, etc. When the bus power VBUS is not connected, the voltage value of the first power supply voltage signal is the second power supply voltage value, and the second power supply voltage value is less than the first power supply voltage value, wherein the second power supply voltage value can be zero.
[0054] The sampling circuit 23 can directly use the IADC inside the PMU for current sampling and / or the UADC for voltage sampling, that is, obtain the current and / or voltage at the output end of the first isolation circuit 21 of the voltage drop of the first power supply voltage signal output by the first power supply VDD to the voltage signal input by the sideband use pin (SBU1 and SBU2), and the current and / or voltage at the output end of the second isolation circuit 22 of the voltage drop of the first power supply voltage signal to the configuration channel signal pin (CC1 and CC2), and determine whether there is an overcurrent problem by comparing with the preset current threshold and / or voltage threshold. The preset current threshold and voltage threshold are determined according to the sampling current and sampling voltage corresponding to the normal data line.
[0055] The detection circuit of the disclosed embodiment has sideband pins and configuration channel signal pins. The main path is electrically connected to the flexible circuit board FPC through the USB tail plug board and then electrically connected to the main board. The secondary path is electrically connected to the isolation circuit side for protection. The isolation circuit is used to achieve electrical isolation of overcurrent detection and subsequent circuits such as the USB tail plug board, FPC, and main board, especially ground isolation, which solves the problem of failure of the transient diode TVS or the Type-C interface chip in the terminal device that shares a reference ground when overcurrent occurs.
[0056] Figure 3 FIG. 1 is a schematic diagram of a detection circuit according to another exemplary embodiment. Figure 3 As shown, in Figure 2 Based on the illustrated embodiment, the sampling circuit 23 may specifically include: a first sampling circuit 231, and / or a second sampling circuit 232. Wherein:
[0057] The first sampling circuit 231 is electrically connected to the output end of the first isolation circuit 21 , and is used to detect overcurrent and / or overvoltage in the first isolation circuit 21 .
[0058] The second sampling circuit 232 is electrically connected to the output end of the second isolation circuit 22 , and is used to detect overcurrent and / or overvoltage in the second isolation circuit 22 .
[0059] At least one of the first sampling circuit 231 and the second sampling circuit 232 is a current sampling circuit.
[0060] The first sampling circuit 231 is used to sample the first current signal outputted from the output end of the first isolation circuit 21 and perform overcurrent detection on the first current signal.
[0061] The second sampling circuit 232 is used for sampling the second current signal outputted from the output end of the second isolation circuit 22 and performing overcurrent detection on the second current signal.
[0062] Furthermore, the detection circuit of the embodiment of the present disclosure may also include: a transmission circuit.
[0063] The second input end of at least one of the first isolation circuit 21 and the second isolation circuit 22 is electrically connected to at least one of the following pins through a transmission circuit: the first sideband using pin SBU1, the second sideband using pin SBU2, the first configuration channel signal pin CC1 and the second configuration channel signal pin CC2, and the transmission circuit is used for unidirectionally transmitting the voltage signal input by the first sideband using pin SBU1, the second sideband using pin SBU2, the first configuration channel signal pin CC1 and the second configuration channel signal pin CC2.
[0064] In some embodiments, the transmission circuit may specifically include: a first transmission circuit 31 and / or a second transmission circuit 32 .
[0065] in:
[0066] The second input end of the first isolation circuit 21 is electrically connected to the first sideband pin SBU1 and the second sideband pin SBU2 through the first transmission circuit 31. The first transmission circuit 31 is used for unidirectionally transmitting the voltage signal input by the first sideband pin SBU1 and the second sideband pin SBU2.
[0067] The second input end of the second isolation circuit 22 is electrically connected to the first configuration channel signal pin CC1 and the second configuration channel signal pin CC2 through the second transmission circuit 32. The second transmission circuit 32 is used for unidirectionally transmitting the voltage signal input by the first configuration channel signal pin CC1 and the second configuration channel signal pin CC2.
[0068] Among them, Figure 4 As shown, the first isolation circuit 21 may specifically include a first photocoupler U1, and the second isolation circuit 22 may specifically include a second photocoupler U2.
[0069] A first input terminal of the light source of the first photocoupler U1 is electrically connected to the first power supply VDD, and a second input terminal of the light source of the first photocoupler U1 is electrically connected to the first sideband use pin SBU1 and the second sideband use pin SBU2 respectively.
[0070] A first input terminal of the light source of the second photocoupler U2 is electrically connected to the first power supply VDD, and a second input terminal of the light source of the second photocoupler U2 is electrically connected to the first configuration channel signal pin CC1 and the second configuration channel signal pin CC2 respectively.
[0071] The sampling circuit 23 is electrically connected to an output end of a light receiver of at least one of the first photocoupler U1 and the second photocoupler U2 .
[0072] The light source in the photocouplers U1 and U2 can be a light-emitting diode (LED), and the light receiver can be a transistor. Photocouplers U1 and U2 can select small-package, transistor-receiving linear photocouplers (optocouplers). The forward voltage drop VF of the LED should be as small as possible to reduce the voltage drop loss on the line. The current transfer ratio (Current Transfer Ratio, CTR) is greater than 100%, which is more resistant to interference. The insulation resistance between the light source and the light receiver must meet the requirements of the electrostatic discharge (ESD) protection of the whole machine. Among them, the current transfer ratio refers to the ratio of the output current of the optocoupler to the input current, which is also called the amplification factor, gain or transmission slope of the optocoupler.
[0073] Furthermore, the first transmission circuit 31 may specifically include: a first transmission module and / or a second transmission module.
[0074] The first end of the first transmission module is electrically connected to the first sideband use pin SBU1 , and the second end of the first transmission module is electrically connected to the second input end of the first isolation circuit 21 .
[0075] A first end of the second transmission module is electrically connected to the second sideband using pin SBU2 , and a second end of the second transmission module is electrically connected to the second input end of the first isolation circuit 21 .
[0076] Further, the second transmission circuit 32 may specifically include: a third transmission module and / or a fourth transmission module. Wherein:
[0077] A first end of the third transmission module is electrically connected to the first configuration channel signal pin CC1 , and a second end of the third transmission module is electrically connected to the second input end of the second isolation circuit.
[0078] A first end of the fourth transmission module is electrically connected to the second configuration channel signal pin CC2 , and a second end of the fourth transmission module is electrically connected to the second input end of the second isolation circuit.
[0079] Further, such as Figure 4 As shown, the first transmission module may specifically include: a first diode D1. Wherein:
[0080] An anode of the first diode D1 is electrically connected to the first sideband use pin SBU1 , and a cathode of the first diode D1 is electrically connected to the second input terminal of the first isolation circuit 21 .
[0081] Further, such as Figure 4 As shown, the second transmission module may specifically include: a second diode D2. Wherein:
[0082] An anode of the second diode D2 is electrically connected to the second sideband using pin SBU2 , and a cathode of the second diode D2 is electrically connected to the second input terminal of the first isolation circuit 21 .
[0083] Specifically, the first diode D1 and the second diode D2 are used to detect the sideband usage pins SBU1, SBU2 and the bus power pin VBUS. Under normal conditions, regardless of whether a charger or other SDP / DCP / CDP device is inserted, the sideband usage pins are not used to electrically connect the device and protocol identification. Therefore, the first diode D1 and the second diode D2 are in a high-impedance state, the light source LED of the optocoupler is not turned on, and the light receiver transistor of the optocoupler is not turned on, so there is no current output.
[0084] Further, such as Figure 4 As shown, the third transmission module may specifically include: a third diode D3. Wherein:
[0085] An anode of the third diode D3 is electrically connected to the first configuration channel signal pin CC1 , and a cathode of the third diode D3 is electrically connected to the second input terminal of the second isolation circuit 22 .
[0086] Further, such as Figure 4 As shown, the fourth transmission module may specifically include: a fourth diode D4. Wherein:
[0087] An anode of the fourth diode D4 is electrically connected to the second configuration channel signal pin CC2 , and a cathode of the fourth diode D4 is electrically connected to the second input terminal of the second isolation circuit 22 .
[0088] Specifically, the third diode D3 and the fourth diode D4 are used to detect the configuration channel signal pins CC1 and CC2 and the bus power pin VBUS. Under normal conditions, when not charging, since the bus power pin VBUS is not powered on, even if the configuration channel signal pins CC1 and CC2 are in a toggle state, the optocoupler light source LED is not turned on and emits light; when charging, the terminal device determines the charging interface type such as SDP, CDP and DCP by identifying the CC level obtained by the internal CC pull-down resistor of the data line device, and further identifies the charger type by D+ / D-. A small current is formed based on the first power supply VDD and the voltage of the configuration channel signal pins CC1 and CC2 through D3 and D4 to turn on the LED to emit light, which is then transmitted to the transistor side of the photoreceiver to output current.
[0089] Further, such as Figure 3 As shown, the detection circuit of the embodiment of the present disclosure may further include: a first current limiting circuit 33 and / or a second current limiting circuit 34. Wherein:
[0090] The first input terminal of the first isolation circuit 21 is electrically connected to the first power supply VDD through the first current limiting circuit 33 .
[0091] The first input terminal of the second isolation circuit 22 is electrically connected to the first power supply VDD through the second current limiting circuit 34 .
[0092] Further, such as Figure 3 As shown, the detection circuit of the embodiment of the present disclosure may further include: a third current limiting circuit 35 .
[0093] in:
[0094] The second input terminal of the second isolation circuit 22 is electrically connected to the first configuration channel signal pin CC1 and the second configuration channel signal pin CC2 respectively through the third current limiting circuit 35 .
[0095] Among them, Figure 4 As shown, the first current limiting circuit 33 may specifically include a fifth resistor R3, and the second current limiting circuit 34 may specifically include a sixth resistor R4.
[0096] The fifth resistor R3 and the sixth resistor R4 are used for current limiting of the input of the photocouplers U1 and U2. Generally, a resistor of more than 1 kilo-ohm is used to ensure the sampling of small currents.
[0097] Among them, Figure 4 As shown, the third current limiting circuit 35 may specifically include a seventh resistor R7. The voltage inputted by the channel signal pins CC1 and CC2 is configured to form a small current through the seventh resistor R7 with a small resistance in series, so that the light source LED is turned on to emit light, and then transmitted to the transistor side of the light receiver.
[0098] In some embodiments, the first sampling circuit 231 and the second sampling circuit 232 can obtain the sampling current by obtaining the voltage on the sampling resistor. Specifically, the first sampling circuit 231 may include: a first voltage divider module and / or a second voltage divider module. Wherein:
[0099] The first end of the first voltage divider module is electrically connected to the second power supply VIO, the second end of the first voltage divider module is electrically connected to the first current sampling port ADC1 and the first output end of the first isolation circuit 21 respectively, and the second output end of the first isolation circuit 21 is grounded.
[0100] The first end of the second voltage divider module is grounded, and the second end of the second voltage divider module is electrically connected to the first current sampling port ADC1. The first current sampling port ADC1 is used to sample the first current signal flowing through the second voltage divider module and perform overcurrent detection on the first current signal.
[0101] Specifically, Figure 4 As shown, the first voltage dividing module includes: a first resistor R1.
[0102] The first end of the first resistor R1 is electrically connected to the second power supply VIO, the second end of the first pull-up resistor R1 is electrically connected to the first current sampling port ADC1 and the first output end of the first isolation circuit 21 respectively, and the second output end of the first isolation circuit 21 is grounded.
[0103] Specifically, Figure 4 As shown, the second voltage dividing module includes: a second resistor R5.
[0104] A first end of the second resistor R5 is grounded, and a second end of the second resistor R5 is electrically connected to the first current sampling port ADC1. The first current sampling port ADC1 is used to sample a first current signal flowing through the second resistor R5 and perform overcurrent detection on the first current signal.
[0105] Further, such as Figure 3 As shown, the second sampling circuit 232 may specifically include: a third voltage dividing module and / or a fourth voltage dividing module.
[0106] The first end of the third voltage divider module is electrically connected to the second power supply VIO, the second end of the third voltage divider module is electrically connected to the second current sampling port ADC2 and the first output end of the second isolation circuit 22 respectively, and the second output end of the second isolation circuit 22 is grounded.
[0107] The first end of the fourth voltage divider module is grounded, the second end of the fourth voltage divider module is electrically connected to the second current sampling port ADC2, and the second current sampling port ADC2 is used to sample the second current signal flowing through the fourth voltage divider module and perform overcurrent detection on the second current signal.
[0108] Specifically, Figure 4 As shown, the third voltage dividing module includes: a third resistor R2.
[0109] A first end of the third resistor R2 is electrically connected to the second power supply VIO, a second end of the third resistor R2 is electrically connected to the second current sampling port ADC2 and a first output end of the second isolation circuit 22 respectively, and a second output end of the second isolation circuit 22 is grounded.
[0110] Specifically, Figure 4 As shown, the fourth voltage dividing module includes: a fourth resistor R6.
[0111] A first end of the fourth resistor R6 is grounded, and a second end of the fourth resistor R6 is electrically connected to the second current sampling port ADC2. The second current sampling port ADC2 is used to sample a second current signal flowing through the fourth resistor R6 and perform overcurrent detection on the second current signal.
[0112] Among them, the first current sampling port ADC1 and the second current sampling port ADC2 collect the voltages on the second resistor R5 and the fourth resistor R6, and determine the first current signal flowing through the second resistor R5 and the second current signal flowing through the fourth resistor R6 according to the resistance values of the second resistor R5 and the fourth resistor R6.
[0113] The detection circuit of the disclosed embodiment, the sideband pin and the configuration channel signal pin, the main path is electrically connected to the flexible printed circuit (Flexible Printed Circuit, referred to as FPC) through the tail plug universal serial bus (Universal Serial Bus, USB) small board and then electrically connected to the main board, and the secondary path is electrically connected to the isolation circuit side for protection. The isolation circuit is used to achieve electrical isolation between the overcurrent detection and the USB tail plug small board, FPC, main board and other subsequent circuits, especially the ground isolation, which solves the problem of failure of the transient diode TVS or the Type-C interface chip in the terminal device that shares a reference ground when overcurrent occurs. At the same time, there is no electrical connection between the input circuit and the output circuit of the optocoupler, nor is there a common ground, and the distributed capacitance between them is extremely small, while the insulation resistance is very large, so various interference noises on one side of the circuit are difficult to be fed to the other side through the optocoupler, ensuring the signal quality of the USB tail plug small board and the main board. The optocoupler can play a good role in safety protection. Even if the external device fails, such as when the input signal is short-circuited, the terminal device will not be damaged, because the input circuit and the output circuit of the optocoupler can withstand a high voltage of several thousand volts, which can meet the basic ESD protection requirements. The response speed of the optocoupler is extremely fast, and its response delay time is only about 10 microseconds (μs), which is also suitable for protection scenarios with high requirements for response speed.
[0114] Figure 5 FIG. 1 is a flow chart of a detection method according to an exemplary embodiment. Figure 5 As shown, the detection method of the embodiment of the present disclosure is applied to the detection circuit of any of the above embodiments, and the detection circuit includes: a first isolation circuit, the first input end of the first isolation circuit is electrically connected to the first power supply of the terminal device, the first power supply is used to output a first power supply voltage signal, and the second input end of the first isolation circuit is electrically connected to the first sideband use pin and the second sideband use pin of the interface of the terminal device respectively; a second isolation circuit, the first input end of the second isolation circuit is electrically connected to the first power supply, and the second input end of the second isolation circuit is electrically connected to the first configuration channel signal pin and the second configuration channel signal pin of the interface respectively; a sampling circuit, the sampling circuit is electrically connected to the output end of at least one of the first isolation circuit and the second isolation circuit. The detection method of the embodiment of the present disclosure may specifically include the following steps:
[0115] S501 , detecting overcurrent and / or overvoltage in the first isolation circuit and the second isolation circuit by using a sampling circuit.
[0116] In one embodiment of the present disclosure, the sampling circuit may specifically include: a first sampling circuit, the first sampling circuit is electrically connected to the output end of the first isolation circuit; a second sampling circuit, the second sampling circuit is electrically connected to the output end of the second isolation circuit. The above step S501 may specifically include the following steps: detecting the overcurrent and / or overcurrent voltage in the first isolation circuit by the first sampling circuit; detecting the overcurrent and / or overcurrent voltage in the second isolation circuit by the second sampling circuit. In one embodiment of the present disclosure, at least one of the first sampling circuit and the second sampling circuit is a current sampling circuit.
[0117] In one embodiment of the present disclosure, the above-mentioned step of "detecting overcurrent and / or overcurrent voltage in the first isolation circuit through a first sampling circuit" may specifically include: sampling a first current signal output from an output end of the first isolation circuit through a first sampling circuit, and performing overcurrent detection on the first current signal.
[0118] The above-mentioned step of "detecting overcurrent and / or overcurrent voltage in the second isolation circuit through a second sampling circuit" may specifically include: sampling the second current signal output from the output end of the second isolation circuit through the second sampling circuit, and performing overcurrent detection on the second current signal.
[0119] In one embodiment of the present disclosure, when the bus power of the terminal device is connected and the output voltage of the system power supply is within a preset range, the voltage value of the first power supply voltage signal is a preset first power supply voltage value; when the bus power is not connected, the voltage value of the first power supply voltage signal is a second power supply voltage value, and the second power supply voltage value is less than the first power supply voltage value.
[0120] Regarding the method in the above embodiment, the specific manner of performing the operation in each step has been described in detail in the detection circuit embodiment of the method, and will not be elaborated here.
[0121] The detection method of the disclosed embodiment, the sideband pin and the configuration channel signal pin, the main path is electrically connected to the flexible printed circuit (Flexible Printed Circuit, referred to as FPC) through the tail plug universal serial bus (Universal Serial Bus, USB) small board and then electrically connected to the main board, and the secondary path is electrically connected to the isolation circuit side for protection. The isolation circuit is used to achieve electrical isolation between the overcurrent detection and the USB tail plug small board, FPC, main board and other subsequent circuits, especially the ground isolation, which solves the problem of failure of the transient diode TVS or the Type-C interface chip in the terminal device that shares a reference ground when overcurrent. At the same time, there is no electrical connection between the input circuit and the output circuit of the optocoupler, and there is no common ground, and the distributed capacitance between them is extremely small, and the insulation resistance is very large, so various interference noises on one side of the circuit are difficult to be fed to the other side through the optocoupler, ensuring the signal quality of the USB tail plug small board and the main board. The optocoupler can play a good safety guarantee role. Even if the external device fails, such as when the input signal is short-circuited, it will not damage the terminal device, because the input circuit and the output circuit of the optocoupler can withstand a high voltage of several thousand volts, which can meet the basic ESD protection requirements. The response speed of the optocoupler is extremely fast, and its response delay time is only about 10 microseconds (μs), which is also suitable for protection scenarios with high requirements for response speed.
[0122] Based on the above embodiments, Figure 6 As shown, the embodiment of the present disclosure further proposes an electronic device 600, including the above-mentioned detection circuit 601.
[0123] The electronic device of the disclosed embodiment solves the problem of failure of the transient diode TVS or the Type-C interface chip in the terminal device that share a reference ground when overcurrent occurs. At the same time, there is no electrical connection or common ground between the input circuit and the output circuit of the optocoupler, and the distributed capacitance between them is extremely small, while the insulation resistance is very large. Therefore, various interference noises on one side of the circuit are difficult to be fed to the other side through the optocoupler, thereby ensuring the signal quality of the USB tail plug board and the main board. The optocoupler can play a very good safety guarantee role. Even if the external device fails, such as when the input signal is short-circuited, the terminal device will not be damaged, because the input circuit and the output circuit of the optocoupler can withstand a high voltage of several thousand volts, which can meet the basic ESD protection requirements. The response speed of the optocoupler is extremely fast, and its response delay time is only about 10 microseconds (μs), which is also applicable to protection scenarios with high response speed requirements.
[0124] Figure 7 is a block diagram of an electronic device 600 according to an exemplary embodiment.
[0125] like Figure 7 As shown, the electronic device 600 includes:
[0126] The memory 701 and the processor 702, a bus 703 connecting different components (including the memory 701 and the processor 702), the memory 701 stores a computer program, and when the processor 702 executes the program, the detection method of the embodiment of the present disclosure is implemented.
[0127] Bus 703 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.
[0128] The electronic device 600 typically includes a variety of electronic device readable media. These media can be any available media that can be accessed by the electronic device 600, including volatile and non-volatile media, removable and non-removable media.
[0129] The memory 701 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 704 and / or cache memory 705. The electronic device 600 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 706 may be used to read and write non-removable, non-volatile magnetic media ( Figure 7 not shown, usually called a "hard drive"). Although Figure 7 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 703 via one or more data medium interfaces. The memory 701 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present disclosure.
[0130] A program / utility 708 having a set (at least one) of program modules 707 may be stored, for example, in the memory 701, such program modules 707 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 707 generally perform the functions and / or methods of the embodiments described in the present disclosure.
[0131] The electronic device 600 may also communicate with one or more external devices 709 (e.g., keyboard, pointing device, display 711, etc.), one or more devices that enable a user to interact with the electronic device 600, and / or any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input / output (I / O) interface 712. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 713. Figure 7 As shown, the network adapter 713 communicates with other modules of the electronic device 600 via the bus 703. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0132] The processor 702 executes various functional applications and data processing by running the programs stored in the memory 701 .
[0133] It should be noted that the implementation process and technical principles of the electronic device of this embodiment refer to the aforementioned explanation of the detection method of the embodiment of the present disclosure, and will not be repeated here.
[0134] The electronic device provided by the embodiment of the present disclosure solves the problem of failure of the transient diode TVS or the Type-C interface chip in the terminal device that share a reference ground when overcurrent occurs. At the same time, there is no electrical connection or common ground between the input circuit and the output circuit of the optocoupler, and the distributed capacitance between them is extremely small, while the insulation resistance is very large. Therefore, various interference noises on one side of the circuit are difficult to be fed to the other side through the optocoupler, thereby ensuring the signal quality of the USB tail plug board and the main board. The optocoupler can play a very good safety guarantee role. Even if an external device fails, such as when the input signal is short-circuited, the terminal device will not be damaged, because the input circuit and the output circuit of the optocoupler can withstand a high voltage of several thousand volts, which can meet the basic ESD protection requirements. The response speed of the optocoupler is extremely fast, and its response delay time is only about 10 microseconds (μs), which is also applicable to protection scenarios with high response speed requirements.
[0135] In order to implement the above embodiments, the present disclosure also proposes a computer-readable storage medium.
[0136] When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device can perform the above detection method. Optionally, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0137] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0138] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A detection circuit, It is characterized in that include: a first isolation circuit, wherein a first input end of the first isolation circuit is electrically connected to a first power supply of a terminal device, the first power supply is used to output a first power supply voltage signal, and a second input end of the first isolation circuit is electrically connected to a first sideband pin and a second sideband pin of an interface of the terminal device, respectively; a second isolation circuit, wherein a first input end of the second isolation circuit is electrically connected to the first power supply, and a second input end of the second isolation circuit is electrically connected to a first configuration channel signal pin and a second configuration channel signal pin of the interface respectively; A sampling circuit, wherein the sampling circuit is electrically connected to an output end of at least one of the first isolation circuit and the second isolation circuit, and the sampling circuit is used to detect overcurrent and / or overvoltage in the first isolation circuit and the second isolation circuit.
2. The detection circuit according to claim 1, It is characterized in that The sampling circuit comprises: A first sampling circuit, the first sampling circuit is electrically connected to the output end of the first isolation circuit, and the first sampling circuit is used to detect an overcurrent and / or an overcurrent voltage in the first isolation circuit; and / or, A second sampling circuit, wherein the second sampling circuit is electrically connected to an output end of the second isolation circuit, and the second sampling circuit is used to detect an overcurrent and / or an overvoltage in the second isolation circuit.
3. The detection circuit according to claim 2, It is characterized in that At least one of the first sampling circuit and the second sampling circuit is a current sampling circuit.
4. The detection circuit according to claim 3, It is characterized in that The first sampling circuit is used to sample the first current signal outputted from the output end of the first isolation circuit and perform overcurrent detection on the first current signal; and / or, The second sampling circuit is used to sample the second current signal outputted from the output end of the second isolation circuit and perform overcurrent detection on the second current signal.
5. The detection circuit according to claim 1, It is characterized in that When the bus power of the terminal device is connected and the output voltage of the system power supply is within a preset range, the voltage value of the first power supply voltage signal is a preset first power supply voltage value; When the bus power supply is not connected, the voltage value of the first power supply voltage signal is a second power supply voltage value, and the second power supply voltage value is smaller than the first power supply voltage value.
6. The detection circuit according to claim 1, It is characterized in that Also includes: A transmission circuit, wherein the second input end of at least one of the first isolation circuit and the second isolation circuit is electrically connected to at least one of the following pins through the transmission circuit: the first sideband use pin, the second sideband use pin, the first configuration channel signal pin, and the second configuration channel signal pin, and the transmission circuit is used for unidirectionally transmitting the voltage signals input by the first sideband use pin, the second sideband use pin, the first configuration channel signal pin, and the second configuration channel signal pin.
7. The detection circuit according to claim 6, It is characterized in that The transmission circuit comprises: a first transmission circuit, wherein the second input end of the first isolation circuit is electrically connected to the first sideband use pin and the second sideband use pin respectively through the first transmission circuit, and the first transmission circuit is used for unidirectionally transmitting the voltage signal input by the first sideband use pin and the second sideband use pin; and / or, A second transmission circuit, wherein the second input end of the second isolation circuit is electrically connected to the first configuration channel signal pin and the second configuration channel signal pin respectively through the second transmission circuit, and the second transmission circuit is used for unidirectionally transmitting the voltage signals input to the first configuration channel signal pin and the second configuration channel signal pin.
8. The detection circuit according to claim 1, It is characterized in that Also includes: a first current limiting circuit, wherein the first input end of the first isolation circuit is electrically connected to the first power supply through the first current limiting circuit; and / or, A second current limiting circuit, wherein the first input end of the second isolation circuit is electrically connected to the first power supply through the second current limiting circuit.
9. The detection circuit according to claim 1, It is characterized in that Also includes: A third current limiting circuit, wherein the second input end of the second isolation circuit is electrically connected to the first configuration channel signal pin and the second configuration channel signal pin respectively through the third current limiting circuit.
10. The detection circuit according to claim 1, It is characterized in that The first isolation circuit comprises: a first photoelectric coupler, a first input end of the light source of the first photoelectric coupler is electrically connected to the first power supply, and a second input end of the light source of the first photoelectric coupler is electrically connected to the first sideband use pin and the second sideband use pin respectively; and / or, The second isolation circuit includes: a second photoelectric coupler, a first input end of the light source of the second photoelectric coupler is electrically connected to the first power supply, and a second input end of the light source of the second photoelectric coupler is electrically connected to the first configuration channel signal pin and the second configuration channel signal pin respectively.
11. The detection circuit according to claim 10, It is characterized in that The sampling circuit is electrically connected to an output end of a light receiver of at least one of the first photocoupler and the second photocoupler.
12. The detection circuit according to claim 4, It is characterized in that The first sampling circuit comprises: a first voltage divider module, wherein a first end of the first voltage divider module is electrically connected to a second power supply, a second end of the first voltage divider module is electrically connected to a first current sampling port and a first output end of the first isolation circuit respectively, and a second output end of the first isolation circuit is grounded; and / or, A second voltage divider module, wherein the first end of the second voltage divider module is grounded, the second end of the second voltage divider module is electrically connected to the first current sampling port, and the first current sampling port is used to sample the first current signal flowing through the second voltage divider module and perform overcurrent detection on the first current signal.
13. The detection circuit according to claim 4, It is characterized in that The second sampling circuit comprises: A third voltage divider module, wherein a first end of the third voltage divider module is electrically connected to the second power supply, a second end of the third voltage divider module is electrically connected to the second current sampling port and the first output end of the second isolation circuit respectively, and a second output end of the second isolation circuit is grounded; and / or, A fourth voltage divider module, wherein the first end of the fourth voltage divider module is grounded, the second end of the fourth voltage divider module is electrically connected to the second current sampling port, and the second current sampling port is used to sample the second current signal flowing through the fourth voltage divider module and perform overcurrent detection on the second current signal.
14. The detection circuit according to claim 11, It is characterized in that The first voltage dividing module includes: a first resistor, a first end of the first resistor is electrically connected to the second power supply, and a second end of the first resistor is electrically connected to the first current sampling port and the first output end of the first isolation circuit respectively; and / or, The second voltage divider module includes: a second resistor, a first end of the second resistor is grounded, a second end of the second resistor is electrically connected to the first current sampling port, and the first current sampling port is used to sample the first current signal flowing through the second resistor and perform overcurrent detection on the first current signal.
15. The detection circuit according to claim 13, It is characterized in that The third voltage dividing module comprises: a third resistor, a first end of the third resistor is electrically connected to the second power supply, and a second end of the third resistor is electrically connected to the second current sampling port and the first output end of the second isolation circuit respectively; and / or, The fourth voltage divider module includes: a fourth resistor, a first end of the fourth resistor is grounded, a second end of the fourth resistor is electrically connected to the second current sampling port, and the second current sampling port is used to sample the second current signal flowing through the fourth resistor and perform overcurrent detection on the second current signal.
16. The detection circuit according to claim 7, It is characterized in that The first transmission circuit comprises: a first transmission module, wherein a first end of the first transmission module is electrically connected to the first sideband using a pin, and a second end of the first transmission module is electrically connected to a second input end of the first isolation circuit; and / or, A second transmission module, wherein a first end of the second transmission module is electrically connected to the second sideband using a pin, and a second end of the second transmission module is electrically connected to a second input end of the first isolation circuit.
17. The detection circuit according to claim 7, It is characterized in that The second transmission circuit comprises: a third transmission module, wherein a first end of the third transmission module is electrically connected to the first configuration channel signal pin, and a second end of the third transmission module is electrically connected to the second input end of the second isolation circuit; and / or, A fourth transmission module, wherein a first end of the fourth transmission module is electrically connected to the second configuration channel signal pin, and a second end of the fourth transmission module is electrically connected to the second input end of the second isolation circuit.
18. The detection circuit according to claim 16, It is characterized in that The first transmission module includes: a first diode, an anode of the first diode is electrically connected to the first sideband using a pin, and a cathode of the first diode is electrically connected to the second input end of the first isolation circuit; and / or, The second transmission module includes: a second diode, an anode of the second diode is electrically connected to the second sideband using a pin, and a cathode of the second diode is electrically connected to the second input end of the first isolation circuit.
19. The detection circuit according to claim 16, It is characterized in that The third transmission module includes: a third diode, an anode of the third diode is electrically connected to the first configuration channel signal pin, and a cathode of the third diode is electrically connected to the second input end of the second isolation circuit; and / or, The fourth transmission module includes: a fourth diode, an anode of the fourth diode is electrically connected to the second configuration channel signal pin, and a cathode of the fourth diode is electrically connected to the second input end of the second isolation circuit.
20. A detection method, It is characterized in that Applied in a detection circuit, the detection circuit comprises: a first isolation circuit, a first input end of the first isolation circuit is electrically connected to a first power supply of a terminal device, the first power supply is used to output a first power supply voltage signal, and a second input end of the first isolation circuit is electrically connected to a first sideband use pin and a second sideband use pin of an interface of the terminal device respectively; a second isolation circuit, a first input end of the second isolation circuit is electrically connected to the first power supply, and a second input end of the second isolation circuit is electrically connected to a first configuration channel signal pin and a second configuration channel signal pin of the interface respectively; a sampling circuit, the sampling circuit is electrically connected to an output end of at least one of the first isolation circuit and the second isolation circuit; The detection method comprises: The overcurrent and / or overvoltage in the first isolation circuit and the second isolation circuit are detected by the sampling circuit.
21. The detection method according to claim 20, It is characterized in that The sampling circuit comprises: a first sampling circuit, the first sampling circuit is electrically connected to the output end of the first isolation circuit; a second sampling circuit, the second sampling circuit is electrically connected to the output end of the second isolation circuit; The detecting the overcurrent and / or overcurrent voltage in the first isolation circuit and the second isolation circuit by the sampling circuit includes: Detecting an overcurrent and / or an overvoltage in the first isolation circuit by using the first sampling circuit; The overcurrent and / or overvoltage in the second isolation circuit is detected by the second sampling circuit.
22. The detection method according to claim 21, It is characterized in that At least one of the first sampling circuit and the second sampling circuit is a current sampling circuit.
23. The detection method according to claim 22, It is characterized in that The detecting the overcurrent and / or overcurrent voltage in the first isolation circuit by the first sampling circuit includes: Sampling a first current signal outputted from an output terminal of the first isolation circuit by means of the first sampling circuit, and performing overcurrent detection on the first current signal; The detecting the overcurrent and / or overcurrent voltage in the second isolation circuit by the second sampling circuit includes: The second current signal outputted from the output end of the second isolation circuit is sampled by the second sampling circuit, and an overcurrent detection is performed on the second current signal.
24. The detection method according to claim 20, It is characterized in that When the bus power of the terminal device is connected and the output voltage of the system power supply is within a preset range, the voltage value of the first power supply voltage signal is a preset first power supply voltage value; When the bus power supply is not connected, the voltage value of the first power supply voltage signal is a second power supply voltage value, and the second power supply voltage value is smaller than the first power supply voltage value.
25. An electronic device, It is characterized in that include: A detection circuit as claimed in any one of claims 1 to 19.
26. An electronic device, It is characterized in that include: processor; a memory for storing executable instructions for the processor; The processor is configured to execute the instructions to implement the method as claimed in any one of claims 20-24.
27. A computer-readable storage medium, It is characterized in that When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the method as described in any one of claims 20-24.
Citation Information
Cited By
Type-C interface foreign matter detection device and detection method thereof
CN119414475A
Protection isolation circuit for household FTTR set top box
CN120914727A
