# US 2022/0286158 A1 · Wireless Circuitry with Loopback Path All-Pass Filters

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

- Number: US 2022/0286158 A1
- Document ID: US20220286158A1
- Status: Published application
- Kind: A1
- Application number: 17/191,535
- Filed: 2021-03-03
- Published: 2022-09-08
- Earliest claimed: 2021-03-03
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Krishna Chaitanya Reddy Gangavaram; Ali Parsa
- Web page: https://patentgrep.com/patent/US20220286158A1

## CPC

- H04B 1/40: Circuits
- H04B 1/44: Transmit/receive switching
- H04B 1/0475: {with means for limiting noise, interference or distortion (H04B1/0483 takes precedence)}
- H04B 17/0085: {using test signal generators}
- H04B 17/14: of the whole transmission and reception path, e.g. self-test loop-back
- H04B 17/22: {for calibration of the receiver components}
- H04L 27/364: {Arrangements for overcoming imperfections in the modulator, e.g. quadrature error or unbalanced I and Q levels}
- H04B: TRANSMISSION
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An electronic device may include wireless circuitry with a baseband processor, a transceiver, and an antenna. The transceiver may include a transmit path, a receive path, and a loopback path that couples the transmit path to the receive path. A passive all-pass filter may be interposed on the loopback path. Control circuitry may calibrate I/Q mismatch of the wireless circuitry using the all-pass filter to optimize the radio-frequency performance of the wireless circuitry. Performing I/Q mismatch calibration using the all-pass filter may serve to minimize area consumption in the transceiver, may minimize calibration time, and may allow for calibration over a relatively wide bandwidth.

## Claims

### Claim 1

A radio-frequency transceiver for wirelessly communicating using at least one antenna, the radio-frequency transceiver comprising:
a transmit path having a first mixer configured to up-convert transmit signals from a baseband frequency to a radio frequency for transmission by the at least one antenna;
a receive path having a second mixer configured to down-convert receive signals received using the at least one antenna from the radio frequency to the baseband frequency;
a loopback path coupling the transmit path to the receive path; and
an all-pass filter disposed on the loopback path between the transmit path and the receive path.

### Claim 2 (depends on 1)

The radio-frequency transceiver of claim 1, wherein the all-pass filter comprises a first output and a second output, the second output being 90 degrees out-of-phase with respect to the first output.

### Claim 3 (depends on 2)

The radio-frequency transceiver of claim 2, further comprising:
a multiplexer having a first input coupled to the first output, a second input coupled to the second output, and a third output communicably coupled to the receive path.

### Claim 4 (depends on 3)

The radio-frequency transceiver of claim 3, wherein the loopback path comprises a differential signal path having a first signal line and a second signal line, the all-pass filter having a first input terminal coupled to the first signal line and having a second input terminal coupled to the second signal line.

### Claim 5 (depends on 4)

The radio-frequency transceiver of claim 4, wherein the all-pass filter comprises a second order all-pass filter having:
a first all-pass filter stage that couples the first and second input terminals to the first output; and
a second all-pass filter stage that couples the first and second input terminals to the second output.

### Claim 6 (depends on 5)

The radio-frequency transceiver of claim 5, wherein the first all-pass filter stage comprises:
a first resistor;
a first capacitor coupled in series with the first resistor between the first input terminal and the second input terminal;
a second capacitor; and
a second resistor coupled in series with the second capacitor between the first input terminal and the second input terminal, wherein the first resistor and the first capacitor are coupled in parallel with the second resistor and the second capacitor between the first input terminal and the second input terminal, the first output being coupled to a first circuit node between the first resistor and the first capacitor and to a second circuit node between the second resistor and the second capacitor.

### Claim 7 (depends on 6)

The radio-frequency transceiver of claim 6, wherein the second all-pass filter stage comprises:
a third resistor;
a third capacitor coupled in series with the third resistor between the first input terminal and the second input terminal;
a fourth capacitor; and
a fourth resistor coupled in series with the fourth capacitor between the first input terminal and the second input terminal, wherein the third resistor and the third capacitor are coupled in parallel with the fourth resistor and the fourth capacitor between the first input terminal and the second input terminal, the second output being coupled to a third circuit node between the third resistor and the third capacitor and to a fourth circuit node between the fourth resistor and the fourth capacitor.

### Claim 8 (depends on 5)

The radio-frequency transceiver of claim 5, further comprising:
a first balun interposed on the transmit path;
a second balun interposed on the transmit path; and
a power amplifier interposed on the transmit path between the first balun and the second balun, wherein the first signal line and the second signal line are coupled to the transmit path at a location between an output of the power amplifier and the second balun.

### Claim 9 (depends on 8)

The radio-frequency transceiver of claim 8, further comprising:
at least one capacitor interposed on the loopback path between the all-pass filter and the transmit path;
a programmable attenuator interposed on the loopback path between the third output of the multiplexer and the receive path; and
a differential-signal-to-single-ended-signal converter interposed on the loopback path between the programmable attenuator and the receive path.

### Claim 10

An electronic device comprising:
processor circuitry;
at least one antenna;
a transmit path that couples the processor circuitry to the at least one antenna;
a receive path that couples the at least one antenna to the processor circuitry;
a loopback path that couples the transmit path to the receive path; and
a passive all-pass filter interposed on the loopback path between the transmit path and the receive path.

### Claim 11 (depends on 10)

The electronic device of claim 10, wherein the processor circuitry is configured to use the all-pass filter to calibrate an in-phase quadrature-phase (I/Q) mismatch of the transmit path and the receive path.

### Claim 12 (depends on 11)

The electronic device of claim 11, wherein the passive all-pass filter has a first output and a second output, the electronic device further comprising:
a multiplexer interposed on the loopback path and having a first input coupled to the first output, a second input coupled to the second output, and a third output communicably coupled to the receive path.

### Claim 13 (depends on 12)

The electronic device of claim 12, wherein the one or more processors is configured to calibrate the I/Q mismatch by:
controlling the processor circuitry to transmit a test signal, the passive all-pass filter being configured to convey the test signal over the first output with a first phase and over the second output with a second phase that is 90 degrees out-of-phase with respect to the first phase;
controlling the multiplexer to couple the first input to the third output;
controlling the processor circuitry to measure the test signal while the first input of the multiplexer is coupled to the third output;
controlling the multiplexer to couple the second input to the third output;
controlling the processor circuitry to measure the test signal while the second input of the multiplexer is coupled to the third output;
controlling the processor circuitry to identify the I/Q mismatch based on the test signal measured while the first input of the multiplexer is coupled to the third output and based on the test signal measured while the second input of the multiplexer is coupled to the third output; and
controlling the processor circuitry to generate, based on the identified I/Q mismatch, a compensation value to be applied to subsequently-transmitted signals.

### Claim 14 (depends on 12)

The electronic device of claim 12, further comprising:
a first mixer interposed on the transmit path;
a first balun interposed on the transmit path between the first mixer and the at least one antenna;
a power amplifier interposed on the transmit path between the first balun and the at least one antenna;
a second balun interposed on the transmit path between the power amplifier and the at least one antenna, wherein the loopback path is coupled to the transmit path at a location between the power amplifier and the second balun; and
a differential-signal-to-single-ended-signal converter interposed on the loopback path between the multiplexer and the receive path.

### Claim 15 (depends on 14)

The electronic device of claim 14, further comprising:
a low noise amplifier interposed on the receive path; and
a second mixer interposed on the receive path between the low noise amplifier and the processor circuitry, wherein the loopback path is coupled to the receive path at a location between the low noise amplifier and the at least one antenna.

### Claim 16 (depends on 10)

The electronic device of claim 10, further comprising:
a radio-frequency transceiver module, wherein the loopback path and the passive all-pass filter are on the radio-frequency transceiver module.

### Claim 17

A loopback path for conveying differential radio-frequency signals from a transmit path in a radio-frequency transceiver to a receive path in the radio-frequency transceiver, the loopback path comprising:
a first signal line coupled to the transmit path;
a second signal line coupled to the transmit path, the first and second signal lines forming a differential pair of signal lines;
an all-pass filter having a first input terminal coupled to the first signal line, a second input terminal coupled to the second signal line, a first output configured to output the differential radio-frequency signals with a first phase, and a second output configured to output the differential radio-frequency signals with a second phase that is 90 degrees out-of-phase with respect to the first phase; and
a multiplexer having a first input coupled to the first output of the all-pass filter, a second input coupled to the second output of the all-pass filter, and a third output communicably coupled to the receive path, the multiplexer having a first state in which the first input is coupled to the third output and having a second state in which the second input is coupled to the third output.

### Claim 18 (depends on 17)

The loopback path of claim 17, further comprising:
a differential-signal-to-single-ended-signal converter coupled between the third output and the receive path.

### Claim 19 (depends on 18)

The loopback path of claim 18, further comprising:
a programmable attenuator coupled between the third output and the differential-signal-to-single-ended-signal converter.

### Claim 20 (depends on 17)

The loopback path of claim 17, wherein the all-pass filter comprises a first stage coupled between the first input terminal, the second input terminal, and the first output, and wherein the all-pass filter comprises a second stage coupled between the first input terminal, the second input terminal, and the second output.
