The present invention relates to the field of electronic devices which comprise audio/video (A/V) jacks, and associated methods of operating such devices. The electronic devices may or may not comprise mobile telephone functionality.
These jacks are adapted to house and provide releasable connection with A/V connectors/plugs. These plugs provide an end-termination for cabling and are used to connect a peripheral device to the electronic device. In this way, the electronic devices are able to output A/V and receive A/V input. Such A/V plugs are often call round standard connectors. The peripheral device may itself be comprised with the cabling, e.g. a microphone as shown in
Specific embodiments of the present invention relate to electronic devices which comprise four-contact jacks for connection with appropriate adapted plugs. Such jacks also can retain compatibility with standardized three-contact plugs.
Specific embodiments of the present invention also relate to electronic devices which comprise three-contact jacks for connection with appropriate adapted plugs. Such jacks also can retain compatibility with standardized four-contact plugs.
Standardized A/V plugs and jacks are frequently used in consumer audio and telecommunication products. A/V plugs are familiar to most people, with the typical A/V plug comprising a series of electrically isolated cylindrical segments ending in a “tip” segment. More particularly, the body of the plug usually includes a sleeve, a ring, and a terminating tip, each providing contact points with the jack. These plug “contacts” are often referred to as poles.
While now commonly used in A/V applications, the sleeve-ring-tip plug nomenclature derives from the time when similarly styled plugs were used by operators of the early telephone switchboards. Indeed, such plugs commonly are referred to as “phone” plugs, although they are most commonly used in A/V applications, such as traditional domestic stereo and video equipment.
Many manufacturers, such as SWITCHCRAFT™, make standardized 2.5 mm and 3.5 mm audio plugs and jacks. Some of the most common uses for A/V plugs include termination of headphone/headset cables, microphone cables, guitar cables etc. A/V plugs are commonly used for both stereophonic and monaural devices.
For example, a stereo headset (
Telephone headsets (
Because the sizes and typical wiring schematic for such audio plug and jack combinations are relatively standardized, cross-manufacturer compatibility exists. For example, a headset manufacturer that adopts an industry standard audio plug for its various headset models can be relatively assured that those headsets will be compatible with audio devices from other manufacturers. Thus, there are significant advantages if manufacturers use standardized plug and jack configurations.
Although there are standards for these plugs, there are very many types of plugs, which can, depending on the function of the peripheral device for which they provide end-termination, each provide varying degrees of functionality for the electronic device. Although outwardly plugs may appear the same, the signalling down the plugs vary according to the functions that the peripheral device provides (
According to the invention, there is provided an electronic device comprising a jack arranged to receive a peripheral device A/V plug, the A/V plug providing an end-terminal for a peripheral device to be connected to the jack, wherein the device is arranged to detect insertion of the A/V plug, and upon detection of insertion, discriminate the functionality provided by the peripheral device.
In this way, the device is able to provide compatibility, including backward compatibility, with most peripheral devices which use an A/V plug.
For example, the device would be able to discriminate between peripheral devices providing different functionality, even though the plug which is inserted may, on the face of it, look the same as that for another peripheral device which provides different functionality.
The device may comprise memory containing configuration details of a plurality of A/V plug-peripheral device configurations and associated peripheral device functionalities, and wherein the device is arranged to use the configuration details to discriminate the functionality of the peripheral device connected by the inserted A/V plug.
The device may be operable to select appropriate applications software for the electronic device based on discriminated functionality.
The device may actually identify the functionality and/or discriminate that the device does not support the functionality provided by the peripheral device.
The device may not be able to discriminate down to one particular peripheral device and associated functionality type. The device may be arranged to discriminate a shortlist of two or more possible peripheral devices which may have been connected, and provide the user with the option of selecting one or more of the discriminated peripheral devices from the discriminated shortlist to provide the functionality of the selected peripheral device.
The device may be operable to determine the configuration details of the peripheral device. The configuration details may include arrangements of characteristics including impedance, capacitance, voltage, current and the presence of a short circuit.
The device may be operable to measure characteristics at one or more contacts of the A/V plug. Further, the device may be operable to measure the characteristics at two or more contacts sequentially following or during insertion of the A/V plug.
The device may be operable to detect an external voltage applied by a self-powered peripheral device, for example a carkit.
The device is operable to determine whether the peripheral device provides analogue functionality. Additionally or alternatively, the device may be operable to determine whether the peripheral device provides digital functionality.
The device may be operable first to determine whether the peripheral device provides digital functionality. Alternatively, the device may be operable first to determine whether the peripheral device provides analogue functionality.
An interrupt signal may be generated upon insertion of the plug into the jack, identification of the functionality provided by the peripheral device commencing in response to the interrupt. The interrupt signal may be generated by the electronic device itself or by the peripheral device, and may include slopes arranged such that the signal is inaudible in the phone audio uplink. This makes data transition non-audible (no “pops” or “clicks”). However, short interrupt (mute) is present in the audio channel=uplink.
Additionally or alternatively, the device may include a sensor arranged to detect insertion of the plug into the jack.
The device may be arranged to receive information from the peripheral device to discriminate the functionality provided by the peripheral device, for example where the peripheral device makes use of ECI (Enhanced Control Interface) or ACI (Accessory Control Interface).
The device may comprise a processor, and the processor may be arranged to detect insertion of a A/V plug, and upon detection of insertion of the A/V plug, the processor is arranged to test the configuration of the peripheral device to discriminate its functionality.
By determining the configuration of the peripheral device, the device is able to identify which connection path should be used for which type of signalling (e.g. ring next to tip is for R analog voice or S-video or SPDIF in one particular embodiment, but not another).
The device may comprise a memory and a processor, the memory comprising configuration details of a plurality of plug-peripheral device configurations and associated peripheral device functionalities, and wherein the processor is arranged to detect insertion of a A/V plug, and upon detection of insertion of the A/V plug, the processor is arranged to test the configuration of the peripheral device to discriminate its functionality.
The device may comprise a memory and a processor, the memory comprising configuration details of a plurality of plug-peripheral device configurations and associated peripheral device functionalities, and wherein the processor is arranged to detect insertion of an A/V plug, and upon detection of insertion of the A/V plug, the processor is arranged to test the functionality of the peripheral.
The discrimination, determination, identification and/or functions outlined above can be performed by using one or more processors, switches, and associated electronic circuitry. A switch may be used to detect insertion.
In another aspect, the present invention provides an electronic device comprising a jack arranged to receive a peripheral device A/V plug, the A/V plug providing an end-terminal for a peripheral device to be connected to the jack, wherein the device comprises one or more connection paths to connect to corresponding one or more contacts on the A/V plug, wherein the electronic device is configured to discriminate the configuration and/or functionality provided by a peripheral device and arranged to route the signalling down one or more of the connection paths to provide appropriate signalling to one or more of the A/V plug contacts according to the configuration/functionality discriminated for the peripheral device
So, for example, when one particular peripheral device is plugged in, signalling routing is adapted to provide the appropriate signalling for the particular peripheral device that has been connected. When another particular peripheral device is plugged in, signal routing is adapted for the particular different peripheral device which has been connected.
Switches under the control of one or more processors may be employed in the routing. Software may be used to route the signalling accordingly with or without the use of switches.
Amplification of signalling may also be used to appropriately adapt the signalling for a particular functionality/configuration of a particular peripheral device.
The present invention encompasses one or more of the above aspects and embodiments in all compatible combinations. Corresponding methods and computer programs are also within the scope of the present invention.
Specific embodiments of the present invention will now be described with reference to the following figures in which:
The electronic device of the invention includes a jack arranged to receive a peripheral device A/V plug.
The jack is arranged to receive A/V plugs having three contacts, designated as a tip, a ring and a sleeve; four contacts, designated as a tip, a first ring, a second ring and a sleeve; and no contacts, in which case the plug includes a non-conductive material, the plug being shaped as other A/V plugs and carrying an optical fibre.
The A/V plug may be a 2.5 mm or 3.5 mm diameter plug, for example. The A/V plug provides an end-terminal for a peripheral device to be connected to the jack. Numerous forms of peripheral device are in common use, examples including stereo headphones, stereo headsets, and remote controls.
The electronic device is arranged to detect insertion of an A/V plug. Insertion is detected by an electrical or mechanical sensor located at the entrance to the jack, or within the jack.
Upon detection of insertion, the electronic device differentially identifies the functionality provided by the peripheral device. Methods whereby the device identifies the functionality are described in detail below, in relation to the “Nokia AV” plug configuration shown in
The device includes a memory containing configuration details of a plurality of A/V plug-peripheral device configurations and associated peripheral device-functionalities. The device is arranged to use the configuration details to identify the functionality of the peripheral device connected by the inserted A/V plug, for example by the use of a controlling processor and appropriately adapted hardware. The memory may be comprised with, or external to, the processor which controls the identification of the functionality of the peripheral device.
As a general example, the memory may contain details of the impedance expected when analogue headphones are connected to the device by the A/V plug and jack. The device is operable to measure the impedance at a particular contact of the plug, and compare the measured impedance with the expected impedance stored in the memory, in order to determine whether or not the peripheral device is a analogue headphone or a particular analogue headphone.
The device may not be able to measure a sufficient number of parameters in order to make a precise determination of what the peripheral device is. In these cases, the device presents a menu containing a reduced list of options to the user, who is then able to select an option corresponding to the peripheral device, which he has connected. It may be the case that several possibilities can be ruled out based on the measurements taken by the device.
Once the functionality of the peripheral device has been identified, the device can be arranged to automatically select the appropriate applications software based on the identified functionality. Non-compatible applications software may be indicated as such, for example, by preventing selection by the user whilst the particular AV plug is inserted.
The detection system according to the invention includes different pull-up voltages and resistors. The ADC measurement ranges, in the example circuitry, is 0-1.35 V and interrupt threshold 0.5-0.7 V. Additionally, a data switch may be used that directly shorts the line.
The following principal detection ideas have been identified:
It should be noted that the interrupt pulse is valid from 0 V to 0.5 V and the higher value has a tolerance of up to 0.7 V.
TV-Cable with Serial Capacitor
The AC load detection needs to be taken into account. In an integrated circuit incorporating a system according to
With DC measurement the voltage depends on the time for which the bias is applied. The time constant is 1 s . . . 5 s. If the voltage is applied for too long, the voltage will be able the ADC range. The following elements are used:
The detection has several phases and therefore the detection algorithm needs to identify a lot of different situations, which may mean temporarily erroneous detections. The detection is a combination of the above-mentioned elements. Cable detection (band-gap diode) identification improves reliability in addition to detection but the system must cope with standard cables.
Embedded AC-detection in the TV-signal can be used if the video signal is used for identification (
The video signal synchronization pulse on line 3 may have in the system an additional synchronised detection pulse, and the amplitude of this pulse is monitored in the TV-encoder block. This gives add-on data for the detection. For instance, when TV is changed to headphones in the adapter, there is no detection of the change the previously-described methods. This problem does not arise in the DC-measurement case with an embedded pulse.
The AC algorithm needs longer integration time as the average DC is slightly affected from the coupling.
If detection is not possible using the detection system of the invention, in this case or in any other, a menu is presented to the user, whereby the user can select the functionality of the peripheral device. The menu includes limited options, with several possibilities having been ruled out following the partial identification.
Simple Accessory Detection without ECI/ACI
The detection can be made with voltage measurements in the mixed signal IC (integrated circuit). In this example, the usable AD converter range is 0 . . . 1.35 V, and 1024 steps represents about 1.3 mV accuracy per step. Other ranges can be used.
A TV-cable load that does not have a serial capacitor can be measured with the AD using, for instance, the ˜2.2 k bias resistor and a supply of ˜2.1 V. The measurement involves a serial resistor of about 50 ohms in the ASIP (i.e. Application Specific Integrated Processor is an integration technology incorporating, for instance, resistors and in this case the 50 ohm resistor is added to provide ESD (Electrostatic Discharge) protection) and 75 ohms load. The tolerances of the supply voltage and resistors make it difficult to perform exact load resistor measurement. It is difficult to separate 50 and 125 ohms without calibration in production. If it is adequate only to know that the load impedance is low, calibration can be avoided. The calibration improves detection performance and so it can separate other non-specified loads.
The same AD can be used to detect an accessory if it has in the microphone line a suitable voltage (0 . . . 1.35 V) that can be generated with a load resistor or external voltage source. A suitable external voltage source is available in carkits, for example. Use of external voltages requires microphone disconnection during measurement. The microphone bias needs to be disabled during measurement to allow for measurement of the external voltage without too much error. The external voltage could come from a low impedance source, allowing the measurement to be done in the microphone line with the bias supply point shorted. This system is sufficiently accurate to measure several voltage levels, i.e. from different accessories. Four levels can be detected with ±1.2% references and equivalent clearances. The measurement system uses interrupts from the host microphone mode. The accessory needs a comparator, a monoflop, a switch and a reference voltage source. The monoflop stage provides switching time for the reference voltage and this system has a stable period for measuring whereas other e.g. bistable based circuits arrangement potentially go to the wrong state caused by interferences. By detecting the presence of a microphone line bias voltage enabling control of the carkit can be provided. During measurement, the host bias needs to be disabled to prevent erroneous accessory identification in the case when a basic headset is inserted.
The basic accessory detection in the host side, depending on filtering time constant expects, for example, ˜100 ms reset, done with the microphone bias connected to GND. During a period of 50 . . . 100 ms the accessory needs to deliver an identification voltage. A long interrupt filters separate ECI functions which use very short interrupt times. This allows the accessories to involve both systems. The long interrupt from the host needs to disable the ECI response and to provide basic system functionality instead. The host may incorporate either of these identification systems which will coexist. The basic system might be used in hosts which do not have a data mode but microphone mode only. The microphone mode allows the bias source to be connected to the bias voltage, GND, or alternatively, it can float. The microphone input needs to be connected to a hook-detector DA to provide for accurate voltage measurement.
The detection voltage tolerances are shown in
The coexistence of the basic carkit with the ECI system is shown in
Headphone amplifier TPA4411 (a headphone amplifier supplied by Texas Instruments) output R-line might be shorted by a mono headset plug. To prevent thermal shutdown serial resistors ˜15 ohms are used as protection of the output lines, although these will reduce the efficiency of low-impedance headphones. The serial resistors help in the filtering of charge pump interferences which is advantageous also in ESD protection.
To increase efficiency, an R-channel load detector is used. This consists of a comparator and needs two GPIOs for operation, as it mutes the R-channel after detection. The R-channel mute is maintained until the plug is unmated. The circuitry expects some enhancement in the interference and ESD protection as the serial resistor sizes are reduced. Providing a proper low-frequency synthetic signal to the input when detecting the load enhances detection reliability.
When the headphone impedance is measured with the aid of an ADC providing a current through a switched resistor, there exist tolerances from Vana, Rmeasurement and ADC offset. Vana is supply voltage, Rmeasurement is a pull-up resistor used in measurement being in series with the load during measurement, and ADC offset is measurement error. These all together create certain accuracy tolerance in the measuring. Measuring with the same Rmeasurement results in differential data that provides information on any non-balance and possible short circuit. Audible, even strong, click-sound from headphones is a disadvantage of this kind of measuring method. The mentioned disadvantage can be avoided by “soft” pulse having slope in the leading and trailing edge (this has also been mentioned in conjunction of the interrupt pulse).
The ECI/ACI generates an interrupt and, when using Vilma (Vilma is a mixed signal IC and in this point a part of this IC is used=threshold detector (slicer)) as the slicer level, a signal level of <0.7 V is interpreted as an interrupt. To avoid unwanted interrupts, the microphone signal needs to be prevented from going low in any circumstances. One solution for this is a serial resistor. However, the resistor reduces gain by about 2 . . . 3 dB.
Interrupt and mic switching order and one possible method to minimise the pop-sound: Off=Interrupt soft falling slope-Mic off-interrupt (>65 μs fixed)-slow slope up Host makes mute after interrupt detection (processing time<3 ms). On=Mic on-Host releases mute.
The system has a requirement for S-video and stereo sound signals output. To serve standard TV-receivers, interfacing analog audio signals are expected. To transfer the data through 3 lines, digital audio is expected. The digital galvanic audio signal has a problem relating to the interface with the video. Additionally, power is needed for the circuitry that converts audio to analog signals. There is no standard arrangement in this case to power the accessory from the phone. If optical signals are applied instead, a line for powering is available. The powering line provides identification with ECI, before the system is latched to provide power to the accessory until the plug is disconnected. A sleep mode may be provided that is under SW control and unpowers the accessory when needed.
Another solution is to superimpose the high-frequency data onto the supply voltage. The separation coil may be very bulky and this solution may not be considered so advantageous.
In the case of a mobile phone, the detection procedure starts from the detection of plug insertion or an interrupt pulse, and includes one or more of the following.
1. The mic line bias is used for ECI powering/“Stealing of power from the low voltage bias. Bias is connected with a serial resistor from supply voltage to microphone. The serial resistor works as load resistor and microphone signal is so present as voltage over this resistor typically 2.2 k ohms. Microphone takes typically 250 uA bias current and up to 150 uA DC current is so available for ECI (“stealing”). There is a diode rectifier and a big smoothing capacitor to avoid interference to the microphone audio signal. In ECI sleep state, the current is about 10 uA meaning that the smoothing can be done more efficiently. When data transaction is made, the microphone load is switched off giving full 400 uA load current for ECI so that the active mode current need can be served. The active mode also uses stored charge voltage in the smoothing capacitor.
2. The interrupt signal that starts the identification process may be initiated by the accessory or by the phone-terminal and includes microphone switching to remove the mic load and signal. The interrupt signal creates a data mode to both ends for the required time period.
3. The interrupt signal includes slopes which make the pulse inaudible in the uplink. The interrupt is sent during audio and the phone audio uplink is muted while the interrupt is made inaudible using a slow rising and falling interrupt signal
4. Accessory load detection using selectable pull-up resistance and voltage, and voltage or current measurement, (for example, Standard headphones>shorted mic pin, Headphones>100 uA current consumption (which means 5 k . . . 10 k load detection), SPDIF or TV-load>75 ohms).
5. Accessory detection using capacitance measurement in the load by applying a voltage pulse and measurement (see TV-cable with serial capacitor above) the resulted voltage. /TV interface detection having capacitor in series.
6. Accessory measurement by detecting an external voltage from a self-powered accessory that may have different voltage levels to other accessories (for example, simple carkit detection using an interrupt to identify a voltage that indicates the carkit type).
7. Accessory detection by measuring voltage with different current values (using different resistors), (e.g. video cable detection without load=TV end connected having the voltage set to a higher level than TV signal by using, for instance, a bandgap regulator). For accessories which do not have a mic line in use, like headphones, different types may be detected by having different zener voltage zener diodes as identifiers.
8. Short circuit detection, or voltage measurement or load current measurement.
The detection steps outlined in
In the case of a 4-pin system functionality counted from tip:
In the case of a 3-pin system functionality counted from tip:
In a 2-pin system functionality counted from the tip:
Although automatic detection systems have been described above, one or more embodiments and aspects of the present invention can incorporate manual detection i.e. a user can be involved with the selection of the peripheral device type and the corresponding functionality. So, for example, upon detection of insertion, a user may be provided with a list of devices which are compatible with the electronic device in terms of the functionality that they provide.
Aspects and/or embodiments of the present invention also provide an electronic device jack which can have multiple use cases (
In such cases, the jack is arranged to appropriately route the signalling provided down the signalling connection paths between the electronic device and the A/V plug, according to the function provided by the plug-peripheral device. Thus, in the case that a basic headset with digital identification is plugged in using a 4 pin A/V plug, the jack provides signalling such that the tip of the A/V plug is provided with left speaker signalling, ring/pin 1 is provided with the right speaker signalling, ring/pin 2 is provided with digital identification signalling and the sleeve is the ground (
In
It will be appreciated that a particular connection path is used for different types of signalling according to the signalling required down that particular connection path. The signalling required down a particular connection path is determined by the peripheral device which is connected to the electronic device by the A/V plug.
Amplification of signalling may also be used to appropriately adapt the signalling for a particular functionality/configuration of a particular peripheral device.
What is common in
Manual intervention can be independent of or be used in combination with automatic detection systems. So, in the case of independent use of manual intervention, there does not need to be any previous automatic detection to, for example, provide a shortlist of peripheral devices which might have been connected or identification of a particular peripheral device which has been connected. A user may just select a particular peripheral device based on his own knowledge (or guesswork). The electronic device may nor even detect that an A/V plug has been inserted.
In the case of manual intervention used in combination with automatic detection systems, the user may be provided with a shortlist of peripheral devices, or a specific identified peripheral device, which has been identified as having been connected.
The present invention encompasses one or more appropriately adapted combinations of the various aspects and or embodiments mentioned in the specification, whether specifically mentioned in that combination or not, but which are readily combinable. Appropriately adapted computer programs are also within the scope of the present invention.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP05/11557 | 10/24/2005 | WO | 00 | 5/20/2008 |
Number | Date | Country | |
---|---|---|---|
60622216 | Oct 2004 | US |