Port controller power path short circuit detection

By connecting resistors in parallel and sensing voltage in a multi-port system, detecting faults and disabling the port controller solves the single-point fault detection challenge, reduces system complexity and cost, and ensures port protection capabilities.

CN113848504BActive Publication Date: 2024-08-27ALPHA & OMEGA SEMICON INT LP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110632852.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-06-26
Filing Date
2021-06-07
Publication Date
2024-08-27
Estimated Expiration
2041-06-07

AI Technical Summary

Technical Problem

In multi-port systems, existing technology has difficulty effectively detecting and isolating a single point of failure, such as a short circuit in a port controller, resulting in potentially catastrophic damage, and solutions using secondary microcontrollers add complexity and cost.

Method used

The fault is achieved by coupling resistors in each port controller circuit and connecting the resistors of multiple port controllers in parallel, sensing the voltage of the parallel resistors to detect a fault condition, and disabling all port controllers based on the fault signal Detect and protect.

Benefits of technology

It achieves effective detection and isolation of single-point faults in multi-port systems, reduces system complexity and cost, maintains the ability to protect adjacent ports, and significantly improves traditional solutions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113848504B_ABST
    Figure CN113848504B_ABST
Patent Text Reader

Abstract

A multi-port system and method implements fault detection using resistors connected to each port controller, where the resistors of at least two port controllers are connected together in parallel. Each port controller provides a predetermined current to the associated resistor and senses the resistor voltage of the parallel resistors to detect a fault condition. When the resistor voltage exceeds a given threshold window, a fault condition will be indicated. In this way, for a single point fault, such as a short circuit along the power supply path of a port controller, another port controller senses the change in resistor voltage and can assert a fault signal. In one embodiment, the fault signal is an open drain output and is pulled down on a fault bus, which disables all port controllers in the system through a disable input.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to short circuit detection in a multi-port system, and in particular to single point fault detection in a multi-port system. Background Art

[0002] Electronic systems, such as laptop computers, often contain one or more serial ports, such as Universal Serial Bus (USB) ports, for serial data communication and power delivery to external devices. In some examples, rechargeable portable devices require an external power source to charge their batteries, and USB ports are a convenient way to charge due to the available bus power. Power delivery using USB ports has gained further popularity with the introduction of the USB-C standard and the USB Power Delivery (USB-PD) standard. The USB-PD standard is a specification for handling higher power, allowing a range of devices to charge quickly over a USB connection. The USB-PD standard coordinates a power contract by facilitating communication between two devices so that they can determine how much power can be drawn from the charger. Power delivery starts at a 5V setting and can be configured up to 20V. The USB-PD standard can provide up to 60W of power using a standard USB-C cable. Another feature of USB power delivery is that it allows power to flow in both directions, without the need to set the direction based on the circuit or connection.

[0003] Devices such as handheld computers, handheld docking stations, serial hubs, chargers, or adapters contain one or more ports that support power delivery. These ports are sometimes called power delivery charging ports. In parallel multi-port systems, each port is connected to a port controller to provide power control and protection functions at the port. The power delivery port controller connects the power supplier and the power consumer at the port and enables communication between devices to establish power contracts. The implementation of the port controller usually includes fault detection and protection to ensure that the failure of one port does not cause catastrophic damage to another port or connected devices. Summary of the invention

[0004] The present invention discloses a method in an electronic system, comprising a plurality of serial ports, each serial port being coupled to a port controller circuit, the method comprising: at each serial port, coupling a resistor between a first node of the port controller circuit and a ground voltage, the resistor having a first resistance value; at each port controller circuit, providing a current having a first current value to the first node; electrically connecting at least two first nodes of the port controller circuits of the plurality of serial ports together, connecting in parallel the resistors associated with the connected first nodes; sensing a first voltage at the first node in each port controller circuit, wherein the first voltage indicates a voltage of the parallel-connected resistor and a current flowing into the parallel-connected resistor; a current connecting a resistor; in response to the first voltage being within a predetermined voltage window, generating a first signal having a first state at the first port controller circuit, the first state indicating that no fault has been detected in the port controller circuit having a resistor connected in parallel with the resistor of the first port controller circuit; in response to the first voltage being outside the predetermined voltage window, generating a first signal having a second state at the first port controller circuit, the second state indicating that a fault has been detected in at least one port controller circuit having a resistor connected in parallel with the resistor of the first port controller circuit; and disabling the port controller circuits of the plurality of serial ports in response to the first signal having the second state.

[0005] Wherein, electrically connecting at least two of the first nodes of the port controller circuits of the plurality of serial ports together includes: electrically connecting the first nodes of the port controller circuits of the plurality of serial ports together.

[0006] Wherein, the plurality of serial ports include N serial ports coupled to respective N port controller circuits, and wherein electrically connecting together at least two of the first nodes of the port controller circuits of the plurality of serial ports includes: electrically connecting the first nodes of the port controller circuits in pairs, the first nodes of the N port controller circuits being divided into N / 2 pairs of connected first nodes; generating a fault signal at each port controller circuit based on a first signal; and connecting together the fault signals of the N port controller circuits.

[0007] The predetermined voltage window includes an upper threshold voltage and a lower threshold voltage, and the first voltage is within the predetermined voltage window in response to the first voltage being smaller than the upper threshold voltage and larger than the lower threshold voltage.

[0008] The upper threshold voltage includes a voltage value indicating a product of a first current value and a resistance value of the resistor connected in parallel.

[0009] Here, for the M resistor groups connected in parallel, the lower threshold voltage includes a voltage value representing (M−1) multiplied by the product of the first current value and the resistance values ​​of the M resistors connected in parallel.

[0010] The method also includes: generating a fault signal at each port controller circuit according to a first signal; connecting the fault signals of multiple port controller circuits together; generating a disable signal in response to the fault signal at each port controller circuit; validating the fault signal at the first port controller circuit according to a first signal having a second state at the first port controller circuit; and validating a disable signal at each port controller circuit according to the validated fault signal so as to disable multiple port controller circuits.

[0011] The method further includes: enabling a power path at each port controller circuit to facilitate power transmission between each serial port and an internal system bus; and disabling the power path at each port controller circuit so as to disable the port controller circuit according to a first signal having a second state.

[0012] The present invention also discloses a system including multiple serial ports, the system including: multiple port controller circuits, each port controller circuit is coupled to a respective serial port, each port controller circuit includes a first node and a current source, the current source provides a first current having a first current value to the first node; and multiple resistors, each resistor is connected between the first node of the corresponding port controller circuit and the ground potential, the resistor has a first resistance value, wherein at least two of the first nodes of the port controller circuits are electrically connected together, and the resistor associated with the connected first node is connected in parallel; wherein each port controller circuit senses a first voltage at the first node, and in response to the first voltage being within a predetermined voltage window, the first port controller circuit generates a first signal having a first state, the first state indicating that no fault is detected in the port controller circuit having the resistor connected in parallel with the first port controller circuit, and according to the first voltage being outside the predetermined voltage window, the first port controller circuit generates a first signal having a second state, the second state indicating that a fault is detected in at least one of the port controller circuits having the resistor connected in parallel with the first port controller circuit; and, according to the first signal having the second state, the multiple port controller circuits are disabled.

[0013] Wherein, the first nodes of the plurality of port controller circuits are electrically connected together.

[0014] The system includes N serial ports coupled to respective N-port controller circuits, wherein the first nodes of the N-port controller circuits are electrically connected together in pairs to form N / 2 pairs of connected first nodes.

[0015] The first voltage represents the voltage of the parallel resistor and the current flowing into the parallel resistor.

[0016] The predetermined voltage window includes an upper threshold voltage and a lower threshold voltage, and the first voltage is within the predetermined voltage window in response to the first voltage being less than the upper threshold voltage and greater than the lower threshold voltage.

[0017] The upper threshold voltage includes a voltage value representing a product of the first current value and the resistance value of the parallel resistor.

[0018] Here, for the M resistor groups connected in parallel, the lower threshold voltage includes a voltage value representing (M−1) multiplied by the product of the first current value and the resistance values ​​of the M resistors connected in parallel.

[0019] Among them, the first current value includes 10mA, the first resistance value includes 100k, the upper threshold voltage is 1.2V, and the lower threshold voltage is 0.8V.

[0020] Each port controller circuit includes: a first comparator coupled to compare a first voltage with an upper threshold voltage, the first comparator validating its output signal in response to the first voltage being greater than the upper threshold voltage; a second comparator coupled to compare the first voltage with a lower threshold voltage, the second comparator validating its output signal in response to the first voltage being less than the lower threshold voltage; and a logic gate configured to receive the output signals of the first comparator and the second comparator, the logic gate generating a second signal having a first state in response to the first comparator and the second comparator having no valid output signals, and generating a second signal having a second state in response to the valid output signals of the first comparator and the second comparator.

[0021] Wherein, each port controller circuit further comprises: a first transistor having a first current terminal connected to a second node, a second current terminal connected to a ground voltage and a control terminal coupled to receive a second signal, the second node providing the first signal as a fault signal, wherein the second nodes of the plurality of port controller circuits are electrically connected together, and wherein the fault signal is validated based on the second signal having a second state.

[0022] Each port controller circuit further comprises a third node for receiving a disable signal, the third nodes of the plurality of port controller circuits are connected together and connected to the second node, wherein according to the validated fault signal, the disable signal at each port controller circuit is validated to disable each port controller circuit.

[0023] Each port controller circuit further includes a power path to facilitate power transfer between the respective serial port and the internal system bus, wherein the plurality of port controller circuits are disabled by disabling the power path at each port controller circuit in response to the first signal having a second state. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The following detailed description and accompanying drawings set forth various embodiments of the invention.

[0025] Figure 1 In some examples of the invention, a multi-port system is shown including a port controller connected to respective serial ports.

[0026] Figure 2 In some examples, a multi-port system incorporating a microcontroller for fault detection and protection is shown.

[0027] Figure 3 A schematic diagram of a multi-port system configuring a resistor sensing fault detection system in an embodiment of the present invention is shown.

[0028] Figure 4 A schematic diagram showing a circuit configuration of a resistor sensing fault detection system in a multi-port system in an embodiment of the present invention.

[0029] Figure 5 A table showing representative resistor voltage values ​​for different numbers of parallel sense resistors in some examples.

[0030] Figure 6 A schematic diagram showing a circuit configuration of a resistor sensing fault detection system in a four-port system in an embodiment of the present invention. DETAILED DESCRIPTION

[0031] According to an embodiment of the present invention, a multi-port system and method uses a resistor connected to each port controller to implement power path short circuit detection, wherein the resistors of at least two port controllers are connected in parallel. Each port controller provides a predetermined current to the associated resistor and senses the resistor voltage of the parallel resistor to detect a fault condition. When the resistor voltage exceeds a given threshold window, a fault state will be indicated. In this way, for a single point fault, such as a short circuit along the power path of a port controller, another port controller senses the change in the resistor voltage and can validate a fault signal. In one embodiment, the fault signal is an open-drain output and is pulled down on a fault bus, which disables all port controllers in the system through a disable input.

[0032] Figure 1 In some examples of the present invention, a multi-port system including a port controller connected to each serial port is shown. Figure 1 , the multi-port system 10 includes a pair of port controllers 12 coupled to control respective serial ports 13, the serial ports 13 including port 1 and port 2. Specifically, port controller 1 is coupled to serial port 1, and port controller 2 is coupled to serial port 2. The power path of port controller 12 is connected to the internal system bus VSYS18 and the port power bus VBUS17. In the present specification, the port 13 is configured for bidirectional power flow. Therefore, each port 13 can be connected to a power supply (a power source or source) or a power consumption device (a power sink or load). The multi-port system 10 can be configured in a receiver configuration, where the port 13 is upstream, facing the port receiver or consuming the VBUS power provided by an external device. That is, a power supply supplies power to the serial port 13 on the VBUS power bus of the internal system for driving the internal system bus VSYS18. The multi-port system 10 can also be configured in a source configuration, where the port 13 is downstream, facing the port that provides power to the external device. That is, the internal system is a power source such as a charger, which supplies power to the serial port 13 on the VBUS power bus, and the VBUS power bus is used to drive an external device coupled to the serial port 13.

[0033] Each port controller 12 includes a pair of blocking power switches Q1 and Q2 that form a power path for controlling power transfer between two input / output nodes 17, 18. Each port controller 12 also includes a control circuit 14 that drives the power switches Q1 and Q2, and also provides control, fault detection and protection functions. In this example, the power switches Q1 and Q2 are constructed as back-to-back field effect transistors (FETs). By using blocking power switches Q1 and Q2 in each port controller 12, each port is isolated from the other port, and no current is passed from one port to the other port.

[0034] As an explanation, assume that the multi-port system 10 is in a receiver configuration, and when an external device is connected to port 13 (e.g., port 1), the device provides 5V on VBUS1. Then, if the device is capable of providing power at a higher voltage (e.g., 20V), the device can negotiate the higher voltage through port controller 1. After the negotiation handshake, port controller 1 determines that the device can handle the higher voltage and causes VBUS1 to increase to 20V. The internal system bus VSYS18 is also driven to 20V in turn.

[0035] The port controller 12 is configured to detect various fault conditions, such as short circuit, overcurrent or overvoltage, and to assert a fault signal. In this specification, the fault signal is an open drain signal FLTB generated at the transistor Q3. The control circuit 14 of the port controller 12 asserts a control signal to the transistor Q3 to turn on the transistor when a fault condition is detected. The transistor Q3 pulls down the fault signal FLTB to indicate the detected fault condition. The open drain transistor Q3 is resistively connected to a power supply 16 that provides a given voltage (e.g., 5V). The open drain transistors Q3 of all port controllers 12 are connected together to a fault signal bus 15, which is resistively connected to the power supply 16. Each port controller 12 also receives a disable signal DISB connected to the fault signal bus 15. Therefore, when one of the port controllers 12 asserts a fault signal and pulls down the fault signal bus 15, the disable signals DISB (active low) of all port controllers will be asserted, and the control circuit 14 in each port controller 12 will disconnect the power switch and disable the power path in each port controller. In this way, in a multi-port system 10 including a plurality of parallel ports, the fault signal FLTB of one port controller is asserted to disable all port controllers.

[0036] like Figure 1 As shown, in a fault condition, the power terminals of the power switches Q1 and Q2 of the port controller 2 are shorted together externally, that is, shorted together outside the port controller circuit. The port controller 2 can detect the fault and pull down the fault signal FLTB at the port controller 2, thereby pulling down the fault signal bus 15 to disable the power switches of the port controller 1 and the port controller 2. If the short circuit occurs outside the port controller circuit, the port controller can report the fault without any problem. This problem occurs when the short circuit is inside the port controller and is destructive to the port controller. The port controller integrated circuit loses integrity and is no longer able to report the fault.

[0037] like Figure 2 As shown, to prevent the possibility of a failure not being reported, some prior art solutions use an auxiliary microcontroller to detect and disable all ports. Figure 2 An example of a multi-port system that includes a microcontroller for fault detection and protection is shown. Figure 2In order to protect the fault detection in the event that the port controller suffers catastrophic damage, a microcontroller 22 is added to the microcontroller monitoring multi-port system 20. The microcontroller monitors all fault conditions in the multi-port system 20 and provides a disable signal to the port controller. The configuration using the microcontroller 22 increases the complexity of the microcontroller monitoring multi-port system 20 because an additional bus is required to enable the microcontroller 22 to monitor the voltage status in the microcontroller monitoring multi-port system 20. The addition of the microcontroller also increases the configuration cost of the microcontroller monitoring multi-port system 20.

[0038] In an embodiment of the present invention, a multi-port system implements fault detection using a resistor RSENSE connected to each port controller and also connected in parallel with at least one other resistor. The resistor voltage is sensed for detecting a fault condition. In this way, only a simple resistor is required to detect the fault condition, even in the event of a catastrophic failure of a port controller. The resistor sensing fault detection scheme adds an RSENSE monitoring pin to the port controller. The resistor sensing fault detection scheme is particularly advantageous for addressing single point failures that damage port controllers in multi-port applications. With the RSENSE resistor, the multi-port system retains the ability to report and protect adjacent ports. In addition, the resistor monitoring scheme can be implemented with lower complexity and lower cost, representing a significant improvement over traditional solutions using microcontrollers.

[0039] Figure 3 Schematic diagram of a multi-port system implementing a resistor sensing fault detection scheme in an embodiment of the present invention. Figure 3 The multi-port system 50 includes a port controller 52 coupled to each serial port 13. The multi-port system 50 is manufactured in a manner similar to Figure 1 In a similar manner to the multi-port system 10, a resistor RSENSE is added to implement a resistor sensing fault detection scheme. To simplify the discussion, Figure 1 and Figure 3 Similar elements in the drawings are given by reference numerals.

[0040] In this embodiment, the multi-port system 50 includes a pair of port controllers 52, which are coupled to control the respective serial ports 13, and the serial ports 13 include port 1 and port 2. Specifically, port controller 1 is coupled to serial port 1, and port controller 2 is coupled to serial port 2. In some embodiments, the serial port 13 is a Type C port or a USB-C port. The power path of each port controller 52 is connected to the internal system bus VSYS18 and the port power bus VBUS17. In this specification, the port 13 is configured for bidirectional power flow. Therefore, each port 13 can be connected to a power supply (a power supply or source) or a power device (a power receiver or load). The multi-port system 50 can be configured in a receiver configuration or a source configuration, where the port 13 is coupled to a power supply or a power consumer.

[0041] In this specification, the multi-port system 50 is shown as including two ports, each port coupled to a corresponding port controller. In other embodiments, the multi-port system may include two or more ports, each port coupled to a respective port controller. The use of two ports in the multi-port system 50 is for illustration only and is not intended to be limiting.

[0042] Each port controller 52 includes a pair of blocking power switches Q1 and Q2 that form a power path, and a control circuit 54 that drives the power switches and provides control, fault detection, and protection functions. In this example, the power switches Q1 and Q2 are constructed as back-to-back field effect transistors (FETs). By using blocking power switches Q1 and Q2 in each port controller 52, each port is isolated from the other port, and no current is passed from one port to another. More specifically, the source terminal of the power switch Q1 is connected to the port power bus VBUS17, and the source terminal of the power switch Q2 is connected to the internal system bus VSYS18. The drain terminals of the power switches Q1 and Q2 are connected together. The gate terminals of the power switches Q1 and Q2 are controlled by the control circuit 54. The control circuit 54 turns on the power switches Q1 and Q2 to enable the power path, and turns off the power switches Q1 and Q2 to disable the power path.

[0043] The port controller 52 is configured to detect a fault condition, such as a short circuit, overcurrent or overvoltage, and assert a fault signal FLTB. In the present specification, the fault signal FLTB is an open-drain signal generated at the transistor Q3. The control circuit 54 of the port controller 52 asserts a control signal to the transistor Q3 when a fault condition is detected so as to turn on the transistor. The transistor Q3 pulls down the fault signal FLTB to indicate the detected fault condition. The open-drain transistor Q3 is resistively connected to a power supply 16 that provides a given voltage (e.g., 5V). The fault signals FLTB of all port controllers 52 are connected together to a fault signal bus 15, which is resistively connected to the power supply 16. Each port controller 52 also includes a disable signal DISB connected to the fault signal bus 15. Therefore, when one of the port controllers 52 asserts a fault signal and pulls down the fault signal bus 15, the disable signals DISB (active low) of all port controllers will be asserted, and the control circuit 54 in each port controller 52 will disconnect the power switch and disable the power path in each port controller.

[0044] In an embodiment of the present invention, each port controller 52 includes a resistor monitoring terminal 55, and a sense resistor RSENSE is coupled to the resistor monitoring terminal 55. Specifically, the sense resistor RSENSE is connected between the resistor monitoring terminal 55 and the ground potential. In addition, in the multi-port system 50, at least two sense resistors RSENSE are connected in parallel. For example, the RSENSE resistor of port controller 1 and the RSENSE resistor of port controller 2 can be connected together through a bus 68 so that the two resistors are connected in parallel between the bus 68 and the ground potential. The control circuit 54 in each port controller 52 is configured to provide a current ISRC to the resistor monitoring terminal 55, which then flows to the sense resistor RSENSE. The control circuit 54 in each port controller 52 is further configured to monitor the resistor voltage at the resistor monitoring terminal 55 to detect a fault condition. Specifically, the port controller 52 uses the sense resistor RSENSE to implement a resistor sensing fault detection scheme, which can detect a fault condition even when one of the port controllers in the multi-port system 50 suffers catastrophic damage and is no longer working. The resistance sensing fault detection scheme enables one port controller to monitor the other port controller and indicate a fault condition if the other port controller fails.

[0045] In embodiments where the multi-port system includes more than two ports, a resistor sensing fault detection scheme may be implemented by connecting all sense resistors together in parallel and monitoring the resistor voltage at a common node. Alternatively, a resistor sensing fault detection scheme may be implemented by connecting multiple groups of sense resistors together in parallel, each group including two or more sense resistors. The resistance monitoring terminals of the port controller may be connected in a variety of combinations to provide reliable fault detection.

[0046] More specifically, with such a configuration, the resistance seen at bus 68 (and at each resistor monitoring terminal 55) is the resistance of the parallel combination of the RSENSE resistors. Assuming that the resistance of each RSENSE resistor is RS, and there are N parallel RSENSE resistors, the total resistance R at bus 68 and each resistor monitoring terminal 55 is T as follows:

[0047]

[0048] In one example, the sense resistor RSENSE has a resistance of 100 kΩ. The parallel combination of the two RSENSE resistors has a resistance of R T is 50kΩ.

[0049] Each control circuit 54 monitors the resistor voltage V at the resistor monitoring terminal 55 R . Resistor voltage V R is the total current supplied to the parallel resistor combination and the total resistance R T When all port controllers are working, the resistor voltage V R There is an expected voltage value. Using the same assumptions as above, for N parallel RSENSE resistors, the control circuit 54 of all port controllers 52 provides N×ISRC current to the resistor. Therefore, when there is no fault condition in the multi-port system 50, the expected resistor voltage V R As shown below:

[0050] V R =(N*ISRC)*R T =(N*ISRC)*(R S / N)=ISRC / R S .

[0051] In one example, the sense resistor RSENSE has a resistance of 100 kΩ, the current ISRC is 10 μA, and the expected resistor voltage is 1 V for all control circuits 54 .

[0052] In the event of a failure in one of the port controllers, the port controller no longer provides current ISRC to the resistor monitoring terminal 55. In this case, the missing current will cause the resistor voltage V R This is due to the remaining current being divided by the same number of parallel resistors.

[0053] exist Figure 3 In the example shown, with two RSENSE resistors connected together, for an RSENSE resistance of 100 kΩ and a current ISRC of 10 μA, the normal resistor voltage V R However, if it is assumed that the port controller 2 is damaged and no longer supplies the current ISRC to the resistor monitoring terminal 55, then the resistor voltage V R The control circuit 54 of the port controller 1 detects the resistor voltage V R has dropped below a given level, indicating a fault condition. Therefore, port controller 1 may assert a fault signal FLTB, which asserts a disable signal DISB to disable power switches Q1 and Q2. If there are more than two port controllers in a multi-port system, asserting the fault signal FLTB will cause all other port controllers to disconnect to protect all port controllers. In this way, when a port controller in a multi-port system fails, the resistor sensing fault detection scheme of the present invention enables other port controllers to detect the fault and activate the protection scheme.

[0054] In an embodiment of the present invention, the resistor sensing fault detection scheme enables one port controller to monitor all other port controllers having sense resistors connected in parallel. Thus, for a group of N port controllers having sense resistors connected, a single port controller can monitor N-1 port controllers at a time.

[0055] In some embodiments, the port controller is constructed as an integrated circuit. For example, each port controller is constructed as a packaged integrated circuit chip. The resistor monitoring terminal 55 is configured as a pin on the integrated circuit chip.

[0056] Figure 4 A schematic diagram showing a circuit configuration of a resistor sensing fault detection scheme in a multi-port system in an embodiment of the present invention. Figure 3 and Figure 4 Similar elements in the same figure are given similar reference numerals and will not be described again in detail. Figure 4 Each port controller 52 monitors the resistor voltage V by using a window comparator R To implement resistor sensing fault detection, the window comparator converts the resistor voltage VR Compared with the upper threshold voltage VTH_UP and the lower threshold voltage VTH_LOW. In normal operation, when N sense resistors RSENSE are connected in parallel and powered by N×ISRC current, the resistor voltage V R The resistor voltage V R will drop and exceed the threshold window. In this case, the window comparator detects a fault condition and asserts the fault signal FLTB.

[0057] More specifically, the resistor sensing fault detection scheme is implemented in each port controller 52 as follows. A current source 66 provides a current ISRC to the resistor monitoring terminal 55. The resistor voltage V R The voltage at node 55 is monitored by a pair of comparators 63, 65 forming a window comparator. Specifically, comparator 63 converts the resistor voltage V R (at node 55) is compared with the upper threshold voltage VTH_UP, and the comparator 63 responds to the resistor voltage V R The comparator output signal is valid when the resistor voltage V is greater than the upper threshold voltage VTH_UP. R is coupled to the positive input terminal of the comparator 63, and the upper threshold voltage VTH_UP is coupled to the negative input terminal of the comparator 63. At the same time, the comparator 65 converts the resistor voltage V R (at node 55) is compared with the lower threshold voltage VTH_LOW, and comparator 65 responds to the resistor voltage V R The comparator output signal is valid when the resistor voltage V R A lower threshold voltage VTH_LOW is coupled to the negative input terminal of the comparator 65 , and a lower threshold voltage VTH_LOW is coupled to the positive input terminal of the comparator 65 .

[0058] The output terminals of comparators 63 and 65 are coupled to a logic OR gate 62. Thus, in response to either of the comparator output signals being asserted, the resistor voltage V R Outside the threshold window, the OR gate 62 asserts its output signal to turn on the transistor Q3. The transistor Q3 pulls down the voltage at the drain terminal to assert the fault signal FLTB. As described above, since the transistor Q3 of one of the port controllers is turned on to pull down the fault signal FLTB, the disable signal DISB connected to the fault signal bus 15 of all the port controllers 52 is asserted (active low). In response to the asserted disable signal DISB, the control circuit 54 of the port controller 52 turns off the power switches Q1 and Q2, thereby disabling the power path.

[0059] In this way, by obtaining the current flowing through the sense resistor and monitoring the voltage across the sense resistor using a window comparator, one port controller can detect the credibility of another port controller. When a port controller in a multi-port system fails, another port controller connected to the sense resistor can monitor the status of the port controller and report the fault condition. In one embodiment, for a system with two sense resistors connected in parallel, the sense resistor RSENSE has a resistance of 100kΩ and the current ISRC is 10μA, so that the expected resistor voltage seen by all control circuits 54 is 1V, and the threshold window uses an upper threshold voltage VTH_UP of 1.2V and a lower threshold voltage VTH_LOW of 0.8V.

[0060] In an embodiment of the present invention, the upper threshold voltage VTH_UP is selected to account for the worst-case source current ISRC tolerance and the specified tolerance of the sense resistor RSENSE. At the same time, the lower threshold voltage VTH_LOW is selected as a function of the number of parallel sense resistors connected together, and takes into account the current source and sense resistor resistance value tolerances, which will be described in more detail below.

[0061] Therefore, to ensure protection in the multi-port system 50, one port controller only needs another port controller for verification, and the two port controllers can monitor each other. In some embodiments, in a multi-port system containing 40 ports, the 40 port controllers can be connected in pairs so that one port controller can monitor the other port controller in the pair. In this case, when one port controller in a pair fails, the resistor voltage V R Dropping 50%, the window comparator can easily detect the fault condition.

[0062] In an embodiment of the present invention, the threshold window is selected so that a single-port fault can be detected within a range of variations in resistance and current values. Figure 5 Graph showing representative resistor voltage values ​​for different numbers of parallel sense resistors in some examples. In this example, the sense resistor RSENSE is assumed to have a resistance of 100 kΩ and the current ISRC is assumed to be 10 μA. When all port controllers are operational, the expected resistor voltage V R is 1V.

[0063] See also Figure 5 , Figure 80 shows the resistor voltage V when a fault occurs in one port controller for different numbers of parallel sense resistors RSENSE RIf a single-port controller fails, one RSENSE resistor in the first case will result in a resistor voltage of 0 V. In the case of two RSENSE resistors in parallel, the resistor voltage drops from 1 V to 0.495 V when one of the port controllers fails. Therefore, a lower threshold voltage VTH_LOW of 0.6 or 0.7 V is sufficient to detect a fault condition.

[0064] With three RSENSE resistors in parallel, when one of the port controllers fails, the resistor voltage drops from 1 V to 0.66 V. Therefore, a lower threshold voltage VTH_LOW of 0.8 V is sufficient to detect a fault condition.

[0065] With ten RSENSE resistors in parallel, when one of the port controllers fails, the resistor voltage drops from 1 V to 0.891 V. Therefore, a lower threshold voltage VTH_LOW of 0.9 V is sufficient to detect a fault condition.

[0066] Specifically, the resistor voltage V of M parallel resistors and M current sources providing current ISRC R As shown below:

[0067] V R =(M*ISRC)*R T =(M*ISRC)*(R S / M).

[0068] If a port fails, that is, a port controller fails, the number of current sources providing the current ISRC will be reduced to (M-1). R Reduce to:

[0069] V R =((M-1)*ISRC)*(R S / M).

[0070] Therefore, in the case where (M-1) current sources ISRC and M resistors are connected in parallel, the threshold voltage VTH_LOW can be selected to have a voltage value to distinguish the resistor voltage VR. That is, the lower threshold voltage VTH_LOW is selected to detect a port failure in the M parallel resistors.

[0071] As the number of sense resistors connected in parallel increases, the resistor voltage V R Increases, so there is a smaller margin between the expected resistor voltage and the generated resistor voltage. Therefore, in the case of a multi-port system containing a large number of ports, it is very advantageous to connect the sense resistors in pairs to obtain the maximum margin for the resistor voltage drop due to port controller failure.

[0072] In one example, the resistor sensing fault detection scheme uses at least two port controllers to monitor each other. In some embodiments, the lower threshold voltage VTH_LOW is selected to have a value for detecting the situation of four connected sense resistors. For example, the value of the lower threshold voltage VTH_LOW can be selected to be 0.8V. In this case, the lower threshold voltage VTH_LOW can detect a single point fault in a multi-port system containing two, three or four port controllers. For a multi-port system with more than four ports, it may be advantageous to connect the sense resistors in pairs or in groups of two or three sense resistors. In this case, the detection margin is guaranteed, and the resistor sensing fault detection scheme can effectively detect the fault state.

[0073] Figure 6 FIG. 1 is a schematic diagram showing a circuit implementation of a resistor sensing fault detection scheme in a four-port system in an embodiment of the present invention. Figure 6 In the 4-port system 70, the sensing resistors RSENSE are connected in pairs so that the two port controllers can monitor each other. This can simplify the bus wiring and the design of the control circuit and improve the threshold voltage comparison margin.

[0074] In this example, the sense resistors of port controller 1 and port controller 2 are connected together in parallel via bus 68. At the same time, port controller 3 and port controller 4 connect their sense resistors together in parallel via a separate bus 69. In the case where all four power controllers share the same power path, the fault signal bus 15 connects the fault signals of all four port controllers. The disable signals DISB of all four port controllers are also connected to the fault signal bus 15. In this way, port controller 1 and port controller 2 monitor each other and provide fault signals, which are asserted to disable all four port controllers when a fault condition occurs. Similarly, port controller 3 and port controller 4 monitor each other and provide fault signals, which are asserted to disable all four port controllers when a fault condition occurs.

[0075] Figure 6 The four-port system 70 shown illustrates one embodiment of implementing a resistor sensing fault detection scheme and is not intended to be limiting. In other embodiments, a multi-port system may implement the resistor sensing fault detection scheme of the present invention by connecting two or more sensing resistors in parallel for fault detection and connecting to the fault signal bus of the port controller of the shared power path. In embodiments of the present invention, sensing resistors may be connected in groups or all sensing resistors in a multi-port system may be connected in parallel.

[0076] The present invention may be implemented in a variety of ways, including as a process, an apparatus, a system, a composition of matter, a computer program product embodied on a computer-readable storage medium, and / or a processor, such as a hardware processor or processor device, which is configured to execute instructions stored in and / or provided by a memory coupled to the processor. In this specification, these implementations or any other form that the present invention may take may be referred to as techniques. In general, the order of the steps of the disclosed method may be changed within the scope of the present invention. Unless otherwise stated, components such as processors or memories described as being configured to perform tasks may be implemented as general components that are temporarily configured to perform tasks at a given time or as specific components manufactured to perform tasks. As used herein, the term "processor" refers to one or more devices, circuits, and / or processing cores configured to process data (e.g., computer program instructions).

[0077] The above provides a detailed description of one or more embodiments of the present invention and drawings that illustrate the principles of the present invention. The present invention is described in conjunction with these embodiments, but the present invention is not limited to any embodiment. The scope of the present invention is limited only by the claims, and the present invention includes many alternatives, modifications and equivalents. In order to provide a thorough understanding of the present invention, many specific details are set forth in the specification. These details are provided for illustrative purposes, and the present invention can be implemented according to the claims without some or all of these specific details. For the sake of clarity, technical materials known in the technical field related to the present invention are not described in detail to avoid unnecessary confusion of the present invention.

[0078] The above detailed description is provided to illustrate specific embodiments of the present invention, not to limit it. Many modifications and variations are possible within the scope of the present invention. The present invention is defined by the appended claims.

Claims

1. A method in an electronic system comprising a plurality of serial ports, each serial port coupled to a port controller circuit, the method comprising: At each serial port, a resistor is coupled between a first node of the port controller circuit and a ground voltage, the resistor having a first resistance value; At each port controller circuit, providing a current having a first current value to a first node; electrically connecting together at least two first nodes of the port controller circuits of the plurality of serial ports, with resistors associated with the connected first nodes connected in parallel; sensing a first voltage at a first node at each port controller circuit, wherein the first voltage is indicative of a voltage across and a current flowing into the parallel-connected resistors; generating, in response to the first voltage being within a predetermined voltage window, a first signal at the first port controller circuit having a first state indicating that no fault has been detected in the port controller circuit having a resistor connected in parallel with a resistor of the first port controller circuit; responsive to the first voltage being outside of a predetermined voltage window, generating at the first port controller circuit a first signal having a second state indicating that a fault is detected in at least one port controller circuit having a resistor connected in parallel with a resistor of the first port controller circuit; as well as In response to the first signal having a second state, port controller circuits of the plurality of serial ports are disabled.

2. The method according to claim 1, characterized in that Electrically connecting together at least two of the first nodes of the port controller circuits of the plurality of serial ports comprises: The first nodes of the port controller circuits of the plurality of serial ports are electrically connected together.

3. The method according to claim 1, characterized in that The plurality of serial ports includes N serial ports coupled to respective N port controller circuits, and wherein electrically connecting together at least two of the first nodes of the port controller circuits of the plurality of serial ports includes: electrically connecting the first nodes of the port controller circuits in pairs, the first nodes of the N port controller circuits being divided into N / 2 pairs of connected first nodes; According to the first signal, a fault signal is generated at each port controller circuit; and the fault signals of N port controller circuits are connected together, where N is an integer greater than or equal to 2.

4. The method according to claim 1, characterized in that The predetermined voltage window includes an upper threshold voltage and a lower threshold voltage, and the first voltage is within the predetermined voltage window in response to the first voltage being less than the upper threshold voltage and greater than the lower threshold voltage.

5. The method according to claim 4, characterized in that The upper threshold voltage includes a voltage value indicative of a product of a first current value and a resistance value of the resistor connected in parallel.

6. The method according to claim 5, characterized in that For a group of M resistors connected in parallel, the lower threshold voltage includes a voltage value representing (M-1) multiplied by the product of the first current value and the resistance values ​​of the M resistors connected in parallel, where M is an integer greater than or equal to 2.

7. The method of claim 1, further comprising: generating a fault signal at each port controller circuit based on the first signal; connecting together fault signals of multiple port controller circuits; generating a disable signal at each port controller circuit in response to the fault signal; in response to the first signal having a second state at the first port controller circuit, asserting a fault signal at the first port controller circuit; as well as Based on the asserted fault signal, a disable signal is asserted at each port controller circuit to disable the plurality of port controller circuits.

8. The method of claim 1, further comprising: enabling power paths at each port controller circuit to facilitate power delivery between the respective serial port and the internal system bus; and A power path is disabled at each port controller circuit such that the port controller circuit is disabled in response to the first signal having a second state.

9. A system comprising a plurality of serial ports, the system comprising: a plurality of port controller circuits, each port controller circuit coupled to a respective serial port, each port controller circuit comprising a first node and a current source, the current source providing a first current having a first current value to the first node; as well as a plurality of resistors, each resistor being connected between a first node of a corresponding port controller circuit and a ground potential, the resistor having a first resistance value, wherein at least two of the first nodes of the port controller circuit are electrically connected together, with the resistors associated with the connected first nodes connected in parallel; Wherein each port controller circuit senses a first voltage at a first node, and in response to the first voltage being within a predetermined voltage window, the first port controller circuit generates a first signal having a first state, the first state indicating that no fault is detected in the port controller circuit having a resistor connected in parallel with the first port controller circuit, and based on the first voltage being outside the predetermined voltage window, the first port controller circuit generates a first signal having a second state, the second state indicating a fault is detected in at least one of the port controller circuits having a resistor connected in parallel with the first port controller circuit; and, based on the first signal having the second state, multiple port controller circuits are disabled.

10. The system according to claim 9, characterized in that The first nodes of the plurality of port controller circuits are electrically connected together.

11. The system according to claim 9, characterized in that The system includes N serial ports coupled to respective N-port controller circuits, the first nodes of the N-port controller circuits being electrically connected together in pairs to form N / 2 pairs of connected first nodes, where N is an integer greater than or equal to two.

12. The system of claim 9, wherein: The first voltage represents the voltage of the parallel resistor and the current flowing into the parallel resistor.

13. The system of claim 9, wherein: The predetermined voltage window includes an upper threshold voltage and a lower threshold voltage, and the first voltage is within the predetermined voltage window in response to the first voltage being less than the upper threshold voltage and greater than the lower threshold voltage.

14. The system of claim 13, wherein: The upper threshold voltage includes a voltage value representing a product of the first current value and the resistance value of the parallel resistor.

15. The system of claim 14, wherein: For a group of M resistors connected in parallel, the lower threshold voltage includes a voltage value representing (M-1) multiplied by the product of the first current value and the resistance values ​​of the M resistors connected in parallel, where M is an integer greater than or equal to 2.

16. The system of claim 13, wherein: The first current value includes 10mA, the first resistance value includes 100kΩ, the upper threshold voltage is 1.2V, and the lower threshold voltage is 0.8V.

17. The system of claim 9, wherein: Each port controller circuit contains: a first comparator coupled to compare the first voltage to an upper threshold voltage, the first comparator validating its output signal in response to the first voltage being greater than the upper threshold voltage; a second comparator coupled to compare the first voltage with a lower threshold voltage, the second comparator validating its output signal in response to the first voltage being less than the lower threshold voltage; as well as A logic gate is configured to receive output signals of a first comparator and a second comparator, the logic gate generates a second signal having a first state according to the ineffective output signals of the first comparator and the second comparator, and generates a second signal having a second state according to the effective output signals of the first comparator and the second comparator.

18. The system of claim 17, wherein: Each port controller circuit also contains: a first transistor having a first current terminal connected to a second node, a second current terminal connected to a ground voltage, and a control terminal coupled to receive a second signal, the second node providing the first signal as a fault signal, The second nodes of the plurality of port controller circuits are electrically connected together, and the fault signal is asserted in response to the second signal having the second state.

19. The system of claim 17, wherein: Each port controller circuit also includes a third node receiving a disable signal, the third nodes of the plurality of port controller circuits are connected together and connected to the second node, wherein the disable signal at each port controller circuit is asserted to disable the respective port controller circuit in response to the asserted fault signal.

20. The system of claim 9, wherein: Each port controller circuit also includes a power path to facilitate power delivery between the respective serial port and the internal system bus, wherein the plurality of port controller circuits are disabled by disabling the power path at each port controller circuit in response to the first signal having a second state.