Power switching in a two-wire conductor system
09772665 · 2017-09-26
Assignee
Inventors
Cpc classification
G06F1/266
PHYSICS
G06F1/28
PHYSICS
G06F1/263
PHYSICS
International classification
H02M3/07
ELECTRICITY
Abstract
In an example embodiment, a power switching circuit of an automobile audio bus (A.sup.2B) chip is provided in a bi-directional, multi-node two-wire conductor system that includes a plurality of A.sup.2B chips interconnected on a twisted wire pair bus (A.sup.2B bus), with at least one A.sup.2B chip functioning as a master and the remaining A.sup.2B chips functioning as slaves. The power switching circuit of the A.sup.2B chip powers up a next downstream A.sup.2B chip in the A.sup.2B bus sequentially according to a power switching procedure, and the power switching circuit is configured to detect faults in the A.sup.2B bus before, during, and after the power switching procedure. Each A.sup.2B chip enables power to the next downstream A.sup.2B chip without risk of damage to any components in the system due to line faults on the downstream A.sup.2B bus, or collapse of the power supply at the local A.sup.2B chip.
Claims
1. A power switching circuit of a communication device for use in a bi-directional two-wire communication system, comprising: an upstream coupling circuit to couple the communication device to an upstream communication device via an upstream pair of wires, wherein the upstream coupling circuit is to receive data and power from an electrical signal transmitted to the communication device from the upstream communication device over the upstream pair of wires; and a downstream coupling circuit to couple the communication device to a downstream communication device via a downstream pair of wires, wherein the downstream coupling circuit is to provide data and power over the downstream pair of wires to the downstream communication device according to a nominal power switching procedure; wherein the power switching circuit is to detect one or more faults in the communication system before, during and after the nominal power switching procedure, and to modify the nominal power switching procedure in response to detection of one or more faults; and wherein the nominal power switching procedure includes a gradual increase of current provided to the downstream pair of wires.
2. The power switching circuit of claim 1, wherein the downstream coupling circuit is to sense a condition of the downstream pair of wires before, during, and after the nominal power switching procedure, and to provide feedback to a switch control mechanism.
3. The power switching circuit of claim 2, wherein, under the nominal power switching procedure, the downstream coupling circuit is to gradually charge the downstream pair of wires and the downstream communication device over a bounded charging time simultaneously with preservation of local power and data communication.
4. The power switching circuit of claim 3, wherein the power switching circuit is to maintain a local power supply voltage during the nominal power switching procedure.
5. The power switching circuit of claim 1, wherein the downstream coupling circuit is to enable power to the downstream communication device in response to a command from a master communication device upstream of the communication device.
6. The power switching circuit of claim 1, wherein the power switching circuit is to complete the nominal power switching procedure if no faults are detected.
7. The power switching circuit of claim 1, comprising: a power switch to isolate the communication device from the downstream communication device; a diagnostic module comprising a plurality of sense comparators to detect one or more faults in the communication system before, during, and after the nominal power switching procedure; a control logic to control a current source to dynamically adapt a charging current to a load on the downstream pair of wires until a pre-determined charging rate is achieved; and a local power regulator to provide feedback on a status of a local power supply at the communication device.
8. The power switching circuit of claim 7, wherein the current source comprises a current controlled switching element.
9. The power switching circuit of claim 7, wherein the control logic comprises a digital circuit.
10. The power switching circuit of claim 7, wherein the control logic is to control the power switch through a switch driver.
11. The power switching circuit of claim 7, wherein the power switch is located on a positive side of a power supply line decoupled from a data line in the communication device, and wherein the current source is located on a negative side of the power supply line.
12. The power switching circuit of claim 11, wherein the current source is integrated into a chip of the communication device, the chip including the control logic, and the power switch is located outside the chip.
13. The power switching circuit of claim 11, wherein the current source is located outside a chip of the communication device, the chip including the control logic, and the power switch is integrated into the chip.
14. The power switching circuit of claim 7, wherein the diagnostic module includes an excitation module to excite the downstream pair of wires with either voltage or current, and wherein the sense comparators detect the excitation if no fault exists on the downstream pair of wires.
15. A power switching method executed by a communication device in a bi-directional two-wire communication system, the method comprising: receiving data and power from an electrical signal transmitted to the communication device from an upstream communication device over an upstream pair of wires; providing data and power over a downstream pair of wires to a downstream communication device in accordance with a nominal power switching procedure, wherein the nominal power switching procedure includes a gradual increase of current provided to the downstream pair of wires; detecting one or more faults in the communication system before, during, or after the nominal power switching procedure; and modifying the nominal power switching procedure in response to detecting the one or more faults.
16. The power switching method of claim 15, wherein the nominal power switching procedure includes: turning on a current source of the power switching circuit at a lowest setting of charging current; monitoring a rate of settling of current in the communication system; detecting a status of a local power supply at the communication device; and increasing the charging current if the rate of settling is higher than a pre-determined threshold, and the local power supply is viable, until a pre-determined charging rate is reached.
17. The power switching method of claim 15, wherein the nominal power switching procedure includes: determining whether the downstream pair of wires is fully charged.
18. The power switching method of claim 15, wherein detecting one or more faults includes: exciting the downstream pair of wires with voltage or current to detect destructive faults.
19. The power switching method of claim 15, wherein the nominal power switching procedure includes: setting a first flag high to indicate start of power switching; setting a second flag high to indicate completion of power switching; and setting a third flag high to indicate a fault.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
DESCRIPTION OF EXAMPLE EMBODIMENTS OF THE DISCLOSURE
(8)
(9) Master node 12(1) comprises an originator of a clock signal (e.g., which can be derived from an I.sup.2S input), downstream data, network control and power; the master node is programmed by host controller 18 (e.g., microprocessor), and it receives/sends payload to/from host controller 18. Each slave node 12(2)-12(N) comprises an addressable network connection point that can represent a possible destination for downstream data frames (e.g., single block of payload of a specific node with possibly multiple synchronous data slots of content) and source of upstream data frames. Synchronous data refers to continuously streamed data (e.g., audio signal) in which a fixed time interval (e.g., 48 kHz) and a fixed phase spaces two corresponding transitions.
(10) According to various embodiments, each A.sup.2B chip 12(1)-12(N) may be connected to a corresponding power switching circuit, wherein a portion of the power switching circuit may be located within respective A.sup.2B chip 12(1)-12(N), and the remaining portion of the power switching circuit maybe located outside respective A.sup.2B chip 12(1)-12(N). The power switching circuit of each A.sup.2B chip 12(1)-12(N) may enable power to the next A.sup.2B chip on A.sup.2B bus 14. Each A.sup.2B chip 12(1)-12(N) may be enabled sequentially (e.g., one at a time) and each A.sup.2B chip may default at power up to be isolated from the next downstream A.sup.2B chip. Such discovery process may be enabled by a power switch implemented in a portion of the power switching circuit at each A.sup.2B chip 12(1)-12(N). According to an embodiment of system 10, enabling power on a cable of A.sup.2B bus 14 may be accomplished without permanent damage to any associated circuitry, while maintaining existing power and communication connections and reporting any downstream cabling faults. Reporting of faults may include localization of the fault detected and classification of the fault type.
(11) In various embodiments, the power switch can control downstream voltage power to the next downstream A.sup.2B chip in the A.sup.2B chain (e.g., group of A.sup.2B chips 12(1)-12(N) connected by A.sup.2B bus 14). The power switch can be activated by internal logic of each slave node 12(2)-12(N) after being programmed appropriately by upstream master node 12(1). The power switch can also control a process of switching on each downstream A.sup.2B chip 12(2)-12(N) such that a local power (e.g., as measured by voltage at a particular pin, such as VIN) at each A.sup.2B chip 12(2)-12(N) does not drop out of a pre-determined range of values during the power-up transition.
(12) In various embodiments, specific checks (e.g., tests, troubleshooting, etc.) may be performed for certain line fault conditions before enabling power on each A.sup.2B chip 12(2)-12(N). For example, cables connecting A.sup.2B chips 12(2)-12(N) may be exposed to the outside environment (e.g., air, water, humidity, temperature differentials, mechanical shock, etc.) and may experience faults. Part of the switching mechanism, including the line power supply, can sense the faults, automatically withdraw power to downstream components, and report the fault through A.sup.2B bus 14. Thus, according to various embodiments, faults in the A.sup.2B chain may be detected early enough (e.g., during powering up) to prevent subsequent system failures (e.g., electrical collapse of downstream cables, etc.). After the power on transition is successfully completed, the power switch can indicate completion status back to master node 12(1) and host controller 18 through one or more appropriate status flags.
(13) In an example embodiment, a feature list of the power switch can include low power-on with internal laterally diffused metal oxide semiconductor (LDMOS) chip; a maximum switched current of 400 mA; a maximum on resistance of less than 1.2Ω; output short circuit protection; and input overvoltage protection to support VIN shorted to VBAT (e.g., pin connected to battery voltage) in system 10. It may be noted that although only a few A.sup.2B chips 12(1)-12(N) are shown herein for sake of simplicity, any number of A.sup.2B chips may be interconnected in a similar manner within the broad scope of the embodiments of system 10. Moreover, each slave node 12(2)-12(N) may communicate with any number of peripheral chips within the broad scope of the embodiments.
(14) Turning to
(15) In various embodiments, the power switching circuit is configured to detect faults in A.sup.2B bus 14 before, during, and after the power switching procedure. In some embodiments, the power switching circuit can sense a condition of a downstream cable (e.g., cable, line, etc. connected to the next downstream A.sup.2B chip) of A.sup.2B bus 14 before, during and after the power switching procedure, and to provide feedback to a switch control mechanism. The power switching circuit can gradually charge the downstream cable and the downstream A.sup.2B chip while substantially simultaneously preserving local power and data communication and providing a bounded charging time for the downstream A.sup.2B chip. For example, the power switching circuit can maintain a local power supply voltage during the power switching procedure. The power switching circuit can enable power to the downstream A.sup.2B chip on command from the master A.sup.2B chip. In some embodiments, the power switching circuit is configured to successfully conclude the power switching procedure if no faults are detected on the downstream cable.
(16) An upstream coupling network 20 may separate power supply lines from and data lines on an A.sup.2B bus cable and supply the power and data separately to A.sup.2B chip 12 over power supply lines 22A and 24A (upstream positive power supply line and negative power supply line, respectively) and upstream data line 26A, respectively. The upstream power and data may be forwarded by, or originate from, the master A.sup.2B chip. A downstream coupling network 28 may be configured to aggregate the power and data signals from A.sup.2B chip 12 on downstream power supply lines 22B and 24B (downstream positive power supply line and negative power supply line, respectively) and downstream data line 26B and provide the aggregated signal over another A.sup.2B bus cable to downstream components (which can include other A.sup.2B chips).
(17) A power switch 30 may be provided on downstream positive power supply line 22B. In the example embodiment illustrated herein, power switch 30 includes a transistor controlled by A.sup.2B chip 12, and a power sense line that facilitates sensing power flowing towards downstream coupling network 28 (e.g., as a feedback mechanism to determine how the line responds to the switching of power). Power switch 30 facilitates isolating downstream coupling network 28 during powering-on of A.sup.2B chip 12. Thus, in specific embodiments, when power switch 30 is enabled (e.g., connected), power switching may be enabled for the next downstream A.sup.2B chip; when disabled, power switch 30 may be configured to isolate A.sup.2B chip 12 being powered up from the next downstream A.sup.2B chip.
(18) According to various embodiments, A.sup.2B chip 12 may be commanded (e.g., through a suitable control mechanism, such as a control bit) to power-on downstream components after A.sup.2B chip 12 is powered on. According to the power switching procedure, example A.sup.2B chip 12 may power up first, during which it is isolated from downstream coupling network 28. After A.sup.2B chip 12 powers up successfully, A.sup.2B chip 12 may cause the next downstream A.sup.2B chip to power up. During the power-on transition of the next downstream A.sup.2B chip, the power switching circuit of example A.sup.2B chip 12 may monitor the downstream cable for faults and stop the power switching procedure if faults are detected. The sequence of powering up can continue down the A.sup.2B chain sequentially, until substantially all A.sup.2B chips on the A.sup.2B chain have been powered up.
(19) Upstream coupling network 20 and downstream coupling network 28 can include ferrite beads, inductors, capacitors, common mode chokes, and other electrical components that facilitate electromagnetic compatibility, tolerance for environmental conditions (e.g., in an automobile), and other desirable features, based on particular needs. Components in upstream coupling network 20 and downstream coupling network 28 may vary depending on the specific application wherein system 10 is used. Embodiments of system 10 may program A.sup.2B chip 12 to enable power to the next downstream A.sup.2B chip (if one exists) according to the power switching procedure.
(20) Turning to
(21) In an example embodiment, A.sup.2B chip 12 may include a 27V tolerant open drain output pin SWP, which can pull low at an appropriate time in the power switching procedure sequence to turn on power switch 30. A current controlled switching element 36 integrated into A.sup.2B chip 12 may facilitate sensing power on downstream negative power supply line 24B. As used herein, the term “current controlled switching element” includes a semiconductor device (e.g., transistor) in which a controlling bias sets a resistance of the device at either a very high or very low value, corresponding to the “off” and “on” conditions of a switch; the resistance may vary with the control current when the switch is between the “off” and “on” position. Current controlled switching element 36 may electrically connect pin VSS to pin VSSO (also referred to as SW). A ground element may be attached to current controlled switching element 36 as appropriate.
(22) In some embodiments, power switch 30 may comprise a P-type metal-oxide-semiconductor (PMOS) transistor, and current controlled switching element 36 may comprise an N-type metal-oxide-semiconductor (N MOS) transistor. Additional suitable electrical components may also be included within the broad scope of the embodiments. Current controlled switching element 36 may function as a switch in some scenarios, for example, functioning as a short when current exceeds a specific value, or as an open when current is below a specific threshold, or vice versa. Current controlled switching element 36 may facilitate gradually bringing up the charging current (e.g., current used to power the downstream A.sup.2B chip). In some embodiments, current controlled switching element 36 may be placed in downstream positive supply line 22B, and power switch 30 may be moved internally to A.sup.2B chip 12. An optional diode 38 connected between positive power supply line 22A and negative power supply line 24A may provide reverse current protection for A.sup.2B chip 12. Diode 38 may also facilitate detecting reverse current in system 10 in various embodiments.
(23) In some embodiments, both switches (e.g., power switch 30 and current controlled switching element 36) may be current controlled. In yet other embodiments, power switch 30 may be current controlled, and current controlled switching element 36 may be a regular (e.g., ordinary, not current controlled) switch. At least one (possibly both) of the switches can also double as current sources during power-on transition to ensure a gradual turning on of the switches. The control of the current can be implemented as logic control at digitally controlled current source, which can dynamically adapt to the load on the line until an optimum charging rate is achieved, for example, to balance a gradually charge the downstream power supply lines and A.sup.2B chips while preserving local power and data communication, while also providing a bounded charging time for the next A.sup.2B chip to expedite the discovery process of the entire data link chain.
(24) According to some embodiments, pins SW (connected to current controlled switching element 36) and SWP (connected to power switch 30) may operate in one of at least four operating modes according to a signal (e.g., value of a bit called sw_mode) that indicates whether A.sup.2B chip 12 is using an external switch. Merely as examples, and not as limitations, when sw_mode is set to a default value of 0, internal and external switches may be controlled by pin SWP to provide complete line isolation for line fault diagnostics and localization; when sw_mode is set to a value of 1, open and reverse wire diagnostics on the downstream cable may be skipped; when sw_mode is set to a value of 2, an external regulator may be used, and certain line diagnostic capabilities may be disabled; when sw_mode is set to a value of 3, A.sup.2B chip 12 may be set to a reserved engineering debug and test mode, wherein diagnostics are turned off, and switches are connected by fully turning on internal switch on SW and pulling SWP low to turn on the external power switch 30, following an otherwise normal switching sequence in the power switching procedure. Suitable values and operating modes for signals controlling power switch 30 and current controlled switching element 36 may be included within the broad scope of the embodiments of system 10.
(25) According to some embodiments, appropriate status flags may be set to indicate specific events in the power switching procedure. For example, a first flag (e.g., start flag) may be set from low (e.g., 0) to high (e.g., 1) to indicate a start of power switching; a second flag (e.g., completion flag) may be set high to indicate a completion of power switching; and a third flag (e.g., fault flag) may be set high to indicate a fault. In an example embodiment, the fault flag may transition to high when the power switching procedure fails to successfully complete. If activated, it may remain high until the start flag is brought low. The completion flag may transition to high when the power switching procedure completes successfully, and may remain high until the start flag goes low (e.g., indicating that the downstream cable is disconnected).
(26) According to some embodiments, suitable fault-codes may be set on a fault-code bus to indicate a specific fault type. For example, a fault-code of 0 may indicate no fault detected; a fault-code of 1 may indicate that the downstream cable is shorted to ground; a fault-code of 2 may indicate that the downstream cable is shorted to the battery voltage; a fault-code of 3 may indicate that the cable terminals are shorted together; a fault-code of 4 may indicate an open circuit; a fault-code of 5 may indicate that the downstream cable is reverse connected; a fault-code of 6 may indicate an indeterminate fault; etc. Various fault-code settings may be implemented within the broad scope of the embodiments.
(27) According to some embodiments, a suitable auto-disconnect flag setting may facilitate automatically disconnecting power switch 30 when a hazardous fault is detected. The hazardous fault may be destructive to either local A.sup.2B chip 12, or the next downstream A.sup.2B chip 12 that is being powered up. In an example embodiment, if a fault is detected when the auto-disconnect flag is enabled (e.g., set to 1) and power switch 30 is actively connected, then power switch 30 may be disconnected, the completion flag (e.g., to indicate power switching completion) may go low, the fault flag (e.g., to indicate a fault) may transition to high with the appropriate fault-code set on the fault-code output bus. On the other hand, if the auto-disconnect flag is disabled (e.g., set to 0) when a fault is detected, the completion flag may remain high as power switch 30 may continue to remain connected. The fault flag and fault-code outputs may be updated with the fault information, but the disconnecting of power switch 30 may be controlled by host 18, user intervention, software intervention, or other mechanisms.
(28) Turning to
(29) A diagnostic module 48 including one or more sense comparators 50 and other components may facilitate detecting faults in downstream A.sup.2B bus 14 before, during and after the power switching procedure. A control logic 52 may control a current source (e.g., current controlled switching element 36) to dynamically adapt a charging current to a load on A.sup.2B bus 14 until a pre-determined charging rate is achieved. Control logic 52 may receive various status inputs from power regulator 40 and diagnostic module 48, appropriately determine a suitable power-on switching mechanism, and accordingly generate switch and diagnostic controls to facilitate power switching and line diagnostics in system 10.
(30) According to various embodiments, switch enable and clock signals from other components in A.sup.2B chip 12 may facilitate configuring (e.g., programming, controlling, etc.) control logic 52. Control logic 52 may control power switch 30 through positive switch driver 44. When power switch 30 is turned on, the upstream power supply may be connected to the downstream power supply, energizing a current loop (comprising positive power supply line 22B and negative power supply line 24B through the next downstream A.sup.2B chip) gradually without causing a current surge or other disruptions. Sense comparators 50 may feedback a status of downstream power supply lines 22B and 24B with respect to the incoming supply and ground to control logic 52. Control logic 52 may make a next state decision based on a state of power switch 30, current drawn through current controlled switching element 36, and status of sense comparators 50.
(31) Power supply regulator 40 may monitor a status (e.g., quality, health, condition, etc.) of incoming power supply. If the quality of incoming power supply is degraded, appropriate feedback of the status of the local power supply at A.sup.2B chip 12 may be provided to control logic 52. Thus, if the power supply starts to collapse (e.g., power surge, no power, power fluctuations, etc. on power supply lines), the degradation may be detected sufficiently early, so that the power-on process can be slowed down (or stopped, as appropriate) to permit the power supply degradation to settle (e.g., stop, disappear, quiet down, etc.). For example, power supply regulator 40 may monitor voltage at pin VIN and provide feedback to control logic 52 if the value of VIN droops below a pre-configured threshold. Downstream power supply and data may be thus protected from problems (e.g., disruptions, collapse, etc.) in the local power supply.
(32) In various embodiments, diagnostic module 48 may be configured to sense a condition of the downstream cable before, during, and after a power switching process, for example, to detect faults that could damage circuitry if power is enabled and also to feedback information to control logic 52 during the downstream power enabling transition. Diagnostic module 48 may be tolerant to high line voltages that can exist on the downstream cable during various fault conditions.
(33) Diagnostic module 48 can be connected to both the upstream and downstream sides. Diagnostic module 48 can be controlled by control logic 52 conditional to requirements of the power switching procedure. Diagnostic module 48 can provide upstream and downstream power supply status information back to control logic 52 if indicating successful completion of a step in the power switching procedure or failure of such a step indicating a potential fault in the downstream network. Diagnostic module 48 may monitor the status of the upstream and downstream power supply lines 22A/22B and 24A/24B before, during, and/or after the downstream power switching procedure.
(34) In some embodiments, diagnostic module 48 can detect potentially destructive faults prior to enabling power delivery to the downstream network. For example, the downstream cable may be excited with a voltage excitation through a moderate resistance on two terminals of the downstream network, and a response can be sensed by sense comparators 50 that detect (e.g., observe, measure, etc.) the excitation on the downstream cable. A fault such as a short circuit to ground or a high voltage may overpower the excitation, which may then not be detected by sense comparators 50. Depending on the signature of the output from sense comparators 50, the nature of the fault may be appropriately classified or determined. If a destructive fault is detected, the process of powering the downstream network may be stopped, and the presence and type of the fault reported back to host 18.
(35) In some embodiments, diagnostic module 48 can also detect an open circuit fault by comparing a downstream cable state to an upstream cable state. For example, if a far end downstream load is not present, which in turn could indicate an open circuit or reverse connection type fault, the downstream cable state may reach the upstream cable state too quickly (e.g., in less than a pre-determined time interval). Appropriate sense comparators 50 may detect a rate of change of the downstream cable state, and detect if the downstream cable state may reach the upstream cable state too quickly, indicating the open circuit fault.
(36) In some embodiments, diagnostic module 48 may classify other faults by exciting power supply lines 22B and 24B in a reverse polarity manner. If the downstream power supply lines 22B and 24B charge too quickly (e.g., in less than a pre-determined time interval) when reverse polarized, an open circuit may be indicated. On the other hand, if the downstream power supply lines 22B and 24B respond too slowly (e.g., in more than the pre-determined time interval) to the reverse polarity excitation, as indicated by the downstream cable state sensed by appropriate sense comparators 50, a reverse polarity fault may be indicated.
(37) In some embodiments, a short circuit fault may be diagnosed if sense comparators 50 indicate that the downstream power supply lines 22B and 24B were not completely charged within a pre-determined elapsed time interval at a maximum charging current. Any status indication either from a local power regulator circuit or sense comparators 50 may indicate that the upstream (e.g., incoming) power supply levels have dropped below acceptable operating levels. Using gradually increasing currents to energize the downstream A.sup.2B chip may allow for a safe detection of short circuit before any of the circuit elements involved are damaged.
(38) In various embodiments, diagnostic module 48 can also continue to monitor the downstream power supply lines 22B and 24B after successful completion of the downstream power switching procedure, for example, by leaving sense comparators 50 connected to downstream power supply lines 22B and 24B. Sense comparators 50 can indicate any deviation of the downstream power supply voltage levels outside of pre-determined acceptable limits.
(39) In various embodiments, power supply regulator 40 can provide feedback on a status of the local power supply, for example, so the downstream power switching procedure can be suspended or slowed down if a dynamic scaling of the charging current starts to impact the viability of the local power supply. According to various embodiments, control logic 52 can control current controlled switching element 36 while monitoring a status of the downstream power supply lines 22B and 24B as indicated by sense comparators 50 and a status of a local power regulator, if any. Control logic 52 may also report successful conclusion of the power switching procedure or detection of a classified fault to a data link system (e.g., electrical circuit separated from the power supply circuit). In some embodiments of system 10, control logic 52 can be implemented as a digital circuit for the control of switching of power on to downstream power supply lines 22B and 24B. In alternate embodiments, an equivalent analog control circuit may be used.
(40) When enabling the next downstream A.sup.2B chip, a step may include activating power switch 30 (e.g., by enabling the start flag, for example, by setting it from 0 to 1). Power switch 30 may be controlled by control logic 52 so that the local power supply (VOUT33/VOUT) which is derived from VIN, may not droop out of specification (e.g., as it can jeopardize the upstream communication link). During the power switching procedure, it is likely that VIN voltage may drop in a controlled manner, although avoiding a voltage regulator brown out condition. At the completion of the power switching procedure, the completion flag may transition to high.
(41) Diagnostic module 48 may detect a faulty downstream cable and provide appropriate feedback to control logic 52. Control logic 52 may report back (e.g., to the master node or host 18, as appropriate) a failed attempt to turn on power switch 30, for example, by setting the fault flag high and providing a non-zero fault code on the fault-code output bus. A pre-determined maximum time interval during which to detect any faults may be configured in control logic 52. In the case of line faults that can be detected prior to even attempting to enable power switch 30, the pre-determined time interval may be configured to a small value.
(42) Turning to
(43) An excitation module 54 can gently excite downstream power supply lines 22B and 24B with either voltage or currents to test the lines. The response of sense comparators 50 to the various excitations can indicate the presence or absence of a fault on the downstream network. An excitation module 54 may receive control signals form control logic 50 that serve to excite one or more sense comparators 50. A reference generator 56 may generate reference signals for one or more sense comparators 50.
(44) Turning to
(45) A common mode choke 68 may be optionally included in some embodiments to withstand electromagnetic interference and reduce electromagnetic radiation out of A.sup.2B bus 14. In some embodiments, as illustrated in the FIGURE, power switch 30 may be provided outside A.sup.2B chip 12. In other embodiments, both power switch 30 and negative side switch (e.g., current controlled switching element 36) may be provided within (and integral to) A.sup.2B chip 12. In yet other embodiments, power switch 30 may be provided within A.sup.2B chip 12, and the negative side switch (e.g., current controlled switching element 36) may be provided outside A.sup.2B chip 12.
(46) Turning to
(47) At 102, power to downstream A.sup.2B chip 12 is turned off. Power may be switched on command (e.g., from master node 12(1)), for example, by setting the start flag high to indicate the start of power switching. At 104, diagnostic module 48 may check for destructive faults in downstream power supply lines 22B and 24B. For example, excitation module 54 in diagnostic module 48 may excite the downstream cable with voltage or current to detect destructive faults. If no faults are found, at 106, power switch 30 may be turned on. At 108, current controlled switching element 36 may be turned on at its lowest setting of the charging current. At 110, system 10 may wait (e.g., for a pre-determined time interval) for settling. At 112, the rate of settling of current in system 10 may be monitored, and a determination may be made whether the rate of settling is higher than a pre-determined threshold (e.g., the current loop settled too quickly). For example, appropriate sense comparators 50 may monitor a rate of change of current in the downstream cable, and compare it with the current in the upstream cable.
(48) If the current loop did not settle too quickly, indicating no open circuit fault in downstream power supply lines 22B and 24B, at 114, current setting of current controlled switching element 36 may be gradually increased. At 116, the status of the local power supply may be checked, for example, at power regulator 40. If the status is viable (e.g., “good” with VIN within specifications), indicating no problems with the local power supply, a determination may be made at 118 if downstream power supply lines 22B and 24B are fully charged and a pre-determined charging rate is reached. If the downstream power supply lines 22B and 24B are fully charged, at 120, the power switching procedure may be completed. The completion flag may be set high to indicate the completion of power switching.
(49) Turning back to 104, if destructive faults are detected, the operations may loop to 122, at which the faults may be reported to control logic 52 (and to the master node and/or host 18 as appropriate). For example, the fault flag may be set high to indicate a fault, and an appropriate fault-code may be injected into the fault-code line. Likewise, turning back to 112, if the current loop settled too quickly, indicating an open circuit fault in downstream power supply lines 22B and 24B, the operations may loop back to 122, to report the detected fault as appropriate. Similarly, turning back to 116, if the power supply regulator status is “bad” indicating that the local power supply is not viable, at 124, a wait time may be enabled for settling to recheck the status. If the status continues to be bad, indicating a fault, the operations may loop to 122, at which faults may be reported as appropriate.
(50) Turning back to 118, if downstream power supply lines 22B and 24B are not fully charged, at 126, a determination may be made whether the current sink is at its maximum setting. If the current sink at current controlled switching element 36 may is not at its maximum setting, the current sink setting may be increased at 114, and the operations may continue thereafter. On the other hand, if the current sink setting is at the maximum setting, and the downstream power supply lines 22B and 24B are not fully charged, a fault may be indicated, and the operations may loop back to 122, at which the fault may be reported as appropriate.
(51) Note that in this Specification, references to various features (e.g., elements, structures, modules, components, steps, operations, characteristics, etc.) included in “one embodiment”, “example embodiment”, “an embodiment”, “another embodiment”, “some embodiments”, “various embodiments”, “other embodiments”, “alternative embodiment”, and the like are intended to mean that any such features are included in one or more embodiments of the present disclosure, but may or may not necessarily be combined in the same embodiments.
(52) In the discussions of the embodiments above, the capacitors, clocks, DFFs, dividers, inductors, resistors, amplifiers, switches, digital core, transistors, and/or other components can readily be replaced, substituted, or otherwise modified in order to accommodate particular circuitry needs. Moreover, it should be noted that the use of complementary electronic chips, hardware, software, etc. offer an equally viable option for implementing the teachings of the present disclosure.
(53) In one example embodiment, any number of electrical circuits of the FIGURES may be implemented on a board of an associated electronic chip. The board can be a general circuit board that can hold various components of the internal electronic system of the electronic chip and, further, provide connectors for other peripherals. More specifically, the board can provide the electrical connections by which the other components of the system can communicate electrically. Any suitable processors (inclusive of digital signal processors, microprocessors, supporting chipsets, etc.), memory elements, etc. can be suitably coupled to the board based on particular configuration needs, processing demands, computer designs, etc. Other components such as external storage, additional sensors, controllers for audio/video display, and other peripheral chips may be attached to the board as plug-in cards, via cables, or integrated into the board itself.
(54) In another example embodiment, the electrical circuits of the FIGURES may be implemented as stand-alone modules (e.g., a chip with associated components and circuitry configured to perform a specific application or function) or implemented as plug-in modules into application specific hardware of electronic chips. Note that particular embodiments of the present disclosure may be readily included in a system on chip (SOC) package, either in part, or in whole. An SOC represents an IC that integrates components of a computer or other electronic system into a single chip. It may contain digital, analog, mixed-signal, and often radio frequency functions: all of which may be provided on a single chip substrate. Other embodiments may include a multi-chip-module (MCM), with a plurality of separate ICs located within a single electronic package and configured to interact closely with each other through the electronic package. In various other embodiments, the functionalities as described herein may be implemented in one or more silicon cores in Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs), and other semiconductor chips.
(55) It is also imperative to note that all of the specifications, dimensions, and relationships outlined herein (e.g., the number of components, logic operations, etc.) have only been offered for purposes of example and teaching only. Such information may be varied considerably without departing from the spirit of the present disclosure, or the scope of the appended claims. The specifications apply only to one non-limiting example and, accordingly, they should be construed as such. In the foregoing description, example embodiments have been described with reference to particular component arrangements. Various modifications and changes may be made to such embodiments without departing from the scope of the appended claims. The description and drawings are, accordingly, to be regarded in an illustrative rather than in a restrictive sense.
(56) Note that the activities discussed above with reference to the FIGURES are applicable to any integrated circuits that involve signal processing, particularly those that rely on synchronization signals to execute specialized software programs, or algorithms, some of which may be associated with processing digitized real-time data. Certain embodiments can relate to multi-DSP signal processing, floating point processing, signal/control processing, fixed-function processing, microcontroller applications, etc. In certain contexts, the features discussed herein can be applicable to medical systems, scientific instrumentation, wireless and wired communications, radar, industrial process control, audio and video equipment, current sensing, instrumentation (which can be highly precise), and other digital-processing-based systems.
(57) Moreover, certain embodiments discussed above can be provisioned in digital signal processing technologies for medical imaging, patient monitoring, medical instrumentation, and home healthcare. This could include pulmonary monitors, accelerometers, heart rate monitors, pacemakers, etc. Other applications can involve automotive technologies for safety systems (e.g., stability control systems, driver assistance systems, braking systems, infotainment, and interior applications of any kind). Furthermore, powertrain systems (for example, in hybrid and electric vehicles) can apply the functionalities described herein in high-precision data conversion products in battery monitoring, control systems, reporting controls, maintenance activities, etc.
(58) In yet other example scenarios, the teachings of the present disclosure can be applicable in the industrial markets that include process control systems that help drive productivity, energy efficiency, and reliability. In consumer applications, the teachings of the electrical circuits discussed above can be used for image processing, auto focus, and image stabilization (e.g., for digital still cameras, camcorders, etc.). Other consumer applications can include audio and video processors for home theater systems, DVD recorders, and high-definition televisions. Yet other consumer applications can involve advanced touch screen controllers (e.g., for any type of portable media chip). Hence, such technologies could readily part of smartphones, tablets, security systems, PCs, gaming technologies, virtual reality, simulation training, etc.
(59) Note that with the numerous examples provided herein, interaction may be described in terms of two, three, four, or more electrical components. However, this has been done for purposes of clarity and example only. It should be appreciated that the system can be consolidated in any suitable manner. Along similar design alternatives, any of the illustrated components, modules, and elements of the FIGURES may be combined in various possible configurations, all of which are clearly within the broad scope of this Specification. In certain cases, it may be easier to describe one or more of the functionalities of a given set of flows by only referencing a limited number of electrical elements. It should be appreciated that the electrical circuits of the FIGURES and its teachings are readily scalable and can accommodate a large number of components, as well as more complicated/sophisticated arrangements and configurations. Accordingly, the examples provided should not limit the scope or inhibit the broad teachings of the electrical circuits as potentially applied to a myriad of other architectures.
(60) Numerous other changes, substitutions, variations, alterations, and modifications may be ascertained to one skilled in the art and it is intended that the present disclosure encompass all such changes, substitutions, variations, alterations, and modifications as falling within the scope of the appended claims. In order to assist the United States Patent and Trademark Office (USPTO) and, additionally, any readers of any patent issued on this application in interpreting the claims appended hereto, Applicant wishes to note that the Applicant: (a) does not intend any of the appended claims to invoke paragraph six (6) of 35 U.S.C. section 112 as it exists on the date of the filing hereof unless the words “means for” or “step for” are specifically used in the particular claims; and (b) does not intend, by any statement in the specification, to limit this disclosure in any way that is not otherwise reflected in the appended claims.
OTHER NOTES, EXAMPLES, AND IMPLEMENTATIONS
(61) Note that all optional features of the apparatus described above may also be implemented with respect to the method or process described herein and specifics in the examples may be used anywhere in one or more embodiments. In a first example, a system is provided (that can include any suitable circuitry, dividers, capacitors, resistors, inductors, ADCs, DFFs, logic gates, software, hardware, links, etc.) that can be part of any type of computer, which can further include a circuit board coupled to a plurality of electronic components. The system can include means for turning on a power switch of a power switching circuit if no destructive faults are detected in the system; means for turning on a current source of the power switching circuit at a lowest setting of charging current; means for monitoring a rate of settling of current in the system; means for detecting the status of a local power supply at the A2B chip; and means for gradually increasing the charging current if the rate of settling is higher than a pre-determined threshold and the local power supply is viable, until a pre-determined charging rate is reached.
(62) The system can also include means for reporting detected faults; means for determining whether a downstream cable is fully charged; means for exciting the downstream cable with voltage of current to detect destructive faults; means for waiting for settling of current in the system; means for setting a first flag high to indicate start of power switching; means for setting a second flag high to indicate completion of power switching; and means for setting a third flag high to indicate a fault (e.g., in the downstream cable).
(63) The ‘means for’ in these instances (above) can include (but is not limited to) using any suitable component discussed herein, along with any suitable software, circuitry, hub, computer code, logic, algorithms, hardware, controller, interface, link, bus, communication pathway, etc. In a second example, the system includes memory that further comprises machine-readable instructions that when executed cause the system to perform any of the activities discussed above.