# US 2023/0068583 A1 · System and method for fault identification and fault handling in a multiport power sourcing device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0068583 A1
- Document ID: US20230068583A1
- Status: Published application
- Kind: A1
- Application number: 17/665,431
- Filed: 2022-02-04
- Published: 2023-03-02
- Earliest claimed: 2021-07-20
- Assignees: Siliconch Systems Pvt Ltd
- Applicants: Siliconch Systems Pvt Ltd
- Inventors: Sirisha MUNNANGI; Rakesh Kumar POLASA; Kaustubh KUMAR
- Web page: https://patentgrep.com/patent/US20230068583A1

## CPC

- G06F 11/141: {for bus or memory accesses}
- G06F 1/266: {Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips}
- G06F 11/3027: {where the computing system component is a bus}
- G06F 11/3051: {Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs (verification or detection of system hardware configuration G06F11/2247)}
- G06F 11/0757: {by exceeding a time limit, i.e. time-out, e.g. watchdogs}
- G06F 11/2005: {using redundant communication controllers}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

System and method for fault identification and fault handling in MPSD are provided. The system includes: a multi-port power sourcing device including multiple ports, a master is configured to: send a slave discovery request to multiple slave ports, receive a slave discovery response from the multiple slave ports; reset the watchdog timer in the multiple ports by sending watchdog refresh instruction periodically; each of the multiple ports experience watchdog timer timeout upon failing to receive the watchdog refresh instruction, generate their corresponding port reset upon watchdog timer timeout, to resolve one or more faults associated with the corresponding port; the multiple ports include a role change staggered timer which is triggered upon the corresponding watchdog timer timeout, and reset upon receiving the watchdog refresh instruction from master; the slave ports for which role change staggered timer times out first, changes the role to start functioning as the new master port.

## Claims

### Claim 1

A system for fault identification and fault handling in a multiport power sourcing device, the system comprising:
the multiport power sourcing device comprising a plurality of ports,
wherein the plurality of ports comprises a plurality of slave ports and a master port,
wherein power distribution across the plurality of ports in the multiport power sourcing device is controlled by a processor functioning as a coordinated pair of master and slaves using a request-response communication over a shared communication interface placed within the multiport power sourcing device, wherein the master is protocol agnostic and has one instance and the slave has one instance per port,
wherein the slaves perform power delivery over a physical interface and the master maintains a record of power allocated to each of the slaves and controls power distribution across the plurality of ports,
wherein each of the plurality of ports comprises a processor associated with master and slaves executing corresponding instructions,
wherein the master is configured to send a slave discovery request to each of the plurality of slave ports, receive a slave discovery response from a plurality of slave ports that are physically present on the multiport power sourcing device, and add data associated with each of one or more discovered slave ports to a slave port list in a master database upon receiving the slave discovery response from the plurality of slave ports;
wherein the master is configured to reset a watchdog timer in each of the plurality of ports together by sending a watchdog refresh instruction periodically to each of the plurality of ports;
wherein each of the plurality of ports generates a watchdog timer timeout notification upon failing to receive the watchdog refresh instruction from the master due to at least one first fault associated with the multiport power sourcing device;
each of plurality of ports generates its corresponding port reset upon the watchdog timer timeout to resolve at least one first fault associated with the corresponding port;
each of the plurality of ports comprises a role change staggered timer which is triggered upon the watchdog timer timeout of the corresponding port, which is reset upon receiving the watchdog refresh instruction from the master, wherein the role change staggered timer times out upon failing to receive the watchdog refresh instruction, thereby indicating at least one second fault associated with the multiport power sourcing device; and
one of the plurality of slave ports for which the role change staggered timer times out first, performs a role change to start functioning as a new master port and redistribute power to the plurality of ports for restoring power equilibrium in the multiport power sourcing device, each of the plurality of ports monitors and delivers power to one or more connected devices, for handling the at least one first fault, the at least one second fault, at least one third fault, or a combination thereof corresponding to one of temporary or permanent faults, within the multiport power sourcing device.

### Claim 2 (depends on 1)

The system as claimed in claim 1, wherein the plurality of ports comprises at least one of a Universal Serial Bus (USB) Type-C port and a USB Type-A port, or a combination thereof.

### Claim 3 (depends on 1)

The system as claimed in claim 1, wherein the power distribution within the multiport power sourcing device is controlled by a coordinated pair of the master port and the plurality of slave ports using a request-response communication over the shared interface.

### Claim 4 (depends on 1)

The system as claimed in claim 1, wherein each of the plurality of ports is configured to store a pre-defined protocol, wherein each of the plurality of ports is configured to distribute power over one or more physical interfaces upon being controlled by the master port.

### Claim 5 (depends on 1)

The system as claimed in claim 1, wherein the master port and the plurality of slave ports in each of the plurality of ports are associated with a shared communication interface in the multiport power sourcing device, wherein the shared communication interface comprises bus protocol signals along with an alert line, wherein the alert line is inband or outband.

### Claim 6 (depends on 1)

The system as claimed in claim 1, wherein the at least one first fault comprises one of a permanent physical damage in one or more of the plurality of ports, a complete damage of the shared communication interface, a partial damage of the shared communication interface with only an alert line affected causing communication blockage between the master port and the plurality of slave ports, an unresponsive master port either due to temporary hang or permanent physical damage, unresponsive behaviour of one or more of the plurality of slave ports during communication, hang of a physical communication medium due to fault in one or more of the plurality of slave ports, or a combination thereof,
wherein the at least one second fault comprises one of an unresponsive master port condition either due to a temporary hang or the permanent physical damage, a physical damage to the shared communication interface, or a combination thereof,
wherein the at least one third fault comprises one of a power switch issue in one or more of the plurality of ports, a faulty device connected to the corresponding plurality of ports, or a combination thereof.

### Claim 7 (depends on 6)

The system as claimed in claim 6, wherein the physical damage to the one or more of the plurality of ports comprises the physical damage in the master port, occurs either before a start of an operation or during the operation, results in a failure to receive the watchdog refresh instruction in all of the plurality of slave ports, causing the watchdog timer to expire further resetting all the plurality of slave ports, and enabling and causing a role change staggered timer of all the plurality of slave ports to timeout, a first of the plurality of slave ports to experience role change staggered timer timeout first assumes a new master role, change the role and start functioning as the new master port upon discovering at least one of the plurality of slave ports and redistributes the power across the discovered at least one of the plurality of ports and restores the power equilibrium.

### Claim 8 (depends on 6)

The system as claimed in claim 6, wherein the physical damage to the one or more ports comprises the physical damage in one of the plurality of slave ports before a start of an operation results in failure in the slave discovery, causing the master to block the power distribution to the corresponding slave port.

### Claim 9 (depends on 6)

The system as claimed in claim 6, wherein the physical damage to the one or more ports comprises the physical damage in one of the plurality of slave ports during an operation corresponds to No Acknowledgement for the communication from master port, causing the master port to remove the data of corresponding to one of the plurality of slave ports from the slave port list stored in the database, and resetting a power allocation to the corresponding port to zero.

### Claim 10 (depends on 6)

The system as claimed in claim 6, wherein the damage to the physical communication medium results in expiring each one of, the watchdog timer and each one of the role change staggered timer of the plurality of ports, as no communication takes place between the plurality of ports resulting in no active master in the system and switching each of the plurality of ports to a power distribution state.

### Claim 11 (depends on 6)

The system as claimed in claim 6, wherein the hang of the physical communication medium due to fault in one or more of the plurality of slave ports corresponds to one or more of the plurality of slave ports being faulty, pulling down an alert line, blocking the master from sending the watchdog refresh instruction, and resulting in the watchdog timer of all of the plurality of slave ports expiring, further resulting in port reset of all the plurality of slave ports resulting in port reset to resolve a faulty alert indication to the master port, and
wherein the master after identifying an invalid alert indication for a pre-defined number of retries, will send a reset command to each of the plurality of ports including the master port and the plurality of slave ports, for a faster recovery of the fault without waiting for the recovery due to port reset caused by watchdog timer timeout.

### Claim 12 (depends on 11)

The system as claimed in claim 11, wherein the partial physical damage to the communication interface with only the alert line affected causing faulty alert indication due to the alert line pulled low permanently due to the physical damage either during an operation or before start of the operation, and
wherein during both situations, the master port after performing the slave discovery and upon identifying the faulty alert indication without any request from the slaves after a pre-defined number of retries, switches to a polling mode, wherein the polling mode corresponds to a mode where the master port periodically polls each of the plurality of slave ports for any alerts and handles the alerts instead of relying on the alert line.

### Claim 13 (depends on 6)

The system as claimed in claim 6, wherein the unresponsive master during the communication, results in failure of receiving a refresh packet by each of the plurality of slave ports causing the watchdog timer to expire in each of the plurality of the slave ports causing port reset and further may cause a role change staggered timer to expire in the plurality of slave ports, wherein at least one of the plurality of slave ports whose staggered timer expires first assumes a new master role and takes up the new master role after discovering at least one of the plurality of slave ports on any other port and redistributes the power to all successfully discovered ports, wherein the unresponsive master which is an old master, upon recovery waits for some configurable amount of time within which if the old master receives a slave discovery request, the old master port concludes that another master is present in the system and the old master stops acting as the master and continues acting as the slave port.

### Claim 14 (depends on 13)

The system as claimed in claim 13, wherein the master is configured to:
if an old master recovers before any other slave port assumes the new master role, then the old master will start working as the master again, performing the slave discovery, and restoring the power equilibrium;
if the old master recovers after any other slave port starts acting as the new master, then the old master upon identifying the new master will continue working as a slave port; and
if the old master recovers during a transition process of any other slave port to the new master role, either the old master port or the new port starts working as the master port depending on who wins a communication interface arbitration.

### Claim 15 (depends on 1)

The system as claimed in claim 1, wherein one or more unresponsive slave ports during communication results in the watchdog timer expiring in the one or more unresponsive slave ports causing a corresponding port reset, and the one or more unresponsive slave ports, upon reset exit, send an alive indication to the master port and the master port reallocates previously allocated power to the one or more unresponsive slave ports.

### Claim 16 (depends on 1)

The system as claimed in claim 1, wherein temporary or permanent power switch issues in any of the plurality of ports results in an allocated power not being delivered to a device connected to the corresponding port, each of the plurality of ports identifies such faults by monitoring a VBUS line over which power is delivered to the device connected and further upon identifying such faults, requests for power allocation of a pre-defined power range until the fault is recovered and starts requesting for allocation of power more than the pre-defined power range after a fault recovery.

### Claim 17 (depends on 12)

The system as claimed in claim 12, wherein a faulty device connected to one or more of the plurality of ports is handled by the corresponding slave either as per a protocol established between the port and the connected device or by port latch-off or port disable causing disconnection of an attached device.

### Claim 18

A method for fault identification and fault handling in a multiport power sourcing device, the method comprising:
receiving, at the multiport power sourcing device, a slave discovery request in a sequential manner by a plurality of slave ports over a shared communication interface, wherein the slave discovery request is generated by a master port;
receiving, at the multiport power sourcing device, a slave discovery response from the plurality of slave ports as a response for the slave discovery request, upon being physically present on the multiport power sourcing device, for enabling a discovery of a presence of the plurality of slave ports;
adding, at the multiport power sourcing device, data by the master port to a slave port list upon receiving the slave discovery response from the plurality of slave ports, wherein the data is associated with one or more of the plurality of slave ports discovered;
resetting, at the multiport power sourcing device, a watchdog timer of each of the plurality of ports periodically, upon receiving a refresh instruction from the master port;
generating, at the multiport power sourcing device, a timeout notification by one or more of the plurality of ports, when one or more of the plurality of ports fail to receive the refresh instruction by the master port due to at least one first fault associated with the plurality of slave ports;
resolving, at the multiport power sourcing device, one or more of the plurality of slave ports failed to receive the refresh instruction, by generating a corresponding port reset of one or more of the plurality of ports whose watch dog timer timed out;
assuming, at the multiport power sourcing device, a new master role by a first of the plurality of slave ports to experience a role change staggered timer timeout, wherein a role change staggered timer of the corresponding plurality of slave ports expires upon failing to receive a watchdog refresh instruction, thereby indicating at least one second fault; and
redistributing, at the multiport power sourcing device, of power to the plurality of ports by a new master port for restoring power equilibrium in the multiport power sourcing device, monitoring and delivering power to one or more connected devices by each of the plurality of ports for handling at least one of the first fault, at least one of the second fault, at least one third fault, or a combination thereof corresponding to one of temporary faults or permanent faults within the multiport power sourcing device, wherein the at least one third fault comprises one of a power switch issue in one or more of the plurality of the ports, a faulty device connected to the corresponding plurality of ports, or a combination thereof.
