# US 11,959,962 B2 · Integrated circuit package with internal circuitry to detect external component parameters and parasitics

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

- Number: US 11,959,962 B2
- Document ID: US11959962B2
- Status: Granted
- Kind: B2
- Application number: 17/808,357
- Filed: 2022-06-23
- Published: 2023-12-28
- Granted: 2024-04-16
- Earliest claimed: 2022-06-23
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Chengyue Yu; Hua Guan; Yingjie Chen; Fan Yang; Yufei Pan; Jize Jiang; Shamim Ahmed
- Web page: https://patentgrep.com/patent/US11959962B2

## CPC

- G01R 31/2896: {Testing of IC packages; Test features related to IC packages (containers per se H10W76/10, encapsulations per se H10W74/00)}
- H03K 17/007: {with several outputs only}
- G01R 31/2853: {Electrical testing of internal connections or -isolation, e.g. latch-up or chip-to-lead connections (G01R31/31717 takes precedence; test of chip-to-PCB or lead-to-PCB connections G01R31/66)}
- G01R 31/2891: {related to sensing or controlling of force, position, temperature (G01R31/2874 takes precedence; sensing of force G01L; sensing of position G01B, G01D; sensing of temperature G01K; controlling in general G05)}
- H03K 17/163: {Soft switching}
- H03K 17/9512: {using digital techniques}
- H03K 17/9525: {controlled by an oscillatory signal (H03K17/9537 takes precedence)}
- H03K 17/955: using a capacitive detector
- G01R 27/08: Measuring resistance by measuring both voltage and current
- G01R 27/2605: {Measuring capacitance (capacitive sensors G01D5/24)}
- G01R 27/2611: {Measuring inductance}
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)
- 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

Apparatus and techniques for an integrated circuit (IC) package to automatically detect, through an input/out pin, external component parameters and parasitics. An example IC package generally includes a pin for coupling to a component external to the IC package, and at least one of a resistance detector, an inductance detector, or a capacitance detector coupled to the pin, and configured to detect at least one of a resistance, an inductance, or a capacitance, respectively, of a lumped parameter model for the component external to the IC package. The resistance detector, inductance detector, or capacitance detector may also be configured to detect parasitics associated with at least one of the component, the pin, or a connection between the component and the pin.

## Claims

### Claim 1

An integrated circuit (IC) package comprising:
a pin for coupling to a component external to the IC package; and
at least one of a resistance detector, an inductance detector, or a capacitance detector coupled to the pin and configured to detect at least one of a resistance, an inductance, or a capacitance, respectively, of a lumped parameter model for the component external to the IC package and for parasitics associated with at least one of the component, the pin, or a connection between the component and the pin, wherein the capacitance detector includes a current source, a switch coupled between the current source and the pin, an analog-to-digital converter (ADC), and a sample-and-hold circuit coupled between the pin and the ADC.

### Claim 2 (depends on 1)

The IC package of claim 1, wherein the at least one of the resistance detector, the inductance detector, or the capacitance detector is configured to operate in the time domain.

### Claim 3 (depends on 1)

The IC package of claim 1, wherein the at least one of the resistance detector, the inductance detector, or the capacitance detector is configured to output a time-domain drive signal and to sense a time-domain response signal.

### Claim 4 (depends on 1)

The IC package of claim 1, further comprising one or more switches coupled between the pin and the at least one of the resistance detector, the inductance detector, or the capacitance detector.

### Claim 5 (depends on 1)

The IC package of claim 1, wherein the capacitance detector is configured to:
close the switch at a beginning of a period to charge a capacitive element in the lumped parameter model with a current from the current source;
open the switch at an end of the period;
sample a voltage of the pin during the period and hold the sampled voltage at the end of the period, with the sample-and-hold circuit;
quantize the held voltage with the ADC; and
determine the capacitance of the capacitive element in the lumped parameter model based on a value of the current, a time length of the period, and the quantized voltage.

### Claim 6 (depends on 1)

The IC package of claim 1, wherein the resistance detector comprises:
a first current source configured to source a first current;
a first switch coupled between the first current source and the pin;
a second current source configured to source a second current, the second current being different from the first current;
a second switch coupled between the second current source and the pin;
a first sample-and-hold circuit having an input coupled to the pin;
a second sample-and-hold circuit having an input coupled to the pin; and
an analog-to-digital converter (ADC) having one or more inputs coupled to an output of the first sample-and-hold circuit and to an output of the second sample-and-hold circuit.

### Claim 7 (depends on 6)

The IC package of claim 6, wherein the resistance detector is configured to:
close the first switch at a beginning of a first period to provide the first current to the pin;
open the first switch at an end of the first period;
sample a first voltage of the pin during the first period and hold the sampled first voltage at the end of the first period, with the first sample-and-hold circuit;
close the second switch at a beginning of a second period to provide the second current to the pin;
open the second switch at an end of the second period;
sample a second voltage of the pin during the second period and hold the sampled second voltage at the end of the second period, with the second sample-and-hold circuit;
quantize a voltage difference between the held first voltage and the held second voltage with the ADC; and
determine the resistance of a resistive element in the lumped parameter model based on a value of the first current, a value of the second current, and the quantized voltage difference.

### Claim 8 (depends on 7)

The IC package of claim 7, wherein a first product of a value of the first current and a time length of the first period is configured to be equal to a second product of a value of the second current and a time length of the second period.

### Claim 9 (depends on 6)

The IC package of claim 6, wherein the resistance detector further comprises an amplifier having a first input coupled to the output of the first sample-and-hold circuit, having a second input coupled to the output of the second sample-and-hold circuit, and having an output coupled to the one or more inputs of the ADC.

### Claim 10 (depends on 9)

The IC package of claim 9, wherein the resistance detector is configured to:
close the first switch at a beginning of a first period to provide the first current to the pin;
open the first switch at an end of the first period;
sample a first voltage of the pin during the first period and hold the sampled first voltage at the end of the first period, with the first sample-and-hold circuit;
close the second switch at a beginning of a second period to provide the second current to the pin;
open the second switch at an end of the second period;
sample a second voltage of the pin during the second period and hold the sampled second voltage at the end of the second period, with the second sample-and-hold circuit;
amplify a voltage difference between the held first voltage and the held second voltage with the amplifier;
quantize the amplified voltage difference with the ADC; and
determine the resistance of a resistive element in the lumped parameter model based on a value of the first current, a value of the second current, and the quantized voltage difference.

### Claim 11 (depends on 1)

The IC package of claim 1, wherein the inductance detector comprises:
a pulse generator;
a switch coupled between a power supply rail and the pin; and
a switch driver coupled between an output of the pulse generator and a control input of the switch, the switch driver being configured to drive the switch with a plurality of different slew rates.

### Claim 12 (depends on 11)

The IC package of claim 11, wherein the inductance detector further comprises:
a peak detector having an input coupled to the pin;
a comparator having a first input coupled to an output of the peak detector and having a second input coupled to a reference voltage node; and
a successive approximation register having an input coupled to an output of the comparator.

### Claim 13 (depends on 12)

The IC package of claim 12, wherein the peak detector comprises an AC-coupled diode peak detector.

### Claim 14 (depends on 12)

The IC package of claim 12, wherein the peak detector comprises:
a first transistor having a drain coupled to the pin;
a first capacitor coupled between the drain and a gate of the first transistor; and
a second capacitor coupled between a source of the first transistor and a reference potential node of the peak detector.

### Claim 15 (depends on 14)

The IC package of claim 14, wherein the peak detector further comprises:
a second transistor having a drain coupled to the source of the first transistor and having a source coupled to the second capacitor and to the first input of the comparator;
a third transistor having a source coupled to a gate of the second transistor;
a current source coupled between the power supply rail and a drain of the third transistor; and
a fourth transistor having a drain coupled to the gate of the second transistor and the source of the third transistor and having a source coupled to the reference potential node of the peak detector.

### Claim 16 (depends on 15)

The IC package of claim 15, wherein the peak detector further comprises a switched capacitor array coupled between the gate of the second transistor and the reference potential node of the peak detector.

### Claim 17 (depends on 12)

The IC package of claim 12, wherein the switch driver comprises a plurality of drive circuits selectively coupled between the output of the pulse generator and the control input of the switch.

### Claim 18 (depends on 17)

The IC package of claim 17, further comprising logic having an input coupled to an output of the successive approximation register and having outputs coupled to control inputs of switches in the switch driver, the logic being configured to control selection of the drive circuits based on a digital value in the successive approximation register.

### Claim 19 (depends on 17)

The IC package of claim 17, wherein at least one of the plurality of drive circuits comprises a plurality of series-connected inverters.

### Claim 20

A method of parameter determination, comprising:
coupling at least one of a resistance detector, an inductance detector, or a capacitance detector, internal to an integrated circuit (IC) package, to a pin of the IC package, the pin being coupled to a component external to the IC package;
detecting, using the at least one of the resistance detector, the inductance detector, or the capacitance detector internal to the IC package, at least one of a resistance, an inductance, or a capacitance, respectively, of a lumped parameter model for the component external to the IC package and for parasitics associated with at least one of the component, the pin, or a connection between the component and the pin; and
wherein detecting the capacitance comprises:
closing a switch coupled between a current source and the pin at a beginning of a period to charge a capacitive element in the lumped parameter model with a current from the current source;
opening the switch at an end of the period;
sampling a voltage of the pin during the period with a sample-and-hold circuit;
holding the sampled voltage at the end of the period with the sample-and-hold circuit;
quantizing the held voltage with an analog-to-digital converter (ADC); and
determining the capacitance of the capacitive element in the lumped parameter model based on a value of the current, a time length of the period, and the quantized voltage.

### Claim 21 (depends on 20)

The method of claim 20, wherein the detecting comprises operating the at least one of the resistance detector, the inductance detector, or the capacitance detector in the time domain.

### Claim 22 (depends on 20)

The method of claim 20, wherein the detecting comprises:
generating a drive signal in the IC package;
outputting the drive signal to the component via the pin of the IC package; and
receiving a response signal from the component and the parasitics via the pin of the IC package.

### Claim 23 (depends on 22)

The method of claim 22, wherein the drive signal is a time-domain drive signal and wherein the response signal is a time-domain response signal.

### Claim 24 (depends on 20)

The method of claim 20, wherein the coupling comprises closing one or more switches coupled between the pin and the at least one of the resistance detector, the inductance detector, or the capacitance detector.

### Claim 25 (depends on 20)

The method of claim 20, wherein detecting the resistance comprises:
closing a first switch, coupled between a first current source and the pin, at a beginning of a first period to provide a first current from the first current source to the pin;
opening the first switch at an end of the first period;
sampling a first voltage of the pin during the first period and holding the sampled first voltage at the end of the first period, with a first sample-and-hold circuit;
closing a second switch, coupled between a second current source and the pin, at a beginning of a second period to provide a second current from the second current source to the pin;
opening the second switch at an end of the second period;
sampling a second voltage of the pin during the second period and holding the sampled second voltage at the end of the second period, with a second sample-and-hold circuit;
quantizing a voltage difference between the held first voltage and the held second voltage with an analog-to-digital converter (ADC); and
determining the resistance of a resistive element in the lumped parameter model based on a value of the first current, a value of the second current, and the quantized voltage difference.

### Claim 26 (depends on 25)

The method of claim 25, wherein a first product of a value of the first current and a time length of the first period is substantially equal to a second product of a value of the second current and a time length of the second period such that the capacitance of the lumped parameter model becomes negligible.

### Claim 27 (depends on 25)

The method of claim 25, wherein detecting the resistance further comprises amplifying the voltage difference between the held first voltage and the held second voltage and wherein the quantizing comprises quantizing the amplified voltage difference.

### Claim 28 (depends on 20)

The method of claim 20, wherein detecting the inductance comprises using a successive-approximation register (SAR)-based charging scheme to charge the component via the pin for a number of cycles.

### Claim 29 (depends on 20)

The method of claim 20, wherein detecting the inductance comprises:
generating a pulse with a pulse generator;
selecting a path from among a plurality of paths in a switch driver;
modifying a slew rate of the pulse with the selected path in the switch driver; and
driving a switch coupled between a power supply rail and the pin with the pulse having the modified slew rate.

### Claim 30 (depends on 29)

The method of claim 29, wherein detecting the inductance further comprises:
detecting a peak of a voltage signal received from the pin;
comparing the detected peak of the voltage signal to a reference voltage with a comparator; and
storing a digital value output from the comparator in a successive approximation register, wherein a plurality of digital values stored in the successive approximation register represent the inductance, after a number of cycles of driving the switch with different slew rates.

### Claim 31 (depends on 30)

The method of claim 30, wherein the selecting comprises selecting the path from among the plurality of paths in the switch driver based on the plurality of digital values in the successive approximation register.

### Claim 32 (depends on 20)

The method of claim 20, further comprising:
selecting one or more parameters for the IC package, based on the detected at least one of the resistance, the inductance, or the capacitance of the lumped parameter model; and
adjusting operation of one or more circuit components of the IC package, based on the selected one or more parameters.
