# US 2013/0158919 A1 · Plug type detection

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

- Number: US 2013/0158919 A1
- Document ID: US20130158919A1
- Status: Published application
- Kind: A1
- Application number: 13/554,115
- Filed: 2012-07-20
- Published: 2013-06-20
- Earliest claimed: 2011-12-16
- Assignees: QUALCOMM Incorporated
- Inventors: Peter J. Shah; Arash Mehrabi
- Web page: https://patentgrep.com/patent/US20130158919A1

## CPC

- H04R 5/04: Circuit arrangements, {e.g. for selective connection of amplifier inputs/outputs to loudspeakers, for loudspeaker detection, or for adaptation of settings to personal preferences or hearing impairments (combinations of amplifiers H03F3/68; stereophonic systems H04S)}
- G01R 31/67: Testing the correctness of wire connections in electric apparatus or circuits
- G01R 31/68: Testing of releasable connections, e.g. of terminals mounted on a printed circuit board
- H04R 1/1033: {Cables or cables storage, e.g. cable reels (cord reels per se H02G11/02; arrangements for storing and repeatedly paying-out and re-storing lengths of conductors or cables B65H75/34; extensible conductors or cables, e.g. self-coiling cords H01B7/06)}
- H04R 2420/09: Applications of special connectors, e.g. USB, XLR, in loudspeakers, microphones or headphones
- H04R: LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS (producing sounds with frequency not determined by supply frequency G10K)
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

Techniques for detecting the type of a media plug inserted into a corresponding jack. In an exemplary embodiment, the output of a first power amplifier for driving a media plug terminal, e.g., the right headphone or left headphone, is selectively coupled to a reference voltage. Measurements of the voltage at a microphone terminal of the media plug may be alternately made for the reference voltage being at a first value and a second value. In an embodiment, the first power amplifier output voltage may be varied by opening or closing a switch. Alternatively, the first power amplifier output voltage may be directly set by an input voltage to the first power amplifier. By detecting changes in the voltages measured at the microphone terminal, it may be determined whether the media plug is of a North American type or European type.

## Claims

### Claim 1

An apparatus comprising:
a first power amplifier having a first output coupled to a first terminal;
a bias voltage block for generating a bias voltage coupled to a second terminal via a bias resistor; and
a microphone processing block coupled to the second terminal, the microphone processing block configured to measure a voltage at the second terminal when the first output is configured to be a reference DC voltage.

### Claim 2 (depends on 1)

The apparatus of claim 1, further comprising a switch configured to selectively couple the first output to the reference DC voltage.

### Claim 3 (depends on 2)

The apparatus of claim 2, the microphone processing block further configured to measure the voltage at the second terminal when the switch is open, and when the switch is closed.

### Claim 4 (depends on 3)

The apparatus of claim 3, further comprising a processor configured to control the switch and store the measured voltages in a memory.

### Claim 5 (depends on 4)

The apparatus of claim 4, further comprising a jack for receiving a plug, the first and second terminals being disposed on the jack, the processor further configured to determine a type of the plug as North American or European based on the measured voltage at the second terminal.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the measured voltage being substantially the same when the switch is open and closed indicates a North American type plug, and wherein the measured voltage being substantially different when the switch is open and closed indicates a European type plug.

### Claim 7 (depends on 2)

The apparatus of claim 2, the switch configured to be open when the first power amplifier drives the first terminal with a signal voltage.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the first output is configured to be the reference DC voltage by setting the input voltage to the first power amplifier.

### Claim 9 (depends on 1)

The apparatus of claim 1, further comprising a jack, wherein the jack is configured to receive an audio plug comprising microphone, ground, right audio, and left audio terminals.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the jack is configured to receive either a European-style audio plug or a North American-style audio plug.

### Claim 11 (depends on 1)

The apparatus of claim 1, further comprising a jack for receiving a plug, the first and second terminals being disposed on the jack, the processor further configured to determine a type of the plug as North American or European based on the measurement of the voltage at the second terminal when the first output is set to the reference voltage.

### Claim 12 (depends on 1)

The apparatus of claim 1, the reference voltage corresponding to a ground voltage, wherein the measured voltage being higher than ground by a predetermined voltage threshold indicates a type of the plug as North American, and wherein the measured voltage being less than the predetermined voltage threshold indicates a type of the plug as European.

### Claim 13

A method comprising:
selectively setting a voltage at a first terminal to a reference voltage;
coupling a bias voltage to a second terminal via a resistor;
measuring a voltage at a second terminal using a microphone processing block when the first terminal is set to the reference voltage; and
driving the first terminal with a power amplifier when the first terminal is not set to the reference voltage.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
measuring the voltage at the second terminal when the first terminal is not set to the reference voltage.

### Claim 15 (depends on 14)

The method of claim 14, further comprising:
storing the measured voltages in a memory;
comparing the measured voltages to each other;
indicating a type of a plug coupled to the first and second terminals to be North American if the difference between the measured voltages is less than a predetermined voltage threshold, and European otherwise.

### Claim 16 (depends on 13)

The method of claim 13, the reference voltage corresponding to a ground voltage, the method further comprising:
determining a type of a plug coupled to the first and second terminals as North American if the measured voltage is higher than ground by a predetermined voltage threshold; and
determining the type of the plug as European otherwise.

### Claim 17

An apparatus comprising:
a first power amplifier having a first output coupled to a first terminal;
means for selectively setting the first output to a reference voltage;
a bias voltage block for generating a bias voltage coupled to a second terminal via a bias resistor; and
a microphone processing block coupled to the second terminal to measure the voltage at the second terminal

### Claim 18 (depends on 17)

The apparatus of claim 17, further comprising means for detecting a load coupled to a third terminal, the presence of the load at the terminal indicating insertion of a media plug into a corresponding jack.

### Claim 19

A non-transient computer-readable storage medium storing code for causing a computer to determine a plug type of a plug inserted into a jack, the jack coupling a first terminal of the plug to a reference voltage, the computer further receiving an indicator signal from a microphone processing block coupled to a second terminal of the plug, the second terminal biased by a bias voltage block coupled to the second terminal via a resistor, the code comprising:
code for causing the computer to determine a type of the plug as North American or European based on the logical value of the indicator signal.
