# US 6,118,188 A · Apparatus and method for switching between two power supplies of an integrated circuit

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

- Number: US 6,118,188 A
- Document ID: US6118188A
- Status: Granted
- Kind: A
- Application number: 09/217,321
- Filed: 1998-12-21
- Granted: 2000-09-12
- Earliest claimed: 1998-12-21
- Assignees: STMicroelectronics S.r.l.
- Inventors: Tom Youssef
- Web page: https://patentgrep.com/patent/US6118188A

## CPC

- H03K 3/02337: {Bistables with hysteresis, e.g. Schmitt trigger (non-regenerative amplitude discriminators G01R19/165)}
- H03K 3/02335: {provided with means for increasing reliability; for protection; for ensuring a predetermined initial state when the supply voltage has been applied; for storing the actual state when the supply voltage fails (digital storage cells each combining volatile and non-volatile storage properties G11C14/00)}
- H03K 17/693: Switching arrangements with several input- or output-terminals, e.g. multiplexers, distributors (logic circuits H03K19/00; code converters H03M5/00, H03M7/00)
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)

## Abstract

A power supply switching circuit employs hysteresis to ensure stable, timely, and accurate transition between a primary power source and a secondary power source of an integrated circuit. A comparison element of the circuit compares a first voltage signal derived from a primary voltage of the primary power source to a second voltage signal provided by the secondary power source in order to generate a compare output signal. A voltage divider element of the circuit, characterized as having a RC constant, is coupled to the primary power source and receives the compare signal generated by the comparison element and generates the first voltage signal. A bypass element of the circuit is coupled to the voltage divider element and is controlled by the compare signal to bypass the RC constant of the voltage divider element by immediately pulling the first voltage signal to the primary voltage when, after powering up the primary power source, the first voltage signal becomes greater than the second voltage signal.

## Claims

### Claim 1

A power supply switching circuit for switching power supplies of an integrated circuit, the power supply switching circuit comprising:
a comparison element that receives and compares a first voltage signal and a second voltage signal and generates a compare signal, wherein the first voltage signal is derived from a primary voltage provided by a primary power source and the second voltage signal is a secondary voltage provided by a secondary power source;
a voltage divider element, having a RC constant, that is coupled to the primary power source and receives the compare signal generated by the comparison element and generates the first voltage signal that is provided to the comparison element; and
a bypass element coupled to the voltage divider element and controlled by the compare signal to bypass the RC constant of the voltage divider element and immediately pull the first voltage signal to the primary voltage when, after powering up the primary power source, the first voltage signal becomes greater than the second voltage signal.

### Claim 2 (depends on 1)

The circuit of claim 1, further comprising:
a first pass element controlled by the compare signal generated by the comparison element and coupled to the primary voltage; and
a second pass element controlled by the compare signal and coupled to the second voltage signal; and
an output node of the system, formed by the first pass element coupled to the second pass element, that is coupled to a substrate of the integrated circuit,
wherein when the compare signal is a first logic state the first pass element is controlled by the compare signal to be on, the second pass element is controlled by the compare signal to be off, and the output node of the system provides the primary voltage to the substrate of the integrated circuit to power the integrated circuit and when the compare signal is a second logic state the second pass element is controlled by the compare signal to be on, the first pass element is controlled by the compare signal to be off, and the output node of the system provides the secondary voltage to the substrate of the integrated circuit to power the integrated circuit.

### Claim 3 (depends on 1)

The circuit of claim 1, wherein the primary power source is a power source external to the integrated circuit and the secondary power source is an internal battery of the integrated circuit.

### Claim 4 (depends on 1)

The circuit of claim 1, wherein the voltage divider element comprises:
a transistor having a first terminal, a second terminal coupled to reference voltage, and a control terminal controlled by the compare signal;
a first resistive element having a first terminal and a second terminal, with the second terminal coupled to the first terminal of the transistor; and
a second resistive element having a first terminal coupled to the primary voltage and a second terminal coupled to the first terminal of the first resistive element.

### Claim 5 (depends on 4)

The circuit of claim 4, wherein the RC constant of the voltage divider element comprises a resistance of the first resistive element, a resistance of the second resistive element, a capacitance of the transistor, and a parasitic capacitance of the first and second resistive elements.

### Claim 6 (depends on 1)

The circuit of claim 1, wherein the bypass element is a transistor having a control terminal that is controlled by the compare signal, a first terminal coupled to the primary voltage and a second terminal coupled to the first voltage signal.

### Claim 7

A power supply switching circuit for switching power supplies of an integrated circuit, the power supply switching circuit comprising:
a comparison element that receives and compares a first voltage signal and a second voltage signal and generates a compare signal, wherein the first voltage signal is derived from a primary voltage provided by a primary power source and the second voltage signal is a secondary voltage provided by a secondary power source;
a voltage divider element, having a RC constant, that is coupled to the primary power source and receives the compare signal generated by the comparison element and generates the first voltage signal that is provided to the comparison element; and
means for immediately bypassing the RC constant of the voltage divider element and immediately pulling the first voltage signal to the primary voltage when, after powering up the primary power source, the first voltage signal becomes greater than the second voltage signal.

### Claim 8 (depends on 7)

The circuit of claim 7, wherein the means for bypassing the RC constant is a bypass element coupled to the voltage divider element and controlled by the compare signal.

### Claim 9

A power supply switching system of an integrated circuit for switching between power sources of the integrated circuit, the system comprising:
a primary power source that generates a primary voltage;
a secondary power source that generates a secondary voltage;
a comparison element that receives and compares a first voltage signal and a second voltage signal and generates a compare signal, wherein the first voltage signal is derived from the primary voltage provided by the primary power source and the second voltage signal is the secondary voltage provided by the secondary power source;
a voltage divider element, having a RC constant, that is coupled to the primary power source and receives the compare signal generated by the comparison element and generates the first voltage signal that is provided to the comparison element;
a bypass element coupled to the voltage divider element and controlled by the compare signal to bypass the RC constant of the voltage divider element and immediately pull the first voltage signal to the primary voltage when, after powering up the primary power source, the first voltage signal becomes greater than the second voltage signal;
a first pass element controlled by the compare signal generated by the comparison element and coupled to the primary voltage;
a second pass element controlled by the compare signal and coupled to the second voltage signal; and
an output node of the system, formed by the first pass element coupled to the second pass element, that is coupled to a substrate of the integrated circuit,
wherein when the compare signal is a first logic state the first pass element is controlled by the compare signal to be on, the second pass element is controlled by the compare signal to be off, and the output node of the system provides the primary voltage to the substrate of the integrated circuit to power the integrated circuit and when the compare signal is a second logic state the second pass element is controlled by the compare signal to be on, the first pass element is controlled by the compare signal to be off, and the output node of the system provides the secondary voltage to the substrate of the integrated circuit to power the integrated circuit.

### Claim 10 (depends on 9)

The system of claim 9, wherein the primary power source is a power source external to the integrate circuit and the secondary power source is an internal battery of the integrated circuit.

### Claim 11 (depends on 9)

The system of claim 9, wherein the voltage divider element comprises:
a transistor having a first terminal, a second terminal coupled to reference voltage, and a control terminal controlled by the compare signal;
a first resistive element having a first terminal and a second terminal, with the second terminal coupled to the first terminal of the transistor; and
a second resistive element having a first terminal coupled to the primary voltage and a second terminal coupled to the first terminal of the first resistive element.

### Claim 12 (depends on 11)

The system of claim 11, wherein the RC constant of the voltage divider element comprises a resistance of the first resistive element, a resistance of the second resistive element, a capacitance of the transistor, and a parasitic capacitance of the first and second resistive elements.

### Claim 13 (depends on 9)

The system of claim 9, wherein the bypass element is a transistor having a control terminal that is controlled by the compare signal, a first terminal coupled to the primary voltage and a second terminal coupled to the first voltage signal.

### Claim 14

A power supply switching system of an integrated circuit for switching between power sources of the integrated circuit, the system comprising:
a primary power source that generates a primary voltage;
a secondary power source that generates a secondary voltage;
a comparison element that receives and compares a first voltage signal and a second voltage signal and generates a compare signal, wherein the first voltage signal is derived from the primary voltage provided by the primary power source and the second voltage signal is the secondary voltage provided by the secondary power source;
a voltage divider element, having a RC constant, that is coupled to the primary power source and receives the compare signal generated by the comparison element and generates the first voltage signal that is provided to the comparison element;
means for immediately bypassing the RC constant of the voltage divider element and immediately pulling the first voltage signal to the primary voltage when, after powering up the primary power source, the first voltage signal becomes greater than the second voltage signal; and
means for passing the primary voltage or the secondary voltage through an output node of the system that is coupled to the substrate of the integrated circuit to power the integrated circuit, wherein when the compare signal is a first logic state the means for passing provides the primary voltage to the substrate of the integrated circuit to power the integrated circuit and when the compare signal is a second logic state the means for passing provides the secondary voltage to the substrate of the integrated circuit to power the integrated circuit.

### Claim 15 (depends on 14)

The system of claim 14, wherein the means for bypassing the RC constant is a bypass element coupled to the voltage divider element and controlled by the compare signal.

### Claim 16 (depends on 14)

The system of claim 14, wherein the means for passing comprises:
a first pass element controlled by the compare signal generated by the comparison element and coupled to the primary voltage; and
a second pass element controlled by the compare signal and coupled to the second voltage signal, wherein the output node of the system is formed by the first pass element coupled to the second pass element.

### Claim 17

A method for switching between power sources of the integrated circuit, the method comprising the steps of:
comparing a first voltage signal derived from a primary voltage provided by to the integrated circuit by a primary power source to a second voltage signal equal to a secondary voltage provided by a secondary power source and generating a compare signal;
dividing the primary voltage to derive the first voltage signal by a voltage divider element, having a RC constant, that is coupled to the primary power source and controlled by the compare signal;
powering up the primary power source; and
bypassing the RC constant of the voltage divider element and immediately pulling the first voltage signal to the primary voltage when the first voltage signal becomes greater than the second voltage signal.

### Claim 18 (depends on 17)

The method of claim 17, further comprising the step of:
passing the primary voltage or the secondary voltage to an output node of the system that is coupled to the substrate of the integrated circuit to power the integrated circuit, wherein when the compare signal is a first logic state passing the primary voltage to the substrate of the integrated circuit to power the integrated circuit and when the compare signal is a second logic state passing the secondary voltage to the substrate of the integrated circuit to power the integrated circuit.

### Claim 19 (depends on 17)

The method of claim 17, wherein bypassing the RC constant and immediately pulling the first voltage signal to the primary voltage is accomplished by a bypass element coupled to the voltage divider element and controlled by the compare signal.
